@realsee/dnalogel 2.16.0-4 → 2.16.0-7
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/CruisePlugin/index.d.ts +2 -0
- package/dist/CruisePlugin/typing.d.ts +32 -40
- package/dist/GuideLinePlugin/Controller.d.ts +2 -0
- package/dist/GuideLinePlugin/GuideLineItem.d.ts +6 -0
- package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +38 -5
- package/dist/GuideLinePlugin/typing.d.ts +33 -4
- package/dist/PanoTagPlugin/controller/TagComputer.d.ts +1 -0
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +5 -5
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +3 -1
- package/dist/index.cjs.js +67 -67
- package/dist/index.js +8846 -8678
- package/dist/index.umd.js +54 -54
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +32 -31
- package/docs/classes/CruisePluginController.html +39 -38
- package/docs/classes/GuideLineItem.GuideLineItem.html +49 -16
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +218 -49
- package/docs/classes/Magnifier.html +21 -20
- package/docs/classes/ModelRoomLabelController.html +12 -11
- package/docs/classes/Object3DHelperController.html +26 -25
- package/docs/classes/PaintBrush.html +16 -15
- package/docs/classes/PanoMeasurePluginLine.html +24 -23
- package/docs/classes/PanoMeasurePluginModel.html +23 -22
- package/docs/classes/PanoMeasurePluginPoint.html +15 -14
- package/docs/classes/PanoMeasurePluginPolyline.html +27 -26
- package/docs/classes/PanoTagPluginController.html +48 -47
- package/docs/classes/Util.BetterTween.html +9 -8
- package/docs/classes/Util.FivePointSelector.html +13 -12
- package/docs/classes/Util.Interval.html +13 -12
- package/docs/classes/Util.Magnifier.html +18 -17
- package/docs/classes/Util.PointDomHelper.html +12 -11
- package/docs/classes/Util.PointHelper.html +12 -11
- package/docs/classes/Util.Rectangle.html +14 -13
- package/docs/enums/CameraMovementEffect.html +8 -7
- package/docs/enums/ContentType.html +20 -19
- package/docs/enums/DIRECTION.html +10 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +10 -9
- package/docs/enums/DimensionType.html +8 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +9 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +10 -9
- package/docs/enums/PaintBrushTypeEnum.html +9 -8
- package/docs/enums/Rotation.html +9 -8
- package/docs/functions/CSS3DRenderPlugin.html +5 -4
- package/docs/functions/CameraMovementPlugin.html +5 -4
- package/docs/functions/CruisePlugin.html +5 -4
- package/docs/functions/GuideLinePlugin.html +6 -5
- package/docs/functions/ItemLabelPlugin.html +5 -4
- package/docs/functions/MapviewFloorplanPlugin.html +5 -4
- package/docs/functions/ModelChassisCompassPlugin.html +5 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -4
- package/docs/functions/ModelFloorplanPlugin.html +5 -4
- package/docs/functions/ModelItemLabelPlugin.html +5 -4
- package/docs/functions/ModelRoomLabelPlugin.html +5 -4
- package/docs/functions/ModelTVVideoPlugin.html +5 -4
- package/docs/functions/ModelViewPlugin.html +5 -4
- package/docs/functions/Object3DHelperPlugin.html +5 -4
- package/docs/functions/PanoCompassPlugin.html +5 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +5 -4
- package/docs/functions/PanoDoorLabelPlugin.html +5 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +5 -4
- package/docs/functions/PanoMeasurePlugin.html +5 -4
- package/docs/functions/PanoRulerPlugin.html +5 -4
- package/docs/functions/PanoRulerProPlugin.html +5 -4
- package/docs/functions/PanoSpatialTagPlugin.html +5 -4
- package/docs/functions/PanoTagPlugin.html +5 -4
- package/docs/functions/PanoVideoPlugin.html +5 -4
- package/docs/functions/TopviewFloorplanPlugin.html +5 -4
- package/docs/functions/Util.getCoordsFromClient.html +6 -5
- package/docs/functions/Util.getCoordsFromElement.html +6 -5
- package/docs/functions/Util.getFrameTime.html +6 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +6 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +6 -5
- package/docs/functions/Util.isAbsoluteURL.html +6 -5
- package/docs/functions/Util.isModelLike.html +6 -5
- package/docs/functions/Util.isNil.html +6 -5
- package/docs/functions/Util.isPanoramaLike.html +6 -5
- package/docs/functions/Util.nextFrame.html +6 -5
- package/docs/functions/Util.notNil.html +6 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +6 -5
- package/docs/functions/Util.tweenProgress.html +6 -5
- package/docs/functions/Util.uuid.html +6 -5
- package/docs/functions/pluginFlag.html +6 -5
- package/docs/index.html +5 -4
- package/docs/interfaces/AddTagConfig.html +7 -6
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +12 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +9 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +8 -7
- package/docs/interfaces/CruisePluginTypes.Config.html +107 -0
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +112 -0
- package/docs/interfaces/CruisePluginTypes.EventMap.html +429 -0
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +120 -0
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +141 -0
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +143 -0
- package/docs/interfaces/CruisePluginTypes.PluginData.html +95 -0
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +83 -0
- package/docs/interfaces/CruisePluginTypes.PluginState.html +148 -0
- package/docs/interfaces/EventMap.html +16 -15
- package/docs/interfaces/FloorplanBounding.html +9 -8
- package/docs/interfaces/FloorplanData.html +11 -10
- package/docs/interfaces/FloorplanEntrance.html +12 -11
- package/docs/interfaces/FloorplanExtraObject.html +11 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +9 -8
- package/docs/interfaces/FloorplanFloorData.html +10 -9
- package/docs/interfaces/FloorplanImagePosition.html +8 -7
- package/docs/interfaces/FloorplanObserver.html +10 -9
- package/docs/interfaces/FloorplanOutlineItem.html +10 -9
- package/docs/interfaces/FloorplanPosition.html +8 -7
- package/docs/interfaces/FloorplanRoomItem.html +14 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +8 -7
- package/docs/interfaces/FloorplanServerBounding.html +9 -8
- package/docs/interfaces/FloorplanServerComputedData.html +11 -10
- package/docs/interfaces/FloorplanServerData.html +8 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +11 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +9 -8
- package/docs/interfaces/FloorplanServerEntrance.html +12 -11
- package/docs/interfaces/FloorplanServerFloorData.html +10 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +8 -7
- package/docs/interfaces/FloorplanServerObserver.html +10 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +10 -9
- package/docs/interfaces/FloorplanServerPosition.html +8 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +15 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +8 -7
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +15 -10
- package/docs/interfaces/GuideLinePluginType.EventMap.html +14 -13
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +9 -8
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +7 -6
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -11
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +9 -8
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +179 -0
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTag.html +211 -0
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +293 -0
- package/docs/interfaces/GuideLinePluginType.PluginDataV1.html +8 -7
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +7 -6
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +8 -7
- package/docs/interfaces/GuideLinePluginType.PluginState.html +10 -9
- package/docs/interfaces/GuideLinePluginType.Route.html +11 -10
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +10 -9
- package/docs/interfaces/HelperOffset.html +9 -8
- package/docs/interfaces/ImagePlaneGroup.html +7 -6
- package/docs/interfaces/ItemLabelPluginData.html +7 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +12 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +10 -9
- package/docs/interfaces/MinMax.html +8 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +8 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +9 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +8 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +9 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +9 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +7 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +12 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +8 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +7 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +10 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +9 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +7 -6
- package/docs/interfaces/ModelViewPluginExportType.html +12 -11
- package/docs/interfaces/Object3DHelperState.html +9 -8
- package/docs/interfaces/ObjectHelperControllers.html +10 -9
- package/docs/interfaces/PaintBrushAction.html +13 -12
- package/docs/interfaces/PaintBrushConfigs.html +13 -12
- package/docs/interfaces/PaintBrushState.html +11 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +11 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +6 -5
- package/docs/interfaces/PanoMeasureParameterType.html +15 -14
- package/docs/interfaces/PanoMeasurePluginLineJson.html +9 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +8 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +8 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +9 -8
- package/docs/interfaces/PanoRulerPluginExportType.html +11 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +8 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +9 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +10 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +8 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +8 -7
- package/docs/interfaces/PanoRulerProPluginState.html +9 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +6 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +6 -5
- package/docs/interfaces/PanoSpatialTagPluginData.html +12 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +11 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +14 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +11 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +14 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +12 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +11 -10
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +7 -6
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +9 -8
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +7 -6
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +10 -9
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +7 -6
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +9 -8
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +11 -10
- package/docs/interfaces/Point.html +9 -8
- package/docs/interfaces/Room.html +10 -9
- package/docs/interfaces/RoomInfo.html +8 -7
- package/docs/interfaces/RoomLabel.html +15 -14
- package/docs/interfaces/RoomRules.html +6 -5
- package/docs/interfaces/Rooms.html +6 -5
- package/docs/interfaces/Scissor.html +10 -9
- package/docs/interfaces/State.html +9 -8
- package/docs/interfaces/TagCacheInterface.html +13 -12
- package/docs/interfaces/TagConfig.html +12 -11
- package/docs/interfaces/TagGLTFObjectGroup.html +7 -6
- package/docs/interfaces/TagIconUrl.html +27 -17
- package/docs/interfaces/TagObjectGroup.html +7 -6
- package/docs/interfaces/TagStyle.html +7 -6
- package/docs/interfaces/Tags.html +10 -9
- package/docs/interfaces/TemporaryState.html +7 -6
- package/docs/interfaces/Util.MagnifierParameter.html +12 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +9 -8
- package/docs/modules/CruisePluginTypes.html +88 -0
- package/docs/modules/GuideLineItem.html +6 -5
- package/docs/modules/GuideLineModeItem.html +6 -5
- package/docs/modules/GuideLinePluginType.html +14 -5
- package/docs/modules/PanoVideoPluginType.html +6 -5
- package/docs/modules/Util.html +6 -5
- package/docs/modules.html +7 -5
- package/docs/types/ArrayPosition.html +6 -5
- package/docs/types/AudioAppearance.html +6 -5
- package/docs/types/AudioTagTypeConfigKey.html +6 -5
- package/docs/types/CSS3DRenderExportType.html +6 -5
- package/docs/types/CSS3DRenderPluginExportType.html +6 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +6 -5
- package/docs/types/ClassFunctionParameters.html +6 -5
- package/docs/types/Color.html +6 -5
- package/docs/types/ContentTypeConfigKey.html +6 -5
- package/docs/types/ContentTypeConfigKeySplit.html +6 -5
- package/docs/types/ContentTypeMap.html +6 -5
- package/docs/types/Create3DDomContainerReturnType.html +6 -5
- package/docs/types/Create3DElementReturnType.html +6 -5
- package/docs/types/CruisePluginExportType.html +6 -5
- package/docs/types/CruisePluginTypes.CruiseData.html +60 -0
- package/docs/types/CruisePluginTypes.MoveEffect.html +60 -0
- package/docs/types/Direction-1.html +6 -5
- package/docs/types/Direction4.html +6 -5
- package/docs/types/FloorplanRuleLabels.html +6 -5
- package/docs/types/FloorplanServerRuleLabels.html +6 -5
- package/docs/types/GuideLinePluginExportType.html +6 -5
- package/docs/types/GuideLinePluginType.GuideLineItem.html +11 -6
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +105 -0
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +10 -5
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +10 -5
- package/docs/types/GuideLinePluginType.PathItem.html +10 -5
- package/docs/types/GuideLinePluginType.PluginData.html +10 -5
- package/docs/types/HelperEventMap.html +6 -5
- package/docs/types/LoadTagConfig.html +6 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +6 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +6 -5
- package/docs/types/MediaData.html +6 -5
- package/docs/types/MediaStore.html +6 -5
- package/docs/types/ModelElement.html +6 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +6 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +6 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +6 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +6 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +6 -5
- package/docs/types/MoveArgs.html +6 -5
- package/docs/types/MoveOpts.html +6 -5
- package/docs/types/Object3DHelperEventMap.html +6 -5
- package/docs/types/ObjectFit.html +6 -5
- package/docs/types/PaintBrushEventMap.html +6 -5
- package/docs/types/PanoCompassPluginData.html +6 -5
- package/docs/types/PanoCompassPluginExportType.html +6 -5
- package/docs/types/PanoCompassPluginParameterType.html +6 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +6 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +6 -5
- package/docs/types/PanoIndex.html +6 -5
- package/docs/types/PanoMeasurePluginEvent.html +6 -5
- package/docs/types/PanoMeasureReturnType.html +6 -5
- package/docs/types/PanoSpatialTagPluginId.html +6 -5
- package/docs/types/PanoTagPluginExportInterface.html +6 -5
- package/docs/types/PanoTagPluginParamsInterface.html +6 -5
- package/docs/types/PanoVideoPluginParameterType.html +6 -5
- package/docs/types/PanoVideoPluginReturnType.html +6 -5
- package/docs/types/PlaneTag.html +6 -5
- package/docs/types/PlaneTagElement.html +6 -5
- package/docs/types/Point2DElement.html +6 -5
- package/docs/types/Point2DTag.html +6 -5
- package/docs/types/Point3DElement.html +6 -5
- package/docs/types/Point3DTag.html +6 -5
- package/docs/types/PointTag.html +6 -5
- package/docs/types/PointTagElement.html +6 -5
- package/docs/types/Position.html +6 -5
- package/docs/types/RotateArgs.html +6 -5
- package/docs/types/RotateOpts.html +6 -5
- package/docs/types/RuleLabelsKey.html +6 -5
- package/docs/types/RuleLabelsValue.html +6 -5
- package/docs/types/StickType.html +6 -5
- package/docs/types/Tag.html +6 -5
- package/docs/types/Tag2D.html +6 -5
- package/docs/types/Tag3D.html +6 -5
- package/docs/types/TagContentType.html +6 -5
- package/docs/types/TagDimensionType.html +6 -5
- package/docs/types/TagElement.html +6 -5
- package/docs/types/TagEvents.html +6 -5
- package/docs/types/TagGLTFObject.html +6 -5
- package/docs/types/TagHooks.html +6 -5
- package/docs/types/TagIconSize.html +6 -5
- package/docs/types/TagId.html +6 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +6 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +6 -5
- package/docs/types/WorkCode.html +6 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +6 -5
- package/docs/variables/PLUGIN.html +6 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +6 -5
- package/docs/variables/ROOM_TYPE_MAP.html +6 -5
- package/docs/variables/itemLabelPluginServerParams.html +6 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +6 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +6 -5
- package/libs/CruisePlugin/Controller.js +222 -118
- package/libs/CruisePlugin/index.d.ts +2 -0
- package/libs/CruisePlugin/index.js +110 -5
- package/libs/CruisePlugin/typing/index.js +6 -0
- package/libs/CruisePlugin/typing.d.ts +32 -40
- package/libs/GuideLinePlugin/Components/Tag.js +49 -0
- package/libs/GuideLinePlugin/Controller.d.ts +2 -0
- package/libs/GuideLinePlugin/Controller.js +199 -85
- package/libs/GuideLinePlugin/GuideLineItem/index.js +109 -22
- package/libs/GuideLinePlugin/GuideLineItem.d.ts +6 -0
- package/libs/GuideLinePlugin/GuideLineItem.js +123 -4
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +84 -53
- package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +38 -5
- package/libs/GuideLinePlugin/GuideLineModeItem.js +106 -2
- package/libs/GuideLinePlugin/index.js +119 -7
- package/libs/GuideLinePlugin/typing.d.ts +33 -4
- package/libs/GuideLinePlugin/typing.js +34 -1
- package/libs/GuideLinePlugin/utils/createLineGeometry.js +19 -16
- package/libs/GuideLinePlugin/utils/index.js +17 -4
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +92 -66
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +1 -0
- package/libs/PanoTagPlugin/controller/TagComputer.js +6 -0
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +5 -5
- package/libs/PanoTagPlugin/controller/index.js +5 -5
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +3 -1
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +120 -117
- package/package.json +1 -1
|
@@ -37,9 +37,9 @@ import "../../shared-utils/three/loadTexture.js";
|
|
|
37
37
|
import { isMediaModelTag as v } from "../utils/tag/tagCheck.js";
|
|
38
38
|
import { waitFiveModelLoaded as I } from "../utils/actionAfterFiveModelLoad.js";
|
|
39
39
|
import { debounce as A } from "../utils/debounce.js";
|
|
40
|
-
import { throttle as
|
|
40
|
+
import { throttle as R } from "../utils/throttle.js";
|
|
41
41
|
import { resizeObserver as y } from "../utils/resizeObserver.js";
|
|
42
|
-
import
|
|
42
|
+
import B from "../utils/tag/format.js";
|
|
43
43
|
import { generateBlankAudio as O, AudioNamespace as _ } from "../../shared-utils/audio.js";
|
|
44
44
|
import { TagRender as k } from "./TagRender.js";
|
|
45
45
|
import "./TagComputer.js";
|
|
@@ -213,7 +213,7 @@ class ei extends k {
|
|
|
213
213
|
destroy: () => this.destroyTagById(o.id)
|
|
214
214
|
});
|
|
215
215
|
}).filter((o) => o.position);
|
|
216
|
-
return s.forEach(
|
|
216
|
+
return s.forEach(B), this.tags.push(...s), I(this.five).then(() => f(this, null, function* () {
|
|
217
217
|
var o, r, n;
|
|
218
218
|
this.store.eventListenerDisposer && ((r = (o = this.store).eventListenerDisposer) == null || r.call(o)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.setVisibleAndUnfolded({ withAnimation: (n = t == null ? void 0 : t.withAnimation) != null ? n : !0 }).then(() => this.updateRenderAllTags()), this.updateRenderAllTags(), yield this.addMediaModelTag(s);
|
|
219
219
|
}));
|
|
@@ -310,7 +310,7 @@ class ei extends k {
|
|
|
310
310
|
setVisibleAndUnfolded() {
|
|
311
311
|
return f(this, arguments, function* ({ withAnimation: e } = { withAnimation: !1 }) {
|
|
312
312
|
if (!!this.isPanorama)
|
|
313
|
-
return this.
|
|
313
|
+
return this.setVisible(), e ? new Promise((t) => {
|
|
314
314
|
setTimeout(() => {
|
|
315
315
|
this.setUnfoldedByPanoIndex(), t();
|
|
316
316
|
}, 10);
|
|
@@ -355,7 +355,7 @@ class ei extends k {
|
|
|
355
355
|
}, i = () => {
|
|
356
356
|
!this.state.enabled || this.hide();
|
|
357
357
|
}, { observe: s, unobserve: o } = y(
|
|
358
|
-
|
|
358
|
+
R(() => {
|
|
359
359
|
!this.store.resizeObserverDisposer || i();
|
|
360
360
|
}, 500),
|
|
361
361
|
e
|
|
@@ -20,7 +20,9 @@ export declare enum DimensionType {
|
|
|
20
20
|
export declare type TagDimensionType = '2D' | '3D';
|
|
21
21
|
export declare type StickType = '2DPoint' | '3DPoint' | 'Plane' | 'Model';
|
|
22
22
|
export interface TagIconUrl {
|
|
23
|
-
url
|
|
23
|
+
url?: string;
|
|
24
|
+
/** 是否使用默认 tag point,默认为 true */
|
|
25
|
+
enabled?: boolean;
|
|
24
26
|
/** 指切图是几倍图,如 2倍图, 3倍图,默认值为 3 */
|
|
25
27
|
ratio?: number;
|
|
26
28
|
/** 指帧动画的雪碧图由几张图片构成 */
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -12,7 +12,7 @@ import { isAbsoluteURL as a } from "../shared-utils/isAbsoluteURL.js";
|
|
|
12
12
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
13
13
|
class R {
|
|
14
14
|
constructor(t, r) {
|
|
15
|
-
s(this, "VERSION", "2.16.0-
|
|
15
|
+
s(this, "VERSION", "2.16.0-7");
|
|
16
16
|
s(this, "five");
|
|
17
17
|
s(this, "hooks", new m());
|
|
18
18
|
s(this, "staticPrefix", "//vrlab-static.ljcdn.com");
|
package/libs/index.js
CHANGED
|
@@ -1,53 +1,54 @@
|
|
|
1
|
-
import { PaintBrush as
|
|
2
|
-
import { PaintBrushTypeEnum as
|
|
3
|
-
import { ModelViewPlugin as
|
|
4
|
-
import { CSS3DRenderPlugin as
|
|
5
|
-
import { PanoCursorRaycasterPlugin as
|
|
6
|
-
import { ModelRoomLabelPlugin as
|
|
7
|
-
import { FLOOR_PLAN_ATTACHED_TO as
|
|
8
|
-
import { ModelFloorplanPlugin as
|
|
9
|
-
import { MapviewFloorplanPlugin as
|
|
10
|
-
import { TopviewFloorplanPlugin as
|
|
11
|
-
import { PanoFloorplanRadarPlugin as
|
|
12
|
-
import { FLOOR_TYPE_MAP as
|
|
13
|
-
import { ModelChassisCompassPlugin as
|
|
14
|
-
import { ModelEntryDoorGuidePlugin as
|
|
15
|
-
import { CameraMovementPlugin as
|
|
16
|
-
import { CameraMovementEffect as
|
|
1
|
+
import { PaintBrush as wm } from "./components/PaintBrush/index.js";
|
|
2
|
+
import { PaintBrushTypeEnum as Hm } from "./components/PaintBrush/typings.js";
|
|
3
|
+
import { ModelViewPlugin as $m } from "./ModelViewPlugin/Plugin.js";
|
|
4
|
+
import { CSS3DRenderPlugin as km } from "./CSS3DRenderPlugin/index.js";
|
|
5
|
+
import { PanoCursorRaycasterPlugin as zm } from "./PanoCursorRaycasterPlugin/index.js";
|
|
6
|
+
import { ModelRoomLabelPlugin as Km, modelRoomLabelPluginServerParams as Qm } from "./ModelRoomLabelPlugin/index.js";
|
|
7
|
+
import { FLOOR_PLAN_ATTACHED_TO as Xm } from "./floorplan/constant.js";
|
|
8
|
+
import { ModelFloorplanPlugin as op } from "./floorplan/ModelFloorplanPlugin/index.js";
|
|
9
|
+
import { MapviewFloorplanPlugin as tp } from "./floorplan/MapviewFloorplanPlugin/index.js";
|
|
10
|
+
import { TopviewFloorplanPlugin as mp } from "./floorplan/TopviewFloorplanPlugin/index.js";
|
|
11
|
+
import { PanoFloorplanRadarPlugin as ep } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
|
|
12
|
+
import { FLOOR_TYPE_MAP as np, ROOM_FETILE_TYPE_MAP as ap, ROOM_TYPE_MAP as Pp } from "./floorplan/typings/floorplanServerData.js";
|
|
13
|
+
import { ModelChassisCompassPlugin as fp } from "./ModelChassisCompassPlugin/Plugin.js";
|
|
14
|
+
import { ModelEntryDoorGuidePlugin as gp } from "./ModelEntryDoorGuidePlugin/Plugin.js";
|
|
15
|
+
import { CameraMovementPlugin as dp } from "./CameraMovementPlugin/CameraMovementPlugin.js";
|
|
16
|
+
import { CameraMovementEffect as Tp, Rotation as Lp } from "./CameraMovementPlugin/typing.js";
|
|
17
17
|
import { PanoRulerPlugin as _p } from "./PanoRulerPlugin/Plugin.js";
|
|
18
|
-
import { PanoRulerProPlugin as
|
|
19
|
-
import { PanoCompassPlugin as
|
|
20
|
-
import { PanoMeasurePlugin as
|
|
21
|
-
import { PanoSpatialTagPlugin as
|
|
18
|
+
import { PanoRulerProPlugin as Rp } from "./PanoRulerProPlugin/index.js";
|
|
19
|
+
import { PanoCompassPlugin as bp } from "./PanoCompassPlugin/index.js";
|
|
20
|
+
import { PanoMeasurePlugin as Sp } from "./PanoMeasurePlugin/index.js";
|
|
21
|
+
import { PanoSpatialTagPlugin as yp } from "./PanoSpatialTagPlugin/Plugin.js";
|
|
22
22
|
import { modelItemLabelPluginServerParams as Dp } from "./ModelItemLabelPlugin/index.js";
|
|
23
|
-
import { ModelTVVideoPlugin as
|
|
24
|
-
import { DIRECTION as
|
|
25
|
-
import { itemLabelPluginServerParams as
|
|
26
|
-
import { PanoDoorLabelPlugin as
|
|
27
|
-
import { GuideLinePlugin as
|
|
28
|
-
import { CruisePlugin as
|
|
29
|
-
import { PanoTagPlugin as
|
|
30
|
-
import { Object3DHelperPlugin as
|
|
31
|
-
import { PanoVideoPlugin as
|
|
32
|
-
import { index as
|
|
33
|
-
import { CSS3DRender as
|
|
34
|
-
import { Model as
|
|
35
|
-
import { default as
|
|
36
|
-
import { default as
|
|
37
|
-
import { Polyline as
|
|
38
|
-
import { default as
|
|
39
|
-
import { DISPLAY_STRATEGY_TYPE as
|
|
40
|
-
import { ModelItemLabelPlugin as
|
|
41
|
-
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as
|
|
42
|
-
import { Plugin as
|
|
43
|
-
import { GuideLineItem$1 as
|
|
23
|
+
import { ModelTVVideoPlugin as Yp } from "./ModelTVVideoPlugin/Plugin.js";
|
|
24
|
+
import { DIRECTION as Fp } from "./ModelTVVideoPlugin/typings.js";
|
|
25
|
+
import { itemLabelPluginServerParams as Np } from "./ItemLabelPlugin/index.js";
|
|
26
|
+
import { PanoDoorLabelPlugin as wp } from "./PanoDoorLabelPlugin/index.js";
|
|
27
|
+
import { GuideLinePlugin as Hp } from "./GuideLinePlugin/index.js";
|
|
28
|
+
import { CruisePlugin as $p } from "./CruisePlugin/index.js";
|
|
29
|
+
import { PanoTagPlugin as kp } from "./PanoTagPlugin/index.js";
|
|
30
|
+
import { Object3DHelperPlugin as zp } from "./Object3DHelperPlugin/index.js";
|
|
31
|
+
import { PanoVideoPlugin as Kp } from "./PanoVideoPlugin/index.js";
|
|
32
|
+
import { index as Wp } from "./shared-utils/index.js";
|
|
33
|
+
import { CSS3DRender as Zp } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
34
|
+
import { Model as re } from "./PanoMeasurePlugin/Model/index.js";
|
|
35
|
+
import { default as ie } from "./PanoMeasurePlugin/Model/point.js";
|
|
36
|
+
import { default as pe } from "./PanoMeasurePlugin/Model/line.js";
|
|
37
|
+
import { Polyline as le } from "./PanoMeasurePlugin/Model/polyline.js";
|
|
38
|
+
import { default as ae } from "./PanoMeasurePlugin/Modules/Magnifier.js";
|
|
39
|
+
import { DISPLAY_STRATEGY_TYPE as ue } from "./ModelItemLabelPlugin/typings.js";
|
|
40
|
+
import { ModelItemLabelPlugin as xe } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
|
|
41
|
+
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as se } from "./ItemLabelPlugin/typings.js";
|
|
42
|
+
import { Plugin as Me } from "./ItemLabelPlugin/Plugin.js";
|
|
43
|
+
import { GuideLineItem$1 as Le } from "./GuideLinePlugin/GuideLineItem/index.js";
|
|
44
44
|
import { GuideLineModeItem$1 as _e } from "./GuideLinePlugin/GuideLineModeItem/index.js";
|
|
45
|
-
import { default as
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
45
|
+
import { default as Re } from "./CruisePlugin/Controller.js";
|
|
46
|
+
import { typing as be } from "./CruisePlugin/typing/index.js";
|
|
47
|
+
import { default as Se, pluginFlag as ce } from "./PanoTagPlugin/controller/index.js";
|
|
48
|
+
import { ContentType as Ae } from "./PanoTagPlugin/typings/tag/TagData.js";
|
|
49
|
+
import { DimensionType as Ge } from "./PanoTagPlugin/typings/tag/Utils.js";
|
|
50
|
+
import { Object3DHelperController as ve, PLUGIN as Fe } from "./Object3DHelperPlugin/Controller.js";
|
|
51
|
+
import { typings as Ne } from "./PanoVideoPlugin/typings/index.js";
|
|
51
52
|
import "./components/PaintBrush/Controller.js";
|
|
52
53
|
import "./components/PaintBrush/utils.js";
|
|
53
54
|
import "./components/PaintBrush/tween.js";
|
|
@@ -214,18 +215,19 @@ import "./PanoDoorLabelPlugin/utils.js";
|
|
|
214
215
|
import "./GuideLinePlugin/Controller.js";
|
|
215
216
|
import "polyline-normals";
|
|
216
217
|
import "object-assign-deep";
|
|
218
|
+
import "@realsee/five/gltf-loader";
|
|
219
|
+
import "./PanoTagPlugin/utils/device.js";
|
|
220
|
+
import "./shared-utils/threex/domevents/index.js";
|
|
221
|
+
import "animejs";
|
|
222
|
+
import "./PanoTagPlugin/utils/constants.js";
|
|
223
|
+
import "lodash.get";
|
|
224
|
+
import "lodash.clonedeep";
|
|
225
|
+
import "lodash.isequal";
|
|
226
|
+
import "./shared-utils/three/GLTFLoader.js";
|
|
217
227
|
import "./shared-utils/log.js";
|
|
218
228
|
import "./GuideLinePlugin/utils/createLineGeometry.js";
|
|
219
229
|
import "./shared-utils/five/mode.js";
|
|
220
|
-
import "./CruisePlugin/utils/coordinatesAngle.js";
|
|
221
|
-
import "./CruisePlugin/utils/coordinatesToVector.js";
|
|
222
|
-
import "./CruisePlugin/utils/safeCall.js";
|
|
223
|
-
import "./CruisePlugin/utils/vectorToCoordinates.js";
|
|
224
|
-
import "./CruisePlugin/utils/formatRad.js";
|
|
225
|
-
import "./CruisePlugin/utils/linerValue.js";
|
|
226
|
-
import "./CruisePlugin/utils/sleep.js";
|
|
227
230
|
import "./PanoTagPlugin/utils/addDebugPoints.js";
|
|
228
|
-
import "@realsee/five/gltf-loader";
|
|
229
231
|
import "./PanoTagPlugin/utils/tag/tagCheck.js";
|
|
230
232
|
import "./PanoTagPlugin/utils/actionAfterFiveModelLoad.js";
|
|
231
233
|
import "./PanoTagPlugin/utils/debounce.js";
|
|
@@ -243,8 +245,6 @@ import "./PanoTagPlugin/tag.config.js";
|
|
|
243
245
|
import "./PanoTagPlugin/utils/planeNormal.js";
|
|
244
246
|
import "./PanoTagPlugin/utils/normalPositionToPositions.js";
|
|
245
247
|
import "./PanoTagPlugin/controller/TagCache.js";
|
|
246
|
-
import "./PanoTagPlugin/utils/device.js";
|
|
247
|
-
import "./shared-utils/threex/domevents/index.js";
|
|
248
248
|
import "./PanoTagPlugin/Components/TagContainer.js";
|
|
249
249
|
import "./PanoTagPlugin/Components/TagItem.js";
|
|
250
250
|
import "./PanoTagPlugin/Components/Tag/index.js";
|
|
@@ -254,9 +254,7 @@ import "./PanoTagPlugin/Components/Common/Line/Straight.js";
|
|
|
254
254
|
import "./PanoTagPlugin/Components/Common/Shadow.js";
|
|
255
255
|
import "./PanoTagPlugin/Components/Common/Text/FlyMText.js";
|
|
256
256
|
import "./PanoTagPlugin/Components/Common/Text/FlyText.js";
|
|
257
|
-
import "animejs";
|
|
258
257
|
import "./PanoTagPlugin/utils/search.js";
|
|
259
|
-
import "./PanoTagPlugin/utils/constants.js";
|
|
260
258
|
import "./PanoTagPlugin/Components/Common/Arrow.js";
|
|
261
259
|
import "./PanoTagPlugin/Assets/Icon.js";
|
|
262
260
|
import "./PanoTagPlugin/utils/doUtil.js";
|
|
@@ -286,11 +284,8 @@ import "./vendor/svelte-carousel/src/utils/clones.js";
|
|
|
286
284
|
import "./vendor/svelte-carousel/src/utils/object.js";
|
|
287
285
|
import "./vendor/svelte-carousel/src/components/Carousel/createCarousel.js";
|
|
288
286
|
import "./vendor/simply-reactive/src/simply-reactive.js";
|
|
289
|
-
import "lodash.get";
|
|
290
|
-
import "lodash.clonedeep";
|
|
291
287
|
import "./vendor/simply-reactive/src/utils/subscription.js";
|
|
292
288
|
import "./vendor/simply-reactive/src/utils/object.js";
|
|
293
|
-
import "lodash.isequal";
|
|
294
289
|
import "./vendor/simply-reactive/src/utils/watcher.js";
|
|
295
290
|
import "./vendor/svelte-carousel/src/utils/lazy.js";
|
|
296
291
|
import "./vendor/svelte-carousel/src/utils/ProgressManager.js";
|
|
@@ -311,7 +306,14 @@ import "./PanoTagPlugin/utils/getImageInfo.js";
|
|
|
311
306
|
import "./PanoTagPlugin/Components/Tag/CustomTag.js";
|
|
312
307
|
import "./PanoTagPlugin/Components/Common/TagPoint.js";
|
|
313
308
|
import "./PanoTagPlugin/utils/model/imagePlane.js";
|
|
314
|
-
import "./
|
|
309
|
+
import "./GuideLinePlugin/Components/Tag.js";
|
|
310
|
+
import "./CruisePlugin/utils/coordinatesAngle.js";
|
|
311
|
+
import "./CruisePlugin/utils/coordinatesToVector.js";
|
|
312
|
+
import "./CruisePlugin/utils/safeCall.js";
|
|
313
|
+
import "./CruisePlugin/utils/vectorToCoordinates.js";
|
|
314
|
+
import "./CruisePlugin/utils/formatRad.js";
|
|
315
|
+
import "./CruisePlugin/utils/linerValue.js";
|
|
316
|
+
import "./CruisePlugin/utils/sleep.js";
|
|
315
317
|
import "./shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
316
318
|
import "./shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
317
319
|
import "./shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
@@ -353,62 +355,63 @@ import "./shared-utils/three/PointHelper.js";
|
|
|
353
355
|
import "./shared-utils/three/Assets/index.js";
|
|
354
356
|
import "./shared-utils/three/PointDomHelper.js";
|
|
355
357
|
import "./shared-utils/three/FivePointSelector.js";
|
|
356
|
-
console.info("@realsee/dnalogel %cv2.16.0-
|
|
358
|
+
console.info("@realsee/dnalogel %cv2.16.0-7", "background-color: #12ce9b;color:black;padding:0 6px;border-radius: 3px");
|
|
357
359
|
export {
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
360
|
+
Zp as CSS3DRender,
|
|
361
|
+
km as CSS3DRenderPlugin,
|
|
362
|
+
Tp as CameraMovementEffect,
|
|
363
|
+
dp as CameraMovementPlugin,
|
|
364
|
+
Ae as ContentType,
|
|
365
|
+
$p as CruisePlugin,
|
|
366
|
+
Re as CruisePluginController,
|
|
367
|
+
be as CruisePluginTypes,
|
|
368
|
+
Fp as DIRECTION,
|
|
369
|
+
ue as DISPLAY_STRATEGY_TYPE,
|
|
370
|
+
Ge as DimensionType,
|
|
371
|
+
Xm as FLOOR_PLAN_ATTACHED_TO,
|
|
372
|
+
np as FLOOR_TYPE_MAP,
|
|
373
|
+
Le as GuideLineItem,
|
|
371
374
|
_e as GuideLineModeItem,
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
375
|
+
Hp as GuideLinePlugin,
|
|
376
|
+
se as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
377
|
+
Me as ItemLabelPlugin,
|
|
378
|
+
ae as Magnifier,
|
|
379
|
+
tp as MapviewFloorplanPlugin,
|
|
380
|
+
fp as ModelChassisCompassPlugin,
|
|
381
|
+
gp as ModelEntryDoorGuidePlugin,
|
|
382
|
+
op as ModelFloorplanPlugin,
|
|
383
|
+
xe as ModelItemLabelPlugin,
|
|
384
|
+
Km as ModelRoomLabelPlugin,
|
|
385
|
+
Yp as ModelTVVideoPlugin,
|
|
386
|
+
$m as ModelViewPlugin,
|
|
387
|
+
ve as Object3DHelperController,
|
|
388
|
+
zp as Object3DHelperPlugin,
|
|
389
|
+
Fe as PLUGIN,
|
|
390
|
+
wm as PaintBrush,
|
|
391
|
+
Hm as PaintBrushTypeEnum,
|
|
392
|
+
bp as PanoCompassPlugin,
|
|
393
|
+
zm as PanoCursorRaycasterPlugin,
|
|
394
|
+
wp as PanoDoorLabelPlugin,
|
|
395
|
+
ep as PanoFloorplanRadarPlugin,
|
|
396
|
+
Sp as PanoMeasurePlugin,
|
|
397
|
+
pe as PanoMeasurePluginLine,
|
|
398
|
+
re as PanoMeasurePluginModel,
|
|
399
|
+
ie as PanoMeasurePluginPoint,
|
|
400
|
+
le as PanoMeasurePluginPolyline,
|
|
398
401
|
_p as PanoRulerPlugin,
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
402
|
+
Rp as PanoRulerProPlugin,
|
|
403
|
+
yp as PanoSpatialTagPlugin,
|
|
404
|
+
kp as PanoTagPlugin,
|
|
405
|
+
Se as PanoTagPluginController,
|
|
406
|
+
Kp as PanoVideoPlugin,
|
|
407
|
+
Ne as PanoVideoPluginType,
|
|
408
|
+
ap as ROOM_FETILE_TYPE_MAP,
|
|
409
|
+
Pp as ROOM_TYPE_MAP,
|
|
410
|
+
Lp as Rotation,
|
|
411
|
+
mp as TopviewFloorplanPlugin,
|
|
412
|
+
Wp as Util,
|
|
413
|
+
Np as itemLabelPluginServerParams,
|
|
411
414
|
Dp as modelItemLabelPluginServerParams,
|
|
412
|
-
|
|
413
|
-
|
|
415
|
+
Qm as modelRoomLabelPluginServerParams,
|
|
416
|
+
ce as pluginFlag
|
|
414
417
|
};
|
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": "2.16.0-
|
|
10
|
+
"version": "2.16.0-7",
|
|
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*",
|