@realsee/dnalogel 2.21.0-dev.0 → 2.21.0-dev.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/index.js +329 -329
- package/dist/CSS3DRenderPlugin/Controller.d.ts +4 -1
- package/dist/GuideLinePlugin/Controller.d.ts +5 -3
- package/dist/GuideLinePlugin/GuideLineItem.d.ts +1 -1
- package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +17 -0
- package/dist/GuideLinePlugin/utils/createLineGeometry.d.ts +7 -0
- package/dist/PanoMeasurePlugin/Components/Common/Exit.svelte.d.ts +1 -0
- package/dist/PanoMeasurePlugin/Components/Common/Switcher0.svelte.d.ts +1 -0
- package/dist/PanoMeasurePlugin/Components/Common/icons/index.d.ts +4 -0
- package/dist/PanoMeasurePlugin/Components/Controller0.svelte.d.ts +1 -0
- package/dist/PanoMeasurePlugin/Components/Tip.svelte.d.ts +1 -0
- package/dist/PanoMeasurePlugin/Controller/BaseController.d.ts +2 -0
- package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +17 -18
- package/dist/PanoMeasurePlugin/Controller/WatchController.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Controller/index.d.ts +6 -3
- package/dist/PanoMeasurePlugin/Model/area.d.ts +13 -1
- package/dist/PanoMeasurePlugin/Model/index.d.ts +1 -0
- package/dist/PanoMeasurePlugin/Model/line.d.ts +3 -0
- package/dist/PanoMeasurePlugin/Model/polygon.d.ts +4 -0
- package/dist/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +7 -3
- package/dist/PanoMeasurePlugin/Modules/GuideController.d.ts +16 -12
- package/dist/PanoMeasurePlugin/Modules/UIController/index.d.ts +9 -3
- package/dist/PanoMeasurePlugin/Modules/UIController/style.d.ts +0 -8
- package/dist/PanoMeasurePlugin/typings/data.d.ts +8 -2
- package/dist/PanoMeasurePlugin/typings/event.type.d.ts +8 -1
- package/dist/PanoMeasurePlugin/utils/dom/base.d.ts +4 -0
- package/dist/PanoMeasurePlugin/utils/geometryUtil.d.ts +1 -1
- package/dist/PanoMeasurePlugin/utils/ndc2Screen.d.ts +2 -1
- package/dist/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 +4 -1
- package/dist/components/PaintBrush/style.d.ts +1 -1
- package/dist/index.cjs.js +72 -68
- package/dist/index.js +8323 -7015
- package/dist/index.umd.js +65 -61
- package/dist/shared-utils/absoluteUrl.d.ts +5 -0
- package/dist/{PanoMeasurePlugin/utils → shared-utils}/getIntersectionFromEvent.d.ts +1 -1
- package/dist/{PanoMeasurePlugin/utils → shared-utils}/getPointFromHammerEvent.d.ts +1 -1
- package/dist/shared-utils/index.d.ts +1 -1
- package/dist/shared-utils/isTouchDevice.d.ts +1 -0
- package/dist/shared-utils/three/Magnifier.d.ts +2 -0
- package/dist/shared-utils/three/PointSelector.d.ts +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 +90 -34
- 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 +48 -27
- package/docs/classes/PanoMeasurePluginModel.html +44 -28
- package/docs/classes/PanoMeasurePluginPoint.html +17 -16
- package/docs/classes/PanoMeasurePluginPolyline.html +30 -29
- 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 +42 -21
- 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 +7 -6
- 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 +18 -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.js +1 -1
- package/libs/GuideLinePlugin/Components/Tag.js +137 -44
- package/libs/GuideLinePlugin/Controller.d.ts +5 -3
- package/libs/GuideLinePlugin/Controller.js +49 -45
- package/libs/GuideLinePlugin/GuideLineItem/index.js +1 -1
- package/libs/GuideLinePlugin/GuideLineItem.d.ts +1 -1
- package/libs/GuideLinePlugin/GuideLineItem.js +1 -1
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +150 -113
- package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +17 -0
- package/libs/GuideLinePlugin/GuideLineModeItem.js +1 -1
- package/libs/GuideLinePlugin/index.js +1 -1
- package/libs/GuideLinePlugin/utils/createLineGeometry.d.ts +7 -0
- package/libs/GuideLinePlugin/utils/createLineGeometry.js +19 -17
- package/libs/ItemLabelPlugin/ItemLabelItem.js +82 -82
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +77 -77
- package/libs/ModelTVVideoPlugin/Plugin.js +30 -29
- package/libs/ModelTVVideoPlugin/index.js +4 -3
- package/libs/Object3DHelperPlugin/Controller.js +1 -1
- package/libs/Object3DHelperPlugin/index.js +1 -1
- package/libs/PanoCompassPlugin/Controller.js +20 -20
- package/libs/PanoCompassPlugin/index.js +1 -1
- package/libs/PanoDoorLabelPlugin/BaseController.js +1 -1
- package/libs/PanoDoorLabelPlugin/Controller.js +1 -1
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +60 -60
- package/libs/PanoDoorLabelPlugin/index.js +1 -1
- package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +76 -40
- package/libs/PanoMeasurePlugin/Components/Common/Exit.js +42 -0
- package/libs/PanoMeasurePlugin/Components/Common/Exit.svelte.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +113 -117
- package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +71 -71
- package/libs/PanoMeasurePlugin/Components/Common/icons/index.d.ts +4 -0
- package/libs/PanoMeasurePlugin/Components/Common/icons/index.js +7 -0
- package/libs/PanoMeasurePlugin/Components/Controller0.js +188 -65
- package/libs/PanoMeasurePlugin/Components/Controller1.js +355 -108
- package/libs/PanoMeasurePlugin/Components/Tip.js +154 -0
- package/libs/PanoMeasurePlugin/Components/Tip.svelte.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Controller/BaseController.d.ts +2 -0
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +7 -6
- package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +17 -18
- package/libs/PanoMeasurePlugin/Controller/EditController.js +237 -126
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +5 -5
- package/libs/PanoMeasurePlugin/Controller/ShortcutKeyController.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/WatchController.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +15 -14
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +6 -3
- package/libs/PanoMeasurePlugin/Controller/index.js +107 -91
- package/libs/PanoMeasurePlugin/Model/area.d.ts +13 -1
- package/libs/PanoMeasurePlugin/Model/area.js +56 -37
- package/libs/PanoMeasurePlugin/Model/index.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Model/index.js +47 -39
- package/libs/PanoMeasurePlugin/Model/line.d.ts +3 -0
- package/libs/PanoMeasurePlugin/Model/line.js +27 -20
- package/libs/PanoMeasurePlugin/Model/point.js +17 -12
- package/libs/PanoMeasurePlugin/Model/polygon.d.ts +4 -0
- package/libs/PanoMeasurePlugin/Model/polygon.js +21 -15
- package/libs/PanoMeasurePlugin/Model/polyline.js +6 -6
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +7 -3
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +34 -24
- package/libs/PanoMeasurePlugin/Modules/GuideController.d.ts +16 -12
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +67 -40
- package/libs/PanoMeasurePlugin/Modules/UIController/index.d.ts +9 -3
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +120 -43
- package/libs/PanoMeasurePlugin/Modules/UIController/style.d.ts +0 -8
- package/libs/PanoMeasurePlugin/Modules/UIController/style.js +16 -24
- package/libs/PanoMeasurePlugin/index.js +57 -37
- package/libs/PanoMeasurePlugin/typings/data.d.ts +8 -2
- package/libs/PanoMeasurePlugin/typings/event.type.d.ts +8 -1
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +36 -15
- package/libs/PanoMeasurePlugin/utils/dom/base.d.ts +4 -0
- package/libs/PanoMeasurePlugin/utils/dom/base.js +37 -31
- package/libs/PanoMeasurePlugin/utils/dom/distanceItem.js +38 -23
- package/libs/PanoMeasurePlugin/utils/generatePolygonGeometry.js +3 -3
- package/libs/PanoMeasurePlugin/utils/geometryUtil.d.ts +1 -1
- package/libs/PanoMeasurePlugin/utils/geometryUtil.js +15 -13
- package/libs/PanoMeasurePlugin/utils/ndc2Screen.d.ts +2 -1
- package/libs/PanoSpatialTagPlugin/Plugin.js +1 -1
- package/libs/PanoSpatialTagPlugin/index.js +1 -1
- package/libs/PanoTagPlugin/controller/TagCache.js +1 -1
- package/libs/PanoTagPlugin/controller/TagComputer.js +1 -1
- package/libs/PanoTagPlugin/controller/TagRender.js +2 -2
- package/libs/PanoTagPlugin/controller/TagUtil.js +1 -1
- package/libs/PanoTagPlugin/controller/index.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 +4 -1
- package/libs/base/BasePlugin.js +14 -11
- package/libs/components/PaintBrush/style.d.ts +1 -1
- package/libs/components/PaintBrush/style.js +4 -4
- package/libs/floorplan/Components/RoomHighlight/Room.js +54 -54
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +8 -8
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/index.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +30 -28
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +1 -1
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +1 -1
- package/libs/index.js +130 -123
- package/libs/shared-utils/absoluteUrl.d.ts +5 -0
- package/libs/shared-utils/absoluteUrl.js +10 -0
- package/libs/{PanoMeasurePlugin/utils → shared-utils}/getIntersectionFromEvent.d.ts +1 -1
- package/libs/{PanoMeasurePlugin/utils → shared-utils}/getPointFromHammerEvent.d.ts +1 -1
- package/libs/shared-utils/index.d.ts +1 -1
- package/libs/shared-utils/index.js +21 -20
- package/libs/shared-utils/isTouchDevice.d.ts +1 -0
- package/libs/shared-utils/isTouchDevice.js +4 -0
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/Magnifier.d.ts +2 -0
- package/libs/shared-utils/three/Magnifier.js +11 -5
- package/libs/shared-utils/three/PointSelector.d.ts +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/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 +1 -1
- package/dist/shared-utils/isAbsoluteURL.d.ts +0 -1
- package/dist/shared-utils/three/FivePointSelector.d.ts +0 -36
- package/libs/shared-utils/isAbsoluteURL.d.ts +0 -1
- package/libs/shared-utils/isAbsoluteURL.js +0 -6
- package/libs/shared-utils/three/FivePointSelector.d.ts +0 -36
- package/libs/shared-utils/three/FivePointSelector.js +0 -49
- /package/libs/{PanoMeasurePlugin/utils → shared-utils}/getIntersectionFromEvent.js +0 -0
- /package/libs/{PanoMeasurePlugin/utils → shared-utils}/getPointFromHammerEvent.js +0 -0
|
@@ -18,12 +18,19 @@ declare class GuideLineModeItem {
|
|
|
18
18
|
get panoGroup(): number[];
|
|
19
19
|
/** 可展示的楼层 */
|
|
20
20
|
get visibleFloorIndexes(): number[];
|
|
21
|
+
/** THREE Curve 路径 */
|
|
22
|
+
get curvePath(): THREE.CurvePath<THREE.Vector3>;
|
|
23
|
+
/** THREE Curve 路径上的点 */
|
|
24
|
+
get curvePoints(): THREE.Vector3[];
|
|
25
|
+
name: string;
|
|
21
26
|
startTagContainer: GuideLineTagContainer;
|
|
22
27
|
endTagContainer: GuideLineTagContainer;
|
|
23
28
|
readonly mesh: THREE.Mesh<THREE.BufferGeometry, THREE.ShaderMaterial>;
|
|
24
29
|
private five;
|
|
25
30
|
private mode;
|
|
26
31
|
private path;
|
|
32
|
+
private _curvePath;
|
|
33
|
+
private _curvePoints;
|
|
27
34
|
private _panoGroup;
|
|
28
35
|
private skippedPositions;
|
|
29
36
|
private textureUrl;
|
|
@@ -47,6 +54,8 @@ declare class GuideLineModeItem {
|
|
|
47
54
|
private disposed;
|
|
48
55
|
private flowAnime;
|
|
49
56
|
private flickerAnime;
|
|
57
|
+
/** 缓存 panoGroup 中每个点距离起点的长度 */
|
|
58
|
+
private cacheLengths;
|
|
50
59
|
constructor(five: Five, options: {
|
|
51
60
|
mode: PluginType.GuideLineModeItemMode;
|
|
52
61
|
plugin: GuideLinePlugin;
|
|
@@ -90,6 +99,14 @@ declare class GuideLineModeItem {
|
|
|
90
99
|
setEndTag(tag: Tag | PluginType.ModelGuideLineTagData | null): void;
|
|
91
100
|
/** 闪烁 */
|
|
92
101
|
flicker(): void;
|
|
102
|
+
/** 求起点到 panoIndex 曲线长度
|
|
103
|
+
* @param index panoIndex 在 panoGroup 中的索引
|
|
104
|
+
*
|
|
105
|
+
* @description 为什么不使用 panoIndex 作为参数?
|
|
106
|
+
* - panoIndex 在一个曲线中可能出现多次,无法确定是哪一个。
|
|
107
|
+
*/
|
|
108
|
+
getLengthByPanoGroupIndex(index: number): number | void;
|
|
109
|
+
private getPanoGroupLengths;
|
|
93
110
|
private setTag;
|
|
94
111
|
/** 开始走点动画 */
|
|
95
112
|
private onWalkAnimationStart;
|
|
@@ -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";
|
|
@@ -19,5 +19,12 @@ interface LineGeometryOption {
|
|
|
19
19
|
export declare function createLineGeometry(options: LineGeometryOption): {
|
|
20
20
|
geometry: THREE.BufferGeometry;
|
|
21
21
|
maxU: number;
|
|
22
|
+
curvePath?: undefined;
|
|
23
|
+
curvePoints?: undefined;
|
|
24
|
+
} | {
|
|
25
|
+
geometry: THREE.BufferGeometry;
|
|
26
|
+
maxU: number;
|
|
27
|
+
curvePath: THREE.CurvePath<THREE.Vector3>;
|
|
28
|
+
curvePoints: THREE.Vector3[];
|
|
22
29
|
};
|
|
23
30
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as n from "three";
|
|
2
|
-
import { Vector3 as
|
|
2
|
+
import { Vector3 as x } from "three";
|
|
3
3
|
import { polylineNormals as G } from "../../vendor/polyline-normals/index.js";
|
|
4
4
|
import "../../vendor/polyline-miter-util/index.js";
|
|
5
5
|
import "../../vendor/gl-vec2/add.js";
|
|
@@ -12,33 +12,35 @@ function Q(e) {
|
|
|
12
12
|
const i = e.width, g = e.unitLength / i, c = i / 2, E = e.path;
|
|
13
13
|
if (E.length === 0)
|
|
14
14
|
return { geometry: new n.BufferGeometry(), maxU: 0 };
|
|
15
|
-
const
|
|
15
|
+
const u = new n.CurvePath();
|
|
16
16
|
E.forEach((t) => {
|
|
17
|
-
const
|
|
18
|
-
|
|
17
|
+
const m = I(t);
|
|
18
|
+
m && u.add(m);
|
|
19
19
|
});
|
|
20
|
-
const
|
|
21
|
-
|
|
20
|
+
const w = Math.ceil(u.getLength() * 100);
|
|
21
|
+
u.arcLengthDivisions = w;
|
|
22
|
+
const o = u.getPoints(w), y = o.length, L = G(o.map((t) => [t.x, t.z])), B = (y - 1) * z * M, d = 2 * y, C = d * X, U = d * k, r = new Uint32Array(B), s = new Float32Array(C), a = new Float32Array(U);
|
|
23
|
+
let N = 0, R = 0;
|
|
22
24
|
for (let t = 0; t < o.length; t++) {
|
|
23
|
-
const [
|
|
24
|
-
s[t * 6 + 0] =
|
|
25
|
-
const
|
|
26
|
-
s[t * 6 + 3] =
|
|
27
|
-
const
|
|
28
|
-
if (
|
|
29
|
-
const V = new n.Vector3().lerpVectors(
|
|
25
|
+
const [m, A] = L[t][0], T = o[t], { x: _, y: b, z: P } = T, f = new x(_ + m * c, b + 0.05, P + A * c);
|
|
26
|
+
s[t * 6 + 0] = f.x, s[t * 6 + 1] = f.y, s[t * 6 + 2] = f.z;
|
|
27
|
+
const h = new x(_ - m * c, b + 0.05, P - A * c);
|
|
28
|
+
s[t * 6 + 3] = h.x, s[t * 6 + 4] = h.y, s[t * 6 + 5] = h.z, N += t > 0 ? o[t - 1].clone().sub(o[t]).length() : 0;
|
|
29
|
+
const v = N / i / g;
|
|
30
|
+
if (R = v, a[t * 4 + 0] = 0, a[t * 4 + 1] = v, a[t * 4 + 2] = 1, a[t * 4 + 3] = v, e.skipPositions) {
|
|
31
|
+
const V = new n.Vector3().lerpVectors(f, h, 0.5);
|
|
30
32
|
if (e.skipPositions.some((F) => F.distanceTo(V) < 0.26))
|
|
31
33
|
continue;
|
|
32
34
|
}
|
|
33
35
|
t !== o.length - 1 && (r[t * 6 + 0] = t * 2 + 0, r[t * 6 + 1] = t * 2 + 2, r[t * 6 + 2] = t * 2 + 1, r[t * 6 + 3] = t * 2 + 2, r[t * 6 + 4] = t * 2 + 3, r[t * 6 + 5] = t * 2 + 1);
|
|
34
36
|
}
|
|
35
|
-
const
|
|
36
|
-
return
|
|
37
|
+
const l = new n.BufferGeometry();
|
|
38
|
+
return l.setAttribute("position", new n.BufferAttribute(s, 3)), l.setAttribute("uv", new n.BufferAttribute(a, 2)), l.setIndex(new n.BufferAttribute(r, 1)), { geometry: l, maxU: R, curvePath: u, curvePoints: o };
|
|
37
39
|
}
|
|
38
40
|
function I(e) {
|
|
39
41
|
if (O(e)) {
|
|
40
|
-
const i = [e.closed, e.curve_type, e.tension],
|
|
41
|
-
return new n.CatmullRomCurve3(
|
|
42
|
+
const i = [e.closed, e.curve_type, e.tension], p = e.points.map((c) => new n.Vector3().fromArray(c));
|
|
43
|
+
return new n.CatmullRomCurve3(p, ...i);
|
|
42
44
|
}
|
|
43
45
|
}
|
|
44
46
|
function O(e) {
|
|
@@ -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
|
};
|