@realsee/dnalogel 2.0.0-alpha.28-beta → 2.0.0-alpha.29
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/CHANGELOG.md +3 -0
- package/dist/floorplan/index.d.ts +6 -0
- package/dist/index.d.ts +1 -4
- package/dist/index.es.js +103 -1
- package/dist/index.js +105 -0
- package/dist/index.umd.js +105 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/ModelRoomLabelController.html +5 -8
- package/docs/classes/PanoFloorplanRadarPluginController.html +2 -2
- 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/ModelFloorplanErrorType.html +1 -1
- package/docs/enums/Rotation.html +2 -2
- package/docs/index.html +2 -2
- package/docs/interfaces/CSS3DRenderPluginExportType.html +3 -3
- package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
- package/docs/interfaces/FloorplanBounding.html +10 -0
- package/docs/interfaces/FloorplanData.html +3 -0
- package/docs/interfaces/FloorplanEntrance.html +15 -0
- package/docs/interfaces/FloorplanExtraObject.html +7 -0
- package/docs/interfaces/FloorplanExtraObject3D.html +3 -0
- package/docs/interfaces/FloorplanFloorData.html +3 -0
- package/docs/interfaces/FloorplanImagePosition.html +3 -0
- package/docs/interfaces/FloorplanObserver.html +5 -0
- package/docs/interfaces/FloorplanOutlineItem.html +3 -0
- package/docs/interfaces/FloorplanPosition.html +3 -0
- package/docs/interfaces/FloorplanRoomItem.html +17 -0
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -0
- package/docs/interfaces/FloorplanServerBounding.html +10 -0
- package/docs/interfaces/FloorplanServerComputedData.html +1 -0
- package/docs/interfaces/FloorplanServerData.html +3 -0
- package/docs/interfaces/FloorplanServerEntrance.html +15 -0
- package/docs/interfaces/FloorplanServerFloorData.html +3 -0
- package/docs/interfaces/FloorplanServerImagePosition.html +3 -0
- package/docs/interfaces/FloorplanServerObserver.html +5 -0
- package/docs/interfaces/FloorplanServerOutlineItem.html +3 -0
- package/docs/interfaces/FloorplanServerPosition.html +3 -0
- package/docs/interfaces/FloorplanServerRoomItem.html +20 -0
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -0
- 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/ModelFloorplanParameterType.html +1 -1
- package/docs/interfaces/ModelFloorplanViewEvent.html +3 -3
- 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/PanoCompassPluginData.html +1 -1
- package/docs/interfaces/PanoCompassPluginParameterType.html +1 -1
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
- package/docs/interfaces/PanoFloorplanRadarPluginControllerParameter.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/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/interfaces/TopviewFloorplanPluginParameterType.html +10 -10
- package/docs/modules.html +24 -16
- package/libs/floorplan/index.d.ts +6 -0
- package/libs/floorplan/index.js +7 -0
- package/libs/index.d.ts +1 -4
- package/libs/index.js +2 -4
- package/package.json +1 -2
- package/dist/_index.d.ts +0 -30
- package/dist/shared-utils/five/useFivePlugin.d.ts +0 -1
- package/dist/shared-utils/useDebounce.d.ts +0 -8
- package/dist/shared-utils/useThrottle.d.ts +0 -8
- package/libs/_index.d.ts +0 -30
- package/libs/_index.js +0 -18
- package/libs/shared-utils/five/useFivePlugin.d.ts +0 -1
- package/libs/shared-utils/five/useFivePlugin.js +0 -8
- package/libs/shared-utils/useDebounce.d.ts +0 -8
- package/libs/shared-utils/useDebounce.js +0 -22
- package/libs/shared-utils/useThrottle.d.ts +0 -8
- package/libs/shared-utils/useThrottle.js +0 -26
package/CHANGELOG.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -2,10 +2,7 @@ export * from './ModelViewPlugin';
|
|
|
2
2
|
export * from './CSS3DRenderPlugin';
|
|
3
3
|
export * from './PanoCursorRaycasterPlugin';
|
|
4
4
|
export * from './ModelRoomLabelPlugin';
|
|
5
|
-
export * from './floorplan
|
|
6
|
-
export * from './floorplan/TopviewFloorplanPlugin';
|
|
7
|
-
export * from './floorplan/PanoFloorplanRadarPlugin';
|
|
8
|
-
export * from './floorplan/ModelFloorplanPlugin';
|
|
5
|
+
export * from './floorplan';
|
|
9
6
|
export * from './ModelChassisCompassPlugin';
|
|
10
7
|
export * from './ModelEntryDoorGuidePlugin';
|
|
11
8
|
export * from './CameraMovementPlugin';
|
package/dist/index.es.js
CHANGED
|
@@ -6329,6 +6329,108 @@ const ModelFloorplanPlugin = (five, params) => {
|
|
|
6329
6329
|
return new ModelFloorplanPluginController(five, params);
|
|
6330
6330
|
};
|
|
6331
6331
|
|
|
6332
|
+
/** 房屋数据映射表 */
|
|
6333
|
+
const ROOM_FETILE_TYPE_MAP = [
|
|
6334
|
+
{ type: 0, floorType: 1, roomType: '100900000012', name: '其他' },
|
|
6335
|
+
{ type: 1, floorType: 1, roomType: '100900000002', name: '客厅' },
|
|
6336
|
+
{ type: 2, floorType: 1, roomType: '100900000002', name: '餐厅' },
|
|
6337
|
+
{ type: 3, floorType: 0, roomType: '100900000001', name: '卧室' },
|
|
6338
|
+
{ type: 4, floorType: 0, roomType: '100900000001', name: '书房' },
|
|
6339
|
+
{ type: 5, floorType: 3, roomType: '100900000004', name: '卫生间' },
|
|
6340
|
+
{ type: 6, floorType: 3, roomType: '100900000004', name: '淋浴间' },
|
|
6341
|
+
{ type: 7, floorType: 3, roomType: '100900000004', name: '洗手间' },
|
|
6342
|
+
{ type: 8, floorType: 3, roomType: '100900000003', name: '厨房' },
|
|
6343
|
+
{
|
|
6344
|
+
type: 9,
|
|
6345
|
+
floorType: 1,
|
|
6346
|
+
roomType: '100900000003',
|
|
6347
|
+
name: '开放厨房',
|
|
6348
|
+
onlySubArea: true,
|
|
6349
|
+
},
|
|
6350
|
+
{ type: 10, floorType: 0, roomType: '100900000001', name: '多功能间' },
|
|
6351
|
+
{ type: 11, floorType: 0, roomType: '100900000009', name: '保姆间' },
|
|
6352
|
+
{ type: 12, floorType: 4, roomType: '100900000005', name: '阳台' },
|
|
6353
|
+
{ type: 13, floorType: 4, roomType: '100900000006', name: '露台' },
|
|
6354
|
+
{ type: 14, floorType: 0, roomType: '100900000008', name: '储物间' },
|
|
6355
|
+
{ type: 15, floorType: 0, roomType: '100900000013', name: '衣帽间' },
|
|
6356
|
+
{ type: 16, floorType: 0, roomType: '100900000011', name: '阁楼' },
|
|
6357
|
+
{ type: 17, floorType: 2, roomType: '100900000007', name: '花园' },
|
|
6358
|
+
{ type: 18, floorType: 5, roomType: '100900000010', name: '车库' },
|
|
6359
|
+
{ type: 19, floorType: 1, roomType: '100900000012', name: '电梯' },
|
|
6360
|
+
{ type: 20, floorType: 1, roomType: '100900000012', name: '地下室' },
|
|
6361
|
+
{ type: 21, floorType: 1, roomType: '100900000012', name: '天井' },
|
|
6362
|
+
{ type: 22, floorType: 1, roomType: '100900000012', name: '阳光房' },
|
|
6363
|
+
{ type: 23, floorType: 1, roomType: '100900000012', name: '过道' },
|
|
6364
|
+
{ type: 24, floorType: 1, roomType: '100900000012', name: '楼梯间' },
|
|
6365
|
+
{ type: 25, floorType: 1, roomType: '100900000012', name: '门厅' },
|
|
6366
|
+
{ type: 26, floorType: 2, roomType: '100900000012', name: '入户花园' },
|
|
6367
|
+
{ type: 27, floorType: 1, roomType: '100900000012', name: '玄关' },
|
|
6368
|
+
{ type: 28, floorType: 1, roomType: '100900000012', name: '挑空' },
|
|
6369
|
+
{ type: 29, floorType: 4, roomType: '100900000012', name: '晾晒区' },
|
|
6370
|
+
{ type: 30, floorType: 4, roomType: '100900000012', name: '洗衣房' },
|
|
6371
|
+
{ type: 31, floorType: 0, roomType: '100900000012', name: '娱乐区' },
|
|
6372
|
+
{ type: 32, floorType: 0, roomType: '100900000012', name: '健身区' },
|
|
6373
|
+
{ type: 33, floorType: 0, roomType: '100900000012', name: '接待区' },
|
|
6374
|
+
{ type: 34, floorType: 0, roomType: '100900000012', name: '影音区' },
|
|
6375
|
+
{ type: 35, floorType: 1, roomType: '100900000012', name: '餐饮区' },
|
|
6376
|
+
{
|
|
6377
|
+
type: 36,
|
|
6378
|
+
floorType: 1,
|
|
6379
|
+
roomType: '100900000012',
|
|
6380
|
+
name: '其他',
|
|
6381
|
+
onlySubArea: true,
|
|
6382
|
+
},
|
|
6383
|
+
{ type: 37, floorType: 1, roomType: '100900000002', name: '起居室' },
|
|
6384
|
+
{ type: 38, floorType: 0, roomType: '100900000001', name: '主卧' },
|
|
6385
|
+
{ type: 39, floorType: 0, roomType: '100900000001', name: '次卧' },
|
|
6386
|
+
{ type: 40, floorType: 0, roomType: '100900000001', name: '优化间' },
|
|
6387
|
+
{ type: 41, floorType: 0, roomType: '100900000001', name: '办公室' },
|
|
6388
|
+
{ type: 42, floorType: 0, roomType: '100900000001', name: '会议室' },
|
|
6389
|
+
{ type: 43, floorType: 0, roomType: '100900000001', name: '洽谈间' },
|
|
6390
|
+
{ type: 44, floorType: 1, roomType: '100900000002', name: '共享大厅' },
|
|
6391
|
+
{ type: 45, floorType: 1, roomType: '100900000012', name: '水吧' },
|
|
6392
|
+
{ type: 46, floorType: 0, roomType: '100900000015', name: '出入口' },
|
|
6393
|
+
{ type: 47, floorType: 0, roomType: '100900000015', name: '大厅' },
|
|
6394
|
+
{ type: 48, floorType: 0, roomType: '100900000015', name: '包厢' },
|
|
6395
|
+
{ type: 49, floorType: 0, roomType: '100900000015', name: '其他' },
|
|
6396
|
+
{ type: 50, floorType: 0, roomType: '100900000016', name: '出入口' },
|
|
6397
|
+
{ type: 51, floorType: 0, roomType: '100900000016', name: '办公区' },
|
|
6398
|
+
{ type: 52, floorType: 0, roomType: '100900000016', name: '老板间' },
|
|
6399
|
+
{ type: 53, floorType: 0, roomType: '100900000016', name: '会议室' },
|
|
6400
|
+
{ type: 54, floorType: 0, roomType: '100900000016', name: '休息区/水吧' },
|
|
6401
|
+
{ type: 55, floorType: 0, roomType: '100900000016', name: '其他' },
|
|
6402
|
+
{ type: 56, floorType: 2, roomType: '100900000012', name: '空中花园' },
|
|
6403
|
+
{ type: 57, floorType: 0, roomType: '100900000001', name: '洋室' },
|
|
6404
|
+
{ type: 58, floorType: 0, roomType: '100900000001', name: '和室' },
|
|
6405
|
+
];
|
|
6406
|
+
/** 地板信息映射表 */
|
|
6407
|
+
const FLOOR_TYPE_MAP = [
|
|
6408
|
+
{ type: 0, description: '木质地板' },
|
|
6409
|
+
{ type: 1, description: '瓷砖地面' },
|
|
6410
|
+
{ type: 2, description: '户外地面' },
|
|
6411
|
+
{ type: 3, description: '卫生间地面' },
|
|
6412
|
+
{ type: 4, description: '阳台地面' },
|
|
6413
|
+
{ type: 5, description: '车库地面' },
|
|
6414
|
+
];
|
|
6415
|
+
/** 房屋类型映射表 */
|
|
6416
|
+
const ROOM_TYPE_MAP = [
|
|
6417
|
+
{ roomType: '100900000001', description: '室' },
|
|
6418
|
+
{ roomType: '100900000002', description: '厅' },
|
|
6419
|
+
{ roomType: '100900000003', description: '厨' },
|
|
6420
|
+
{ roomType: '100900000004', description: '卫' },
|
|
6421
|
+
{ roomType: '100900000005', description: '阳台' },
|
|
6422
|
+
{ roomType: '100900000006', description: '露台' },
|
|
6423
|
+
{ roomType: '100900000007', description: '花园' },
|
|
6424
|
+
{ roomType: '100900000008', description: '储' },
|
|
6425
|
+
{ roomType: '100900000009', description: '保姆间' },
|
|
6426
|
+
{ roomType: '100900000010', description: '车库' },
|
|
6427
|
+
{ roomType: '100900000011', description: '阁楼' },
|
|
6428
|
+
{ roomType: '100900000012', description: '其他' },
|
|
6429
|
+
{ roomType: '100900000013', description: '衣' },
|
|
6430
|
+
{ roomType: '100900000015', description: '商铺' },
|
|
6431
|
+
{ roomType: '100900000016', description: '写字楼' },
|
|
6432
|
+
];
|
|
6433
|
+
|
|
6332
6434
|
const genRotationMatrix = (x, y, z) => {
|
|
6333
6435
|
const matrix = new THREE.Matrix4();
|
|
6334
6436
|
const euler = new THREE.Euler(x, y, z, 'YXZ');
|
|
@@ -15195,4 +15297,4 @@ const ModelTVVideoPlugin = (five, { videoElement }) => {
|
|
|
15195
15297
|
return { enable, disable, load, dispose };
|
|
15196
15298
|
};
|
|
15197
15299
|
|
|
15198
|
-
export { CSS3DRenderPlugin, CameraMovementEffect, CameraMovementPlugin, DIRECTION, DISPLAY_STRATEGY_TYPE, FLOOR_PLAN_ATTACHED_TO, ModelChassisCompassPlugin, ModelEntryDoorGuidePlugin, ModelFloorplanPlugin, ModelItemLabelPlugin, ModelRoomLabelPlugin, ModelTVVideoPlugin, ModelViewPlugin, PanoCompassPlugin, PanoCursorRaycasterPlugin, PanoFloorplanRadarPlugin, PanoMeasurePlugin, PanoRulerPlugin, PanoSpatialTagPlugin, Rotation, TopviewFloorplanPlugin, modelItemLabelPluginServerParams, modelRoomLabelPluginServerParams, panoCompassPluginServerParams };
|
|
15300
|
+
export { CSS3DRenderPlugin, CameraMovementEffect, CameraMovementPlugin, DIRECTION, DISPLAY_STRATEGY_TYPE, FLOOR_PLAN_ATTACHED_TO, FLOOR_TYPE_MAP, ModelChassisCompassPlugin, ModelEntryDoorGuidePlugin, ModelFloorplanPlugin, ModelItemLabelPlugin, ModelRoomLabelPlugin, ModelTVVideoPlugin, ModelViewPlugin, PanoCompassPlugin, PanoCursorRaycasterPlugin, PanoFloorplanRadarPlugin, PanoMeasurePlugin, PanoRulerPlugin, PanoSpatialTagPlugin, ROOM_FETILE_TYPE_MAP, ROOM_TYPE_MAP, Rotation, TopviewFloorplanPlugin, modelItemLabelPluginServerParams, modelRoomLabelPluginServerParams, panoCompassPluginServerParams };
|
package/dist/index.js
CHANGED
|
@@ -6356,6 +6356,108 @@ const ModelFloorplanPlugin = (five, params) => {
|
|
|
6356
6356
|
return new ModelFloorplanPluginController(five, params);
|
|
6357
6357
|
};
|
|
6358
6358
|
|
|
6359
|
+
/** 房屋数据映射表 */
|
|
6360
|
+
const ROOM_FETILE_TYPE_MAP = [
|
|
6361
|
+
{ type: 0, floorType: 1, roomType: '100900000012', name: '其他' },
|
|
6362
|
+
{ type: 1, floorType: 1, roomType: '100900000002', name: '客厅' },
|
|
6363
|
+
{ type: 2, floorType: 1, roomType: '100900000002', name: '餐厅' },
|
|
6364
|
+
{ type: 3, floorType: 0, roomType: '100900000001', name: '卧室' },
|
|
6365
|
+
{ type: 4, floorType: 0, roomType: '100900000001', name: '书房' },
|
|
6366
|
+
{ type: 5, floorType: 3, roomType: '100900000004', name: '卫生间' },
|
|
6367
|
+
{ type: 6, floorType: 3, roomType: '100900000004', name: '淋浴间' },
|
|
6368
|
+
{ type: 7, floorType: 3, roomType: '100900000004', name: '洗手间' },
|
|
6369
|
+
{ type: 8, floorType: 3, roomType: '100900000003', name: '厨房' },
|
|
6370
|
+
{
|
|
6371
|
+
type: 9,
|
|
6372
|
+
floorType: 1,
|
|
6373
|
+
roomType: '100900000003',
|
|
6374
|
+
name: '开放厨房',
|
|
6375
|
+
onlySubArea: true,
|
|
6376
|
+
},
|
|
6377
|
+
{ type: 10, floorType: 0, roomType: '100900000001', name: '多功能间' },
|
|
6378
|
+
{ type: 11, floorType: 0, roomType: '100900000009', name: '保姆间' },
|
|
6379
|
+
{ type: 12, floorType: 4, roomType: '100900000005', name: '阳台' },
|
|
6380
|
+
{ type: 13, floorType: 4, roomType: '100900000006', name: '露台' },
|
|
6381
|
+
{ type: 14, floorType: 0, roomType: '100900000008', name: '储物间' },
|
|
6382
|
+
{ type: 15, floorType: 0, roomType: '100900000013', name: '衣帽间' },
|
|
6383
|
+
{ type: 16, floorType: 0, roomType: '100900000011', name: '阁楼' },
|
|
6384
|
+
{ type: 17, floorType: 2, roomType: '100900000007', name: '花园' },
|
|
6385
|
+
{ type: 18, floorType: 5, roomType: '100900000010', name: '车库' },
|
|
6386
|
+
{ type: 19, floorType: 1, roomType: '100900000012', name: '电梯' },
|
|
6387
|
+
{ type: 20, floorType: 1, roomType: '100900000012', name: '地下室' },
|
|
6388
|
+
{ type: 21, floorType: 1, roomType: '100900000012', name: '天井' },
|
|
6389
|
+
{ type: 22, floorType: 1, roomType: '100900000012', name: '阳光房' },
|
|
6390
|
+
{ type: 23, floorType: 1, roomType: '100900000012', name: '过道' },
|
|
6391
|
+
{ type: 24, floorType: 1, roomType: '100900000012', name: '楼梯间' },
|
|
6392
|
+
{ type: 25, floorType: 1, roomType: '100900000012', name: '门厅' },
|
|
6393
|
+
{ type: 26, floorType: 2, roomType: '100900000012', name: '入户花园' },
|
|
6394
|
+
{ type: 27, floorType: 1, roomType: '100900000012', name: '玄关' },
|
|
6395
|
+
{ type: 28, floorType: 1, roomType: '100900000012', name: '挑空' },
|
|
6396
|
+
{ type: 29, floorType: 4, roomType: '100900000012', name: '晾晒区' },
|
|
6397
|
+
{ type: 30, floorType: 4, roomType: '100900000012', name: '洗衣房' },
|
|
6398
|
+
{ type: 31, floorType: 0, roomType: '100900000012', name: '娱乐区' },
|
|
6399
|
+
{ type: 32, floorType: 0, roomType: '100900000012', name: '健身区' },
|
|
6400
|
+
{ type: 33, floorType: 0, roomType: '100900000012', name: '接待区' },
|
|
6401
|
+
{ type: 34, floorType: 0, roomType: '100900000012', name: '影音区' },
|
|
6402
|
+
{ type: 35, floorType: 1, roomType: '100900000012', name: '餐饮区' },
|
|
6403
|
+
{
|
|
6404
|
+
type: 36,
|
|
6405
|
+
floorType: 1,
|
|
6406
|
+
roomType: '100900000012',
|
|
6407
|
+
name: '其他',
|
|
6408
|
+
onlySubArea: true,
|
|
6409
|
+
},
|
|
6410
|
+
{ type: 37, floorType: 1, roomType: '100900000002', name: '起居室' },
|
|
6411
|
+
{ type: 38, floorType: 0, roomType: '100900000001', name: '主卧' },
|
|
6412
|
+
{ type: 39, floorType: 0, roomType: '100900000001', name: '次卧' },
|
|
6413
|
+
{ type: 40, floorType: 0, roomType: '100900000001', name: '优化间' },
|
|
6414
|
+
{ type: 41, floorType: 0, roomType: '100900000001', name: '办公室' },
|
|
6415
|
+
{ type: 42, floorType: 0, roomType: '100900000001', name: '会议室' },
|
|
6416
|
+
{ type: 43, floorType: 0, roomType: '100900000001', name: '洽谈间' },
|
|
6417
|
+
{ type: 44, floorType: 1, roomType: '100900000002', name: '共享大厅' },
|
|
6418
|
+
{ type: 45, floorType: 1, roomType: '100900000012', name: '水吧' },
|
|
6419
|
+
{ type: 46, floorType: 0, roomType: '100900000015', name: '出入口' },
|
|
6420
|
+
{ type: 47, floorType: 0, roomType: '100900000015', name: '大厅' },
|
|
6421
|
+
{ type: 48, floorType: 0, roomType: '100900000015', name: '包厢' },
|
|
6422
|
+
{ type: 49, floorType: 0, roomType: '100900000015', name: '其他' },
|
|
6423
|
+
{ type: 50, floorType: 0, roomType: '100900000016', name: '出入口' },
|
|
6424
|
+
{ type: 51, floorType: 0, roomType: '100900000016', name: '办公区' },
|
|
6425
|
+
{ type: 52, floorType: 0, roomType: '100900000016', name: '老板间' },
|
|
6426
|
+
{ type: 53, floorType: 0, roomType: '100900000016', name: '会议室' },
|
|
6427
|
+
{ type: 54, floorType: 0, roomType: '100900000016', name: '休息区/水吧' },
|
|
6428
|
+
{ type: 55, floorType: 0, roomType: '100900000016', name: '其他' },
|
|
6429
|
+
{ type: 56, floorType: 2, roomType: '100900000012', name: '空中花园' },
|
|
6430
|
+
{ type: 57, floorType: 0, roomType: '100900000001', name: '洋室' },
|
|
6431
|
+
{ type: 58, floorType: 0, roomType: '100900000001', name: '和室' },
|
|
6432
|
+
];
|
|
6433
|
+
/** 地板信息映射表 */
|
|
6434
|
+
const FLOOR_TYPE_MAP = [
|
|
6435
|
+
{ type: 0, description: '木质地板' },
|
|
6436
|
+
{ type: 1, description: '瓷砖地面' },
|
|
6437
|
+
{ type: 2, description: '户外地面' },
|
|
6438
|
+
{ type: 3, description: '卫生间地面' },
|
|
6439
|
+
{ type: 4, description: '阳台地面' },
|
|
6440
|
+
{ type: 5, description: '车库地面' },
|
|
6441
|
+
];
|
|
6442
|
+
/** 房屋类型映射表 */
|
|
6443
|
+
const ROOM_TYPE_MAP = [
|
|
6444
|
+
{ roomType: '100900000001', description: '室' },
|
|
6445
|
+
{ roomType: '100900000002', description: '厅' },
|
|
6446
|
+
{ roomType: '100900000003', description: '厨' },
|
|
6447
|
+
{ roomType: '100900000004', description: '卫' },
|
|
6448
|
+
{ roomType: '100900000005', description: '阳台' },
|
|
6449
|
+
{ roomType: '100900000006', description: '露台' },
|
|
6450
|
+
{ roomType: '100900000007', description: '花园' },
|
|
6451
|
+
{ roomType: '100900000008', description: '储' },
|
|
6452
|
+
{ roomType: '100900000009', description: '保姆间' },
|
|
6453
|
+
{ roomType: '100900000010', description: '车库' },
|
|
6454
|
+
{ roomType: '100900000011', description: '阁楼' },
|
|
6455
|
+
{ roomType: '100900000012', description: '其他' },
|
|
6456
|
+
{ roomType: '100900000013', description: '衣' },
|
|
6457
|
+
{ roomType: '100900000015', description: '商铺' },
|
|
6458
|
+
{ roomType: '100900000016', description: '写字楼' },
|
|
6459
|
+
];
|
|
6460
|
+
|
|
6359
6461
|
const genRotationMatrix = (x, y, z) => {
|
|
6360
6462
|
const matrix = new THREE__namespace.Matrix4();
|
|
6361
6463
|
const euler = new THREE__namespace.Euler(x, y, z, 'YXZ');
|
|
@@ -15224,6 +15326,7 @@ const ModelTVVideoPlugin = (five, { videoElement }) => {
|
|
|
15224
15326
|
|
|
15225
15327
|
exports.CSS3DRenderPlugin = CSS3DRenderPlugin;
|
|
15226
15328
|
exports.CameraMovementPlugin = CameraMovementPlugin;
|
|
15329
|
+
exports.FLOOR_TYPE_MAP = FLOOR_TYPE_MAP;
|
|
15227
15330
|
exports.ModelChassisCompassPlugin = ModelChassisCompassPlugin;
|
|
15228
15331
|
exports.ModelEntryDoorGuidePlugin = ModelEntryDoorGuidePlugin;
|
|
15229
15332
|
exports.ModelFloorplanPlugin = ModelFloorplanPlugin;
|
|
@@ -15237,6 +15340,8 @@ exports.PanoFloorplanRadarPlugin = PanoFloorplanRadarPlugin;
|
|
|
15237
15340
|
exports.PanoMeasurePlugin = PanoMeasurePlugin;
|
|
15238
15341
|
exports.PanoRulerPlugin = PanoRulerPlugin;
|
|
15239
15342
|
exports.PanoSpatialTagPlugin = PanoSpatialTagPlugin;
|
|
15343
|
+
exports.ROOM_FETILE_TYPE_MAP = ROOM_FETILE_TYPE_MAP;
|
|
15344
|
+
exports.ROOM_TYPE_MAP = ROOM_TYPE_MAP;
|
|
15240
15345
|
exports.TopviewFloorplanPlugin = TopviewFloorplanPlugin;
|
|
15241
15346
|
exports.modelItemLabelPluginServerParams = modelItemLabelPluginServerParams;
|
|
15242
15347
|
exports.modelRoomLabelPluginServerParams = modelRoomLabelPluginServerParams;
|
package/dist/index.umd.js
CHANGED
|
@@ -6345,6 +6345,108 @@
|
|
|
6345
6345
|
return new ModelFloorplanPluginController(five, params);
|
|
6346
6346
|
};
|
|
6347
6347
|
|
|
6348
|
+
/** 房屋数据映射表 */
|
|
6349
|
+
const ROOM_FETILE_TYPE_MAP = [
|
|
6350
|
+
{ type: 0, floorType: 1, roomType: '100900000012', name: '其他' },
|
|
6351
|
+
{ type: 1, floorType: 1, roomType: '100900000002', name: '客厅' },
|
|
6352
|
+
{ type: 2, floorType: 1, roomType: '100900000002', name: '餐厅' },
|
|
6353
|
+
{ type: 3, floorType: 0, roomType: '100900000001', name: '卧室' },
|
|
6354
|
+
{ type: 4, floorType: 0, roomType: '100900000001', name: '书房' },
|
|
6355
|
+
{ type: 5, floorType: 3, roomType: '100900000004', name: '卫生间' },
|
|
6356
|
+
{ type: 6, floorType: 3, roomType: '100900000004', name: '淋浴间' },
|
|
6357
|
+
{ type: 7, floorType: 3, roomType: '100900000004', name: '洗手间' },
|
|
6358
|
+
{ type: 8, floorType: 3, roomType: '100900000003', name: '厨房' },
|
|
6359
|
+
{
|
|
6360
|
+
type: 9,
|
|
6361
|
+
floorType: 1,
|
|
6362
|
+
roomType: '100900000003',
|
|
6363
|
+
name: '开放厨房',
|
|
6364
|
+
onlySubArea: true,
|
|
6365
|
+
},
|
|
6366
|
+
{ type: 10, floorType: 0, roomType: '100900000001', name: '多功能间' },
|
|
6367
|
+
{ type: 11, floorType: 0, roomType: '100900000009', name: '保姆间' },
|
|
6368
|
+
{ type: 12, floorType: 4, roomType: '100900000005', name: '阳台' },
|
|
6369
|
+
{ type: 13, floorType: 4, roomType: '100900000006', name: '露台' },
|
|
6370
|
+
{ type: 14, floorType: 0, roomType: '100900000008', name: '储物间' },
|
|
6371
|
+
{ type: 15, floorType: 0, roomType: '100900000013', name: '衣帽间' },
|
|
6372
|
+
{ type: 16, floorType: 0, roomType: '100900000011', name: '阁楼' },
|
|
6373
|
+
{ type: 17, floorType: 2, roomType: '100900000007', name: '花园' },
|
|
6374
|
+
{ type: 18, floorType: 5, roomType: '100900000010', name: '车库' },
|
|
6375
|
+
{ type: 19, floorType: 1, roomType: '100900000012', name: '电梯' },
|
|
6376
|
+
{ type: 20, floorType: 1, roomType: '100900000012', name: '地下室' },
|
|
6377
|
+
{ type: 21, floorType: 1, roomType: '100900000012', name: '天井' },
|
|
6378
|
+
{ type: 22, floorType: 1, roomType: '100900000012', name: '阳光房' },
|
|
6379
|
+
{ type: 23, floorType: 1, roomType: '100900000012', name: '过道' },
|
|
6380
|
+
{ type: 24, floorType: 1, roomType: '100900000012', name: '楼梯间' },
|
|
6381
|
+
{ type: 25, floorType: 1, roomType: '100900000012', name: '门厅' },
|
|
6382
|
+
{ type: 26, floorType: 2, roomType: '100900000012', name: '入户花园' },
|
|
6383
|
+
{ type: 27, floorType: 1, roomType: '100900000012', name: '玄关' },
|
|
6384
|
+
{ type: 28, floorType: 1, roomType: '100900000012', name: '挑空' },
|
|
6385
|
+
{ type: 29, floorType: 4, roomType: '100900000012', name: '晾晒区' },
|
|
6386
|
+
{ type: 30, floorType: 4, roomType: '100900000012', name: '洗衣房' },
|
|
6387
|
+
{ type: 31, floorType: 0, roomType: '100900000012', name: '娱乐区' },
|
|
6388
|
+
{ type: 32, floorType: 0, roomType: '100900000012', name: '健身区' },
|
|
6389
|
+
{ type: 33, floorType: 0, roomType: '100900000012', name: '接待区' },
|
|
6390
|
+
{ type: 34, floorType: 0, roomType: '100900000012', name: '影音区' },
|
|
6391
|
+
{ type: 35, floorType: 1, roomType: '100900000012', name: '餐饮区' },
|
|
6392
|
+
{
|
|
6393
|
+
type: 36,
|
|
6394
|
+
floorType: 1,
|
|
6395
|
+
roomType: '100900000012',
|
|
6396
|
+
name: '其他',
|
|
6397
|
+
onlySubArea: true,
|
|
6398
|
+
},
|
|
6399
|
+
{ type: 37, floorType: 1, roomType: '100900000002', name: '起居室' },
|
|
6400
|
+
{ type: 38, floorType: 0, roomType: '100900000001', name: '主卧' },
|
|
6401
|
+
{ type: 39, floorType: 0, roomType: '100900000001', name: '次卧' },
|
|
6402
|
+
{ type: 40, floorType: 0, roomType: '100900000001', name: '优化间' },
|
|
6403
|
+
{ type: 41, floorType: 0, roomType: '100900000001', name: '办公室' },
|
|
6404
|
+
{ type: 42, floorType: 0, roomType: '100900000001', name: '会议室' },
|
|
6405
|
+
{ type: 43, floorType: 0, roomType: '100900000001', name: '洽谈间' },
|
|
6406
|
+
{ type: 44, floorType: 1, roomType: '100900000002', name: '共享大厅' },
|
|
6407
|
+
{ type: 45, floorType: 1, roomType: '100900000012', name: '水吧' },
|
|
6408
|
+
{ type: 46, floorType: 0, roomType: '100900000015', name: '出入口' },
|
|
6409
|
+
{ type: 47, floorType: 0, roomType: '100900000015', name: '大厅' },
|
|
6410
|
+
{ type: 48, floorType: 0, roomType: '100900000015', name: '包厢' },
|
|
6411
|
+
{ type: 49, floorType: 0, roomType: '100900000015', name: '其他' },
|
|
6412
|
+
{ type: 50, floorType: 0, roomType: '100900000016', name: '出入口' },
|
|
6413
|
+
{ type: 51, floorType: 0, roomType: '100900000016', name: '办公区' },
|
|
6414
|
+
{ type: 52, floorType: 0, roomType: '100900000016', name: '老板间' },
|
|
6415
|
+
{ type: 53, floorType: 0, roomType: '100900000016', name: '会议室' },
|
|
6416
|
+
{ type: 54, floorType: 0, roomType: '100900000016', name: '休息区/水吧' },
|
|
6417
|
+
{ type: 55, floorType: 0, roomType: '100900000016', name: '其他' },
|
|
6418
|
+
{ type: 56, floorType: 2, roomType: '100900000012', name: '空中花园' },
|
|
6419
|
+
{ type: 57, floorType: 0, roomType: '100900000001', name: '洋室' },
|
|
6420
|
+
{ type: 58, floorType: 0, roomType: '100900000001', name: '和室' },
|
|
6421
|
+
];
|
|
6422
|
+
/** 地板信息映射表 */
|
|
6423
|
+
const FLOOR_TYPE_MAP = [
|
|
6424
|
+
{ type: 0, description: '木质地板' },
|
|
6425
|
+
{ type: 1, description: '瓷砖地面' },
|
|
6426
|
+
{ type: 2, description: '户外地面' },
|
|
6427
|
+
{ type: 3, description: '卫生间地面' },
|
|
6428
|
+
{ type: 4, description: '阳台地面' },
|
|
6429
|
+
{ type: 5, description: '车库地面' },
|
|
6430
|
+
];
|
|
6431
|
+
/** 房屋类型映射表 */
|
|
6432
|
+
const ROOM_TYPE_MAP = [
|
|
6433
|
+
{ roomType: '100900000001', description: '室' },
|
|
6434
|
+
{ roomType: '100900000002', description: '厅' },
|
|
6435
|
+
{ roomType: '100900000003', description: '厨' },
|
|
6436
|
+
{ roomType: '100900000004', description: '卫' },
|
|
6437
|
+
{ roomType: '100900000005', description: '阳台' },
|
|
6438
|
+
{ roomType: '100900000006', description: '露台' },
|
|
6439
|
+
{ roomType: '100900000007', description: '花园' },
|
|
6440
|
+
{ roomType: '100900000008', description: '储' },
|
|
6441
|
+
{ roomType: '100900000009', description: '保姆间' },
|
|
6442
|
+
{ roomType: '100900000010', description: '车库' },
|
|
6443
|
+
{ roomType: '100900000011', description: '阁楼' },
|
|
6444
|
+
{ roomType: '100900000012', description: '其他' },
|
|
6445
|
+
{ roomType: '100900000013', description: '衣' },
|
|
6446
|
+
{ roomType: '100900000015', description: '商铺' },
|
|
6447
|
+
{ roomType: '100900000016', description: '写字楼' },
|
|
6448
|
+
];
|
|
6449
|
+
|
|
6348
6450
|
const genRotationMatrix = (x, y, z) => {
|
|
6349
6451
|
const matrix = new THREE__namespace.Matrix4();
|
|
6350
6452
|
const euler = new THREE__namespace.Euler(x, y, z, 'YXZ');
|
|
@@ -15213,6 +15315,7 @@
|
|
|
15213
15315
|
|
|
15214
15316
|
exports.CSS3DRenderPlugin = CSS3DRenderPlugin;
|
|
15215
15317
|
exports.CameraMovementPlugin = CameraMovementPlugin;
|
|
15318
|
+
exports.FLOOR_TYPE_MAP = FLOOR_TYPE_MAP;
|
|
15216
15319
|
exports.ModelChassisCompassPlugin = ModelChassisCompassPlugin;
|
|
15217
15320
|
exports.ModelEntryDoorGuidePlugin = ModelEntryDoorGuidePlugin;
|
|
15218
15321
|
exports.ModelFloorplanPlugin = ModelFloorplanPlugin;
|
|
@@ -15226,6 +15329,8 @@
|
|
|
15226
15329
|
exports.PanoMeasurePlugin = PanoMeasurePlugin;
|
|
15227
15330
|
exports.PanoRulerPlugin = PanoRulerPlugin;
|
|
15228
15331
|
exports.PanoSpatialTagPlugin = PanoSpatialTagPlugin;
|
|
15332
|
+
exports.ROOM_FETILE_TYPE_MAP = ROOM_FETILE_TYPE_MAP;
|
|
15333
|
+
exports.ROOM_TYPE_MAP = ROOM_TYPE_MAP;
|
|
15229
15334
|
exports.TopviewFloorplanPlugin = TopviewFloorplanPlugin;
|
|
15230
15335
|
exports.modelItemLabelPluginServerParams = modelItemLabelPluginServerParams;
|
|
15231
15336
|
exports.modelRoomLabelPluginServerParams = modelRoomLabelPluginServerParams;
|