@realsee/dnalogel 2.21.0-dev.0 → 2.21.0-dev.10
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/components/index.js +329 -329
- package/dist/CSS3DRenderPlugin/Controller.d.ts +4 -1
- package/dist/GuideLinePlugin/Controller.d.ts +5 -3
- package/dist/GuideLinePlugin/GuideLineItem.d.ts +1 -1
- package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +17 -0
- package/dist/GuideLinePlugin/utils/createLineGeometry.d.ts +7 -0
- package/dist/PanoMeasurePlugin/Components/Common/Exit.svelte.d.ts +1 -0
- package/dist/PanoMeasurePlugin/Components/Common/Switcher0.svelte.d.ts +1 -0
- package/dist/PanoMeasurePlugin/Components/Common/icons/index.d.ts +4 -0
- package/dist/PanoMeasurePlugin/Components/Controller0.svelte.d.ts +1 -0
- package/dist/PanoMeasurePlugin/Controller/BaseController.d.ts +2 -0
- package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +17 -18
- package/dist/PanoMeasurePlugin/Controller/WatchController.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Controller/index.d.ts +6 -3
- package/dist/PanoMeasurePlugin/Model/area.d.ts +9 -1
- package/dist/PanoMeasurePlugin/Model/index.d.ts +1 -0
- package/dist/PanoMeasurePlugin/Model/line.d.ts +3 -0
- package/dist/PanoMeasurePlugin/Model/polygon.d.ts +4 -0
- package/dist/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +7 -3
- package/dist/PanoMeasurePlugin/Modules/GuideController.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Modules/UIController/index.d.ts +9 -3
- package/dist/PanoMeasurePlugin/Modules/UIController/style.d.ts +0 -8
- package/dist/PanoMeasurePlugin/typings/data.d.ts +8 -2
- package/dist/PanoMeasurePlugin/typings/event.type.d.ts +3 -0
- package/dist/PanoMeasurePlugin/utils/dom/base.d.ts +4 -0
- package/dist/PanoMeasurePlugin/utils/geometryUtil.d.ts +1 -1
- package/dist/PanoMeasurePlugin/utils/ndc2Screen.d.ts +2 -1
- package/dist/base/BasePlugin.d.ts +4 -1
- package/dist/components/PaintBrush/style.d.ts +1 -1
- package/dist/index.cjs.js +70 -66
- package/dist/index.js +8065 -6908
- package/dist/index.umd.js +65 -61
- package/dist/shared-utils/absoluteUrl.d.ts +5 -0
- package/dist/{PanoMeasurePlugin/utils → shared-utils}/getIntersectionFromEvent.d.ts +1 -1
- package/dist/{PanoMeasurePlugin/utils → shared-utils}/getPointFromHammerEvent.d.ts +1 -1
- package/dist/shared-utils/index.d.ts +1 -1
- package/dist/shared-utils/isTouchDevice.d.ts +1 -0
- package/dist/shared-utils/three/Magnifier.d.ts +2 -0
- package/dist/shared-utils/three/PointSelector.d.ts +76 -0
- package/dist/shared-utils/three/PointSelectorHelper.d.ts +50 -0
- package/dist/shared-utils/three/index.d.ts +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +34 -32
- package/docs/classes/CruisePluginController.html +48 -44
- package/docs/classes/GuideLineItem.GuideLineItem.html +23 -21
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +90 -33
- package/docs/classes/Magnifier.html +23 -21
- package/docs/classes/ModelRoomLabelController.html +14 -12
- package/docs/classes/Object3DHelperController.html +47 -43
- package/docs/classes/PaintBrush.html +18 -16
- package/docs/classes/PanoMeasurePluginLine.html +48 -26
- package/docs/classes/PanoMeasurePluginModel.html +44 -27
- package/docs/classes/PanoMeasurePluginPoint.html +17 -15
- package/docs/classes/PanoMeasurePluginPolyline.html +30 -28
- package/docs/classes/PanoTagPluginController.html +69 -65
- package/docs/classes/Util.BetterTween.html +12 -10
- package/docs/classes/Util.Interval.html +15 -13
- package/docs/classes/Util.Magnifier.html +42 -20
- package/docs/classes/Util.PointDomHelper.html +14 -12
- package/docs/classes/Util.PointHelper.html +14 -12
- package/docs/classes/{Util.FivePointSelector.html → Util.PointSelectorHelper.html} +105 -27
- package/docs/classes/Util.Rectangle.html +16 -14
- package/docs/enums/CameraMovementEffect.html +10 -8
- package/docs/enums/ContentType.html +23 -21
- package/docs/enums/DIRECTION.html +12 -10
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +12 -10
- package/docs/enums/DimensionType.html +10 -8
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +11 -9
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +12 -10
- package/docs/enums/PaintBrushTypeEnum.html +11 -9
- package/docs/enums/PointType.html +10 -8
- package/docs/enums/Rotation.html +11 -9
- package/docs/functions/CSS3DRenderPlugin.html +7 -5
- package/docs/functions/CameraMovementPlugin.html +7 -5
- package/docs/functions/CruisePlugin.html +7 -5
- package/docs/functions/GuideLinePlugin.html +8 -6
- package/docs/functions/ItemLabelPlugin.html +7 -5
- package/docs/functions/MapviewFloorplanPlugin.html +7 -5
- package/docs/functions/ModelChassisCompassPlugin.html +7 -5
- package/docs/functions/ModelEntryDoorGuidePlugin.html +7 -5
- package/docs/functions/ModelFloorplanPlugin.html +7 -5
- package/docs/functions/ModelItemLabelPlugin.html +7 -5
- package/docs/functions/ModelRoomLabelPlugin.html +7 -5
- package/docs/functions/ModelTVVideoPlugin.html +7 -5
- package/docs/functions/ModelViewPlugin.html +7 -5
- package/docs/functions/Object3DHelperPlugin.html +7 -5
- package/docs/functions/PanoCompassPlugin.html +7 -5
- package/docs/functions/PanoCursorRaycasterPlugin.html +7 -5
- package/docs/functions/PanoDoorLabelPlugin.html +7 -5
- package/docs/functions/PanoFloorplanRadarPlugin.html +7 -5
- package/docs/functions/PanoMeasurePlugin.html +7 -5
- package/docs/functions/PanoRulerPlugin.html +7 -5
- package/docs/functions/PanoRulerProPlugin.html +7 -5
- package/docs/functions/PanoSpatialTagPlugin.html +7 -5
- package/docs/functions/PanoTagPlugin.html +7 -5
- package/docs/functions/PanoVideoPlugin.html +7 -5
- package/docs/functions/TopviewFloorplanPlugin.html +7 -5
- package/docs/functions/Util.absoluteUrl.html +370 -0
- package/docs/functions/Util.getCoordsFromClient.html +8 -6
- package/docs/functions/Util.getCoordsFromElement.html +8 -6
- package/docs/functions/Util.getFrameTime.html +8 -6
- package/docs/functions/Util.getIntersectFromRelativePosition.html +8 -6
- package/docs/functions/Util.getRaycasterFromFivePointer.html +8 -6
- package/docs/functions/Util.isAbsoluteURL.html +8 -6
- package/docs/functions/Util.isModelLike.html +8 -6
- package/docs/functions/Util.isNil.html +8 -6
- package/docs/functions/Util.isPanoramaLike.html +8 -6
- package/docs/functions/Util.nextFrame.html +8 -6
- package/docs/functions/Util.notNil.html +8 -6
- package/docs/functions/Util.requestAnimationFrameInterval.html +8 -6
- package/docs/functions/Util.tweenProgress.html +8 -6
- package/docs/functions/Util.uuid.html +8 -6
- package/docs/functions/pluginFlag.html +8 -6
- package/docs/index.html +8 -6
- package/docs/interfaces/AddTagConfig.html +9 -7
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +14 -12
- package/docs/interfaces/CSS3DRenderPluginState.html +11 -9
- package/docs/interfaces/CameraMovementPluginExportType.html +10 -8
- package/docs/interfaces/CruisePluginTypes.Config.html +11 -9
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +15 -13
- package/docs/interfaces/CruisePluginTypes.EventMap.html +23 -21
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +15 -13
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +17 -15
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +17 -15
- package/docs/interfaces/CruisePluginTypes.PluginData.html +12 -10
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +10 -8
- package/docs/interfaces/CruisePluginTypes.PluginState.html +14 -12
- package/docs/interfaces/EventMap.html +18 -16
- package/docs/interfaces/FloorplanBounding.html +11 -9
- package/docs/interfaces/FloorplanData.html +13 -11
- package/docs/interfaces/FloorplanEntrance.html +14 -12
- package/docs/interfaces/FloorplanExtraObject.html +13 -11
- package/docs/interfaces/FloorplanExtraObject3D.html +11 -9
- package/docs/interfaces/FloorplanFloorData.html +12 -10
- package/docs/interfaces/FloorplanImagePosition.html +10 -8
- package/docs/interfaces/FloorplanObserver.html +12 -10
- package/docs/interfaces/FloorplanOutlineItem.html +12 -10
- package/docs/interfaces/FloorplanPosition.html +10 -8
- package/docs/interfaces/FloorplanRoomItem.html +16 -14
- package/docs/interfaces/FloorplanRoomLabelItem.html +10 -8
- package/docs/interfaces/FloorplanServerBounding.html +11 -9
- package/docs/interfaces/FloorplanServerComputedData.html +13 -11
- package/docs/interfaces/FloorplanServerData.html +10 -8
- package/docs/interfaces/FloorplanServerDoorItem.html +13 -11
- package/docs/interfaces/FloorplanServerDoorPosition.html +11 -9
- package/docs/interfaces/FloorplanServerEntrance.html +14 -12
- package/docs/interfaces/FloorplanServerFloorData.html +12 -10
- package/docs/interfaces/FloorplanServerImagePosition.html +10 -8
- package/docs/interfaces/FloorplanServerObserver.html +12 -10
- package/docs/interfaces/FloorplanServerOutlineItem.html +12 -10
- package/docs/interfaces/FloorplanServerPosition.html +10 -8
- package/docs/interfaces/FloorplanServerRoomItem.html +17 -15
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +10 -8
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +11 -9
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +13 -11
- package/docs/interfaces/GuideLinePluginType.EventMap.html +16 -14
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +11 -9
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +9 -7
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +16 -14
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +11 -9
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +21 -19
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +10 -8
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +21 -19
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +8 -6
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +10 -8
- package/docs/interfaces/GuideLinePluginType.PluginState.html +11 -9
- package/docs/interfaces/GuideLinePluginType.Route.html +14 -12
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +12 -10
- package/docs/interfaces/HelperOffset.html +11 -9
- package/docs/interfaces/ImagePlaneGroup.html +9 -7
- package/docs/interfaces/ItemLabelPluginData.html +9 -7
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +14 -12
- package/docs/interfaces/ItemLabelPluginParametersType.html +12 -10
- package/docs/interfaces/MinMax.html +10 -8
- package/docs/interfaces/ModelChassisCompassPluginData.html +10 -8
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +11 -9
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +10 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +11 -9
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +11 -9
- package/docs/interfaces/ModelItemLabelPluginData.html +9 -7
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +14 -12
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +10 -8
- package/docs/interfaces/ModelRoomLabelPluginData.html +9 -7
- package/docs/interfaces/ModelTVVideoPluginData.html +12 -10
- package/docs/interfaces/ModelTVVideoPluginExportType.html +11 -9
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +9 -7
- package/docs/interfaces/ModelViewPluginExportType.html +14 -12
- package/docs/interfaces/Object3DHelperState.html +11 -9
- package/docs/interfaces/ObjectHelperControllers.html +12 -10
- package/docs/interfaces/PaintBrushAction.html +15 -13
- package/docs/interfaces/PaintBrushConfigs.html +15 -13
- package/docs/interfaces/PaintBrushState.html +13 -11
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +13 -11
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +8 -6
- package/docs/interfaces/PanoMeasureParameterType.html +18 -16
- package/docs/interfaces/PanoMeasurePluginLineJson.html +11 -9
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +10 -8
- package/docs/interfaces/PanoMeasurePluginPointJson.html +10 -8
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +11 -9
- package/docs/interfaces/PanoRulerPluginExportType.html +13 -11
- package/docs/interfaces/PanoRulerPluginOptions.html +10 -8
- package/docs/interfaces/PanoRulerPluginParameterType.html +11 -9
- package/docs/interfaces/PanoRulerProPluginExportType.html +12 -10
- package/docs/interfaces/PanoRulerProPluginOptions.html +10 -8
- package/docs/interfaces/PanoRulerProPluginParameterType.html +10 -8
- package/docs/interfaces/PanoRulerProPluginState.html +11 -9
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +8 -6
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +8 -6
- package/docs/interfaces/PanoSpatialTagPluginData.html +14 -12
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +13 -11
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +16 -14
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +13 -11
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +16 -14
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +14 -12
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +13 -11
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +9 -7
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +11 -9
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +9 -7
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +12 -10
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +9 -7
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +11 -9
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +13 -11
- package/docs/interfaces/Point.html +11 -9
- package/docs/interfaces/Room.html +12 -10
- package/docs/interfaces/RoomInfo.html +10 -8
- package/docs/interfaces/RoomLabel.html +17 -15
- package/docs/interfaces/RoomRules.html +8 -6
- package/docs/interfaces/Rooms.html +8 -6
- package/docs/interfaces/Scissor.html +12 -10
- package/docs/interfaces/State.html +11 -9
- package/docs/interfaces/TagCacheInterface.html +15 -13
- package/docs/interfaces/TagConfig.html +16 -14
- package/docs/interfaces/TagGLTFObjectGroup.html +9 -7
- package/docs/interfaces/TagIconUrl.html +15 -13
- package/docs/interfaces/TagObjectGroup.html +9 -7
- package/docs/interfaces/TagStyle.html +9 -7
- package/docs/interfaces/Tags.html +12 -10
- package/docs/interfaces/TemporaryState.html +9 -7
- package/docs/interfaces/Util.MagnifierParameter.html +14 -12
- package/docs/interfaces/Util.MouseGroupParameter.html +11 -9
- package/docs/interfaces/Util.PointIntersection.html +408 -0
- package/docs/modules/CruisePluginTypes.html +8 -6
- package/docs/modules/GuideLineItem.html +8 -6
- package/docs/modules/GuideLineModeItem.html +8 -6
- package/docs/modules/GuideLinePluginType.html +8 -6
- package/docs/modules/PanoVideoPluginType.html +8 -6
- package/docs/modules/Util.html +11 -7
- package/docs/modules.html +7 -5
- package/docs/types/ArrayPosition.html +8 -6
- package/docs/types/AudioAppearance.html +8 -6
- package/docs/types/AudioTagTypeConfigKey.html +8 -6
- package/docs/types/CSS3DRenderExportType.html +8 -6
- package/docs/types/CSS3DRenderPluginExportType.html +8 -6
- package/docs/types/CSS3DRenderPluginParameterType.html +8 -6
- package/docs/types/ClassFunctionParameters.html +8 -6
- package/docs/types/Color.html +8 -6
- package/docs/types/ContentTypeConfigKey.html +8 -6
- package/docs/types/ContentTypeConfigKeySplit.html +8 -6
- package/docs/types/ContentTypeMap.html +8 -6
- package/docs/types/Create3DDomContainerReturnType.html +8 -6
- package/docs/types/Create3DElementReturnType.html +8 -6
- package/docs/types/CruisePluginExportType.html +8 -6
- package/docs/types/CruisePluginTypes.CruiseData.html +8 -6
- package/docs/types/CruisePluginTypes.MoveEffect.html +8 -6
- package/docs/types/DeprecatedMediaPlaneProperty.html +8 -6
- package/docs/types/DeprecatedTagProperty.html +8 -6
- package/docs/types/Direction-1.html +8 -6
- package/docs/types/Direction4.html +8 -6
- package/docs/types/ElementRenderer.html +8 -6
- package/docs/types/FloorplanRuleLabels.html +8 -6
- package/docs/types/FloorplanServerRuleLabels.html +8 -6
- package/docs/types/GuideLinePluginExportType.html +8 -6
- package/docs/types/GuideLinePluginType.GuideLineItem.html +8 -6
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +8 -6
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +8 -6
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +8 -6
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +8 -6
- package/docs/types/GuideLinePluginType.PathItem.html +8 -6
- package/docs/types/GuideLinePluginType.PluginData.html +8 -6
- package/docs/types/HelperEventMap.html +8 -6
- package/docs/types/LoadTagConfig.html +8 -6
- package/docs/types/MapviewFloorplanPluginParameterType.html +8 -6
- package/docs/types/MapviewFloorplanPluginReturnType.html +8 -6
- package/docs/types/MediaData.html +8 -6
- package/docs/types/MediaStore.html +8 -6
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +8 -6
- package/docs/types/ModelFloorplanPluginParameterType.html +8 -6
- package/docs/types/ModelFloorplanPluginReturnType.html +8 -6
- package/docs/types/ModelRoomLabelPluginParameters.html +8 -6
- package/docs/types/ModelRoomLabelPluginReturnType.html +8 -6
- package/docs/types/MoveArgs.html +8 -6
- package/docs/types/MoveOpts.html +8 -6
- package/docs/types/Object3DHelperEventMap.html +8 -6
- package/docs/types/ObjectFit.html +8 -6
- package/docs/types/PaintBrushEventMap.html +8 -6
- package/docs/types/PanoCompassPluginData.html +8 -6
- package/docs/types/PanoCompassPluginExportType.html +8 -6
- package/docs/types/PanoCompassPluginParameterType.html +8 -6
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +8 -6
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +8 -6
- package/docs/types/PanoIndex.html +8 -6
- package/docs/types/PanoMeasurePluginEvent.html +8 -6
- package/docs/types/PanoMeasureReturnType.html +8 -6
- package/docs/types/PanoSpatialTagPluginId.html +8 -6
- package/docs/types/PanoTagPluginExportInterface.html +8 -6
- package/docs/types/PanoTagPluginParamsInterface.html +8 -6
- package/docs/types/PanoVideoPluginParameterType.html +8 -6
- package/docs/types/PanoVideoPluginReturnType.html +8 -6
- package/docs/types/PartialObjectDeep.html +8 -6
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +8 -6
- package/docs/types/PlaneTag.html +8 -6
- package/docs/types/Point2DTag.html +8 -6
- package/docs/types/Point3DTag.html +8 -6
- package/docs/types/PointTag.html +8 -6
- package/docs/types/PointTagInstance.html +8 -6
- package/docs/types/Position.html +8 -6
- package/docs/types/RotateArgs.html +8 -6
- package/docs/types/RotateOpts.html +8 -6
- package/docs/types/RuleLabelsKey.html +8 -6
- package/docs/types/RuleLabelsValue.html +8 -6
- package/docs/types/StickType.html +8 -6
- package/docs/types/Tag.html +8 -6
- package/docs/types/Tag2D.html +8 -6
- package/docs/types/Tag3D.html +8 -6
- package/docs/types/TagContentType.html +8 -6
- package/docs/types/TagDimensionType.html +8 -6
- package/docs/types/TagElement.html +8 -6
- package/docs/types/TagEvents.html +8 -6
- package/docs/types/TagGLTFObject.html +8 -6
- package/docs/types/TagHooks.html +8 -6
- package/docs/types/TagId.html +8 -6
- package/docs/types/TagInstance.html +8 -6
- package/docs/types/TagPointType.html +8 -6
- package/docs/types/TagRendererMap.html +8 -6
- package/docs/types/TopviewFloorplanPluginParameterType.html +8 -6
- package/docs/types/TopviewFloorplanPluginReturnType.html +8 -6
- package/docs/types/WorkCode.html +8 -6
- package/docs/variables/FLOOR_TYPE_MAP.html +8 -6
- package/docs/variables/PLUGIN.html +8 -6
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +8 -6
- package/docs/variables/ROOM_TYPE_MAP.html +8 -6
- package/docs/variables/itemLabelPluginServerParams.html +8 -6
- package/docs/variables/modelItemLabelPluginServerParams.html +8 -6
- package/docs/variables/modelRoomLabelPluginServerParams.html +8 -6
- package/libs/CSS3DRenderPlugin/Controller.d.ts +4 -1
- package/libs/CSS3DRenderPlugin/Controller.js +31 -28
- package/libs/CSS3DRenderPlugin/index.js +1 -1
- package/libs/CruisePlugin/Controller.js +1 -1
- package/libs/CruisePlugin/index.js +1 -1
- package/libs/GuideLinePlugin/Components/Tag.js +137 -44
- package/libs/GuideLinePlugin/Controller.d.ts +5 -3
- package/libs/GuideLinePlugin/Controller.js +49 -45
- package/libs/GuideLinePlugin/GuideLineItem/index.js +1 -1
- package/libs/GuideLinePlugin/GuideLineItem.d.ts +1 -1
- package/libs/GuideLinePlugin/GuideLineItem.js +1 -1
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +150 -113
- package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +17 -0
- package/libs/GuideLinePlugin/GuideLineModeItem.js +1 -1
- package/libs/GuideLinePlugin/index.js +1 -1
- package/libs/GuideLinePlugin/utils/createLineGeometry.d.ts +7 -0
- package/libs/GuideLinePlugin/utils/createLineGeometry.js +19 -17
- package/libs/ItemLabelPlugin/ItemLabelItem.js +82 -82
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +77 -77
- package/libs/ModelTVVideoPlugin/Plugin.js +30 -29
- package/libs/ModelTVVideoPlugin/index.js +4 -3
- package/libs/Object3DHelperPlugin/Controller.js +1 -1
- package/libs/Object3DHelperPlugin/index.js +1 -1
- package/libs/PanoCompassPlugin/Controller.js +20 -20
- package/libs/PanoCompassPlugin/index.js +1 -1
- package/libs/PanoDoorLabelPlugin/BaseController.js +1 -1
- package/libs/PanoDoorLabelPlugin/Controller.js +1 -1
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +60 -60
- package/libs/PanoDoorLabelPlugin/index.js +1 -1
- package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +78 -42
- package/libs/PanoMeasurePlugin/Components/Common/Exit.js +42 -0
- package/libs/PanoMeasurePlugin/Components/Common/Exit.svelte.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +113 -117
- package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +71 -71
- package/libs/PanoMeasurePlugin/Components/Common/icons/index.d.ts +4 -0
- package/libs/PanoMeasurePlugin/Components/Common/icons/index.js +7 -0
- package/libs/PanoMeasurePlugin/Components/Controller0.js +188 -65
- package/libs/PanoMeasurePlugin/Components/Controller1.js +353 -108
- package/libs/PanoMeasurePlugin/Controller/BaseController.d.ts +2 -0
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +7 -6
- package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +17 -18
- package/libs/PanoMeasurePlugin/Controller/EditController.js +232 -127
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +5 -5
- package/libs/PanoMeasurePlugin/Controller/ShortcutKeyController.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/WatchController.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +15 -14
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +6 -3
- package/libs/PanoMeasurePlugin/Controller/index.js +93 -79
- package/libs/PanoMeasurePlugin/Model/area.d.ts +9 -1
- package/libs/PanoMeasurePlugin/Model/area.js +23 -11
- package/libs/PanoMeasurePlugin/Model/index.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Model/index.js +47 -39
- package/libs/PanoMeasurePlugin/Model/line.d.ts +3 -0
- package/libs/PanoMeasurePlugin/Model/line.js +27 -20
- package/libs/PanoMeasurePlugin/Model/point.js +17 -12
- package/libs/PanoMeasurePlugin/Model/polygon.d.ts +4 -0
- package/libs/PanoMeasurePlugin/Model/polygon.js +21 -15
- package/libs/PanoMeasurePlugin/Model/polyline.js +6 -6
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +7 -3
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +34 -24
- package/libs/PanoMeasurePlugin/Modules/GuideController.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/index.d.ts +9 -3
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +120 -43
- package/libs/PanoMeasurePlugin/Modules/UIController/style.d.ts +0 -8
- package/libs/PanoMeasurePlugin/Modules/UIController/style.js +16 -24
- package/libs/PanoMeasurePlugin/index.js +55 -37
- package/libs/PanoMeasurePlugin/typings/data.d.ts +8 -2
- package/libs/PanoMeasurePlugin/typings/event.type.d.ts +3 -0
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +36 -15
- package/libs/PanoMeasurePlugin/utils/dom/base.d.ts +4 -0
- package/libs/PanoMeasurePlugin/utils/dom/base.js +37 -31
- package/libs/PanoMeasurePlugin/utils/dom/distanceItem.js +38 -23
- package/libs/PanoMeasurePlugin/utils/generatePolygonGeometry.js +3 -3
- package/libs/PanoMeasurePlugin/utils/geometryUtil.d.ts +1 -1
- package/libs/PanoMeasurePlugin/utils/geometryUtil.js +15 -13
- package/libs/PanoMeasurePlugin/utils/ndc2Screen.d.ts +2 -1
- package/libs/PanoSpatialTagPlugin/Plugin.js +1 -1
- package/libs/PanoSpatialTagPlugin/index.js +1 -1
- package/libs/PanoTagPlugin/controller/TagCache.js +1 -1
- package/libs/PanoTagPlugin/controller/TagComputer.js +1 -1
- package/libs/PanoTagPlugin/controller/TagRender.js +2 -2
- package/libs/PanoTagPlugin/controller/TagUtil.js +1 -1
- package/libs/PanoTagPlugin/controller/index.js +1 -1
- package/libs/PanoTagPlugin/index.js +1 -1
- package/libs/PanoVideoPlugin/Controller.js +1 -1
- package/libs/PanoVideoPlugin/index.js +1 -1
- package/libs/base/BasePlugin.d.ts +4 -1
- package/libs/base/BasePlugin.js +14 -11
- package/libs/components/PaintBrush/style.d.ts +1 -1
- package/libs/components/PaintBrush/style.js +4 -4
- package/libs/floorplan/Components/RoomHighlight/Room.js +54 -54
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +8 -8
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/index.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +30 -28
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +1 -1
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +1 -1
- package/libs/index.js +128 -122
- package/libs/shared-utils/absoluteUrl.d.ts +5 -0
- package/libs/shared-utils/absoluteUrl.js +10 -0
- package/libs/{PanoMeasurePlugin/utils → shared-utils}/getIntersectionFromEvent.d.ts +1 -1
- package/libs/{PanoMeasurePlugin/utils → shared-utils}/getPointFromHammerEvent.d.ts +1 -1
- package/libs/shared-utils/index.d.ts +1 -1
- package/libs/shared-utils/index.js +21 -20
- package/libs/shared-utils/isTouchDevice.d.ts +1 -0
- package/libs/shared-utils/isTouchDevice.js +4 -0
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/Magnifier.d.ts +2 -0
- package/libs/shared-utils/three/Magnifier.js +11 -5
- package/libs/shared-utils/three/PointSelector.d.ts +76 -0
- package/libs/shared-utils/three/PointSelector.js +132 -0
- package/libs/shared-utils/three/PointSelectorHelper.d.ts +50 -0
- package/libs/shared-utils/three/PointSelectorHelper.js +100 -0
- package/libs/shared-utils/three/index.d.ts +1 -1
- package/libs/vendor/svelte/internal/index.js +392 -345
- package/package.json +1 -1
- package/dist/shared-utils/isAbsoluteURL.d.ts +0 -1
- package/dist/shared-utils/three/FivePointSelector.d.ts +0 -36
- package/libs/shared-utils/isAbsoluteURL.d.ts +0 -1
- package/libs/shared-utils/isAbsoluteURL.js +0 -6
- package/libs/shared-utils/three/FivePointSelector.d.ts +0 -36
- package/libs/shared-utils/three/FivePointSelector.js +0 -49
- /package/libs/{PanoMeasurePlugin/utils → shared-utils}/getIntersectionFromEvent.js +0 -0
- /package/libs/{PanoMeasurePlugin/utils → shared-utils}/getPointFromHammerEvent.js +0 -0
|
@@ -1,176 +1,176 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import { classnames as
|
|
3
|
-
function
|
|
4
|
-
|
|
1
|
+
import { SvelteComponent as C, init as O, safe_not_equal as B, append_styles as R, element as p, space as z, attr as c, null_to_empty as A, set_style as k, insert as j, append as g, listen as P, noop as I, detach as w, binding_callbacks as S, text as L, set_data as y } from "../vendor/svelte/internal/index.js";
|
|
2
|
+
import { classnames as _ } from "../vendor/classnames/index.js";
|
|
3
|
+
function x(l) {
|
|
4
|
+
R(l, "svelte-1jhufeh", `.item-label-item.svelte-1jhufeh.svelte-1jhufeh{position:absolute;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;animation:svelte-1jhufeh-fadeIn .3s ease-in}.item-label-item.fold.svelte-1jhufeh>.item-label-item__text-wrap.svelte-1jhufeh{visibility:hidden}.item-label-item.fold.svelte-1jhufeh>.item-label-item__bar.anchor.svelte-1jhufeh{visibility:hidden}.item-label-item.fold.svelte-1jhufeh>.item-label-item__bar.anchor.svelte-1jhufeh:after{visibility:visible}.item-label-item__text-wrap.svelte-1jhufeh.svelte-1jhufeh{height:-moz-fit-content;height:fit-content;padding:0.75rem 1.25rem 0.75rem 0.75rem;position:absolute;width:-moz-max-content;width:max-content;max-width:29.5625rem;min-height:5.75rem;background-image:linear-gradient(269deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.60) 49%, rgba(31, 38, 46, 0.70) 100%);border:0.09375rem solid rgba(255, 255, 255, .65);border-radius:0.1875rem;color:white;transform:translate(-50%, 0);display:flex;justify-content:flex-start;align-items:center;box-sizing:border-box;overflow:hidden;pointer-events:all}.item-label-item__custom.svelte-1jhufeh.svelte-1jhufeh{padding:0;max-width:unset;min-height:unset;background-image:unset;border:0;border-radius:0}.icon-wrap.svelte-1jhufeh.svelte-1jhufeh{width:4.25rem;height:100%;display:flex;justify-content:center;align-content:center}.icon.svelte-1jhufeh.svelte-1jhufeh{width:4.25rem;height:4.25rem;background-repeat:no-repeat;background-size:contain;background-position:center}.item-label-text.svelte-1jhufeh.svelte-1jhufeh{margin-left:0.75rem;padding-left:0.75rem;min-height:4.25rem;height:auto;display:flex;flex-flow:column;justify-content:space-around;align-content:flex-start;border-left:solid rgba(255, 255, 255, .2) 0.0625rem;border-top:solid rgba(255, 255, 255, .2) 0;border-right:solid rgba(255, 255, 255, .2) 0;border-bottom:solid rgba(255, 255, 255, .2) 0;pointer-events:auto}.item-model.svelte-1jhufeh.svelte-1jhufeh{white-space:nowrap;font-size:1.375rem;font-weight:bold;line-height:1.875rem}.item-name.svelte-1jhufeh.svelte-1jhufeh{height:auto;word-wrap:break-word;word-break:break-all;font-size:1.25rem;line-height:1.75rem}.item-label-item__bar.svelte-1jhufeh.svelte-1jhufeh{position:absolute;bottom:0;width:0.1875rem;background-image:linear-gradient(to bottom, white, rgba(255, 255, 255, 0));box-shadow:0 0.125rem 0.5rem 0 rgba(0, 0, 0, 0.20);pointer-events:none}.item-label-item__bar.anchor.svelte-1jhufeh.svelte-1jhufeh:after{content:'';position:absolute;bottom:0;width:1.5rem;height:1.5rem;background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAABcVBMVEUAAAAAAAD////////+/v45OTn////////39/fp6enPz8/7+/vw8PD+/v7x8fHc3NzHx8f////////+/v77+/vr6+v////7+/v5+fn////z8/P////////q6uqgoKD+/v79/f3m5ub+/v7////////////////39/f39/f////z8/P////t7e3s7Oz29vb////5+fn////h4eH////g4ODV1dX////////BwcH///////////+Ojo5zc3MlJSX////////////////////////7+/v////////////v7+/u7u7n5+f////39/f////09PT6+vr09PT+/v76+vr////5+fnv7+/09PTk5OT////////////////Jycn///++vr7///////+0tLT///9TU1P///8SEhL////////+/v76+vr////8/Pz39/ft7e3t7e36+vr////////X19fV1dX///+xsbF9fX1iYmL///////+K8mOEAAAAenRSTlMaAIDy8CD41cWRX9uk7Kl1VVEw6dWT/M/NvKyVkY475eWIgx0Z39rHv7axnZyZmIuKhn56emZjX1FEPTU0Kx4PCAX69fTgxcKkopWL7crJuri2sa6rnIyHhX54bVtZVU9NSUcsJSIcFROno6Hcwp+ekHVxbWhnRC8nDLc9s8oAAAOGSURBVEjHpdd3X9pAGAfwkBBDAoQmBJmWvUWWiIDIHoJb66x7a4d78Op7pBQ1J5DY33987vnyXEIu3CGy/0hvnDthM+l0hj3JScSudDKOdhNPpl1i8Ut624Gi6+trI3zW1tcdqGM7/SIC5/ZRR2SNJEm7JkHt7FAJjR18WIs40P3cAFxIOaIRna6ZOHxGunk+TDR1ukjUkSr0w86bcKShiz1OI4JMP8YAD9+4emM2Gm407IfIhzm0NxrhKNsLH4SvQ+RktyvUfZIMXYcPPsSFCcvY6EYW6ZPsxuiYZaLwAW5bDY70Da5paxjvm8d+UcjAUL/GzPtCnDF/mwFWhJ75Zs68x05gxxFRGQfa+RYXokHVCC4O4yOqYLTwBjNB+ncWEZnsbzrIvOLz4CW9g4jODn0ZPO/iZN0UmhaPp0Omq+Q/nLu6NO0hErJnurjKdTBzEdAhkqILXDAdbFkJ7EnDe4EVy198srpiwhE4X1RKDFOqviBwcNPK6gmPmeWlGDz+VdHqRPEVHo0tLTM8RpcX4G+flLe6kU/Cs1pYRnm8uriQhfoC+0ZDvbMLi6ttfO5fDCDCKFrvooAKAov+c4BZvy8EzaolCHRdIZ+fBThl9G0Ih1RCrBJWbPiMKYAZ409oMSqFWAktzJ9GBuDvRoVGOIQJMSas0CiM39u45v0M9tbaeLc6F5M+7dhcbRfgg+pcU/oNa85VDwDOzBtmpP9UKsN8BuCzeb1P+kPi08+fASyr6fVPUh/PJ72+xj/bZk5PSV0YlJ4z83iC4EipS5LkiAkeHxGcQerLwMARRzyW+QklhUgKpST8nXfYg+fHkjS89MPz0MFnhKdCSWpc8RBnPAZB3RUvLt7i3oob7f5juDzuikY81tjcHlcHg9xabdyUWDvF2ay3slecr1ptimNx9lhhs1bzXQxy5NZa6VMx9pS2Wt1H77cVjFartYvBdlDICDc0cbVa3Twd2NcOyuLwVqo+K1ebjgdcr0k+O1uXwThfl8vlhqm+99kASup5GINsYhhmG8d7UXzcBgo2e21cd9WlUll5/7G958ql8uxu7y0zS5SGSkOGBA51TRiGQAi232Y9v4kVQZGavpt6c6l3tLpNsc38gGOC01IeLg4Xi8NaLz1KkqO0VzvcTrFscYo4oLjiRAsKEXeJPRqxW0bsFWLGLVbiocyZSm5vbW0nU9BsIfyp/AGqAvfOkBaFawAAAABJRU5ErkJggg==');background-position:center;background-size:contain;transform:translate(-0.65625rem, 50%)}@keyframes svelte-1jhufeh-fadeIn{from{opacity:0
|
|
5
5
|
}to{opacity:1
|
|
6
6
|
}}`);
|
|
7
7
|
}
|
|
8
|
-
function
|
|
8
|
+
function V(l) {
|
|
9
9
|
let e, t, n, s = (
|
|
10
10
|
/*itemLabel*/
|
|
11
11
|
(l[0].code || /*itemLabel*/
|
|
12
12
|
l[0].id) + ""
|
|
13
|
-
),
|
|
13
|
+
), u, o, f, r = (
|
|
14
14
|
/*itemLabel*/
|
|
15
15
|
l[0].name + ""
|
|
16
|
-
),
|
|
16
|
+
), v, a = (
|
|
17
17
|
/*itemLabel*/
|
|
18
|
-
l[0].icon &&
|
|
18
|
+
l[0].icon && D(l)
|
|
19
19
|
);
|
|
20
20
|
return {
|
|
21
21
|
c() {
|
|
22
|
-
a && a.c(), e = z(), t =
|
|
22
|
+
a && a.c(), e = z(), t = p("div"), n = p("span"), u = L(s), o = z(), f = p("span"), v = L(r), c(n, "class", "item-model svelte-1jhufeh"), c(f, "class", "item-name svelte-1jhufeh"), c(t, "class", "item-label-text svelte-1jhufeh");
|
|
23
23
|
},
|
|
24
|
-
m(i,
|
|
25
|
-
a && a.m(i,
|
|
24
|
+
m(i, d) {
|
|
25
|
+
a && a.m(i, d), j(i, e, d), j(i, t, d), g(t, n), g(n, u), g(t, o), g(t, f), g(f, v);
|
|
26
26
|
},
|
|
27
|
-
p(i,
|
|
27
|
+
p(i, d) {
|
|
28
28
|
/*itemLabel*/
|
|
29
|
-
i[0].icon ? a ? a.p(i,
|
|
29
|
+
i[0].icon ? a ? a.p(i, d) : (a = D(i), a.c(), a.m(e.parentNode, e)) : a && (a.d(1), a = null), d & /*itemLabel*/
|
|
30
30
|
1 && s !== (s = /*itemLabel*/
|
|
31
31
|
(i[0].code || /*itemLabel*/
|
|
32
|
-
i[0].id) + "") &&
|
|
32
|
+
i[0].id) + "") && y(u, s), d & /*itemLabel*/
|
|
33
33
|
1 && r !== (r = /*itemLabel*/
|
|
34
|
-
i[0].name + "") &&
|
|
34
|
+
i[0].name + "") && y(v, r);
|
|
35
35
|
},
|
|
36
36
|
d(i) {
|
|
37
|
-
a && a.d(i), i &&
|
|
37
|
+
a && a.d(i), i && w(e), i && w(t);
|
|
38
38
|
}
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function E(l) {
|
|
42
42
|
let e;
|
|
43
43
|
return {
|
|
44
44
|
c() {
|
|
45
|
-
e =
|
|
45
|
+
e = p("div");
|
|
46
46
|
},
|
|
47
47
|
m(t, n) {
|
|
48
|
-
|
|
48
|
+
j(t, e, n), l[6](e);
|
|
49
49
|
},
|
|
50
50
|
p: I,
|
|
51
51
|
d(t) {
|
|
52
|
-
t &&
|
|
52
|
+
t && w(e), l[6](null);
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
55
|
}
|
|
56
|
-
function
|
|
57
|
-
let e, t, n, s,
|
|
56
|
+
function D(l) {
|
|
57
|
+
let e, t, n, s, u;
|
|
58
58
|
return {
|
|
59
59
|
c() {
|
|
60
|
-
e =
|
|
61
|
-
l[0].icon})`), c(e, "class", "icon-wrap svelte-
|
|
60
|
+
e = p("div"), t = p("div"), c(t, "class", "icon svelte-1jhufeh"), c(t, "style", n = `background-image: url(${/*itemLabel*/
|
|
61
|
+
l[0].icon})`), c(e, "class", "icon-wrap svelte-1jhufeh");
|
|
62
62
|
},
|
|
63
|
-
m(o,
|
|
64
|
-
|
|
63
|
+
m(o, f) {
|
|
64
|
+
j(o, e, f), g(e, t), s || (u = P(
|
|
65
65
|
e,
|
|
66
66
|
"click",
|
|
67
67
|
/*click_handler*/
|
|
68
68
|
l[7]
|
|
69
69
|
), s = !0);
|
|
70
70
|
},
|
|
71
|
-
p(o,
|
|
72
|
-
|
|
71
|
+
p(o, f) {
|
|
72
|
+
f & /*itemLabel*/
|
|
73
73
|
1 && n !== (n = `background-image: url(${/*itemLabel*/
|
|
74
74
|
o[0].icon})`) && c(t, "style", n);
|
|
75
75
|
},
|
|
76
76
|
d(o) {
|
|
77
|
-
o &&
|
|
77
|
+
o && w(e), s = !1, u();
|
|
78
78
|
}
|
|
79
79
|
};
|
|
80
80
|
}
|
|
81
|
-
function
|
|
82
|
-
let e, t, n, s,
|
|
83
|
-
function i(
|
|
84
|
-
return
|
|
81
|
+
function G(l) {
|
|
82
|
+
let e, t, n, s, u, o, f, r, v, a;
|
|
83
|
+
function i(h, m) {
|
|
84
|
+
return m & /*itemLabel*/
|
|
85
85
|
1 && (n = null), n == null && (n = typeof /*itemLabel*/
|
|
86
|
-
|
|
86
|
+
h[0].render == "function"), n ? E : V;
|
|
87
87
|
}
|
|
88
|
-
let
|
|
88
|
+
let d = i(l, -1), b = d(l);
|
|
89
89
|
return {
|
|
90
90
|
c() {
|
|
91
|
-
e =
|
|
91
|
+
e = p("div"), t = p("div"), b.c(), u = z(), o = p("div"), c(t, "class", s = A(_("item-label-item__text-wrap", {
|
|
92
92
|
"item-label-item__custom": typeof /*itemLabel*/
|
|
93
93
|
l[0].render == "function"
|
|
94
|
-
})) + " svelte-
|
|
95
|
-
l[0].strokeLength}px`), c(o, "class",
|
|
94
|
+
})) + " svelte-1jhufeh"), k(t, "bottom", `${/*itemLabel*/
|
|
95
|
+
l[0].strokeLength}px`), c(o, "class", f = A(_("item-label-item__bar", { anchor: (
|
|
96
96
|
/*anchorEnabled*/
|
|
97
97
|
l[1]
|
|
98
|
-
) })) + " svelte-
|
|
99
|
-
l[0].strokeLength}px`), c(e, "class", r =
|
|
98
|
+
) })) + " svelte-1jhufeh"), k(o, "height", `${/*itemLabel*/
|
|
99
|
+
l[0].strokeLength}px`), c(e, "class", r = A(_("item-label-item", { fold: (
|
|
100
100
|
/*itemLabel*/
|
|
101
101
|
l[0].isFold
|
|
102
|
-
) })) + " svelte-
|
|
102
|
+
) })) + " svelte-1jhufeh"), k(
|
|
103
103
|
e,
|
|
104
104
|
"z-index",
|
|
105
105
|
/*itemLabel*/
|
|
106
106
|
l[0].zIndex
|
|
107
|
-
),
|
|
107
|
+
), k(
|
|
108
108
|
e,
|
|
109
109
|
"transform",
|
|
110
110
|
/*itemLabel*/
|
|
111
111
|
l[0].transform
|
|
112
112
|
);
|
|
113
113
|
},
|
|
114
|
-
m(
|
|
115
|
-
|
|
114
|
+
m(h, m) {
|
|
115
|
+
j(h, e, m), g(e, t), b.m(t, null), g(e, u), g(e, o), v || (a = P(
|
|
116
116
|
t,
|
|
117
117
|
"click",
|
|
118
118
|
/*onClick*/
|
|
119
119
|
l[4]
|
|
120
|
-
),
|
|
120
|
+
), v = !0);
|
|
121
121
|
},
|
|
122
|
-
p(
|
|
123
|
-
|
|
124
|
-
1 && s !== (s =
|
|
122
|
+
p(h, [m]) {
|
|
123
|
+
d === (d = i(h, m)) && b ? b.p(h, m) : (b.d(1), b = d(h), b && (b.c(), b.m(t, null))), m & /*itemLabel*/
|
|
124
|
+
1 && s !== (s = A(_("item-label-item__text-wrap", {
|
|
125
125
|
"item-label-item__custom": typeof /*itemLabel*/
|
|
126
|
-
|
|
127
|
-
})) + " svelte-
|
|
128
|
-
1 &&
|
|
129
|
-
|
|
130
|
-
2 &&
|
|
126
|
+
h[0].render == "function"
|
|
127
|
+
})) + " svelte-1jhufeh") && c(t, "class", s), m & /*itemLabel*/
|
|
128
|
+
1 && k(t, "bottom", `${/*itemLabel*/
|
|
129
|
+
h[0].strokeLength}px`), m & /*anchorEnabled*/
|
|
130
|
+
2 && f !== (f = A(_("item-label-item__bar", { anchor: (
|
|
131
131
|
/*anchorEnabled*/
|
|
132
|
-
|
|
133
|
-
) })) + " svelte-
|
|
134
|
-
1 &&
|
|
135
|
-
|
|
136
|
-
1 && r !== (r =
|
|
132
|
+
h[1]
|
|
133
|
+
) })) + " svelte-1jhufeh") && c(o, "class", f), m & /*itemLabel*/
|
|
134
|
+
1 && k(o, "height", `${/*itemLabel*/
|
|
135
|
+
h[0].strokeLength}px`), m & /*itemLabel*/
|
|
136
|
+
1 && r !== (r = A(_("item-label-item", { fold: (
|
|
137
137
|
/*itemLabel*/
|
|
138
|
-
|
|
139
|
-
) })) + " svelte-
|
|
140
|
-
1 &&
|
|
138
|
+
h[0].isFold
|
|
139
|
+
) })) + " svelte-1jhufeh") && c(e, "class", r), m & /*itemLabel*/
|
|
140
|
+
1 && k(
|
|
141
141
|
e,
|
|
142
142
|
"z-index",
|
|
143
143
|
/*itemLabel*/
|
|
144
|
-
|
|
145
|
-
),
|
|
146
|
-
1 &&
|
|
144
|
+
h[0].zIndex
|
|
145
|
+
), m & /*itemLabel*/
|
|
146
|
+
1 && k(
|
|
147
147
|
e,
|
|
148
148
|
"transform",
|
|
149
149
|
/*itemLabel*/
|
|
150
|
-
|
|
150
|
+
h[0].transform
|
|
151
151
|
);
|
|
152
152
|
},
|
|
153
153
|
i: I,
|
|
154
154
|
o: I,
|
|
155
|
-
d(
|
|
156
|
-
|
|
155
|
+
d(h) {
|
|
156
|
+
h && w(e), b.d(), v = !1, a();
|
|
157
157
|
}
|
|
158
158
|
};
|
|
159
159
|
}
|
|
160
|
-
function
|
|
161
|
-
let { itemLabel: n } = e, { hooks: s } = e, { anchorEnabled:
|
|
162
|
-
function
|
|
160
|
+
function U(l, e, t) {
|
|
161
|
+
let { itemLabel: n } = e, { hooks: s } = e, { anchorEnabled: u } = e, { onIconClick: o } = e;
|
|
162
|
+
function f() {
|
|
163
163
|
s.emit("onLabelClick", n);
|
|
164
164
|
}
|
|
165
165
|
let r;
|
|
166
|
-
function
|
|
166
|
+
function v(i) {
|
|
167
167
|
S[i ? "unshift" : "push"](() => {
|
|
168
168
|
r = i, t(3, r);
|
|
169
169
|
});
|
|
170
170
|
}
|
|
171
171
|
const a = (i) => o(n);
|
|
172
172
|
return l.$$set = (i) => {
|
|
173
|
-
"itemLabel" in i && t(0, n = i.itemLabel), "hooks" in i && t(5, s = i.hooks), "anchorEnabled" in i && t(1,
|
|
173
|
+
"itemLabel" in i && t(0, n = i.itemLabel), "hooks" in i && t(5, s = i.hooks), "anchorEnabled" in i && t(1, u = i.anchorEnabled), "onIconClick" in i && t(2, o = i.onIconClick);
|
|
174
174
|
}, l.$$.update = () => {
|
|
175
175
|
if (l.$$.dirty & /*itemLabel, customElement*/
|
|
176
176
|
9 && typeof n.render == "function" && r && r.children.length === 0) {
|
|
@@ -179,33 +179,33 @@ function J(l, e, t) {
|
|
|
179
179
|
}
|
|
180
180
|
}, [
|
|
181
181
|
n,
|
|
182
|
-
|
|
182
|
+
u,
|
|
183
183
|
o,
|
|
184
184
|
r,
|
|
185
|
-
|
|
185
|
+
f,
|
|
186
186
|
s,
|
|
187
|
-
|
|
187
|
+
v,
|
|
188
188
|
a
|
|
189
189
|
];
|
|
190
190
|
}
|
|
191
|
-
class
|
|
191
|
+
class K extends C {
|
|
192
192
|
constructor(e) {
|
|
193
|
-
super(),
|
|
193
|
+
super(), O(
|
|
194
194
|
this,
|
|
195
195
|
e,
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
196
|
+
U,
|
|
197
|
+
G,
|
|
198
|
+
B,
|
|
199
199
|
{
|
|
200
200
|
itemLabel: 0,
|
|
201
201
|
hooks: 5,
|
|
202
202
|
anchorEnabled: 1,
|
|
203
203
|
onIconClick: 2
|
|
204
204
|
},
|
|
205
|
-
|
|
205
|
+
x
|
|
206
206
|
);
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
209
|
export {
|
|
210
|
-
|
|
210
|
+
K as default
|
|
211
211
|
};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var P = Object.defineProperty, A = Object.defineProperties;
|
|
2
|
+
var B = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var M = Object.getOwnPropertySymbols;
|
|
4
|
+
var E = Object.prototype.hasOwnProperty, G = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var R = (o, t, e) => t in o ? P(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
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var e of
|
|
10
|
-
|
|
7
|
+
E.call(t, e) && R(o, e, t[e]);
|
|
8
|
+
if (M)
|
|
9
|
+
for (var e of M(t))
|
|
10
|
+
G.call(t, e) && R(o, e, t[e]);
|
|
11
11
|
return o;
|
|
12
|
-
},
|
|
13
|
-
import { SvelteComponent as
|
|
14
|
-
import { Raycaster as
|
|
15
|
-
import
|
|
16
|
-
import { svelteResizeObserver as
|
|
12
|
+
}, D = (o, t) => A(o, B(t));
|
|
13
|
+
import { SvelteComponent as J, init as K, safe_not_equal as N, append_styles as Q, element as X, attr as Y, insert as O, action_destroyer as Z, listen as S, update_keyed_each as $, check_outros as ee, transition_in as T, transition_out as W, detach as V, run_all as te, afterUpdate as oe, onDestroy as ne, globals as re, empty as ie, create_component as se, mount_component as le, destroy_component as ce, group_outros as ae, outro_and_destroy_block as fe } from "../vendor/svelte/internal/index.js";
|
|
14
|
+
import { Raycaster as me, Vector3 as w } from "three";
|
|
15
|
+
import ue from "./RoomLabelItem.js";
|
|
16
|
+
import { svelteResizeObserver as de } from "../shared-utils/svelte/resizeObserver.js";
|
|
17
17
|
import "./Assets/roomLabelBg.js";
|
|
18
18
|
import "../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
19
|
-
const { Map: pe } =
|
|
20
|
-
function
|
|
21
|
-
|
|
19
|
+
const { Map: pe } = re;
|
|
20
|
+
function he(o) {
|
|
21
|
+
Q(o, "svelte-9eg4zi", ".room-labels-container.svelte-9eg4zi{width:100%;height:100%;position:relative;color:#fff}");
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function U(o, t, e) {
|
|
24
24
|
const c = o.slice();
|
|
25
25
|
return c[13] = t[e], c;
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function H(o, t) {
|
|
28
28
|
let e, c, r;
|
|
29
|
-
return c = new
|
|
29
|
+
return c = new ue({
|
|
30
30
|
props: {
|
|
31
31
|
roomLabel: (
|
|
32
32
|
/*roomLabelItem*/
|
|
@@ -41,33 +41,33 @@ function O(o, t) {
|
|
|
41
41
|
key: o,
|
|
42
42
|
first: null,
|
|
43
43
|
c() {
|
|
44
|
-
e =
|
|
44
|
+
e = ie(), se(c.$$.fragment), this.first = e;
|
|
45
45
|
},
|
|
46
|
-
m(n,
|
|
47
|
-
|
|
46
|
+
m(n, m) {
|
|
47
|
+
O(n, e, m), le(c, n, m), r = !0;
|
|
48
48
|
},
|
|
49
|
-
p(n,
|
|
49
|
+
p(n, m) {
|
|
50
50
|
t = n;
|
|
51
51
|
const a = {};
|
|
52
|
-
|
|
52
|
+
m & /*roomLabels*/
|
|
53
53
|
1 && (a.roomLabel = /*roomLabelItem*/
|
|
54
|
-
t[13]),
|
|
54
|
+
t[13]), m & /*five*/
|
|
55
55
|
2 && (a.five = /*five*/
|
|
56
56
|
t[1]), c.$set(a);
|
|
57
57
|
},
|
|
58
58
|
i(n) {
|
|
59
|
-
r || (
|
|
59
|
+
r || (T(c.$$.fragment, n), r = !0);
|
|
60
60
|
},
|
|
61
61
|
o(n) {
|
|
62
|
-
|
|
62
|
+
W(c.$$.fragment, n), r = !1;
|
|
63
63
|
},
|
|
64
64
|
d(n) {
|
|
65
|
-
n &&
|
|
65
|
+
n && V(e), ce(c, n);
|
|
66
66
|
}
|
|
67
67
|
};
|
|
68
68
|
}
|
|
69
|
-
function
|
|
70
|
-
let t, e = [], c = new pe(), r, n,
|
|
69
|
+
function _e(o) {
|
|
70
|
+
let t, e = [], c = new pe(), r, n, m, a = (
|
|
71
71
|
/*roomLabels*/
|
|
72
72
|
o[0]
|
|
73
73
|
);
|
|
@@ -76,29 +76,29 @@ function ge(o) {
|
|
|
76
76
|
i[13].id
|
|
77
77
|
);
|
|
78
78
|
for (let i = 0; i < a.length; i += 1) {
|
|
79
|
-
let s =
|
|
80
|
-
c.set(u, e[i] =
|
|
79
|
+
let s = U(o, a, i), u = d(s);
|
|
80
|
+
c.set(u, e[i] = H(u, s));
|
|
81
81
|
}
|
|
82
82
|
return {
|
|
83
83
|
c() {
|
|
84
|
-
t =
|
|
84
|
+
t = X("div");
|
|
85
85
|
for (let i = 0; i < e.length; i += 1)
|
|
86
86
|
e[i].c();
|
|
87
|
-
|
|
87
|
+
Y(t, "class", "room-labels-container svelte-9eg4zi");
|
|
88
88
|
},
|
|
89
89
|
m(i, s) {
|
|
90
|
-
|
|
90
|
+
O(i, t, s);
|
|
91
91
|
for (let u = 0; u < e.length; u += 1)
|
|
92
92
|
e[u] && e[u].m(t, null);
|
|
93
|
-
r = !0, n || (
|
|
94
|
-
|
|
95
|
-
|
|
93
|
+
r = !0, n || (m = [
|
|
94
|
+
Z(de.call(null, t)),
|
|
95
|
+
S(
|
|
96
96
|
t,
|
|
97
97
|
"clientWidth",
|
|
98
98
|
/*clientWidth_handler*/
|
|
99
99
|
o[6]
|
|
100
100
|
),
|
|
101
|
-
|
|
101
|
+
S(
|
|
102
102
|
t,
|
|
103
103
|
"clientHeight",
|
|
104
104
|
/*clientHeight_handler*/
|
|
@@ -109,55 +109,55 @@ function ge(o) {
|
|
|
109
109
|
p(i, [s]) {
|
|
110
110
|
s & /*roomLabels, five*/
|
|
111
111
|
3 && (a = /*roomLabels*/
|
|
112
|
-
i[0],
|
|
112
|
+
i[0], ae(), e = $(e, s, d, 1, i, a, c, t, fe, H, null, U), ee());
|
|
113
113
|
},
|
|
114
114
|
i(i) {
|
|
115
115
|
if (!r) {
|
|
116
116
|
for (let s = 0; s < a.length; s += 1)
|
|
117
|
-
|
|
117
|
+
T(e[s]);
|
|
118
118
|
r = !0;
|
|
119
119
|
}
|
|
120
120
|
},
|
|
121
121
|
o(i) {
|
|
122
122
|
for (let s = 0; s < e.length; s += 1)
|
|
123
|
-
|
|
123
|
+
W(e[s]);
|
|
124
124
|
r = !1;
|
|
125
125
|
},
|
|
126
126
|
d(i) {
|
|
127
|
-
i &&
|
|
127
|
+
i && V(t);
|
|
128
128
|
for (let s = 0; s < e.length; s += 1)
|
|
129
129
|
e[s].d();
|
|
130
|
-
n = !1,
|
|
130
|
+
n = !1, te(m);
|
|
131
131
|
}
|
|
132
132
|
};
|
|
133
133
|
}
|
|
134
|
-
function
|
|
135
|
-
var
|
|
136
|
-
let c, { five: r } = t, { roomLabels: n } = t,
|
|
134
|
+
function ge(o, t, e) {
|
|
135
|
+
var F;
|
|
136
|
+
let c, { five: r } = t, { roomLabels: n } = t, m, a, d = (F = r.model.shownFloor) != null ? F : null;
|
|
137
137
|
function i(l) {
|
|
138
138
|
if (!(d === null || l.floorIndex === d))
|
|
139
139
|
return !1;
|
|
140
|
-
const
|
|
141
|
-
|
|
142
|
-
const [
|
|
143
|
-
return !(
|
|
140
|
+
const _ = new me(), p = r.camera.position.clone(), b = new w(l.position.x, l.position.y, l.position.z), f = b.distanceTo(p);
|
|
141
|
+
_.set(p.clone(), b.clone().sub(p).normalize());
|
|
142
|
+
const [h] = r.model.intersectRaycaster(_);
|
|
143
|
+
return !(h && h.distance + 1 < f);
|
|
144
144
|
}
|
|
145
|
-
function s(l,
|
|
146
|
-
const
|
|
147
|
-
return `translate(${
|
|
145
|
+
function s(l, g) {
|
|
146
|
+
const p = new w(l.position.x, l.position.y, l.position.z).clone().project(r.camera), b = Math.ceil((p.x + 1) / 2 * g.x), f = Math.ceil((-p.y + 1) / 2 * g.y);
|
|
147
|
+
return `translate(${b}px, ${f}px)`;
|
|
148
148
|
}
|
|
149
149
|
function u(l) {
|
|
150
|
-
const { rendererSize:
|
|
151
|
-
function p(
|
|
152
|
-
const
|
|
153
|
-
if (
|
|
154
|
-
return
|
|
155
|
-
const { x:
|
|
156
|
-
return
|
|
150
|
+
const { rendererSize: g } = l, _ = /* @__PURE__ */ new Map();
|
|
151
|
+
function p(f) {
|
|
152
|
+
const h = _.get(f.id);
|
|
153
|
+
if (h)
|
|
154
|
+
return h;
|
|
155
|
+
const { x: L, y: v, z: k } = f.position, y = new w(L, v, k).clone().distanceTo(r.camera.position);
|
|
156
|
+
return _.set(f.id, y), y;
|
|
157
157
|
}
|
|
158
|
-
return n.map((
|
|
159
|
-
const
|
|
160
|
-
return
|
|
158
|
+
return n.map((f) => {
|
|
159
|
+
const h = i(f), L = h ? s(f, g) : f.transform, v = p(f), y = n.filter((x) => x.visible && p(x) < v).length * 10;
|
|
160
|
+
return D(C({}, f), { visible: h, transform: L, zIndex: y });
|
|
161
161
|
});
|
|
162
162
|
}
|
|
163
163
|
function I() {
|
|
@@ -166,38 +166,38 @@ function be(o, t, e) {
|
|
|
166
166
|
function z(l) {
|
|
167
167
|
e(4, d = l);
|
|
168
168
|
}
|
|
169
|
-
r.on("cameraUpdate", I), r.on("modelShownFloorChange", z),
|
|
169
|
+
r.on("cameraUpdate", I), r.on("modelShownFloorChange", z), oe(() => {
|
|
170
170
|
e(0, n = u({ rendererSize: c, shownFloor: d }));
|
|
171
|
-
}),
|
|
171
|
+
}), ne(() => {
|
|
172
172
|
r.off("cameraUpdate", I), r.off("modelShownFloorChange", z);
|
|
173
173
|
});
|
|
174
|
-
const
|
|
175
|
-
e(2,
|
|
176
|
-
},
|
|
174
|
+
const j = (l) => {
|
|
175
|
+
e(2, m = l.detail);
|
|
176
|
+
}, q = (l) => {
|
|
177
177
|
e(3, a = l.detail);
|
|
178
178
|
};
|
|
179
179
|
return o.$$set = (l) => {
|
|
180
180
|
"five" in l && e(1, r = l.five), "roomLabels" in l && e(0, n = l.roomLabels);
|
|
181
181
|
}, o.$$.update = () => {
|
|
182
182
|
o.$$.dirty & /*containerWidth, containerHeight*/
|
|
183
|
-
12 && e(5, c = { x:
|
|
183
|
+
12 && e(5, c = { x: m, y: a }), o.$$.dirty & /*rendererSize, shownFloor*/
|
|
184
184
|
48 && e(0, n = u({ rendererSize: c, shownFloor: d }));
|
|
185
185
|
}, [
|
|
186
186
|
n,
|
|
187
187
|
r,
|
|
188
|
-
|
|
188
|
+
m,
|
|
189
189
|
a,
|
|
190
190
|
d,
|
|
191
191
|
c,
|
|
192
|
-
|
|
193
|
-
|
|
192
|
+
j,
|
|
193
|
+
q
|
|
194
194
|
];
|
|
195
195
|
}
|
|
196
|
-
class
|
|
196
|
+
class Fe extends J {
|
|
197
197
|
constructor(t) {
|
|
198
|
-
super(),
|
|
198
|
+
super(), K(this, t, ge, _e, N, { five: 1, roomLabels: 0 }, he);
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
201
|
export {
|
|
202
|
-
|
|
202
|
+
Fe as default
|
|
203
203
|
};
|