@realsee/dnalogel 3.0.0-15 → 3.0.0-17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +4 -4
- package/dist/index.js +30 -31
- package/dist/index.umd.js +4 -4
- package/dist/shared-utils/five/FiveDomEvents.d.ts +1 -0
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +30 -30
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +31 -31
- package/docs/classes/CSS3DRender.html +30 -30
- package/docs/classes/CruisePluginController.html +25 -25
- package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
- package/docs/classes/Magnifier.html +19 -19
- package/docs/classes/ModelRoomLabelController.html +10 -10
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +14 -14
- package/docs/classes/PanoMeasurePluginLine.html +26 -26
- package/docs/classes/PanoMeasurePluginModel.html +26 -26
- package/docs/classes/PanoMeasurePluginPoint.html +10 -10
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +44 -44
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.Interval.html +11 -11
- package/docs/classes/Util.LineSegments.html +7 -7
- package/docs/classes/Util.Magnifier.html +19 -19
- package/docs/classes/Util.Object3D.html +7 -7
- package/docs/classes/Util.PointDomHelper.html +10 -10
- package/docs/classes/Util.PointHelper.html +10 -10
- package/docs/classes/Util.PointSelectorHelper.html +15 -15
- package/docs/classes/Util.Rectangle.html +12 -12
- package/docs/enums/CameraMovementEffect.html +6 -6
- package/docs/enums/ContentType.html +19 -19
- package/docs/enums/DIRECTION.html +8 -8
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/DimensionType.html +6 -6
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/PaintBrushTypeEnum.html +7 -7
- package/docs/enums/PointType.html +6 -6
- package/docs/enums/Rotation.html +7 -7
- package/docs/functions/AreaMakerPlugin.html +4 -4
- package/docs/functions/CSS3DRenderPlugin.html +3 -3
- package/docs/functions/CameraMovementPlugin.html +3 -3
- package/docs/functions/CruisePlugin.html +3 -3
- package/docs/functions/CurrentPanoImagePlugin.html +3 -3
- package/docs/functions/GuideLinePlugin.html +4 -4
- package/docs/functions/ItemLabelPlugin.html +3 -3
- package/docs/functions/MapviewFloorplanPlugin.html +3 -3
- package/docs/functions/ModelChassisCompassPlugin.html +3 -3
- package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
- package/docs/functions/ModelFloorplanPlugin.html +3 -3
- package/docs/functions/ModelItemLabelPlugin.html +3 -3
- package/docs/functions/ModelRoomLabelPlugin.html +3 -3
- package/docs/functions/ModelTVVideoPlugin.html +3 -3
- package/docs/functions/ModelViewPlugin.html +3 -3
- package/docs/functions/Object3DHelperPlugin.html +3 -3
- package/docs/functions/PanoCompassPlugin.html +3 -3
- package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
- package/docs/functions/PanoDoorLabelPlugin.html +3 -3
- package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
- package/docs/functions/PanoMeasurePlugin.html +3 -3
- package/docs/functions/PanoRulerPlugin.html +3 -3
- package/docs/functions/PanoRulerProPlugin.html +3 -3
- package/docs/functions/PanoSpatialTagPlugin.html +3 -3
- package/docs/functions/PanoTagPlugin.html +3 -3
- package/docs/functions/PanoVideoPlugin.html +3 -3
- package/docs/functions/PipelinePlugin.html +3 -3
- package/docs/functions/TopviewFloorplanPlugin.html +3 -3
- package/docs/functions/Util.absoluteUrl.html +4 -4
- package/docs/functions/Util.checkFiveModelLoaded.html +4 -4
- package/docs/functions/Util.equal.html +4 -4
- package/docs/functions/Util.getCoordsFromClient.html +4 -4
- package/docs/functions/Util.getCoordsFromElement.html +4 -4
- package/docs/functions/Util.getFrameTime.html +4 -4
- package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
- package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
- package/docs/functions/Util.isAbsoluteURL.html +4 -4
- package/docs/functions/Util.isModelLike.html +4 -4
- package/docs/functions/Util.isNil.html +4 -4
- package/docs/functions/Util.isPanoramaLike.html +4 -4
- package/docs/functions/Util.nextFrame.html +4 -4
- package/docs/functions/Util.notNil.html +4 -4
- package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
- package/docs/functions/Util.tweenProgress.html +4 -4
- package/docs/functions/Util.uuid.html +4 -4
- package/docs/functions/pluginFlag.html +4 -4
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.Config.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +14 -14
- package/docs/interfaces/AreaMakerPluginType.Params.html +6 -6
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +8 -8
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +7 -7
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.State.html +7 -7
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
- package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
- package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
- package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
- package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +5 -5
- package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +10 -10
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +11 -11
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +6 -6
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +5 -5
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -7
- package/docs/interfaces/EventMap.html +14 -14
- package/docs/interfaces/FloorplanBounding.html +7 -7
- package/docs/interfaces/FloorplanData.html +9 -9
- package/docs/interfaces/FloorplanEntrance.html +10 -10
- package/docs/interfaces/FloorplanExtraObject.html +9 -9
- package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
- package/docs/interfaces/FloorplanFloorData.html +8 -8
- package/docs/interfaces/FloorplanImagePosition.html +6 -6
- package/docs/interfaces/FloorplanObserver.html +8 -8
- package/docs/interfaces/FloorplanOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanPosition.html +6 -6
- package/docs/interfaces/FloorplanRoomItem.html +12 -12
- package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
- package/docs/interfaces/FloorplanServerBounding.html +7 -7
- package/docs/interfaces/FloorplanServerComputedData.html +9 -9
- package/docs/interfaces/FloorplanServerData.html +6 -6
- package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
- package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
- package/docs/interfaces/FloorplanServerEntrance.html +10 -10
- package/docs/interfaces/FloorplanServerFloorData.html +8 -8
- package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
- package/docs/interfaces/FloorplanServerObserver.html +8 -8
- package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanServerPosition.html +6 -6
- package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
- package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +5 -5
- package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
- package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
- package/docs/interfaces/HelperOffset.html +7 -7
- package/docs/interfaces/ImagePlaneGroup.html +5 -5
- package/docs/interfaces/ItemLabelPluginData.html +5 -5
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
- package/docs/interfaces/MinMax.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
- package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
- package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
- package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
- package/docs/interfaces/ModelViewPluginExportType.html +10 -10
- package/docs/interfaces/Object3DHelperState.html +7 -7
- package/docs/interfaces/ObjectHelperControllers.html +8 -8
- package/docs/interfaces/PaintBrushAction.html +11 -11
- package/docs/interfaces/PaintBrushConfigs.html +11 -11
- package/docs/interfaces/PaintBrushState.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
- package/docs/interfaces/PanoMeasureParameterType.html +15 -15
- package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
- package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
- package/docs/interfaces/PanoRulerProPluginState.html +7 -7
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
- package/docs/interfaces/Point.html +7 -7
- package/docs/interfaces/Room.html +8 -8
- package/docs/interfaces/RoomInfo.html +6 -6
- package/docs/interfaces/RoomLabel.html +13 -13
- package/docs/interfaces/RoomRules.html +4 -4
- package/docs/interfaces/Rooms.html +4 -4
- package/docs/interfaces/Scissor.html +8 -8
- package/docs/interfaces/State.html +7 -7
- package/docs/interfaces/TagCacheInterface.html +11 -11
- package/docs/interfaces/TagConfig.html +13 -13
- package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
- package/docs/interfaces/TagIconUrl.html +11 -11
- package/docs/interfaces/TagObjectGroup.html +5 -5
- package/docs/interfaces/TagStyle.html +5 -5
- package/docs/interfaces/Tags.html +8 -8
- package/docs/interfaces/TemporaryState.html +5 -5
- package/docs/interfaces/Util.MagnifierParameter.html +10 -10
- package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
- package/docs/interfaces/Util.PointIntersection.html +7 -7
- package/docs/modules/AreaMakerPluginType.html +4 -4
- package/docs/modules/CruisePluginTypes.html +4 -4
- package/docs/modules/CurrentPanoImagePluginType.html +4 -4
- package/docs/modules/GuideLineItem.html +4 -4
- package/docs/modules/GuideLineModeItem.html +4 -4
- package/docs/modules/GuideLinePluginType.html +4 -4
- package/docs/modules/PanoVideoPluginType.html +4 -4
- package/docs/modules/Util.html +4 -4
- package/docs/modules.html +4 -4
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +4 -4
- package/docs/types/AreaMakerPluginType.PluginData.html +4 -4
- package/docs/types/AreaMakerPluginType.ServerData.html +4 -4
- package/docs/types/ArrayPosition.html +4 -4
- package/docs/types/AudioAppearance.html +4 -4
- package/docs/types/AudioTagTypeConfigKey.html +4 -4
- package/docs/types/CSS3DRenderExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
- package/docs/types/ClassFunctionParameters.html +4 -4
- package/docs/types/Color.html +4 -4
- package/docs/types/ContentTypeConfigKey.html +4 -4
- package/docs/types/ContentTypeConfigKeySplit.html +4 -4
- package/docs/types/ContentTypeMap.html +4 -4
- package/docs/types/Create3DDomContainerReturnType.html +4 -4
- package/docs/types/Create3DElementReturnType.html +4 -4
- package/docs/types/CruisePluginExportType.html +4 -4
- package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
- package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
- package/docs/types/CurrentPanoImagePluginExportType.html +4 -4
- package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
- package/docs/types/DeprecatedTagProperty.html +4 -4
- package/docs/types/Direction-1.html +4 -4
- package/docs/types/Direction4.html +4 -4
- package/docs/types/ElementRenderer.html +4 -4
- package/docs/types/FloorplanRuleLabels.html +4 -4
- package/docs/types/FloorplanServerRuleLabels.html +4 -4
- package/docs/types/GuideLinePluginExportType.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
- package/docs/types/GuideLinePluginType.PathItem.html +4 -4
- package/docs/types/GuideLinePluginType.PluginData.html +4 -4
- package/docs/types/HelperEventMap.html +4 -4
- package/docs/types/LoadTagConfig.html +4 -4
- package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/MediaData.html +4 -4
- package/docs/types/MediaStore.html +4 -4
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
- package/docs/types/ModelId.html +4 -4
- package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
- package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
- package/docs/types/MoveArgs.html +4 -4
- package/docs/types/MoveOpts.html +4 -4
- package/docs/types/Object3DHelperEventMap.html +4 -4
- package/docs/types/ObjectFit.html +4 -4
- package/docs/types/PaintBrushEventMap.html +4 -4
- package/docs/types/PanoCompassPluginData.html +4 -4
- package/docs/types/PanoCompassPluginExportType.html +4 -4
- package/docs/types/PanoCompassPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
- package/docs/types/PanoIndex.html +4 -4
- package/docs/types/PanoMeasurePluginEvent.html +4 -4
- package/docs/types/PanoMeasureReturnType.html +4 -4
- package/docs/types/PanoSpatialTagPluginId.html +4 -4
- package/docs/types/PanoTagPluginExportInterface.html +4 -4
- package/docs/types/PanoTagPluginParamsInterface.html +4 -4
- package/docs/types/PanoVideoPluginParameterType.html +4 -4
- package/docs/types/PanoVideoPluginReturnType.html +4 -4
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
- package/docs/types/PipelinePluginParameterType.html +4 -4
- package/docs/types/PipelinePluginReturnType.html +4 -4
- package/docs/types/PlaneTag.html +4 -4
- package/docs/types/Point2DTag.html +4 -4
- package/docs/types/Point3DTag.html +4 -4
- package/docs/types/PointTag.html +4 -4
- package/docs/types/PointTagInstance.html +4 -4
- package/docs/types/Position.html +4 -4
- package/docs/types/RotateArgs.html +4 -4
- package/docs/types/RotateOpts.html +4 -4
- package/docs/types/RuleLabelsKey.html +4 -4
- package/docs/types/RuleLabelsValue.html +4 -4
- package/docs/types/StickType.html +4 -4
- package/docs/types/Tag.html +4 -4
- package/docs/types/Tag2D.html +4 -4
- package/docs/types/Tag3D.html +4 -4
- package/docs/types/TagConfigByKey.html +4 -4
- package/docs/types/TagContentType.html +4 -4
- package/docs/types/TagDimensionType.html +4 -4
- package/docs/types/TagElement.html +4 -4
- package/docs/types/TagEvents.html +4 -4
- package/docs/types/TagGLTFObject.html +4 -4
- package/docs/types/TagHooks.html +4 -4
- package/docs/types/TagId.html +4 -4
- package/docs/types/TagInstance.html +4 -4
- package/docs/types/TagPointType.html +4 -4
- package/docs/types/TagRendererMap.html +4 -4
- package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/WorkCode.html +4 -4
- package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
- package/docs/variables/PLUGIN.html +4 -4
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
- package/docs/variables/ROOM_TYPE_MAP.html +4 -4
- package/docs/variables/defaultGlobalConfig.html +4 -4
- package/docs/variables/itemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
- package/libs/PanoTagPlugin/Components/TagItem.js +56 -56
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/five/FiveDomEvents.d.ts +1 -0
- package/libs/shared-utils/five/FiveDomEvents.js +71 -72
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SvelteComponent as O, init as Q, safe_not_equal as U, append_styles as W, element as
|
|
1
|
+
import { SvelteComponent as O, init as Q, safe_not_equal as U, append_styles as W, element as P, space as X, attr as c, null_to_empty as R, set_style as v, toggle_class as b, insert as C, append as V, transition_out as y, check_outros as B, transition_in as w, detach as M, getContext as Y, group_outros as E, noop as S, create_component as H, mount_component as J, destroy_component as K } from "../../vendor/svelte/internal/index.js";
|
|
2
2
|
import Z from "./Tag/index.js";
|
|
3
3
|
import "three";
|
|
4
4
|
import { noTypecheck as F } from "../utils/noTypecheck.js";
|
|
@@ -92,22 +92,22 @@ import "./Common/Icon/Icon.js";
|
|
|
92
92
|
import "../utils/getImageInfo.js";
|
|
93
93
|
import "./Tag/CustomTag.js";
|
|
94
94
|
function $(i) {
|
|
95
|
-
W(i, "svelte-
|
|
95
|
+
W(i, "svelte-ua9upj", ".tag.withAnimation.svelte-ua9upj{transition:opacity 0.2s linear}.tag.hide.svelte-ua9upj{opacity:0;pointer-events:none}.tag.hide.svelte-ua9upj *{pointer-events:none !important}.tag.unClickable.svelte-ua9upj{pointer-events:none !important}.tag.unClickable.svelte-ua9upj *{pointer-events:none !important}.tag.disable.svelte-ua9upj{display:none}.wrapper.svelte-ua9upj{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto}");
|
|
96
96
|
}
|
|
97
97
|
function tt(i) {
|
|
98
98
|
let e;
|
|
99
99
|
return {
|
|
100
100
|
c() {
|
|
101
|
-
e =
|
|
101
|
+
e = P("div"), c(e, "data-info", "tag point is disable");
|
|
102
102
|
},
|
|
103
103
|
m(t, o) {
|
|
104
|
-
|
|
104
|
+
C(t, e, o);
|
|
105
105
|
},
|
|
106
106
|
p: S,
|
|
107
107
|
i: S,
|
|
108
108
|
o: S,
|
|
109
109
|
d(t) {
|
|
110
|
-
t &&
|
|
110
|
+
t && M(e);
|
|
111
111
|
}
|
|
112
112
|
};
|
|
113
113
|
}
|
|
@@ -124,10 +124,10 @@ function et(i) {
|
|
|
124
124
|
J(e, o, n), t = !0;
|
|
125
125
|
},
|
|
126
126
|
p(o, n) {
|
|
127
|
-
const
|
|
127
|
+
const l = {};
|
|
128
128
|
n & /*tag*/
|
|
129
|
-
2 && (
|
|
130
|
-
o[1]), e.$set(
|
|
129
|
+
2 && (l.tag = /*tag*/
|
|
130
|
+
o[1]), e.$set(l);
|
|
131
131
|
},
|
|
132
132
|
i(o) {
|
|
133
133
|
t || (w(e.$$.fragment, o), t = !0);
|
|
@@ -144,16 +144,16 @@ function it(i) {
|
|
|
144
144
|
let e;
|
|
145
145
|
return {
|
|
146
146
|
c() {
|
|
147
|
-
e =
|
|
147
|
+
e = P("div"), c(e, "data-info", "tag content is disable");
|
|
148
148
|
},
|
|
149
149
|
m(t, o) {
|
|
150
|
-
|
|
150
|
+
C(t, e, o);
|
|
151
151
|
},
|
|
152
152
|
p: S,
|
|
153
153
|
i: S,
|
|
154
154
|
o: S,
|
|
155
155
|
d(t) {
|
|
156
|
-
t &&
|
|
156
|
+
t && M(e);
|
|
157
157
|
}
|
|
158
158
|
};
|
|
159
159
|
}
|
|
@@ -198,22 +198,22 @@ function ot(i) {
|
|
|
198
198
|
J(e, o, n), t = !0;
|
|
199
199
|
},
|
|
200
200
|
p(o, n) {
|
|
201
|
-
const
|
|
201
|
+
const l = {};
|
|
202
202
|
n & /*mediaStore*/
|
|
203
|
-
4 && (
|
|
203
|
+
4 && (l.mediaStore = /*mediaStore*/
|
|
204
204
|
o[2]), n & /*withAnimation*/
|
|
205
|
-
1 && (
|
|
205
|
+
1 && (l.withAnimation = /*withAnimation*/
|
|
206
206
|
o[0]), n & /*tag*/
|
|
207
|
-
2 && (
|
|
207
|
+
2 && (l.tag = F(
|
|
208
208
|
/*tag*/
|
|
209
209
|
o[1]
|
|
210
210
|
)), n & /*state*/
|
|
211
|
-
16 && (
|
|
211
|
+
16 && (l.state = /*state*/
|
|
212
212
|
o[4]), n & /*temporaryState*/
|
|
213
|
-
32 && (
|
|
213
|
+
32 && (l.temporaryState = /*temporaryState*/
|
|
214
214
|
o[5]), n & /*renderMap*/
|
|
215
|
-
8 && (
|
|
216
|
-
o[3]), e.$set(
|
|
215
|
+
8 && (l.renderMap = /*renderMap*/
|
|
216
|
+
o[3]), e.$set(l);
|
|
217
217
|
},
|
|
218
218
|
i(o) {
|
|
219
219
|
t || (w(e.$$.fragment, o), t = !0);
|
|
@@ -227,7 +227,7 @@ function ot(i) {
|
|
|
227
227
|
};
|
|
228
228
|
}
|
|
229
229
|
function rt(i) {
|
|
230
|
-
let e, t, o, n,
|
|
230
|
+
let e, t, o, n, l, f, u, g, k, s;
|
|
231
231
|
const T = [et, tt], d = [];
|
|
232
232
|
function a(r, p) {
|
|
233
233
|
return (
|
|
@@ -236,21 +236,21 @@ function rt(i) {
|
|
|
236
236
|
);
|
|
237
237
|
}
|
|
238
238
|
o = a(i), n = d[o] = T[o](i);
|
|
239
|
-
const
|
|
240
|
-
function
|
|
239
|
+
const j = [ot, it], _ = [];
|
|
240
|
+
function A(r, p) {
|
|
241
241
|
return (
|
|
242
242
|
/*haveContent*/
|
|
243
243
|
r[13] ? 0 : 1
|
|
244
244
|
);
|
|
245
245
|
}
|
|
246
|
-
return f =
|
|
246
|
+
return f = A(i), u = _[f] = j[f](i), {
|
|
247
247
|
c() {
|
|
248
|
-
e =
|
|
248
|
+
e = P("div"), t = P("div"), n.c(), l = X(), u.c(), c(t, "class", g = R(G(
|
|
249
249
|
"wrapper",
|
|
250
250
|
/*tag*/
|
|
251
251
|
i[1].className ? `${/*tag*/
|
|
252
252
|
i[1].className}__wrapper` : void 0
|
|
253
|
-
)) + " svelte-
|
|
253
|
+
)) + " svelte-ua9upj"), c(
|
|
254
254
|
t,
|
|
255
255
|
"data-tag-unfolded",
|
|
256
256
|
/*unfolded*/
|
|
@@ -271,7 +271,7 @@ function rt(i) {
|
|
|
271
271
|
"top",
|
|
272
272
|
/*top*/
|
|
273
273
|
i[8]
|
|
274
|
-
), c(e, "class", "tag svelte-
|
|
274
|
+
), c(e, "class", "tag svelte-ua9upj"), c(
|
|
275
275
|
e,
|
|
276
276
|
"data-tag-id",
|
|
277
277
|
/*id*/
|
|
@@ -304,35 +304,35 @@ function rt(i) {
|
|
|
304
304
|
);
|
|
305
305
|
},
|
|
306
306
|
m(r, p) {
|
|
307
|
-
|
|
307
|
+
C(r, e, p), V(e, t), d[o].m(t, null), V(t, l), _[f].m(t, null), s = !0;
|
|
308
308
|
},
|
|
309
309
|
p(r, [p]) {
|
|
310
310
|
let m = o;
|
|
311
311
|
o = a(r), o === m ? d[o].p(r, p) : (E(), y(d[m], 1, 1, () => {
|
|
312
312
|
d[m] = null;
|
|
313
|
-
}), B(), n = d[o], n ? n.p(r, p) : (n = d[o] = T[o](r), n.c()), w(n, 1), n.m(t,
|
|
313
|
+
}), B(), n = d[o], n ? n.p(r, p) : (n = d[o] = T[o](r), n.c()), w(n, 1), n.m(t, l));
|
|
314
314
|
let h = f;
|
|
315
|
-
f =
|
|
315
|
+
f = A(r), f === h ? _[f].p(r, p) : (E(), y(_[h], 1, 1, () => {
|
|
316
316
|
_[h] = null;
|
|
317
|
-
}), B(), u = _[f], u ? u.p(r, p) : (u = _[f] =
|
|
318
|
-
2 && g !== (g =
|
|
317
|
+
}), B(), u = _[f], u ? u.p(r, p) : (u = _[f] = j[f](r), u.c()), w(u, 1), u.m(t, null)), (!s || p & /*tag*/
|
|
318
|
+
2 && g !== (g = R(G(
|
|
319
319
|
"wrapper",
|
|
320
320
|
/*tag*/
|
|
321
321
|
r[1].className ? `${/*tag*/
|
|
322
322
|
r[1].className}__wrapper` : void 0
|
|
323
|
-
)) + " svelte-
|
|
323
|
+
)) + " svelte-ua9upj")) && c(t, "class", g), (!s || p & /*unfolded*/
|
|
324
324
|
64) && c(
|
|
325
325
|
t,
|
|
326
326
|
"data-tag-unfolded",
|
|
327
327
|
/*unfolded*/
|
|
328
328
|
r[6]
|
|
329
|
-
), (!
|
|
329
|
+
), (!s || p & /*id*/
|
|
330
330
|
4096) && c(
|
|
331
331
|
t,
|
|
332
332
|
"data-tag-id",
|
|
333
333
|
/*id*/
|
|
334
334
|
r[12]
|
|
335
|
-
), (!
|
|
335
|
+
), (!s || p & /*tag*/
|
|
336
336
|
2 && k !== (k = /*tag*/
|
|
337
337
|
r[1].contentType)) && c(t, "data-content-type", k), p & /*left*/
|
|
338
338
|
512 && v(
|
|
@@ -346,31 +346,31 @@ function rt(i) {
|
|
|
346
346
|
"top",
|
|
347
347
|
/*top*/
|
|
348
348
|
r[8]
|
|
349
|
-
), (!
|
|
349
|
+
), (!s || p & /*id*/
|
|
350
350
|
4096) && c(
|
|
351
351
|
e,
|
|
352
352
|
"data-tag-id",
|
|
353
353
|
/*id*/
|
|
354
354
|
r[12]
|
|
355
|
-
), (!
|
|
355
|
+
), (!s || p & /*tag*/
|
|
356
356
|
2) && b(
|
|
357
357
|
e,
|
|
358
358
|
"unClickable",
|
|
359
359
|
/*tag*/
|
|
360
360
|
r[1].config.clickable === !1
|
|
361
|
-
), (!
|
|
361
|
+
), (!s || p & /*disable*/
|
|
362
362
|
2048) && b(
|
|
363
363
|
e,
|
|
364
364
|
"disable",
|
|
365
365
|
/*disable*/
|
|
366
366
|
r[11]
|
|
367
|
-
), (!
|
|
367
|
+
), (!s || p & /*hide*/
|
|
368
368
|
1024) && b(
|
|
369
369
|
e,
|
|
370
370
|
"hide",
|
|
371
371
|
/*hide*/
|
|
372
372
|
r[10]
|
|
373
|
-
), (!
|
|
373
|
+
), (!s || p & /*withAnimation*/
|
|
374
374
|
1) && b(
|
|
375
375
|
e,
|
|
376
376
|
"withAnimation",
|
|
@@ -385,50 +385,50 @@ function rt(i) {
|
|
|
385
385
|
);
|
|
386
386
|
},
|
|
387
387
|
i(r) {
|
|
388
|
-
|
|
388
|
+
s || (w(n), w(u), s = !0);
|
|
389
389
|
},
|
|
390
390
|
o(r) {
|
|
391
|
-
y(n), y(u),
|
|
391
|
+
y(n), y(u), s = !1;
|
|
392
392
|
},
|
|
393
393
|
d(r) {
|
|
394
|
-
r &&
|
|
394
|
+
r && M(e), d[o].d(), _[f].d();
|
|
395
395
|
}
|
|
396
396
|
};
|
|
397
397
|
}
|
|
398
398
|
function nt(i, e, t) {
|
|
399
|
-
let o, n,
|
|
399
|
+
let o, n, l, f, u, g, k, s, T, { withAnimation: d = !1 } = e, { tag: a } = e, { mediaStore: j } = e, { renderMap: _ = /* @__PURE__ */ new Map() } = e, { state: A } = e, { temporaryState: r } = e;
|
|
400
400
|
const p = Y("hooks");
|
|
401
401
|
return i.$$set = (m) => {
|
|
402
|
-
"withAnimation" in m && t(0, d = m.withAnimation), "tag" in m && t(1, a = m.tag), "mediaStore" in m && t(2,
|
|
402
|
+
"withAnimation" in m && t(0, d = m.withAnimation), "tag" in m && t(1, a = m.tag), "mediaStore" in m && t(2, j = m.mediaStore), "renderMap" in m && t(3, _ = m.renderMap), "state" in m && t(4, A = m.state), "temporaryState" in m && t(5, r = m.temporaryState);
|
|
403
403
|
}, i.$$.update = () => {
|
|
404
|
-
var m, h, N, I, L
|
|
404
|
+
var m, h, z, N, I, L;
|
|
405
405
|
i.$$.dirty & /*tag*/
|
|
406
406
|
2 && t(14, o = (() => {
|
|
407
|
-
var
|
|
408
|
-
return !(((
|
|
407
|
+
var q, D;
|
|
408
|
+
return !(((D = (q = a.style) == null ? void 0 : q.point) == null ? void 0 : D.enabled) === !1 || a.contentType === "Sticker" || a.contentType === "Link" || a.contentType === "VRLink" || a.contentType === "PanoLink" || a.contentType === "Audio" && a.data.appearance === "plane");
|
|
409
409
|
})()), i.$$.dirty & /*tag*/
|
|
410
410
|
2 && t(13, n = (() => a.stickType === "2DPoint")()), i.$$.dirty & /*tag*/
|
|
411
|
-
2 && t(12,
|
|
411
|
+
2 && t(12, l = a.id), i.$$.dirty & /*tag*/
|
|
412
412
|
2 && t(11, f = a.enabled === !1 || !a.state), i.$$.dirty & /*tag*/
|
|
413
413
|
2 && t(10, u = !((m = a.state) != null && m.visible) || ((h = a.temporaryState) == null ? void 0 : h.visible) === !1 || !a.screenPosition), i.$$.dirty & /*tag*/
|
|
414
|
-
2 && t(6, g = (
|
|
415
|
-
2 && t(9, k = ((
|
|
416
|
-
2 && t(8,
|
|
417
|
-
66 && t(7, T = ((
|
|
414
|
+
2 && t(6, g = (z = a.state) == null ? void 0 : z.unfolded), i.$$.dirty & /*tag*/
|
|
415
|
+
2 && t(9, k = ((N = a.screenPosition) == null ? void 0 : N.leftPercent) + "%"), i.$$.dirty & /*tag*/
|
|
416
|
+
2 && t(8, s = ((I = a.screenPosition) == null ? void 0 : I.topPercent) + "%"), i.$$.dirty & /*tag, unfolded*/
|
|
417
|
+
66 && t(7, T = ((L = a.zIndex) != null ? L : 0) + (g ? 1e6 : 0));
|
|
418
418
|
}, [
|
|
419
419
|
d,
|
|
420
420
|
a,
|
|
421
|
-
|
|
421
|
+
j,
|
|
422
422
|
_,
|
|
423
|
-
|
|
423
|
+
A,
|
|
424
424
|
r,
|
|
425
425
|
g,
|
|
426
426
|
T,
|
|
427
|
-
|
|
427
|
+
s,
|
|
428
428
|
k,
|
|
429
429
|
u,
|
|
430
430
|
f,
|
|
431
|
-
|
|
431
|
+
l,
|
|
432
432
|
n,
|
|
433
433
|
o,
|
|
434
434
|
p
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -64,6 +64,7 @@ export declare class FiveDomEvents {
|
|
|
64
64
|
addEventListener<T extends EventName>(object: Object3DWithEvent, event: T, callback: EventMap[T], config?: EventHandlerConfig): void;
|
|
65
65
|
removeEventListener(object: Object3DWithEvent, event: EventName, callback: (e: CallbackEvent) => any, ...args: any[]): void;
|
|
66
66
|
dispose(): void;
|
|
67
|
+
private getRaycaster;
|
|
67
68
|
private handleWantsGesture;
|
|
68
69
|
private onDomEvent;
|
|
69
70
|
private objectIsBound;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var
|
|
1
|
+
var g = Object.defineProperty;
|
|
2
2
|
var _ = Object.getOwnPropertySymbols;
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var y = Object.prototype.hasOwnProperty, H = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var E = (u, e, t) => e in u ? g(u, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : u[e] = t, b = (u, e) => {
|
|
5
5
|
for (var t in e || (e = {}))
|
|
6
|
-
|
|
6
|
+
y.call(e, t) && E(u, t, e[t]);
|
|
7
7
|
if (_)
|
|
8
8
|
for (var t of _(e))
|
|
9
|
-
|
|
10
|
-
return
|
|
9
|
+
H.call(e, t) && E(u, t, e[t]);
|
|
10
|
+
return u;
|
|
11
11
|
};
|
|
12
|
-
var v = (
|
|
13
|
-
import * as
|
|
12
|
+
var v = (u, e, t) => (E(u, typeof e != "symbol" ? e + "" : e, t), t);
|
|
13
|
+
import * as L from "three";
|
|
14
14
|
import { getObjectVisible as $ } from "../three/getObjectVisible.js";
|
|
15
15
|
import { calculateThreeMouse as x } from "./calculateThreeMouse.js";
|
|
16
16
|
class D {
|
|
@@ -21,41 +21,33 @@ class D {
|
|
|
21
21
|
if (t.length !== 1)
|
|
22
22
|
return;
|
|
23
23
|
const n = t[0];
|
|
24
|
-
if (
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
if (!i)
|
|
30
|
-
return;
|
|
31
|
-
const s = x(n, i), r = new y.Raycaster();
|
|
32
|
-
r.setFromCamera(s, this.five.camera), o = r;
|
|
24
|
+
if (n) {
|
|
25
|
+
if (e === "mouseMove")
|
|
26
|
+
return this.onDomEvent("hover", n);
|
|
27
|
+
if (e === "tap")
|
|
28
|
+
return this.onDomEvent("click", n);
|
|
33
29
|
}
|
|
34
|
-
if (e === "mouseMove")
|
|
35
|
-
return this.onDomEvent("hover", n.raycaster);
|
|
36
|
-
if (e === "tap")
|
|
37
|
-
return this.onDomEvent("click", n.raycaster);
|
|
38
30
|
});
|
|
39
31
|
v(this, "onDomEvent", (e, t) => {
|
|
40
|
-
var
|
|
32
|
+
var f, i;
|
|
41
33
|
const n = this.boundObject[e];
|
|
42
34
|
if (!n || (n == null ? void 0 : n.length) === 0 || !t)
|
|
43
35
|
return;
|
|
44
|
-
const
|
|
45
|
-
var
|
|
46
|
-
const
|
|
47
|
-
if (
|
|
36
|
+
const s = (f = t.raycaster) != null ? f : this.getRaycaster(t), r = (() => {
|
|
37
|
+
var h;
|
|
38
|
+
const d = s.intersectObjects(n, !0);
|
|
39
|
+
if (d.length === 0)
|
|
48
40
|
return;
|
|
49
|
-
const
|
|
50
|
-
if (!(
|
|
51
|
-
return (
|
|
41
|
+
const o = this.five.model.intersectRaycaster(s);
|
|
42
|
+
if (!(o.length > 0 && d.length > 0 && o[0].distance < d[0].distance))
|
|
43
|
+
return (h = d[0]) == null ? void 0 : h.object;
|
|
52
44
|
})();
|
|
53
|
-
if (!
|
|
54
|
-
for (const
|
|
55
|
-
|
|
45
|
+
if (!r || !this.objectIsBound(r)) {
|
|
46
|
+
for (const d of (i = this.boundObject.hover) != null ? i : [])
|
|
47
|
+
d._hovered && this.notify("unHover", d);
|
|
56
48
|
return;
|
|
57
49
|
}
|
|
58
|
-
if (this.notify(e,
|
|
50
|
+
if (this.notify(e, r))
|
|
59
51
|
return !1;
|
|
60
52
|
});
|
|
61
53
|
v(this, "objectIsBound", (e) => {
|
|
@@ -65,50 +57,50 @@ class D {
|
|
|
65
57
|
return !!t;
|
|
66
58
|
});
|
|
67
59
|
// eslint-disable-next-line max-params
|
|
68
|
-
v(this, "notify", (e, t, n,
|
|
69
|
-
var
|
|
70
|
-
let
|
|
71
|
-
const
|
|
72
|
-
let
|
|
73
|
-
for (
|
|
74
|
-
|
|
75
|
-
for (const
|
|
76
|
-
if (
|
|
60
|
+
v(this, "notify", (e, t, n, s) => {
|
|
61
|
+
var d;
|
|
62
|
+
let r = !1, a = [];
|
|
63
|
+
const f = [];
|
|
64
|
+
let i = t;
|
|
65
|
+
for (f.push(i); i.parent; )
|
|
66
|
+
i = i.parent, f.push(i);
|
|
67
|
+
for (const o of f) {
|
|
68
|
+
if (r)
|
|
77
69
|
break;
|
|
78
|
-
const
|
|
79
|
-
if (!
|
|
70
|
+
const h = o._domEvent;
|
|
71
|
+
if (!h)
|
|
80
72
|
continue;
|
|
81
|
-
const p =
|
|
73
|
+
const p = h[`${e}Handler`];
|
|
82
74
|
if (p)
|
|
83
|
-
for (const [O,
|
|
84
|
-
if (
|
|
75
|
+
for (const [O, l] of p) {
|
|
76
|
+
if (l != null && l.checkVisible && !$(o))
|
|
85
77
|
continue;
|
|
86
78
|
if (e === "hover") {
|
|
87
|
-
if (
|
|
79
|
+
if (o._hovered)
|
|
88
80
|
continue;
|
|
89
|
-
|
|
90
|
-
for (const
|
|
91
|
-
|
|
81
|
+
o._hovered = !0;
|
|
82
|
+
for (const c of (d = this.boundObject.hover) != null ? d : [])
|
|
83
|
+
c !== o && c._hovered && this.notify("unHover", c);
|
|
92
84
|
}
|
|
93
85
|
if (e === "unHover") {
|
|
94
|
-
if (!
|
|
86
|
+
if (!o._hovered)
|
|
95
87
|
continue;
|
|
96
|
-
|
|
88
|
+
o._hovered = !1;
|
|
97
89
|
}
|
|
98
|
-
const
|
|
90
|
+
const m = O({
|
|
99
91
|
type: e,
|
|
100
|
-
target:
|
|
92
|
+
target: o,
|
|
101
93
|
origDomEvent: n,
|
|
102
|
-
intersect:
|
|
94
|
+
intersect: s,
|
|
103
95
|
stopPropagation: () => {
|
|
104
|
-
|
|
96
|
+
r = !0;
|
|
105
97
|
}
|
|
106
98
|
});
|
|
107
|
-
|
|
99
|
+
a.push(m != null ? m : !0);
|
|
108
100
|
}
|
|
109
101
|
}
|
|
110
102
|
if (e === "click")
|
|
111
|
-
return
|
|
103
|
+
return a.some((o) => o === !0);
|
|
112
104
|
});
|
|
113
105
|
this.five = e, e.on("wantsGesture", this.handleWantsGesture);
|
|
114
106
|
}
|
|
@@ -117,10 +109,10 @@ class D {
|
|
|
117
109
|
* @note: 注意:目前需要触发物体的 added 事件和 removed 事件才会生效
|
|
118
110
|
* @todo: added 和 removed 还是不太智能
|
|
119
111
|
*/
|
|
120
|
-
addAutoBindEventListener(e, t, n,
|
|
121
|
-
const
|
|
122
|
-
return e.addEventListener("added",
|
|
123
|
-
e.removeEventListener("added",
|
|
112
|
+
addAutoBindEventListener(e, t, n, s) {
|
|
113
|
+
const r = () => this.addEventListener(e, t, n, s), a = () => this.removeEventListener(e, t, n, s);
|
|
114
|
+
return e.addEventListener("added", r), e.addEventListener("removed", a), e.addEventListener("dispose", a), () => {
|
|
115
|
+
e.removeEventListener("added", r), e.removeEventListener("removed", a), e.removeEventListener("dispose", a);
|
|
124
116
|
};
|
|
125
117
|
}
|
|
126
118
|
/**
|
|
@@ -130,24 +122,31 @@ class D {
|
|
|
130
122
|
* @param params.callback: 返回 false 可以不阻止 five 的 tap 事件; default: true
|
|
131
123
|
* @return {void}
|
|
132
124
|
*/
|
|
133
|
-
addEventListener(e, t, n,
|
|
134
|
-
var
|
|
135
|
-
e._domEvent || (e._domEvent = {}), e._domEvent[`${t}Handler`] || (e._domEvent[`${t}Handler`] = []), this.boundObject[t] || (this.boundObject[t] = []), e._domEvent[`${t}Handler`].push([n, b({ checkVisible: !0 },
|
|
125
|
+
addEventListener(e, t, n, s) {
|
|
126
|
+
var r;
|
|
127
|
+
e._domEvent || (e._domEvent = {}), e._domEvent[`${t}Handler`] || (e._domEvent[`${t}Handler`] = []), this.boundObject[t] || (this.boundObject[t] = []), e._domEvent[`${t}Handler`].push([n, b({ checkVisible: !0 }, s)]), (r = this.boundObject[t]) == null || r.push(e);
|
|
136
128
|
}
|
|
137
|
-
removeEventListener(e, t, n, ...
|
|
138
|
-
var
|
|
129
|
+
removeEventListener(e, t, n, ...s) {
|
|
130
|
+
var a, f;
|
|
139
131
|
if (!e._domEvent || !e._domEvent[`${t}Handler`])
|
|
140
132
|
return;
|
|
141
|
-
const
|
|
142
|
-
if (
|
|
143
|
-
const
|
|
144
|
-
|
|
133
|
+
const r = e._domEvent[`${t}Handler`].findIndex((i) => i[0] === n);
|
|
134
|
+
if (r !== -1 && (e._domEvent[`${t}Handler`].splice(r, 1), e._domEvent[`${t}Handler`].length === 0 && delete e._domEvent[`${t}Handler`], e._domEvent && Object.keys(e._domEvent).length === 0 && delete e._domEvent, !e._domEvent)) {
|
|
135
|
+
const i = (a = this.boundObject[t]) == null ? void 0 : a.findIndex((d) => d === e);
|
|
136
|
+
i !== -1 && ((f = this.boundObject[t]) == null || f.splice(i, 1));
|
|
145
137
|
}
|
|
146
138
|
}
|
|
147
139
|
dispose() {
|
|
148
140
|
var e;
|
|
149
141
|
(e = this.five) == null || e.off("wantsGesture", this.handleWantsGesture), this.boundObject = {};
|
|
150
142
|
}
|
|
143
|
+
getRaycaster(e) {
|
|
144
|
+
const t = this.five.getElement();
|
|
145
|
+
if (!t)
|
|
146
|
+
return;
|
|
147
|
+
const n = x(e, t), s = new L.Raycaster();
|
|
148
|
+
return s.setFromCamera(n, this.five.camera), s;
|
|
149
|
+
}
|
|
151
150
|
}
|
|
152
151
|
export {
|
|
153
152
|
D as FiveDomEvents
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.0.0-
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.0.0-17",
|
|
4
4
|
[
|
|
5
5
|
"background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
|
|
6
6
|
"background-repeat: no-repeat",
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"repository": "https://github.com/realsee-developer/dnalogel.git",
|
|
8
8
|
"description": "如视 VR 看房插件合集",
|
|
9
9
|
"private": false,
|
|
10
|
-
"version": "3.0.0-
|
|
10
|
+
"version": "3.0.0-17",
|
|
11
11
|
"license": "SEE LICENSE IN TERMS.txt",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
|