@realsee/dnalogel 3.22.0 → 3.23.1
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/ModelMakerPlugin/item/baseItem.d.ts +1 -0
- package/dist/ModelMakerPlugin/utils/Text.svelte.d.ts +1 -0
- package/dist/index.cjs.js +54 -54
- package/dist/index.js +3960 -3878
- package/dist/index.umd.js +47 -47
- package/dist/shared-utils/Object3DHelper/utils/boundingBox.d.ts +12 -0
- package/dist/shared-utils/tag.d.ts +5 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +3 -3
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +8 -8
- package/docs/classes/CSS3DRender.html +3 -3
- package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
- package/docs/classes/ModelMakerPluginType.ModelMakerController.html +15 -15
- package/docs/classes/ModelRoomLabelController.html +3 -3
- package/docs/classes/MoveController.html +3 -3
- package/docs/classes/Object3DHelperController.html +3 -3
- package/docs/classes/PaintBrush.html +3 -3
- package/docs/classes/PanoMeasurePluginLine.html +3 -3
- package/docs/classes/PanoMeasurePluginModel.html +3 -3
- package/docs/classes/PanoMeasurePluginPoint.html +3 -3
- package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
- package/docs/classes/PanoTagPluginController.html +3 -3
- package/docs/classes/Sculpt.html +3 -3
- package/docs/classes/Util.BetterTween.html +3 -3
- package/docs/classes/Util.Interval.html +3 -3
- package/docs/classes/Util.LineSegments.html +3 -3
- package/docs/classes/Util.Magnifier.html +3 -3
- package/docs/classes/Util.Object3D.html +3 -3
- package/docs/classes/Util.PointDomHelper.html +3 -3
- package/docs/classes/Util.PointHelper.html +3 -3
- package/docs/classes/Util.PointSelectorHelper.html +3 -3
- package/docs/classes/Util.Rectangle.html +3 -3
- package/docs/classes/WalkController.html +3 -3
- package/docs/enums/CameraMovementEffect.html +3 -3
- package/docs/enums/ContentType.html +3 -3
- package/docs/enums/DIRECTION.html +3 -3
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
- package/docs/enums/DimensionType.html +3 -3
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
- package/docs/enums/PaintBrushTypeEnum.html +3 -3
- package/docs/enums/PointType.html +3 -3
- package/docs/enums/Rotation.html +3 -3
- package/docs/functions/AreaMakerPlugin.html +3 -3
- package/docs/functions/CSS3DRenderPlugin.html +3 -3
- package/docs/functions/CameraMovementPlugin.html +3 -3
- package/docs/functions/CruisePlugin.html +3 -3
- package/docs/functions/CurrentPanoImagePlugin.html +3 -3
- package/docs/functions/GuideLinePlugin.html +3 -3
- package/docs/functions/ItemLabelPlugin.html +3 -3
- package/docs/functions/MapviewFloorplanPlugin.html +3 -3
- package/docs/functions/ModelChassisCompassPlugin.html +3 -3
- package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
- package/docs/functions/ModelFloorplanPlugin.html +3 -3
- package/docs/functions/ModelItemLabelPlugin.html +3 -3
- package/docs/functions/ModelMakerPlugin.html +3 -3
- package/docs/functions/ModelRoomLabelPlugin.html +3 -3
- package/docs/functions/ModelTVVideoPlugin.html +3 -3
- package/docs/functions/ModelViewPlugin.html +3 -3
- package/docs/functions/MovePlugin.html +3 -3
- package/docs/functions/Object3DHelperPlugin.html +3 -3
- package/docs/functions/PanoCompassPlugin.html +3 -3
- package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
- package/docs/functions/PanoDoorLabelPlugin.html +3 -3
- package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
- package/docs/functions/PanoMeasurePlugin.html +3 -3
- package/docs/functions/PanoRulerPlugin.html +3 -3
- package/docs/functions/PanoRulerProPlugin.html +3 -3
- package/docs/functions/PanoSpatialTagPlugin.html +3 -3
- package/docs/functions/PanoTagPlugin.html +3 -3
- package/docs/functions/PanoVideoPlugin.html +3 -3
- package/docs/functions/PipelinePlugin.html +3 -3
- package/docs/functions/TopviewFloorplanPlugin.html +3 -3
- package/docs/functions/Util.absoluteUrl.html +3 -3
- package/docs/functions/Util.checkFiveModelLoaded.html +3 -3
- package/docs/functions/Util.equal.html +3 -3
- package/docs/functions/Util.getCoordsFromClient.html +3 -3
- package/docs/functions/Util.getCoordsFromElement.html +3 -3
- package/docs/functions/Util.getFrameTime.html +3 -3
- package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
- package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
- package/docs/functions/Util.isAbsoluteURL.html +3 -3
- package/docs/functions/Util.isModelLike.html +3 -3
- package/docs/functions/Util.isNil.html +3 -3
- package/docs/functions/Util.isPanoramaLike.html +3 -3
- package/docs/functions/Util.nextFrame.html +3 -3
- package/docs/functions/Util.notNil.html +3 -3
- package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
- package/docs/functions/Util.tweenProgress.html +3 -3
- package/docs/functions/Util.uuid.html +3 -3
- package/docs/functions/pluginFlag.html +3 -3
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
- package/docs/interfaces/AreaMakerPluginType.State.html +3 -3
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +3 -3
- package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
- package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
- package/docs/interfaces/CruisePluginTypes.Config.html +3 -3
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
- package/docs/interfaces/CruisePluginTypes.EventMap.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
- package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +3 -3
- package/docs/interfaces/EventMap.html +3 -3
- package/docs/interfaces/FloorplanBounding.html +3 -3
- package/docs/interfaces/FloorplanData.html +3 -3
- package/docs/interfaces/FloorplanEntrance.html +3 -3
- package/docs/interfaces/FloorplanExtraObject.html +3 -3
- package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
- package/docs/interfaces/FloorplanFloorData.html +3 -3
- package/docs/interfaces/FloorplanImagePosition.html +3 -3
- package/docs/interfaces/FloorplanObserver.html +3 -3
- package/docs/interfaces/FloorplanOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanPosition.html +3 -3
- package/docs/interfaces/FloorplanRoomItem.html +3 -3
- package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
- package/docs/interfaces/FloorplanServerBounding.html +3 -3
- package/docs/interfaces/FloorplanServerComputedData.html +3 -3
- package/docs/interfaces/FloorplanServerData.html +3 -3
- package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
- package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
- package/docs/interfaces/FloorplanServerEntrance.html +3 -3
- package/docs/interfaces/FloorplanServerFloorData.html +3 -3
- package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
- package/docs/interfaces/FloorplanServerObserver.html +3 -3
- package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
- package/docs/interfaces/FloorplanServerPosition.html +3 -3
- package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
- package/docs/interfaces/GuideLinePluginType.EventMap.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
- package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
- package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
- package/docs/interfaces/HelperOffset.html +3 -3
- package/docs/interfaces/ImagePlaneGroup.html +3 -3
- package/docs/interfaces/ItemLabelPluginData.html +3 -3
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
- package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
- package/docs/interfaces/MinMax.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +3 -3
- package/docs/interfaces/ModelMakerPluginType.State.html +3 -3
- package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
- package/docs/interfaces/ModelViewPluginExportType.html +3 -3
- package/docs/interfaces/Object3DHelperState.html +3 -3
- package/docs/interfaces/ObjectHelperControllers.html +3 -3
- package/docs/interfaces/PaintBrushAction.html +3 -3
- package/docs/interfaces/PaintBrushConfigs.html +3 -3
- package/docs/interfaces/PaintBrushState.html +3 -3
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
- package/docs/interfaces/PanoMeasureParameterType.html +3 -3
- package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
- package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
- package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
- package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
- package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
- package/docs/interfaces/PanoRulerProPluginState.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
- package/docs/interfaces/Point.html +3 -3
- package/docs/interfaces/Room.html +3 -3
- package/docs/interfaces/RoomInfo.html +3 -3
- package/docs/interfaces/RoomLabel.html +3 -3
- package/docs/interfaces/RoomRules.html +3 -3
- package/docs/interfaces/Rooms.html +3 -3
- package/docs/interfaces/Scissor.html +3 -3
- package/docs/interfaces/State.html +3 -3
- package/docs/interfaces/TagCacheInterface.html +3 -3
- package/docs/interfaces/TagConfig.html +3 -3
- package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
- package/docs/interfaces/TagIconUrl.html +3 -3
- package/docs/interfaces/TagObjectGroup.html +3 -3
- package/docs/interfaces/TagStyle.html +3 -3
- package/docs/interfaces/Tags.html +3 -3
- package/docs/interfaces/TemporaryState.html +3 -3
- package/docs/interfaces/Util.MagnifierParameter.html +3 -3
- package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
- package/docs/interfaces/Util.PointIntersection.html +3 -3
- package/docs/modules/AreaMakerPluginType.html +3 -3
- package/docs/modules/CruisePluginTypes.html +3 -3
- package/docs/modules/CurrentPanoImagePluginType.html +3 -3
- package/docs/modules/GuideLineItem.html +3 -3
- package/docs/modules/GuideLineModeItem.html +3 -3
- package/docs/modules/GuideLinePluginType.html +3 -3
- package/docs/modules/ModelMakerPluginType.html +3 -3
- package/docs/modules/PanoVideoPluginType.html +3 -3
- package/docs/modules/Util.html +3 -3
- package/docs/modules.html +4 -4
- package/docs/types/AddObject3DHelperConfig.html +3 -3
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +3 -3
- package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
- package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
- package/docs/types/ArrayPosition.html +3 -3
- package/docs/types/AudioAppearance.html +3 -3
- package/docs/types/AudioTagTypeConfigKey.html +3 -3
- package/docs/types/CSS3DRenderExportType.html +3 -3
- package/docs/types/CSS3DRenderPluginExportType.html +3 -3
- package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
- package/docs/types/ClassFunctionParameters.html +3 -3
- package/docs/types/Color.html +3 -3
- package/docs/types/ContentTypeConfigKey.html +3 -3
- package/docs/types/ContentTypeConfigKeySplit.html +3 -3
- package/docs/types/ContentTypeMap.html +3 -3
- package/docs/types/Create3DDomContainerReturnType.html +3 -3
- package/docs/types/Create3DElementReturnType.html +3 -3
- package/docs/types/CruisePluginExportType.html +3 -3
- package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
- package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
- package/docs/types/CurrentPanoImagePluginExportType.html +3 -3
- package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
- package/docs/types/DeprecatedTagProperty.html +3 -3
- package/docs/types/Direction-1.html +3 -3
- package/docs/types/Direction4.html +3 -3
- package/docs/types/ElementRenderer.html +3 -3
- package/docs/types/FloorplanRuleLabels.html +3 -3
- package/docs/types/FloorplanServerRuleLabels.html +3 -3
- package/docs/types/GuideLinePluginExportType.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
- package/docs/types/GuideLinePluginType.PathItem.html +3 -3
- package/docs/types/GuideLinePluginType.PluginData.html +3 -3
- package/docs/types/HelperEventMap.html +3 -3
- package/docs/types/InternalHelperEventMap.html +3 -3
- package/docs/types/LoadTagConfig.html +3 -3
- package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
- package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
- package/docs/types/MediaData.html +3 -3
- package/docs/types/MediaStore.html +3 -3
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
- package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
- package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
- package/docs/types/ModelId.html +3 -3
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +3 -3
- package/docs/types/ModelMakerPluginType.ItemType.html +3 -3
- package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
- package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
- package/docs/types/MoveArgs.html +3 -3
- package/docs/types/MoveOpts.html +3 -3
- package/docs/types/Object3DHelperEventMap.html +3 -3
- package/docs/types/ObjectFit.html +3 -3
- package/docs/types/PaintBrushEventMap.html +3 -3
- package/docs/types/PanoCompassPluginData.html +3 -3
- package/docs/types/PanoCompassPluginExportType.html +3 -3
- package/docs/types/PanoCompassPluginParameterType.html +3 -3
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
- package/docs/types/PanoIndex.html +3 -3
- package/docs/types/PanoMeasurePluginEvent.html +3 -3
- package/docs/types/PanoMeasureReturnType.html +3 -3
- package/docs/types/PanoSpatialTagPluginId.html +3 -3
- package/docs/types/PanoTagPluginExportInterface.html +3 -3
- package/docs/types/PanoTagPluginParamsInterface.html +3 -3
- package/docs/types/PanoVideoPluginParameterType.html +3 -3
- package/docs/types/PanoVideoPluginReturnType.html +3 -3
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
- package/docs/types/PipelinePluginParameterType.html +3 -3
- package/docs/types/PipelinePluginReturnType.html +3 -3
- package/docs/types/PlaneTag.html +3 -3
- package/docs/types/Point2DTag.html +3 -3
- package/docs/types/Point3DTag.html +3 -3
- package/docs/types/PointTag.html +3 -3
- package/docs/types/PointTagInstance.html +3 -3
- package/docs/types/Position.html +3 -3
- package/docs/types/PositionFrom.html +3 -3
- package/docs/types/RotateArgs.html +3 -3
- package/docs/types/RotateOpts.html +3 -3
- package/docs/types/RuleLabelsKey.html +3 -3
- package/docs/types/RuleLabelsValue.html +3 -3
- package/docs/types/ScaleCallback.html +3 -3
- package/docs/types/ScalePosition.html +3 -3
- package/docs/types/StickType.html +3 -3
- package/docs/types/Tag.html +3 -3
- package/docs/types/Tag2D.html +3 -3
- package/docs/types/Tag3D.html +3 -3
- package/docs/types/TagConfigByKey.html +3 -3
- package/docs/types/TagContentType.html +3 -3
- package/docs/types/TagContentTypeMapping.html +3 -3
- package/docs/types/TagDimensionType.html +3 -3
- package/docs/types/TagElement.html +3 -3
- package/docs/types/TagEvents.html +3 -3
- package/docs/types/TagGLTFObject.html +3 -3
- package/docs/types/TagHooks.html +3 -3
- package/docs/types/TagId.html +3 -3
- package/docs/types/TagInstance.html +3 -3
- package/docs/types/TagPointType.html +3 -3
- package/docs/types/TagRendererMap.html +3 -3
- package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
- package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
- package/docs/types/WorkCode.html +3 -3
- package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
- package/docs/variables/PLUGIN.html +3 -3
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
- package/docs/variables/ROOM_TYPE_MAP.html +3 -3
- package/docs/variables/defaultGlobalConfig.html +3 -3
- package/docs/variables/itemLabelPluginServerParams.html +3 -3
- package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
- package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
- package/libs/AreaMakerPlugin/utils/Item.js +12 -13
- package/libs/ModelMakerPlugin/Controller.js +61 -68
- package/libs/ModelMakerPlugin/index.js +6 -2
- package/libs/ModelMakerPlugin/item/baseItem.d.ts +1 -0
- package/libs/ModelMakerPlugin/item/baseItem.js +16 -16
- package/libs/ModelMakerPlugin/item/polygonItem.js +1 -1
- package/libs/ModelMakerPlugin/item/prismItem.js +20 -7
- package/libs/ModelMakerPlugin/utils/Text.js +45 -0
- package/libs/ModelMakerPlugin/utils/Text.svelte.d.ts +1 -0
- package/libs/ModelMakerPlugin/utils/tagRenderer.js +23 -8
- package/libs/base/BasePlugin.js +1 -1
- package/libs/components/AreaLabel/LabelItem.js +61 -61
- package/libs/index.js +125 -124
- package/libs/shared-utils/Object3DHelper/utils/boundingBox.d.ts +12 -0
- package/libs/shared-utils/Object3DHelper/utils/boundingBox.js +44 -22
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.d.ts +5 -1
- package/libs/shared-utils/tag.js +50 -29
- package/package.json +1 -1
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var f = (
|
|
5
|
-
var c = (
|
|
1
|
+
var P = Object.defineProperty;
|
|
2
|
+
var E = (a, r, e) => r in a ? P(a, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[r] = e;
|
|
3
|
+
var l = (a, r, e) => (E(a, typeof r != "symbol" ? r + "" : r, e), e);
|
|
4
|
+
var f = (a, r, e) => new Promise((s, o) => {
|
|
5
|
+
var c = (i) => {
|
|
6
6
|
try {
|
|
7
|
-
|
|
8
|
-
} catch (
|
|
9
|
-
o(
|
|
7
|
+
n(e.next(i));
|
|
8
|
+
} catch (p) {
|
|
9
|
+
o(p);
|
|
10
10
|
}
|
|
11
|
-
},
|
|
11
|
+
}, t = (i) => {
|
|
12
12
|
try {
|
|
13
|
-
|
|
14
|
-
} catch (
|
|
15
|
-
o(
|
|
13
|
+
n(e.throw(i));
|
|
14
|
+
} catch (p) {
|
|
15
|
+
o(p);
|
|
16
16
|
}
|
|
17
|
-
},
|
|
18
|
-
|
|
17
|
+
}, n = (i) => i.done ? s(i.value) : Promise.resolve(i.value).then(c, t);
|
|
18
|
+
n((e = e.apply(a, r)).next());
|
|
19
19
|
});
|
|
20
|
-
import { Controller as
|
|
21
|
-
import * as
|
|
22
|
-
import { ModelMakerBoxItem as
|
|
20
|
+
import { Controller as x } from "../base/BasePluginWithData.js";
|
|
21
|
+
import * as h from "three";
|
|
22
|
+
import { ModelMakerBoxItem as R } from "./item/boxItem.js";
|
|
23
23
|
import { PrismMesh as u } from "../Sculpt/Meshes/Prism.js";
|
|
24
|
-
import { anyPositionToVector3 as
|
|
24
|
+
import { anyPositionToVector3 as V } from "../shared-utils/positionToVector3.js";
|
|
25
25
|
import { PolygonWithEdgeMesh as k } from "../Sculpt/Meshes/PolygonWithEdge.js";
|
|
26
26
|
import "hammerjs";
|
|
27
27
|
import "@realsee/five";
|
|
@@ -30,8 +30,9 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
|
30
30
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
31
31
|
import { notNil as y } from "../shared-utils/isNil.js";
|
|
32
32
|
import { tagRendererMap as T } from "./utils/tagRenderer.js";
|
|
33
|
-
import { ModelMakerPrismItem as
|
|
34
|
-
import { ModelMakerPolygonItem as
|
|
33
|
+
import { ModelMakerPrismItem as C } from "./item/prismItem.js";
|
|
34
|
+
import { ModelMakerPolygonItem as I } from "./item/polygonItem.js";
|
|
35
|
+
import { boxVertex as m } from "../shared-utils/Object3DHelper/utils/boundingBox.js";
|
|
35
36
|
import "../base/BasePlugin.js";
|
|
36
37
|
import "../shared-utils/Subscribe.js";
|
|
37
38
|
import "../shared-utils/url/absoluteUrl.js";
|
|
@@ -62,97 +63,89 @@ import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
|
62
63
|
import "../shared-utils/three/getObjectVisible.js";
|
|
63
64
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
64
65
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
66
|
+
import "./utils/Text.js";
|
|
67
|
+
import "../vendor/svelte/internal/index.js";
|
|
68
|
+
import "../components/AreaLabel/LabelItem.js";
|
|
69
|
+
import "../components/AreaLabel/Assets/roomLabelBg.js";
|
|
65
70
|
import "./item/baseItem.js";
|
|
66
71
|
import "../shared-utils/three/addIfNotExists.js";
|
|
67
72
|
import "../shared-utils/tag.js";
|
|
68
73
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
69
|
-
import "../shared-utils/Object3DHelper/utils/boundingBox.js";
|
|
70
74
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
71
75
|
import "../shared-utils/five/calculateThreeMouse.js";
|
|
72
|
-
class
|
|
76
|
+
class Be extends x {
|
|
73
77
|
constructor(e) {
|
|
74
78
|
super(e);
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
l(this, "state");
|
|
80
|
+
l(this, "data");
|
|
81
|
+
l(this, "group", new h.Group());
|
|
82
|
+
l(this, "items", []);
|
|
83
|
+
l(this, "tagRendererMap", {});
|
|
84
|
+
l(this, "onWantsMovePano", () => {
|
|
81
85
|
this.items.forEach((e) => e.tag.hide());
|
|
82
86
|
});
|
|
83
|
-
|
|
87
|
+
l(this, "updateTagRenderer", () => {
|
|
84
88
|
this.items.forEach((e) => {
|
|
85
89
|
var o;
|
|
86
|
-
const
|
|
87
|
-
|
|
90
|
+
const s = (o = this.tagRendererMap[e.type]) != null ? o : T[e.type];
|
|
91
|
+
s && e.__renderer !== s && (e.__renderer = s, typeof e.__disposeRenderer == "function" && e.__disposeRenderer(), e.tag.container.innerHTML = "", e.__disposeRenderer = s(e.tag.container, e));
|
|
88
92
|
});
|
|
89
93
|
});
|
|
90
94
|
this.group.name = "ModelMakerPluginGroup", this.state = { enabled: !0, visible: !0 }, e.scene.add(this.group), this.handleEnable();
|
|
91
95
|
}
|
|
92
96
|
load(e) {
|
|
93
97
|
return f(this, null, function* () {
|
|
94
|
-
var
|
|
95
|
-
this.clear(), this.data = e, (
|
|
98
|
+
var s;
|
|
99
|
+
this.clear(), this.data = e, (s = e == null ? void 0 : e.list) == null || s.forEach((o) => {
|
|
96
100
|
var c;
|
|
97
101
|
if (o.type === "triangles") {
|
|
98
|
-
const
|
|
99
|
-
|
|
102
|
+
const t = new k();
|
|
103
|
+
t.setPoints(o.object_data.points), t.setStyle({
|
|
100
104
|
color: o.object_data.color,
|
|
101
105
|
opacity: o.object_data.opacity,
|
|
102
106
|
lineColor: o.object_data.color,
|
|
103
107
|
occlusionVisibility: !1
|
|
104
108
|
});
|
|
105
|
-
const
|
|
109
|
+
const n = new I({
|
|
106
110
|
five: this.five,
|
|
107
|
-
model:
|
|
111
|
+
model: t,
|
|
108
112
|
group: this.group,
|
|
109
113
|
type: o.type,
|
|
110
114
|
rawData: o
|
|
111
115
|
});
|
|
112
|
-
this.items.push(
|
|
116
|
+
this.items.push(n);
|
|
113
117
|
} else if (o.type === "prism") {
|
|
114
|
-
const
|
|
115
|
-
|
|
116
|
-
points: o.object_data.points.map((
|
|
117
|
-
var
|
|
118
|
-
return [
|
|
118
|
+
const t = new u();
|
|
119
|
+
t.setPoints({
|
|
120
|
+
points: o.object_data.points.map((i) => {
|
|
121
|
+
var p;
|
|
122
|
+
return [i[0], i[1] + ((p = o.object_data.fixedY) != null ? p : 0), i[2]];
|
|
119
123
|
}),
|
|
120
|
-
heightPoint:
|
|
121
|
-
new
|
|
124
|
+
heightPoint: V(o.object_data.points[0]).add(
|
|
125
|
+
new h.Vector3().setY(o.object_data.height + ((c = o.object_data.fixedHeight) != null ? c : 0))
|
|
122
126
|
)
|
|
123
|
-
}),
|
|
127
|
+
}), t.setStyle({
|
|
124
128
|
color: o.object_data.color,
|
|
125
129
|
opacity: o.object_data.opacity,
|
|
126
130
|
lineColor: o.object_data.color,
|
|
127
131
|
occlusionVisibility: !1
|
|
128
132
|
});
|
|
129
|
-
const
|
|
133
|
+
const n = new C({
|
|
130
134
|
five: this.five,
|
|
131
|
-
model:
|
|
135
|
+
model: t,
|
|
132
136
|
group: this.group,
|
|
133
137
|
type: o.type,
|
|
134
138
|
rawData: o
|
|
135
139
|
});
|
|
136
|
-
this.items.push(
|
|
140
|
+
this.items.push(n);
|
|
137
141
|
} else if (o.type === "box") {
|
|
138
|
-
const
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
new s.Vector3(t.max.x, t.max.y, t.min.z),
|
|
146
|
-
new s.Vector3(t.min.x, t.max.y, t.min.z),
|
|
147
|
-
t.min.clone(),
|
|
148
|
-
new s.Vector3(t.max.x, t.min.y, t.min.z)
|
|
149
|
-
];
|
|
150
|
-
i.setPoints({
|
|
151
|
-
points: [m[2], m[3], m[7], m[6]],
|
|
152
|
-
heightPoint: m[0]
|
|
153
|
-
}), i.applyQuaternion(M), i.setStyle({ color: b, opacity: x, lineColor: b, occlusionVisibility: !1 });
|
|
154
|
-
const j = new V({ five: this.five, model: i, group: this.group, type: o.type });
|
|
155
|
-
this.items.push(j);
|
|
142
|
+
const t = new u(), { start: n, end: i, rotation: p, opacity: _, color: b } = o.object_data, g = new h.Vector3().fromArray(n), w = new h.Vector3().fromArray(i), M = new h.Euler().fromArray(p), j = new h.Quaternion().setFromEuler(M), d = new h.Box3();
|
|
143
|
+
d.expandByPoint(g), d.expandByPoint(w), t.setPoints({
|
|
144
|
+
points: [m(d, 2), m(d, 3), m(d, 7), m(d, 6)],
|
|
145
|
+
heightPoint: m(d, 0)
|
|
146
|
+
}), t.applyQuaternion(j), t.setStyle({ color: b, opacity: _, lineColor: b, occlusionVisibility: !1 });
|
|
147
|
+
const v = new R({ five: this.five, model: t, group: this.group, type: o.type });
|
|
148
|
+
this.items.push(v);
|
|
156
149
|
}
|
|
157
150
|
}), this.five.needsRender = !0, this.handleShow(), this.updateTagRenderer();
|
|
158
151
|
});
|
|
@@ -195,5 +188,5 @@ class ze extends E {
|
|
|
195
188
|
}
|
|
196
189
|
}
|
|
197
190
|
export {
|
|
198
|
-
|
|
191
|
+
Be as Controller
|
|
199
192
|
};
|
|
@@ -50,8 +50,12 @@ import "../Sculpt/Meshes/LineWithDots.js";
|
|
|
50
50
|
import "../Sculpt/Meshes/Point.js";
|
|
51
51
|
import "../shared-utils/three/closeVectors.js";
|
|
52
52
|
import "./utils/tagRenderer.js";
|
|
53
|
+
import "./utils/Text.js";
|
|
54
|
+
import "../vendor/svelte/internal/index.js";
|
|
55
|
+
import "../components/AreaLabel/LabelItem.js";
|
|
56
|
+
import "../components/AreaLabel/Assets/roomLabelBg.js";
|
|
53
57
|
import "./item/prismItem.js";
|
|
54
|
-
const
|
|
58
|
+
const po = (o) => new r(o);
|
|
55
59
|
export {
|
|
56
|
-
|
|
60
|
+
po as ModelMakerPlugin
|
|
57
61
|
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var t = (i, s, e) => (
|
|
4
|
-
import * as
|
|
5
|
-
import { addIfNotExists as
|
|
1
|
+
var d = Object.defineProperty;
|
|
2
|
+
var l = (i, s, e) => s in i ? d(i, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[s] = e;
|
|
3
|
+
var t = (i, s, e) => (l(i, typeof s != "symbol" ? s + "" : s, e), e);
|
|
4
|
+
import * as m from "three";
|
|
5
|
+
import { addIfNotExists as v } from "../../shared-utils/three/addIfNotExists.js";
|
|
6
6
|
import { Subscribe as a } from "../../shared-utils/Subscribe.js";
|
|
7
|
-
import { tag as
|
|
8
|
-
import { boundingBox as
|
|
9
|
-
import { FiveDomEvents as
|
|
7
|
+
import { tag as f } from "../../shared-utils/tag.js";
|
|
8
|
+
import { boundingBox as c } from "../../shared-utils/Object3DHelper/utils/boundingBox.js";
|
|
9
|
+
import { FiveDomEvents as u } from "../../shared-utils/five/FiveDomEvents.js";
|
|
10
10
|
import "../../shared-utils/positionToVector3.js";
|
|
11
11
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
12
12
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
13
13
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
14
14
|
let o;
|
|
15
|
-
const
|
|
16
|
-
class
|
|
15
|
+
const g = (i) => o || (o = new u(i), o);
|
|
16
|
+
class B extends a {
|
|
17
17
|
constructor(e) {
|
|
18
|
-
var r;
|
|
18
|
+
var r, n;
|
|
19
19
|
super();
|
|
20
20
|
t(this, "type");
|
|
21
21
|
t(this, "tag");
|
|
@@ -25,9 +25,9 @@ class C extends a {
|
|
|
25
25
|
t(this, "group");
|
|
26
26
|
t(this, "enabled", !1);
|
|
27
27
|
t(this, "fiveDomEvents");
|
|
28
|
-
this.five = e.five, this.model = e.model, this.group = e.group, this.type = e.type, this.rawData = e.rawData, this.fiveDomEvents =
|
|
29
|
-
const n = (r = this.model.center) != null ?
|
|
30
|
-
this.tag =
|
|
28
|
+
this.five = e.five, this.model = e.model, this.group = e.group, this.type = e.type, this.rawData = e.rawData, this.fiveDomEvents = g(this.five);
|
|
29
|
+
const h = (n = (r = e.position) != null ? r : this.model.center) != null ? n : c(this.model).getCenter(new m.Vector3());
|
|
30
|
+
this.tag = f(this.five, h);
|
|
31
31
|
}
|
|
32
32
|
get container() {
|
|
33
33
|
return this.tag.container;
|
|
@@ -41,7 +41,7 @@ class C extends a {
|
|
|
41
41
|
enable() {
|
|
42
42
|
if (this.enabled)
|
|
43
43
|
return;
|
|
44
|
-
this.enabled = !0,
|
|
44
|
+
this.enabled = !0, v(this.group, this.model), this.five.needsRender = !0, this.tag.enable();
|
|
45
45
|
const e = this.onClick.bind(this);
|
|
46
46
|
this.fiveDomEvents.addEventListener(this.model, "click", e);
|
|
47
47
|
}
|
|
@@ -53,5 +53,5 @@ class C extends a {
|
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
export {
|
|
56
|
-
|
|
56
|
+
B as ModelMakerBaseItem
|
|
57
57
|
};
|
|
@@ -30,7 +30,7 @@ class T extends h {
|
|
|
30
30
|
this.model.visible = !0, this.five.needsRender = !0;
|
|
31
31
|
}
|
|
32
32
|
onClick() {
|
|
33
|
-
return this.tag.visible ? this.tag.hide() : this.tag.show(), super.onClick(), !0;
|
|
33
|
+
return this.tag.visible ? this.tag.hide({ withAnimation: !0 }) : this.tag.show(), super.onClick(), !0;
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
export {
|
|
@@ -1,19 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
var c = Object.defineProperty, l = Object.defineProperties;
|
|
2
|
+
var x = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var m = Object.getOwnPropertySymbols;
|
|
4
|
+
var d = Object.prototype.hasOwnProperty, b = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var p = (t, o, r) => o in t ? c(t, o, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[o] = r, i = (t, o) => {
|
|
6
|
+
for (var r in o || (o = {}))
|
|
7
|
+
d.call(o, r) && p(t, r, o[r]);
|
|
8
|
+
if (m)
|
|
9
|
+
for (var r of m(o))
|
|
10
|
+
b.call(o, r) && p(t, r, o[r]);
|
|
11
|
+
return t;
|
|
12
|
+
}, s = (t, o) => l(t, x(o));
|
|
13
|
+
import { boundingBox as M, boxVertex as n } from "../../shared-utils/Object3DHelper/utils/boundingBox.js";
|
|
14
|
+
import { ModelMakerBaseItem as f } from "./baseItem.js";
|
|
15
|
+
import * as u from "three";
|
|
3
16
|
import "../../shared-utils/three/addIfNotExists.js";
|
|
4
17
|
import "../../shared-utils/Subscribe.js";
|
|
5
18
|
import "../../shared-utils/tag.js";
|
|
6
19
|
import "../../shared-utils/positionToVector3.js";
|
|
7
20
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
8
|
-
import "../../shared-utils/Object3DHelper/utils/boundingBox.js";
|
|
9
21
|
import "../../shared-utils/five/FiveDomEvents.js";
|
|
10
22
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
11
23
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
12
|
-
class
|
|
13
|
-
constructor(...
|
|
14
|
-
|
|
24
|
+
class R extends f {
|
|
25
|
+
constructor(...o) {
|
|
26
|
+
const r = o[0], e = M(r.model), a = new u.Vector3().lerpVectors(n(e, 0), n(e, 5), 0.5);
|
|
27
|
+
super(s(i({}, r), { position: a })), this.enable();
|
|
15
28
|
}
|
|
16
29
|
}
|
|
17
30
|
export {
|
|
18
|
-
|
|
31
|
+
R as ModelMakerPrismItem
|
|
19
32
|
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { SvelteComponent as s, init as r, safe_not_equal as l, append_styles as f, element as m, text as d, attr as c, insert as p, append as x, set_data as u, noop as i, detach as w } from "../../vendor/svelte/internal/index.js";
|
|
2
|
+
function h(a) {
|
|
3
|
+
f(a, "svelte-129wfaa", ".withAnimation{transition:opacity 0.2s linear}.model-maker-tag.svelte-129wfaa{position:absolute;width:-moz-max-content;width:max-content;left:50%;top:50%;transform:translate(-50%, -50%);color:#fff;font-size:0.875rem;font-weight:bold;text-shadow:0.125rem 0 0.5rem rgba(0, 0, 0, 0.15)}");
|
|
4
|
+
}
|
|
5
|
+
function v(a) {
|
|
6
|
+
let t, o;
|
|
7
|
+
return {
|
|
8
|
+
c() {
|
|
9
|
+
t = m("div"), o = d(
|
|
10
|
+
/*text*/
|
|
11
|
+
a[0]
|
|
12
|
+
), c(t, "class", "model-maker-tag svelte-129wfaa");
|
|
13
|
+
},
|
|
14
|
+
m(e, n) {
|
|
15
|
+
p(e, t, n), x(t, o);
|
|
16
|
+
},
|
|
17
|
+
p(e, [n]) {
|
|
18
|
+
n & /*text*/
|
|
19
|
+
1 && u(
|
|
20
|
+
o,
|
|
21
|
+
/*text*/
|
|
22
|
+
e[0]
|
|
23
|
+
);
|
|
24
|
+
},
|
|
25
|
+
i,
|
|
26
|
+
o: i,
|
|
27
|
+
d(e) {
|
|
28
|
+
e && w(t);
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
function _(a, t, o) {
|
|
33
|
+
let { text: e } = t;
|
|
34
|
+
return a.$$set = (n) => {
|
|
35
|
+
"text" in n && o(0, e = n.text);
|
|
36
|
+
}, [e];
|
|
37
|
+
}
|
|
38
|
+
class b extends s {
|
|
39
|
+
constructor(t) {
|
|
40
|
+
super(), r(this, t, _, v, l, { text: 0 }, h);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
export {
|
|
44
|
+
b as default
|
|
45
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SvelteComponentTyped as default } from 'svelte/internal';
|
|
@@ -1,11 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import n from "./Text.js";
|
|
2
|
+
import { LabelItem as p } from "../../components/AreaLabel/LabelItem.js";
|
|
3
|
+
import "../../vendor/svelte/internal/index.js";
|
|
4
|
+
import "../../components/AreaLabel/Assets/roomLabelBg.js";
|
|
5
|
+
const a = (e, r) => {
|
|
6
|
+
var t;
|
|
7
|
+
const o = new n({
|
|
8
|
+
target: e,
|
|
9
|
+
props: { text: (t = r.rawData) == null ? void 0 : t.name }
|
|
10
|
+
});
|
|
11
|
+
return () => o.$destroy();
|
|
12
|
+
}, s = (e, r) => {
|
|
13
|
+
var t;
|
|
14
|
+
const o = new p({
|
|
15
|
+
target: e,
|
|
16
|
+
props: { content: (t = r.rawData) == null ? void 0 : t.name }
|
|
17
|
+
});
|
|
18
|
+
return () => o.$destroy();
|
|
19
|
+
}, x = {
|
|
20
|
+
box: a,
|
|
21
|
+
triangles: a,
|
|
22
|
+
prism: s
|
|
8
23
|
};
|
|
9
24
|
export {
|
|
10
|
-
|
|
25
|
+
x as tagRendererMap
|
|
11
26
|
};
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import { ROOM_LABEL_BG as
|
|
3
|
-
function
|
|
4
|
-
|
|
1
|
+
import { SvelteComponent as w, init as C, safe_not_equal as D, append_styles as N, element as v, attr as k, set_style as f, insert as b, noop as y, detach as _, onMount as L, onDestroy as B, text as M, space as O, toggle_class as z, append as q, listen as A, is_function as E, set_data as G, binding_callbacks as R } from "../../vendor/svelte/internal/index.js";
|
|
2
|
+
import { ROOM_LABEL_BG as S } from "./Assets/roomLabelBg.js";
|
|
3
|
+
function F(i) {
|
|
4
|
+
N(i, "svelte-1s88cj8", ".room-label-item.svelte-1s88cj8{position:absolute;font-size:0.5rem;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:#fff}.room-label-item__text.svelte-1s88cj8{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-1s88cj8{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-1s88cj8{font-size:0.625rem}");
|
|
5
5
|
}
|
|
6
|
-
function
|
|
7
|
-
let e,
|
|
6
|
+
function j(i) {
|
|
7
|
+
let e, n, l, o, a, m;
|
|
8
8
|
return {
|
|
9
9
|
c() {
|
|
10
|
-
e = v("span"),
|
|
10
|
+
e = v("span"), n = M(
|
|
11
11
|
/*content*/
|
|
12
|
-
|
|
13
|
-
), l = O(), o = v("div"), k(e, "class", "room-label-item__text svelte-
|
|
12
|
+
i[0]
|
|
13
|
+
), l = O(), o = v("div"), k(e, "class", "room-label-item__text svelte-1s88cj8"), f(e, "background-image", "url(" + S + ")"), z(
|
|
14
14
|
e,
|
|
15
15
|
"wide",
|
|
16
16
|
/*content*/
|
|
17
|
-
|
|
18
|
-
), k(o, "class", "room-label-item__bar svelte-
|
|
17
|
+
i[0].length > 3
|
|
18
|
+
), k(o, "class", "room-label-item__bar svelte-1s88cj8");
|
|
19
19
|
},
|
|
20
|
-
m(
|
|
21
|
-
b(
|
|
22
|
-
|
|
20
|
+
m(r, s) {
|
|
21
|
+
b(r, e, s), q(e, n), b(r, l, s), b(r, o, s), a || (m = A(e, "click", function() {
|
|
22
|
+
E(
|
|
23
23
|
/*onClick*/
|
|
24
|
-
|
|
25
|
-
) &&
|
|
24
|
+
i[4]
|
|
25
|
+
) && i[4].apply(this, arguments);
|
|
26
26
|
}), a = !0);
|
|
27
27
|
},
|
|
28
|
-
p(
|
|
29
|
-
|
|
30
|
-
1 &&
|
|
31
|
-
|
|
28
|
+
p(r, s) {
|
|
29
|
+
i = r, s & /*content*/
|
|
30
|
+
1 && G(
|
|
31
|
+
n,
|
|
32
32
|
/*content*/
|
|
33
|
-
|
|
34
|
-
),
|
|
33
|
+
i[0]
|
|
34
|
+
), s & /*content*/
|
|
35
35
|
1 && z(
|
|
36
36
|
e,
|
|
37
37
|
"wide",
|
|
38
38
|
/*content*/
|
|
39
|
-
|
|
39
|
+
i[0].length > 3
|
|
40
40
|
);
|
|
41
41
|
},
|
|
42
|
-
d(
|
|
43
|
-
|
|
42
|
+
d(r) {
|
|
43
|
+
r && _(e), r && _(l), r && _(o), a = !1, m();
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
|
-
function
|
|
48
|
-
let e,
|
|
49
|
-
|
|
47
|
+
function H(i) {
|
|
48
|
+
let e, n = !/*rendererIfNeed*/
|
|
49
|
+
i[5] && j(i);
|
|
50
50
|
return {
|
|
51
51
|
c() {
|
|
52
|
-
e = v("div"),
|
|
52
|
+
e = v("div"), n && n.c(), k(e, "class", "room-label-item svelte-1s88cj8"), f(
|
|
53
53
|
e,
|
|
54
54
|
"z-index",
|
|
55
55
|
/*zIndex*/
|
|
56
|
-
|
|
56
|
+
i[2]
|
|
57
57
|
), f(
|
|
58
58
|
e,
|
|
59
59
|
"transform",
|
|
60
60
|
/*transform*/
|
|
61
|
-
|
|
61
|
+
i[3]
|
|
62
62
|
), f(
|
|
63
63
|
e,
|
|
64
64
|
"opacity",
|
|
65
65
|
/*opacity*/
|
|
66
|
-
|
|
66
|
+
i[1]
|
|
67
67
|
), f(
|
|
68
68
|
e,
|
|
69
69
|
"visibility",
|
|
70
70
|
/*visibility*/
|
|
71
|
-
|
|
71
|
+
i[7]
|
|
72
72
|
);
|
|
73
73
|
},
|
|
74
74
|
m(l, o) {
|
|
75
|
-
b(l, e, o),
|
|
75
|
+
b(l, e, o), n && n.m(e, null), i[10](e);
|
|
76
76
|
},
|
|
77
77
|
p(l, [o]) {
|
|
78
|
-
/*
|
|
79
|
-
l[5] ?
|
|
78
|
+
/*rendererIfNeed*/
|
|
79
|
+
l[5] ? n && (n.d(1), n = null) : n ? n.p(l, o) : (n = j(l), n.c(), n.m(e, null)), o & /*zIndex*/
|
|
80
80
|
4 && f(
|
|
81
81
|
e,
|
|
82
82
|
"z-index",
|
|
@@ -105,50 +105,50 @@ function F(n) {
|
|
|
105
105
|
i: y,
|
|
106
106
|
o: y,
|
|
107
107
|
d(l) {
|
|
108
|
-
l && _(e),
|
|
108
|
+
l && _(e), n && n.d(), i[10](null);
|
|
109
109
|
}
|
|
110
110
|
};
|
|
111
111
|
}
|
|
112
|
-
function
|
|
113
|
-
let l, { content: o } = e, { visible: a } = e, { opacity: m = 1 } = e, { zIndex:
|
|
114
|
-
} } = e, {
|
|
115
|
-
|
|
116
|
-
|
|
112
|
+
function J(i, e, n) {
|
|
113
|
+
let l, { content: o } = e, { visible: a = !0 } = e, { opacity: m = 1 } = e, { zIndex: r = 0 } = e, { transform: s = void 0 } = e, { onClick: h = () => {
|
|
114
|
+
} } = e, { rendererIfNeed: c = void 0 } = e, { rendererData: g = void 0 } = e, d, u;
|
|
115
|
+
L(() => {
|
|
116
|
+
d && typeof c == "function" && (u = c(d, g));
|
|
117
117
|
}), B(() => {
|
|
118
|
-
|
|
118
|
+
u == null || u();
|
|
119
119
|
});
|
|
120
|
-
function
|
|
121
|
-
|
|
122
|
-
|
|
120
|
+
function I(t) {
|
|
121
|
+
R[t ? "unshift" : "push"](() => {
|
|
122
|
+
d = t, n(6, d);
|
|
123
123
|
});
|
|
124
124
|
}
|
|
125
|
-
return
|
|
126
|
-
"content" in t &&
|
|
127
|
-
},
|
|
128
|
-
|
|
129
|
-
256 &&
|
|
125
|
+
return i.$$set = (t) => {
|
|
126
|
+
"content" in t && n(0, o = t.content), "visible" in t && n(8, a = t.visible), "opacity" in t && n(1, m = t.opacity), "zIndex" in t && n(2, r = t.zIndex), "transform" in t && n(3, s = t.transform), "onClick" in t && n(4, h = t.onClick), "rendererIfNeed" in t && n(5, c = t.rendererIfNeed), "rendererData" in t && n(9, g = t.rendererData);
|
|
127
|
+
}, i.$$.update = () => {
|
|
128
|
+
i.$$.dirty & /*visible*/
|
|
129
|
+
256 && n(7, l = a ? "visible" : "hidden");
|
|
130
130
|
}, [
|
|
131
131
|
o,
|
|
132
132
|
m,
|
|
133
|
-
s,
|
|
134
133
|
r,
|
|
134
|
+
s,
|
|
135
135
|
h,
|
|
136
136
|
c,
|
|
137
|
-
|
|
137
|
+
d,
|
|
138
138
|
l,
|
|
139
139
|
a,
|
|
140
140
|
g,
|
|
141
|
-
|
|
141
|
+
I
|
|
142
142
|
];
|
|
143
143
|
}
|
|
144
|
-
class
|
|
144
|
+
class Q extends w {
|
|
145
145
|
constructor(e) {
|
|
146
146
|
super(), C(
|
|
147
147
|
this,
|
|
148
148
|
e,
|
|
149
|
+
J,
|
|
149
150
|
H,
|
|
150
|
-
|
|
151
|
-
I,
|
|
151
|
+
D,
|
|
152
152
|
{
|
|
153
153
|
content: 0,
|
|
154
154
|
visible: 8,
|
|
@@ -156,13 +156,13 @@ class N extends p {
|
|
|
156
156
|
zIndex: 2,
|
|
157
157
|
transform: 3,
|
|
158
158
|
onClick: 4,
|
|
159
|
-
|
|
160
|
-
|
|
159
|
+
rendererIfNeed: 5,
|
|
160
|
+
rendererData: 9
|
|
161
161
|
},
|
|
162
|
-
|
|
162
|
+
F
|
|
163
163
|
);
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
export {
|
|
167
|
-
|
|
167
|
+
Q as LabelItem
|
|
168
168
|
};
|