@realsee/dnalogel 2.16.0-7 → 2.16.0-9
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/GuideLinePlugin/GuideLineModeItem.d.ts +1 -1
- package/dist/GuideLinePlugin/typing.d.ts +0 -1
- package/dist/GuideLinePlugin/utils/index.d.ts +6 -0
- package/dist/index.cjs.js +45 -45
- package/dist/index.js +1808 -1807
- package/dist/index.umd.js +28 -28
- package/dist/shared-utils/five/changeMode.d.ts +2 -4
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +26 -26
- package/docs/classes/GuideLineItem.GuideLineItem.html +16 -16
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +28 -28
- package/docs/classes/Magnifier.html +20 -20
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +25 -25
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoMeasurePluginLine.html +23 -23
- package/docs/classes/PanoMeasurePluginModel.html +22 -22
- package/docs/classes/PanoMeasurePluginPoint.html +14 -14
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +47 -47
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.FivePointSelector.html +12 -12
- package/docs/classes/Util.Interval.html +12 -12
- package/docs/classes/Util.Magnifier.html +17 -17
- package/docs/classes/Util.PointDomHelper.html +11 -11
- package/docs/classes/Util.PointHelper.html +11 -11
- package/docs/classes/Util.Rectangle.html +13 -13
- package/docs/enums/CameraMovementEffect.html +7 -7
- package/docs/enums/ContentType.html +19 -19
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +7 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +4 -4
- package/docs/functions/CameraMovementPlugin.html +4 -4
- package/docs/functions/CruisePlugin.html +4 -4
- package/docs/functions/GuideLinePlugin.html +5 -5
- package/docs/functions/ItemLabelPlugin.html +4 -4
- package/docs/functions/MapviewFloorplanPlugin.html +4 -4
- package/docs/functions/ModelChassisCompassPlugin.html +4 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
- package/docs/functions/ModelFloorplanPlugin.html +4 -4
- package/docs/functions/ModelItemLabelPlugin.html +4 -4
- package/docs/functions/ModelRoomLabelPlugin.html +4 -4
- package/docs/functions/ModelTVVideoPlugin.html +4 -4
- package/docs/functions/ModelViewPlugin.html +4 -4
- package/docs/functions/Object3DHelperPlugin.html +4 -4
- package/docs/functions/PanoCompassPlugin.html +4 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
- package/docs/functions/PanoDoorLabelPlugin.html +4 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
- package/docs/functions/PanoMeasurePlugin.html +4 -4
- package/docs/functions/PanoRulerPlugin.html +4 -4
- package/docs/functions/PanoRulerProPlugin.html +4 -4
- package/docs/functions/PanoSpatialTagPlugin.html +4 -4
- package/docs/functions/PanoTagPlugin.html +4 -4
- package/docs/functions/PanoVideoPlugin.html +4 -4
- package/docs/functions/TopviewFloorplanPlugin.html +4 -4
- package/docs/functions/Util.getCoordsFromClient.html +5 -5
- package/docs/functions/Util.getCoordsFromElement.html +5 -5
- package/docs/functions/Util.getFrameTime.html +5 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
- package/docs/functions/Util.isAbsoluteURL.html +5 -5
- package/docs/functions/Util.isModelLike.html +5 -5
- package/docs/functions/Util.isNil.html +5 -5
- package/docs/functions/Util.isPanoramaLike.html +5 -5
- package/docs/functions/Util.nextFrame.html +5 -5
- package/docs/functions/Util.notNil.html +5 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
- package/docs/functions/Util.tweenProgress.html +5 -5
- package/docs/functions/Util.uuid.html +5 -5
- package/docs/functions/pluginFlag.html +5 -5
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +6 -6
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/CruisePluginTypes.Config.html +8 -8
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +12 -12
- package/docs/interfaces/CruisePluginTypes.EventMap.html +20 -20
- 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 +7 -7
- package/docs/interfaces/CruisePluginTypes.PluginState.html +11 -11
- package/docs/interfaces/EventMap.html +15 -15
- package/docs/interfaces/FloorplanBounding.html +8 -8
- package/docs/interfaces/FloorplanData.html +10 -10
- package/docs/interfaces/FloorplanEntrance.html +11 -11
- package/docs/interfaces/FloorplanExtraObject.html +10 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
- package/docs/interfaces/FloorplanFloorData.html +9 -9
- package/docs/interfaces/FloorplanImagePosition.html +7 -7
- package/docs/interfaces/FloorplanObserver.html +9 -9
- package/docs/interfaces/FloorplanOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanPosition.html +7 -7
- package/docs/interfaces/FloorplanRoomItem.html +13 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
- package/docs/interfaces/FloorplanServerBounding.html +8 -8
- package/docs/interfaces/FloorplanServerComputedData.html +10 -10
- package/docs/interfaces/FloorplanServerData.html +7 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
- package/docs/interfaces/FloorplanServerEntrance.html +11 -11
- package/docs/interfaces/FloorplanServerFloorData.html +9 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
- package/docs/interfaces/FloorplanServerObserver.html +9 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanServerPosition.html +7 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +10 -10
- package/docs/interfaces/GuideLinePluginType.EventMap.html +13 -13
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +8 -8
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +6 -6
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +11 -11
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +8 -8
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +16 -16
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTag.html +21 -23
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +16 -16
- package/docs/interfaces/GuideLinePluginType.PluginDataV1.html +7 -7
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +6 -6
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +7 -7
- package/docs/interfaces/GuideLinePluginType.PluginState.html +9 -9
- package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +9 -9
- package/docs/interfaces/HelperOffset.html +8 -8
- package/docs/interfaces/ImagePlaneGroup.html +6 -6
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/MinMax.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
- package/docs/interfaces/ModelViewPluginExportType.html +11 -11
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/ObjectHelperControllers.html +9 -9
- package/docs/interfaces/PaintBrushAction.html +12 -12
- package/docs/interfaces/PaintBrushConfigs.html +12 -12
- package/docs/interfaces/PaintBrushState.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
- package/docs/interfaces/PanoMeasureParameterType.html +14 -14
- package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginState.html +8 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -10
- package/docs/interfaces/Point.html +8 -8
- package/docs/interfaces/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +5 -5
- package/docs/interfaces/Rooms.html +5 -5
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/State.html +8 -8
- package/docs/interfaces/TagCacheInterface.html +12 -12
- package/docs/interfaces/TagConfig.html +11 -11
- package/docs/interfaces/TagGLTFObjectGroup.html +6 -6
- package/docs/interfaces/TagIconUrl.html +12 -12
- package/docs/interfaces/TagObjectGroup.html +6 -6
- package/docs/interfaces/TagStyle.html +6 -6
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/TemporaryState.html +6 -6
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/modules/CruisePluginTypes.html +5 -5
- package/docs/modules/GuideLineItem.html +5 -5
- package/docs/modules/GuideLineModeItem.html +5 -5
- package/docs/modules/GuideLinePluginType.html +5 -5
- package/docs/modules/PanoVideoPluginType.html +5 -5
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.html +5 -5
- package/docs/types/AudioAppearance.html +5 -5
- package/docs/types/AudioTagTypeConfigKey.html +5 -5
- package/docs/types/CSS3DRenderExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
- package/docs/types/ClassFunctionParameters.html +5 -5
- package/docs/types/Color.html +5 -5
- package/docs/types/ContentTypeConfigKey.html +5 -5
- package/docs/types/ContentTypeConfigKeySplit.html +5 -5
- package/docs/types/ContentTypeMap.html +5 -5
- package/docs/types/Create3DDomContainerReturnType.html +5 -5
- package/docs/types/Create3DElementReturnType.html +5 -5
- package/docs/types/CruisePluginExportType.html +5 -5
- package/docs/types/CruisePluginTypes.CruiseData.html +5 -5
- package/docs/types/CruisePluginTypes.MoveEffect.html +5 -5
- package/docs/types/Direction-1.html +5 -5
- package/docs/types/Direction4.html +5 -5
- package/docs/types/FloorplanRuleLabels.html +5 -5
- package/docs/types/FloorplanServerRuleLabels.html +5 -5
- package/docs/types/GuideLinePluginExportType.html +5 -5
- package/docs/types/GuideLinePluginType.GuideLineItem.html +5 -5
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +5 -5
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +5 -5
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +5 -5
- package/docs/types/GuideLinePluginType.PathItem.html +5 -5
- package/docs/types/GuideLinePluginType.PluginData.html +5 -5
- package/docs/types/HelperEventMap.html +5 -5
- package/docs/types/LoadTagConfig.html +5 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/MediaData.html +5 -5
- package/docs/types/MediaStore.html +5 -5
- package/docs/types/ModelElement.html +5 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
- package/docs/types/MoveArgs.html +5 -5
- package/docs/types/MoveOpts.html +5 -5
- package/docs/types/Object3DHelperEventMap.html +5 -5
- package/docs/types/ObjectFit.html +5 -5
- package/docs/types/PaintBrushEventMap.html +5 -5
- package/docs/types/PanoCompassPluginData.html +5 -5
- package/docs/types/PanoCompassPluginExportType.html +5 -5
- package/docs/types/PanoCompassPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
- package/docs/types/PanoIndex.html +5 -5
- package/docs/types/PanoMeasurePluginEvent.html +5 -5
- package/docs/types/PanoMeasureReturnType.html +5 -5
- package/docs/types/PanoSpatialTagPluginId.html +5 -5
- package/docs/types/PanoTagPluginExportInterface.html +5 -5
- package/docs/types/PanoTagPluginParamsInterface.html +5 -5
- package/docs/types/PanoVideoPluginParameterType.html +5 -5
- package/docs/types/PanoVideoPluginReturnType.html +5 -5
- package/docs/types/PlaneTag.html +5 -5
- package/docs/types/PlaneTagElement.html +5 -5
- package/docs/types/Point2DElement.html +5 -5
- package/docs/types/Point2DTag.html +5 -5
- package/docs/types/Point3DElement.html +5 -5
- package/docs/types/Point3DTag.html +5 -5
- package/docs/types/PointTag.html +5 -5
- package/docs/types/PointTagElement.html +5 -5
- package/docs/types/Position.html +5 -5
- package/docs/types/RotateArgs.html +5 -5
- package/docs/types/RotateOpts.html +5 -5
- package/docs/types/RuleLabelsKey.html +5 -5
- package/docs/types/RuleLabelsValue.html +5 -5
- package/docs/types/StickType.html +5 -5
- package/docs/types/Tag.html +5 -5
- package/docs/types/Tag2D.html +5 -5
- package/docs/types/Tag3D.html +5 -5
- package/docs/types/TagContentType.html +5 -5
- package/docs/types/TagDimensionType.html +5 -5
- package/docs/types/TagElement.html +5 -5
- package/docs/types/TagEvents.html +5 -5
- package/docs/types/TagGLTFObject.html +5 -5
- package/docs/types/TagHooks.html +5 -5
- package/docs/types/TagIconSize.html +5 -5
- package/docs/types/TagId.html +5 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/WorkCode.html +5 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
- package/docs/variables/PLUGIN.html +5 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
- package/docs/variables/ROOM_TYPE_MAP.html +5 -5
- package/docs/variables/itemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
- package/libs/CruisePlugin/Controller.js +15 -14
- package/libs/CruisePlugin/index.js +20 -19
- package/libs/GuideLinePlugin/Components/Tag.js +23 -34
- package/libs/GuideLinePlugin/Controller.js +5 -4
- package/libs/GuideLinePlugin/GuideLineItem.js +15 -14
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +25 -23
- package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +1 -1
- package/libs/GuideLinePlugin/GuideLineModeItem.js +14 -13
- package/libs/GuideLinePlugin/index.js +8 -7
- package/libs/GuideLinePlugin/typing.d.ts +0 -1
- package/libs/GuideLinePlugin/utils/index.d.ts +6 -0
- package/libs/GuideLinePlugin/utils/index.js +8 -4
- package/libs/base/BasePlugin.js +1 -1
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -3
- package/libs/index.js +110 -109
- package/libs/shared-utils/five/changeMode.d.ts +2 -4
- package/libs/shared-utils/five/changeMode.js +36 -27
- package/package.json +1 -1
|
@@ -5,3 +5,9 @@ export declare function updateGuideLineModeItemByData(options: {
|
|
|
5
5
|
data: PluginType.GuideLineItem;
|
|
6
6
|
mode: PluginType.GuideLineModeItemMode;
|
|
7
7
|
}): void;
|
|
8
|
+
/**
|
|
9
|
+
* 筛选出给定数组中,相邻元素不能重复的元素组成的新数组
|
|
10
|
+
* @param array 要筛选的数组
|
|
11
|
+
* @returns 筛选后的新数组
|
|
12
|
+
*/
|
|
13
|
+
export declare function filterAdjacentDistinct<T>(array: T[]): T[];
|
|
@@ -34,12 +34,16 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
|
34
34
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
35
35
|
import "../../shared-utils/animationFrame/index.js";
|
|
36
36
|
function O(o) {
|
|
37
|
-
const t = o.data,
|
|
38
|
-
if (!
|
|
37
|
+
const t = o.data, r = o.item, i = o.mode === "panorama" ? t.panorama_style : t.model_style;
|
|
38
|
+
if (!i)
|
|
39
39
|
return;
|
|
40
|
-
const
|
|
41
|
-
t.path ?
|
|
40
|
+
const p = t.path, m = i, e = i;
|
|
41
|
+
t.path ? r.setGeometryByPath(p, m) : t.pano_group && r.setGeometryByPanoGroup(t.pano_group, m), r.setMartial(e);
|
|
42
|
+
}
|
|
43
|
+
function Q(o) {
|
|
44
|
+
return o.length === 0 ? [] : o.filter((t, r) => t !== o[r - 1]);
|
|
42
45
|
}
|
|
43
46
|
export {
|
|
47
|
+
Q as filterAdjacentDistinct,
|
|
44
48
|
O as updateGuideLineModeItemByData
|
|
45
49
|
};
|
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-9");
|
|
16
16
|
s(this, "five");
|
|
17
17
|
s(this, "hooks", new m());
|
|
18
18
|
s(this, "staticPrefix", "//vrlab-static.ljcdn.com");
|
|
@@ -88,7 +88,8 @@ import "../../shared-utils/isAbsoluteURL.js";
|
|
|
88
88
|
import "../../shared-utils/animationFrame/BetterTween.js";
|
|
89
89
|
import "../../shared-utils/animationFrame/index.js";
|
|
90
90
|
import "../../shared-utils/nearlyEqual.js";
|
|
91
|
-
|
|
91
|
+
import "../../shared-utils/to.js";
|
|
92
|
+
class Ut extends L {
|
|
92
93
|
constructor(t, e) {
|
|
93
94
|
super(t);
|
|
94
95
|
i(this, "name", "topviewFloorplanPlugin");
|
|
@@ -331,5 +332,5 @@ class Nt extends L {
|
|
|
331
332
|
}
|
|
332
333
|
}
|
|
333
334
|
export {
|
|
334
|
-
|
|
335
|
+
Ut as Controller
|
|
335
336
|
};
|
|
@@ -58,10 +58,11 @@ import "../../shared-utils/animationFrame/BetterTween.js";
|
|
|
58
58
|
import "../../shared-utils/animationFrame/index.js";
|
|
59
59
|
import "../../shared-utils/five/changeMode.js";
|
|
60
60
|
import "../../shared-utils/nearlyEqual.js";
|
|
61
|
+
import "../../shared-utils/to.js";
|
|
61
62
|
import "../../shared-utils/getPxmm.js";
|
|
62
63
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
63
|
-
const
|
|
64
|
+
const so = (o, r) => new t(o, r);
|
|
64
65
|
export {
|
|
65
|
-
|
|
66
|
-
|
|
66
|
+
so as TopviewFloorplanPlugin,
|
|
67
|
+
so as default
|
|
67
68
|
};
|
package/libs/index.js
CHANGED
|
@@ -1,54 +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
|
|
17
|
-
import { PanoRulerPlugin as
|
|
18
|
-
import { PanoRulerProPlugin as
|
|
19
|
-
import { PanoCompassPlugin as
|
|
20
|
-
import { PanoMeasurePlugin as
|
|
21
|
-
import { PanoSpatialTagPlugin as
|
|
22
|
-
import { modelItemLabelPluginServerParams as
|
|
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
|
|
44
|
-
import { GuideLineModeItem$1 as
|
|
45
|
-
import { default as
|
|
46
|
-
import { typing as
|
|
47
|
-
import { default as
|
|
48
|
-
import { ContentType as
|
|
49
|
-
import { DimensionType as
|
|
50
|
-
import { Object3DHelperController as
|
|
51
|
-
import { typings as
|
|
1
|
+
import { PaintBrush as Bm } from "./components/PaintBrush/index.js";
|
|
2
|
+
import { PaintBrushTypeEnum as Um } from "./components/PaintBrush/typings.js";
|
|
3
|
+
import { ModelViewPlugin as jm } from "./ModelViewPlugin/Plugin.js";
|
|
4
|
+
import { CSS3DRenderPlugin as qm } from "./CSS3DRenderPlugin/index.js";
|
|
5
|
+
import { PanoCursorRaycasterPlugin as Jm } from "./PanoCursorRaycasterPlugin/index.js";
|
|
6
|
+
import { ModelRoomLabelPlugin as Qm, modelRoomLabelPluginServerParams as Wm } from "./ModelRoomLabelPlugin/index.js";
|
|
7
|
+
import { FLOOR_PLAN_ATTACHED_TO as Zm } from "./floorplan/constant.js";
|
|
8
|
+
import { ModelFloorplanPlugin as rp } from "./floorplan/ModelFloorplanPlugin/index.js";
|
|
9
|
+
import { MapviewFloorplanPlugin as ip } from "./floorplan/MapviewFloorplanPlugin/index.js";
|
|
10
|
+
import { TopviewFloorplanPlugin as pp } from "./floorplan/TopviewFloorplanPlugin/index.js";
|
|
11
|
+
import { PanoFloorplanRadarPlugin as lp } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
|
|
12
|
+
import { FLOOR_TYPE_MAP as ap, ROOM_FETILE_TYPE_MAP as Pp, ROOM_TYPE_MAP as up } from "./floorplan/typings/floorplanServerData.js";
|
|
13
|
+
import { ModelChassisCompassPlugin as xp } from "./ModelChassisCompassPlugin/Plugin.js";
|
|
14
|
+
import { ModelEntryDoorGuidePlugin as sp } from "./ModelEntryDoorGuidePlugin/Plugin.js";
|
|
15
|
+
import { CameraMovementPlugin as Mp } from "./CameraMovementPlugin/CameraMovementPlugin.js";
|
|
16
|
+
import { CameraMovementEffect as Lp, Rotation as Cp } from "./CameraMovementPlugin/typing.js";
|
|
17
|
+
import { PanoRulerPlugin as Ep } from "./PanoRulerPlugin/Plugin.js";
|
|
18
|
+
import { PanoRulerProPlugin as Ip } from "./PanoRulerProPlugin/index.js";
|
|
19
|
+
import { PanoCompassPlugin as Op } from "./PanoCompassPlugin/index.js";
|
|
20
|
+
import { PanoMeasurePlugin as cp } from "./PanoMeasurePlugin/index.js";
|
|
21
|
+
import { PanoSpatialTagPlugin as Ap } from "./PanoSpatialTagPlugin/Plugin.js";
|
|
22
|
+
import { modelItemLabelPluginServerParams as Gp } from "./ModelItemLabelPlugin/index.js";
|
|
23
|
+
import { ModelTVVideoPlugin as vp } from "./ModelTVVideoPlugin/Plugin.js";
|
|
24
|
+
import { DIRECTION as Vp } from "./ModelTVVideoPlugin/typings.js";
|
|
25
|
+
import { itemLabelPluginServerParams as hp } from "./ItemLabelPlugin/index.js";
|
|
26
|
+
import { PanoDoorLabelPlugin as Bp } from "./PanoDoorLabelPlugin/index.js";
|
|
27
|
+
import { GuideLinePlugin as Up } from "./GuideLinePlugin/index.js";
|
|
28
|
+
import { CruisePlugin as jp } from "./CruisePlugin/index.js";
|
|
29
|
+
import { PanoTagPlugin as qp } from "./PanoTagPlugin/index.js";
|
|
30
|
+
import { Object3DHelperPlugin as Jp } from "./Object3DHelperPlugin/index.js";
|
|
31
|
+
import { PanoVideoPlugin as Qp } from "./PanoVideoPlugin/index.js";
|
|
32
|
+
import { index as Xp } from "./shared-utils/index.js";
|
|
33
|
+
import { CSS3DRender as oe } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
34
|
+
import { Model as te } from "./PanoMeasurePlugin/Model/index.js";
|
|
35
|
+
import { default as me } from "./PanoMeasurePlugin/Model/point.js";
|
|
36
|
+
import { default as ee } from "./PanoMeasurePlugin/Model/line.js";
|
|
37
|
+
import { Polyline as ne } from "./PanoMeasurePlugin/Model/polyline.js";
|
|
38
|
+
import { default as Pe } from "./PanoMeasurePlugin/Modules/Magnifier.js";
|
|
39
|
+
import { DISPLAY_STRATEGY_TYPE as fe } from "./ModelItemLabelPlugin/typings.js";
|
|
40
|
+
import { ModelItemLabelPlugin as ge } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
|
|
41
|
+
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as de } from "./ItemLabelPlugin/typings.js";
|
|
42
|
+
import { Plugin as Te } from "./ItemLabelPlugin/Plugin.js";
|
|
43
|
+
import { GuideLineItem$1 as Ce } from "./GuideLinePlugin/GuideLineItem/index.js";
|
|
44
|
+
import { GuideLineModeItem$1 as Ee } from "./GuideLinePlugin/GuideLineModeItem/index.js";
|
|
45
|
+
import { default as Ie } from "./CruisePlugin/Controller.js";
|
|
46
|
+
import { typing as Oe } from "./CruisePlugin/typing/index.js";
|
|
47
|
+
import { default as ce, pluginFlag as ye } from "./PanoTagPlugin/controller/index.js";
|
|
48
|
+
import { ContentType as De } from "./PanoTagPlugin/typings/tag/TagData.js";
|
|
49
|
+
import { DimensionType as Ye } from "./PanoTagPlugin/typings/tag/Utils.js";
|
|
50
|
+
import { Object3DHelperController as Fe, PLUGIN as Ve } from "./Object3DHelperPlugin/Controller.js";
|
|
51
|
+
import { typings as he } from "./PanoVideoPlugin/typings/index.js";
|
|
52
52
|
import "./components/PaintBrush/Controller.js";
|
|
53
53
|
import "./components/PaintBrush/utils.js";
|
|
54
54
|
import "./components/PaintBrush/tween.js";
|
|
@@ -227,6 +227,7 @@ import "./shared-utils/three/GLTFLoader.js";
|
|
|
227
227
|
import "./shared-utils/log.js";
|
|
228
228
|
import "./GuideLinePlugin/utils/createLineGeometry.js";
|
|
229
229
|
import "./shared-utils/five/mode.js";
|
|
230
|
+
import "./GuideLinePlugin/utils/index.js";
|
|
230
231
|
import "./PanoTagPlugin/utils/addDebugPoints.js";
|
|
231
232
|
import "./PanoTagPlugin/utils/tag/tagCheck.js";
|
|
232
233
|
import "./PanoTagPlugin/utils/actionAfterFiveModelLoad.js";
|
|
@@ -355,63 +356,63 @@ import "./shared-utils/three/PointHelper.js";
|
|
|
355
356
|
import "./shared-utils/three/Assets/index.js";
|
|
356
357
|
import "./shared-utils/three/PointDomHelper.js";
|
|
357
358
|
import "./shared-utils/three/FivePointSelector.js";
|
|
358
|
-
console.info("@realsee/dnalogel %cv2.16.0-
|
|
359
|
+
console.info("@realsee/dnalogel %cv2.16.0-9", "background-color: #12ce9b;color:black;padding:0 6px;border-radius: 3px");
|
|
359
360
|
export {
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
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
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
361
|
+
oe as CSS3DRender,
|
|
362
|
+
qm as CSS3DRenderPlugin,
|
|
363
|
+
Lp as CameraMovementEffect,
|
|
364
|
+
Mp as CameraMovementPlugin,
|
|
365
|
+
De as ContentType,
|
|
366
|
+
jp as CruisePlugin,
|
|
367
|
+
Ie as CruisePluginController,
|
|
368
|
+
Oe as CruisePluginTypes,
|
|
369
|
+
Vp as DIRECTION,
|
|
370
|
+
fe as DISPLAY_STRATEGY_TYPE,
|
|
371
|
+
Ye as DimensionType,
|
|
372
|
+
Zm as FLOOR_PLAN_ATTACHED_TO,
|
|
373
|
+
ap as FLOOR_TYPE_MAP,
|
|
374
|
+
Ce as GuideLineItem,
|
|
375
|
+
Ee as GuideLineModeItem,
|
|
376
|
+
Up as GuideLinePlugin,
|
|
377
|
+
de as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
378
|
+
Te as ItemLabelPlugin,
|
|
379
|
+
Pe as Magnifier,
|
|
380
|
+
ip as MapviewFloorplanPlugin,
|
|
381
|
+
xp as ModelChassisCompassPlugin,
|
|
382
|
+
sp as ModelEntryDoorGuidePlugin,
|
|
383
|
+
rp as ModelFloorplanPlugin,
|
|
384
|
+
ge as ModelItemLabelPlugin,
|
|
385
|
+
Qm as ModelRoomLabelPlugin,
|
|
386
|
+
vp as ModelTVVideoPlugin,
|
|
387
|
+
jm as ModelViewPlugin,
|
|
388
|
+
Fe as Object3DHelperController,
|
|
389
|
+
Jp as Object3DHelperPlugin,
|
|
390
|
+
Ve as PLUGIN,
|
|
391
|
+
Bm as PaintBrush,
|
|
392
|
+
Um as PaintBrushTypeEnum,
|
|
393
|
+
Op as PanoCompassPlugin,
|
|
394
|
+
Jm as PanoCursorRaycasterPlugin,
|
|
395
|
+
Bp as PanoDoorLabelPlugin,
|
|
396
|
+
lp as PanoFloorplanRadarPlugin,
|
|
397
|
+
cp as PanoMeasurePlugin,
|
|
398
|
+
ee as PanoMeasurePluginLine,
|
|
399
|
+
te as PanoMeasurePluginModel,
|
|
400
|
+
me as PanoMeasurePluginPoint,
|
|
401
|
+
ne as PanoMeasurePluginPolyline,
|
|
402
|
+
Ep as PanoRulerPlugin,
|
|
403
|
+
Ip as PanoRulerProPlugin,
|
|
404
|
+
Ap as PanoSpatialTagPlugin,
|
|
405
|
+
qp as PanoTagPlugin,
|
|
406
|
+
ce as PanoTagPluginController,
|
|
407
|
+
Qp as PanoVideoPlugin,
|
|
408
|
+
he as PanoVideoPluginType,
|
|
409
|
+
Pp as ROOM_FETILE_TYPE_MAP,
|
|
410
|
+
up as ROOM_TYPE_MAP,
|
|
411
|
+
Cp as Rotation,
|
|
412
|
+
pp as TopviewFloorplanPlugin,
|
|
413
|
+
Xp as Util,
|
|
414
|
+
hp as itemLabelPluginServerParams,
|
|
415
|
+
Gp as modelItemLabelPluginServerParams,
|
|
416
|
+
Wm as modelRoomLabelPluginServerParams,
|
|
417
|
+
ye as pluginFlag
|
|
417
418
|
};
|
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
import type { Five } from '@realsee/five';
|
|
2
|
-
/** 等待 five changeMode 结束
|
|
3
|
-
|
|
4
|
-
*/
|
|
5
|
-
export default function changeMode(five: Five, changeModeParams: Parameters<Five['changeMode']>): Promise<void>;
|
|
2
|
+
/** 等待 five changeMode 结束 */
|
|
3
|
+
export default function changeMode(five: Five, changeModeParams: Parameters<Five['changeMode']>): Promise<boolean>;
|
|
@@ -1,37 +1,46 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var m = (e, c, t) => new Promise((r, n) => {
|
|
2
|
+
var a = (o) => {
|
|
3
3
|
try {
|
|
4
|
-
|
|
5
|
-
} catch (
|
|
6
|
-
|
|
4
|
+
u(t.next(o));
|
|
5
|
+
} catch (s) {
|
|
6
|
+
n(s);
|
|
7
7
|
}
|
|
8
|
-
},
|
|
8
|
+
}, i = (o) => {
|
|
9
9
|
try {
|
|
10
|
-
|
|
11
|
-
} catch (
|
|
12
|
-
|
|
10
|
+
u(t.throw(o));
|
|
11
|
+
} catch (s) {
|
|
12
|
+
n(s);
|
|
13
13
|
}
|
|
14
|
-
},
|
|
15
|
-
|
|
14
|
+
}, u = (o) => o.done ? r(o.value) : Promise.resolve(o.value).then(a, i);
|
|
15
|
+
u((t = t.apply(e, c)).next());
|
|
16
16
|
});
|
|
17
|
-
import { nearlyEqual as
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
if (i === void 0)
|
|
28
|
-
return !0;
|
|
29
|
-
const E = e[r];
|
|
30
|
-
return typeof i == "number" && typeof E == "number" ? P(i, E, 2) : i === E;
|
|
31
|
-
}) : !0;
|
|
32
|
-
})() || u(new Error("five pose \u4E0E\u9884\u671F\u4E0D\u7B26")), o();
|
|
17
|
+
import { nearlyEqual as f } from "../nearlyEqual.js";
|
|
18
|
+
import { to as h } from "../to.js";
|
|
19
|
+
function p(e, c) {
|
|
20
|
+
return m(this, null, function* () {
|
|
21
|
+
const [t] = yield h(e.changeMode(...c));
|
|
22
|
+
if (t)
|
|
23
|
+
throw new Error("change mode canceled");
|
|
24
|
+
yield new Promise((i) => {
|
|
25
|
+
e.once("initAnimationWillStart", () => {
|
|
26
|
+
e.once("initAnimationEnded", () => i());
|
|
33
27
|
});
|
|
34
28
|
});
|
|
29
|
+
const r = c[1];
|
|
30
|
+
if (!r)
|
|
31
|
+
return !0;
|
|
32
|
+
const n = e.getCurrentState();
|
|
33
|
+
if (!w(r, n))
|
|
34
|
+
throw new Error("pose \u4E0E\u9884\u671F\u4E0D\u7B26");
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
function w(e, c) {
|
|
38
|
+
return Object.keys(e).every((t) => {
|
|
39
|
+
const r = c[t];
|
|
40
|
+
if (r === void 0)
|
|
41
|
+
return !0;
|
|
42
|
+
const n = e[t];
|
|
43
|
+
return typeof r == "number" && typeof n == "number" ? f(r, n, 2) : r === n;
|
|
35
44
|
});
|
|
36
45
|
}
|
|
37
46
|
export {
|
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-9",
|
|
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*",
|