@realsee/dnalogel 2.19.0-2 → 2.19.0-3
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 +6 -6
- package/dist/index.js +87 -87
- package/dist/index.umd.js +6 -6
- 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 +30 -30
- 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 +22 -22
- package/docs/classes/PanoMeasurePluginModel.html +21 -21
- package/docs/classes/PanoMeasurePluginPoint.html +13 -13
- package/docs/classes/PanoMeasurePluginPolyline.html +25 -25
- package/docs/classes/PanoTagPluginController.html +45 -45
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.FivePointSelector.html +11 -11
- package/docs/classes/Util.Interval.html +11 -11
- package/docs/classes/Util.Magnifier.html +16 -16
- package/docs/classes/Util.PointDomHelper.html +10 -10
- package/docs/classes/Util.PointHelper.html +10 -10
- 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/Rotation.html +7 -7
- package/docs/functions/CSS3DRenderPlugin.html +3 -3
- package/docs/functions/CameraMovementPlugin.html +3 -3
- package/docs/functions/CruisePlugin.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/TopviewFloorplanPlugin.html +3 -3
- 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/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 +6 -6
- package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
- 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 +6 -6
- 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 +13 -13
- 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 +12 -12
- 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/modules/CruisePluginTypes.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/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/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/ModelElement.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/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/PlaneTag.html +4 -4
- package/docs/types/PlaneTagElement.html +4 -4
- package/docs/types/Point2DElement.html +4 -4
- package/docs/types/Point2DTag.html +4 -4
- package/docs/types/Point3DElement.html +4 -4
- package/docs/types/Point3DTag.html +4 -4
- package/docs/types/PointTag.html +4 -4
- package/docs/types/PointTagElement.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/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/TagIconSize.html +4 -4
- package/docs/types/TagId.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/itemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
- package/libs/PanoTagPlugin/controller/TagRender.js +80 -80
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -29,7 +29,7 @@ var F = (i, t, e) => new Promise((n, o) => {
|
|
|
29
29
|
});
|
|
30
30
|
import { Camera as Su, Subscribe as yt, Five as nt } from "@realsee/five";
|
|
31
31
|
import * as E from "three";
|
|
32
|
-
import { Vector3 as $, Group as Kn, Raycaster as xn, MeshBasicMaterial as Ji, CanvasTexture as Mu, AnimationMixer as Lu, Color as oo, TextureLoader as Sd, Vector2 as
|
|
32
|
+
import { Vector3 as $, Group as Kn, Raycaster as xn, MeshBasicMaterial as Ji, CanvasTexture as Mu, AnimationMixer as Lu, Color as oo, TextureLoader as Sd, Vector2 as bt, PlaneGeometry as Tu, sRGBEncoding as zu, LinearFilter as Vr, Mesh as Fi, CurvePath as ju, LineCurve3 as _u, TubeGeometry as Vu, ShaderMaterial as Md, SphereGeometry as Ou, DoubleSide as Ld, RingGeometry as Bu, Quaternion as aa, Euler as Ba, Matrix4 as Qi, Object3D as Ru, VideoTexture as Qu, Vector4 as Hu, SphereBufferGeometry as Gu } from "three";
|
|
33
33
|
import { CSS3DRenderer as Wu, CSS3DObject as Or } from "three/examples/jsm/renderers/CSS3DRenderer";
|
|
34
34
|
import so from "hammerjs";
|
|
35
35
|
import { Line as Td } from "@realsee/five/line";
|
|
@@ -38,7 +38,7 @@ import Ra from "animejs";
|
|
|
38
38
|
import { GLTFLoader as Nu } from "@realsee/five/gltf-loader";
|
|
39
39
|
function Fu() {
|
|
40
40
|
console.info(
|
|
41
|
-
"%c %c@realsee/dnalogel %cv2.19.0-
|
|
41
|
+
"%c %c@realsee/dnalogel %cv2.19.0-3",
|
|
42
42
|
[
|
|
43
43
|
"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=')",
|
|
44
44
|
"background-repeat: no-repeat",
|
|
@@ -6762,7 +6762,7 @@ let ao = class {
|
|
|
6762
6762
|
/**
|
|
6763
6763
|
* @realsee/dnalogel 版本号
|
|
6764
6764
|
*/
|
|
6765
|
-
f(this, "VERSION", "2.19.0-
|
|
6765
|
+
f(this, "VERSION", "2.19.0-3");
|
|
6766
6766
|
f(this, "five");
|
|
6767
6767
|
/**
|
|
6768
6768
|
* 插件事件钩子
|
|
@@ -6782,7 +6782,7 @@ let ao = class {
|
|
|
6782
6782
|
}
|
|
6783
6783
|
}, Mn = class extends ao {
|
|
6784
6784
|
};
|
|
6785
|
-
var
|
|
6785
|
+
var At = /* @__PURE__ */ ((i) => (i.UnknownError = "UnknownError", i.DataNotLoaded = "DataNotLoaded", i.BreakOffByHide = "BreakOffByHide", i.BreakOffByDisable = "BreakOffByDisable", i.ModelNotLoaded = "ModelNotLoaded", i.ChangeModeError = "ChangeModeError", i.UpdateCameraError = "UpdateCameraError", i))(At || {});
|
|
6786
6786
|
const Ih = 500, hg = 80;
|
|
6787
6787
|
function Xr(i, t, e = 4) {
|
|
6788
6788
|
return Math.floor(i * Math.pow(10, e)) === Math.floor(t * Math.pow(10, e));
|
|
@@ -6828,7 +6828,7 @@ function kh(i, t, e = !0) {
|
|
|
6828
6828
|
if (o.mode !== t.mode) {
|
|
6829
6829
|
const [d] = yield oi(ya(i, [t.mode, t, void 0, e]));
|
|
6830
6830
|
if (d)
|
|
6831
|
-
throw new Error(
|
|
6831
|
+
throw new Error(At.ChangeModeError);
|
|
6832
6832
|
return;
|
|
6833
6833
|
}
|
|
6834
6834
|
const { latitude: s, longitude: r, fov: a } = o, l = Math.min(
|
|
@@ -6841,7 +6841,7 @@ function kh(i, t, e = !0) {
|
|
|
6841
6841
|
)
|
|
6842
6842
|
), [c] = yield oi(i.updateCamera(t, l, e));
|
|
6843
6843
|
if (c)
|
|
6844
|
-
throw new Error(
|
|
6844
|
+
throw new Error(At.UpdateCameraError);
|
|
6845
6845
|
});
|
|
6846
6846
|
}
|
|
6847
6847
|
function ri(i, t, e = 300) {
|
|
@@ -6937,7 +6937,7 @@ let pg = class extends Mn {
|
|
|
6937
6937
|
f(this, "_disable", (e) => {
|
|
6938
6938
|
var o, s, r;
|
|
6939
6939
|
const { userAction: n } = e;
|
|
6940
|
-
this.hooks.emit("disable", { userAction: n }), (o = this.showRejection) == null || o.call(this,
|
|
6940
|
+
this.hooks.emit("disable", { userAction: n }), (o = this.showRejection) == null || o.call(this, At.BreakOffByDisable), this.showPromise = void 0, (s = this.app) == null || s.$destroy(), this.app = void 0, (r = this.container) == null || r.remove(), this.removeEventListener();
|
|
6941
6941
|
});
|
|
6942
6942
|
f(this, "_enable", (e) => {
|
|
6943
6943
|
const { userAction: n } = e;
|
|
@@ -6948,9 +6948,9 @@ let pg = class extends Mn {
|
|
|
6948
6948
|
if (!this.state.enabled)
|
|
6949
6949
|
return;
|
|
6950
6950
|
if (!((r = this.five.model) != null && r.loaded))
|
|
6951
|
-
throw new Error(
|
|
6951
|
+
throw new Error(At.ModelNotLoaded);
|
|
6952
6952
|
if (!this.data)
|
|
6953
|
-
throw new Error(
|
|
6953
|
+
throw new Error(At.DataNotLoaded);
|
|
6954
6954
|
this.isHiddenByHideFunc = !1;
|
|
6955
6955
|
const n = {
|
|
6956
6956
|
floorIndex: this.floorIndex,
|
|
@@ -6968,7 +6968,7 @@ let pg = class extends Mn {
|
|
|
6968
6968
|
if (c)
|
|
6969
6969
|
throw c;
|
|
6970
6970
|
if (a)
|
|
6971
|
-
throw l ? new Error(l) : new Error(
|
|
6971
|
+
throw l ? new Error(l) : new Error(At.UnknownError);
|
|
6972
6972
|
this.updateSize(), this.floorIndex = o.floorIndex, this.five.model.show(this.floorIndex);
|
|
6973
6973
|
const d = o.modelOpacity, h = o.immediately ? 0 : Ih;
|
|
6974
6974
|
ri(this.five, d, h), this.render(h);
|
|
@@ -6987,7 +6987,7 @@ let pg = class extends Mn {
|
|
|
6987
6987
|
}));
|
|
6988
6988
|
f(this, "_hide", (e) => {
|
|
6989
6989
|
var s;
|
|
6990
|
-
(s = this.showRejection) == null || s.call(this,
|
|
6990
|
+
(s = this.showRejection) == null || s.call(this, At.BreakOffByHide), this.showPromise = void 0;
|
|
6991
6991
|
const o = G(G({}, {
|
|
6992
6992
|
userAction: !0,
|
|
6993
6993
|
isAutoHide: !1
|
|
@@ -7266,7 +7266,7 @@ let Ag = class extends Mn {
|
|
|
7266
7266
|
f(this, "_disable", (e) => {
|
|
7267
7267
|
var o, s, r;
|
|
7268
7268
|
const { userAction: n } = e;
|
|
7269
|
-
this.hooks.emit("disable", { userAction: n }), (o = this.showRejection) == null || o.call(this,
|
|
7269
|
+
this.hooks.emit("disable", { userAction: n }), (o = this.showRejection) == null || o.call(this, At.BreakOffByDisable), this.showPromise = void 0, (s = this.app) == null || s.$destroy(), this.app = void 0, (r = this.container) == null || r.remove(), this.removeEventListener();
|
|
7270
7270
|
});
|
|
7271
7271
|
f(this, "_enable", (e) => {
|
|
7272
7272
|
const { userAction: n } = e;
|
|
@@ -7277,9 +7277,9 @@ let Ag = class extends Mn {
|
|
|
7277
7277
|
if (!this.state.enabled)
|
|
7278
7278
|
return;
|
|
7279
7279
|
if (!((r = this.five.model) != null && r.loaded))
|
|
7280
|
-
throw new Error(
|
|
7280
|
+
throw new Error(At.ModelNotLoaded);
|
|
7281
7281
|
if (!this.data)
|
|
7282
|
-
throw new Error(
|
|
7282
|
+
throw new Error(At.DataNotLoaded);
|
|
7283
7283
|
this.isHiddenByHideFunc = !1;
|
|
7284
7284
|
const n = {
|
|
7285
7285
|
floorIndex: this.floorIndex,
|
|
@@ -7297,7 +7297,7 @@ let Ag = class extends Mn {
|
|
|
7297
7297
|
if (c)
|
|
7298
7298
|
throw c;
|
|
7299
7299
|
if (a)
|
|
7300
|
-
throw l ? new Error(l) : new Error(
|
|
7300
|
+
throw l ? new Error(l) : new Error(At.UnknownError);
|
|
7301
7301
|
this.updateSize(), this.updatePosition(), this.floorIndex = o.floorIndex, this.five.model.show(this.floorIndex);
|
|
7302
7302
|
const d = o.modelOpacity, h = o.immediately ? 0 : Ih;
|
|
7303
7303
|
ri(this.five, d, h), this.render(h);
|
|
@@ -7316,7 +7316,7 @@ let Ag = class extends Mn {
|
|
|
7316
7316
|
}));
|
|
7317
7317
|
f(this, "_hide", (e) => {
|
|
7318
7318
|
var s;
|
|
7319
|
-
(s = this.showRejection) == null || s.call(this,
|
|
7319
|
+
(s = this.showRejection) == null || s.call(this, At.BreakOffByHide), this.showPromise = void 0;
|
|
7320
7320
|
const o = G(G({}, {
|
|
7321
7321
|
userAction: !0,
|
|
7322
7322
|
isAutoHide: !1
|
|
@@ -10238,7 +10238,7 @@ function Iv(i) {
|
|
|
10238
10238
|
const P = y.clientWidth, D = y.clientHeight, x = P / 2, I = D / 2;
|
|
10239
10239
|
if (e.points.length < 2)
|
|
10240
10240
|
return;
|
|
10241
|
-
const [T, S] = e.points, N = T.position.clone().project(b.camera), Y = S.position.clone().project(b.camera), H = N.clone().lerp(Y, 0.5), z = new
|
|
10241
|
+
const [T, S] = e.points, N = T.position.clone().project(b.camera), Y = S.position.clone().project(b.camera), H = N.clone().lerp(Y, 0.5), z = new bt(N.x * x, N.y * I), Q = new bt(Y.x * x, Y.y * I), R = z.distanceTo(Q);
|
|
10242
10242
|
if ((() => !(Math.abs(N.z) > 1 || Math.abs(Y.z) > 1 || !yr(N) && !yr(Y) || !yr(H) || R === 0))() === !1) {
|
|
10243
10243
|
s.style.opacity = "0", s.style.pointerEvents = "none";
|
|
10244
10244
|
return;
|
|
@@ -10536,7 +10536,7 @@ let bs = class {
|
|
|
10536
10536
|
}
|
|
10537
10537
|
};
|
|
10538
10538
|
function Ur(i) {
|
|
10539
|
-
const { x: t, y: e } = i.center, { clientWidth: n, clientHeight: o } = i.target, s = i.target.getBoundingClientRect(), r = new
|
|
10539
|
+
const { x: t, y: e } = i.center, { clientWidth: n, clientHeight: o } = i.target, s = i.target.getBoundingClientRect(), r = new bt(t, e).sub(new bt(s.left, s.top)), a = new bt(r.x / n * 2 - 1, -(r.y / o) * 2 + 1);
|
|
10540
10540
|
return { point: r, ndcPoint: a };
|
|
10541
10541
|
}
|
|
10542
10542
|
function wr(i, t) {
|
|
@@ -10771,14 +10771,14 @@ class Th {
|
|
|
10771
10771
|
function zh(i, t) {
|
|
10772
10772
|
const e = i.x - t[0].x, n = i.y - t[0].y, o = t[1].x - t[0].x, s = t[1].y - t[0].y, r = e * o + n * s, a = o * o + s * s, l = r / a;
|
|
10773
10773
|
let c, d;
|
|
10774
|
-
return l < 0 || Sv(t[0], t[1]) ? (c = t[0].x, d = t[0].y) : l > 1 ? (c = t[1].x, d = t[1].y) : (c = t[0].x + l * o, d = t[0].y + l * s), new
|
|
10774
|
+
return l < 0 || Sv(t[0], t[1]) ? (c = t[0].x, d = t[0].y) : l > 1 ? (c = t[1].x, d = t[1].y) : (c = t[0].x + l * o, d = t[0].y + l * s), new bt(c, d);
|
|
10775
10775
|
}
|
|
10776
10776
|
function Sv(i, t) {
|
|
10777
10777
|
return i.x === t.x && i.y === t.y;
|
|
10778
10778
|
}
|
|
10779
10779
|
function Mv(i, t) {
|
|
10780
10780
|
const e = (i.x + 1) / 2 * t.width, n = -(i.y - 1) / 2 * t.height;
|
|
10781
|
-
return new
|
|
10781
|
+
return new bt(e, n);
|
|
10782
10782
|
}
|
|
10783
10783
|
function Lv(i, t, e, n) {
|
|
10784
10784
|
const o = i.getElement();
|
|
@@ -10862,11 +10862,11 @@ class Ql extends bs {
|
|
|
10862
10862
|
const [n] = this.five.model.intersectRaycaster(e);
|
|
10863
10863
|
if (!n)
|
|
10864
10864
|
return;
|
|
10865
|
-
const o = this.five.camera, s = n.point.clone().project(o), r = this.container.clientWidth, a = this.container.clientHeight, l = new
|
|
10865
|
+
const o = this.five.camera, s = n.point.clone().project(o), r = this.container.clientWidth, a = this.container.clientHeight, l = new bt(s.x * r, s.y * a), c = this.model.getAllLines().map((m) => {
|
|
10866
10866
|
const [g, v] = m.points, A = g.position.clone().project(o), b = v.position.clone().project(o);
|
|
10867
10867
|
if (!no(A) && !no(b))
|
|
10868
10868
|
return null;
|
|
10869
|
-
const y = new
|
|
10869
|
+
const y = new bt(A.x * r, A.y * a), P = new bt(b.x * r, b.y * a);
|
|
10870
10870
|
return { id: m.id, points: [y, P] };
|
|
10871
10871
|
}).filter((m) => !!m);
|
|
10872
10872
|
if (c.length === 0)
|
|
@@ -11116,11 +11116,11 @@ class Vi extends bs {
|
|
|
11116
11116
|
const [n] = this.five.model.intersectRaycaster(e);
|
|
11117
11117
|
if (!n)
|
|
11118
11118
|
return;
|
|
11119
|
-
const o = this.five.camera, s = n.point.clone().project(o), r = this.container.clientWidth, a = this.container.clientHeight, l = new
|
|
11119
|
+
const o = this.five.camera, s = n.point.clone().project(o), r = this.container.clientWidth, a = this.container.clientHeight, l = new bt(s.x * r, s.y * a), c = this.model.getAllLines().map((m) => {
|
|
11120
11120
|
const [g, v] = m.points, A = g.position.clone().project(o), b = v.position.clone().project(o);
|
|
11121
11121
|
if (!no(A) && !no(b))
|
|
11122
11122
|
return null;
|
|
11123
|
-
const y = new
|
|
11123
|
+
const y = new bt(A.x * r, A.y * a), P = new bt(b.x * r, b.y * a);
|
|
11124
11124
|
return { id: m.id, points: [y, P] };
|
|
11125
11125
|
}).filter((m) => !!m);
|
|
11126
11126
|
if (c.length === 0)
|
|
@@ -12455,17 +12455,17 @@ const Cr = 1e-3, ql = 0.01, g0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
12455
12455
|
const Ht = Be.position.clone().sub(me.position).setY(0);
|
|
12456
12456
|
if (Ht.angleTo(Be.normal) > Math.PI / 2 - r && Ht.angleTo(Be.normal) < Math.PI / 2 + r)
|
|
12457
12457
|
return Ie;
|
|
12458
|
-
const
|
|
12458
|
+
const gt = Be.position.clone().project(me);
|
|
12459
12459
|
if (!v.tags.every((Oe) => {
|
|
12460
12460
|
if (Oe.position.clone().sub(me.position).setY(0).angleTo(ke.setY(0)) > Math.PI / 2)
|
|
12461
12461
|
return !0;
|
|
12462
12462
|
const Fe = Oe.position.clone().project(me);
|
|
12463
12463
|
return Math.sqrt(
|
|
12464
|
-
Math.pow((
|
|
12464
|
+
Math.pow((gt.x - Fe.x) / 2 * ue, 2) + Math.pow((gt.y - Fe.y) / 2 * be, 2)
|
|
12465
12465
|
) > a;
|
|
12466
12466
|
}))
|
|
12467
12467
|
return Ie;
|
|
12468
|
-
const
|
|
12468
|
+
const vt = {
|
|
12469
12469
|
id: Be.id,
|
|
12470
12470
|
position: Be.position,
|
|
12471
12471
|
normal: Be.normal,
|
|
@@ -12476,16 +12476,16 @@ const Cr = 1e-3, ql = 0.01, g0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
12476
12476
|
let je;
|
|
12477
12477
|
for (let Oe = 0, Fe = Ie.length; Oe < Fe; Oe++) {
|
|
12478
12478
|
const Et = Ie[Oe];
|
|
12479
|
-
if (
|
|
12479
|
+
if (vt.weight > Et.weight) {
|
|
12480
12480
|
je = Oe;
|
|
12481
12481
|
break;
|
|
12482
12482
|
}
|
|
12483
|
-
if (
|
|
12483
|
+
if (vt.distance < Et.distance) {
|
|
12484
12484
|
je = Oe;
|
|
12485
12485
|
break;
|
|
12486
12486
|
}
|
|
12487
12487
|
}
|
|
12488
|
-
return je !== void 0 ? Ie.splice(je, 0,
|
|
12488
|
+
return je !== void 0 ? Ie.splice(je, 0, vt) : Ie.push(vt), Ie;
|
|
12489
12489
|
}, []);
|
|
12490
12490
|
for (let Ie = 0, Be = oe.length; Ie < Be && !(Ke + Me.length >= s); Ie++) {
|
|
12491
12491
|
const ht = oe[Ie];
|
|
@@ -12501,13 +12501,13 @@ const Cr = 1e-3, ql = 0.01, g0 = "https://vrlab-image4.ljcdn.com/release/web/Pan
|
|
|
12501
12501
|
) > a;
|
|
12502
12502
|
}))
|
|
12503
12503
|
continue;
|
|
12504
|
-
const
|
|
12504
|
+
const gt = new E.Raycaster(
|
|
12505
12505
|
me.position.clone().setY(n),
|
|
12506
12506
|
ht.position.clone().sub(me.position.clone().setY(n)).normalize(),
|
|
12507
12507
|
0,
|
|
12508
12508
|
ht.distance + ql
|
|
12509
|
-
), [
|
|
12510
|
-
if (
|
|
12509
|
+
), [vt] = v.intersectObjects ? gt.intersectObjects(v.intersectObjects, !0) : i.model.bvhs.loaded ? i.model.intersectRaycaster(gt) : gt.intersectObjects(i.model.children, !0);
|
|
12510
|
+
if (vt && ht.distance - vt.distance < ql) {
|
|
12511
12511
|
const { position: je, normal: Oe, id: Fe, replacement: Et } = ht, wi = new E.Plane().setFromNormalAndCoplanarPoint(Oe, je), Tt = je.clone().sub(me.position).cross(new E.Vector3(0, 1, 0)).setLength(Cr), Zt = [
|
|
12512
12512
|
je.clone(),
|
|
12513
12513
|
je.clone().add(Tt),
|
|
@@ -14376,7 +14376,7 @@ function kA(i) {
|
|
|
14376
14376
|
function xA(i) {
|
|
14377
14377
|
return i.stickType === "3DPoint" || i.stickType === "Plane";
|
|
14378
14378
|
}
|
|
14379
|
-
function
|
|
14379
|
+
function pt(i) {
|
|
14380
14380
|
return i.stickType === "Model" && i.contentType === "MediaModel";
|
|
14381
14381
|
}
|
|
14382
14382
|
function DA(i) {
|
|
@@ -14397,7 +14397,7 @@ function ss(i) {
|
|
|
14397
14397
|
return Zi(i);
|
|
14398
14398
|
}
|
|
14399
14399
|
function Nh(i) {
|
|
14400
|
-
if (
|
|
14400
|
+
if (pt(i) && i.matrix) {
|
|
14401
14401
|
const t = new Qi().fromArray(i.matrix), e = i.data.mediaPosition.map((n) => new $().fromArray(n).applyMatrix4(t));
|
|
14402
14402
|
return Dn(e[0], e[2]);
|
|
14403
14403
|
} else
|
|
@@ -15377,7 +15377,7 @@ class UA extends QA {
|
|
|
15377
15377
|
if (MA(e)) {
|
|
15378
15378
|
if (s.length === 1 && (s[0].type === "Image" || s[0].type === "Video"))
|
|
15379
15379
|
return "Mesh";
|
|
15380
|
-
} else if (
|
|
15380
|
+
} else if (pt(e))
|
|
15381
15381
|
return s.length === 1 && s[0].type === "Image" ? "Mesh" : "BehindDom";
|
|
15382
15382
|
}
|
|
15383
15383
|
})();
|
|
@@ -15433,7 +15433,7 @@ class UA extends QA {
|
|
|
15433
15433
|
getPositions(e) {
|
|
15434
15434
|
if (kA(e))
|
|
15435
15435
|
return e.position;
|
|
15436
|
-
if (
|
|
15436
|
+
if (pt(e))
|
|
15437
15437
|
return e.data.mediaPosition;
|
|
15438
15438
|
const n = e;
|
|
15439
15439
|
return TA(
|
|
@@ -15446,7 +15446,7 @@ class UA extends QA {
|
|
|
15446
15446
|
if (!n || !this.domEvents)
|
|
15447
15447
|
return () => {
|
|
15448
15448
|
};
|
|
15449
|
-
const s = () => !(!e.state.visible || !this.state.visible ||
|
|
15449
|
+
const s = () => !(!e.state.visible || !this.state.visible || pt(e) && !e.mediaVisible), r = (d) => {
|
|
15450
15450
|
if (!s()) {
|
|
15451
15451
|
this.mouseInfo = void 0;
|
|
15452
15452
|
return;
|
|
@@ -15762,7 +15762,7 @@ class JA extends UA {
|
|
|
15762
15762
|
const e = this.five.getCurrentState().mode;
|
|
15763
15763
|
this.tags.forEach((n) => {
|
|
15764
15764
|
var s;
|
|
15765
|
-
if (!
|
|
15765
|
+
if (!pt(n))
|
|
15766
15766
|
return;
|
|
15767
15767
|
if (!((s = n.model) != null && s.object)) {
|
|
15768
15768
|
n.mediaVisible = !1;
|
|
@@ -15798,9 +15798,9 @@ class JA extends UA {
|
|
|
15798
15798
|
getTagEnableByIntersect(e, n) {
|
|
15799
15799
|
var d, h, u;
|
|
15800
15800
|
const o = (d = this.getTagConfig(e).visibleConfig) != null ? d : {}, s = this.getDistance(e), [r] = this.five.model.intersectRaycaster(n), a = (() => {
|
|
15801
|
-
if (!
|
|
15801
|
+
if (!pt(e))
|
|
15802
15802
|
return;
|
|
15803
|
-
const m = this.tags.filter(
|
|
15803
|
+
const m = this.tags.filter(pt).map((v) => {
|
|
15804
15804
|
var A;
|
|
15805
15805
|
return (A = v.model) == null ? void 0 : A.object;
|
|
15806
15806
|
}).filter(di);
|
|
@@ -18589,12 +18589,12 @@ var Bo = ky, rs = {}, xy = {
|
|
|
18589
18589
|
M[++C] = W;
|
|
18590
18590
|
}), M;
|
|
18591
18591
|
}
|
|
18592
|
-
var ht = Array.prototype, Ht = Function.prototype,
|
|
18593
|
-
var p = /[^.]+$/.exec(
|
|
18592
|
+
var ht = Array.prototype, Ht = Function.prototype, gt = Object.prototype, vt = ge["__core-js_shared__"], je = function() {
|
|
18593
|
+
var p = /[^.]+$/.exec(vt && vt.keys && vt.keys.IE_PROTO || "");
|
|
18594
18594
|
return p ? "Symbol(src)_1." + p : "";
|
|
18595
|
-
}(), Oe = Ht.toString, Fe =
|
|
18595
|
+
}(), Oe = Ht.toString, Fe = gt.hasOwnProperty, Et = gt.toString, wi = RegExp(
|
|
18596
18596
|
"^" + Oe.call(Fe).replace(U, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
18597
|
-
), Tt = He ? ge.Buffer : void 0, Zt = ge.Symbol, mn = ge.Uint8Array, ut = Ie(Object.getPrototypeOf, Object), Tn = Object.create, zn =
|
|
18597
|
+
), Tt = He ? ge.Buffer : void 0, Zt = ge.Symbol, mn = ge.Uint8Array, ut = Ie(Object.getPrototypeOf, Object), Tn = Object.create, zn = gt.propertyIsEnumerable, xs = ht.splice, Ci = Object.getOwnPropertySymbols, jn = Tt ? Tt.isBuffer : void 0, co = Ie(Object.keys, Object), _n = kt(ge, "DataView"), pn = kt(ge, "Map"), It = kt(ge, "Promise"), Vn = kt(ge, "Set"), Pi = kt(ge, "WeakMap"), gn = kt(Object, "create"), Ei = lt(_n), vn = lt(pn), Ii = lt(It), ki = lt(Vn), xi = lt(Pi), Kt = Zt ? Zt.prototype : void 0, ho = Kt ? Kt.valueOf : void 0;
|
|
18598
18598
|
function Gt(p) {
|
|
18599
18599
|
var C = -1, M = p ? p.length : 0;
|
|
18600
18600
|
for (this.clear(); ++C < M; ) {
|
|
@@ -18915,7 +18915,7 @@ var Bo = ky, rs = {}, xy = {
|
|
|
18915
18915
|
return !!je && je in p;
|
|
18916
18916
|
}
|
|
18917
18917
|
function go(p) {
|
|
18918
|
-
var C = p && p.constructor, M = typeof C == "function" && C.prototype ||
|
|
18918
|
+
var C = p && p.constructor, M = typeof C == "function" && C.prototype || gt;
|
|
18919
18919
|
return p === M;
|
|
18920
18920
|
}
|
|
18921
18921
|
function lt(p) {
|
|
@@ -19019,10 +19019,10 @@ var as = {}, Sy = {
|
|
|
19019
19019
|
return p(C);
|
|
19020
19020
|
};
|
|
19021
19021
|
}
|
|
19022
|
-
function
|
|
19022
|
+
function gt(p, C) {
|
|
19023
19023
|
return p.has(C);
|
|
19024
19024
|
}
|
|
19025
|
-
function
|
|
19025
|
+
function vt(p, C) {
|
|
19026
19026
|
return p == null ? void 0 : p[C];
|
|
19027
19027
|
}
|
|
19028
19028
|
function je(p) {
|
|
@@ -19263,7 +19263,7 @@ var as = {}, Sy = {
|
|
|
19263
19263
|
}
|
|
19264
19264
|
if (Ne) {
|
|
19265
19265
|
if (!Be(C, function(Ft, yn) {
|
|
19266
|
-
if (!
|
|
19266
|
+
if (!gt(Ne, yn) && (tt === Ft || Ce(tt, Ft, M, W, pe)))
|
|
19267
19267
|
return Ne.push(yn);
|
|
19268
19268
|
})) {
|
|
19269
19269
|
mt = !1;
|
|
@@ -19350,7 +19350,7 @@ var as = {}, Sy = {
|
|
|
19350
19350
|
return sr(C) ? M[typeof C == "string" ? "string" : "hash"] : M.map;
|
|
19351
19351
|
}
|
|
19352
19352
|
function Wt(p, C) {
|
|
19353
|
-
var M =
|
|
19353
|
+
var M = vt(p, C);
|
|
19354
19354
|
return Ks(M) ? M : void 0;
|
|
19355
19355
|
}
|
|
19356
19356
|
function Nt(p) {
|
|
@@ -24485,7 +24485,7 @@ function kC(i, t, e) {
|
|
|
24485
24485
|
}
|
|
24486
24486
|
function y(x, I, T) {
|
|
24487
24487
|
var S, N;
|
|
24488
|
-
return !(!I.visible || !I.enabled || !T.visible || !((S = x.state) != null && S.visible) || ((N = x.temporaryState) == null ? void 0 : N.visible) === !1 ||
|
|
24488
|
+
return !(!I.visible || !I.enabled || !T.visible || !((S = x.state) != null && S.visible) || ((N = x.temporaryState) == null ? void 0 : N.visible) === !1 || pt(x) && !x.mediaVisible);
|
|
24489
24489
|
}
|
|
24490
24490
|
const P = (x) => h.emit("click", { event: x, target: "TagContent", tag: d }), D = (x) => h.emit("click", { event: x, target: "TagContent", tag: d });
|
|
24491
24491
|
return i.$$set = (x) => {
|
|
@@ -25293,7 +25293,7 @@ class YC extends JA {
|
|
|
25293
25293
|
customID: e.id,
|
|
25294
25294
|
isTagModel: !0,
|
|
25295
25295
|
removeEventListener: this.addObjectClickHandler(e, l.scene, (A) => {
|
|
25296
|
-
this.hooks.emit("click", { target: "TagModel", tag: e, event: A });
|
|
25296
|
+
console.log("🐶 ==> tag:", e), this.hooks.emit("click", { target: "TagModel", tag: e, event: A });
|
|
25297
25297
|
})
|
|
25298
25298
|
});
|
|
25299
25299
|
return c.visible = this.getCurrentVisibleState(e), new Qi().fromArray(e.matrix).decompose(c.position, c.quaternion, c.scale), c.updateWorldMatrix(!0, !0), c.visible = this.getVisibleByFiveMode(e), (m = (u = (h = this.config) == null ? void 0 : h.globalConfig) == null ? void 0 : u.modelConfig) != null && m.autoLookAtEnabled && ((v = (g = e.config) == null ? void 0 : g.modelConfig) != null && v.autoLookAtEnabled) && c.lookAt(this.five.camera.position.clone().setY(c.position.y)), c;
|
|
@@ -25304,7 +25304,7 @@ class YC extends JA {
|
|
|
25304
25304
|
return;
|
|
25305
25305
|
e.model.object = s;
|
|
25306
25306
|
const r = this.gltfObjectGroup.children.find((l) => l.customID === e.id);
|
|
25307
|
-
if (r && (this.gltfObjectGroup.remove(r), r.removeEventListener()), this.updateRender3DDomTag(),
|
|
25307
|
+
if (r && (this.gltfObjectGroup.remove(r), r.removeEventListener()), this.updateRender3DDomTag(), pt(e)) {
|
|
25308
25308
|
if (this.getRenderType(e) === "Mesh" && !e.mediaPlane) {
|
|
25309
25309
|
const l = e.data.mediaPosition.map(St);
|
|
25310
25310
|
e.mediaPlane = new cc(e.data.mediaData[0].url, e.data.mediaPosition.map(St), {
|
|
@@ -25371,45 +25371,45 @@ class YC extends JA {
|
|
|
25371
25371
|
*/
|
|
25372
25372
|
updateRender3DDomTag() {
|
|
25373
25373
|
this.sort([...this.filterCSS3DTag]).forEach((n) => {
|
|
25374
|
-
var o, s, r;
|
|
25374
|
+
var o, s, r, a;
|
|
25375
25375
|
if (n.tag3DContentSvelte) {
|
|
25376
|
-
const { svelteApp:
|
|
25377
|
-
if (
|
|
25378
|
-
const
|
|
25379
|
-
|
|
25376
|
+
const { svelteApp: l, css3DInstance: c, initialNormal: d, currentNormal: h } = n.tag3DContentSvelte;
|
|
25377
|
+
if (l.$set({ tag: n, hooks: this.hooks, state: this.state, temporaryState: this.temporaryState }), !d.equals(h)) {
|
|
25378
|
+
const u = new aa().setFromUnitVectors(d, h);
|
|
25379
|
+
c.css3DObject.setRotationFromQuaternion(u);
|
|
25380
25380
|
}
|
|
25381
25381
|
return;
|
|
25382
25382
|
} else {
|
|
25383
|
-
if (
|
|
25383
|
+
if (pt(n) && !((o = n.model) != null && o.object) || ((s = n.state) == null ? void 0 : s.visible) === !1 || !this.state.visible || !this.state.enabled)
|
|
25384
25384
|
return;
|
|
25385
25385
|
if (this.css3DRenderPlugin || (this.css3DRenderPlugin = Ud(this.five)), n.stickType === "3DPoint" && !n.normal)
|
|
25386
25386
|
return console.error("updateRenderPlaneTag: 三维点标签缺少法向量!");
|
|
25387
|
-
const
|
|
25388
|
-
if (!a)
|
|
25389
|
-
return;
|
|
25390
|
-
const l = this.getTagNormal(n);
|
|
25387
|
+
const l = this.getPositions(n);
|
|
25391
25388
|
if (!l)
|
|
25392
25389
|
return;
|
|
25393
|
-
const
|
|
25390
|
+
const c = this.getTagNormal(n);
|
|
25391
|
+
if (!c)
|
|
25392
|
+
return;
|
|
25393
|
+
const h = (r = this.getTagConfig(n).tag3DConfig) != null ? r : {};
|
|
25394
25394
|
if (this.getRenderType(n) === "BehindDom") {
|
|
25395
|
-
|
|
25396
|
-
const
|
|
25397
|
-
|
|
25398
|
-
var
|
|
25399
|
-
if (
|
|
25400
|
-
const
|
|
25401
|
-
this.hooks.emit("click", { event:
|
|
25395
|
+
h.mode = "behind", h.container = document.createElement("div");
|
|
25396
|
+
const g = "black";
|
|
25397
|
+
h.container.style.backgroundColor = g, h.container.style.border = `3px solid ${g}`, this.css3DRenderPlugin.hooks.on("render", () => {
|
|
25398
|
+
var v;
|
|
25399
|
+
if (u.css3DObject.opacityMesh) {
|
|
25400
|
+
const A = this.addObjectClickHandler(n, u.css3DObject.opacityMesh, (b) => {
|
|
25401
|
+
this.hooks.emit("click", { event: b, target: "TagContent", tag: n });
|
|
25402
25402
|
});
|
|
25403
|
-
(
|
|
25403
|
+
(v = this.store.css3DRenderDisposer.get(n.id)) == null || v.push(A);
|
|
25404
25404
|
}
|
|
25405
25405
|
});
|
|
25406
25406
|
}
|
|
25407
|
-
const
|
|
25408
|
-
if (!
|
|
25407
|
+
const u = this.css3DRenderPlugin.create3DDomContainer(l, h);
|
|
25408
|
+
if (!u)
|
|
25409
25409
|
return;
|
|
25410
|
-
this.store.css3DRenderDisposer.set(n.id, [
|
|
25411
|
-
const
|
|
25412
|
-
target:
|
|
25410
|
+
this.store.css3DRenderDisposer.set(n.id, [u.dispose]);
|
|
25411
|
+
const m = new pu({
|
|
25412
|
+
target: u.container,
|
|
25413
25413
|
props: {
|
|
25414
25414
|
tag: n,
|
|
25415
25415
|
hooks: this.hooks,
|
|
@@ -25420,15 +25420,15 @@ class YC extends JA {
|
|
|
25420
25420
|
}
|
|
25421
25421
|
});
|
|
25422
25422
|
n.tag3DContentSvelte = {
|
|
25423
|
-
svelteApp:
|
|
25424
|
-
domContainer:
|
|
25425
|
-
css3DInstance:
|
|
25426
|
-
initialNormal:
|
|
25427
|
-
currentNormal:
|
|
25423
|
+
svelteApp: m,
|
|
25424
|
+
domContainer: u,
|
|
25425
|
+
css3DInstance: u,
|
|
25426
|
+
initialNormal: c,
|
|
25427
|
+
currentNormal: c,
|
|
25428
25428
|
dispose: () => {
|
|
25429
|
-
|
|
25429
|
+
m.$destroy(), u.dispose();
|
|
25430
25430
|
}
|
|
25431
|
-
};
|
|
25431
|
+
}, pt(n) && ((a = n.model) != null && a.object) && this.updateTagCss3DObjectMatrix(n, n.model.object);
|
|
25432
25432
|
}
|
|
25433
25433
|
}), this.clearUnusedPanelTag();
|
|
25434
25434
|
}
|
|
@@ -25463,7 +25463,7 @@ class YC extends JA {
|
|
|
25463
25463
|
const o = (b = (A = (v = e.mergedConfig) == null ? void 0 : v.tag3DConfig) == null ? void 0 : A.ratio) != null ? b : 216e-5, s = (y = e.tag3DContentSvelte) == null ? void 0 : y.css3DInstance.css3DObject;
|
|
25464
25464
|
if (!s)
|
|
25465
25465
|
return;
|
|
25466
|
-
const r =
|
|
25466
|
+
const r = pt(e) ? e.data.mediaPosition : e.position;
|
|
25467
25467
|
n.updateWorldMatrix(!1, !1);
|
|
25468
25468
|
const a = n.matrixWorld, l = new $().fromArray(r[0]), c = new $().fromArray(r[2]), d = Dn(l, c).add(new $(0, 0, 5e-4)), h = new Qi().setPosition(d), u = new Qi().makeScale(o, o, o), m = new Qi().multiply(a).multiply(h).multiply(u);
|
|
25469
25469
|
m.decompose(s.position, s.quaternion, s.scale);
|
|
@@ -25546,7 +25546,7 @@ class ia extends YC {
|
|
|
25546
25546
|
f(this, "handleFiveInitAnimationEnded", () => {
|
|
25547
25547
|
const e = this.five.getCurrentState().mode;
|
|
25548
25548
|
this.tags.forEach((n) => {
|
|
25549
|
-
|
|
25549
|
+
pt(n) && e === "Panorama" && this.changeTagMode(n, "front"), n.state.visible = this.getVisible(n);
|
|
25550
25550
|
}), this.updateRenderAllTags();
|
|
25551
25551
|
});
|
|
25552
25552
|
/** 楼层切换时,需要更新标签可见性 */
|
|
@@ -25803,7 +25803,7 @@ class ia extends YC {
|
|
|
25803
25803
|
*/
|
|
25804
25804
|
handleFiveModeChange(e) {
|
|
25805
25805
|
this.setModelMedialVisible(), this.tags.forEach((n) => {
|
|
25806
|
-
|
|
25806
|
+
pt(n) && e !== "Panorama" && this.changeTagMode(n, "behind"), n.state.visible = this.getVisible(n);
|
|
25807
25807
|
}), this.updateRenderAllTags();
|
|
25808
25808
|
}
|
|
25809
25809
|
handleFiveWantsMoveToPano() {
|