@realsee/dnalogel 2.21.0 → 2.22.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/components/index.js +329 -329
- package/dist/CSS3DRenderPlugin/Controller.d.ts +4 -1
- package/dist/CruisePlugin/index.d.ts +2 -1
- package/dist/PanoCompassPlugin/typings.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Components/Common/CircleButton.svelte.d.ts +1 -0
- package/dist/PanoMeasurePlugin/Components/Common/Exit.svelte.d.ts +1 -0
- package/dist/PanoMeasurePlugin/Components/Common/Switcher0.svelte.d.ts +1 -0
- package/dist/PanoMeasurePlugin/Components/Common/Switcher1.svelte.d.ts +1 -0
- package/dist/PanoMeasurePlugin/Components/Common/icons/index.d.ts +4 -0
- package/dist/PanoMeasurePlugin/Components/Controller0.svelte.d.ts +1 -0
- package/dist/PanoMeasurePlugin/Components/Controller1.svelte.d.ts +1 -0
- package/dist/PanoMeasurePlugin/Components/Tip.svelte.d.ts +1 -0
- package/dist/PanoMeasurePlugin/Controller/BaseController.d.ts +12 -4
- package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +27 -18
- package/dist/PanoMeasurePlugin/Controller/WatchController.d.ts +9 -2
- package/dist/PanoMeasurePlugin/Controller/index.d.ts +26 -9
- package/dist/PanoMeasurePlugin/Model/area.d.ts +74 -0
- package/dist/PanoMeasurePlugin/Model/index.d.ts +10 -0
- package/dist/PanoMeasurePlugin/Model/line.d.ts +7 -1
- package/dist/PanoMeasurePlugin/Model/polygon.d.ts +14 -0
- package/dist/PanoMeasurePlugin/Model/polyline.d.ts +4 -0
- package/dist/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +8 -4
- package/dist/PanoMeasurePlugin/Modules/GuideController.d.ts +16 -12
- package/dist/PanoMeasurePlugin/Modules/Magnifier.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Modules/UIController/index.d.ts +10 -3
- package/dist/PanoMeasurePlugin/Modules/UIController/style.d.ts +0 -8
- package/dist/PanoMeasurePlugin/typings/data.d.ts +24 -0
- package/dist/PanoMeasurePlugin/typings/event.type.d.ts +17 -3
- package/dist/PanoMeasurePlugin/typings/index.d.ts +1 -1
- package/dist/PanoMeasurePlugin/utils/dom/areaDom.d.ts +22 -0
- package/dist/PanoMeasurePlugin/utils/dom/base.d.ts +29 -0
- package/dist/PanoMeasurePlugin/utils/dom/distanceItem.d.ts +27 -0
- package/dist/PanoMeasurePlugin/utils/generatePolygonGeometry.d.ts +6 -0
- package/dist/PanoMeasurePlugin/utils/geometryUtil.d.ts +7 -0
- package/dist/PanoMeasurePlugin/utils/isIntersecting.d.ts +15 -0
- package/dist/PanoMeasurePlugin/utils/line.d.ts +2 -1
- package/dist/PanoMeasurePlugin/utils/ndc2Screen.d.ts +2 -1
- package/dist/PanoTagPlugin/controller/index.d.ts +2 -1
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +1 -1
- package/dist/PanoTagPlugin/typings/tag/TagInstance.d.ts +2 -1
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +0 -4
- package/dist/base/BasePlugin.d.ts +6 -3
- package/dist/base/BasePluginWithData.d.ts +2 -1
- package/dist/components/PaintBrush/style.d.ts +1 -1
- package/dist/index.cjs.js +73 -69
- package/dist/index.js +9017 -7073
- package/dist/index.umd.js +66 -62
- package/dist/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +3 -7
- package/dist/shared-utils/absoluteUrl.d.ts +5 -0
- package/{libs/PanoMeasurePlugin/utils → dist/shared-utils}/getIntersectionFromEvent.d.ts +1 -1
- package/dist/{PanoMeasurePlugin/utils → shared-utils}/getPointFromHammerEvent.d.ts +1 -1
- package/dist/shared-utils/index.d.ts +1 -1
- package/dist/shared-utils/isTouchDevice.d.ts +1 -0
- package/dist/shared-utils/safeObj.d.ts +1 -0
- package/dist/shared-utils/three/IObject3D.d.ts +7 -0
- package/dist/shared-utils/three/Magnifier.d.ts +5 -0
- package/dist/shared-utils/three/PointSelector.d.ts +92 -0
- package/dist/shared-utils/three/PointSelectorHelper.d.ts +41 -0
- package/dist/shared-utils/three/index.d.ts +1 -1
- package/dist/typings/typings.d.ts +4 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +34 -33
- package/docs/classes/CruisePluginController.html +48 -45
- package/docs/classes/GuideLineItem.GuideLineItem.html +23 -22
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +38 -37
- package/docs/classes/Magnifier.html +23 -22
- package/docs/classes/ModelRoomLabelController.html +14 -13
- package/docs/classes/Object3DHelperController.html +47 -44
- package/docs/classes/PaintBrush.html +18 -17
- package/docs/classes/PanoMeasurePluginLine.html +74 -108
- package/docs/classes/PanoMeasurePluginModel.html +84 -26
- package/docs/classes/PanoMeasurePluginPoint.html +17 -16
- package/docs/classes/PanoMeasurePluginPolyline.html +41 -28
- package/docs/classes/PanoTagPluginController.html +73 -70
- package/docs/classes/Util.BetterTween.html +12 -11
- package/docs/classes/Util.Interval.html +15 -14
- package/docs/classes/Util.Magnifier.html +54 -20
- package/docs/classes/Util.PointDomHelper.html +14 -13
- package/docs/classes/Util.PointHelper.html +14 -13
- package/docs/classes/{Util.FivePointSelector.html → Util.PointSelectorHelper.html} +70 -30
- package/docs/classes/Util.Rectangle.html +16 -15
- package/docs/enums/CameraMovementEffect.html +10 -9
- package/docs/enums/ContentType.html +23 -22
- package/docs/enums/DIRECTION.html +12 -11
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +12 -11
- package/docs/enums/DimensionType.html +10 -9
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +11 -10
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +12 -11
- package/docs/enums/PaintBrushTypeEnum.html +11 -10
- package/docs/enums/PointType.html +10 -9
- package/docs/enums/Rotation.html +11 -10
- package/docs/functions/CSS3DRenderPlugin.html +7 -6
- package/docs/functions/CameraMovementPlugin.html +7 -6
- package/docs/functions/CruisePlugin.html +11 -8
- package/docs/functions/GuideLinePlugin.html +8 -7
- package/docs/functions/ItemLabelPlugin.html +7 -6
- package/docs/functions/MapviewFloorplanPlugin.html +7 -6
- package/docs/functions/ModelChassisCompassPlugin.html +7 -6
- package/docs/functions/ModelEntryDoorGuidePlugin.html +7 -6
- package/docs/functions/ModelFloorplanPlugin.html +7 -6
- package/docs/functions/ModelItemLabelPlugin.html +7 -6
- package/docs/functions/ModelRoomLabelPlugin.html +7 -6
- package/docs/functions/ModelTVVideoPlugin.html +7 -6
- package/docs/functions/ModelViewPlugin.html +7 -6
- package/docs/functions/Object3DHelperPlugin.html +7 -6
- package/docs/functions/PanoCompassPlugin.html +7 -6
- package/docs/functions/PanoCursorRaycasterPlugin.html +7 -6
- package/docs/functions/PanoDoorLabelPlugin.html +7 -6
- package/docs/functions/PanoFloorplanRadarPlugin.html +7 -6
- package/docs/functions/PanoMeasurePlugin.html +7 -6
- package/docs/functions/PanoRulerPlugin.html +7 -6
- package/docs/functions/PanoRulerProPlugin.html +7 -6
- package/docs/functions/PanoSpatialTagPlugin.html +7 -6
- package/docs/functions/PanoTagPlugin.html +7 -6
- package/docs/functions/PanoVideoPlugin.html +7 -6
- package/docs/functions/TopviewFloorplanPlugin.html +7 -6
- package/docs/{types/PartialObjectDeep.html → functions/Util.absoluteUrl.html} +151 -141
- package/docs/functions/Util.getCoordsFromClient.html +8 -7
- package/docs/functions/Util.getCoordsFromElement.html +8 -7
- package/docs/functions/Util.getFrameTime.html +8 -7
- package/docs/functions/Util.getIntersectFromRelativePosition.html +8 -7
- package/docs/functions/Util.getRaycasterFromFivePointer.html +8 -7
- package/docs/functions/Util.isAbsoluteURL.html +8 -7
- package/docs/functions/Util.isModelLike.html +8 -7
- package/docs/functions/Util.isNil.html +8 -7
- package/docs/functions/Util.isPanoramaLike.html +8 -7
- package/docs/functions/Util.nextFrame.html +8 -7
- package/docs/functions/Util.notNil.html +8 -7
- package/docs/functions/Util.requestAnimationFrameInterval.html +8 -7
- package/docs/functions/Util.tweenProgress.html +8 -7
- package/docs/functions/Util.uuid.html +8 -7
- package/docs/functions/pluginFlag.html +8 -7
- package/docs/index.html +8 -7
- package/docs/interfaces/AddTagConfig.html +9 -8
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +14 -13
- package/docs/interfaces/CSS3DRenderPluginState.html +11 -10
- package/docs/interfaces/CameraMovementPluginExportType.html +10 -9
- package/docs/interfaces/CruisePluginTypes.Config.html +11 -10
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +15 -14
- package/docs/interfaces/CruisePluginTypes.EventMap.html +23 -22
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +15 -14
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +17 -16
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +17 -16
- package/docs/interfaces/CruisePluginTypes.PluginData.html +12 -11
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +10 -9
- package/docs/interfaces/CruisePluginTypes.PluginState.html +14 -13
- package/docs/interfaces/EventMap.html +18 -17
- package/docs/interfaces/FloorplanBounding.html +11 -10
- package/docs/interfaces/FloorplanData.html +13 -12
- package/docs/interfaces/FloorplanEntrance.html +14 -13
- package/docs/interfaces/FloorplanExtraObject.html +13 -12
- package/docs/interfaces/FloorplanExtraObject3D.html +11 -10
- package/docs/interfaces/FloorplanFloorData.html +12 -11
- package/docs/interfaces/FloorplanImagePosition.html +10 -9
- package/docs/interfaces/FloorplanObserver.html +12 -11
- package/docs/interfaces/FloorplanOutlineItem.html +12 -11
- package/docs/interfaces/FloorplanPosition.html +10 -9
- package/docs/interfaces/FloorplanRoomItem.html +16 -15
- package/docs/interfaces/FloorplanRoomLabelItem.html +10 -9
- package/docs/interfaces/FloorplanServerBounding.html +11 -10
- package/docs/interfaces/FloorplanServerComputedData.html +13 -12
- package/docs/interfaces/FloorplanServerData.html +10 -9
- package/docs/interfaces/FloorplanServerDoorItem.html +13 -12
- package/docs/interfaces/FloorplanServerDoorPosition.html +11 -10
- package/docs/interfaces/FloorplanServerEntrance.html +14 -13
- package/docs/interfaces/FloorplanServerFloorData.html +12 -11
- package/docs/interfaces/FloorplanServerImagePosition.html +10 -9
- package/docs/interfaces/FloorplanServerObserver.html +12 -11
- package/docs/interfaces/FloorplanServerOutlineItem.html +12 -11
- package/docs/interfaces/FloorplanServerPosition.html +10 -9
- package/docs/interfaces/FloorplanServerRoomItem.html +17 -16
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +10 -9
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +11 -10
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +13 -12
- package/docs/interfaces/GuideLinePluginType.EventMap.html +16 -15
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +11 -10
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +9 -8
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +16 -15
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +11 -10
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +21 -20
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +10 -9
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +21 -20
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +8 -7
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +10 -9
- package/docs/interfaces/GuideLinePluginType.PluginState.html +11 -10
- package/docs/interfaces/GuideLinePluginType.Route.html +14 -13
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +12 -11
- package/docs/interfaces/HelperOffset.html +11 -10
- package/docs/interfaces/ImagePlaneGroup.html +9 -8
- package/docs/interfaces/ItemLabelPluginData.html +9 -8
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +14 -13
- package/docs/interfaces/ItemLabelPluginParametersType.html +12 -11
- package/docs/interfaces/MinMax.html +10 -9
- package/docs/interfaces/ModelChassisCompassPluginData.html +10 -9
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +11 -10
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +10 -9
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +11 -10
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +11 -10
- package/docs/interfaces/ModelItemLabelPluginData.html +9 -8
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +14 -13
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +10 -9
- package/docs/interfaces/ModelRoomLabelPluginData.html +9 -8
- package/docs/interfaces/ModelTVVideoPluginData.html +12 -11
- package/docs/interfaces/ModelTVVideoPluginExportType.html +11 -10
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +9 -8
- package/docs/interfaces/ModelViewPluginExportType.html +14 -13
- package/docs/interfaces/Object3DHelperState.html +11 -10
- package/docs/interfaces/ObjectHelperControllers.html +12 -11
- package/docs/interfaces/PaintBrushAction.html +15 -14
- package/docs/interfaces/PaintBrushConfigs.html +15 -14
- package/docs/interfaces/PaintBrushState.html +13 -12
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +13 -12
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +8 -7
- package/docs/interfaces/PanoMeasureParameterType.html +25 -17
- package/docs/interfaces/PanoMeasurePluginLineJson.html +11 -10
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +10 -9
- package/docs/interfaces/PanoMeasurePluginPointJson.html +10 -9
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +11 -10
- package/docs/interfaces/PanoRulerPluginExportType.html +13 -12
- package/docs/interfaces/PanoRulerPluginOptions.html +10 -9
- package/docs/interfaces/PanoRulerPluginParameterType.html +11 -10
- package/docs/interfaces/PanoRulerProPluginExportType.html +12 -11
- package/docs/interfaces/PanoRulerProPluginOptions.html +10 -9
- package/docs/interfaces/PanoRulerProPluginParameterType.html +10 -9
- package/docs/interfaces/PanoRulerProPluginState.html +11 -10
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +8 -7
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +8 -7
- package/docs/interfaces/PanoSpatialTagPluginData.html +14 -13
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +13 -12
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +16 -15
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +13 -12
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +16 -15
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +14 -13
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +13 -12
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +9 -8
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +11 -10
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +9 -8
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +12 -11
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +9 -8
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +11 -10
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +13 -12
- package/docs/interfaces/Point.html +11 -10
- package/docs/interfaces/Room.html +12 -11
- package/docs/interfaces/RoomInfo.html +10 -9
- package/docs/interfaces/RoomLabel.html +17 -16
- package/docs/interfaces/RoomRules.html +8 -7
- package/docs/interfaces/Rooms.html +8 -7
- package/docs/interfaces/Scissor.html +12 -11
- package/docs/interfaces/State.html +11 -10
- package/docs/interfaces/TagCacheInterface.html +15 -14
- package/docs/interfaces/TagConfig.html +17 -16
- package/docs/interfaces/TagGLTFObjectGroup.html +9 -8
- package/docs/interfaces/TagIconUrl.html +15 -14
- package/docs/interfaces/TagObjectGroup.html +9 -8
- package/docs/interfaces/TagStyle.html +9 -8
- package/docs/interfaces/Tags.html +12 -11
- package/docs/interfaces/TemporaryState.html +9 -8
- package/docs/interfaces/Util.MagnifierParameter.html +14 -13
- package/docs/interfaces/Util.MouseGroupParameter.html +11 -10
- package/docs/interfaces/Util.PointIntersection.html +407 -0
- package/docs/modules/CruisePluginTypes.html +8 -7
- package/docs/modules/GuideLineItem.html +8 -7
- package/docs/modules/GuideLineModeItem.html +8 -7
- package/docs/modules/GuideLinePluginType.html +8 -7
- package/docs/modules/PanoVideoPluginType.html +8 -7
- package/docs/modules/Util.html +11 -8
- package/docs/modules.html +7 -7
- package/docs/types/ArrayPosition.html +8 -7
- package/docs/types/AudioAppearance.html +8 -7
- package/docs/types/AudioTagTypeConfigKey.html +8 -7
- package/docs/types/CSS3DRenderExportType.html +8 -7
- package/docs/types/CSS3DRenderPluginExportType.html +8 -7
- package/docs/types/CSS3DRenderPluginParameterType.html +8 -7
- package/docs/types/ClassFunctionParameters.html +8 -7
- package/docs/types/Color.html +8 -7
- package/docs/types/ContentTypeConfigKey.html +8 -7
- package/docs/types/ContentTypeConfigKeySplit.html +8 -7
- package/docs/types/ContentTypeMap.html +8 -7
- package/docs/types/Create3DDomContainerReturnType.html +8 -7
- package/docs/types/Create3DElementReturnType.html +8 -7
- package/docs/types/CruisePluginExportType.html +8 -7
- package/docs/types/CruisePluginTypes.CruiseData.html +8 -7
- package/docs/types/CruisePluginTypes.MoveEffect.html +8 -7
- package/docs/types/DeprecatedMediaPlaneProperty.html +8 -7
- package/docs/types/DeprecatedTagProperty.html +8 -7
- package/docs/types/Direction-1.html +8 -7
- package/docs/types/Direction4.html +8 -7
- package/docs/types/ElementRenderer.html +8 -7
- package/docs/types/FloorplanRuleLabels.html +8 -7
- package/docs/types/FloorplanServerRuleLabels.html +8 -7
- package/docs/types/GuideLinePluginExportType.html +8 -7
- package/docs/types/GuideLinePluginType.GuideLineItem.html +8 -7
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +8 -7
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +8 -7
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +8 -7
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +8 -7
- package/docs/types/GuideLinePluginType.PathItem.html +8 -7
- package/docs/types/GuideLinePluginType.PluginData.html +8 -7
- package/docs/types/HelperEventMap.html +8 -7
- package/docs/types/LoadTagConfig.html +8 -7
- package/docs/types/MapviewFloorplanPluginParameterType.html +8 -7
- package/docs/types/MapviewFloorplanPluginReturnType.html +8 -7
- package/docs/types/MediaData.html +8 -7
- package/docs/types/MediaStore.html +8 -7
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +8 -7
- package/docs/types/ModelFloorplanPluginParameterType.html +8 -7
- package/docs/types/ModelFloorplanPluginReturnType.html +8 -7
- package/docs/types/ModelRoomLabelPluginParameters.html +8 -7
- package/docs/types/ModelRoomLabelPluginReturnType.html +8 -7
- package/docs/types/MoveArgs.html +8 -7
- package/docs/types/MoveOpts.html +8 -7
- package/docs/types/Object3DHelperEventMap.html +8 -7
- package/docs/types/ObjectFit.html +8 -7
- package/docs/types/PaintBrushEventMap.html +8 -7
- package/docs/types/PanoCompassPluginData.html +8 -7
- package/docs/types/PanoCompassPluginExportType.html +8 -7
- package/docs/types/PanoCompassPluginParameterType.html +8 -7
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +8 -7
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +8 -7
- package/docs/types/PanoIndex.html +8 -7
- package/docs/types/PanoMeasurePluginEvent.html +8 -7
- package/docs/types/PanoMeasureReturnType.html +8 -7
- package/docs/types/PanoSpatialTagPluginId.html +8 -7
- package/docs/types/PanoTagPluginExportInterface.html +8 -7
- package/docs/types/PanoTagPluginParamsInterface.html +8 -7
- package/docs/types/PanoVideoPluginParameterType.html +8 -7
- package/docs/types/PanoVideoPluginReturnType.html +8 -7
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +8 -7
- package/docs/types/PlaneTag.html +8 -7
- package/docs/types/Point2DTag.html +8 -7
- package/docs/types/Point3DTag.html +8 -7
- package/docs/types/PointTag.html +8 -7
- package/docs/types/PointTagInstance.html +8 -7
- package/docs/types/Position.html +8 -7
- package/docs/types/RotateArgs.html +8 -7
- package/docs/types/RotateOpts.html +8 -7
- package/docs/types/RuleLabelsKey.html +8 -7
- package/docs/types/RuleLabelsValue.html +8 -7
- package/docs/types/StickType.html +8 -7
- package/docs/types/Tag.html +8 -7
- package/docs/types/Tag2D.html +8 -7
- package/docs/types/Tag3D.html +8 -7
- package/docs/types/TagContentType.html +8 -7
- package/docs/types/TagDimensionType.html +8 -7
- package/docs/types/TagElement.html +8 -7
- package/docs/types/TagEvents.html +8 -7
- package/docs/types/TagGLTFObject.html +8 -7
- package/docs/types/TagHooks.html +8 -7
- package/docs/types/TagId.html +8 -7
- package/docs/types/TagInstance.html +8 -7
- package/docs/types/TagPointType.html +8 -7
- package/docs/types/TagRendererMap.html +8 -7
- package/docs/types/TopviewFloorplanPluginParameterType.html +8 -7
- package/docs/types/TopviewFloorplanPluginReturnType.html +8 -7
- package/docs/types/WorkCode.html +8 -7
- package/docs/variables/FLOOR_TYPE_MAP.html +8 -7
- package/docs/variables/PLUGIN.html +8 -7
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +8 -7
- package/docs/variables/ROOM_TYPE_MAP.html +8 -7
- package/docs/variables/itemLabelPluginServerParams.html +8 -7
- package/docs/variables/modelItemLabelPluginServerParams.html +8 -7
- package/docs/variables/modelRoomLabelPluginServerParams.html +8 -7
- package/libs/CSS3DRenderPlugin/Controller.d.ts +4 -1
- package/libs/CSS3DRenderPlugin/Controller.js +31 -28
- package/libs/CSS3DRenderPlugin/index.js +1 -1
- package/libs/CruisePlugin/Controller.js +1 -1
- package/libs/CruisePlugin/index.d.ts +2 -1
- package/libs/CruisePlugin/index.js +1 -1
- package/libs/GuideLinePlugin/Components/Tag.js +68 -68
- package/libs/GuideLinePlugin/Controller.js +1 -1
- package/libs/GuideLinePlugin/GuideLineItem.js +1 -1
- package/libs/GuideLinePlugin/GuideLineModeItem.js +1 -1
- package/libs/GuideLinePlugin/index.js +1 -1
- package/libs/ItemLabelPlugin/ItemLabelItem.js +82 -82
- package/libs/ModelTVVideoPlugin/Plugin.js +30 -29
- package/libs/ModelTVVideoPlugin/index.js +4 -3
- package/libs/Object3DHelperPlugin/Controller.js +4 -3
- package/libs/Object3DHelperPlugin/index.js +7 -6
- package/libs/PanoCompassPlugin/Controller.js +21 -21
- package/libs/PanoCompassPlugin/index.js +1 -1
- package/libs/PanoCompassPlugin/typings.d.ts +1 -1
- package/libs/PanoDoorLabelPlugin/BaseController.js +1 -1
- package/libs/PanoDoorLabelPlugin/Controller.js +1 -1
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +60 -60
- package/libs/PanoDoorLabelPlugin/index.js +1 -1
- package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +93 -0
- package/libs/PanoMeasurePlugin/Components/Common/CircleButton.svelte.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Components/Common/Exit.js +42 -0
- package/libs/PanoMeasurePlugin/Components/Common/Exit.svelte.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +246 -0
- package/libs/PanoMeasurePlugin/Components/Common/Switcher0.svelte.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +211 -0
- package/libs/PanoMeasurePlugin/Components/Common/Switcher1.svelte.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Components/Common/icons/index.d.ts +4 -0
- package/libs/PanoMeasurePlugin/Components/Common/icons/index.js +7 -0
- package/libs/PanoMeasurePlugin/Components/Controller0.js +252 -0
- package/libs/PanoMeasurePlugin/Components/Controller0.svelte.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Components/Controller1.js +395 -0
- package/libs/PanoMeasurePlugin/Components/Controller1.svelte.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Components/Tip.js +128 -0
- package/libs/PanoMeasurePlugin/Components/Tip.svelte.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Controller/BaseController.d.ts +12 -4
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +43 -34
- package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +27 -18
- package/libs/PanoMeasurePlugin/Controller/EditController.js +285 -92
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +27 -25
- package/libs/PanoMeasurePlugin/Controller/ShortcutKeyController.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +6 -4
- package/libs/PanoMeasurePlugin/Controller/WatchController.d.ts +9 -2
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +101 -54
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +26 -9
- package/libs/PanoMeasurePlugin/Controller/index.js +138 -81
- package/libs/PanoMeasurePlugin/Model/area.d.ts +74 -0
- package/libs/PanoMeasurePlugin/Model/area.js +117 -0
- package/libs/PanoMeasurePlugin/Model/index.d.ts +10 -0
- package/libs/PanoMeasurePlugin/Model/index.js +61 -37
- package/libs/PanoMeasurePlugin/Model/line.d.ts +7 -1
- package/libs/PanoMeasurePlugin/Model/line.js +37 -22
- package/libs/PanoMeasurePlugin/Model/point.js +17 -12
- package/libs/PanoMeasurePlugin/Model/polygon.d.ts +14 -0
- package/libs/PanoMeasurePlugin/Model/polygon.js +44 -0
- package/libs/PanoMeasurePlugin/Model/polyline.d.ts +4 -0
- package/libs/PanoMeasurePlugin/Model/polyline.js +11 -3
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +8 -4
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +49 -37
- package/libs/PanoMeasurePlugin/Modules/GuideController.d.ts +16 -12
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +41 -39
- package/libs/PanoMeasurePlugin/Modules/Magnifier.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/index.d.ts +10 -3
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +123 -37
- package/libs/PanoMeasurePlugin/Modules/UIController/style.d.ts +0 -8
- package/libs/PanoMeasurePlugin/Modules/UIController/style.js +16 -24
- package/libs/PanoMeasurePlugin/index.js +73 -24
- package/libs/PanoMeasurePlugin/typings/data.d.ts +24 -0
- package/libs/PanoMeasurePlugin/typings/event.type.d.ts +17 -3
- package/libs/PanoMeasurePlugin/typings/index.d.ts +1 -1
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.d.ts +22 -0
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +50 -0
- package/libs/PanoMeasurePlugin/utils/dom/base.d.ts +29 -0
- package/libs/PanoMeasurePlugin/utils/dom/base.js +78 -0
- package/libs/PanoMeasurePlugin/utils/dom/distanceItem.d.ts +27 -0
- package/libs/PanoMeasurePlugin/utils/dom/distanceItem.js +63 -0
- package/libs/PanoMeasurePlugin/utils/generatePolygonGeometry.d.ts +6 -0
- package/libs/PanoMeasurePlugin/utils/generatePolygonGeometry.js +13 -0
- package/libs/PanoMeasurePlugin/utils/geometryUtil.d.ts +7 -0
- package/libs/PanoMeasurePlugin/utils/geometryUtil.js +39 -0
- package/libs/PanoMeasurePlugin/utils/isIntersecting.d.ts +15 -0
- package/libs/PanoMeasurePlugin/utils/isIntersecting.js +25 -0
- package/libs/PanoMeasurePlugin/utils/line.d.ts +2 -1
- package/libs/PanoMeasurePlugin/utils/ndc2Screen.d.ts +2 -1
- package/libs/PanoSpatialTagPlugin/Plugin.js +1 -1
- package/libs/PanoSpatialTagPlugin/index.js +1 -1
- package/libs/PanoTagPlugin/controller/TagCache.js +1 -1
- package/libs/PanoTagPlugin/controller/TagComputer.js +1 -1
- package/libs/PanoTagPlugin/controller/TagRender.js +1 -1
- package/libs/PanoTagPlugin/controller/TagUtil.js +1 -1
- package/libs/PanoTagPlugin/controller/index.d.ts +2 -1
- package/libs/PanoTagPlugin/controller/index.js +1 -1
- package/libs/PanoTagPlugin/index.js +1 -1
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +1 -1
- package/libs/PanoTagPlugin/typings/tag/TagInstance.d.ts +2 -1
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +0 -4
- package/libs/PanoVideoPlugin/Controller.js +1 -1
- package/libs/PanoVideoPlugin/index.js +1 -1
- package/libs/base/BasePlugin.d.ts +6 -3
- package/libs/base/BasePlugin.js +14 -11
- package/libs/base/BasePluginWithData.d.ts +2 -1
- package/libs/components/PaintBrush/style.d.ts +1 -1
- package/libs/components/PaintBrush/style.js +4 -4
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/index.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +1 -1
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +1 -1
- package/libs/index.js +144 -124
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +3 -7
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +29 -49
- package/libs/shared-utils/absoluteUrl.d.ts +5 -0
- package/libs/shared-utils/absoluteUrl.js +10 -0
- package/{dist/PanoMeasurePlugin/utils → libs/shared-utils}/getIntersectionFromEvent.d.ts +1 -1
- package/libs/{PanoMeasurePlugin/utils → shared-utils}/getPointFromHammerEvent.d.ts +1 -1
- package/libs/shared-utils/index.d.ts +1 -1
- package/libs/shared-utils/index.js +21 -20
- package/libs/shared-utils/isTouchDevice.d.ts +1 -0
- package/libs/shared-utils/isTouchDevice.js +4 -0
- package/libs/shared-utils/logger.js +2 -2
- package/libs/shared-utils/safeObj.d.ts +1 -0
- package/libs/shared-utils/safeObj.js +6 -0
- package/libs/shared-utils/three/IObject3D.d.ts +7 -0
- package/libs/shared-utils/three/IObject3D.js +25 -0
- package/libs/shared-utils/three/Magnifier.d.ts +5 -0
- package/libs/shared-utils/three/Magnifier.js +22 -14
- package/libs/shared-utils/three/PointSelector.d.ts +92 -0
- package/libs/shared-utils/three/PointSelector.js +187 -0
- package/libs/shared-utils/three/PointSelectorHelper.d.ts +41 -0
- package/libs/shared-utils/three/PointSelectorHelper.js +50 -0
- package/libs/shared-utils/three/centerPoint.js +1 -3
- package/libs/shared-utils/three/index.d.ts +1 -1
- package/libs/typings/typings.d.ts +4 -0
- package/libs/vendor/svelte/internal/index.js +392 -345
- package/package.json +4 -2
- package/dist/PanoMeasurePlugin/utils/distanceDom.d.ts +0 -30
- package/dist/shared-utils/isAbsoluteURL.d.ts +0 -1
- package/dist/shared-utils/three/FivePointSelector.d.ts +0 -36
- package/libs/PanoMeasurePlugin/utils/distanceDom.d.ts +0 -30
- package/libs/PanoMeasurePlugin/utils/distanceDom.js +0 -83
- package/libs/shared-utils/isAbsoluteURL.d.ts +0 -1
- package/libs/shared-utils/isAbsoluteURL.js +0 -6
- package/libs/shared-utils/three/FivePointSelector.d.ts +0 -36
- package/libs/shared-utils/three/FivePointSelector.js +0 -49
- /package/libs/{PanoMeasurePlugin/utils → shared-utils}/getIntersectionFromEvent.js +0 -0
- /package/libs/{PanoMeasurePlugin/utils → shared-utils}/getPointFromHammerEvent.js +0 -0
|
@@ -1,134 +1,134 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
function
|
|
3
|
-
|
|
1
|
+
import { SvelteComponent as D, init as G, safe_not_equal as X, append_styles as x, element as u, space as p, attr as c, set_style as k, insert as T, append as a, noop as y, detach as z, text as h, set_data as j } from "../../vendor/svelte/internal/index.js";
|
|
2
|
+
function P(i) {
|
|
3
|
+
x(i, "svelte-4qjwer", ".guide-line__tag.svelte-4qjwer.svelte-4qjwer{position:relative}.text-with-distance.svelte-4qjwer.svelte-4qjwer{display:flex;flex-direction:column;position:relative;padding:0.125rem 0.25rem;border-radius:0.125rem;background:linear-gradient(to top, rgba(147, 147, 147, 0.3), rgba(74, 74, 74, 0.3));box-shadow:0 0.125rem 0.5rem 0 rgba(0, 0, 0, 0.2)}.text-with-distance.svelte-4qjwer .border.svelte-4qjwer{position:absolute;top:-50%;right:-50%;bottom:-50%;left:-50%;padding:0.0625rem;border-radius:0.25rem;background:linear-gradient(to right, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.2));-webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);mask-composite:exclude;-webkit-mask-composite:xor;transform:scale(0.5)}.distance-and-name.svelte-4qjwer.svelte-4qjwer{display:flex;gap:0.1875rem}.distance.svelte-4qjwer.svelte-4qjwer{white-space:nowrap;font-size:0.625rem;line-height:0.875rem;color:#66afff}.name.svelte-4qjwer.svelte-4qjwer{opacity:0.6;font-size:0.625rem;line-height:0.875rem;white-space:nowrap;color:#ffffff}.line-name.svelte-4qjwer.svelte-4qjwer{color:#fff;white-space:nowrap;font-size:0.625rem;line-height:0.875rem}.guide-line__tag-point.svelte-4qjwer.svelte-4qjwer{position:absolute;left:50%;bottom:0.0625rem;width:0.4375rem;height:0.125rem;transform:translateX(-50%);background:#fff;border-radius:50%;opacity:0.5}.guide-line__tag-line.svelte-4qjwer.svelte-4qjwer{position:absolute;left:50%;bottom:0.0625rem;width:0.0625rem;height:1.875rem;transform:translateX(-50%);background:linear-gradient(to top, #fff, rgba(255, 255, 255, 0))}.guide-line__tag-content.svelte-4qjwer.svelte-4qjwer{position:absolute;left:-0.9375rem;bottom:1.9375rem;display:flex}.guide-line__tag-icon.svelte-4qjwer.svelte-4qjwer{width:1.875rem;height:1.875rem;background-size:100%}.guide-line__tag-text.svelte-4qjwer.svelte-4qjwer{box-sizing:content-box;height:0.875rem;width:-moz-max-content;width:max-content;margin-top:0.3125rem;transform:translateX(-0.1875rem);white-space:nowrap;font-size:0.625rem;line-height:0.875rem;border:solid transparent;border-width:0.125rem 0.5rem 0.125rem 0.375rem;border-image-slice:6 25 6 18 fill;color:#fff}");
|
|
4
4
|
}
|
|
5
|
-
function
|
|
6
|
-
let e,
|
|
5
|
+
function E(i) {
|
|
6
|
+
let e, r;
|
|
7
7
|
return {
|
|
8
8
|
c() {
|
|
9
|
-
e =
|
|
9
|
+
e = u("div"), r = h(
|
|
10
10
|
/*text*/
|
|
11
11
|
i[0]
|
|
12
|
-
),
|
|
12
|
+
), c(e, "class", "guide-line__tag-text svelte-4qjwer"), k(e, "border-image-source", `url(${/*text_background_url*/
|
|
13
13
|
i[6]})`);
|
|
14
14
|
},
|
|
15
15
|
m(l, n) {
|
|
16
|
-
T(l, e, n),
|
|
16
|
+
T(l, e, n), a(e, r);
|
|
17
17
|
},
|
|
18
18
|
p(l, n) {
|
|
19
19
|
n & /*text*/
|
|
20
|
-
1 &&
|
|
21
|
-
|
|
20
|
+
1 && j(
|
|
21
|
+
r,
|
|
22
22
|
/*text*/
|
|
23
23
|
l[0]
|
|
24
24
|
);
|
|
25
25
|
},
|
|
26
26
|
d(l) {
|
|
27
|
-
l &&
|
|
27
|
+
l && z(e);
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
|
-
function
|
|
32
|
-
let e,
|
|
31
|
+
function I(i) {
|
|
32
|
+
let e, r, l, n, v = (
|
|
33
33
|
/*i18n*/
|
|
34
34
|
i[5]("全程") + ""
|
|
35
|
-
), o, d,
|
|
35
|
+
), o, d, q = (
|
|
36
36
|
/*i18n*/
|
|
37
37
|
i[5]("米") + ""
|
|
38
|
-
),
|
|
38
|
+
), b, t, s, f, w, N, m = (
|
|
39
39
|
/*name*/
|
|
40
|
-
i[4] &&
|
|
40
|
+
i[4] && _(i)
|
|
41
41
|
);
|
|
42
42
|
return {
|
|
43
43
|
c() {
|
|
44
|
-
e =
|
|
44
|
+
e = u("div"), m && m.c(), r = p(), l = u("div"), n = u("span"), o = h(v), d = h(
|
|
45
45
|
/*distance*/
|
|
46
46
|
i[2]
|
|
47
|
-
),
|
|
47
|
+
), b = h(q), t = p(), s = u("span"), f = h(
|
|
48
48
|
/*text*/
|
|
49
49
|
i[0]
|
|
50
|
-
),
|
|
50
|
+
), w = p(), N = u("div"), c(n, "class", "distance svelte-4qjwer"), c(s, "class", "name svelte-4qjwer"), c(l, "class", "distance-and-name svelte-4qjwer"), c(N, "class", "border svelte-4qjwer"), c(e, "class", "text-with-distance svelte-4qjwer");
|
|
51
51
|
},
|
|
52
|
-
m(
|
|
53
|
-
T(
|
|
52
|
+
m(g, A) {
|
|
53
|
+
T(g, e, A), m && m.m(e, null), a(e, r), a(e, l), a(l, n), a(n, o), a(n, d), a(n, b), a(l, t), a(l, s), a(s, f), a(e, w), a(e, N);
|
|
54
54
|
},
|
|
55
|
-
p(
|
|
55
|
+
p(g, A) {
|
|
56
56
|
/*name*/
|
|
57
|
-
|
|
58
|
-
32 &&
|
|
59
|
-
|
|
60
|
-
4 &&
|
|
57
|
+
g[4] ? m ? m.p(g, A) : (m = _(g), m.c(), m.m(e, r)) : m && (m.d(1), m = null), A & /*i18n*/
|
|
58
|
+
32 && v !== (v = /*i18n*/
|
|
59
|
+
g[5]("全程") + "") && j(o, v), A & /*distance*/
|
|
60
|
+
4 && j(
|
|
61
61
|
d,
|
|
62
62
|
/*distance*/
|
|
63
|
-
|
|
64
|
-
),
|
|
65
|
-
32 &&
|
|
66
|
-
|
|
67
|
-
1 &&
|
|
63
|
+
g[2]
|
|
64
|
+
), A & /*i18n*/
|
|
65
|
+
32 && q !== (q = /*i18n*/
|
|
66
|
+
g[5]("米") + "") && j(b, q), A & /*text*/
|
|
67
|
+
1 && j(
|
|
68
68
|
f,
|
|
69
69
|
/*text*/
|
|
70
|
-
|
|
70
|
+
g[0]
|
|
71
71
|
);
|
|
72
72
|
},
|
|
73
|
-
d(
|
|
74
|
-
|
|
73
|
+
d(g) {
|
|
74
|
+
g && z(e), m && m.d();
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
77
|
}
|
|
78
|
-
function
|
|
79
|
-
let e,
|
|
78
|
+
function _(i) {
|
|
79
|
+
let e, r;
|
|
80
80
|
return {
|
|
81
81
|
c() {
|
|
82
|
-
e =
|
|
82
|
+
e = u("span"), r = h(
|
|
83
83
|
/*name*/
|
|
84
84
|
i[4]
|
|
85
|
-
),
|
|
85
|
+
), c(e, "class", "line-name svelte-4qjwer");
|
|
86
86
|
},
|
|
87
87
|
m(l, n) {
|
|
88
|
-
T(l, e, n),
|
|
88
|
+
T(l, e, n), a(e, r);
|
|
89
89
|
},
|
|
90
90
|
p(l, n) {
|
|
91
91
|
n & /*name*/
|
|
92
|
-
16 &&
|
|
93
|
-
|
|
92
|
+
16 && j(
|
|
93
|
+
r,
|
|
94
94
|
/*name*/
|
|
95
95
|
l[4]
|
|
96
96
|
);
|
|
97
97
|
},
|
|
98
98
|
d(l) {
|
|
99
|
-
l &&
|
|
99
|
+
l && z(e);
|
|
100
100
|
}
|
|
101
101
|
};
|
|
102
102
|
}
|
|
103
|
-
function
|
|
104
|
-
let e,
|
|
103
|
+
function Z(i) {
|
|
104
|
+
let e, r, l, n, v, o, d, q, b, t = (
|
|
105
105
|
/*text*/
|
|
106
106
|
i[0] && !/*distance*/
|
|
107
|
-
i[2] &&
|
|
107
|
+
i[2] && E(i)
|
|
108
108
|
), s = (
|
|
109
109
|
/*distance*/
|
|
110
|
-
i[2] &&
|
|
110
|
+
i[2] && I(i)
|
|
111
111
|
);
|
|
112
112
|
return {
|
|
113
113
|
c() {
|
|
114
|
-
e =
|
|
115
|
-
i[1]})`),
|
|
114
|
+
e = u("div"), r = u("div"), l = p(), n = u("div"), v = p(), o = u("div"), d = u("div"), q = p(), t && t.c(), b = p(), s && s.c(), c(r, "class", "guide-line__tag-point svelte-4qjwer"), c(n, "class", "guide-line__tag-line svelte-4qjwer"), c(d, "class", "guide-line__tag-icon svelte-4qjwer"), k(d, "background-image", `url(${/*icon_url*/
|
|
115
|
+
i[1]})`), c(o, "class", "guide-line__tag-content svelte-4qjwer"), c(e, "class", "guide-line__tag svelte-4qjwer"), k(
|
|
116
116
|
e,
|
|
117
117
|
"opacity",
|
|
118
118
|
/*opacity*/
|
|
119
119
|
i[3]
|
|
120
120
|
);
|
|
121
121
|
},
|
|
122
|
-
m(f,
|
|
123
|
-
T(f, e,
|
|
122
|
+
m(f, w) {
|
|
123
|
+
T(f, e, w), a(e, r), a(e, l), a(e, n), a(e, v), a(e, o), a(o, d), a(o, q), t && t.m(o, null), a(o, b), s && s.m(o, null);
|
|
124
124
|
},
|
|
125
|
-
p(f, [
|
|
126
|
-
|
|
125
|
+
p(f, [w]) {
|
|
126
|
+
w & /*icon_url*/
|
|
127
127
|
2 && k(d, "background-image", `url(${/*icon_url*/
|
|
128
128
|
f[1]})`), /*text*/
|
|
129
129
|
f[0] && !/*distance*/
|
|
130
|
-
f[2] ? t ? t.p(f,
|
|
131
|
-
f[2] ? s ? s.p(f,
|
|
130
|
+
f[2] ? t ? t.p(f, w) : (t = E(f), t.c(), t.m(o, b)) : t && (t.d(1), t = null), /*distance*/
|
|
131
|
+
f[2] ? s ? s.p(f, w) : (s = I(f), s.c(), s.m(o, null)) : s && (s.d(1), s = null), w & /*opacity*/
|
|
132
132
|
8 && k(
|
|
133
133
|
e,
|
|
134
134
|
"opacity",
|
|
@@ -136,28 +136,28 @@ function K(i) {
|
|
|
136
136
|
f[3]
|
|
137
137
|
);
|
|
138
138
|
},
|
|
139
|
-
i:
|
|
140
|
-
o:
|
|
139
|
+
i: y,
|
|
140
|
+
o: y,
|
|
141
141
|
d(f) {
|
|
142
|
-
f &&
|
|
142
|
+
f && z(e), t && t.d(), s && s.d();
|
|
143
143
|
}
|
|
144
144
|
};
|
|
145
145
|
}
|
|
146
|
-
function
|
|
147
|
-
let { text: l = "" } = e, { icon_url: n = "" } = e, { distance:
|
|
148
|
-
const
|
|
146
|
+
function K(i, e, r) {
|
|
147
|
+
let { text: l = "" } = e, { icon_url: n = "" } = e, { distance: v = 0 } = e, { opacity: o = 1 } = e, { name: d = "" } = e, { i18n: q = (t) => t } = e;
|
|
148
|
+
const b = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHUAAAA2CAMAAADOFiZMAAACEFBMVEUAAACIiIheXl5oaGh6enpsbGxiYmJ9fX1wcHBXV1eBgYFzc3NSUlKNjY2Dg4NOTk51dXVXV1dmZmZTU1N3d3dcXFyMjIyEhIRNTU2QkJC0tLS5ubnHx8fOzs6np6exsbHKysqoqKi9vb3U1NTPz8/Nzc2vr6/Dw8OysrK/v7/X19fS0tKurq62traqqqrJycmurq64uLifn5/Dw8O6urqQkJC6urro6Ojt7e3o6OjU1NS3t7fBwcGjo6Ozs7Orq6u1tbXAwMCurq6rq6vy8vLx8fHr6+vp6enZ2dnd3d3a2trX19fV1dW/v7/IyMihoaGampqVlZWLi4uCgoK+vr6urq7m5ubw8PDk5OTu7u7i4uLg4ODe3t7q6urS0tLi4uLOzs7e3t7Hx8fa2tqrq6vExMTAwMCnp6efn5+WlpaHh4ezs7OoqKiJiYm6urqZmZmurq59fX29vb23t7e4uLipqanp6enc3Nza2trW1tbT09Pm5ubj4+PQ0NDg4ODExMTCwsK7u7vBwcG8vLy5ubm8vLy+vr64uLiysrKdnZ3CwsJoaGisrKzHx8ekpKTExMTv7+/i4uLa2trm5ubk5OTLy8vKysrExMTQ0NDX19ecnJzT09N/f3+dnZ12dnaQkJCXl5etra3Pz8+4uLiXl5fGxsaqqqrr6+vQ0NDKysrNzc3W1takpKShoaGsrKysrKyduRZkAAAAsHRSTlMATE1NTExMTUxNTExMTExNTExMTU1MTU1MTICFc313fnl0iIWAe3h3aYqIgXx7eXZzcnFwaGggxLiog4J0dG9mZF82FMfEtK2pkYqKh3x4cm1rZmEmH8G/vry6trOxoZ2clpKOe3ptbWZjYmFgXFpaVlFPSDYlx7CspaSjoJ6akY6HfXt4bGpmY1xUU0g2LSzCuK6lopiWhoF3YmFaVlZUUU5KPyEJCcl/fXNdXFxZUIUrIQsAAAV6SURBVFjDvZj3VxNBEMePBBIOQgmEQGghISSASSBBUQFBVIpUEaR3aVJExN4F6fbee6//opPN2507E3P7fD4+b54z+935zt7lvPsBYbZ5lyXT7R5xms2ppaVpV615eVeuXL48PPzw4YPBwYsX+/vPnT1bW1t75u7p0729PT13urs7O9vbt2/ffurUp1OQ2ts7O7u77/T09PaevnvmTG3t2XPn+vsvDg4+GH5UVjl/SAjGe29La2vr5EFgm4+WlpYDgNfrbW7etQuuKDPTPTIy4nSa4bJ8lKYBV69arXmA1WpN81FamgqYzU6n0+12ZwI+qzPtyvDlR0dPCoGsecW4FEZcShwEyUDIGvtD+DcOZlrzFvcE3qylFXZ1cTqIgGk0K1xRSL84abaWtwl/8KM5kTiok04B2BpAPUWXAoGnQK3gn0xNW90ryDhpafXvJsYlJuoSdRCyTJHqBOxR9IvbUl1/PN5pL9tFR4gTJJmi7N+wl8qf7k33S+YQE0VRJwZz42RogDZcAxx+sTn1jSDho6VFBKAbp9K1XqfXi3oRgmSqQ2AGePziNpfs2GN2lV5Pp+IJkkwIrDFz+Y+Y90h/Yvtz+f0o1YGnc/lVXvshASk8IHUm6ZMIYhI6YAEyqyHkE/n8Kkuh5AX6ZVdBlypJpRJVIgTJ0IluEGCb1BDYCzWFx79h/yl5ZV3PVUSVAQIDFhCyLO/h9E9KfuOPriOqzUFjmRYYueOqTWLGfhPfHZcGrkOlgcAGskZdAV7/eIVA2eN6qZGA3Yhcxxozn3+mkD3ZQ64Z3EnQJEBouMB+Xr+68LpAuTZBOokDoPXfNIK85vZP5AqUreNqdYI6AUINkBrAtUatgaA67mEft38GvxRThWopOAFrBbj9kYXsa3z0mnrTsLAHe3yRzxGhjoBQ0BT848foqfONkT6FAAWrce3PeEpA5vZPsDf23aIhgpfIiEiIiH/mKftPfKJxTjaNv8bM6zlSzk5dmIsMDk7EGrMEbj+e+q5xLjoyOrQbGiCCaZh5/PgLzy8YiIrgNPmaZtQovP6J3ezNafTvxEfHQ2An8v/2K47hV4J0ExVBDbNCD4e/nH0lKj1+1RBvMEQboiEMUJI1BOmmGq0pVOP1z3nYF3G53EAIN4SHx4djNyxAkutQA1QnGeD2z3rY199RIZ+EtVxDPaDm9VdspYcWj65pteFaonIDBghpzeXyzNNTbyy8CpgCyCehjnvYx+uf9RTTU9cbo7SbRPmKQBnzaKMI2igthD8jVAvIuM/rXytjfyz4MFqBDgLWPGuA05/sqRQobaOzsBMbFQsRhaAWco/A6Z92FAuU446wWL+aHJWcHJtMOzEDwWrU+PyvHEcFRlkutELInT4NFiCRGqA6yQDWfH5jWdFegXLL8V3qDIsNIySHoRsWIGMN/wBY8/mXRosFxrrDCE20EwJzCGQ9XP7crBN46AdHbthmkPvluICccLzgchnDjBD/eqaxKOOtIKGyiEzDqSFOCt7D4X/dlHFDkNCWPu3fjTHGQBgpbI06TkeIpuQ37bbltAlSKstM/g6EdYcEr0jJv2rLfrZXkFKcPhVjMsWY0GGSrTn00H7TakbD11sChd7qa+gCSKdJVitpyvWLlab6uifsieKtLk1N7QZWtvpYXl4aGxsrAtIJBQVNWVlZOTkZGRm2z7bHW0q2lJRkZ2c3NOTn19fV19fn5zfAsmQL8Nhmg66cHOhvKigoSC/Iysk+vH9//jd2n8g6TG7yjbXZYCAMq6s7fBiah4aGLl0aGLhw4f758zuBmpq+vurq6h07dnR1dXTcrqqq2uejqup2R0dXF8jV1X19NTU1O3feu3f+/oWBgUtD++uePHtbLAThNzRClbi+VnseAAAAAElFTkSuQmCC";
|
|
149
149
|
return i.$$set = (t) => {
|
|
150
|
-
"text" in t &&
|
|
151
|
-
}, [l, n,
|
|
150
|
+
"text" in t && r(0, l = t.text), "icon_url" in t && r(1, n = t.icon_url), "distance" in t && r(2, v = t.distance), "opacity" in t && r(3, o = t.opacity), "name" in t && r(4, d = t.name), "i18n" in t && r(5, q = t.i18n);
|
|
151
|
+
}, [l, n, v, o, d, q, b];
|
|
152
152
|
}
|
|
153
|
-
class
|
|
153
|
+
class F extends D {
|
|
154
154
|
constructor(e) {
|
|
155
|
-
super(),
|
|
155
|
+
super(), G(
|
|
156
156
|
this,
|
|
157
157
|
e,
|
|
158
|
-
B,
|
|
159
158
|
K,
|
|
160
|
-
|
|
159
|
+
Z,
|
|
160
|
+
X,
|
|
161
161
|
{
|
|
162
162
|
text: 0,
|
|
163
163
|
icon_url: 1,
|
|
@@ -166,10 +166,10 @@ class O extends G {
|
|
|
166
166
|
name: 4,
|
|
167
167
|
i18n: 5
|
|
168
168
|
},
|
|
169
|
-
|
|
169
|
+
P
|
|
170
170
|
);
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
173
|
export {
|
|
174
|
-
|
|
174
|
+
F as default
|
|
175
175
|
};
|
|
@@ -50,7 +50,7 @@ import "../shared-utils/three/centerPoint.js";
|
|
|
50
50
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
51
51
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
52
52
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
53
|
-
import "../shared-utils/
|
|
53
|
+
import "../shared-utils/absoluteUrl.js";
|
|
54
54
|
import "../shared-utils/isTruelyObject.js";
|
|
55
55
|
import "./GuideLineModeItem/index.js";
|
|
56
56
|
import "../shared-utils/log.js";
|
|
@@ -55,7 +55,7 @@ import "../PanoTagPlugin/utils/planeNormal.js";
|
|
|
55
55
|
import "../PanoTagPlugin/utils/normalPositionToPositions.js";
|
|
56
56
|
import "../PanoTagPlugin/controller/TagCache.js";
|
|
57
57
|
import "../base/BasePlugin.js";
|
|
58
|
-
import "../shared-utils/
|
|
58
|
+
import "../shared-utils/absoluteUrl.js";
|
|
59
59
|
import "../vendor/svelte/store/index.js";
|
|
60
60
|
import "../vendor/svelte/internal/index.js";
|
|
61
61
|
import "../shared-utils/device.js";
|
|
@@ -53,7 +53,7 @@ import "../PanoTagPlugin/utils/planeNormal.js";
|
|
|
53
53
|
import "../PanoTagPlugin/utils/normalPositionToPositions.js";
|
|
54
54
|
import "../PanoTagPlugin/controller/TagCache.js";
|
|
55
55
|
import "../base/BasePlugin.js";
|
|
56
|
-
import "../shared-utils/
|
|
56
|
+
import "../shared-utils/absoluteUrl.js";
|
|
57
57
|
import "../vendor/svelte/store/index.js";
|
|
58
58
|
import "../vendor/svelte/internal/index.js";
|
|
59
59
|
import "../shared-utils/device.js";
|
|
@@ -21,7 +21,7 @@ import "../shared-utils/three/centerPoint.js";
|
|
|
21
21
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
22
22
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
23
23
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
24
|
-
import "../shared-utils/
|
|
24
|
+
import "../shared-utils/absoluteUrl.js";
|
|
25
25
|
import "../shared-utils/equal.js";
|
|
26
26
|
import "../shared-utils/isTruelyObject.js";
|
|
27
27
|
import "../CruisePlugin/Controller.js";
|
|
@@ -1,176 +1,176 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import { classnames as
|
|
3
|
-
function
|
|
4
|
-
|
|
1
|
+
import { SvelteComponent as C, init as O, safe_not_equal as B, append_styles as R, element as p, space as z, attr as c, null_to_empty as A, set_style as k, insert as j, append as g, listen as P, noop as I, detach as w, binding_callbacks as S, text as L, set_data as y } from "../vendor/svelte/internal/index.js";
|
|
2
|
+
import { classnames as _ } from "../vendor/classnames/index.js";
|
|
3
|
+
function x(l) {
|
|
4
|
+
R(l, "svelte-1jhufeh", `.item-label-item.svelte-1jhufeh.svelte-1jhufeh{position:absolute;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;animation:svelte-1jhufeh-fadeIn .3s ease-in}.item-label-item.fold.svelte-1jhufeh>.item-label-item__text-wrap.svelte-1jhufeh{visibility:hidden}.item-label-item.fold.svelte-1jhufeh>.item-label-item__bar.anchor.svelte-1jhufeh{visibility:hidden}.item-label-item.fold.svelte-1jhufeh>.item-label-item__bar.anchor.svelte-1jhufeh:after{visibility:visible}.item-label-item__text-wrap.svelte-1jhufeh.svelte-1jhufeh{height:-moz-fit-content;height:fit-content;padding:0.75rem 1.25rem 0.75rem 0.75rem;position:absolute;width:-moz-max-content;width:max-content;max-width:29.5625rem;min-height:5.75rem;background-image:linear-gradient(269deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.60) 49%, rgba(31, 38, 46, 0.70) 100%);border:0.09375rem solid rgba(255, 255, 255, .65);border-radius:0.1875rem;color:white;transform:translate(-50%, 0);display:flex;justify-content:flex-start;align-items:center;box-sizing:border-box;overflow:hidden;pointer-events:all}.item-label-item__custom.svelte-1jhufeh.svelte-1jhufeh{padding:0;max-width:unset;min-height:unset;background-image:unset;border:0;border-radius:0}.icon-wrap.svelte-1jhufeh.svelte-1jhufeh{width:4.25rem;height:100%;display:flex;justify-content:center;align-content:center}.icon.svelte-1jhufeh.svelte-1jhufeh{width:4.25rem;height:4.25rem;background-repeat:no-repeat;background-size:contain;background-position:center}.item-label-text.svelte-1jhufeh.svelte-1jhufeh{margin-left:0.75rem;padding-left:0.75rem;min-height:4.25rem;height:auto;display:flex;flex-flow:column;justify-content:space-around;align-content:flex-start;border-left:solid rgba(255, 255, 255, .2) 0.0625rem;border-top:solid rgba(255, 255, 255, .2) 0;border-right:solid rgba(255, 255, 255, .2) 0;border-bottom:solid rgba(255, 255, 255, .2) 0;pointer-events:auto}.item-model.svelte-1jhufeh.svelte-1jhufeh{white-space:nowrap;font-size:1.375rem;font-weight:bold;line-height:1.875rem}.item-name.svelte-1jhufeh.svelte-1jhufeh{height:auto;word-wrap:break-word;word-break:break-all;font-size:1.25rem;line-height:1.75rem}.item-label-item__bar.svelte-1jhufeh.svelte-1jhufeh{position:absolute;bottom:0;width:0.1875rem;background-image:linear-gradient(to bottom, white, rgba(255, 255, 255, 0));box-shadow:0 0.125rem 0.5rem 0 rgba(0, 0, 0, 0.20);pointer-events:none}.item-label-item__bar.anchor.svelte-1jhufeh.svelte-1jhufeh:after{content:'';position:absolute;bottom:0;width:1.5rem;height:1.5rem;background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAABcVBMVEUAAAAAAAD////////+/v45OTn////////39/fp6enPz8/7+/vw8PD+/v7x8fHc3NzHx8f////////+/v77+/vr6+v////7+/v5+fn////z8/P////////q6uqgoKD+/v79/f3m5ub+/v7////////////////39/f39/f////z8/P////t7e3s7Oz29vb////5+fn////h4eH////g4ODV1dX////////BwcH///////////+Ojo5zc3MlJSX////////////////////////7+/v////////////v7+/u7u7n5+f////39/f////09PT6+vr09PT+/v76+vr////5+fnv7+/09PTk5OT////////////////Jycn///++vr7///////+0tLT///9TU1P///8SEhL////////+/v76+vr////8/Pz39/ft7e3t7e36+vr////////X19fV1dX///+xsbF9fX1iYmL///////+K8mOEAAAAenRSTlMaAIDy8CD41cWRX9uk7Kl1VVEw6dWT/M/NvKyVkY475eWIgx0Z39rHv7axnZyZmIuKhn56emZjX1FEPTU0Kx4PCAX69fTgxcKkopWL7crJuri2sa6rnIyHhX54bVtZVU9NSUcsJSIcFROno6Hcwp+ekHVxbWhnRC8nDLc9s8oAAAOGSURBVEjHpdd3X9pAGAfwkBBDAoQmBJmWvUWWiIDIHoJb66x7a4d78Op7pBQ1J5DY33987vnyXEIu3CGy/0hvnDthM+l0hj3JScSudDKOdhNPpl1i8Ut624Gi6+trI3zW1tcdqGM7/SIC5/ZRR2SNJEm7JkHt7FAJjR18WIs40P3cAFxIOaIRna6ZOHxGunk+TDR1ukjUkSr0w86bcKShiz1OI4JMP8YAD9+4emM2Gm407IfIhzm0NxrhKNsLH4SvQ+RktyvUfZIMXYcPPsSFCcvY6EYW6ZPsxuiYZaLwAW5bDY70Da5paxjvm8d+UcjAUL/GzPtCnDF/mwFWhJ75Zs68x05gxxFRGQfa+RYXokHVCC4O4yOqYLTwBjNB+ncWEZnsbzrIvOLz4CW9g4jODn0ZPO/iZN0UmhaPp0Omq+Q/nLu6NO0hErJnurjKdTBzEdAhkqILXDAdbFkJ7EnDe4EVy198srpiwhE4X1RKDFOqviBwcNPK6gmPmeWlGDz+VdHqRPEVHo0tLTM8RpcX4G+flLe6kU/Cs1pYRnm8uriQhfoC+0ZDvbMLi6ttfO5fDCDCKFrvooAKAov+c4BZvy8EzaolCHRdIZ+fBThl9G0Ih1RCrBJWbPiMKYAZ409oMSqFWAktzJ9GBuDvRoVGOIQJMSas0CiM39u45v0M9tbaeLc6F5M+7dhcbRfgg+pcU/oNa85VDwDOzBtmpP9UKsN8BuCzeb1P+kPi08+fASyr6fVPUh/PJ72+xj/bZk5PSV0YlJ4z83iC4EipS5LkiAkeHxGcQerLwMARRzyW+QklhUgKpST8nXfYg+fHkjS89MPz0MFnhKdCSWpc8RBnPAZB3RUvLt7i3oob7f5juDzuikY81tjcHlcHg9xabdyUWDvF2ay3slecr1ptimNx9lhhs1bzXQxy5NZa6VMx9pS2Wt1H77cVjFartYvBdlDICDc0cbVa3Twd2NcOyuLwVqo+K1ebjgdcr0k+O1uXwThfl8vlhqm+99kASup5GINsYhhmG8d7UXzcBgo2e21cd9WlUll5/7G958ql8uxu7y0zS5SGSkOGBA51TRiGQAi232Y9v4kVQZGavpt6c6l3tLpNsc38gGOC01IeLg4Xi8NaLz1KkqO0VzvcTrFscYo4oLjiRAsKEXeJPRqxW0bsFWLGLVbiocyZSm5vbW0nU9BsIfyp/AGqAvfOkBaFawAAAABJRU5ErkJggg==');background-position:center;background-size:contain;transform:translate(-0.65625rem, 50%)}@keyframes svelte-1jhufeh-fadeIn{from{opacity:0
|
|
5
5
|
}to{opacity:1
|
|
6
6
|
}}`);
|
|
7
7
|
}
|
|
8
|
-
function
|
|
8
|
+
function V(l) {
|
|
9
9
|
let e, t, n, s = (
|
|
10
10
|
/*itemLabel*/
|
|
11
11
|
(l[0].code || /*itemLabel*/
|
|
12
12
|
l[0].id) + ""
|
|
13
|
-
),
|
|
13
|
+
), u, o, f, r = (
|
|
14
14
|
/*itemLabel*/
|
|
15
15
|
l[0].name + ""
|
|
16
|
-
),
|
|
16
|
+
), v, a = (
|
|
17
17
|
/*itemLabel*/
|
|
18
|
-
l[0].icon &&
|
|
18
|
+
l[0].icon && D(l)
|
|
19
19
|
);
|
|
20
20
|
return {
|
|
21
21
|
c() {
|
|
22
|
-
a && a.c(), e = z(), t =
|
|
22
|
+
a && a.c(), e = z(), t = p("div"), n = p("span"), u = L(s), o = z(), f = p("span"), v = L(r), c(n, "class", "item-model svelte-1jhufeh"), c(f, "class", "item-name svelte-1jhufeh"), c(t, "class", "item-label-text svelte-1jhufeh");
|
|
23
23
|
},
|
|
24
|
-
m(i,
|
|
25
|
-
a && a.m(i,
|
|
24
|
+
m(i, d) {
|
|
25
|
+
a && a.m(i, d), j(i, e, d), j(i, t, d), g(t, n), g(n, u), g(t, o), g(t, f), g(f, v);
|
|
26
26
|
},
|
|
27
|
-
p(i,
|
|
27
|
+
p(i, d) {
|
|
28
28
|
/*itemLabel*/
|
|
29
|
-
i[0].icon ? a ? a.p(i,
|
|
29
|
+
i[0].icon ? a ? a.p(i, d) : (a = D(i), a.c(), a.m(e.parentNode, e)) : a && (a.d(1), a = null), d & /*itemLabel*/
|
|
30
30
|
1 && s !== (s = /*itemLabel*/
|
|
31
31
|
(i[0].code || /*itemLabel*/
|
|
32
|
-
i[0].id) + "") &&
|
|
32
|
+
i[0].id) + "") && y(u, s), d & /*itemLabel*/
|
|
33
33
|
1 && r !== (r = /*itemLabel*/
|
|
34
|
-
i[0].name + "") &&
|
|
34
|
+
i[0].name + "") && y(v, r);
|
|
35
35
|
},
|
|
36
36
|
d(i) {
|
|
37
|
-
a && a.d(i), i &&
|
|
37
|
+
a && a.d(i), i && w(e), i && w(t);
|
|
38
38
|
}
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function E(l) {
|
|
42
42
|
let e;
|
|
43
43
|
return {
|
|
44
44
|
c() {
|
|
45
|
-
e =
|
|
45
|
+
e = p("div");
|
|
46
46
|
},
|
|
47
47
|
m(t, n) {
|
|
48
|
-
|
|
48
|
+
j(t, e, n), l[6](e);
|
|
49
49
|
},
|
|
50
50
|
p: I,
|
|
51
51
|
d(t) {
|
|
52
|
-
t &&
|
|
52
|
+
t && w(e), l[6](null);
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
55
|
}
|
|
56
|
-
function
|
|
57
|
-
let e, t, n, s,
|
|
56
|
+
function D(l) {
|
|
57
|
+
let e, t, n, s, u;
|
|
58
58
|
return {
|
|
59
59
|
c() {
|
|
60
|
-
e =
|
|
61
|
-
l[0].icon})`), c(e, "class", "icon-wrap svelte-
|
|
60
|
+
e = p("div"), t = p("div"), c(t, "class", "icon svelte-1jhufeh"), c(t, "style", n = `background-image: url(${/*itemLabel*/
|
|
61
|
+
l[0].icon})`), c(e, "class", "icon-wrap svelte-1jhufeh");
|
|
62
62
|
},
|
|
63
|
-
m(o,
|
|
64
|
-
|
|
63
|
+
m(o, f) {
|
|
64
|
+
j(o, e, f), g(e, t), s || (u = P(
|
|
65
65
|
e,
|
|
66
66
|
"click",
|
|
67
67
|
/*click_handler*/
|
|
68
68
|
l[7]
|
|
69
69
|
), s = !0);
|
|
70
70
|
},
|
|
71
|
-
p(o,
|
|
72
|
-
|
|
71
|
+
p(o, f) {
|
|
72
|
+
f & /*itemLabel*/
|
|
73
73
|
1 && n !== (n = `background-image: url(${/*itemLabel*/
|
|
74
74
|
o[0].icon})`) && c(t, "style", n);
|
|
75
75
|
},
|
|
76
76
|
d(o) {
|
|
77
|
-
o &&
|
|
77
|
+
o && w(e), s = !1, u();
|
|
78
78
|
}
|
|
79
79
|
};
|
|
80
80
|
}
|
|
81
|
-
function
|
|
82
|
-
let e, t, n, s,
|
|
83
|
-
function i(
|
|
84
|
-
return
|
|
81
|
+
function G(l) {
|
|
82
|
+
let e, t, n, s, u, o, f, r, v, a;
|
|
83
|
+
function i(h, m) {
|
|
84
|
+
return m & /*itemLabel*/
|
|
85
85
|
1 && (n = null), n == null && (n = typeof /*itemLabel*/
|
|
86
|
-
|
|
86
|
+
h[0].render == "function"), n ? E : V;
|
|
87
87
|
}
|
|
88
|
-
let
|
|
88
|
+
let d = i(l, -1), b = d(l);
|
|
89
89
|
return {
|
|
90
90
|
c() {
|
|
91
|
-
e =
|
|
91
|
+
e = p("div"), t = p("div"), b.c(), u = z(), o = p("div"), c(t, "class", s = A(_("item-label-item__text-wrap", {
|
|
92
92
|
"item-label-item__custom": typeof /*itemLabel*/
|
|
93
93
|
l[0].render == "function"
|
|
94
|
-
})) + " svelte-
|
|
95
|
-
l[0].strokeLength}px`), c(o, "class",
|
|
94
|
+
})) + " svelte-1jhufeh"), k(t, "bottom", `${/*itemLabel*/
|
|
95
|
+
l[0].strokeLength}px`), c(o, "class", f = A(_("item-label-item__bar", { anchor: (
|
|
96
96
|
/*anchorEnabled*/
|
|
97
97
|
l[1]
|
|
98
|
-
) })) + " svelte-
|
|
99
|
-
l[0].strokeLength}px`), c(e, "class", r =
|
|
98
|
+
) })) + " svelte-1jhufeh"), k(o, "height", `${/*itemLabel*/
|
|
99
|
+
l[0].strokeLength}px`), c(e, "class", r = A(_("item-label-item", { fold: (
|
|
100
100
|
/*itemLabel*/
|
|
101
101
|
l[0].isFold
|
|
102
|
-
) })) + " svelte-
|
|
102
|
+
) })) + " svelte-1jhufeh"), k(
|
|
103
103
|
e,
|
|
104
104
|
"z-index",
|
|
105
105
|
/*itemLabel*/
|
|
106
106
|
l[0].zIndex
|
|
107
|
-
),
|
|
107
|
+
), k(
|
|
108
108
|
e,
|
|
109
109
|
"transform",
|
|
110
110
|
/*itemLabel*/
|
|
111
111
|
l[0].transform
|
|
112
112
|
);
|
|
113
113
|
},
|
|
114
|
-
m(
|
|
115
|
-
|
|
114
|
+
m(h, m) {
|
|
115
|
+
j(h, e, m), g(e, t), b.m(t, null), g(e, u), g(e, o), v || (a = P(
|
|
116
116
|
t,
|
|
117
117
|
"click",
|
|
118
118
|
/*onClick*/
|
|
119
119
|
l[4]
|
|
120
|
-
),
|
|
120
|
+
), v = !0);
|
|
121
121
|
},
|
|
122
|
-
p(
|
|
123
|
-
|
|
124
|
-
1 && s !== (s =
|
|
122
|
+
p(h, [m]) {
|
|
123
|
+
d === (d = i(h, m)) && b ? b.p(h, m) : (b.d(1), b = d(h), b && (b.c(), b.m(t, null))), m & /*itemLabel*/
|
|
124
|
+
1 && s !== (s = A(_("item-label-item__text-wrap", {
|
|
125
125
|
"item-label-item__custom": typeof /*itemLabel*/
|
|
126
|
-
|
|
127
|
-
})) + " svelte-
|
|
128
|
-
1 &&
|
|
129
|
-
|
|
130
|
-
2 &&
|
|
126
|
+
h[0].render == "function"
|
|
127
|
+
})) + " svelte-1jhufeh") && c(t, "class", s), m & /*itemLabel*/
|
|
128
|
+
1 && k(t, "bottom", `${/*itemLabel*/
|
|
129
|
+
h[0].strokeLength}px`), m & /*anchorEnabled*/
|
|
130
|
+
2 && f !== (f = A(_("item-label-item__bar", { anchor: (
|
|
131
131
|
/*anchorEnabled*/
|
|
132
|
-
|
|
133
|
-
) })) + " svelte-
|
|
134
|
-
1 &&
|
|
135
|
-
|
|
136
|
-
1 && r !== (r =
|
|
132
|
+
h[1]
|
|
133
|
+
) })) + " svelte-1jhufeh") && c(o, "class", f), m & /*itemLabel*/
|
|
134
|
+
1 && k(o, "height", `${/*itemLabel*/
|
|
135
|
+
h[0].strokeLength}px`), m & /*itemLabel*/
|
|
136
|
+
1 && r !== (r = A(_("item-label-item", { fold: (
|
|
137
137
|
/*itemLabel*/
|
|
138
|
-
|
|
139
|
-
) })) + " svelte-
|
|
140
|
-
1 &&
|
|
138
|
+
h[0].isFold
|
|
139
|
+
) })) + " svelte-1jhufeh") && c(e, "class", r), m & /*itemLabel*/
|
|
140
|
+
1 && k(
|
|
141
141
|
e,
|
|
142
142
|
"z-index",
|
|
143
143
|
/*itemLabel*/
|
|
144
|
-
|
|
145
|
-
),
|
|
146
|
-
1 &&
|
|
144
|
+
h[0].zIndex
|
|
145
|
+
), m & /*itemLabel*/
|
|
146
|
+
1 && k(
|
|
147
147
|
e,
|
|
148
148
|
"transform",
|
|
149
149
|
/*itemLabel*/
|
|
150
|
-
|
|
150
|
+
h[0].transform
|
|
151
151
|
);
|
|
152
152
|
},
|
|
153
153
|
i: I,
|
|
154
154
|
o: I,
|
|
155
|
-
d(
|
|
156
|
-
|
|
155
|
+
d(h) {
|
|
156
|
+
h && w(e), b.d(), v = !1, a();
|
|
157
157
|
}
|
|
158
158
|
};
|
|
159
159
|
}
|
|
160
|
-
function
|
|
161
|
-
let { itemLabel: n } = e, { hooks: s } = e, { anchorEnabled:
|
|
162
|
-
function
|
|
160
|
+
function U(l, e, t) {
|
|
161
|
+
let { itemLabel: n } = e, { hooks: s } = e, { anchorEnabled: u } = e, { onIconClick: o } = e;
|
|
162
|
+
function f() {
|
|
163
163
|
s.emit("onLabelClick", n);
|
|
164
164
|
}
|
|
165
165
|
let r;
|
|
166
|
-
function
|
|
166
|
+
function v(i) {
|
|
167
167
|
S[i ? "unshift" : "push"](() => {
|
|
168
168
|
r = i, t(3, r);
|
|
169
169
|
});
|
|
170
170
|
}
|
|
171
171
|
const a = (i) => o(n);
|
|
172
172
|
return l.$$set = (i) => {
|
|
173
|
-
"itemLabel" in i && t(0, n = i.itemLabel), "hooks" in i && t(5, s = i.hooks), "anchorEnabled" in i && t(1,
|
|
173
|
+
"itemLabel" in i && t(0, n = i.itemLabel), "hooks" in i && t(5, s = i.hooks), "anchorEnabled" in i && t(1, u = i.anchorEnabled), "onIconClick" in i && t(2, o = i.onIconClick);
|
|
174
174
|
}, l.$$.update = () => {
|
|
175
175
|
if (l.$$.dirty & /*itemLabel, customElement*/
|
|
176
176
|
9 && typeof n.render == "function" && r && r.children.length === 0) {
|
|
@@ -179,33 +179,33 @@ function J(l, e, t) {
|
|
|
179
179
|
}
|
|
180
180
|
}, [
|
|
181
181
|
n,
|
|
182
|
-
|
|
182
|
+
u,
|
|
183
183
|
o,
|
|
184
184
|
r,
|
|
185
|
-
|
|
185
|
+
f,
|
|
186
186
|
s,
|
|
187
|
-
|
|
187
|
+
v,
|
|
188
188
|
a
|
|
189
189
|
];
|
|
190
190
|
}
|
|
191
|
-
class
|
|
191
|
+
class K extends C {
|
|
192
192
|
constructor(e) {
|
|
193
|
-
super(),
|
|
193
|
+
super(), O(
|
|
194
194
|
this,
|
|
195
195
|
e,
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
196
|
+
U,
|
|
197
|
+
G,
|
|
198
|
+
B,
|
|
199
199
|
{
|
|
200
200
|
itemLabel: 0,
|
|
201
201
|
hooks: 5,
|
|
202
202
|
anchorEnabled: 1,
|
|
203
203
|
onIconClick: 2
|
|
204
204
|
},
|
|
205
|
-
|
|
205
|
+
x
|
|
206
206
|
);
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
209
|
export {
|
|
210
|
-
|
|
210
|
+
K as default
|
|
211
211
|
};
|