@realsee/dnalogel 2.0.0-alpha.48 → 2.0.0-alpha.49
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/CSS3DRenderPlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
- package/dist/CSS3DRenderPlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
- package/dist/CameraMovementPlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
- package/dist/CameraMovementPlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
- package/dist/ItemLabelPlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
- package/dist/ItemLabelPlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
- package/dist/ModelChassisCompassPlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
- package/dist/ModelChassisCompassPlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
- package/dist/ModelEntryDoorGuidePlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
- package/dist/ModelEntryDoorGuidePlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
- package/dist/ModelItemLabelPlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
- package/dist/ModelItemLabelPlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
- package/dist/ModelRoomLabelPlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
- package/dist/ModelRoomLabelPlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
- package/dist/ModelTVVideoPlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
- package/dist/ModelTVVideoPlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
- package/dist/ModelTVVideoPlugin/index.js +2 -2
- package/dist/ModelViewPlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
- package/dist/ModelViewPlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
- package/dist/PanoCompassPlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
- package/dist/PanoCompassPlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
- package/dist/PanoCursorRaycasterPlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
- package/dist/PanoCursorRaycasterPlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
- package/dist/PanoDoorLabelPlugin/Controller.d.ts +2 -1
- package/dist/PanoDoorLabelPlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
- package/dist/PanoDoorLabelPlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
- package/dist/PanoDoorLabelPlugin/index.js +7 -2
- package/dist/PanoDoorLabelPlugin/typings.d.ts +5 -0
- package/dist/PanoMeasurePlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
- package/dist/PanoMeasurePlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
- package/dist/PanoRulerPlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
- package/dist/PanoRulerPlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
- package/dist/PanoRulerProPlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
- package/dist/PanoRulerProPlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
- package/dist/PanoSpatialTagPlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
- package/dist/PanoSpatialTagPlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
- package/dist/floorplan/ModelFloorplanPlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
- package/dist/floorplan/ModelFloorplanPlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
- package/dist/floorplan/PanoFloorplanRadarPlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
- package/dist/floorplan/TopviewFloorplanPlugin/PanoDoorLabelPlugin/Controller.d.ts +2 -1
- package/dist/floorplan/TopviewFloorplanPlugin/PanoDoorLabelPlugin/typings.d.ts +5 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.es.js +10 -5
- package/dist/index.js +10 -5
- package/dist/index.umd.js +10 -5
- package/docs/classes/Magnifier.html +4 -4
- package/docs/classes/ModelRoomLabelController.html +4 -4
- package/docs/enums/CameraMovementEffect.html +2 -2
- package/docs/enums/DIRECTION.html +1 -1
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +1 -1
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +1 -1
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +1 -1
- package/docs/enums/Rotation.html +2 -2
- package/docs/index.html +1 -1
- package/docs/interfaces/CSS3DRenderPluginExportType.html +2 -2
- package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
- package/docs/interfaces/FloorplanBounding.html +4 -4
- package/docs/interfaces/FloorplanData.html +2 -2
- package/docs/interfaces/FloorplanEntrance.html +7 -7
- package/docs/interfaces/FloorplanExtraObject.html +3 -3
- package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
- package/docs/interfaces/FloorplanFloorData.html +2 -2
- package/docs/interfaces/FloorplanImagePosition.html +2 -2
- package/docs/interfaces/FloorplanObserver.html +2 -2
- package/docs/interfaces/FloorplanOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanPosition.html +2 -2
- package/docs/interfaces/FloorplanRoomItem.html +6 -6
- package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
- package/docs/interfaces/FloorplanServerBounding.html +4 -4
- package/docs/interfaces/FloorplanServerComputedData.html +1 -1
- package/docs/interfaces/FloorplanServerData.html +2 -2
- package/docs/interfaces/FloorplanServerDoorItem.html +1 -1
- package/docs/interfaces/FloorplanServerDoorPosition.html +1 -1
- package/docs/interfaces/FloorplanServerEntrance.html +7 -7
- package/docs/interfaces/FloorplanServerFloorData.html +2 -2
- package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
- package/docs/interfaces/FloorplanServerObserver.html +2 -2
- package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
- package/docs/interfaces/FloorplanServerPosition.html +2 -2
- package/docs/interfaces/FloorplanServerRoomItem.html +7 -7
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
- package/docs/interfaces/ItemLabelPluginData.html +1 -1
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +1 -1
- package/docs/interfaces/ItemLabelPluginParametersType.html +1 -1
- package/docs/interfaces/LineJson.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginData.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +1 -1
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +1 -1
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +1 -1
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +1 -1
- package/docs/interfaces/ModelItemLabelPluginData.html +1 -1
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +1 -1
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +1 -1
- package/docs/interfaces/ModelRoomLabelPluginData.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginData.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginExportType.html +1 -1
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +1 -1
- package/docs/interfaces/ModelViewPluginExportType.html +1 -1
- package/docs/interfaces/OpenParameter.html +2 -2
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoMeasureParameterType.html +1 -1
- package/docs/interfaces/PanoRulerPluginExportType.html +1 -1
- package/docs/interfaces/PanoRulerPluginOptions.html +1 -1
- package/docs/interfaces/PanoRulerPluginParameterType.html +1 -1
- package/docs/interfaces/PanoRulerProPluginExportType.html +1 -1
- package/docs/interfaces/PanoRulerProPluginOptions.html +1 -1
- package/docs/interfaces/PanoRulerProPluginParameterType.html +1 -1
- package/docs/interfaces/PanoRulerProPluginState.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +1 -1
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +1 -1
- package/docs/interfaces/Point.html +1 -1
- package/docs/interfaces/PointJson.html +1 -1
- package/docs/interfaces/Room.html +1 -1
- package/docs/interfaces/RoomInfo.html +1 -1
- package/docs/interfaces/RoomLabel.html +7 -7
- package/docs/interfaces/RoomRules.html +1 -1
- package/docs/interfaces/Rooms.html +1 -1
- package/docs/modules.html +18 -18
- package/libs/ModelTVVideoPlugin/Plugin.js +2 -2
- package/libs/PanoDoorLabelPlugin/Controller.d.ts +2 -1
- package/libs/PanoDoorLabelPlugin/Controller.js +7 -2
- package/libs/PanoDoorLabelPlugin/typings.d.ts +5 -0
- package/libs/index.d.ts +1 -1
- package/libs/index.js +1 -1
- package/package.json +1 -1
|
@@ -2,6 +2,7 @@ import type { Five } from '@realsee/five';
|
|
|
2
2
|
import type { BaseOptions, EventMap, State } from 'src/base/BasePlugin';
|
|
3
3
|
import type { FloorplanServerData } from '../floorplan/typings/floorplanServerData';
|
|
4
4
|
import { BasePanoPluginController } from './BaseController';
|
|
5
|
+
import type { DoorLabelConfig } from './typings';
|
|
5
6
|
/**
|
|
6
7
|
* 分间标签插件
|
|
7
8
|
* @author kyleju
|
|
@@ -22,7 +23,7 @@ export declare class PanoDoorLabelPluginController extends BasePanoPluginControl
|
|
|
22
23
|
private doorLabels;
|
|
23
24
|
private roomObservers;
|
|
24
25
|
constructor(five: Five);
|
|
25
|
-
loadData: (floorplanServerData: FloorplanServerData) => void;
|
|
26
|
+
loadData: (floorplanServerData: FloorplanServerData, doorLabelConfig?: DoorLabelConfig) => void;
|
|
26
27
|
stateChangedCallback(prevState: State, options?: BaseOptions): void;
|
|
27
28
|
render(): void;
|
|
28
29
|
initState(): State;
|
|
@@ -2,6 +2,7 @@ import type { Five } from '@realsee/five';
|
|
|
2
2
|
import type { BaseOptions, EventMap, State } from 'src/base/BasePlugin';
|
|
3
3
|
import type { FloorplanServerData } from '../floorplan/typings/floorplanServerData';
|
|
4
4
|
import { BasePanoPluginController } from './BaseController';
|
|
5
|
+
import type { DoorLabelConfig } from './typings';
|
|
5
6
|
/**
|
|
6
7
|
* 分间标签插件
|
|
7
8
|
* @author kyleju
|
|
@@ -22,7 +23,7 @@ export declare class PanoDoorLabelPluginController extends BasePanoPluginControl
|
|
|
22
23
|
private doorLabels;
|
|
23
24
|
private roomObservers;
|
|
24
25
|
constructor(five: Five);
|
|
25
|
-
loadData: (floorplanServerData: FloorplanServerData) => void;
|
|
26
|
+
loadData: (floorplanServerData: FloorplanServerData, doorLabelConfig?: DoorLabelConfig) => void;
|
|
26
27
|
stateChangedCallback(prevState: State, options?: BaseOptions): void;
|
|
27
28
|
render(): void;
|
|
28
29
|
initState(): State;
|
|
@@ -2,6 +2,7 @@ import type { Five } from '@realsee/five';
|
|
|
2
2
|
import type { BaseOptions, EventMap, State } from 'src/base/BasePlugin';
|
|
3
3
|
import type { FloorplanServerData } from '../floorplan/typings/floorplanServerData';
|
|
4
4
|
import { BasePanoPluginController } from './BaseController';
|
|
5
|
+
import type { DoorLabelConfig } from './typings';
|
|
5
6
|
/**
|
|
6
7
|
* 分间标签插件
|
|
7
8
|
* @author kyleju
|
|
@@ -22,7 +23,7 @@ export declare class PanoDoorLabelPluginController extends BasePanoPluginControl
|
|
|
22
23
|
private doorLabels;
|
|
23
24
|
private roomObservers;
|
|
24
25
|
constructor(five: Five);
|
|
25
|
-
loadData: (floorplanServerData: FloorplanServerData) => void;
|
|
26
|
+
loadData: (floorplanServerData: FloorplanServerData, doorLabelConfig?: DoorLabelConfig) => void;
|
|
26
27
|
stateChangedCallback(prevState: State, options?: BaseOptions): void;
|
|
27
28
|
render(): void;
|
|
28
29
|
initState(): State;
|
|
@@ -2,6 +2,7 @@ import type { Five } from '@realsee/five';
|
|
|
2
2
|
import type { BaseOptions, EventMap, State } from 'src/base/BasePlugin';
|
|
3
3
|
import type { FloorplanServerData } from '../floorplan/typings/floorplanServerData';
|
|
4
4
|
import { BasePanoPluginController } from './BaseController';
|
|
5
|
+
import type { DoorLabelConfig } from './typings';
|
|
5
6
|
/**
|
|
6
7
|
* 分间标签插件
|
|
7
8
|
* @author kyleju
|
|
@@ -22,7 +23,7 @@ export declare class PanoDoorLabelPluginController extends BasePanoPluginControl
|
|
|
22
23
|
private doorLabels;
|
|
23
24
|
private roomObservers;
|
|
24
25
|
constructor(five: Five);
|
|
25
|
-
loadData: (floorplanServerData: FloorplanServerData) => void;
|
|
26
|
+
loadData: (floorplanServerData: FloorplanServerData, doorLabelConfig?: DoorLabelConfig) => void;
|
|
26
27
|
stateChangedCallback(prevState: State, options?: BaseOptions): void;
|
|
27
28
|
render(): void;
|
|
28
29
|
initState(): State;
|
|
@@ -2,6 +2,7 @@ import type { Five } from '@realsee/five';
|
|
|
2
2
|
import type { BaseOptions, EventMap, State } from 'src/base/BasePlugin';
|
|
3
3
|
import type { FloorplanServerData } from '../floorplan/typings/floorplanServerData';
|
|
4
4
|
import { BasePanoPluginController } from './BaseController';
|
|
5
|
+
import type { DoorLabelConfig } from './typings';
|
|
5
6
|
/**
|
|
6
7
|
* 分间标签插件
|
|
7
8
|
* @author kyleju
|
|
@@ -22,7 +23,7 @@ export declare class PanoDoorLabelPluginController extends BasePanoPluginControl
|
|
|
22
23
|
private doorLabels;
|
|
23
24
|
private roomObservers;
|
|
24
25
|
constructor(five: Five);
|
|
25
|
-
loadData: (floorplanServerData: FloorplanServerData) => void;
|
|
26
|
+
loadData: (floorplanServerData: FloorplanServerData, doorLabelConfig?: DoorLabelConfig) => void;
|
|
26
27
|
stateChangedCallback(prevState: State, options?: BaseOptions): void;
|
|
27
28
|
render(): void;
|
|
28
29
|
initState(): State;
|
|
@@ -2,6 +2,7 @@ import type { Five } from '@realsee/five';
|
|
|
2
2
|
import type { BaseOptions, EventMap, State } from 'src/base/BasePlugin';
|
|
3
3
|
import type { FloorplanServerData } from '../floorplan/typings/floorplanServerData';
|
|
4
4
|
import { BasePanoPluginController } from './BaseController';
|
|
5
|
+
import type { DoorLabelConfig } from './typings';
|
|
5
6
|
/**
|
|
6
7
|
* 分间标签插件
|
|
7
8
|
* @author kyleju
|
|
@@ -22,7 +23,7 @@ export declare class PanoDoorLabelPluginController extends BasePanoPluginControl
|
|
|
22
23
|
private doorLabels;
|
|
23
24
|
private roomObservers;
|
|
24
25
|
constructor(five: Five);
|
|
25
|
-
loadData: (floorplanServerData: FloorplanServerData) => void;
|
|
26
|
+
loadData: (floorplanServerData: FloorplanServerData, doorLabelConfig?: DoorLabelConfig) => void;
|
|
26
27
|
stateChangedCallback(prevState: State, options?: BaseOptions): void;
|
|
27
28
|
render(): void;
|
|
28
29
|
initState(): State;
|
|
@@ -2,6 +2,7 @@ import type { Five } from '@realsee/five';
|
|
|
2
2
|
import type { BaseOptions, EventMap, State } from 'src/base/BasePlugin';
|
|
3
3
|
import type { FloorplanServerData } from '../floorplan/typings/floorplanServerData';
|
|
4
4
|
import { BasePanoPluginController } from './BaseController';
|
|
5
|
+
import type { DoorLabelConfig } from './typings';
|
|
5
6
|
/**
|
|
6
7
|
* 分间标签插件
|
|
7
8
|
* @author kyleju
|
|
@@ -22,7 +23,7 @@ export declare class PanoDoorLabelPluginController extends BasePanoPluginControl
|
|
|
22
23
|
private doorLabels;
|
|
23
24
|
private roomObservers;
|
|
24
25
|
constructor(five: Five);
|
|
25
|
-
loadData: (floorplanServerData: FloorplanServerData) => void;
|
|
26
|
+
loadData: (floorplanServerData: FloorplanServerData, doorLabelConfig?: DoorLabelConfig) => void;
|
|
26
27
|
stateChangedCallback(prevState: State, options?: BaseOptions): void;
|
|
27
28
|
render(): void;
|
|
28
29
|
initState(): State;
|
|
@@ -2,6 +2,7 @@ import type { Five } from '@realsee/five';
|
|
|
2
2
|
import type { BaseOptions, EventMap, State } from 'src/base/BasePlugin';
|
|
3
3
|
import type { FloorplanServerData } from '../floorplan/typings/floorplanServerData';
|
|
4
4
|
import { BasePanoPluginController } from './BaseController';
|
|
5
|
+
import type { DoorLabelConfig } from './typings';
|
|
5
6
|
/**
|
|
6
7
|
* 分间标签插件
|
|
7
8
|
* @author kyleju
|
|
@@ -22,7 +23,7 @@ export declare class PanoDoorLabelPluginController extends BasePanoPluginControl
|
|
|
22
23
|
private doorLabels;
|
|
23
24
|
private roomObservers;
|
|
24
25
|
constructor(five: Five);
|
|
25
|
-
loadData: (floorplanServerData: FloorplanServerData) => void;
|
|
26
|
+
loadData: (floorplanServerData: FloorplanServerData, doorLabelConfig?: DoorLabelConfig) => void;
|
|
26
27
|
stateChangedCallback(prevState: State, options?: BaseOptions): void;
|
|
27
28
|
render(): void;
|
|
28
29
|
initState(): State;
|
|
@@ -257,10 +257,10 @@ const ModelTVVideoPlugin = (five, { videoElement }) => {
|
|
|
257
257
|
five.on('wantsTapGesture', (raycaster) => {
|
|
258
258
|
if (!state.enabled)
|
|
259
259
|
return;
|
|
260
|
-
const targetMesh = five.scene.children.
|
|
260
|
+
const targetMesh = five.scene.children.filter(item => /^ModelTVVideoPlugin/.test(item.name));
|
|
261
261
|
if (!targetMesh)
|
|
262
262
|
return;
|
|
263
|
-
const intersectObjects = raycaster.intersectObjects(
|
|
263
|
+
const intersectObjects = raycaster.intersectObjects(targetMesh);
|
|
264
264
|
if (intersectObjects.length === 0)
|
|
265
265
|
return;
|
|
266
266
|
if (state.videoTexture)
|
|
@@ -2,6 +2,7 @@ import type { Five } from '@realsee/five';
|
|
|
2
2
|
import type { BaseOptions, EventMap, State } from 'src/base/BasePlugin';
|
|
3
3
|
import type { FloorplanServerData } from '../floorplan/typings/floorplanServerData';
|
|
4
4
|
import { BasePanoPluginController } from './BaseController';
|
|
5
|
+
import type { DoorLabelConfig } from './typings';
|
|
5
6
|
/**
|
|
6
7
|
* 分间标签插件
|
|
7
8
|
* @author kyleju
|
|
@@ -22,7 +23,7 @@ export declare class PanoDoorLabelPluginController extends BasePanoPluginControl
|
|
|
22
23
|
private doorLabels;
|
|
23
24
|
private roomObservers;
|
|
24
25
|
constructor(five: Five);
|
|
25
|
-
loadData: (floorplanServerData: FloorplanServerData) => void;
|
|
26
|
+
loadData: (floorplanServerData: FloorplanServerData, doorLabelConfig?: DoorLabelConfig) => void;
|
|
26
27
|
stateChangedCallback(prevState: State, options?: BaseOptions): void;
|
|
27
28
|
render(): void;
|
|
28
29
|
initState(): State;
|
|
@@ -2,6 +2,7 @@ import type { Five } from '@realsee/five';
|
|
|
2
2
|
import type { BaseOptions, EventMap, State } from 'src/base/BasePlugin';
|
|
3
3
|
import type { FloorplanServerData } from '../floorplan/typings/floorplanServerData';
|
|
4
4
|
import { BasePanoPluginController } from './BaseController';
|
|
5
|
+
import type { DoorLabelConfig } from './typings';
|
|
5
6
|
/**
|
|
6
7
|
* 分间标签插件
|
|
7
8
|
* @author kyleju
|
|
@@ -22,7 +23,7 @@ export declare class PanoDoorLabelPluginController extends BasePanoPluginControl
|
|
|
22
23
|
private doorLabels;
|
|
23
24
|
private roomObservers;
|
|
24
25
|
constructor(five: Five);
|
|
25
|
-
loadData: (floorplanServerData: FloorplanServerData) => void;
|
|
26
|
+
loadData: (floorplanServerData: FloorplanServerData, doorLabelConfig?: DoorLabelConfig) => void;
|
|
26
27
|
stateChangedCallback(prevState: State, options?: BaseOptions): void;
|
|
27
28
|
render(): void;
|
|
28
29
|
initState(): State;
|
|
@@ -2,6 +2,7 @@ import type { Five } from '@realsee/five';
|
|
|
2
2
|
import type { BaseOptions, EventMap, State } from 'src/base/BasePlugin';
|
|
3
3
|
import type { FloorplanServerData } from '../floorplan/typings/floorplanServerData';
|
|
4
4
|
import { BasePanoPluginController } from './BaseController';
|
|
5
|
+
import type { DoorLabelConfig } from './typings';
|
|
5
6
|
/**
|
|
6
7
|
* 分间标签插件
|
|
7
8
|
* @author kyleju
|
|
@@ -22,7 +23,7 @@ export declare class PanoDoorLabelPluginController extends BasePanoPluginControl
|
|
|
22
23
|
private doorLabels;
|
|
23
24
|
private roomObservers;
|
|
24
25
|
constructor(five: Five);
|
|
25
|
-
loadData: (floorplanServerData: FloorplanServerData) => void;
|
|
26
|
+
loadData: (floorplanServerData: FloorplanServerData, doorLabelConfig?: DoorLabelConfig) => void;
|
|
26
27
|
stateChangedCallback(prevState: State, options?: BaseOptions): void;
|
|
27
28
|
render(): void;
|
|
28
29
|
initState(): State;
|
|
@@ -2,6 +2,7 @@ import type { Five } from '@realsee/five';
|
|
|
2
2
|
import type { BaseOptions, EventMap, State } from 'src/base/BasePlugin';
|
|
3
3
|
import type { FloorplanServerData } from '../floorplan/typings/floorplanServerData';
|
|
4
4
|
import { BasePanoPluginController } from './BaseController';
|
|
5
|
+
import type { DoorLabelConfig } from './typings';
|
|
5
6
|
/**
|
|
6
7
|
* 分间标签插件
|
|
7
8
|
* @author kyleju
|
|
@@ -22,7 +23,7 @@ export declare class PanoDoorLabelPluginController extends BasePanoPluginControl
|
|
|
22
23
|
private doorLabels;
|
|
23
24
|
private roomObservers;
|
|
24
25
|
constructor(five: Five);
|
|
25
|
-
loadData: (floorplanServerData: FloorplanServerData) => void;
|
|
26
|
+
loadData: (floorplanServerData: FloorplanServerData, doorLabelConfig?: DoorLabelConfig) => void;
|
|
26
27
|
stateChangedCallback(prevState: State, options?: BaseOptions): void;
|
|
27
28
|
render(): void;
|
|
28
29
|
initState(): State;
|
|
@@ -2,6 +2,7 @@ import type { Five } from '@realsee/five';
|
|
|
2
2
|
import type { BaseOptions, EventMap, State } from 'src/base/BasePlugin';
|
|
3
3
|
import type { FloorplanServerData } from '../floorplan/typings/floorplanServerData';
|
|
4
4
|
import { BasePanoPluginController } from './BaseController';
|
|
5
|
+
import type { DoorLabelConfig } from './typings';
|
|
5
6
|
/**
|
|
6
7
|
* 分间标签插件
|
|
7
8
|
* @author kyleju
|
|
@@ -22,7 +23,7 @@ export declare class PanoDoorLabelPluginController extends BasePanoPluginControl
|
|
|
22
23
|
private doorLabels;
|
|
23
24
|
private roomObservers;
|
|
24
25
|
constructor(five: Five);
|
|
25
|
-
loadData: (floorplanServerData: FloorplanServerData) => void;
|
|
26
|
+
loadData: (floorplanServerData: FloorplanServerData, doorLabelConfig?: DoorLabelConfig) => void;
|
|
26
27
|
stateChangedCallback(prevState: State, options?: BaseOptions): void;
|
|
27
28
|
render(): void;
|
|
28
29
|
initState(): State;
|
|
@@ -348,7 +348,7 @@ class PanoDoorLabelPluginController extends BasePanoPluginController {
|
|
|
348
348
|
enumerable: true,
|
|
349
349
|
configurable: true,
|
|
350
350
|
writable: true,
|
|
351
|
-
value:
|
|
351
|
+
value: 1.8
|
|
352
352
|
});
|
|
353
353
|
Object.defineProperty(this, "MaxVisibledistance", {
|
|
354
354
|
enumerable: true,
|
|
@@ -412,7 +412,12 @@ class PanoDoorLabelPluginController extends BasePanoPluginController {
|
|
|
412
412
|
enumerable: true,
|
|
413
413
|
configurable: true,
|
|
414
414
|
writable: true,
|
|
415
|
-
value: (floorplanServerData) => {
|
|
415
|
+
value: (floorplanServerData, doorLabelConfig) => {
|
|
416
|
+
if (doorLabelConfig) {
|
|
417
|
+
this.MaxVisibledistance = doorLabelConfig.MaxVisibledistance;
|
|
418
|
+
this.MinVisibledistance = doorLabelConfig.MinVisibledistance;
|
|
419
|
+
this.OffsetHeight = doorLabelConfig.OffsetHeight;
|
|
420
|
+
}
|
|
416
421
|
if (this.doorLabelItems && this.doorLabelItems.length > 0) {
|
|
417
422
|
this.doorLabelItems.forEach((doorItem) => {
|
|
418
423
|
doorItem.$destroy();
|
|
@@ -2,6 +2,7 @@ import type { Five } from '@realsee/five';
|
|
|
2
2
|
import type { BaseOptions, EventMap, State } from 'src/base/BasePlugin';
|
|
3
3
|
import type { FloorplanServerData } from '../floorplan/typings/floorplanServerData';
|
|
4
4
|
import { BasePanoPluginController } from './BaseController';
|
|
5
|
+
import type { DoorLabelConfig } from './typings';
|
|
5
6
|
/**
|
|
6
7
|
* 分间标签插件
|
|
7
8
|
* @author kyleju
|
|
@@ -22,7 +23,7 @@ export declare class PanoDoorLabelPluginController extends BasePanoPluginControl
|
|
|
22
23
|
private doorLabels;
|
|
23
24
|
private roomObservers;
|
|
24
25
|
constructor(five: Five);
|
|
25
|
-
loadData: (floorplanServerData: FloorplanServerData) => void;
|
|
26
|
+
loadData: (floorplanServerData: FloorplanServerData, doorLabelConfig?: DoorLabelConfig) => void;
|
|
26
27
|
stateChangedCallback(prevState: State, options?: BaseOptions): void;
|
|
27
28
|
render(): void;
|
|
28
29
|
initState(): State;
|
|
@@ -2,6 +2,7 @@ import type { Five } from '@realsee/five';
|
|
|
2
2
|
import type { BaseOptions, EventMap, State } from 'src/base/BasePlugin';
|
|
3
3
|
import type { FloorplanServerData } from '../floorplan/typings/floorplanServerData';
|
|
4
4
|
import { BasePanoPluginController } from './BaseController';
|
|
5
|
+
import type { DoorLabelConfig } from './typings';
|
|
5
6
|
/**
|
|
6
7
|
* 分间标签插件
|
|
7
8
|
* @author kyleju
|
|
@@ -22,7 +23,7 @@ export declare class PanoDoorLabelPluginController extends BasePanoPluginControl
|
|
|
22
23
|
private doorLabels;
|
|
23
24
|
private roomObservers;
|
|
24
25
|
constructor(five: Five);
|
|
25
|
-
loadData: (floorplanServerData: FloorplanServerData) => void;
|
|
26
|
+
loadData: (floorplanServerData: FloorplanServerData, doorLabelConfig?: DoorLabelConfig) => void;
|
|
26
27
|
stateChangedCallback(prevState: State, options?: BaseOptions): void;
|
|
27
28
|
render(): void;
|
|
28
29
|
initState(): State;
|
|
@@ -2,6 +2,7 @@ import type { Five } from '@realsee/five';
|
|
|
2
2
|
import type { BaseOptions, EventMap, State } from 'src/base/BasePlugin';
|
|
3
3
|
import type { FloorplanServerData } from '../floorplan/typings/floorplanServerData';
|
|
4
4
|
import { BasePanoPluginController } from './BaseController';
|
|
5
|
+
import type { DoorLabelConfig } from './typings';
|
|
5
6
|
/**
|
|
6
7
|
* 分间标签插件
|
|
7
8
|
* @author kyleju
|
|
@@ -22,7 +23,7 @@ export declare class PanoDoorLabelPluginController extends BasePanoPluginControl
|
|
|
22
23
|
private doorLabels;
|
|
23
24
|
private roomObservers;
|
|
24
25
|
constructor(five: Five);
|
|
25
|
-
loadData: (floorplanServerData: FloorplanServerData) => void;
|
|
26
|
+
loadData: (floorplanServerData: FloorplanServerData, doorLabelConfig?: DoorLabelConfig) => void;
|
|
26
27
|
stateChangedCallback(prevState: State, options?: BaseOptions): void;
|
|
27
28
|
render(): void;
|
|
28
29
|
initState(): State;
|
|
@@ -2,6 +2,7 @@ import type { Five } from '@realsee/five';
|
|
|
2
2
|
import type { BaseOptions, EventMap, State } from 'src/base/BasePlugin';
|
|
3
3
|
import type { FloorplanServerData } from '../floorplan/typings/floorplanServerData';
|
|
4
4
|
import { BasePanoPluginController } from './BaseController';
|
|
5
|
+
import type { DoorLabelConfig } from './typings';
|
|
5
6
|
/**
|
|
6
7
|
* 分间标签插件
|
|
7
8
|
* @author kyleju
|
|
@@ -22,7 +23,7 @@ export declare class PanoDoorLabelPluginController extends BasePanoPluginControl
|
|
|
22
23
|
private doorLabels;
|
|
23
24
|
private roomObservers;
|
|
24
25
|
constructor(five: Five);
|
|
25
|
-
loadData: (floorplanServerData: FloorplanServerData) => void;
|
|
26
|
+
loadData: (floorplanServerData: FloorplanServerData, doorLabelConfig?: DoorLabelConfig) => void;
|
|
26
27
|
stateChangedCallback(prevState: State, options?: BaseOptions): void;
|
|
27
28
|
render(): void;
|
|
28
29
|
initState(): State;
|
|
@@ -2,6 +2,7 @@ import type { Five } from '@realsee/five';
|
|
|
2
2
|
import type { BaseOptions, EventMap, State } from 'src/base/BasePlugin';
|
|
3
3
|
import type { FloorplanServerData } from '../floorplan/typings/floorplanServerData';
|
|
4
4
|
import { BasePanoPluginController } from './BaseController';
|
|
5
|
+
import type { DoorLabelConfig } from './typings';
|
|
5
6
|
/**
|
|
6
7
|
* 分间标签插件
|
|
7
8
|
* @author kyleju
|
|
@@ -22,7 +23,7 @@ export declare class PanoDoorLabelPluginController extends BasePanoPluginControl
|
|
|
22
23
|
private doorLabels;
|
|
23
24
|
private roomObservers;
|
|
24
25
|
constructor(five: Five);
|
|
25
|
-
loadData: (floorplanServerData: FloorplanServerData) => void;
|
|
26
|
+
loadData: (floorplanServerData: FloorplanServerData, doorLabelConfig?: DoorLabelConfig) => void;
|
|
26
27
|
stateChangedCallback(prevState: State, options?: BaseOptions): void;
|
|
27
28
|
render(): void;
|
|
28
29
|
initState(): State;
|
|
@@ -2,6 +2,7 @@ import type { Five } from '@realsee/five';
|
|
|
2
2
|
import type { BaseOptions, EventMap, State } from 'src/base/BasePlugin';
|
|
3
3
|
import type { FloorplanServerData } from '../floorplan/typings/floorplanServerData';
|
|
4
4
|
import { BasePanoPluginController } from './BaseController';
|
|
5
|
+
import type { DoorLabelConfig } from './typings';
|
|
5
6
|
/**
|
|
6
7
|
* 分间标签插件
|
|
7
8
|
* @author kyleju
|
|
@@ -22,7 +23,7 @@ export declare class PanoDoorLabelPluginController extends BasePanoPluginControl
|
|
|
22
23
|
private doorLabels;
|
|
23
24
|
private roomObservers;
|
|
24
25
|
constructor(five: Five);
|
|
25
|
-
loadData: (floorplanServerData: FloorplanServerData) => void;
|
|
26
|
+
loadData: (floorplanServerData: FloorplanServerData, doorLabelConfig?: DoorLabelConfig) => void;
|
|
26
27
|
stateChangedCallback(prevState: State, options?: BaseOptions): void;
|
|
27
28
|
render(): void;
|
|
28
29
|
initState(): State;
|
|
@@ -2,6 +2,7 @@ import type { Five } from '@realsee/five';
|
|
|
2
2
|
import type { BaseOptions, EventMap, State } from 'src/base/BasePlugin';
|
|
3
3
|
import type { FloorplanServerData } from '../floorplan/typings/floorplanServerData';
|
|
4
4
|
import { BasePanoPluginController } from './BaseController';
|
|
5
|
+
import type { DoorLabelConfig } from './typings';
|
|
5
6
|
/**
|
|
6
7
|
* 分间标签插件
|
|
7
8
|
* @author kyleju
|
|
@@ -22,7 +23,7 @@ export declare class PanoDoorLabelPluginController extends BasePanoPluginControl
|
|
|
22
23
|
private doorLabels;
|
|
23
24
|
private roomObservers;
|
|
24
25
|
constructor(five: Five);
|
|
25
|
-
loadData: (floorplanServerData: FloorplanServerData) => void;
|
|
26
|
+
loadData: (floorplanServerData: FloorplanServerData, doorLabelConfig?: DoorLabelConfig) => void;
|
|
26
27
|
stateChangedCallback(prevState: State, options?: BaseOptions): void;
|
|
27
28
|
render(): void;
|
|
28
29
|
initState(): State;
|
package/dist/index.d.ts
CHANGED
|
@@ -15,4 +15,4 @@ export * from './ModelItemLabelPlugin';
|
|
|
15
15
|
export * from './ModelTVVideoPlugin';
|
|
16
16
|
export * from './ItemLabelPlugin';
|
|
17
17
|
export * from './PanoDoorLabelPlugin';
|
|
18
|
-
export declare const DnalogelVersion = "2.0.0-alpha.
|
|
18
|
+
export declare const DnalogelVersion = "2.0.0-alpha.49";
|