@realsee/dnalogel 2.20.5 → 2.21.0-dev.2
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/GuideLinePlugin/Controller.d.ts +3 -5
- package/dist/GuideLinePlugin/GuideLineItem.d.ts +1 -1
- package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +0 -17
- package/dist/GuideLinePlugin/utils/createLineGeometry.d.ts +0 -7
- package/dist/PanoMeasurePlugin/Components/Common/CircleButton.svelte.d.ts +1 -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/Switcher1.svelte.d.ts +1 -0
- package/dist/PanoMeasurePlugin/Components/Controller0.svelte.d.ts +1 -0
- package/dist/PanoMeasurePlugin/Components/Controller1.svelte.d.ts +1 -0
- package/dist/PanoMeasurePlugin/Controller/BaseController.d.ts +12 -4
- package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +13 -5
- package/dist/PanoMeasurePlugin/Controller/WatchController.d.ts +9 -2
- package/dist/PanoMeasurePlugin/Controller/index.d.ts +22 -9
- package/dist/PanoMeasurePlugin/Model/area.d.ts +62 -0
- package/dist/PanoMeasurePlugin/Model/index.d.ts +9 -0
- package/dist/PanoMeasurePlugin/Model/line.d.ts +4 -1
- package/dist/PanoMeasurePlugin/Model/polygon.d.ts +10 -0
- package/dist/PanoMeasurePlugin/Model/polyline.d.ts +4 -0
- package/dist/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Modules/FiveHelper.d.ts +2 -1
- package/dist/PanoMeasurePlugin/Modules/GuideController.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Modules/Magnifier.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Modules/UIController/index.d.ts +5 -3
- package/dist/PanoMeasurePlugin/Modules/rangePiece/index.d.ts +1 -1
- package/dist/PanoMeasurePlugin/typings/data.d.ts +23 -0
- package/dist/PanoMeasurePlugin/typings/event.type.d.ts +10 -3
- package/dist/PanoMeasurePlugin/typings/index.d.ts +1 -1
- package/dist/PanoMeasurePlugin/utils/dom/areaDom.d.ts +22 -0
- package/dist/PanoMeasurePlugin/utils/dom/base.d.ts +25 -0
- package/dist/PanoMeasurePlugin/utils/dom/distanceItem.d.ts +27 -0
- package/dist/PanoMeasurePlugin/utils/generatePolygonGeometry.d.ts +6 -0
- package/dist/PanoMeasurePlugin/utils/geometryUtil.d.ts +7 -0
- package/dist/PanoMeasurePlugin/utils/getIntersectionFromEvent.d.ts +1 -1
- package/dist/PanoMeasurePlugin/utils/isIntersecting.d.ts +15 -0
- package/dist/PanoMeasurePlugin/utils/line.d.ts +2 -1
- package/dist/index.cjs.js +64 -64
- package/dist/index.js +9427 -8244
- package/dist/index.umd.js +57 -57
- package/dist/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +3 -7
- package/dist/shared-utils/isTouchDevice.d.ts +1 -0
- package/dist/shared-utils/safeObj.d.ts +1 -0
- package/dist/shared-utils/three/IObject3D.d.ts +7 -0
- package/dist/shared-utils/three/Magnifier.d.ts +3 -0
- package/dist/shared-utils/three/PointSelector.d.ts +32 -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 +32 -31
- package/docs/classes/CruisePluginController.html +27 -26
- package/docs/classes/GuideLineItem.GuideLineItem.html +21 -20
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +33 -87
- package/docs/classes/Magnifier.html +21 -20
- package/docs/classes/ModelRoomLabelController.html +12 -11
- package/docs/classes/Object3DHelperController.html +26 -25
- package/docs/classes/PaintBrush.html +16 -15
- package/docs/classes/PanoMeasurePluginLine.html +52 -106
- package/docs/classes/PanoMeasurePluginModel.html +67 -24
- package/docs/classes/PanoMeasurePluginPoint.html +15 -14
- package/docs/classes/PanoMeasurePluginPolyline.html +39 -26
- package/docs/classes/PanoTagPluginController.html +48 -47
- package/docs/classes/Util.BetterTween.html +10 -9
- package/docs/classes/Util.Interval.html +13 -12
- package/docs/classes/Util.Magnifier.html +31 -17
- package/docs/classes/Util.PointDomHelper.html +12 -11
- package/docs/classes/Util.PointHelper.html +12 -11
- package/docs/classes/{Util.FivePointSelector.html → Util.PointSelectorHelper.html} +96 -26
- package/docs/classes/Util.Rectangle.html +14 -13
- package/docs/enums/CameraMovementEffect.html +8 -7
- package/docs/enums/ContentType.html +21 -20
- package/docs/enums/DIRECTION.html +10 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +10 -9
- package/docs/enums/DimensionType.html +8 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +9 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +10 -9
- package/docs/enums/PaintBrushTypeEnum.html +9 -8
- package/docs/enums/PointType.html +8 -7
- package/docs/enums/Rotation.html +9 -8
- package/docs/functions/CSS3DRenderPlugin.html +6 -5
- package/docs/functions/CameraMovementPlugin.html +6 -5
- package/docs/functions/CruisePlugin.html +6 -5
- package/docs/functions/GuideLinePlugin.html +6 -5
- package/docs/functions/ItemLabelPlugin.html +6 -5
- package/docs/functions/MapviewFloorplanPlugin.html +6 -5
- package/docs/functions/ModelChassisCompassPlugin.html +6 -5
- package/docs/functions/ModelEntryDoorGuidePlugin.html +6 -5
- package/docs/functions/ModelFloorplanPlugin.html +6 -5
- package/docs/functions/ModelItemLabelPlugin.html +6 -5
- package/docs/functions/ModelRoomLabelPlugin.html +6 -5
- package/docs/functions/ModelTVVideoPlugin.html +6 -5
- package/docs/functions/ModelViewPlugin.html +6 -5
- package/docs/functions/Object3DHelperPlugin.html +6 -5
- package/docs/functions/PanoCompassPlugin.html +6 -5
- package/docs/functions/PanoCursorRaycasterPlugin.html +6 -5
- package/docs/functions/PanoDoorLabelPlugin.html +6 -5
- package/docs/functions/PanoFloorplanRadarPlugin.html +6 -5
- package/docs/functions/PanoMeasurePlugin.html +6 -5
- package/docs/functions/PanoRulerPlugin.html +6 -5
- package/docs/functions/PanoRulerProPlugin.html +6 -5
- package/docs/functions/PanoSpatialTagPlugin.html +6 -5
- package/docs/functions/PanoTagPlugin.html +6 -5
- package/docs/functions/PanoVideoPlugin.html +6 -5
- package/docs/functions/TopviewFloorplanPlugin.html +6 -5
- package/docs/functions/Util.getCoordsFromClient.html +6 -5
- package/docs/functions/Util.getCoordsFromElement.html +6 -5
- package/docs/functions/Util.getFrameTime.html +6 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +6 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +6 -5
- package/docs/functions/Util.isAbsoluteURL.html +6 -5
- package/docs/functions/Util.isModelLike.html +6 -5
- package/docs/functions/Util.isNil.html +6 -5
- package/docs/functions/Util.isPanoramaLike.html +6 -5
- package/docs/functions/Util.nextFrame.html +6 -5
- package/docs/functions/Util.notNil.html +6 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +6 -5
- package/docs/functions/Util.tweenProgress.html +6 -5
- package/docs/functions/Util.uuid.html +6 -5
- package/docs/functions/pluginFlag.html +6 -5
- package/docs/index.html +6 -5
- package/docs/interfaces/AddTagConfig.html +7 -6
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +12 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +9 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +8 -7
- package/docs/interfaces/CruisePluginTypes.Config.html +9 -8
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +13 -12
- package/docs/interfaces/CruisePluginTypes.EventMap.html +21 -20
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +13 -12
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +15 -14
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +15 -14
- package/docs/interfaces/CruisePluginTypes.PluginData.html +10 -9
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +8 -7
- package/docs/interfaces/CruisePluginTypes.PluginState.html +12 -11
- package/docs/interfaces/EventMap.html +16 -15
- package/docs/interfaces/FloorplanBounding.html +9 -8
- package/docs/interfaces/FloorplanData.html +11 -10
- package/docs/interfaces/FloorplanEntrance.html +12 -11
- package/docs/interfaces/FloorplanExtraObject.html +11 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +9 -8
- package/docs/interfaces/FloorplanFloorData.html +10 -9
- package/docs/interfaces/FloorplanImagePosition.html +8 -7
- package/docs/interfaces/FloorplanObserver.html +10 -9
- package/docs/interfaces/FloorplanOutlineItem.html +10 -9
- package/docs/interfaces/FloorplanPosition.html +8 -7
- package/docs/interfaces/FloorplanRoomItem.html +14 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +8 -7
- package/docs/interfaces/FloorplanServerBounding.html +9 -8
- package/docs/interfaces/FloorplanServerComputedData.html +11 -10
- package/docs/interfaces/FloorplanServerData.html +8 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +11 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +9 -8
- package/docs/interfaces/FloorplanServerEntrance.html +12 -11
- package/docs/interfaces/FloorplanServerFloorData.html +10 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +8 -7
- package/docs/interfaces/FloorplanServerObserver.html +10 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +10 -9
- package/docs/interfaces/FloorplanServerPosition.html +8 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +15 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +8 -7
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +9 -8
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +11 -10
- package/docs/interfaces/GuideLinePluginType.EventMap.html +14 -13
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +9 -8
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +7 -6
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +14 -13
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +9 -8
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +19 -18
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +8 -7
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +19 -18
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +6 -5
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +8 -7
- package/docs/interfaces/GuideLinePluginType.PluginState.html +9 -8
- package/docs/interfaces/GuideLinePluginType.Route.html +12 -11
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +10 -9
- package/docs/interfaces/HelperOffset.html +9 -8
- package/docs/interfaces/ImagePlaneGroup.html +7 -6
- package/docs/interfaces/ItemLabelPluginData.html +7 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +12 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +10 -9
- package/docs/interfaces/MinMax.html +8 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +8 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +9 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +8 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +9 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +9 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +7 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +12 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +8 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +7 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +10 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +9 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +7 -6
- package/docs/interfaces/ModelViewPluginExportType.html +12 -11
- package/docs/interfaces/Object3DHelperState.html +9 -8
- package/docs/interfaces/ObjectHelperControllers.html +10 -9
- package/docs/interfaces/PaintBrushAction.html +13 -12
- package/docs/interfaces/PaintBrushConfigs.html +13 -12
- package/docs/interfaces/PaintBrushState.html +11 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +11 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +6 -5
- package/docs/interfaces/PanoMeasureParameterType.html +23 -15
- package/docs/interfaces/PanoMeasurePluginLineJson.html +9 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +8 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +8 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +9 -8
- package/docs/interfaces/PanoRulerPluginExportType.html +11 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +8 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +9 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +10 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +8 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +8 -7
- package/docs/interfaces/PanoRulerProPluginState.html +9 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +6 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +6 -5
- package/docs/interfaces/PanoSpatialTagPluginData.html +12 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +11 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +14 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +11 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +14 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +12 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +11 -10
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +7 -6
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +9 -8
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +7 -6
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +10 -9
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +7 -6
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +9 -8
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +11 -10
- package/docs/interfaces/Point.html +9 -8
- package/docs/interfaces/Room.html +10 -9
- package/docs/interfaces/RoomInfo.html +8 -7
- package/docs/interfaces/RoomLabel.html +15 -14
- package/docs/interfaces/RoomRules.html +6 -5
- package/docs/interfaces/Rooms.html +6 -5
- package/docs/interfaces/Scissor.html +10 -9
- package/docs/interfaces/State.html +9 -8
- package/docs/interfaces/TagCacheInterface.html +13 -12
- package/docs/interfaces/TagConfig.html +14 -13
- package/docs/interfaces/TagGLTFObjectGroup.html +7 -6
- package/docs/interfaces/TagIconUrl.html +13 -12
- package/docs/interfaces/TagObjectGroup.html +7 -6
- package/docs/interfaces/TagStyle.html +7 -6
- package/docs/interfaces/Tags.html +10 -9
- package/docs/interfaces/TemporaryState.html +7 -6
- package/docs/interfaces/Util.MagnifierParameter.html +12 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +9 -8
- package/docs/interfaces/Util.PointIntersection.html +407 -0
- package/docs/modules/CruisePluginTypes.html +6 -5
- package/docs/modules/GuideLineItem.html +6 -5
- package/docs/modules/GuideLineModeItem.html +6 -5
- package/docs/modules/GuideLinePluginType.html +6 -5
- package/docs/modules/PanoVideoPluginType.html +6 -5
- package/docs/modules/Util.html +8 -6
- package/docs/modules.html +6 -5
- package/docs/types/ArrayPosition.html +6 -5
- package/docs/types/AudioAppearance.html +6 -5
- package/docs/types/AudioTagTypeConfigKey.html +6 -5
- package/docs/types/CSS3DRenderExportType.html +6 -5
- package/docs/types/CSS3DRenderPluginExportType.html +6 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +6 -5
- package/docs/types/ClassFunctionParameters.html +6 -5
- package/docs/types/Color.html +6 -5
- package/docs/types/ContentTypeConfigKey.html +6 -5
- package/docs/types/ContentTypeConfigKeySplit.html +6 -5
- package/docs/types/ContentTypeMap.html +6 -5
- package/docs/types/Create3DDomContainerReturnType.html +6 -5
- package/docs/types/Create3DElementReturnType.html +6 -5
- package/docs/types/CruisePluginExportType.html +6 -5
- package/docs/types/CruisePluginTypes.CruiseData.html +6 -5
- package/docs/types/CruisePluginTypes.MoveEffect.html +6 -5
- package/docs/types/DeprecatedMediaPlaneProperty.html +6 -5
- package/docs/types/DeprecatedTagProperty.html +6 -5
- package/docs/types/Direction-1.html +6 -5
- package/docs/types/Direction4.html +6 -5
- package/docs/types/ElementRenderer.html +6 -5
- package/docs/types/FloorplanRuleLabels.html +6 -5
- package/docs/types/FloorplanServerRuleLabels.html +6 -5
- package/docs/types/GuideLinePluginExportType.html +6 -5
- package/docs/types/GuideLinePluginType.GuideLineItem.html +6 -5
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +6 -5
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +6 -5
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +6 -5
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +6 -5
- package/docs/types/GuideLinePluginType.PathItem.html +6 -5
- package/docs/types/GuideLinePluginType.PluginData.html +6 -5
- package/docs/types/HelperEventMap.html +6 -5
- package/docs/types/LoadTagConfig.html +6 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +6 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +6 -5
- package/docs/types/MediaData.html +6 -5
- package/docs/types/MediaStore.html +6 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +6 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +6 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +6 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +6 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +6 -5
- package/docs/types/MoveArgs.html +6 -5
- package/docs/types/MoveOpts.html +6 -5
- package/docs/types/Object3DHelperEventMap.html +6 -5
- package/docs/types/ObjectFit.html +6 -5
- package/docs/types/PaintBrushEventMap.html +6 -5
- package/docs/types/PanoCompassPluginData.html +6 -5
- package/docs/types/PanoCompassPluginExportType.html +6 -5
- package/docs/types/PanoCompassPluginParameterType.html +6 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +6 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +6 -5
- package/docs/types/PanoIndex.html +6 -5
- package/docs/types/PanoMeasurePluginEvent.html +6 -5
- package/docs/types/PanoMeasureReturnType.html +6 -5
- package/docs/types/PanoSpatialTagPluginId.html +6 -5
- package/docs/types/PanoTagPluginExportInterface.html +6 -5
- package/docs/types/PanoTagPluginParamsInterface.html +6 -5
- package/docs/types/PanoVideoPluginParameterType.html +6 -5
- package/docs/types/PanoVideoPluginReturnType.html +6 -5
- package/docs/types/PartialObjectDeep.html +6 -5
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +6 -5
- package/docs/types/PlaneTag.html +6 -5
- package/docs/types/Point2DTag.html +6 -5
- package/docs/types/Point3DTag.html +6 -5
- package/docs/types/PointTag.html +6 -5
- package/docs/types/PointTagInstance.html +6 -5
- package/docs/types/Position.html +6 -5
- package/docs/types/RotateArgs.html +6 -5
- package/docs/types/RotateOpts.html +6 -5
- package/docs/types/RuleLabelsKey.html +6 -5
- package/docs/types/RuleLabelsValue.html +6 -5
- package/docs/types/StickType.html +6 -5
- package/docs/types/Tag.html +6 -5
- package/docs/types/Tag2D.html +6 -5
- package/docs/types/Tag3D.html +6 -5
- package/docs/types/TagContentType.html +6 -5
- package/docs/types/TagDimensionType.html +6 -5
- package/docs/types/TagElement.html +6 -5
- package/docs/types/TagEvents.html +6 -5
- package/docs/types/TagGLTFObject.html +6 -5
- package/docs/types/TagHooks.html +6 -5
- package/docs/types/TagId.html +6 -5
- package/docs/types/TagInstance.html +6 -5
- package/docs/types/TagPointType.html +6 -5
- package/docs/types/TagRendererMap.html +6 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +6 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +6 -5
- package/docs/types/WorkCode.html +6 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +6 -5
- package/docs/variables/PLUGIN.html +6 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +6 -5
- package/docs/variables/ROOM_TYPE_MAP.html +6 -5
- package/docs/variables/itemLabelPluginServerParams.html +6 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +6 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +6 -5
- package/libs/GuideLinePlugin/Components/Tag.js +41 -134
- package/libs/GuideLinePlugin/Controller.d.ts +3 -5
- package/libs/GuideLinePlugin/Controller.js +44 -48
- package/libs/GuideLinePlugin/GuideLineItem/index.js +1 -1
- package/libs/GuideLinePlugin/GuideLineItem.d.ts +1 -1
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +113 -150
- package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +0 -17
- package/libs/GuideLinePlugin/utils/createLineGeometry.d.ts +0 -7
- package/libs/GuideLinePlugin/utils/createLineGeometry.js +17 -19
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +77 -77
- package/libs/Object3DHelperPlugin/Controller.js +3 -2
- package/libs/Object3DHelperPlugin/index.js +6 -5
- package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +57 -0
- package/libs/PanoMeasurePlugin/Components/Common/CircleButton.svelte.d.ts +1 -0
- 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 +250 -0
- package/libs/PanoMeasurePlugin/Components/Common/Switcher0.svelte.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +211 -0
- package/libs/PanoMeasurePlugin/Components/Common/Switcher1.svelte.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Components/Controller0.js +130 -0
- package/libs/PanoMeasurePlugin/Components/Controller0.svelte.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Components/Controller1.js +255 -0
- package/libs/PanoMeasurePlugin/Components/Controller1.svelte.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Controller/BaseController.d.ts +12 -4
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +28 -21
- package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +13 -5
- package/libs/PanoMeasurePlugin/Controller/EditController.js +184 -75
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +26 -25
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +5 -4
- package/libs/PanoMeasurePlugin/Controller/WatchController.d.ts +9 -2
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +99 -53
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +22 -9
- package/libs/PanoMeasurePlugin/Controller/index.js +127 -73
- package/libs/PanoMeasurePlugin/Model/area.d.ts +62 -0
- package/libs/PanoMeasurePlugin/Model/area.js +98 -0
- package/libs/PanoMeasurePlugin/Model/index.d.ts +9 -0
- package/libs/PanoMeasurePlugin/Model/index.js +27 -12
- package/libs/PanoMeasurePlugin/Model/line.d.ts +4 -1
- package/libs/PanoMeasurePlugin/Model/line.js +15 -8
- package/libs/PanoMeasurePlugin/Model/point.js +17 -12
- package/libs/PanoMeasurePlugin/Model/polygon.d.ts +10 -0
- package/libs/PanoMeasurePlugin/Model/polygon.js +39 -0
- package/libs/PanoMeasurePlugin/Model/polyline.d.ts +4 -0
- package/libs/PanoMeasurePlugin/Model/polyline.js +10 -3
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +27 -25
- package/libs/PanoMeasurePlugin/Modules/FiveHelper.d.ts +2 -1
- package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +3 -3
- package/libs/PanoMeasurePlugin/Modules/GuideController.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Modules/Magnifier.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/index.d.ts +5 -3
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +112 -35
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.d.ts +1 -1
- package/libs/PanoMeasurePlugin/index.js +61 -17
- package/libs/PanoMeasurePlugin/typings/data.d.ts +23 -0
- package/libs/PanoMeasurePlugin/typings/event.type.d.ts +10 -3
- package/libs/PanoMeasurePlugin/typings/index.d.ts +1 -1
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.d.ts +22 -0
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +29 -0
- package/libs/PanoMeasurePlugin/utils/dom/base.d.ts +25 -0
- package/libs/PanoMeasurePlugin/utils/dom/base.js +72 -0
- package/libs/PanoMeasurePlugin/utils/dom/distanceItem.d.ts +27 -0
- package/libs/PanoMeasurePlugin/utils/dom/distanceItem.js +47 -0
- package/libs/PanoMeasurePlugin/utils/generatePolygonGeometry.d.ts +6 -0
- package/libs/PanoMeasurePlugin/utils/generatePolygonGeometry.js +13 -0
- package/libs/PanoMeasurePlugin/utils/geometryUtil.d.ts +7 -0
- package/libs/PanoMeasurePlugin/utils/geometryUtil.js +37 -0
- package/libs/PanoMeasurePlugin/utils/getIntersectionFromEvent.d.ts +1 -1
- package/libs/PanoMeasurePlugin/utils/isIntersecting.d.ts +15 -0
- package/libs/PanoMeasurePlugin/utils/isIntersecting.js +25 -0
- package/libs/PanoMeasurePlugin/utils/line.d.ts +2 -1
- package/libs/PanoTagPlugin/controller/TagRender.js +1 -1
- package/libs/base/BasePlugin.js +1 -1
- package/libs/floorplan/Components/RoomHighlight/Room.js +54 -54
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +8 -8
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +28 -30
- package/libs/index.js +134 -116
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +3 -7
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +29 -49
- package/libs/shared-utils/index.js +6 -6
- package/libs/shared-utils/isTouchDevice.d.ts +1 -0
- package/libs/shared-utils/isTouchDevice.js +4 -0
- package/libs/shared-utils/logger.js +2 -2
- package/libs/shared-utils/safeObj.d.ts +1 -0
- package/libs/shared-utils/safeObj.js +6 -0
- package/libs/shared-utils/three/IObject3D.d.ts +7 -0
- package/libs/shared-utils/three/IObject3D.js +25 -0
- package/libs/shared-utils/three/Magnifier.d.ts +3 -0
- package/libs/shared-utils/three/Magnifier.js +11 -9
- package/libs/shared-utils/three/PointSelector.d.ts +32 -0
- package/libs/shared-utils/three/PointSelector.js +68 -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/centerPoint.js +1 -3
- package/libs/shared-utils/three/index.d.ts +1 -1
- package/package.json +4 -2
- package/dist/PanoMeasurePlugin/utils/distanceDom.d.ts +0 -30
- package/dist/shared-utils/three/FivePointSelector.d.ts +0 -36
- package/libs/PanoMeasurePlugin/utils/distanceDom.d.ts +0 -30
- package/libs/PanoMeasurePlugin/utils/distanceDom.js +0 -83
- package/libs/shared-utils/three/FivePointSelector.d.ts +0 -36
- package/libs/shared-utils/three/FivePointSelector.js +0 -49
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var A = Object.defineProperty, B = Object.defineProperties;
|
|
2
|
+
var E = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var R = Object.getOwnPropertySymbols;
|
|
4
|
+
var G = Object.prototype.hasOwnProperty, J = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var C = (o, t, e) => t in o ? A(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e, D = (o, t) => {
|
|
6
6
|
for (var e in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var e of
|
|
10
|
-
|
|
7
|
+
G.call(t, e) && C(o, e, t[e]);
|
|
8
|
+
if (R)
|
|
9
|
+
for (var e of R(t))
|
|
10
|
+
J.call(t, e) && C(o, e, t[e]);
|
|
11
11
|
return o;
|
|
12
|
-
},
|
|
13
|
-
import { SvelteComponent as
|
|
14
|
-
import { Raycaster as
|
|
15
|
-
import
|
|
16
|
-
import { svelteResizeObserver as
|
|
12
|
+
}, S = (o, t) => B(o, E(t));
|
|
13
|
+
import { SvelteComponent as K, init as N, safe_not_equal as Q, append_styles as X, element as Y, attr as Z, insert as T, action_destroyer as $, listen as U, update_keyed_each as ee, check_outros as te, transition_in as W, transition_out as V, detach as j, run_all as oe, afterUpdate as ne, onDestroy as re, globals as ie, empty as se, create_component as le, mount_component as ce, destroy_component as ae, group_outros as fe, outro_and_destroy_block as me } from "../vendor/svelte/internal/index.js";
|
|
14
|
+
import { Raycaster as ue, Vector3 as F } from "three";
|
|
15
|
+
import de from "./RoomLabelItem.js";
|
|
16
|
+
import { svelteResizeObserver as he } 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 } = ie;
|
|
20
|
+
function _e(o) {
|
|
21
|
+
X(o, "svelte-9eg4zi", ".room-labels-container.svelte-9eg4zi{width:100%;height:100%;position:relative;color:#fff}");
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function H(o, t, e) {
|
|
24
24
|
const c = o.slice();
|
|
25
25
|
return c[13] = t[e], c;
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function O(o, t) {
|
|
28
28
|
let e, c, r;
|
|
29
|
-
return c = new
|
|
29
|
+
return c = new de({
|
|
30
30
|
props: {
|
|
31
31
|
roomLabel: (
|
|
32
32
|
/*roomLabelItem*/
|
|
@@ -41,33 +41,33 @@ function H(o, t) {
|
|
|
41
41
|
key: o,
|
|
42
42
|
first: null,
|
|
43
43
|
c() {
|
|
44
|
-
e =
|
|
44
|
+
e = se(), le(c.$$.fragment), this.first = e;
|
|
45
45
|
},
|
|
46
|
-
m(n,
|
|
47
|
-
|
|
46
|
+
m(n, f) {
|
|
47
|
+
T(n, e, f), ce(c, n, f), r = !0;
|
|
48
48
|
},
|
|
49
|
-
p(n,
|
|
49
|
+
p(n, f) {
|
|
50
50
|
t = n;
|
|
51
51
|
const a = {};
|
|
52
|
-
|
|
52
|
+
f & /*roomLabels*/
|
|
53
53
|
1 && (a.roomLabel = /*roomLabelItem*/
|
|
54
|
-
t[13]),
|
|
54
|
+
t[13]), f & /*five*/
|
|
55
55
|
2 && (a.five = /*five*/
|
|
56
56
|
t[1]), c.$set(a);
|
|
57
57
|
},
|
|
58
58
|
i(n) {
|
|
59
|
-
r || (
|
|
59
|
+
r || (W(c.$$.fragment, n), r = !0);
|
|
60
60
|
},
|
|
61
61
|
o(n) {
|
|
62
|
-
|
|
62
|
+
V(c.$$.fragment, n), r = !1;
|
|
63
63
|
},
|
|
64
64
|
d(n) {
|
|
65
|
-
n &&
|
|
65
|
+
n && j(e), ae(c, n);
|
|
66
66
|
}
|
|
67
67
|
};
|
|
68
68
|
}
|
|
69
|
-
function
|
|
70
|
-
let t, e = [], c = new pe(), r, n,
|
|
69
|
+
function ge(o) {
|
|
70
|
+
let t, e = [], c = new pe(), r, n, f, a = (
|
|
71
71
|
/*roomLabels*/
|
|
72
72
|
o[0]
|
|
73
73
|
);
|
|
@@ -76,29 +76,29 @@ function _e(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 = H(o, a, i), u = d(s);
|
|
80
|
+
c.set(u, e[i] = O(u, s));
|
|
81
81
|
}
|
|
82
82
|
return {
|
|
83
83
|
c() {
|
|
84
|
-
t =
|
|
84
|
+
t = Y("div");
|
|
85
85
|
for (let i = 0; i < e.length; i += 1)
|
|
86
86
|
e[i].c();
|
|
87
|
-
|
|
87
|
+
Z(t, "class", "room-labels-container svelte-9eg4zi");
|
|
88
88
|
},
|
|
89
89
|
m(i, s) {
|
|
90
|
-
|
|
90
|
+
T(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 || (f = [
|
|
94
|
+
$(he.call(null, t)),
|
|
95
|
+
U(
|
|
96
96
|
t,
|
|
97
97
|
"clientWidth",
|
|
98
98
|
/*clientWidth_handler*/
|
|
99
99
|
o[6]
|
|
100
100
|
),
|
|
101
|
-
|
|
101
|
+
U(
|
|
102
102
|
t,
|
|
103
103
|
"clientHeight",
|
|
104
104
|
/*clientHeight_handler*/
|
|
@@ -109,55 +109,55 @@ function _e(o) {
|
|
|
109
109
|
p(i, [s]) {
|
|
110
110
|
s & /*roomLabels, five*/
|
|
111
111
|
3 && (a = /*roomLabels*/
|
|
112
|
-
i[0],
|
|
112
|
+
i[0], fe(), e = ee(e, s, d, 1, i, a, c, t, me, O, null, H), te());
|
|
113
113
|
},
|
|
114
114
|
i(i) {
|
|
115
115
|
if (!r) {
|
|
116
116
|
for (let s = 0; s < a.length; s += 1)
|
|
117
|
-
|
|
117
|
+
W(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
|
+
V(e[s]);
|
|
124
124
|
r = !1;
|
|
125
125
|
},
|
|
126
126
|
d(i) {
|
|
127
|
-
i &&
|
|
127
|
+
i && j(t);
|
|
128
128
|
for (let s = 0; s < e.length; s += 1)
|
|
129
129
|
e[s].d();
|
|
130
|
-
n = !1,
|
|
130
|
+
n = !1, oe(f);
|
|
131
131
|
}
|
|
132
132
|
};
|
|
133
133
|
}
|
|
134
|
-
function
|
|
135
|
-
var
|
|
136
|
-
let c, { five: r } = t, { roomLabels: n } = t,
|
|
134
|
+
function be(o, t, e) {
|
|
135
|
+
var k;
|
|
136
|
+
let c, { five: r } = t, { roomLabels: n } = t, f, a, d = (k = r.model.shownFloor) != null ? k : 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 b = new ue(), h = r.camera.position.clone(), p = new F(l.position.x, l.position.y, l.position.z), y = p.distanceTo(h);
|
|
141
|
+
b.set(h.clone(), p.clone().sub(h).normalize());
|
|
142
|
+
const [m] = r.model.intersectRaycaster(b);
|
|
143
|
+
return !(m && m.distance + 1 < y);
|
|
144
144
|
}
|
|
145
|
-
function s(l,
|
|
146
|
-
const
|
|
147
|
-
return `translate(${
|
|
145
|
+
function s(l, _) {
|
|
146
|
+
const h = new F(l.position.x, l.position.y, l.position.z).clone().project(r.camera), p = Math.ceil((h.x + 1) / 2 * _.x), y = Math.ceil((-h.y + 1) / 2 * _.y);
|
|
147
|
+
return `translate(${p}px, ${y}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: _, shownFloor: b } = l, h = /* @__PURE__ */ new Map();
|
|
151
|
+
function p(m) {
|
|
152
|
+
const g = h.get(m.id);
|
|
153
|
+
if (g)
|
|
154
|
+
return g;
|
|
155
|
+
const { x: w, y: v, z: x } = m.position, L = new F(w, v, x).clone().distanceTo(r.camera.position);
|
|
156
|
+
return h.set(m.id, L), L;
|
|
157
157
|
}
|
|
158
|
-
return n.map((
|
|
159
|
-
const
|
|
160
|
-
return D(
|
|
158
|
+
return n.map((m) => {
|
|
159
|
+
const g = i(m), w = g ? s(m, _) : m.transform, v = p(m), L = n.filter((M) => M.visible && p(M) < v).length * 10;
|
|
160
|
+
return S(D({}, m), { visible: g, transform: w, zIndex: L });
|
|
161
161
|
});
|
|
162
162
|
}
|
|
163
163
|
function I() {
|
|
@@ -166,38 +166,38 @@ function ge(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), ne(() => {
|
|
170
170
|
e(0, n = u({ rendererSize: c, shownFloor: d }));
|
|
171
|
-
}),
|
|
171
|
+
}), re(() => {
|
|
172
172
|
r.off("cameraUpdate", I), r.off("modelShownFloorChange", z);
|
|
173
173
|
});
|
|
174
|
-
const
|
|
175
|
-
e(2,
|
|
176
|
-
},
|
|
174
|
+
const q = (l) => {
|
|
175
|
+
e(2, f = l.detail);
|
|
176
|
+
}, P = (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: f, 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
|
+
f,
|
|
189
189
|
a,
|
|
190
190
|
d,
|
|
191
191
|
c,
|
|
192
|
-
|
|
193
|
-
|
|
192
|
+
q,
|
|
193
|
+
P
|
|
194
194
|
];
|
|
195
195
|
}
|
|
196
|
-
class
|
|
196
|
+
class ke extends K {
|
|
197
197
|
constructor(t) {
|
|
198
|
-
super(),
|
|
198
|
+
super(), N(this, t, be, ge, Q, { five: 1, roomLabels: 0 }, _e);
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
201
|
export {
|
|
202
|
-
|
|
202
|
+
ke as default
|
|
203
203
|
};
|
|
@@ -50,6 +50,7 @@ import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
50
50
|
import "../shared-utils/isAbsoluteURL.js";
|
|
51
51
|
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
52
52
|
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
53
|
+
import "../shared-utils/three/IObject3D.js";
|
|
53
54
|
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
54
55
|
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
55
56
|
import "../shared-utils/Object3DHelper/Constants/color.js";
|
|
@@ -84,7 +85,7 @@ const S = "Object3DHelperPlugin", w = S, J = () => {
|
|
|
84
85
|
}, Q = () => {
|
|
85
86
|
console.error(`${w} is disabled`);
|
|
86
87
|
};
|
|
87
|
-
class
|
|
88
|
+
class Qe extends k {
|
|
88
89
|
constructor(e) {
|
|
89
90
|
super(e);
|
|
90
91
|
m(this, "name", S);
|
|
@@ -229,6 +230,6 @@ class Ke extends k {
|
|
|
229
230
|
}
|
|
230
231
|
}
|
|
231
232
|
export {
|
|
232
|
-
|
|
233
|
+
Qe as Object3DHelperController,
|
|
233
234
|
w as PLUGIN
|
|
234
235
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Object3DHelperController as o } from "./Controller.js";
|
|
2
|
-
import { PLUGIN as
|
|
2
|
+
import { PLUGIN as mr } from "./Controller.js";
|
|
3
3
|
import "@realsee/five";
|
|
4
4
|
import "../base/BasePlugin.js";
|
|
5
5
|
import "../shared-utils/Subscribe.js";
|
|
@@ -23,6 +23,7 @@ import "../shared-utils/isAbsoluteURL.js";
|
|
|
23
23
|
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
24
24
|
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
25
25
|
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
26
|
+
import "../shared-utils/three/IObject3D.js";
|
|
26
27
|
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
27
28
|
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
28
29
|
import "../shared-utils/Object3DHelper/Constants/color.js";
|
|
@@ -51,10 +52,10 @@ import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
|
51
52
|
import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
52
53
|
import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
53
54
|
import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
54
|
-
const
|
|
55
|
+
const or = (r) => new o(r);
|
|
55
56
|
export {
|
|
56
57
|
o as Object3DHelperController,
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
or as Object3DHelperPlugin,
|
|
59
|
+
mr as PLUGIN,
|
|
60
|
+
or as default
|
|
60
61
|
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { SvelteComponent as g, init as v, safe_not_equal as h, append_styles as y, element as a, text as b, attr as u, set_style as c, insert as k, append as d, listen as p, set_data as C, noop as m, detach as x, is_function as _ } from "../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import { startIconImage as f, endIconImage as B } from "../../Modules/UIController/mobileHTML.js";
|
|
3
|
+
function w(t) {
|
|
4
|
+
y(t, "svelte-dtyu3s", '.CircleButton.svelte-dtyu3s.svelte-dtyu3s{position:relative;pointer-events:all;width:-moz-max-content;width:max-content;height:-moz-max-content;height:max-content;background-size:0;transition:transform 200ms ease-in-out}.CircleButton.svelte-dtyu3s.svelte-dtyu3s:active{transform:scale(0.8)}.CircleButton.svelte-dtyu3s.svelte-dtyu3s::before{content:"";box-sizing:border-box;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);width:100%;padding-top:100%;min-height:4.5rem;background-image:inherit;background-size:100% auto;background-repeat:no-repeat}.CircleButton.svelte-dtyu3s .text.svelte-dtyu3s{position:relative;padding:40% 1.375rem}');
|
|
5
|
+
}
|
|
6
|
+
function z(t) {
|
|
7
|
+
let e, o, s, l, r;
|
|
8
|
+
return {
|
|
9
|
+
c() {
|
|
10
|
+
e = a("div"), o = a("div"), s = b(
|
|
11
|
+
/*text*/
|
|
12
|
+
t[0]
|
|
13
|
+
), u(o, "class", "text svelte-dtyu3s"), u(e, "class", "CircleButton svelte-dtyu3s"), c(e, "background-image", `url(${/*bgImage*/
|
|
14
|
+
t[2]})`);
|
|
15
|
+
},
|
|
16
|
+
m(i, n) {
|
|
17
|
+
k(i, e, n), d(e, o), d(o, s), l || (r = p(e, "click", function() {
|
|
18
|
+
_(
|
|
19
|
+
/*onClick*/
|
|
20
|
+
t[1]
|
|
21
|
+
) && t[1].apply(this, arguments);
|
|
22
|
+
}), l = !0);
|
|
23
|
+
},
|
|
24
|
+
p(i, [n]) {
|
|
25
|
+
t = i, n & /*text*/
|
|
26
|
+
1 && C(
|
|
27
|
+
s,
|
|
28
|
+
/*text*/
|
|
29
|
+
t[0]
|
|
30
|
+
), n & /*bgImage*/
|
|
31
|
+
4 && c(e, "background-image", `url(${/*bgImage*/
|
|
32
|
+
t[2]})`);
|
|
33
|
+
},
|
|
34
|
+
i: m,
|
|
35
|
+
o: m,
|
|
36
|
+
d(i) {
|
|
37
|
+
i && x(e), l = !1, r();
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function I(t, e, o) {
|
|
42
|
+
let s, { text: l } = e, { onClick: r = null } = e, { color: i = "white" } = e;
|
|
43
|
+
return t.$$set = (n) => {
|
|
44
|
+
"text" in n && o(0, l = n.text), "onClick" in n && o(1, r = n.onClick), "color" in n && o(3, i = n.color);
|
|
45
|
+
}, t.$$.update = () => {
|
|
46
|
+
t.$$.dirty & /*color*/
|
|
47
|
+
8 && o(2, s = (() => i === "white" ? f : i === "blue" ? B : f)());
|
|
48
|
+
}, [l, r, s, i];
|
|
49
|
+
}
|
|
50
|
+
class j extends g {
|
|
51
|
+
constructor(e) {
|
|
52
|
+
super(), v(this, e, I, z, h, { text: 0, onClick: 1, color: 3 }, w);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
export {
|
|
56
|
+
j as default
|
|
57
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SvelteComponentTyped as default } from 'svelte/internal';
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { SvelteComponent as c, init as r, safe_not_equal as a, append_styles as g, element as l, attr as u, insert as d, listen as Q, noop as n, detach as C, is_function as k } from "../../../vendor/svelte/internal/index.js";
|
|
2
|
+
function p(e) {
|
|
3
|
+
g(e, "svelte-1m0stw", ".exit.svelte-1m0stw{position:relative;pointer-events:all;cursor:pointer;left:1.5rem;top:1.5rem;width:1.5rem;height:1.5rem;background-image:url(data:image/png;base64,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);background-repeat:no-repeat;background-size:100% 100%}");
|
|
4
|
+
}
|
|
5
|
+
function B(e) {
|
|
6
|
+
let A, i, o;
|
|
7
|
+
return {
|
|
8
|
+
c() {
|
|
9
|
+
A = l("div"), u(A, "class", "exit svelte-1m0stw");
|
|
10
|
+
},
|
|
11
|
+
m(t, s) {
|
|
12
|
+
d(t, A, s), i || (o = Q(A, "click", function() {
|
|
13
|
+
k(
|
|
14
|
+
/*onClick*/
|
|
15
|
+
e[0]
|
|
16
|
+
) && e[0].apply(this, arguments);
|
|
17
|
+
}), i = !0);
|
|
18
|
+
},
|
|
19
|
+
p(t, [s]) {
|
|
20
|
+
e = t;
|
|
21
|
+
},
|
|
22
|
+
i: n,
|
|
23
|
+
o: n,
|
|
24
|
+
d(t) {
|
|
25
|
+
t && C(A), i = !1, o();
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
function U(e, A, i) {
|
|
30
|
+
let { onClick: o = null } = A;
|
|
31
|
+
return e.$$set = (t) => {
|
|
32
|
+
"onClick" in t && i(0, o = t.onClick);
|
|
33
|
+
}, [o];
|
|
34
|
+
}
|
|
35
|
+
class S extends c {
|
|
36
|
+
constructor(A) {
|
|
37
|
+
super(), r(this, A, U, B, a, { onClick: 0 }, p);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
export {
|
|
41
|
+
S as default
|
|
42
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SvelteComponentTyped as default } from 'svelte/internal';
|