@realsee/dnalogel 3.31.1 → 3.32.0-dev.0
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/PanoSpatialTagPlugin/store.d.ts +1 -0
- package/dist/PanoTagPlugin/controller/TagCache.d.ts +1 -1
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +4 -1
- package/dist/PanoTagPlugin/controller/index.d.ts +1 -0
- package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/index.cjs.js +66 -66
- package/dist/index.js +5849 -5666
- package/dist/index.umd.js +59 -59
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +34 -44
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +34 -44
- package/docs/classes/CSS3DRender.html +33 -43
- package/docs/classes/GuideLineItem.GuideLineItem.html +21 -31
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +45 -55
- package/docs/classes/{ModelMakerPluginInstance.html → Magnifier.html} +113 -200
- package/docs/classes/ModelRoomLabelController.html +13 -23
- package/docs/classes/MoveController.html +33 -43
- package/docs/classes/Object3DHelperController.html +47 -39
- package/docs/classes/PaintBrush.html +17 -27
- package/docs/classes/PanoMeasurePluginLine.html +36 -56
- package/docs/classes/PanoMeasurePluginModel.html +32 -42
- package/docs/classes/PanoMeasurePluginPoint.html +13 -23
- package/docs/classes/PanoMeasurePluginPolyline.html +34 -54
- package/docs/classes/PanoTagPluginController.html +110 -198
- package/docs/classes/Util.BetterTween.html +13 -27
- package/docs/classes/Util.Interval.html +15 -29
- package/docs/classes/Util.LineSegments.html +11 -25
- package/docs/classes/Util.Magnifier.html +60 -93
- package/docs/classes/Util.Object3D.html +12 -26
- package/docs/classes/Util.PointDomHelper.html +14 -28
- package/docs/classes/Util.PointHelper.html +14 -28
- package/docs/classes/Util.PointSelectorHelper.html +20 -34
- package/docs/classes/Util.Rectangle.html +16 -30
- package/docs/classes/WalkController.html +29 -39
- package/docs/enums/CameraMovementEffect.html +9 -19
- package/docs/enums/ContentType.html +23 -33
- package/docs/enums/DIRECTION.html +11 -21
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +11 -21
- package/docs/enums/DimensionType.html +9 -19
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +10 -20
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +11 -21
- package/docs/enums/PaintBrushTypeEnum.html +10 -20
- package/docs/enums/PointType.html +9 -19
- package/docs/enums/Rotation.html +10 -20
- package/docs/functions/AreaMakerPlugin.html +7 -17
- package/docs/functions/CSS3DRenderPlugin.html +7 -17
- package/docs/functions/CameraMovementPlugin.html +7 -17
- package/docs/functions/CruisePlugin.html +7 -17
- package/docs/functions/CurrentPanoImagePlugin.html +7 -17
- package/docs/functions/GuideLinePlugin.html +7 -17
- package/docs/functions/ItemLabelPlugin.html +7 -17
- package/docs/functions/MapviewFloorplanPlugin.html +7 -17
- package/docs/functions/ModelChassisCompassPlugin.html +7 -17
- package/docs/functions/ModelEntryDoorGuidePlugin.html +7 -17
- package/docs/functions/ModelFloorplanPlugin.html +7 -17
- package/docs/functions/ModelItemLabelPlugin.html +7 -17
- package/docs/functions/ModelRoomLabelPlugin.html +7 -17
- package/docs/functions/ModelTVVideoPlugin.html +7 -17
- package/docs/functions/ModelViewPlugin.html +7 -17
- package/docs/functions/MovePlugin.html +8 -18
- package/docs/functions/Object3DHelperPlugin.html +7 -17
- package/docs/functions/PanoCompassPlugin.html +7 -17
- package/docs/functions/PanoCursorRaycasterPlugin.html +7 -17
- package/docs/functions/PanoDoorLabelPlugin.html +7 -17
- package/docs/functions/PanoFloorplanRadarPlugin.html +7 -17
- package/docs/functions/PanoMeasurePlugin.html +7 -17
- package/docs/functions/PanoRulerPlugin.html +7 -17
- package/docs/functions/PanoRulerProPlugin.html +7 -17
- package/docs/functions/PanoSpatialTagPlugin.html +7 -17
- package/docs/functions/PanoTagPlugin.html +7 -17
- package/docs/functions/PanoVideoPlugin.html +7 -17
- package/docs/functions/PipelinePlugin.html +7 -17
- package/docs/functions/TopviewFloorplanPlugin.html +7 -17
- package/docs/functions/Util.absoluteUrl.html +8 -22
- package/docs/functions/Util.checkFiveModelLoaded.html +8 -22
- package/docs/functions/Util.equal.html +8 -22
- package/docs/functions/Util.getCoordsFromClient.html +8 -22
- package/docs/functions/Util.getCoordsFromElement.html +8 -22
- package/docs/functions/Util.getFrameTime.html +8 -22
- package/docs/functions/Util.getIntersectFromRelativePosition.html +10 -29
- package/docs/functions/Util.getRaycasterFromFivePointer.html +8 -22
- package/docs/functions/Util.isAbsoluteURL.html +8 -22
- package/docs/functions/Util.isModelLike.html +8 -22
- package/docs/functions/Util.isNil.html +8 -22
- package/docs/functions/Util.isPanoramaLike.html +8 -22
- package/docs/functions/Util.nextFrame.html +8 -22
- package/docs/functions/Util.notNil.html +8 -22
- package/docs/functions/Util.requestAnimationFrameInterval.html +8 -22
- package/docs/functions/Util.tweenProgress.html +8 -22
- package/docs/functions/Util.uuid.html +8 -22
- package/docs/functions/pluginFlag.html +7 -17
- package/docs/index.html +7 -18
- package/docs/interfaces/AddTagConfig.html +8 -18
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +7 -17
- package/docs/interfaces/AreaMakerPluginType.Config.html +7 -17
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +20 -30
- package/docs/interfaces/AreaMakerPluginType.Params.html +8 -18
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +10 -20
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +9 -19
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +7 -17
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +7 -17
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +7 -17
- package/docs/interfaces/AreaMakerPluginType.State.html +9 -19
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +13 -23
- package/docs/interfaces/CSS3DRenderPluginState.html +10 -20
- package/docs/interfaces/CameraMovementPluginExportType.html +9 -19
- package/docs/interfaces/CruisePluginTypes.Config.html +10 -21
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +13 -24
- package/docs/interfaces/CruisePluginTypes.EventMap.html +22 -33
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +23 -39
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +18 -30
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +18 -30
- package/docs/interfaces/CruisePluginTypes.PluginData.html +30 -41
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +7 -18
- package/docs/interfaces/CruisePluginTypes.PluginState.html +14 -25
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +13 -23
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +14 -24
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +9 -19
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +8 -18
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +10 -20
- package/docs/interfaces/EventMap.html +17 -27
- package/docs/interfaces/FloorplanBounding.html +10 -20
- package/docs/interfaces/FloorplanData.html +12 -22
- package/docs/interfaces/FloorplanEntrance.html +13 -23
- package/docs/interfaces/FloorplanExtraObject.html +12 -22
- package/docs/interfaces/FloorplanExtraObject3D.html +10 -20
- package/docs/interfaces/FloorplanFloorData.html +11 -21
- package/docs/interfaces/FloorplanImagePosition.html +9 -19
- package/docs/interfaces/FloorplanObserver.html +11 -21
- package/docs/interfaces/FloorplanOutlineItem.html +11 -21
- package/docs/interfaces/FloorplanPosition.html +9 -19
- package/docs/interfaces/FloorplanRoomItem.html +16 -26
- package/docs/interfaces/FloorplanRoomLabelItem.html +9 -19
- package/docs/interfaces/FloorplanServerBounding.html +10 -20
- package/docs/interfaces/FloorplanServerComputedData.html +12 -22
- package/docs/interfaces/FloorplanServerData.html +9 -19
- package/docs/interfaces/FloorplanServerDoorItem.html +12 -22
- package/docs/interfaces/FloorplanServerDoorPosition.html +10 -20
- package/docs/interfaces/FloorplanServerEntrance.html +13 -23
- package/docs/interfaces/FloorplanServerFloorData.html +11 -21
- package/docs/interfaces/FloorplanServerImagePosition.html +9 -19
- package/docs/interfaces/FloorplanServerObserver.html +11 -21
- package/docs/interfaces/FloorplanServerOutlineItem.html +11 -21
- package/docs/interfaces/FloorplanServerPosition.html +9 -19
- package/docs/interfaces/FloorplanServerRoomItem.html +17 -27
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +9 -19
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +10 -20
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +11 -21
- package/docs/interfaces/GuideLinePluginType.EventMap.html +14 -24
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +9 -19
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +7 -17
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +16 -26
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +7 -17
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +9 -19
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +22 -32
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +8 -18
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +23 -33
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +6 -16
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +7 -17
- package/docs/interfaces/GuideLinePluginType.PluginState.html +9 -19
- package/docs/interfaces/GuideLinePluginType.Route.html +12 -22
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +10 -20
- package/docs/interfaces/HelperOffset.html +10 -20
- package/docs/interfaces/ImagePlaneGroup.html +8 -18
- package/docs/interfaces/ItemLabelPluginData.html +8 -18
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +13 -23
- package/docs/interfaces/ItemLabelPluginParametersType.html +11 -21
- package/docs/interfaces/MinMax.html +9 -19
- package/docs/interfaces/ModelChassisCompassPluginData.html +9 -19
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +10 -20
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +9 -19
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +10 -20
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +10 -20
- package/docs/interfaces/ModelItemLabelPluginData.html +8 -18
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +13 -23
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +9 -19
- package/docs/interfaces/ModelRoomLabelPluginData.html +8 -18
- package/docs/interfaces/ModelTVVideoPluginData.html +11 -21
- package/docs/interfaces/ModelTVVideoPluginExportType.html +10 -20
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +8 -18
- package/docs/interfaces/ModelViewPluginExportType.html +13 -23
- package/docs/interfaces/Object3DHelperState.html +10 -20
- package/docs/interfaces/ObjectHelperControllers.html +12 -22
- package/docs/interfaces/PaintBrushAction.html +14 -24
- package/docs/interfaces/PaintBrushConfigs.html +14 -24
- package/docs/interfaces/PaintBrushState.html +12 -22
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +12 -22
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +7 -17
- package/docs/interfaces/PanoMeasureParameterType.html +18 -28
- package/docs/interfaces/PanoMeasurePluginLineJson.html +10 -20
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +9 -19
- package/docs/interfaces/PanoMeasurePluginPointJson.html +9 -19
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +10 -20
- package/docs/interfaces/PanoRulerPluginExportType.html +12 -22
- package/docs/interfaces/PanoRulerPluginOptions.html +9 -19
- package/docs/interfaces/PanoRulerPluginParameterType.html +10 -20
- package/docs/interfaces/PanoRulerProPluginExportType.html +11 -21
- package/docs/interfaces/PanoRulerProPluginOptions.html +9 -19
- package/docs/interfaces/PanoRulerProPluginParameterType.html +9 -19
- package/docs/interfaces/PanoRulerProPluginState.html +10 -20
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +7 -17
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +7 -17
- package/docs/interfaces/PanoSpatialTagPluginData.html +13 -23
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +12 -22
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +15 -25
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +12 -22
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +15 -25
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +13 -23
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +12 -22
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +8 -18
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +10 -20
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +8 -18
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +11 -21
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +8 -18
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +10 -20
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +12 -22
- package/docs/interfaces/Point.html +10 -20
- package/docs/interfaces/Room.html +11 -21
- package/docs/interfaces/RoomInfo.html +9 -19
- package/docs/interfaces/RoomLabel.html +16 -26
- package/docs/interfaces/RoomRules.html +7 -17
- package/docs/interfaces/Rooms.html +7 -17
- package/docs/interfaces/Scissor.html +11 -21
- package/docs/interfaces/State.html +10 -20
- package/docs/interfaces/TagCacheInterface.html +14 -24
- package/docs/interfaces/TagConfig.html +49 -65
- package/docs/interfaces/TagGLTFObjectGroup.html +8 -18
- package/docs/interfaces/TagIconUrl.html +14 -24
- package/docs/interfaces/TagObjectGroup.html +8 -18
- package/docs/interfaces/TagStyle.html +8 -18
- package/docs/interfaces/Tags.html +437 -61
- package/docs/interfaces/TemporaryState.html +8 -18
- package/docs/interfaces/Util.MagnifierParameter.html +24 -43
- package/docs/interfaces/Util.MouseGroupParameter.html +11 -25
- package/docs/interfaces/Util.PointIntersection.html +12 -33
- package/docs/modules/AreaMakerPluginType.html +6 -16
- package/docs/modules/CruisePluginTypes.html +6 -18
- package/docs/modules/CurrentPanoImagePluginType.html +7 -17
- package/docs/modules/GuideLineItem.html +7 -17
- package/docs/modules/GuideLineModeItem.html +7 -17
- package/docs/modules/GuideLinePluginType.html +6 -16
- package/docs/modules/PanoVideoPluginType.html +7 -17
- package/docs/modules/Util.html +8 -26
- package/docs/modules.html +11 -34
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +6 -16
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +6 -16
- package/docs/types/AreaMakerPluginType.PluginData.html +6 -16
- package/docs/types/AreaMakerPluginType.ServerData.html +6 -16
- package/docs/types/ArrayPosition.html +7 -17
- package/docs/types/AudioAppearance.html +7 -17
- package/docs/types/{PositionFrom.html → AudioTagTypeConfigKey.html} +10 -28
- package/docs/types/CSS3DRenderExportType.html +7 -17
- package/docs/types/CSS3DRenderPluginExportType.html +7 -17
- package/docs/types/CSS3DRenderPluginParameterType.html +7 -17
- package/docs/types/ClassFunctionParameters.html +7 -17
- package/docs/types/Color.html +7 -17
- package/docs/types/ContentTypeConfigKey.html +7 -17
- package/docs/types/ContentTypeConfigKeySplit.html +8 -18
- package/docs/types/ContentTypeMap.html +7 -17
- package/docs/types/Create3DDomContainerReturnType.html +7 -17
- package/docs/types/Create3DElementReturnType.html +7 -17
- package/docs/types/CruisePluginExportType.html +7 -17
- package/docs/types/CruisePluginTypes.CruiseData.html +6 -17
- package/docs/types/CruisePluginTypes.MoveEffect.html +6 -17
- package/docs/types/CurrentPanoImagePluginExportType.html +7 -17
- package/docs/types/DeprecatedMediaPlaneProperty.html +7 -17
- package/docs/types/DeprecatedTagProperty.html +7 -17
- package/docs/types/Direction-1.html +7 -17
- package/docs/types/Direction4.html +7 -17
- package/docs/types/ElementRenderer.html +7 -17
- package/docs/types/FloorplanRuleLabels.html +7 -17
- package/docs/types/FloorplanServerRuleLabels.html +7 -17
- package/docs/types/GuideLinePluginExportType.html +7 -17
- package/docs/types/GuideLinePluginType.GuideLineItem.html +8 -18
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +6 -16
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +6 -16
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +6 -16
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +6 -16
- package/docs/types/GuideLinePluginType.PathItem.html +6 -16
- package/docs/types/GuideLinePluginType.PluginData.html +6 -16
- package/docs/types/HelperEventMap.html +7 -17
- package/docs/types/InternalHelperEventMap.html +11 -29
- package/docs/types/LoadTagConfig.html +7 -17
- package/docs/types/MapviewFloorplanPluginParameterType.html +7 -17
- package/docs/types/MapviewFloorplanPluginReturnType.html +7 -17
- package/docs/types/MediaData.html +10 -20
- package/docs/types/MediaStore.html +7 -17
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +7 -17
- package/docs/types/ModelFloorplanPluginParameterType.html +7 -17
- package/docs/types/ModelFloorplanPluginReturnType.html +7 -17
- package/docs/types/ModelId.html +7 -17
- package/docs/types/ModelRoomLabelPluginParameters.html +7 -17
- package/docs/types/ModelRoomLabelPluginReturnType.html +7 -17
- package/docs/types/MoveArgs.html +7 -17
- package/docs/types/MoveOpts.html +7 -17
- package/docs/types/Object3DHelperEventMap.html +7 -17
- package/docs/types/ObjectFit.html +7 -17
- package/docs/types/PaintBrushEventMap.html +7 -17
- package/docs/types/PanoCompassPluginData.html +7 -17
- package/docs/types/PanoCompassPluginExportType.html +7 -17
- package/docs/types/PanoCompassPluginParameterType.html +7 -17
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +7 -17
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +7 -17
- package/docs/types/PanoIndex.html +7 -17
- package/docs/types/PanoMeasurePluginEvent.html +7 -17
- package/docs/types/PanoMeasureReturnType.html +7 -17
- package/docs/types/PanoSpatialTagPluginId.html +7 -17
- package/docs/types/PanoTagPluginExportInterface.html +7 -17
- package/docs/types/PanoTagPluginParamsInterface.html +7 -17
- package/docs/types/PanoVideoPluginParameterType.html +7 -17
- package/docs/types/PanoVideoPluginReturnType.html +7 -17
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +12 -22
- package/docs/types/PipelinePluginParameterType.html +7 -17
- package/docs/types/PipelinePluginReturnType.html +7 -17
- package/docs/types/PlaneTag.html +7 -17
- package/docs/types/Point2DTag.html +7 -17
- package/docs/types/Point3DTag.html +7 -17
- package/docs/types/PointTag.html +7 -17
- package/docs/types/PointTagInstance.html +7 -17
- package/docs/types/Position.html +7 -17
- package/docs/types/RotateArgs.html +7 -17
- package/docs/types/RotateOpts.html +7 -17
- package/docs/types/RuleLabelsKey.html +7 -17
- package/docs/types/RuleLabelsValue.html +7 -17
- package/docs/types/StickType.html +7 -17
- package/docs/types/Tag.html +13 -35
- package/docs/types/Tag2D.html +7 -17
- package/docs/types/Tag3D.html +7 -17
- package/docs/types/TagConfigByKey.html +8 -18
- package/docs/types/TagContentType.html +7 -17
- package/docs/types/TagContentTypeMapping.html +7 -17
- package/docs/types/TagDimensionType.html +7 -17
- package/docs/types/TagElement.html +7 -17
- package/docs/types/TagEvents.html +12 -38
- package/docs/types/TagGLTFObject.html +7 -17
- package/docs/types/TagHooks.html +7 -17
- package/docs/types/TagId.html +7 -17
- package/docs/types/TagInstance.html +8 -44
- package/docs/types/TagPointType.html +7 -17
- package/docs/types/TagRendererMap.html +7 -17
- package/docs/types/TopviewFloorplanPluginParameterType.html +7 -17
- package/docs/types/TopviewFloorplanPluginReturnType.html +7 -17
- package/docs/types/WorkCode.html +7 -17
- package/docs/variables/FLOOR_TYPE_MAP.html +7 -17
- package/docs/variables/PLUGIN.html +7 -17
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +7 -17
- package/docs/variables/ROOM_TYPE_MAP.html +7 -17
- package/docs/variables/defaultGlobalConfig.html +7 -17
- package/docs/variables/itemLabelPluginServerParams.html +7 -17
- package/docs/variables/modelItemLabelPluginServerParams.html +7 -17
- package/docs/variables/modelRoomLabelPluginServerParams.html +7 -17
- package/libs/AreaMakerPlugin/Controller.js +54 -44
- package/libs/AreaMakerPlugin/index.js +13 -3
- package/libs/AreaMakerPlugin/utils/Item.js +13 -3
- package/libs/CruisePlugin/Move.js +50 -37
- package/libs/CruisePlugin/Work.js +19 -6
- package/libs/CruisePlugin/index.js +23 -10
- package/libs/GuideLinePlugin/Components/Tag.js +58 -48
- package/libs/GuideLinePlugin/Controller.js +46 -33
- package/libs/GuideLinePlugin/GuideLineItem.js +19 -6
- package/libs/GuideLinePlugin/GuideLineModeItem.js +19 -6
- package/libs/GuideLinePlugin/index.js +23 -10
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +152 -139
- package/libs/ItemLabelPlugin/ItemLabelItem.js +67 -57
- package/libs/ItemLabelPlugin/Plugin.js +37 -26
- package/libs/ItemLabelPlugin/index.js +16 -5
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +116 -103
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +45 -35
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +35 -24
- package/libs/ModelItemLabelPlugin/index.js +16 -5
- package/libs/ModelMakerPlugin/Controller.js +33 -23
- package/libs/ModelMakerPlugin/index.js +13 -3
- package/libs/ModelMakerPlugin/utils/Text.js +43 -33
- package/libs/ModelMakerPlugin/utils/tagRenderer.js +28 -18
- package/libs/ModelRoomLabelPlugin/Controller.js +20 -8
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +52 -42
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +75 -61
- package/libs/ModelRoomLabelPlugin/index.js +17 -5
- package/libs/PanoDoorLabelPlugin/Controller.js +38 -28
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +55 -45
- package/libs/PanoDoorLabelPlugin/index.js +14 -4
- package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +70 -60
- package/libs/PanoMeasurePlugin/Components/Common/Exit.js +32 -22
- package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +75 -62
- package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +110 -97
- package/libs/PanoMeasurePlugin/Components/Controller0.js +72 -61
- package/libs/PanoMeasurePlugin/Components/Controller1.js +33 -22
- package/libs/PanoMeasurePlugin/Components/Tip.js +76 -66
- package/libs/PanoMeasurePlugin/Controller/index.js +28 -17
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +26 -16
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +34 -23
- package/libs/PanoMeasurePlugin/index.js +27 -16
- package/libs/PanoRulerProPlugin/Controller.js +38 -27
- package/libs/PanoRulerProPlugin/RulerItem.js +94 -79
- package/libs/PanoRulerProPlugin/RulerItems.js +95 -82
- package/libs/PanoRulerProPlugin/index.js +15 -4
- package/libs/PanoSpatialTagPlugin/Components/origins.js +51 -38
- package/libs/PanoSpatialTagPlugin/Components/tag.js +32 -22
- package/libs/PanoSpatialTagPlugin/Plugin.js +115 -104
- package/libs/PanoSpatialTagPlugin/index.js +13 -2
- package/libs/PanoSpatialTagPlugin/store.d.ts +1 -0
- package/libs/PanoSpatialTagPlugin/store.js +2 -2
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +44 -34
- package/libs/PanoTagPlugin/Components/Common/Audio.js +99 -89
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +123 -112
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +55 -45
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +59 -49
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +79 -69
- package/libs/PanoTagPlugin/Components/Common/Media.js +145 -131
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +35 -25
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +58 -48
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +35 -24
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +97 -86
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +109 -96
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +128 -118
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +59 -49
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +100 -90
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +92 -81
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +68 -57
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +45 -35
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +122 -110
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +53 -42
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +130 -115
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +66 -54
- package/libs/PanoTagPlugin/Components/Tag/PanoramaTag.js +62 -52
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +66 -56
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +109 -98
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +54 -43
- package/libs/PanoTagPlugin/Components/Tag/index.js +161 -148
- package/libs/PanoTagPlugin/Components/TagContainer.js +77 -62
- package/libs/PanoTagPlugin/Components/TagItem.js +182 -169
- package/libs/PanoTagPlugin/controller/TagCache.d.ts +1 -1
- package/libs/PanoTagPlugin/controller/TagCache.js +5 -5
- package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
- package/libs/PanoTagPlugin/controller/TagRender.js +56 -43
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +4 -1
- package/libs/PanoTagPlugin/controller/TagUtil.js +78 -70
- package/libs/PanoTagPlugin/controller/index.d.ts +1 -0
- package/libs/PanoTagPlugin/controller/index.js +84 -65
- package/libs/PanoTagPlugin/index.js +28 -15
- package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/libs/base/BasePlugin.js +3 -3
- package/libs/components/AreaLabel/LabelItem.js +56 -51
- package/libs/floorplan/Components/BaseImage.js +43 -39
- package/libs/floorplan/Components/Camera.js +41 -32
- package/libs/floorplan/Components/Compass.js +27 -24
- package/libs/floorplan/Components/CurrentFloor.js +167 -162
- package/libs/floorplan/Components/Main.js +85 -76
- package/libs/floorplan/Components/MissingFloor.js +24 -21
- package/libs/floorplan/Components/Normalmage.js +25 -22
- package/libs/floorplan/Components/RoomHighlight/Room.js +28 -25
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +69 -61
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +104 -101
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +65 -57
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +125 -118
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +25 -22
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +43 -40
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +32 -29
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +49 -41
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +102 -94
- package/libs/floorplan/Components/SvgImage.js +30 -27
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +18 -6
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +58 -46
- package/libs/floorplan/ModelFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +77 -65
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +95 -83
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +70 -53
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +112 -100
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +40 -28
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +16 -4
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +30 -18
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/index.js +1 -0
- package/libs/index.js +143 -129
- package/libs/shared-utils/logger.js +1 -1
- package/libs/vendor/svelte/src/runtime/internal/Component.js +122 -0
- package/libs/vendor/svelte/src/runtime/internal/ResizeObserverSingleton.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/animations.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/await_block.js +47 -0
- package/libs/vendor/svelte/src/runtime/internal/dev.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/disclose-version/index.js +2 -0
- package/libs/vendor/svelte/src/runtime/internal/dom.js +214 -0
- package/libs/vendor/svelte/src/runtime/internal/each.js +46 -0
- package/libs/vendor/svelte/src/runtime/internal/environment.js +7 -0
- package/libs/vendor/svelte/src/runtime/internal/globals.js +7 -0
- package/libs/vendor/svelte/src/runtime/internal/index.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/lifecycle.js +63 -0
- package/libs/vendor/svelte/src/runtime/internal/loop.js +21 -0
- package/libs/vendor/svelte/src/runtime/internal/scheduler.js +66 -0
- package/libs/vendor/svelte/src/runtime/internal/spread.js +26 -0
- package/libs/vendor/svelte/src/runtime/internal/ssr.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/style_manager.js +48 -0
- package/libs/vendor/svelte/src/runtime/internal/transitions.js +192 -0
- package/libs/vendor/svelte/src/runtime/internal/utils.js +110 -0
- package/libs/vendor/svelte/{store → src/runtime/store}/index.js +5 -5
- package/libs/vendor/svelte/{transition → src/runtime/transition}/index.js +1 -1
- package/libs/vendor/svelte/src/shared/boolean_attributes.js +1 -0
- package/libs/vendor/svelte/src/shared/utils/names.js +1 -0
- package/libs/vendor/svelte/src/shared/version.js +4 -0
- package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +29 -25
- package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +197 -225
- package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +16 -12
- package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +65 -59
- package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +32 -29
- package/package.json +5 -6
- package/docs/classes/Sculpt.html +0 -852
- package/docs/functions/ModelMakerPlugin.html +0 -303
- package/docs/functions/SculptPlugin.html +0 -306
- package/docs/functions/Util.blink.html +0 -351
- package/docs/functions/Util.reblink.html +0 -349
- package/docs/interfaces/ContentTypeMapInterface.html +0 -773
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +0 -352
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +0 -556
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +0 -349
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +0 -391
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +0 -332
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +0 -401
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +0 -381
- package/docs/interfaces/ModelMakerPluginType.State.html +0 -364
- package/docs/interfaces/Util.BlinkAnimeOptions.html +0 -380
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +0 -387
- package/docs/modules/ModelMakerPluginType.html +0 -339
- package/docs/modules/SculptData.html +0 -318
- package/docs/types/AddObject3DHelperConfig.html +0 -315
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +0 -329
- package/docs/types/ModelMakerPluginType.ItemType.html +0 -308
- package/docs/types/ScaleCallback.html +0 -314
- package/docs/types/ScalePosition.html +0 -303
- package/docs/types/SculptData.BoxData.html +0 -306
- package/docs/types/SculptData.CircleData.html +0 -306
- package/docs/types/SculptData.CylinderData.html +0 -306
- package/docs/types/SculptData.PointData.html +0 -306
- package/docs/types/SculptData.PolygonData.html +0 -306
- package/docs/types/SculptData.PolylineData.html +0 -306
- package/docs/types/SculptData.PrismData.html +0 -306
- package/docs/types/SculptData.RectangleData.html +0 -306
- package/libs/vendor/svelte/internal/index.js +0 -749
- /package/libs/vendor/svelte/{easing → src/runtime/easing}/index.js +0 -0
- /package/libs/vendor/svelte/{index.js → src/runtime/index.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var a = Object.defineProperty;
|
|
2
|
-
var h = (
|
|
3
|
-
var
|
|
2
|
+
var h = (e, o, t) => o in e ? a(e, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[o] = t;
|
|
3
|
+
var i = (e, o, t) => (h(e, typeof o != "symbol" ? o + "" : o, t), t);
|
|
4
4
|
import d from "./HTML.js";
|
|
5
5
|
import u from "./mobileHTML.js";
|
|
6
6
|
import { controllerBackgroundStyle as y, operatingSpaceStyle as f, uiWrapperStyle as v, textStyle as C, exitItemStyle as E, exitIconStyle as x } from "./style.js";
|
|
@@ -9,8 +9,19 @@ import { MobileMainBtnController as g } from "./mobileMainBtnController.js";
|
|
|
9
9
|
import w from "./Revoke/index.js";
|
|
10
10
|
import _ from "../../Components/Controller0.js";
|
|
11
11
|
import b from "../../Components/Controller1.js";
|
|
12
|
-
import "../../../vendor/svelte/internal/
|
|
12
|
+
import "../../../vendor/svelte/src/runtime/internal/utils.js";
|
|
13
|
+
import "../../../vendor/svelte/src/runtime/internal/dom.js";
|
|
14
|
+
import "../../../vendor/svelte/src/runtime/internal/transitions.js";
|
|
15
|
+
import "../../../vendor/svelte/src/runtime/internal/environment.js";
|
|
16
|
+
import "../../../vendor/svelte/src/runtime/internal/loop.js";
|
|
17
|
+
import "../../../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
18
|
+
import "../../../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
19
|
+
import "../../../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
20
|
+
import "../../../vendor/svelte/src/runtime/internal/Component.js";
|
|
21
|
+
import "../../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
22
|
+
import "../../../vendor/svelte/src/shared/version.js";
|
|
13
23
|
import "../../Components/Common/Switcher0.js";
|
|
24
|
+
import "../../../vendor/svelte/src/runtime/internal/each.js";
|
|
14
25
|
import "../../Components/Common/Exit.js";
|
|
15
26
|
import "../../Controller/EditController.js";
|
|
16
27
|
import "../../Model/line.js";
|
|
@@ -83,44 +94,44 @@ import "../../utils/math.js";
|
|
|
83
94
|
import "../../Components/Common/icons/index.js";
|
|
84
95
|
import "../../Components/Common/Switcher1.js";
|
|
85
96
|
import "../../Components/Common/CircleButton.js";
|
|
86
|
-
import "../../../vendor/svelte/transition/index.js";
|
|
87
|
-
import "../../../vendor/svelte/easing/index.js";
|
|
88
|
-
class
|
|
97
|
+
import "../../../vendor/svelte/src/runtime/transition/index.js";
|
|
98
|
+
import "../../../vendor/svelte/src/runtime/easing/index.js";
|
|
99
|
+
class yo {
|
|
89
100
|
constructor(o, t) {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
101
|
+
i(this, "revoke");
|
|
102
|
+
i(this, "container");
|
|
103
|
+
i(this, "mainController");
|
|
104
|
+
i(this, "disposers", []);
|
|
105
|
+
i(this, "measureController");
|
|
106
|
+
i(this, "mode");
|
|
107
|
+
i(this, "svelteDom");
|
|
108
|
+
i(this, "_params");
|
|
109
|
+
i(this, "handleExit", () => {
|
|
99
110
|
const o = this.container.querySelector(".fpm__exit-icon"), t = this.container.querySelector(".fpm__exit");
|
|
100
111
|
if (!t || !o)
|
|
101
112
|
throw new Error("cannot find dom");
|
|
102
113
|
this.mode === "pc" && (Object.assign(t.style, E), Object.assign(o == null ? void 0 : o.style, x));
|
|
103
|
-
const
|
|
114
|
+
const r = () => {
|
|
104
115
|
t.style.opacity = "1";
|
|
105
116
|
}, s = () => {
|
|
106
117
|
t.style.opacity = "0.85";
|
|
107
118
|
}, n = () => {
|
|
108
119
|
this.measureController.disable();
|
|
109
120
|
};
|
|
110
|
-
return t.addEventListener("click", n), t.addEventListener("mouseenter",
|
|
111
|
-
t.removeEventListener("click", n), t.removeEventListener("mouseenter",
|
|
121
|
+
return t.addEventListener("click", n), t.addEventListener("mouseenter", r), t.addEventListener("mouseleave", s), () => {
|
|
122
|
+
t.removeEventListener("click", n), t.removeEventListener("mouseenter", r), t.removeEventListener("mouseleave", s);
|
|
112
123
|
};
|
|
113
124
|
});
|
|
114
125
|
var s, n;
|
|
115
126
|
this._params = t, this.measureController = o, this.mode = (s = t.mode) != null ? s : "pc", this.container = document.createElement("div"), this.container.innerHTML = this.mode === "mobile" ? u : d, this.container.classList.add("fpm__ui-controller", this.mode), this.container.style.background = "rgba(0, 0, 0, 0.15)";
|
|
116
|
-
const
|
|
117
|
-
if (
|
|
127
|
+
const r = (n = t.useNewUI) != null ? n : !1;
|
|
128
|
+
if (r && (t.pointSelectorMode === "cursor" ? this.svelteDom = new _({
|
|
118
129
|
target: t.container,
|
|
119
130
|
props: { measureController: this.measureController, i18n: t.i18n, showExit: t.showExit }
|
|
120
131
|
}) : t.pointSelectorMode === "fixed" && (this.svelteDom = new b({
|
|
121
132
|
target: t.container,
|
|
122
133
|
props: { measureController: this.measureController, i18n: t.i18n, showExit: t.showExit }
|
|
123
|
-
}))), !
|
|
134
|
+
}))), !r) {
|
|
124
135
|
t.container.appendChild(this.container);
|
|
125
136
|
const l = this.container.querySelectorAll(".fpm__text"), m = this.container.querySelector(".fpm_ui-bg"), p = this.container.querySelector(".fpm_operating-space");
|
|
126
137
|
Object.assign(m == null ? void 0 : m.style, y), Object.assign(p == null ? void 0 : p.style, f), Object.assign(this.container.style, v), l.forEach((c) => Object.assign(c.style, C));
|
|
@@ -135,9 +146,9 @@ class io {
|
|
|
135
146
|
}
|
|
136
147
|
hide() {
|
|
137
148
|
var o, t;
|
|
138
|
-
return this.container.style.display = "none", this.container.style.opacity = "0", this.container.style.transform = "translate(0, 10px)", this.mode === "pc" && ((o = this.revoke) == null || o.dispose()), (t = this.mainController) == null || t.dispose(), this.disposers.forEach((
|
|
149
|
+
return this.container.style.display = "none", this.container.style.opacity = "0", this.container.style.transform = "translate(0, 10px)", this.mode === "pc" && ((o = this.revoke) == null || o.dispose()), (t = this.mainController) == null || t.dispose(), this.disposers.forEach((r) => r()), this.disposers = [], this;
|
|
139
150
|
}
|
|
140
151
|
}
|
|
141
152
|
export {
|
|
142
|
-
|
|
153
|
+
yo as UIController
|
|
143
154
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import t from "./Controller/index.js";
|
|
2
|
-
import { Magnifier as
|
|
2
|
+
import { Magnifier as lr } from "../shared-utils/three/Magnifier.js";
|
|
3
3
|
import "three";
|
|
4
4
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
5
5
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
6
6
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
7
7
|
import "@realsee/five";
|
|
8
8
|
import "animejs";
|
|
9
|
-
import { Model as
|
|
10
|
-
import { default as
|
|
11
|
-
import { default as
|
|
12
|
-
import { Polyline as
|
|
9
|
+
import { Model as sr } from "./Model/index.js";
|
|
10
|
+
import { default as Mr } from "./Model/point.js";
|
|
11
|
+
import { default as xr } from "./Model/line.js";
|
|
12
|
+
import { Polyline as cr } from "./Model/polyline.js";
|
|
13
13
|
import "./Controller/EditController.js";
|
|
14
14
|
import "../shared-utils/throttle.js";
|
|
15
15
|
import "./Controller/BaseController.js";
|
|
@@ -88,29 +88,40 @@ import "./Modules/UIController/MainBtnController.js";
|
|
|
88
88
|
import "./Modules/UIController/mobileMainBtnController.js";
|
|
89
89
|
import "./Modules/UIController/Revoke/index.js";
|
|
90
90
|
import "./Components/Controller0.js";
|
|
91
|
-
import "../vendor/svelte/internal/
|
|
91
|
+
import "../vendor/svelte/src/runtime/internal/utils.js";
|
|
92
|
+
import "../vendor/svelte/src/runtime/internal/dom.js";
|
|
93
|
+
import "../vendor/svelte/src/runtime/internal/transitions.js";
|
|
94
|
+
import "../vendor/svelte/src/runtime/internal/environment.js";
|
|
95
|
+
import "../vendor/svelte/src/runtime/internal/loop.js";
|
|
96
|
+
import "../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
97
|
+
import "../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
98
|
+
import "../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
99
|
+
import "../vendor/svelte/src/runtime/internal/Component.js";
|
|
100
|
+
import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
101
|
+
import "../vendor/svelte/src/shared/version.js";
|
|
92
102
|
import "./Components/Common/Switcher0.js";
|
|
103
|
+
import "../vendor/svelte/src/runtime/internal/each.js";
|
|
93
104
|
import "./Components/Common/Exit.js";
|
|
94
105
|
import "./Components/Common/icons/index.js";
|
|
95
106
|
import "./Components/Controller1.js";
|
|
96
107
|
import "./Components/Common/Switcher1.js";
|
|
97
108
|
import "./Components/Common/CircleButton.js";
|
|
98
|
-
import "../vendor/svelte/transition/index.js";
|
|
99
|
-
import "../vendor/svelte/easing/index.js";
|
|
109
|
+
import "../vendor/svelte/src/runtime/transition/index.js";
|
|
110
|
+
import "../vendor/svelte/src/runtime/easing/index.js";
|
|
100
111
|
import "./Modules/GuideController.js";
|
|
101
112
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
102
113
|
import "./Components/Tip.js";
|
|
103
114
|
import "./Controller/ShortcutKeyController.js";
|
|
104
115
|
import "../shared-utils/safeObj.js";
|
|
105
|
-
const
|
|
116
|
+
const nr = function(o, r) {
|
|
106
117
|
return new t(o, r);
|
|
107
118
|
};
|
|
108
119
|
export {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
120
|
+
lr as Magnifier,
|
|
121
|
+
nr as PanoMeasurePlugin,
|
|
122
|
+
xr as PanoMeasurePluginLine,
|
|
123
|
+
sr as PanoMeasurePluginModel,
|
|
124
|
+
Mr as PanoMeasurePluginPoint,
|
|
125
|
+
cr as PanoMeasurePluginPolyline,
|
|
126
|
+
nr as default
|
|
116
127
|
};
|
|
@@ -1,33 +1,44 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var f = Object.defineProperty;
|
|
2
|
+
var c = Object.getOwnPropertySymbols;
|
|
3
3
|
var v = Object.prototype.hasOwnProperty, b = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var
|
|
4
|
+
var m = (i, t, e) => t in i ? f(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e, u = (i, t) => {
|
|
5
5
|
for (var e in t || (t = {}))
|
|
6
|
-
v.call(t, e) &&
|
|
7
|
-
if (
|
|
8
|
-
for (var e of
|
|
9
|
-
b.call(t, e) &&
|
|
6
|
+
v.call(t, e) && m(i, e, t[e]);
|
|
7
|
+
if (c)
|
|
8
|
+
for (var e of c(t))
|
|
9
|
+
b.call(t, e) && m(i, e, t[e]);
|
|
10
10
|
return i;
|
|
11
11
|
};
|
|
12
|
-
var
|
|
12
|
+
var s = (i, t, e) => (m(i, typeof t != "symbol" ? t + "" : t, e), e);
|
|
13
13
|
var d = (i, t, e) => new Promise((a, o) => {
|
|
14
|
-
var n = (
|
|
14
|
+
var n = (r) => {
|
|
15
15
|
try {
|
|
16
|
-
|
|
17
|
-
} catch (
|
|
18
|
-
o(
|
|
16
|
+
p(e.next(r));
|
|
17
|
+
} catch (h) {
|
|
18
|
+
o(h);
|
|
19
19
|
}
|
|
20
|
-
}, l = (
|
|
20
|
+
}, l = (r) => {
|
|
21
21
|
try {
|
|
22
|
-
|
|
23
|
-
} catch (
|
|
24
|
-
o(
|
|
22
|
+
p(e.throw(r));
|
|
23
|
+
} catch (h) {
|
|
24
|
+
o(h);
|
|
25
25
|
}
|
|
26
|
-
},
|
|
27
|
-
|
|
26
|
+
}, p = (r) => r.done ? a(r.value) : Promise.resolve(r.value).then(n, l);
|
|
27
|
+
p((e = e.apply(i, t)).next());
|
|
28
28
|
});
|
|
29
29
|
import I from "./RulerItems.js";
|
|
30
|
-
import "../vendor/svelte/internal/
|
|
30
|
+
import "../vendor/svelte/src/runtime/internal/utils.js";
|
|
31
|
+
import "../vendor/svelte/src/runtime/internal/dom.js";
|
|
32
|
+
import "../vendor/svelte/src/runtime/internal/transitions.js";
|
|
33
|
+
import "../vendor/svelte/src/runtime/internal/environment.js";
|
|
34
|
+
import "../vendor/svelte/src/runtime/internal/loop.js";
|
|
35
|
+
import "../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
36
|
+
import "../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
37
|
+
import "../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
38
|
+
import "../vendor/svelte/src/runtime/internal/each.js";
|
|
39
|
+
import "../vendor/svelte/src/runtime/internal/Component.js";
|
|
40
|
+
import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
41
|
+
import "../vendor/svelte/src/shared/version.js";
|
|
31
42
|
import "@realsee/five";
|
|
32
43
|
import "../shared-utils/animationFrame/index.js";
|
|
33
44
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
@@ -37,13 +48,13 @@ import "../shared-utils/math/planimetry.js";
|
|
|
37
48
|
import "../shared-utils/throttle.js";
|
|
38
49
|
import "three";
|
|
39
50
|
import "./RulerItem.js";
|
|
40
|
-
class
|
|
51
|
+
class K {
|
|
41
52
|
constructor(t, e) {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
53
|
+
s(this, "five");
|
|
54
|
+
s(this, "container", document.createElement("div"));
|
|
55
|
+
s(this, "panoRulerProData");
|
|
56
|
+
s(this, "rulerItems");
|
|
57
|
+
s(this, "state", {
|
|
47
58
|
enabled: !1,
|
|
48
59
|
loaded: !1,
|
|
49
60
|
options: {
|
|
@@ -55,7 +66,7 @@ class A {
|
|
|
55
66
|
this.five = t, this.container.classList.add("panoRulerProPlugin-container"), this.container.setAttribute(
|
|
56
67
|
"style",
|
|
57
68
|
"position: absolute;pointer-events: none;width: 100%;height: 100%;left: 0;top: 0;overflow: hidden;"
|
|
58
|
-
), e && (e.data && this.load(e.data), this.state.options =
|
|
69
|
+
), e && (e.data && this.load(e.data), this.state.options = u(u({}, this.state.options), e.options || {}), (a = e.options) != null && a.className && this.container.classList.add((o = e.options) == null ? void 0 : o.className)), this.five.once("modelLoaded", () => d(this, null, function* () {
|
|
59
70
|
var n, l;
|
|
60
71
|
(l = (n = this.five.getElement()) == null ? void 0 : n.parentNode) == null || l.append(this.container);
|
|
61
72
|
})), this.five.once("dispose", () => this.dispose());
|
|
@@ -100,5 +111,5 @@ class A {
|
|
|
100
111
|
}
|
|
101
112
|
}
|
|
102
113
|
export {
|
|
103
|
-
|
|
114
|
+
K as default
|
|
104
115
|
};
|
|
@@ -1,58 +1,71 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { safe_not_equal as W, noop as y, null_to_empty as Z } from "../vendor/svelte/src/runtime/internal/utils.js";
|
|
2
|
+
import { append_styles as H, element as c, space as M, text as z, attr as m, set_style as a, insert as _, append as g, add_iframe_resize_listener as N, set_data as j, detach as P, destroy_each as B } from "../vendor/svelte/src/runtime/internal/dom.js";
|
|
3
|
+
import { add_render_callback as S } from "../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
4
|
+
import { ensure_array_like as G } from "../vendor/svelte/src/runtime/internal/each.js";
|
|
5
|
+
import { SvelteComponent as V, init as J } from "../vendor/svelte/src/runtime/internal/Component.js";
|
|
6
|
+
import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
7
|
+
import "../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
8
|
+
import "../vendor/svelte/src/runtime/internal/transitions.js";
|
|
9
|
+
import "../vendor/svelte/src/runtime/internal/environment.js";
|
|
10
|
+
import "../vendor/svelte/src/runtime/internal/loop.js";
|
|
11
|
+
import "../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
12
|
+
import "../vendor/svelte/src/shared/version.js";
|
|
13
|
+
function D(i) {
|
|
14
|
+
H(i, "svelte-1h27ktp", ".PanoRulerPlugin-rule-line.svelte-1h27ktp.svelte-1h27ktp{position:absolute;transform-origin:left 0.0625rem;width:0;height:0.125rem;pointer-events:none}.PanoRulerPlugin-rule-line.svelte-1h27ktp.svelte-1h27ktp::after{content:'';position:absolute;left:-0.125rem;top:-0.1rem;width:0.25rem;height:0.25rem;border-radius:50%;background:#fff;z-index:1;animation:svelte-1h27ktp-viewport-rule-point 0.1s 1s;animation-fill-mode:both}.PanoRulerPlugin-rule-line.svelte-1h27ktp.svelte-1h27ktp::before{content:'';position:absolute;right:-0.125rem;top:-0.1rem;width:0.25rem;height:0.25rem;border-radius:50%;background:#fff;z-index:1;animation:svelte-1h27ktp-viewport-rule-point 0.1s 1.5s;animation-fill-mode:both}.PanoRulerPlugin-rule-line.svelte-1h27ktp em.svelte-1h27ktp{display:block;height:0.0625rem;animation:svelte-1h27ktp-viewport-rule-line 0.5s ease 1s;animation-fill-mode:both;box-shadow:0 0 0.25rem rgb(0 0 0 / 40%);position:relative}.rule-mixed-line.svelte-1h27ktp.svelte-1h27ktp{display:flex;height:0.0625rem;animation:svelte-1h27ktp-viewport-rule-line 0.5s ease 1s;animation-fill-mode:both;align-items:center}.em-solid.svelte-1h27ktp.svelte-1h27ktp{height:100%;background:#ffffff}.em-dotted.svelte-1h27ktp.svelte-1h27ktp{height:0.125rem;background:var(--background-image);background-position:center;background-repeat:repeat}.PanoRulerPlugin-rule-label.svelte-1h27ktp.svelte-1h27ktp{position:absolute;width:0;height:0;top:0.0625rem;pointer-events:none}.PanoRulerPlugin-rule-label-name.svelte-1h27ktp.svelte-1h27ktp{position:absolute;padding:0.1875rem 0.375rem;background:rgba(195, 195, 195, 0.3);backdrop-filter:blur(0.25rem);-webkit-backdrop-filter:blur(0.25rem);border-radius:6.25rem;border:0.0625rem solid rgba(255, 255, 255, 0.6);white-space:nowrap;overflow:hidden;color:#ffffff;font-weight:500;font-size:0.75rem;line-height:1;animation:svelte-1h27ktp-viewport-rule-label 0.25s ease 1s;animation-fill-mode:both;box-shadow:inset 0 0 0.625rem 0 rgba(255, 255, 255, 0.3)}@keyframes svelte-1h27ktp-viewport-rule-line{0%{width:0%}100%{width:100%}}@keyframes svelte-1h27ktp-viewport-rule-label{0%{opacity:0;transform:scaleX(0)}100%{opacity:1;transform:translate(-50%, -50%) scaleX(1)}}@keyframes svelte-1h27ktp-viewport-rule-point{0%{transform:scaleX(0)}100%{transform:scaleX(1)}}");
|
|
4
15
|
}
|
|
5
|
-
function
|
|
16
|
+
function X(i, e, o) {
|
|
6
17
|
const l = i.slice();
|
|
7
|
-
return l[6] = e[
|
|
18
|
+
return l[6] = e[o], l;
|
|
8
19
|
}
|
|
9
|
-
function
|
|
10
|
-
let e,
|
|
20
|
+
function A(i) {
|
|
21
|
+
let e, o = G(
|
|
11
22
|
/*rulerItemProp*/
|
|
12
23
|
i[0].children
|
|
13
24
|
), l = [];
|
|
14
|
-
for (let t = 0; t <
|
|
15
|
-
l[t] = X(
|
|
25
|
+
for (let t = 0; t < o.length; t += 1)
|
|
26
|
+
l[t] = R(X(i, o, t));
|
|
16
27
|
return {
|
|
17
28
|
c() {
|
|
18
29
|
e = c("div");
|
|
19
30
|
for (let t = 0; t < l.length; t += 1)
|
|
20
31
|
l[t].c();
|
|
21
|
-
|
|
32
|
+
m(e, "class", "rule-mixed-line svelte-1h27ktp");
|
|
22
33
|
},
|
|
23
|
-
m(t,
|
|
24
|
-
_(t, e,
|
|
25
|
-
for (let
|
|
26
|
-
l[
|
|
34
|
+
m(t, n) {
|
|
35
|
+
_(t, e, n);
|
|
36
|
+
for (let r = 0; r < l.length; r += 1)
|
|
37
|
+
l[r] && l[r].m(e, null);
|
|
27
38
|
},
|
|
28
|
-
p(t,
|
|
29
|
-
if (
|
|
39
|
+
p(t, n) {
|
|
40
|
+
if (n & /*rulerItemProp, vars*/
|
|
30
41
|
9) {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
42
|
+
o = G(
|
|
43
|
+
/*rulerItemProp*/
|
|
44
|
+
t[0].children
|
|
45
|
+
);
|
|
46
|
+
let r;
|
|
47
|
+
for (r = 0; r < o.length; r += 1) {
|
|
48
|
+
const h = X(t, o, r);
|
|
49
|
+
l[r] ? l[r].p(h, n) : (l[r] = R(h), l[r].c(), l[r].m(e, null));
|
|
37
50
|
}
|
|
38
|
-
for (;
|
|
39
|
-
l[
|
|
40
|
-
l.length =
|
|
51
|
+
for (; r < l.length; r += 1)
|
|
52
|
+
l[r].d(1);
|
|
53
|
+
l.length = o.length;
|
|
41
54
|
}
|
|
42
55
|
},
|
|
43
56
|
d(t) {
|
|
44
|
-
t && P(e),
|
|
57
|
+
t && P(e), B(l, t);
|
|
45
58
|
}
|
|
46
59
|
};
|
|
47
60
|
}
|
|
48
|
-
function
|
|
49
|
-
let e,
|
|
61
|
+
function C(i) {
|
|
62
|
+
let e, o;
|
|
50
63
|
return {
|
|
51
64
|
c() {
|
|
52
|
-
e = c("em"),
|
|
65
|
+
e = c("em"), m(e, "class", o = Z(
|
|
53
66
|
/*rulerItemProp*/
|
|
54
67
|
i[0].state ? "em-solid" : "em-dotted"
|
|
55
|
-
) + " svelte-1h27ktp"),
|
|
68
|
+
) + " svelte-1h27ktp"), m(
|
|
56
69
|
e,
|
|
57
70
|
"style",
|
|
58
71
|
/*vars*/
|
|
@@ -64,11 +77,11 @@ function A(i) {
|
|
|
64
77
|
},
|
|
65
78
|
p(l, t) {
|
|
66
79
|
t & /*rulerItemProp*/
|
|
67
|
-
1 &&
|
|
80
|
+
1 && o !== (o = Z(
|
|
68
81
|
/*rulerItemProp*/
|
|
69
82
|
l[0].state ? "em-solid" : "em-dotted"
|
|
70
|
-
) + " svelte-1h27ktp") &&
|
|
71
|
-
8 &&
|
|
83
|
+
) + " svelte-1h27ktp") && m(e, "class", o), t & /*vars*/
|
|
84
|
+
8 && m(
|
|
72
85
|
e,
|
|
73
86
|
"style",
|
|
74
87
|
/*vars*/
|
|
@@ -80,68 +93,70 @@ function A(i) {
|
|
|
80
93
|
}
|
|
81
94
|
};
|
|
82
95
|
}
|
|
83
|
-
function
|
|
84
|
-
let e,
|
|
96
|
+
function R(i) {
|
|
97
|
+
let e, o, l = `${/*child*/
|
|
85
98
|
i[6].width}px`;
|
|
86
99
|
return {
|
|
87
100
|
c() {
|
|
88
|
-
e = c("div"),
|
|
101
|
+
e = c("div"), m(e, "class", o = Z(
|
|
89
102
|
/*child*/
|
|
90
103
|
i[6].state ? "em-solid" : "em-dotted"
|
|
91
|
-
) + " svelte-1h27ktp"),
|
|
104
|
+
) + " svelte-1h27ktp"), m(
|
|
92
105
|
e,
|
|
93
106
|
"style",
|
|
94
107
|
/*vars*/
|
|
95
108
|
i[3]
|
|
96
109
|
), a(e, "width", l);
|
|
97
110
|
},
|
|
98
|
-
m(t,
|
|
99
|
-
_(t, e,
|
|
111
|
+
m(t, n) {
|
|
112
|
+
_(t, e, n);
|
|
100
113
|
},
|
|
101
|
-
p(t,
|
|
102
|
-
|
|
103
|
-
1 &&
|
|
114
|
+
p(t, n) {
|
|
115
|
+
n & /*rulerItemProp*/
|
|
116
|
+
1 && o !== (o = Z(
|
|
104
117
|
/*child*/
|
|
105
118
|
t[6].state ? "em-solid" : "em-dotted"
|
|
106
|
-
) + " svelte-1h27ktp") &&
|
|
107
|
-
8 &&
|
|
119
|
+
) + " svelte-1h27ktp") && m(e, "class", o), n & /*vars*/
|
|
120
|
+
8 && m(
|
|
108
121
|
e,
|
|
109
122
|
"style",
|
|
110
123
|
/*vars*/
|
|
111
124
|
t[3]
|
|
112
|
-
)
|
|
113
|
-
|
|
125
|
+
);
|
|
126
|
+
const r = n & /*vars*/
|
|
127
|
+
8;
|
|
128
|
+
(n & /*rulerItemProp, vars*/
|
|
114
129
|
9 && l !== (l = `${/*child*/
|
|
115
|
-
t[6].width}px`)) && a(e, "width", l);
|
|
130
|
+
t[6].width}px`) || r) && a(e, "width", l);
|
|
116
131
|
},
|
|
117
132
|
d(t) {
|
|
118
133
|
t && P(e);
|
|
119
134
|
}
|
|
120
135
|
};
|
|
121
136
|
}
|
|
122
|
-
function
|
|
123
|
-
let e,
|
|
137
|
+
function Y(i) {
|
|
138
|
+
let e, o, l, t, n = (
|
|
124
139
|
/*rulerItemProp*/
|
|
125
140
|
i[0].labelElement + ""
|
|
126
|
-
),
|
|
141
|
+
), r, h, f = `${/*rulerItemProp*/
|
|
127
142
|
i[0].labelOffset}%`, u = `${/*rulerItemProp*/
|
|
128
143
|
i[0].width}px`, v = `${/*rulerItemProp*/
|
|
129
144
|
i[0].left}px`, b = `${/*rulerItemProp*/
|
|
130
145
|
i[0].top}px`, I = `rotate(${/*rulerItemProp*/
|
|
131
146
|
i[0].rotateDeg}deg)`;
|
|
132
|
-
function w(
|
|
147
|
+
function w(s, d) {
|
|
133
148
|
return (
|
|
134
149
|
/*rulerItemProp*/
|
|
135
|
-
|
|
150
|
+
s[0].children.length === 0 ? C : A
|
|
136
151
|
);
|
|
137
152
|
}
|
|
138
|
-
let
|
|
153
|
+
let k = w(i), p = k(i);
|
|
139
154
|
return {
|
|
140
155
|
c() {
|
|
141
|
-
e = c("div"),
|
|
156
|
+
e = c("div"), p.c(), o = M(), l = c("div"), t = c("div"), r = z(n), m(t, "class", "PanoRulerPlugin-rule-label-name svelte-1h27ktp"), S(() => (
|
|
142
157
|
/*div0_elementresize_handler*/
|
|
143
158
|
i[4].call(t)
|
|
144
|
-
)),
|
|
159
|
+
)), m(l, "class", "PanoRulerPlugin-rule-label svelte-1h27ktp"), a(l, "left", f), m(e, "class", "PanoRulerPlugin-rule-line svelte-1h27ktp"), a(e, "width", u), a(e, "left", v), a(e, "top", b), a(e, "transform", I), a(
|
|
145
160
|
e,
|
|
146
161
|
"display",
|
|
147
162
|
/*rulerItemProp*/
|
|
@@ -149,59 +164,59 @@ function C(i) {
|
|
|
149
164
|
i[2] ? "block" : "none"
|
|
150
165
|
);
|
|
151
166
|
},
|
|
152
|
-
m(
|
|
153
|
-
_(
|
|
167
|
+
m(s, d) {
|
|
168
|
+
_(s, e, d), p.m(e, null), g(e, o), g(e, l), g(l, t), g(t, r), h = N(
|
|
154
169
|
t,
|
|
155
170
|
/*div0_elementresize_handler*/
|
|
156
171
|
i[4].bind(t)
|
|
157
172
|
);
|
|
158
173
|
},
|
|
159
|
-
p(
|
|
160
|
-
|
|
161
|
-
1 &&
|
|
162
|
-
|
|
174
|
+
p(s, [d]) {
|
|
175
|
+
k === (k = w(s)) && p ? p.p(s, d) : (p.d(1), p = k(s), p && (p.c(), p.m(e, o))), d & /*rulerItemProp*/
|
|
176
|
+
1 && n !== (n = /*rulerItemProp*/
|
|
177
|
+
s[0].labelElement + "") && j(r, n), d & /*rulerItemProp*/
|
|
163
178
|
1 && f !== (f = `${/*rulerItemProp*/
|
|
164
|
-
|
|
179
|
+
s[0].labelOffset}%`) && a(l, "left", f), d & /*rulerItemProp*/
|
|
165
180
|
1 && u !== (u = `${/*rulerItemProp*/
|
|
166
|
-
|
|
181
|
+
s[0].width}px`) && a(e, "width", u), d & /*rulerItemProp*/
|
|
167
182
|
1 && v !== (v = `${/*rulerItemProp*/
|
|
168
|
-
|
|
183
|
+
s[0].left}px`) && a(e, "left", v), d & /*rulerItemProp*/
|
|
169
184
|
1 && b !== (b = `${/*rulerItemProp*/
|
|
170
|
-
|
|
185
|
+
s[0].top}px`) && a(e, "top", b), d & /*rulerItemProp*/
|
|
171
186
|
1 && I !== (I = `rotate(${/*rulerItemProp*/
|
|
172
|
-
|
|
187
|
+
s[0].rotateDeg}deg)`) && a(e, "transform", I), d & /*rulerItemProp, _visible*/
|
|
173
188
|
5 && a(
|
|
174
189
|
e,
|
|
175
190
|
"display",
|
|
176
191
|
/*rulerItemProp*/
|
|
177
|
-
|
|
178
|
-
|
|
192
|
+
s[0].visible && /*_visible*/
|
|
193
|
+
s[2] ? "block" : "none"
|
|
179
194
|
);
|
|
180
195
|
},
|
|
181
196
|
i: y,
|
|
182
197
|
o: y,
|
|
183
|
-
d(
|
|
184
|
-
|
|
198
|
+
d(s) {
|
|
199
|
+
s && P(e), p.d(), h();
|
|
185
200
|
}
|
|
186
201
|
};
|
|
187
202
|
}
|
|
188
|
-
function
|
|
189
|
-
let l, { rulerItemProp: t } = e,
|
|
203
|
+
function x(i, e, o) {
|
|
204
|
+
let l, { rulerItemProp: t } = e, n = !0, r, h = "data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjQiIHdpZHRoPSIxMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGRlZnM+PGZpbHRlciBpZD0icHJlZml4X19hIiBoZWlnaHQ9IjQwMCUiIHdpZHRoPSIxMzcuNCUiIHg9Ii0xOC43JSIgeT0iLTE1MCUiPjxmZU1vcnBob2xvZ3kgaW49IlNvdXJjZUFscGhhIiBvcGVyYXRvcj0iZGlsYXRlIiByYWRpdXM9Ii41IiByZXN1bHQ9InNoYWRvd1NwcmVhZE91dGVyMSIvPjxmZU9mZnNldCBpbj0ic2hhZG93U3ByZWFkT3V0ZXIxIiByZXN1bHQ9InNoYWRvd09mZnNldE91dGVyMSIvPjxmZU1vcnBob2xvZ3kgaW49IlNvdXJjZUFscGhhIiByYWRpdXM9IjEiIHJlc3VsdD0ic2hhZG93SW5uZXIiLz48ZmVPZmZzZXQgaW49InNoYWRvd0lubmVyIiByZXN1bHQ9InNoYWRvd0lubmVyIi8+PGZlQ29tcG9zaXRlIGluPSJzaGFkb3dPZmZzZXRPdXRlcjEiIGluMj0ic2hhZG93SW5uZXIiIG9wZXJhdG9yPSJvdXQiIHJlc3VsdD0ic2hhZG93T2Zmc2V0T3V0ZXIxIi8+PGZlR2F1c3NpYW5CbHVyIGluPSJzaGFkb3dPZmZzZXRPdXRlcjEiIHJlc3VsdD0ic2hhZG93Qmx1ck91dGVyMSIgc3RkRGV2aWF0aW9uPSIuNSIvPjxmZUNvbG9yTWF0cml4IGluPSJzaGFkb3dCbHVyT3V0ZXIxIiB2YWx1ZXM9IjAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAuMiAwIi8+PC9maWx0ZXI+PHBhdGggaWQ9InByZWZpeF9fYiIgZD0iTS44ODkgMkgxMS41OCIvPjwvZGVmcz48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHN0cm9rZS1kYXNoYXJyYXk9IjUgNiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48dXNlIGZpbGw9IiMwMDAiIGZpbHRlcj0idXJsKCNwcmVmaXhfX2EpIiB4bGluazpocmVmPSIjcHJlZml4X19iIi8+PHVzZSBzdHJva2U9IiNmZmYiIHN0cm9rZS1vcGFjaXR5PSIuNCIgeGxpbms6aHJlZj0iI3ByZWZpeF9fYiIvPjwvZz48L3N2Zz4=";
|
|
190
205
|
function f() {
|
|
191
|
-
|
|
206
|
+
r = this.offsetWidth, o(1, r);
|
|
192
207
|
}
|
|
193
208
|
return i.$$set = (u) => {
|
|
194
|
-
"rulerItemProp" in u &&
|
|
209
|
+
"rulerItemProp" in u && o(0, t = u.rulerItemProp);
|
|
195
210
|
}, i.$$.update = () => {
|
|
196
211
|
i.$$.dirty & /*labelWidth, rulerItemProp*/
|
|
197
|
-
3 && (
|
|
198
|
-
},
|
|
212
|
+
3 && (r >= t.width || r / 2 >= t.labelOffset / 100 * t.width || r / 2 >= (1 - t.labelOffset / 100) * t.width ? o(2, n = !1) : o(2, n = !0));
|
|
213
|
+
}, o(3, l = `--background-image: url(${h})`), [t, r, n, l, f];
|
|
199
214
|
}
|
|
200
|
-
class
|
|
215
|
+
class le extends V {
|
|
201
216
|
constructor(e) {
|
|
202
|
-
super(),
|
|
217
|
+
super(), J(this, e, x, Y, W, { rulerItemProp: 0 }, D);
|
|
203
218
|
}
|
|
204
219
|
}
|
|
205
220
|
export {
|
|
206
|
-
|
|
221
|
+
le as default
|
|
207
222
|
};
|