@realsee/dnalogel 2.16.0-10 → 2.16.0-11
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 +688 -240
- package/dist/GuideLinePlugin/Controller.d.ts +4 -3
- package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +6 -0
- package/dist/GuideLinePlugin/typing.d.ts +0 -1
- package/dist/index.cjs.js +100 -86
- package/dist/index.js +14560 -7717
- package/dist/index.umd.js +93 -79
- package/dist/shared-utils/animationFrame/BetterTween.d.ts +3 -2
- package/dist/shared-utils/animationFrame/index.d.ts +1 -1
- package/dist/shared-utils/animationFrame/tween.d.ts +32 -23
- package/dist/shared-utils/svelte/resizeObserver.d.ts +2 -10
- package/dist/shared-utils/svelte/resizeObserverGlobal.d.ts +10 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +26 -26
- package/docs/classes/GuideLineItem.GuideLineItem.html +16 -16
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +38 -26
- package/docs/classes/Magnifier.html +20 -20
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +25 -25
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoMeasurePluginLine.html +23 -23
- package/docs/classes/PanoMeasurePluginModel.html +22 -22
- package/docs/classes/PanoMeasurePluginPoint.html +14 -14
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +47 -47
- package/docs/classes/Util.BetterTween.html +29 -18
- package/docs/classes/Util.FivePointSelector.html +12 -12
- package/docs/classes/Util.Interval.html +12 -12
- package/docs/classes/Util.Magnifier.html +17 -17
- package/docs/classes/Util.PointDomHelper.html +11 -11
- package/docs/classes/Util.PointHelper.html +11 -11
- package/docs/classes/Util.Rectangle.html +13 -13
- package/docs/enums/CameraMovementEffect.html +7 -7
- package/docs/enums/ContentType.html +19 -19
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +7 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +4 -4
- package/docs/functions/CameraMovementPlugin.html +4 -4
- package/docs/functions/CruisePlugin.html +4 -4
- package/docs/functions/GuideLinePlugin.html +5 -5
- package/docs/functions/ItemLabelPlugin.html +4 -4
- package/docs/functions/MapviewFloorplanPlugin.html +4 -4
- package/docs/functions/ModelChassisCompassPlugin.html +4 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
- package/docs/functions/ModelFloorplanPlugin.html +4 -4
- package/docs/functions/ModelItemLabelPlugin.html +4 -4
- package/docs/functions/ModelRoomLabelPlugin.html +4 -4
- package/docs/functions/ModelTVVideoPlugin.html +4 -4
- package/docs/functions/ModelViewPlugin.html +4 -4
- package/docs/functions/Object3DHelperPlugin.html +4 -4
- package/docs/functions/PanoCompassPlugin.html +4 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
- package/docs/functions/PanoDoorLabelPlugin.html +4 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
- package/docs/functions/PanoMeasurePlugin.html +4 -4
- package/docs/functions/PanoRulerPlugin.html +4 -4
- package/docs/functions/PanoRulerProPlugin.html +4 -4
- package/docs/functions/PanoSpatialTagPlugin.html +4 -4
- package/docs/functions/PanoTagPlugin.html +4 -4
- package/docs/functions/PanoVideoPlugin.html +4 -4
- package/docs/functions/TopviewFloorplanPlugin.html +4 -4
- package/docs/functions/Util.getCoordsFromClient.html +5 -5
- package/docs/functions/Util.getCoordsFromElement.html +5 -5
- package/docs/functions/Util.getFrameTime.html +5 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
- package/docs/functions/Util.isAbsoluteURL.html +5 -5
- package/docs/functions/Util.isModelLike.html +5 -5
- package/docs/functions/Util.isNil.html +5 -5
- package/docs/functions/Util.isPanoramaLike.html +5 -5
- package/docs/functions/Util.nextFrame.html +18 -7
- package/docs/functions/Util.notNil.html +5 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
- package/docs/functions/Util.tweenProgress.html +7 -18
- package/docs/functions/Util.uuid.html +5 -5
- package/docs/functions/pluginFlag.html +5 -5
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +6 -6
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/CruisePluginTypes.Config.html +8 -8
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +12 -12
- package/docs/interfaces/CruisePluginTypes.EventMap.html +20 -20
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +12 -12
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +14 -14
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +14 -14
- package/docs/interfaces/CruisePluginTypes.PluginData.html +9 -9
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +7 -7
- package/docs/interfaces/CruisePluginTypes.PluginState.html +11 -11
- package/docs/interfaces/EventMap.html +15 -15
- package/docs/interfaces/FloorplanBounding.html +8 -8
- package/docs/interfaces/FloorplanData.html +10 -10
- package/docs/interfaces/FloorplanEntrance.html +11 -11
- package/docs/interfaces/FloorplanExtraObject.html +10 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
- package/docs/interfaces/FloorplanFloorData.html +9 -9
- package/docs/interfaces/FloorplanImagePosition.html +7 -7
- package/docs/interfaces/FloorplanObserver.html +9 -9
- package/docs/interfaces/FloorplanOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanPosition.html +7 -7
- package/docs/interfaces/FloorplanRoomItem.html +13 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
- package/docs/interfaces/FloorplanServerBounding.html +8 -8
- package/docs/interfaces/FloorplanServerComputedData.html +10 -10
- package/docs/interfaces/FloorplanServerData.html +7 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
- package/docs/interfaces/FloorplanServerEntrance.html +11 -11
- package/docs/interfaces/FloorplanServerFloorData.html +9 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
- package/docs/interfaces/FloorplanServerObserver.html +9 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanServerPosition.html +7 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +10 -10
- package/docs/interfaces/GuideLinePluginType.EventMap.html +13 -13
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +8 -8
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +6 -6
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +11 -11
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +8 -8
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +16 -16
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTag.html +19 -19
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +16 -16
- package/docs/interfaces/GuideLinePluginType.PluginDataV1.html +7 -7
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +6 -6
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +7 -7
- package/docs/interfaces/GuideLinePluginType.PluginState.html +8 -15
- package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +9 -9
- package/docs/interfaces/HelperOffset.html +8 -8
- package/docs/interfaces/ImagePlaneGroup.html +6 -6
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/MinMax.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
- package/docs/interfaces/ModelViewPluginExportType.html +11 -11
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/ObjectHelperControllers.html +9 -9
- package/docs/interfaces/PaintBrushAction.html +12 -12
- package/docs/interfaces/PaintBrushConfigs.html +12 -12
- package/docs/interfaces/PaintBrushState.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
- package/docs/interfaces/PanoMeasureParameterType.html +14 -14
- package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginState.html +8 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -10
- package/docs/interfaces/Point.html +8 -8
- package/docs/interfaces/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +5 -5
- package/docs/interfaces/Rooms.html +5 -5
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/State.html +8 -8
- package/docs/interfaces/TagCacheInterface.html +12 -12
- package/docs/interfaces/TagConfig.html +11 -11
- package/docs/interfaces/TagGLTFObjectGroup.html +6 -6
- package/docs/interfaces/TagIconUrl.html +12 -12
- package/docs/interfaces/TagObjectGroup.html +6 -6
- package/docs/interfaces/TagStyle.html +6 -6
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/TemporaryState.html +6 -6
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/modules/CruisePluginTypes.html +5 -5
- package/docs/modules/GuideLineItem.html +5 -5
- package/docs/modules/GuideLineModeItem.html +5 -5
- package/docs/modules/GuideLinePluginType.html +5 -5
- package/docs/modules/PanoVideoPluginType.html +5 -5
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.html +5 -5
- package/docs/types/AudioAppearance.html +5 -5
- package/docs/types/AudioTagTypeConfigKey.html +5 -5
- package/docs/types/CSS3DRenderExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
- package/docs/types/ClassFunctionParameters.html +5 -5
- package/docs/types/Color.html +5 -5
- package/docs/types/ContentTypeConfigKey.html +5 -5
- package/docs/types/ContentTypeConfigKeySplit.html +5 -5
- package/docs/types/ContentTypeMap.html +5 -5
- package/docs/types/Create3DDomContainerReturnType.html +5 -5
- package/docs/types/Create3DElementReturnType.html +5 -5
- package/docs/types/CruisePluginExportType.html +5 -5
- package/docs/types/CruisePluginTypes.CruiseData.html +5 -5
- package/docs/types/CruisePluginTypes.MoveEffect.html +5 -5
- package/docs/types/Direction-1.html +5 -5
- package/docs/types/Direction4.html +5 -5
- package/docs/types/FloorplanRuleLabels.html +5 -5
- package/docs/types/FloorplanServerRuleLabels.html +5 -5
- package/docs/types/GuideLinePluginExportType.html +5 -5
- package/docs/types/GuideLinePluginType.GuideLineItem.html +5 -5
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +5 -5
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +5 -5
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +5 -5
- package/docs/types/GuideLinePluginType.PathItem.html +5 -5
- package/docs/types/GuideLinePluginType.PluginData.html +5 -5
- package/docs/types/HelperEventMap.html +5 -5
- package/docs/types/LoadTagConfig.html +5 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/MediaData.html +5 -5
- package/docs/types/MediaStore.html +5 -5
- package/docs/types/ModelElement.html +5 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
- package/docs/types/MoveArgs.html +5 -5
- package/docs/types/MoveOpts.html +5 -5
- package/docs/types/Object3DHelperEventMap.html +5 -5
- package/docs/types/ObjectFit.html +5 -5
- package/docs/types/PaintBrushEventMap.html +5 -5
- package/docs/types/PanoCompassPluginData.html +5 -5
- package/docs/types/PanoCompassPluginExportType.html +5 -5
- package/docs/types/PanoCompassPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
- package/docs/types/PanoIndex.html +5 -5
- package/docs/types/PanoMeasurePluginEvent.html +5 -5
- package/docs/types/PanoMeasureReturnType.html +5 -5
- package/docs/types/PanoSpatialTagPluginId.html +5 -5
- package/docs/types/PanoTagPluginExportInterface.html +5 -5
- package/docs/types/PanoTagPluginParamsInterface.html +5 -5
- package/docs/types/PanoVideoPluginParameterType.html +5 -5
- package/docs/types/PanoVideoPluginReturnType.html +5 -5
- package/docs/types/PlaneTag.html +5 -5
- package/docs/types/PlaneTagElement.html +5 -5
- package/docs/types/Point2DElement.html +5 -5
- package/docs/types/Point2DTag.html +5 -5
- package/docs/types/Point3DElement.html +5 -5
- package/docs/types/Point3DTag.html +5 -5
- package/docs/types/PointTag.html +5 -5
- package/docs/types/PointTagElement.html +5 -5
- package/docs/types/Position.html +5 -5
- package/docs/types/RotateArgs.html +5 -5
- package/docs/types/RotateOpts.html +5 -5
- package/docs/types/RuleLabelsKey.html +5 -5
- package/docs/types/RuleLabelsValue.html +5 -5
- package/docs/types/StickType.html +5 -5
- package/docs/types/Tag.html +5 -5
- package/docs/types/Tag2D.html +5 -5
- package/docs/types/Tag3D.html +5 -5
- package/docs/types/TagContentType.html +5 -5
- package/docs/types/TagDimensionType.html +5 -5
- package/docs/types/TagElement.html +5 -5
- package/docs/types/TagEvents.html +5 -5
- package/docs/types/TagGLTFObject.html +5 -5
- package/docs/types/TagHooks.html +5 -5
- package/docs/types/TagIconSize.html +5 -5
- package/docs/types/TagId.html +5 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/WorkCode.html +5 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
- package/docs/variables/PLUGIN.html +5 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
- package/docs/variables/ROOM_TYPE_MAP.html +5 -5
- package/docs/variables/itemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
- package/libs/CSS3DRenderPlugin/Controller.js +47 -13
- package/libs/CSS3DRenderPlugin/index.js +6 -8
- package/libs/CSS3DRenderPlugin/utils/even.js +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +3 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +37 -2
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +1 -1
- package/libs/CameraMovementPlugin/CameraMovementPlugin.js +22 -18
- package/libs/CameraMovementPlugin/index.js +7 -9
- package/libs/CruisePlugin/Controller.js +161 -52
- package/libs/CruisePlugin/index.js +36 -30
- package/libs/CruisePlugin/utils/coordinatesToVector.js +3 -0
- package/libs/GuideLinePlugin/Components/Tag.js +14 -2
- package/libs/GuideLinePlugin/Controller.d.ts +4 -3
- package/libs/GuideLinePlugin/Controller.js +119 -100
- package/libs/GuideLinePlugin/GuideLineItem/index.js +6 -6
- package/libs/GuideLinePlugin/GuideLineItem.js +29 -22
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +129 -73
- package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +6 -0
- package/libs/GuideLinePlugin/GuideLineModeItem.js +28 -21
- package/libs/GuideLinePlugin/index.js +37 -30
- package/libs/GuideLinePlugin/typing.d.ts +0 -1
- package/libs/GuideLinePlugin/typing.js +7 -9
- package/libs/GuideLinePlugin/utils/createLineGeometry.js +24 -18
- package/libs/GuideLinePlugin/utils/getPoint.js +4 -0
- package/libs/GuideLinePlugin/utils/index.js +17 -14
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +83 -34
- package/libs/ItemLabelPlugin/ItemLabelItem.js +91 -14
- package/libs/ItemLabelPlugin/Plugin.js +2 -2
- package/libs/ItemLabelPlugin/index.js +8 -9
- package/libs/ModelChassisCompassPlugin/Plugin.js +25 -25
- package/libs/ModelChassisCompassPlugin/index.js +3 -4
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +14 -14
- package/libs/ModelEntryDoorGuidePlugin/index.js +3 -4
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +46 -10
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +60 -7
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +3 -3
- package/libs/ModelItemLabelPlugin/index.js +6 -7
- package/libs/ModelRoomLabelPlugin/Controller.js +18 -1
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +58 -4
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +50 -20
- package/libs/ModelTVVideoPlugin/Plugin.js +6 -8
- package/libs/ModelTVVideoPlugin/index.js +6 -9
- package/libs/ModelViewPlugin/Plugin.js +3 -3
- package/libs/ModelViewPlugin/index.js +3 -4
- package/libs/Object3DHelperPlugin/Controller.js +62 -42
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +2 -1
- package/libs/Object3DHelperPlugin/index.js +7 -9
- package/libs/PanoCompassPlugin/Controller.js +54 -4
- package/libs/PanoCompassPlugin/getRoomInfoInstance.js +1 -1
- package/libs/PanoCompassPlugin/index.js +3 -3
- package/libs/PanoDoorLabelPlugin/BaseController.js +37 -12
- package/libs/PanoDoorLabelPlugin/Controller.js +9 -6
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +39 -13
- package/libs/PanoDoorLabelPlugin/index.js +5 -7
- package/libs/PanoMeasurePlugin/Controller/EditController.js +22 -4
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +9 -5
- package/libs/PanoMeasurePlugin/Controller/ShortcutKeyController.js +2 -2
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +3 -3
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +5 -5
- package/libs/PanoMeasurePlugin/Controller/index.js +42 -12
- package/libs/PanoMeasurePlugin/Model/index.js +4 -4
- package/libs/PanoMeasurePlugin/Model/line.js +8 -8
- package/libs/PanoMeasurePlugin/Model/polyline.js +25 -24
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +2 -2
- package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +2 -1
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +21 -20
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +14 -10
- package/libs/PanoMeasurePlugin/Modules/UIController/MainBtnController.js +6 -4
- package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.js +3 -3
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +15 -12
- package/libs/PanoMeasurePlugin/index.js +14 -15
- package/libs/PanoMeasurePlugin/typings/index.js +1 -3
- package/libs/PanoRulerPlugin/Plugin.js +54 -54
- package/libs/PanoRulerPlugin/index.js +3 -4
- package/libs/PanoRulerProPlugin/Controller.js +14 -15
- package/libs/PanoRulerProPlugin/RulerItem.js +134 -45
- package/libs/PanoRulerProPlugin/RulerItems.js +49 -40
- package/libs/PanoRulerProPlugin/index.js +4 -5
- package/libs/PanoSpatialTagPlugin/Components/origins.js +47 -8
- package/libs/PanoSpatialTagPlugin/Components/tag.js +79 -3
- package/libs/PanoSpatialTagPlugin/Plugin.js +5 -7
- package/libs/PanoSpatialTagPlugin/index.js +4 -7
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +45 -20
- package/libs/PanoTagPlugin/Components/Common/Audio.js +46 -8
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +218 -54
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +64 -11
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +50 -27
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +151 -26
- package/libs/PanoTagPlugin/Components/Common/Media.js +222 -89
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +171 -22
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +100 -28
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +87 -8
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +66 -13
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +69 -27
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +87 -13
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +29 -6
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +99 -14
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +169 -44
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +31 -6
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +11 -4
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +90 -35
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +33 -7
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +174 -35
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +76 -24
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +87 -14
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +84 -17
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +23 -6
- package/libs/PanoTagPlugin/Components/Tag/index.js +265 -41
- package/libs/PanoTagPlugin/Components/TagContainer.js +111 -58
- package/libs/PanoTagPlugin/Components/TagItem.js +201 -28
- package/libs/PanoTagPlugin/controller/TagCache.js +21 -19
- package/libs/PanoTagPlugin/controller/TagComputer.js +39 -18
- package/libs/PanoTagPlugin/controller/TagRender.js +46 -15
- package/libs/PanoTagPlugin/controller/TagUtil.js +25 -9
- package/libs/PanoTagPlugin/controller/index.js +90 -28
- package/libs/PanoTagPlugin/index.js +18 -19
- package/libs/PanoTagPlugin/tag.config.js +4 -0
- package/libs/PanoTagPlugin/utils/addDebugPoints.js +4 -0
- package/libs/PanoTagPlugin/utils/audio/SharedAudio.js +7 -7
- package/libs/PanoTagPlugin/utils/normalPositionToPositions.js +4 -0
- package/libs/PanoTagPlugin/utils/tagPosition.js +1 -1
- package/libs/PanoVideoPlugin/Controller.js +53 -39
- package/libs/PanoVideoPlugin/VideoMeshController.js +89 -43
- package/libs/PanoVideoPlugin/index.js +6 -7
- package/libs/_commonjsHelpers.js +4 -0
- package/libs/base/BasePlugin.js +23 -15
- package/libs/base/BasePluginWithData.js +2 -2
- package/libs/components/PaintBrush/Controller.js +15 -4
- package/libs/components/PaintBrush/Subscribe.js +37 -0
- package/libs/components/PaintBrush/index.js +17 -4
- package/libs/components/PaintBrush/tween.js +2 -2
- package/libs/components/index.js +1 -1
- package/libs/floorplan/Components/BaseImage.js +24 -6
- package/libs/floorplan/Components/Camera.js +73 -27
- package/libs/floorplan/Components/Compass.js +20 -3
- package/libs/floorplan/Components/CurrentFloor.js +189 -50
- package/libs/floorplan/Components/Main.js +202 -54
- package/libs/floorplan/Components/Normalmage.js +5 -2
- package/libs/floorplan/Components/RoomHighlight/Room.js +38 -5
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +105 -58
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +91 -18
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +106 -37
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +42 -13
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +15 -3
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +40 -3
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +37 -3
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +125 -51
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +80 -15
- package/libs/floorplan/Components/SvgImage.js +18 -6
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +117 -75
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -6
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +96 -53
- package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -6
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +43 -15
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +83 -22
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +61 -39
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +128 -33
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +39 -36
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -6
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +83 -64
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -6
- package/libs/floorplan/index.js +1 -3
- package/libs/floorplan/typings/floorplanServerData.js +80 -80
- package/libs/index.js +136 -129
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +29 -1
- package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +10 -1
- package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.js +1 -1
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +5 -2
- package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js +9 -8
- package/libs/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js +1 -0
- package/libs/shared-utils/Object3DHelper/Helper/HTML/tipsDom.js +1 -1
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +4 -1
- package/libs/shared-utils/Object3DHelper/index.js +15 -0
- package/libs/shared-utils/Subscribe.js +38 -1
- package/libs/shared-utils/animationFrame/BetterTween.d.ts +3 -2
- package/libs/shared-utils/animationFrame/BetterTween.js +19 -12
- package/libs/shared-utils/animationFrame/index.d.ts +1 -1
- package/libs/shared-utils/animationFrame/index.js +14 -14
- package/libs/shared-utils/animationFrame/tween.d.ts +32 -23
- package/libs/shared-utils/animationFrame/tween.js +15 -15
- package/libs/shared-utils/audio.js +9 -9
- package/libs/shared-utils/changeModelCanvasOpacity.js +1 -1
- package/libs/shared-utils/createCanvasTextTexture.js +3 -3
- package/libs/shared-utils/five/changeMode.js +11 -11
- package/libs/shared-utils/index.js +15 -15
- package/libs/shared-utils/log.js +2 -2
- package/libs/shared-utils/math/Interval.js +2 -0
- package/libs/shared-utils/math/Rectangle.js +2 -0
- package/libs/shared-utils/svelte/resizeObserver.d.ts +2 -10
- package/libs/shared-utils/svelte/resizeObserverGlobal.d.ts +10 -0
- package/libs/shared-utils/three/FivePointSelector.js +1 -1
- package/libs/shared-utils/three/Magnifier.js +10 -7
- package/libs/shared-utils/three/PointDomHelper.js +11 -10
- package/libs/shared-utils/three/index.js +1 -2
- package/libs/shared-utils/three/loadTexture.js +10 -10
- package/libs/shared-utils/threex/domevents/index.js +2 -2
- package/libs/vendor/@tweenjs/tween/dist/tween.esm.js.js +403 -0
- package/libs/vendor/classnames/index.js +47 -0
- package/libs/vendor/easy-reactive/main.js +3 -0
- package/libs/vendor/{simply-reactive → easy-reactive}/src/simply-reactive.js +8 -8
- package/libs/vendor/{simply-reactive → easy-reactive}/src/utils/object.js +1 -1
- package/libs/vendor/gl-vec2/add.js +7 -0
- package/libs/vendor/gl-vec2/dot.js +7 -0
- package/libs/vendor/gl-vec2/normalize.js +8 -0
- package/libs/vendor/gl-vec2/set.js +7 -0
- package/libs/vendor/gl-vec2/subtract.js +7 -0
- package/libs/vendor/lodash.clonedeep/index.js +457 -0
- package/libs/vendor/lodash.get/index.js +236 -0
- package/libs/vendor/lodash.isequal/index.js +489 -0
- package/libs/vendor/object-assign-deep/objectAssignDeep.js +62 -0
- package/libs/vendor/polyline-miter-util/index.js +18 -0
- package/libs/vendor/polyline-normals/index.js +28 -0
- package/libs/vendor/resize-observer-polyfill/dist/ResizeObserver.es.js +155 -134
- package/libs/vendor/svelte/easing/index.js +4 -5
- package/libs/vendor/svelte/index.js +1 -1
- package/libs/vendor/svelte/internal/index.js +412 -388
- package/libs/vendor/svelte/store/index.js +6 -6
- package/libs/vendor/svelte/transition/index.js +23 -20
- package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +41 -3
- package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +338 -71
- package/libs/vendor/svelte-carousel/src/components/Carousel/createCarousel.js +7 -1
- package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +19 -3
- package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +30 -7
- package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +15 -3
- package/libs/vendor/svelte-carousel/src/utils/clones.js +1 -0
- package/libs/vendor/svelte-carousel/src/utils/lazy.js +3 -0
- package/package.json +11 -13
- package/dist/GuideLinePlugin/utils/getArrowMaterial.d.ts +0 -4
- package/libs/vendor/simply-reactive/main.js +0 -3
- /package/libs/vendor/{simply-reactive → easy-reactive}/src/utils/subscription.js +0 -0
- /package/libs/vendor/{simply-reactive → easy-reactive}/src/utils/watcher.js +0 -0
|
@@ -4,13 +4,46 @@ function O(o) {
|
|
|
4
4
|
let n, i, p, r, l, _, d, k, h, B, u;
|
|
5
5
|
return {
|
|
6
6
|
c() {
|
|
7
|
-
n = f("defs"), i = f("pattern"), p = f("rect"), r = f("pattern"), l = f("rect"), _ = U(), d = f("path"), k = U(), h = f("path"), B = U(), u = f("path"), t(p, "x", "0"), t(p, "y", "0"), t(p, "width", "6"), t(p, "height", "50"), t(p, "fill", "none"), t(p, "stroke", "#4B4B57"), t(p, "stroke-width", "0.5"), t(i, "id", "room-material-pattern-1"), t(i, "x", "0"), t(i, "y", "0"), t(i, "width", "12"), t(i, "height", "50"), t(i, "patternUnits", "userSpaceOnUse"), t(i, "patternTransform", "scale(50 50)"), t(l, "x", "0"), t(l, "y", "0"), t(l, "width", "6"), t(l, "height", "50"), t(l, "fill", "none"), t(l, "stroke", "#4B4B57"), t(l, "stroke-width", "0.5"), t(r, "id", "room-material-pattern-2"), t(r, "x", "6"), t(r, "y", "25"), t(r, "width", "12"), t(r, "height", "50"), t(r, "patternUnits", "userSpaceOnUse"), t(r, "patternTransform", "scale(50 50)"), t(
|
|
7
|
+
n = f("defs"), i = f("pattern"), p = f("rect"), r = f("pattern"), l = f("rect"), _ = U(), d = f("path"), k = U(), h = f("path"), B = U(), u = f("path"), t(p, "x", "0"), t(p, "y", "0"), t(p, "width", "6"), t(p, "height", "50"), t(p, "fill", "none"), t(p, "stroke", "#4B4B57"), t(p, "stroke-width", "0.5"), t(i, "id", "room-material-pattern-1"), t(i, "x", "0"), t(i, "y", "0"), t(i, "width", "12"), t(i, "height", "50"), t(i, "patternUnits", "userSpaceOnUse"), t(i, "patternTransform", "scale(50 50)"), t(l, "x", "0"), t(l, "y", "0"), t(l, "width", "6"), t(l, "height", "50"), t(l, "fill", "none"), t(l, "stroke", "#4B4B57"), t(l, "stroke-width", "0.5"), t(r, "id", "room-material-pattern-2"), t(r, "x", "6"), t(r, "y", "25"), t(r, "width", "12"), t(r, "height", "50"), t(r, "patternUnits", "userSpaceOnUse"), t(r, "patternTransform", "scale(50 50)"), t(
|
|
8
|
+
d,
|
|
9
|
+
"d",
|
|
10
|
+
/*d*/
|
|
11
|
+
o[0]
|
|
12
|
+
), t(d, "fill", "#43434D"), t(
|
|
13
|
+
h,
|
|
14
|
+
"d",
|
|
15
|
+
/*d*/
|
|
16
|
+
o[0]
|
|
17
|
+
), t(h, "fill", "url(#room-material-pattern-1)"), t(
|
|
18
|
+
u,
|
|
19
|
+
"d",
|
|
20
|
+
/*d*/
|
|
21
|
+
o[0]
|
|
22
|
+
), t(u, "fill", "url(#room-material-pattern-2)");
|
|
8
23
|
},
|
|
9
24
|
m(e, a) {
|
|
10
25
|
s(e, n, a), w(n, i), w(i, p), w(n, r), w(r, l), s(e, _, a), s(e, d, a), s(e, k, a), s(e, h, a), s(e, B, a), s(e, u, a);
|
|
11
26
|
},
|
|
12
27
|
p(e, [a]) {
|
|
13
|
-
a &
|
|
28
|
+
a & /*d*/
|
|
29
|
+
1 && t(
|
|
30
|
+
d,
|
|
31
|
+
"d",
|
|
32
|
+
/*d*/
|
|
33
|
+
e[0]
|
|
34
|
+
), a & /*d*/
|
|
35
|
+
1 && t(
|
|
36
|
+
h,
|
|
37
|
+
"d",
|
|
38
|
+
/*d*/
|
|
39
|
+
e[0]
|
|
40
|
+
), a & /*d*/
|
|
41
|
+
1 && t(
|
|
42
|
+
u,
|
|
43
|
+
"d",
|
|
44
|
+
/*d*/
|
|
45
|
+
e[0]
|
|
46
|
+
);
|
|
14
47
|
},
|
|
15
48
|
i: y,
|
|
16
49
|
o: y,
|
|
@@ -24,7 +57,8 @@ function T(o, n, i) {
|
|
|
24
57
|
return o.$$set = (l) => {
|
|
25
58
|
"path" in l && i(1, r = l.path);
|
|
26
59
|
}, o.$$.update = () => {
|
|
27
|
-
o.$$.dirty &
|
|
60
|
+
o.$$.dirty & /*path*/
|
|
61
|
+
2 && i(0, p = D(r, { needZ: !0 }));
|
|
28
62
|
}, [p, r];
|
|
29
63
|
}
|
|
30
64
|
class C extends S {
|
|
@@ -1,23 +1,33 @@
|
|
|
1
1
|
import { SvelteComponent as N, init as O, safe_not_equal as P, append_styles as S, element as h, space as R, attr as d, toggle_class as x, set_style as j, insert as D, append as c, update_keyed_each as X, destroy_block as Y, noop as T, detach as z, destroy_each as A, text as B, set_data as E } from "../../../vendor/svelte/internal/index.js";
|
|
2
|
-
function F(
|
|
3
|
-
S(
|
|
2
|
+
function F(i) {
|
|
3
|
+
S(i, "svelte-djlmk4", ".floorplan-plugin__rule-labels.svelte-djlmk4.svelte-djlmk4{position:absolute;display:flex}.floorplan-plugin__rule-labels--top.svelte-djlmk4.svelte-djlmk4{left:0;top:-1.25rem}.floorplan-plugin__rule-labels--bottom.svelte-djlmk4.svelte-djlmk4{left:0;bottom:-1.25rem}.floorplan-plugin__rule-labels--left.svelte-djlmk4.svelte-djlmk4{top:0;left:-1.25rem}.floorplan-plugin__rule-labels--right.svelte-djlmk4.svelte-djlmk4{top:0;right:-1.25rem}.floorplan-plugin__rule-line.svelte-djlmk4.svelte-djlmk4{background:#fff;opacity:0.05;width:100%;height:100%}.floorplan-plugin__rule-scale-wrapper.svelte-djlmk4.svelte-djlmk4{position:absolute;width:0.3125rem;height:100%;left:50%;top:0;transform:translateX(-50%)}.floorplan-plugin__rule-labels.is-row.svelte-djlmk4 .floorplan-plugin__rule-scale-wrapper.svelte-djlmk4{width:100%;height:0.3125rem;top:50%;left:0;transform:translateY(-50%)}.floorplan-plugin__rule-scale.svelte-djlmk4.svelte-djlmk4{position:absolute;background:#fff;opacity:0.05;width:100%;height:0.0625rem}.floorplan-plugin__rule-labels.is-row.svelte-djlmk4 .floorplan-plugin__rule-scale.svelte-djlmk4{width:0.0625rem;height:100%}.floorplan-plugin__rule-text-wrapper.svelte-djlmk4.svelte-djlmk4{position:absolute}.floorplan-plugin__rule-labels--top.svelte-djlmk4 .floorplan-plugin__rule-text-wrapper.svelte-djlmk4{width:100%;height:0;top:0.625rem}.floorplan-plugin__rule-labels--bottom.svelte-djlmk4 .floorplan-plugin__rule-text-wrapper.svelte-djlmk4{width:100%;height:0;bottom:0.625rem}.floorplan-plugin__rule-labels--left.svelte-djlmk4 .floorplan-plugin__rule-text-wrapper.svelte-djlmk4{width:0;height:100%;left:0.625rem}.floorplan-plugin__rule-labels--right.svelte-djlmk4 .floorplan-plugin__rule-text-wrapper.svelte-djlmk4{width:0;height:100%;right:0.625rem}.floorplan-plugin__rule-text-item.svelte-djlmk4.svelte-djlmk4{width:0;height:0;position:absolute;transform:rotate(90deg)}.floorplan-plugin__rule-labels.is-row.svelte-djlmk4 .floorplan-plugin__rule-text-item.svelte-djlmk4{transform:rotate(0)}.floorplan-plugin__rule-text.svelte-djlmk4.svelte-djlmk4{width:-moz-max-content;width:max-content;transform:translate(-50%, -50%);font-size:0.625rem;color:#fff;opacity:0.2}");
|
|
4
4
|
}
|
|
5
|
-
function q(
|
|
6
|
-
const
|
|
7
|
-
return
|
|
5
|
+
function q(i, e, n) {
|
|
6
|
+
const s = i.slice();
|
|
7
|
+
return s[11] = e[n], s[13] = n, s;
|
|
8
8
|
}
|
|
9
|
-
function C(
|
|
10
|
-
const
|
|
11
|
-
return
|
|
9
|
+
function C(i, e, n) {
|
|
10
|
+
const s = i.slice();
|
|
11
|
+
return s[14] = e[n], s;
|
|
12
12
|
}
|
|
13
|
-
function H(
|
|
13
|
+
function H(i) {
|
|
14
14
|
let e;
|
|
15
15
|
return {
|
|
16
16
|
c() {
|
|
17
|
-
e = h("div"), d(e, "class", "floorplan-plugin__rule-scale svelte-djlmk4"), j(
|
|
17
|
+
e = h("div"), d(e, "class", "floorplan-plugin__rule-scale svelte-djlmk4"), j(
|
|
18
|
+
e,
|
|
19
|
+
"left",
|
|
20
|
+
/*rulerLabel*/
|
|
21
|
+
i[14].left * 100 + "%"
|
|
22
|
+
), j(
|
|
23
|
+
e,
|
|
24
|
+
"bottom",
|
|
25
|
+
/*rulerLabel*/
|
|
26
|
+
i[14].bottom * 100 + "%"
|
|
27
|
+
);
|
|
18
28
|
},
|
|
19
|
-
m(n,
|
|
20
|
-
D(n, e,
|
|
29
|
+
m(n, s) {
|
|
30
|
+
D(n, e, s);
|
|
21
31
|
},
|
|
22
32
|
p: T,
|
|
23
33
|
d(n) {
|
|
@@ -25,56 +35,110 @@ function H(r) {
|
|
|
25
35
|
}
|
|
26
36
|
};
|
|
27
37
|
}
|
|
28
|
-
function I(
|
|
29
|
-
let n,
|
|
38
|
+
function I(i, e) {
|
|
39
|
+
let n, s, p = (
|
|
40
|
+
/*getRuleDistanceText*/
|
|
41
|
+
e[1](
|
|
42
|
+
/*textItem*/
|
|
43
|
+
e[11].distance
|
|
44
|
+
) + ""
|
|
45
|
+
), u, m;
|
|
30
46
|
return {
|
|
31
|
-
key:
|
|
47
|
+
key: i,
|
|
32
48
|
first: null,
|
|
33
49
|
c() {
|
|
34
|
-
n = h("div"),
|
|
50
|
+
n = h("div"), s = h("div"), u = B(p), m = R(), d(s, "class", "floorplan-plugin__rule-text svelte-djlmk4"), x(
|
|
51
|
+
s,
|
|
52
|
+
"is-row",
|
|
53
|
+
/*isRow*/
|
|
54
|
+
e[2]
|
|
55
|
+
), d(n, "class", "floorplan-plugin__rule-text-item svelte-djlmk4"), j(
|
|
56
|
+
n,
|
|
57
|
+
"left",
|
|
58
|
+
/*textItem*/
|
|
59
|
+
e[11].left * 100 + "%"
|
|
60
|
+
), j(
|
|
61
|
+
n,
|
|
62
|
+
"bottom",
|
|
63
|
+
/*textItem*/
|
|
64
|
+
e[11].bottom * 100 + "%"
|
|
65
|
+
), this.first = n;
|
|
35
66
|
},
|
|
36
|
-
m(
|
|
37
|
-
D(
|
|
67
|
+
m(r, _) {
|
|
68
|
+
D(r, n, _), c(n, s), c(s, u), c(n, m);
|
|
38
69
|
},
|
|
39
|
-
p(
|
|
40
|
-
e =
|
|
70
|
+
p(r, _) {
|
|
71
|
+
e = r, _ & /*getRuleDistanceText*/
|
|
72
|
+
2 && p !== (p = /*getRuleDistanceText*/
|
|
73
|
+
e[1](
|
|
74
|
+
/*textItem*/
|
|
75
|
+
e[11].distance
|
|
76
|
+
) + "") && E(u, p);
|
|
41
77
|
},
|
|
42
|
-
d(
|
|
43
|
-
|
|
78
|
+
d(r) {
|
|
79
|
+
r && z(n);
|
|
44
80
|
}
|
|
45
81
|
};
|
|
46
82
|
}
|
|
47
|
-
function G(
|
|
48
|
-
let e, n,
|
|
83
|
+
function G(i) {
|
|
84
|
+
let e, n, s, p, u, m, r = [], _ = /* @__PURE__ */ new Map(), g, f = (
|
|
85
|
+
/*rulerLabels*/
|
|
86
|
+
i[3]
|
|
87
|
+
), a = [];
|
|
49
88
|
for (let l = 0; l < f.length; l += 1)
|
|
50
|
-
a[l] = H(C(
|
|
51
|
-
let v =
|
|
52
|
-
|
|
89
|
+
a[l] = H(C(i, f, l));
|
|
90
|
+
let v = (
|
|
91
|
+
/*rulerTexts*/
|
|
92
|
+
i[4]
|
|
93
|
+
);
|
|
94
|
+
const w = (l) => (
|
|
95
|
+
/*textItemIndex*/
|
|
96
|
+
l[13]
|
|
97
|
+
);
|
|
53
98
|
for (let l = 0; l < v.length; l += 1) {
|
|
54
|
-
let o = q(
|
|
55
|
-
_.set(t,
|
|
99
|
+
let o = q(i, v, l), t = w(o);
|
|
100
|
+
_.set(t, r[l] = I(t, o));
|
|
56
101
|
}
|
|
57
102
|
return {
|
|
58
103
|
c() {
|
|
59
|
-
e = h("div"), n = h("div"),
|
|
104
|
+
e = h("div"), n = h("div"), s = R(), p = h("div");
|
|
60
105
|
for (let l = 0; l < a.length; l += 1)
|
|
61
106
|
a[l].c();
|
|
62
107
|
u = R(), m = h("div");
|
|
63
|
-
for (let l = 0; l <
|
|
64
|
-
|
|
65
|
-
d(n, "class", "floorplan-plugin__rule-line svelte-djlmk4"), d(p, "class", "floorplan-plugin__rule-scale-wrapper svelte-djlmk4"), x(
|
|
108
|
+
for (let l = 0; l < r.length; l += 1)
|
|
109
|
+
r[l].c();
|
|
110
|
+
d(n, "class", "floorplan-plugin__rule-line svelte-djlmk4"), d(p, "class", "floorplan-plugin__rule-scale-wrapper svelte-djlmk4"), x(
|
|
111
|
+
p,
|
|
112
|
+
"is-row",
|
|
113
|
+
/*isRow*/
|
|
114
|
+
i[2]
|
|
115
|
+
), d(m, "class", "floorplan-plugin__rule-text-wrapper svelte-djlmk4"), d(e, "class", g = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels--" + /*type*/
|
|
116
|
+
i[0] + " svelte-djlmk4"), x(
|
|
117
|
+
e,
|
|
118
|
+
"is-row",
|
|
119
|
+
/*isRow*/
|
|
120
|
+
i[2]
|
|
121
|
+
), j(
|
|
122
|
+
e,
|
|
123
|
+
"width",
|
|
124
|
+
/*isRow*/
|
|
125
|
+
i[2] ? "100%" : 1 / 16 + "rem"
|
|
126
|
+
), j(e, "height", /*isRow*/
|
|
127
|
+
i[2] ? 1 / 16 + "rem" : "100%");
|
|
66
128
|
},
|
|
67
129
|
m(l, o) {
|
|
68
|
-
D(l, e, o), c(e, n), c(e,
|
|
130
|
+
D(l, e, o), c(e, n), c(e, s), c(e, p);
|
|
69
131
|
for (let t = 0; t < a.length; t += 1)
|
|
70
|
-
a[t].m(p, null);
|
|
132
|
+
a[t] && a[t].m(p, null);
|
|
71
133
|
c(e, u), c(e, m);
|
|
72
|
-
for (let t = 0; t <
|
|
73
|
-
|
|
134
|
+
for (let t = 0; t < r.length; t += 1)
|
|
135
|
+
r[t] && r[t].m(m, null);
|
|
74
136
|
},
|
|
75
137
|
p(l, [o]) {
|
|
76
|
-
if (o &
|
|
77
|
-
|
|
138
|
+
if (o & /*rulerLabels*/
|
|
139
|
+
8) {
|
|
140
|
+
f = /*rulerLabels*/
|
|
141
|
+
l[3];
|
|
78
142
|
let t;
|
|
79
143
|
for (t = 0; t < f.length; t += 1) {
|
|
80
144
|
const y = C(l, f, t);
|
|
@@ -84,32 +148,42 @@ function G(r) {
|
|
|
84
148
|
a[t].d(1);
|
|
85
149
|
a.length = f.length;
|
|
86
150
|
}
|
|
87
|
-
o &
|
|
151
|
+
o & /*rulerTexts, isRow, getRuleDistanceText*/
|
|
152
|
+
22 && (v = /*rulerTexts*/
|
|
153
|
+
l[4], r = X(r, o, w, 1, l, v, _, m, Y, I, null, q)), o & /*type*/
|
|
154
|
+
1 && g !== (g = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels--" + /*type*/
|
|
155
|
+
l[0] + " svelte-djlmk4") && d(e, "class", g), o & /*type, isRow*/
|
|
156
|
+
5 && x(
|
|
157
|
+
e,
|
|
158
|
+
"is-row",
|
|
159
|
+
/*isRow*/
|
|
160
|
+
l[2]
|
|
161
|
+
);
|
|
88
162
|
},
|
|
89
163
|
i: T,
|
|
90
164
|
o: T,
|
|
91
165
|
d(l) {
|
|
92
166
|
l && z(e), A(a, l);
|
|
93
|
-
for (let o = 0; o <
|
|
94
|
-
|
|
167
|
+
for (let o = 0; o < r.length; o += 1)
|
|
168
|
+
r[o].d();
|
|
95
169
|
}
|
|
96
170
|
};
|
|
97
171
|
}
|
|
98
172
|
const k = 1e3, b = 180;
|
|
99
|
-
function J(
|
|
100
|
-
let { type:
|
|
101
|
-
const
|
|
102
|
-
const o =
|
|
173
|
+
function J(i, e, n) {
|
|
174
|
+
let { type: s } = e, { data: p } = e, { bounding: u } = e, { getRuleDistanceText: m } = e;
|
|
175
|
+
const r = s === "top" || s === "bottom", _ = u.max.x - u.min.x - (k - b) * 2, g = u.max.y - u.min.y - (k - b) * 2, f = p.map(([l, o]) => r ? [l.x, o.x] : [l.y, o.y]).flat().sort().filter((l, o, t) => o === 0 ? !0 : l !== t[o - 1]), a = f.map((l) => {
|
|
176
|
+
const o = r ? (l - u.min.x - k + b) / _ : 0, t = r ? 0 : (l - u.min.y - k + b) / g;
|
|
103
177
|
return { left: o, bottom: t };
|
|
104
178
|
});
|
|
105
|
-
a.unshift({ left: 0, bottom: 0 }), a.push(
|
|
179
|
+
a.unshift({ left: 0, bottom: 0 }), a.push(r ? { left: 1, bottom: 0 } : { left: 0, bottom: 1 });
|
|
106
180
|
const v = f[f.length - 1] - f[0], w = f.map((l, o, t) => {
|
|
107
|
-
const y = o === 0 ? 0 : l - t[o - 1], W = o === 0 ? 0 : (l + t[o - 1]) / 2, L =
|
|
181
|
+
const y = o === 0 ? 0 : l - t[o - 1], W = o === 0 ? 0 : (l + t[o - 1]) / 2, L = r ? (W - u.min.x - k + b) / _ : 0, M = r ? 0 : (W - u.min.y - k + b) / g;
|
|
108
182
|
return { left: L, bottom: M, distance: y };
|
|
109
183
|
}).filter(({ distance: l }) => l / v > 0.1);
|
|
110
|
-
return
|
|
111
|
-
"type" in l && n(0,
|
|
112
|
-
}, [
|
|
184
|
+
return i.$$set = (l) => {
|
|
185
|
+
"type" in l && n(0, s = l.type), "data" in l && n(5, p = l.data), "bounding" in l && n(6, u = l.bounding), "getRuleDistanceText" in l && n(1, m = l.getRuleDistanceText);
|
|
186
|
+
}, [s, m, r, a, w, p, u];
|
|
113
187
|
}
|
|
114
188
|
class Q extends N {
|
|
115
189
|
constructor(e) {
|
|
@@ -11,10 +11,22 @@ function b(o, l) {
|
|
|
11
11
|
let t, r, i;
|
|
12
12
|
const a = [
|
|
13
13
|
{
|
|
14
|
-
type:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
type: (
|
|
15
|
+
/*type*/
|
|
16
|
+
l[13]
|
|
17
|
+
),
|
|
18
|
+
data: (
|
|
19
|
+
/*data*/
|
|
20
|
+
l[14]
|
|
21
|
+
),
|
|
22
|
+
bounding: (
|
|
23
|
+
/*bounding*/
|
|
24
|
+
l[1]
|
|
25
|
+
),
|
|
26
|
+
getRuleDistanceText: (
|
|
27
|
+
/*getRuleDistanceText*/
|
|
28
|
+
l[0]
|
|
29
|
+
)
|
|
18
30
|
}
|
|
19
31
|
];
|
|
20
32
|
let s = {};
|
|
@@ -31,12 +43,25 @@ function b(o, l) {
|
|
|
31
43
|
},
|
|
32
44
|
p(e, n) {
|
|
33
45
|
l = e;
|
|
34
|
-
const u = n &
|
|
46
|
+
const u = n & /*ruleLabelArray, bounding, getRuleDistanceText*/
|
|
47
|
+
19 ? E(a, [
|
|
35
48
|
{
|
|
36
|
-
type:
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
49
|
+
type: (
|
|
50
|
+
/*type*/
|
|
51
|
+
l[13]
|
|
52
|
+
),
|
|
53
|
+
data: (
|
|
54
|
+
/*data*/
|
|
55
|
+
l[14]
|
|
56
|
+
),
|
|
57
|
+
bounding: (
|
|
58
|
+
/*bounding*/
|
|
59
|
+
l[1]
|
|
60
|
+
),
|
|
61
|
+
getRuleDistanceText: (
|
|
62
|
+
/*getRuleDistanceText*/
|
|
63
|
+
l[0]
|
|
64
|
+
)
|
|
40
65
|
}
|
|
41
66
|
]) : {};
|
|
42
67
|
r.$set(u);
|
|
@@ -53,8 +78,14 @@ function b(o, l) {
|
|
|
53
78
|
};
|
|
54
79
|
}
|
|
55
80
|
function N(o) {
|
|
56
|
-
let l, t = [], r = /* @__PURE__ */ new Map(), i, a =
|
|
57
|
-
|
|
81
|
+
let l, t = [], r = /* @__PURE__ */ new Map(), i, a = (
|
|
82
|
+
/*ruleLabelArray*/
|
|
83
|
+
o[4]
|
|
84
|
+
);
|
|
85
|
+
const s = (e) => (
|
|
86
|
+
/*type*/
|
|
87
|
+
e[13]
|
|
88
|
+
);
|
|
58
89
|
for (let e = 0; e < a.length; e += 1) {
|
|
59
90
|
let n = y(o, a, e), u = s(n);
|
|
60
91
|
r.set(u, t[e] = b(u, n));
|
|
@@ -64,16 +95,40 @@ function N(o) {
|
|
|
64
95
|
l = W("div");
|
|
65
96
|
for (let e = 0; e < t.length; e += 1)
|
|
66
97
|
t[e].c();
|
|
67
|
-
H(l, "class", "floorplan-plugin__rule-labels-wrapper svelte-1mzj9p3"), _(
|
|
98
|
+
H(l, "class", "floorplan-plugin__rule-labels-wrapper svelte-1mzj9p3"), _(
|
|
99
|
+
l,
|
|
100
|
+
"width",
|
|
101
|
+
/*width*/
|
|
102
|
+
o[3]
|
|
103
|
+
), _(
|
|
104
|
+
l,
|
|
105
|
+
"height",
|
|
106
|
+
/*height*/
|
|
107
|
+
o[2]
|
|
108
|
+
);
|
|
68
109
|
},
|
|
69
110
|
m(e, n) {
|
|
70
111
|
k(e, l, n);
|
|
71
112
|
for (let u = 0; u < t.length; u += 1)
|
|
72
|
-
t[u].m(l, null);
|
|
113
|
+
t[u] && t[u].m(l, null);
|
|
73
114
|
i = !0;
|
|
74
115
|
},
|
|
75
116
|
p(e, [n]) {
|
|
76
|
-
n &
|
|
117
|
+
n & /*ruleLabelArray, bounding, getRuleDistanceText*/
|
|
118
|
+
19 && (a = /*ruleLabelArray*/
|
|
119
|
+
e[4], O(), t = q(t, n, s, 1, e, a, r, l, A, b, null, y), C()), n & /*width*/
|
|
120
|
+
8 && _(
|
|
121
|
+
l,
|
|
122
|
+
"width",
|
|
123
|
+
/*width*/
|
|
124
|
+
e[3]
|
|
125
|
+
), n & /*height*/
|
|
126
|
+
4 && _(
|
|
127
|
+
l,
|
|
128
|
+
"height",
|
|
129
|
+
/*height*/
|
|
130
|
+
e[2]
|
|
131
|
+
);
|
|
77
132
|
},
|
|
78
133
|
i(e) {
|
|
79
134
|
if (!i) {
|
|
@@ -100,7 +155,17 @@ function P(o, l, t) {
|
|
|
100
155
|
return o.$$set = (f) => {
|
|
101
156
|
"floorIndex" in f && t(5, g = f.floorIndex), "floorplanData" in f && t(6, c = f.floorplanData), "getRuleDistanceText" in f && t(0, h = f.getRuleDistanceText);
|
|
102
157
|
}, o.$$.update = () => {
|
|
103
|
-
o.$$.dirty &
|
|
158
|
+
o.$$.dirty & /*floorplanData*/
|
|
159
|
+
64 && t(1, r = c.bounding), o.$$.dirty & /*floorplanData, floorIndex*/
|
|
160
|
+
96 && t(11, i = c.floorDatas[g].rules), o.$$.dirty & /*ruleLabelData*/
|
|
161
|
+
2048 && t(12, a = Object.keys(i)), o.$$.dirty & /*ruleLabelDataKeys, ruleLabelData*/
|
|
162
|
+
6144 && t(4, s = a.map((f) => [f, i[f]])), o.$$.dirty & /*bounding*/
|
|
163
|
+
2 && t(9, e = r.max.x - r.min.x), o.$$.dirty & /*bounding*/
|
|
164
|
+
2 && t(7, n = r.max.y - r.min.y), o.$$.dirty & /*bounding*/
|
|
165
|
+
2 && t(10, u = r.max.x - r.min.x - (D - x) * 2), o.$$.dirty & /*bounding*/
|
|
166
|
+
2 && t(8, m = r.max.y - r.min.y - (D - x) * 2), o.$$.dirty & /*contentWidth, boundingWidth*/
|
|
167
|
+
1536 && t(3, d = u / e * 100 + "%"), o.$$.dirty & /*contentHeight, boundingHeight*/
|
|
168
|
+
384 && t(2, p = m / n * 100 + "%");
|
|
104
169
|
}, [
|
|
105
170
|
h,
|
|
106
171
|
r,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as p, init as r, safe_not_equal as g, append_styles as c, element as u,
|
|
1
|
+
import { SvelteComponent as p, init as r, safe_not_equal as g, append_styles as c, element as u, space as m, attr as _, insert as d, append as v, noop as o, detach as y, HtmlTag as i } from "../../vendor/svelte/internal/index.js";
|
|
2
2
|
function h(n) {
|
|
3
3
|
c(n, "svelte-ub47ya", ".floorplan-plugin__base-image.svelte-ub47ya{width:100%;height:100%}");
|
|
4
4
|
}
|
|
@@ -6,16 +6,28 @@ function b(n) {
|
|
|
6
6
|
let e, a, l, f;
|
|
7
7
|
return {
|
|
8
8
|
c() {
|
|
9
|
-
e = u("div"), a = new
|
|
9
|
+
e = u("div"), a = new i(!1), l = m(), f = new i(!1), a.a = l, f.a = null, _(e, "class", "floorplan-plugin__base-image svelte-ub47ya");
|
|
10
10
|
},
|
|
11
11
|
m(t, s) {
|
|
12
|
-
d(t, e, s), a.m(
|
|
12
|
+
d(t, e, s), a.m(
|
|
13
|
+
/*svgStyle*/
|
|
14
|
+
n[1],
|
|
15
|
+
e
|
|
16
|
+
), v(e, l), f.m(
|
|
17
|
+
/*content*/
|
|
18
|
+
n[0],
|
|
19
|
+
e
|
|
20
|
+
);
|
|
13
21
|
},
|
|
14
22
|
p(t, [s]) {
|
|
15
|
-
s &
|
|
23
|
+
s & /*content*/
|
|
24
|
+
1 && f.p(
|
|
25
|
+
/*content*/
|
|
26
|
+
t[0]
|
|
27
|
+
);
|
|
16
28
|
},
|
|
17
|
-
i,
|
|
18
|
-
o
|
|
29
|
+
i: o,
|
|
30
|
+
o,
|
|
19
31
|
d(t) {
|
|
20
32
|
t && y(e);
|
|
21
33
|
}
|