@xtctwins/tctwins-bimx-engine 0.3.11 → 0.3.12
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/BIMX_Viewer_Lib.es.js +1 -1
- package/package.json +1 -1
- package/dist/AnnotationTool-Bp8DGFFA.mjs +0 -167
- package/dist/CameraViewTool-BGmwAori.mjs +0 -164
- package/dist/CommentTool-C7NLPxMd.mjs +0 -1529
- package/dist/HiddenTool-i1AESn4-.mjs +0 -57
- package/dist/InspectorTool-CiyN_aCB.mjs +0 -679
- package/dist/MeasureTool-Cxnp9MVY.mjs +0 -323
- package/dist/MouseTool-B07SstRZ.mjs +0 -84
- package/dist/NavigateTool-DKTSPVCL.mjs +0 -52
- package/dist/RoamTool-CazuxheL.mjs +0 -287
- package/dist/ScreenShotTool-fYVxpPrW.mjs +0 -430
- package/dist/SectionTool-DMSGkjYm.mjs +0 -331
- package/dist/SettingTool-IBRpWdfo.mjs +0 -695
- package/dist/StructureTree-B183vT5b.mjs +0 -1686
- package/dist/alert-DN7oOiZl.mjs +0 -47
- package/dist/el-slider-dslleM3g.mjs +0 -1059
- package/dist/index-BzB8rqmg.mjs +0 -131961
- package/dist/panel.vue_vue_type_style_index_0_lang-DOsptET6.mjs +0 -61
- package/dist/tallPanel-Dp1ZbCTR.mjs +0 -84
|
@@ -1,679 +0,0 @@
|
|
|
1
|
-
import { O as ee, F as te, G as ne, I as D, H as v, T as N, K as oe, P as H, L as se, M as ie } from "./index-BzB8rqmg.mjs";
|
|
2
|
-
import { _ as ae } from "./tallPanel-Dp1ZbCTR.mjs";
|
|
3
|
-
import { _ as le } from "./panel.vue_vue_type_style_index_0_lang-DOsptET6.mjs";
|
|
4
|
-
import { defineComponent as ce, onMounted as re, ref as W, reactive as G, watch as _e, onBeforeUnmount as pe, openBlock as c, createElementBlock as r, Fragment as y, unref as n, createBlock as Q, withCtx as I, withDirectives as d, createElementVNode as e, createVNode as B, toDisplayString as t, vShow as m, renderList as f, createCommentVNode as O } from "vue";
|
|
5
|
-
const Z = {
|
|
6
|
-
ExtendToStructure: "扩建物",
|
|
7
|
-
ThermalTransmittance: "热透射率",
|
|
8
|
-
Roughness: "粗糙度",
|
|
9
|
-
Category: "类型",
|
|
10
|
-
IsExternal: "是否外部",
|
|
11
|
-
LoadBearing: "承重",
|
|
12
|
-
Reference: "参考",
|
|
13
|
-
Span: "跨度",
|
|
14
|
-
Slope: "斜坡",
|
|
15
|
-
Thickness: "厚度",
|
|
16
|
-
Structural: "结构",
|
|
17
|
-
Construction: "结构",
|
|
18
|
-
Graphics: "图形",
|
|
19
|
-
"Coarse Scale Fill Color": "粗补色",
|
|
20
|
-
// Dimensions: "维度",
|
|
21
|
-
Other: "其他",
|
|
22
|
-
Family: "族",
|
|
23
|
-
Type: "类",
|
|
24
|
-
"Family and Type": "族和类",
|
|
25
|
-
"Type Id": "类Id",
|
|
26
|
-
"Phase Created": "阶段创建",
|
|
27
|
-
"Enable Analytical Model": "启用分析模型",
|
|
28
|
-
"Base Offset": "基准偏移量",
|
|
29
|
-
"Base Constraint": "基础约束",
|
|
30
|
-
// "Base Extension": "基础扩展",
|
|
31
|
-
// "Base Extension Distance": "基础扩距",
|
|
32
|
-
// "Base is Attached": "底座连接",
|
|
33
|
-
// "Top Extension Distance": "最高扩距",
|
|
34
|
-
// "Top is Attached": "底座连接",
|
|
35
|
-
// "Unconnected Height": "",
|
|
36
|
-
"Location Line": "位置线",
|
|
37
|
-
"Room Bounding": "房间边界",
|
|
38
|
-
"Extrusion End": "挤出端",
|
|
39
|
-
"Extrusion Start": "挤出启动",
|
|
40
|
-
"Level Offset": "水平偏移量",
|
|
41
|
-
"Reference Level": "参考水平",
|
|
42
|
-
"Work Plane": "工作面",
|
|
43
|
-
"Fascia Depth": "筋膜深度",
|
|
44
|
-
"Rafter Cut": "椽断",
|
|
45
|
-
"Analytical Properties": "解析性质",
|
|
46
|
-
// "Identity Data": "身份数据",
|
|
47
|
-
TotalArea: "总面积",
|
|
48
|
-
ProjectedArea: "总面积",
|
|
49
|
-
// Phasing:"定向",
|
|
50
|
-
// Additional properties
|
|
51
|
-
Width: "宽度",
|
|
52
|
-
Height: "高度",
|
|
53
|
-
Depth: "深度",
|
|
54
|
-
Volume: "体积",
|
|
55
|
-
Mass: "质量",
|
|
56
|
-
Density: "密度",
|
|
57
|
-
Material: "材料",
|
|
58
|
-
Color: "颜色",
|
|
59
|
-
Finish: "表面处理",
|
|
60
|
-
FireRating: "防火等级",
|
|
61
|
-
Insulation: "绝缘",
|
|
62
|
-
ThermalConductivity: "导热性",
|
|
63
|
-
Durability: "耐久性",
|
|
64
|
-
Age: "年代",
|
|
65
|
-
Condition: "状况",
|
|
66
|
-
Owner: "所有者",
|
|
67
|
-
Maintenance: "维护",
|
|
68
|
-
Cost: "成本",
|
|
69
|
-
ConstructionDate: "建造日期",
|
|
70
|
-
Location: "位置",
|
|
71
|
-
Orientation: "方向",
|
|
72
|
-
Elevation: "标高",
|
|
73
|
-
Area: "面积",
|
|
74
|
-
Length: "长度",
|
|
75
|
-
FloorCount: "层数",
|
|
76
|
-
Occupancy: "占用率",
|
|
77
|
-
StructuralSystem: "结构系统",
|
|
78
|
-
MechanicalSystem: "机械系统",
|
|
79
|
-
ElectricalSystem: "电气系统",
|
|
80
|
-
PlumbingSystem: "管道系统",
|
|
81
|
-
SafetySystem: "安全系统",
|
|
82
|
-
EnvironmentalImpact: "环境影响",
|
|
83
|
-
EnergyEfficiency: "能源效率",
|
|
84
|
-
WaterUsage: "用水量",
|
|
85
|
-
NoiseLevel: "噪音水平",
|
|
86
|
-
Accessibility: "可达性",
|
|
87
|
-
Compliance: "合规性",
|
|
88
|
-
BuildingCode: "建筑规范",
|
|
89
|
-
DesignLife: "设计寿命",
|
|
90
|
-
ServiceLife: "使用寿命",
|
|
91
|
-
ManufactureDate: "制造日期",
|
|
92
|
-
InstallationDate: "安装日期",
|
|
93
|
-
Warranty: "保修",
|
|
94
|
-
MaintenanceSchedule: "维护计划",
|
|
95
|
-
RepairHistory: "维修历史",
|
|
96
|
-
ReplacementCost: "更换成本",
|
|
97
|
-
DisposalMethod: "处置方法",
|
|
98
|
-
Recyclability: "可回收性",
|
|
99
|
-
HazardousMaterials: "危险材料",
|
|
100
|
-
Lighting: "照明",
|
|
101
|
-
Ventilation: "通风",
|
|
102
|
-
Heating: "供暖",
|
|
103
|
-
Cooling: "制冷",
|
|
104
|
-
FireProtection: "防火保护",
|
|
105
|
-
Security: "安全",
|
|
106
|
-
Signage: "标识",
|
|
107
|
-
AccessibilityFeatures: "无障碍特征",
|
|
108
|
-
AcousticProperties: "声学特性",
|
|
109
|
-
VisualProperties: "视觉特性",
|
|
110
|
-
CulturalValue: "文化价值",
|
|
111
|
-
HistoricalSignificance: "历史意义",
|
|
112
|
-
ArchitecturalStyle: "建筑风格",
|
|
113
|
-
StructuralIntegrity: "结构完整性",
|
|
114
|
-
SeismicPerformance: "抗震性能",
|
|
115
|
-
WindResistance: "抗风性能",
|
|
116
|
-
ThermalResistance: "热阻",
|
|
117
|
-
UVResistance: "抗紫外线",
|
|
118
|
-
ChemicalResistance: "抗化学性",
|
|
119
|
-
WeatherResistance: "耐候性",
|
|
120
|
-
ImpactResistance: "抗冲击性",
|
|
121
|
-
AbrasionResistance: "耐磨性",
|
|
122
|
-
FlexuralStrength: "抗弯强度",
|
|
123
|
-
CompressiveStrength: "抗压强度",
|
|
124
|
-
TensileStrength: "抗拉强度",
|
|
125
|
-
Hardness: "硬度",
|
|
126
|
-
Elasticity: "弹性",
|
|
127
|
-
Plasticity: "塑性",
|
|
128
|
-
Brittleness: "脆性",
|
|
129
|
-
Ductility: "延展性",
|
|
130
|
-
Conductivity: "导电性",
|
|
131
|
-
Magnetism: "磁性",
|
|
132
|
-
ThermalExpansion: "热膨胀",
|
|
133
|
-
Shrinkage: "收缩",
|
|
134
|
-
Creep: "蠕变",
|
|
135
|
-
Fatigue: "疲劳",
|
|
136
|
-
Corrosion: "腐蚀",
|
|
137
|
-
Oxidation: "氧化",
|
|
138
|
-
Pitting: "点蚀",
|
|
139
|
-
Weathering: "风化",
|
|
140
|
-
BioDeterioration: "生物劣化",
|
|
141
|
-
RadiationResistance: "抗辐射",
|
|
142
|
-
ElectromagneticCompatibility: "电磁兼容",
|
|
143
|
-
InsulationResistance: "绝缘电阻",
|
|
144
|
-
DielectricStrength: "介电强度",
|
|
145
|
-
SurfaceTension: "表面张力",
|
|
146
|
-
Wettability: "润湿性",
|
|
147
|
-
Hydrophilicity: "亲水性",
|
|
148
|
-
Hydrophobicity: "疏水性",
|
|
149
|
-
Adsorption: "吸附",
|
|
150
|
-
Absorption: "吸收",
|
|
151
|
-
Sorption: "吸附吸收",
|
|
152
|
-
Desorption: "脱附",
|
|
153
|
-
Porosity: "孔隙率",
|
|
154
|
-
Permeability: "渗透性",
|
|
155
|
-
SorptionCapacity: "吸附容量",
|
|
156
|
-
DesorptionCapacity: "脱附容量",
|
|
157
|
-
// Revit-specific properties
|
|
158
|
-
Constraints: "约束",
|
|
159
|
-
Phases: "阶段",
|
|
160
|
-
Discipline: "学科",
|
|
161
|
-
Host: "宿主",
|
|
162
|
-
RelatedToMass: "相关质量",
|
|
163
|
-
BaseLevel: "基准层",
|
|
164
|
-
TopLevel: "顶部层",
|
|
165
|
-
Offset: "偏移",
|
|
166
|
-
HeightOffsetFromLevel: "高度偏移",
|
|
167
|
-
RoomName: "房间名称",
|
|
168
|
-
RoomNumber: "房间编号",
|
|
169
|
-
RoomArea: "房间面积",
|
|
170
|
-
WallType: "墙类型",
|
|
171
|
-
FloorType: "地板类型",
|
|
172
|
-
RoofType: "屋顶类型",
|
|
173
|
-
WindowType: "窗户类型",
|
|
174
|
-
DoorType: "门类型",
|
|
175
|
-
ColumnType: "柱类型",
|
|
176
|
-
BeamType: "梁类型",
|
|
177
|
-
FamilyName: "族名称",
|
|
178
|
-
TypeName: "类型名称",
|
|
179
|
-
InstanceName: "实例名称",
|
|
180
|
-
Workset: "工作集",
|
|
181
|
-
Comments: "备注",
|
|
182
|
-
Manufacturer: "制造商",
|
|
183
|
-
Model: "模型",
|
|
184
|
-
AssemblyCode: "装配代码",
|
|
185
|
-
ConstructionType: "施工类型",
|
|
186
|
-
FireProofing: "防火",
|
|
187
|
-
StructuralUsage: "结构用途",
|
|
188
|
-
FinishCode: "饰面代码",
|
|
189
|
-
Sustainability: "可持续性",
|
|
190
|
-
Grade: "等级",
|
|
191
|
-
StructuralMaterial: "结构材料",
|
|
192
|
-
ThermalProperties: "热性能",
|
|
193
|
-
SoundTransmission: "声音传输",
|
|
194
|
-
VaporBarrier: "防潮层",
|
|
195
|
-
InsulationType: "绝缘类型",
|
|
196
|
-
LifeCycle: "生命周期",
|
|
197
|
-
EnvironmentalCertification: "环境认证",
|
|
198
|
-
ConstructionPhase: "施工阶段",
|
|
199
|
-
//IFC 属性集类型表
|
|
200
|
-
Pset_ElementShading: "元素遮阳",
|
|
201
|
-
Pset_ProductRequirements: "产品要求",
|
|
202
|
-
Pset_QuantityTakeOffCommon: "工程量计算",
|
|
203
|
-
Pset_QuantityTakeOff: "工程量计算",
|
|
204
|
-
Pset_ProvisionForVoid: "预留孔洞",
|
|
205
|
-
Pset_ReinforcementBarPitchOfSlab: "板内钢筋间距",
|
|
206
|
-
Pset_ReinforcementBarPitchOfBeam: "梁体钢筋间距",
|
|
207
|
-
Pset_ReinforcementBarPitchOfWall: "墙体钢筋间距",
|
|
208
|
-
Pset_ReinforcementBarPitchOfPile: "桩基钢筋间距",
|
|
209
|
-
Pset_ReinforcementBarPitchOfColumn: "柱体钢筋间距",
|
|
210
|
-
Pset_ReinforcementBarPitchOfFooting: "基础钢筋间距",
|
|
211
|
-
Pset_ReinforcementBarPitchOfFoundation: "基础构件钢筋间距",
|
|
212
|
-
Pset_BuildingElementProxyCommon: "建筑构件代理通用",
|
|
213
|
-
Pset_SpaceFireSafetyRequirements: "空间防火要求",
|
|
214
|
-
Pset_SpaceThermalRequirements: "空间热工要求",
|
|
215
|
-
Pset_DoorWindowGlazingType: "门窗玻璃类型",
|
|
216
|
-
Pset_EnvironmentalImpactIndicators: "环境影响指标",
|
|
217
|
-
Pset_BeamCommon: "梁通用",
|
|
218
|
-
Pset_ColumnCommon: "柱通用",
|
|
219
|
-
Pset_WallCommon: "墙体通用",
|
|
220
|
-
Pset_WindowCommon: "窗户通用",
|
|
221
|
-
Pset_DoorCommon: "门通用",
|
|
222
|
-
Pset_RoofCommon: "屋顶通用",
|
|
223
|
-
Pset_SlabCommon: "板通用",
|
|
224
|
-
Pset_CoveringCommon: "覆盖层通用",
|
|
225
|
-
Pset_FurnitureCommon: "家具通用",
|
|
226
|
-
Pset_LightFixtureTypeCommon: "灯具类型通用",
|
|
227
|
-
Pset_ZoneCommon: "区域通用",
|
|
228
|
-
Pset_SpaceCommon: "空间通用",
|
|
229
|
-
Pset_BuildingCommon: "建筑通用",
|
|
230
|
-
Pset_FloorCommon: "地板通用",
|
|
231
|
-
Pset_StairCommon: "楼梯通用",
|
|
232
|
-
Pset_RailingCommon: "栏杆通用",
|
|
233
|
-
Pset_OpeningElementCommon: "开口构件通用",
|
|
234
|
-
Pset_DistributionPortCommon: "分配端口通用",
|
|
235
|
-
Pset_DistributionFlowElementCommon: "分配流体构件通用",
|
|
236
|
-
Pset_ElectricDeviceTypeCommon: "电气设备类型通用",
|
|
237
|
-
Pset_ValveTypeCommon: "阀门类型通用",
|
|
238
|
-
Pset_PipeFittingTypeCommon: "管件类型通用",
|
|
239
|
-
Pset_TankTypeCommon: "储罐类型通用",
|
|
240
|
-
Pset_HeatExchangerTypeCommon: "换热器类型通用",
|
|
241
|
-
Pset_TransformerTypeCommon: "变压器类型通用",
|
|
242
|
-
Pset_PumpTypeCommon: "泵类型通用",
|
|
243
|
-
Pset_VehicleCommon: "车辆通用",
|
|
244
|
-
Pset_AirTerminalTypeCommon: "空气终端设备类型通用",
|
|
245
|
-
Pset_EquipmentTypeCommon: "设备类型通用",
|
|
246
|
-
Pset_FireSuppressionTerminalTypeCommon: "消防终端设备类型通用",
|
|
247
|
-
Pset_HumiditySensorTypeCommon: "湿度传感器类型通用",
|
|
248
|
-
Pset_ReflectorTypeCommon: "反射器类型通用",
|
|
249
|
-
Pset_FlowInstrumentTypeCommon: "流量仪表类型通用",
|
|
250
|
-
Pset_HeatTransferDeviceTypeCommon: "热传递设备类型通用"
|
|
251
|
-
}, ue = Object.keys(Z).reduce(
|
|
252
|
-
(C, b) => {
|
|
253
|
-
const o = b.trim().toLowerCase().replace(/\s+/g, "");
|
|
254
|
-
return C[o] = Z[b], C;
|
|
255
|
-
},
|
|
256
|
-
{}
|
|
257
|
-
);
|
|
258
|
-
function k(C, b) {
|
|
259
|
-
const o = C.trim().toLowerCase().replace(/\s+/g, "");
|
|
260
|
-
return (b || ee().locale) === "en-US" ? C : ue[o] || C;
|
|
261
|
-
}
|
|
262
|
-
const de = { class: "myInspector_content" }, me = { class: "title" }, he = ["src"], ye = { class: "properties_content" }, ve = { class: "basic_info_title" }, fe = { class: "basic_info_value" }, Ce = { class: "propertysets" }, ge = ["onClick"], Pe = { class: "title" }, be = ["src"], Te = { class: "properties_content" }, Se = { class: "content_title_value" }, Ie = { class: "content_title" }, ke = { class: "content_value" }, Re = { class: "myInspector_empty" }, we = ["src"], xe = {
|
|
263
|
-
class: "pc_Inspector_type_button",
|
|
264
|
-
style: { display: "none" }
|
|
265
|
-
}, Ee = { class: "type_button" }, De = { class: "type_button" }, Be = { class: "pc_Inspector_content" }, Fe = { class: "pc_myInspector_content" }, Me = { class: "title" }, Le = ["src"], Oe = { class: "properties_content" }, je = { class: "basic_info_title" }, Ve = { class: "basic_info_value" }, Ae = { class: "propertysets" }, Ne = ["onClick"], He = { class: "title" }, We = ["src"], Ue = { class: "properties_content" }, $e = { class: "content_title_value" }, ze = { class: "content_title" }, Ke = { class: "content_value" }, qe = { class: "pc_model_info" }, Ge = { class: "model_info_content" }, Qe = { class: "model_info_value" }, Ze = { class: "model_info_content" }, Je = { class: "model_info_value" }, Xe = {
|
|
266
|
-
key: 0,
|
|
267
|
-
class: "model_info_content"
|
|
268
|
-
}, Ye = { class: "model_info_value" }, et = { class: "model_info_content" }, tt = { class: "model_info_value" }, nt = {
|
|
269
|
-
key: 2,
|
|
270
|
-
class: "mobile_myInspector_wrapper"
|
|
271
|
-
}, ot = { class: "detail-title-box" }, st = { class: "detail-title" }, it = { class: "detail-title-icon" }, at = { class: "mobile_myInspector" }, lt = { class: "mobile_myInspector_content" }, ct = { class: "basic_info_title" }, rt = ["src"], _t = { class: "basic_info_content" }, pt = { class: "basic_info_content_value" }, ut = { class: "content_title" }, dt = { class: "content_value" }, mt = { class: "basic_info_content_value" }, ht = { class: "content_value" }, yt = { class: "basic_info_content_value" }, vt = { class: "content_title" }, ft = { class: "content_value" }, Ct = { class: "propertysets" }, gt = ["onClick"], Pt = { class: "propertysets_title" }, bt = ["src"], Tt = { class: "properties_content" }, St = { class: "content_title_value" }, It = { class: "content_title" }, kt = { class: "content_value" }, Rt = { class: "mobile_Inspector_empty" }, wt = { class: "model_info_value" }, xt = { class: "model_info_value" }, Et = { class: "model_info_value" }, Dt = { class: "model_info_value" }, Bt = /* @__PURE__ */ ce({
|
|
272
|
-
__name: "InspectorTool",
|
|
273
|
-
props: ["componentId"],
|
|
274
|
-
emits: ["closePanel", "emitHandler"],
|
|
275
|
-
setup(C, { emit: b }) {
|
|
276
|
-
const o = te(), F = ne(), M = C;
|
|
277
|
-
re(() => {
|
|
278
|
-
F.setReadyById(M.componentId);
|
|
279
|
-
});
|
|
280
|
-
const U = b, j = (i) => {
|
|
281
|
-
U("emitHandler", i);
|
|
282
|
-
};
|
|
283
|
-
let L = window.bimViewer;
|
|
284
|
-
const h = W(!1), R = W(""), $ = W(""), s = G({
|
|
285
|
-
entity_name: o("common.noData"),
|
|
286
|
-
entity_type: o("common.noData"),
|
|
287
|
-
entity_id: o("common.noData"),
|
|
288
|
-
propertySets: [],
|
|
289
|
-
expanded: !0
|
|
290
|
-
}), a = G({
|
|
291
|
-
objectCount: o("common.unknown"),
|
|
292
|
-
pSetsCount: o("common.unknown"),
|
|
293
|
-
createDate: o("common.unknown"),
|
|
294
|
-
author: o("common.unknown")
|
|
295
|
-
});
|
|
296
|
-
_e(
|
|
297
|
-
() => F.isToolActive(M.componentId),
|
|
298
|
-
(i) => {
|
|
299
|
-
if (i && h.value == !0) {
|
|
300
|
-
if (R.value == $.value)
|
|
301
|
-
return;
|
|
302
|
-
V(R.value);
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
);
|
|
306
|
-
const z = () => {
|
|
307
|
-
L = window.bimViewer;
|
|
308
|
-
const { eventTrigger: i } = L;
|
|
309
|
-
let l = 0;
|
|
310
|
-
i.on("metaLoaded", (u) => {
|
|
311
|
-
if ((u == null ? void 0 : u.result) !== "success") return;
|
|
312
|
-
const _ = window.bimViewer.getModelInfo(u.metaModel.id);
|
|
313
|
-
v("multiModel") ? l == 0 ? (a.objectCount = _.objectCount !== 0 ? _.objectCount : 0, a.pSetsCount = _.propertySetCount !== 0 ? _.propertySetCount : 0, a.author = _.author !== "" ? _.author : "未知") : (a.objectCount = a.objectCount += _.objectCount, a.pSetsCount = a.pSetsCount += _.propertySetCount, a.author = _.author !== "" ? a.author += `, ${_.author}` : a.author.includes("未知") ? a.author : a.author += ", 未知") : (a.createDate = _.createDate !== "" ? _.createDate.replace("T", " ") : "未知", a.objectCount = _.objectCount !== 0 ? _.objectCount : "未知", a.pSetsCount = _.propertySetCount !== 0 ? _.propertySetCount : "未知", a.author = _.author !== "" ? _.author : "未知"), l += 1;
|
|
314
|
-
}), v("isMobile") || i.on("pickedEntity", (u) => {
|
|
315
|
-
V(u.id, u);
|
|
316
|
-
}), v("isMobile") && i.on("touchEntity", (u) => {
|
|
317
|
-
V(u.id);
|
|
318
|
-
}), i.on("pickedNothing", () => {
|
|
319
|
-
h.value = !1, R.value = "", J(), j({
|
|
320
|
-
isTool: !0,
|
|
321
|
-
event_target: "InspectorTool",
|
|
322
|
-
event_name: "pickedNothing",
|
|
323
|
-
content: {
|
|
324
|
-
msg: "pickedNothing"
|
|
325
|
-
}
|
|
326
|
-
});
|
|
327
|
-
});
|
|
328
|
-
}, K = (i) => {
|
|
329
|
-
if (!i) return;
|
|
330
|
-
const l = L.getObjectProperties(i.id);
|
|
331
|
-
l && (R.value = i.id, h.value = !0, q(l));
|
|
332
|
-
};
|
|
333
|
-
D.on("BimViewer", z), D.on("tree_clickNode", K), pe(() => {
|
|
334
|
-
D.off("BimViewer", z), D.off("tree_clickNode", K);
|
|
335
|
-
});
|
|
336
|
-
const V = (i, l) => {
|
|
337
|
-
if (R.value = i, h.value = !0, !F.isToolActive(M.componentId)) return;
|
|
338
|
-
const u = L.getObjectProperties(i);
|
|
339
|
-
u && q(u), $.value = i, v("isMobile") ? j({
|
|
340
|
-
isTool: !0,
|
|
341
|
-
event_target: "InspectorTool",
|
|
342
|
-
event_name: "touchEntity",
|
|
343
|
-
content: {
|
|
344
|
-
entityId: i
|
|
345
|
-
}
|
|
346
|
-
}) : j({
|
|
347
|
-
isTool: !0,
|
|
348
|
-
event_target: "InspectorTool",
|
|
349
|
-
event_name: "pickedEntity",
|
|
350
|
-
content: {
|
|
351
|
-
object: { entity: l, entity_info: u }
|
|
352
|
-
}
|
|
353
|
-
});
|
|
354
|
-
}, A = () => {
|
|
355
|
-
D.emit("hideToolbar", !1), U("closePanel");
|
|
356
|
-
}, T = (i) => {
|
|
357
|
-
i.expanded = !i.expanded;
|
|
358
|
-
}, S = (i) => i ? `${H}/bim-viewer/down_icon.png` : `${H}/bim-viewer/right_icon.png`, q = (i) => {
|
|
359
|
-
s.entity_name = i.name, s.entity_type = i.type, s.entity_id = i.id, i.propertySets && (s.propertySets = i.propertySets, s.propertySets.forEach((l) => {
|
|
360
|
-
N.currentTheme == "light-gray" ? l.expanded = !0 : l.expanded = !1;
|
|
361
|
-
}));
|
|
362
|
-
}, J = () => {
|
|
363
|
-
s.entity_name = "", s.entity_type = "", s.entity_id = "", s.propertySets = [];
|
|
364
|
-
};
|
|
365
|
-
return (i, l) => {
|
|
366
|
-
const u = oe, _ = le, X = ae, Y = se;
|
|
367
|
-
return c(), r(y, null, [
|
|
368
|
-
!n(v)("isMobile") && n(N).currentTheme == "blue" ? (c(), Q(_, {
|
|
369
|
-
key: 0,
|
|
370
|
-
class: "myInspector_wrapper",
|
|
371
|
-
panelTitle: n(o)("inspector.title"),
|
|
372
|
-
"click-handle": A,
|
|
373
|
-
style: { height: "var(--inspector-content-height)" }
|
|
374
|
-
}, {
|
|
375
|
-
default: I(() => [
|
|
376
|
-
d(e("div", de, [
|
|
377
|
-
B(u, null, {
|
|
378
|
-
default: I(() => [
|
|
379
|
-
e("div", {
|
|
380
|
-
class: "basic_info",
|
|
381
|
-
onClick: l[0] || (l[0] = (p) => T(s))
|
|
382
|
-
}, [
|
|
383
|
-
e("div", me, [
|
|
384
|
-
e("img", {
|
|
385
|
-
src: S(s.expanded),
|
|
386
|
-
class: "triangle"
|
|
387
|
-
}, null, 8, he),
|
|
388
|
-
e("span", null, t(n(o)("inspector.basic")), 1)
|
|
389
|
-
]),
|
|
390
|
-
d(e("div", ye, [
|
|
391
|
-
e("div", ve, [
|
|
392
|
-
e("span", null, t(n(o)("inspector.name")), 1),
|
|
393
|
-
l[3] || (l[3] = e("span", { style: { "margin-top": "2px" } }, "UUID", -1)),
|
|
394
|
-
e("span", null, t(n(o)("inspector.type")), 1)
|
|
395
|
-
]),
|
|
396
|
-
e("div", fe, [
|
|
397
|
-
e("span", null, t(s.entity_name), 1),
|
|
398
|
-
e("span", null, t(s.entity_id), 1),
|
|
399
|
-
e("span", null, t(s.entity_type), 1)
|
|
400
|
-
])
|
|
401
|
-
], 512), [
|
|
402
|
-
[m, s.expanded]
|
|
403
|
-
])
|
|
404
|
-
]),
|
|
405
|
-
e("ul", Ce, [
|
|
406
|
-
(c(!0), r(y, null, f(s.propertySets, (p, w) => (c(), r("li", {
|
|
407
|
-
key: w,
|
|
408
|
-
class: "propertyset",
|
|
409
|
-
onClick: (g) => T(p)
|
|
410
|
-
}, [
|
|
411
|
-
e("div", Pe, [
|
|
412
|
-
e("img", {
|
|
413
|
-
src: S(p.expanded),
|
|
414
|
-
class: "triangle"
|
|
415
|
-
}, null, 8, be),
|
|
416
|
-
e("span", null, t(n(k)(p.name)), 1)
|
|
417
|
-
]),
|
|
418
|
-
d(e("div", Te, [
|
|
419
|
-
e("ul", Se, [
|
|
420
|
-
(c(!0), r(y, null, f(p.properties, (g, x) => (c(), r("li", {
|
|
421
|
-
key: x,
|
|
422
|
-
class: "properties"
|
|
423
|
-
}, [
|
|
424
|
-
(c(!0), r(y, null, f(g, (E, P) => (c(), r("div", {
|
|
425
|
-
class: "title_value",
|
|
426
|
-
key: P
|
|
427
|
-
}, [
|
|
428
|
-
e("span", Ie, t(n(k)(P)), 1),
|
|
429
|
-
e("span", ke, t(E), 1)
|
|
430
|
-
]))), 128))
|
|
431
|
-
]))), 128))
|
|
432
|
-
])
|
|
433
|
-
], 512), [
|
|
434
|
-
[m, p.expanded]
|
|
435
|
-
])
|
|
436
|
-
], 8, ge))), 128))
|
|
437
|
-
])
|
|
438
|
-
]),
|
|
439
|
-
_: 1
|
|
440
|
-
})
|
|
441
|
-
], 512), [
|
|
442
|
-
[m, h.value]
|
|
443
|
-
]),
|
|
444
|
-
d(e("div", Re, [
|
|
445
|
-
e("img", {
|
|
446
|
-
src: n(H) + "/bimkk-app/pinapp-empty-box.png"
|
|
447
|
-
}, null, 8, we),
|
|
448
|
-
e("span", null, t(n(o)("inspector.noSelection")), 1)
|
|
449
|
-
], 512), [
|
|
450
|
-
[m, !h.value]
|
|
451
|
-
])
|
|
452
|
-
]),
|
|
453
|
-
_: 1
|
|
454
|
-
}, 8, ["panelTitle"])) : O("", !0),
|
|
455
|
-
!n(v)("isMobile") && n(N).currentTheme == "light-gray" ? (c(), Q(X, {
|
|
456
|
-
key: 1,
|
|
457
|
-
panelTitle: n(o)("inspector.title"),
|
|
458
|
-
"click-handle": A,
|
|
459
|
-
class: "pc_Inspector",
|
|
460
|
-
pos: n(v)("inspectorPos")
|
|
461
|
-
}, {
|
|
462
|
-
default: I(() => [
|
|
463
|
-
e("div", xe, [
|
|
464
|
-
e("div", Ee, t(n(o)("inspector.instanceProperties")), 1),
|
|
465
|
-
e("div", De, t(n(o)("inspector.typeProperties")), 1)
|
|
466
|
-
]),
|
|
467
|
-
e("div", Be, [
|
|
468
|
-
d(e("div", Fe, [
|
|
469
|
-
B(u, null, {
|
|
470
|
-
default: I(() => [
|
|
471
|
-
e("div", {
|
|
472
|
-
class: "basic_info",
|
|
473
|
-
onClick: l[1] || (l[1] = (p) => T(s))
|
|
474
|
-
}, [
|
|
475
|
-
e("div", Me, [
|
|
476
|
-
e("img", {
|
|
477
|
-
src: S(s.expanded),
|
|
478
|
-
class: "triangle"
|
|
479
|
-
}, null, 8, Le),
|
|
480
|
-
e("span", null, t(n(o)("inspector.basic")), 1)
|
|
481
|
-
]),
|
|
482
|
-
d(e("div", Oe, [
|
|
483
|
-
e("div", je, [
|
|
484
|
-
e("span", null, t(n(o)("inspector.name")), 1),
|
|
485
|
-
l[4] || (l[4] = e("span", { style: { "margin-top": "2px" } }, "UUID", -1)),
|
|
486
|
-
e("span", null, t(n(o)("inspector.type")), 1)
|
|
487
|
-
]),
|
|
488
|
-
e("div", Ve, [
|
|
489
|
-
e("span", null, t(s.entity_name), 1),
|
|
490
|
-
e("span", null, t(s.entity_id), 1),
|
|
491
|
-
e("span", null, t(s.entity_type), 1)
|
|
492
|
-
])
|
|
493
|
-
], 512), [
|
|
494
|
-
[m, s.expanded]
|
|
495
|
-
])
|
|
496
|
-
]),
|
|
497
|
-
e("ul", Ae, [
|
|
498
|
-
(c(!0), r(y, null, f(s.propertySets, (p, w) => (c(), r("li", {
|
|
499
|
-
key: w,
|
|
500
|
-
class: "propertyset",
|
|
501
|
-
onClick: (g) => T(p)
|
|
502
|
-
}, [
|
|
503
|
-
e("div", He, [
|
|
504
|
-
e("img", {
|
|
505
|
-
src: S(p.expanded),
|
|
506
|
-
class: "triangle"
|
|
507
|
-
}, null, 8, We),
|
|
508
|
-
e("span", null, t(n(k)(p.name)), 1)
|
|
509
|
-
]),
|
|
510
|
-
d(e("div", Ue, [
|
|
511
|
-
e("ul", $e, [
|
|
512
|
-
(c(!0), r(y, null, f(p.properties, (g, x) => (c(), r("li", {
|
|
513
|
-
key: x,
|
|
514
|
-
class: "properties"
|
|
515
|
-
}, [
|
|
516
|
-
(c(!0), r(y, null, f(g, (E, P) => (c(), r("div", {
|
|
517
|
-
class: "title_value",
|
|
518
|
-
key: P
|
|
519
|
-
}, [
|
|
520
|
-
e("span", ze, t(n(k)(P)), 1),
|
|
521
|
-
e("span", Ke, t(E), 1)
|
|
522
|
-
]))), 128))
|
|
523
|
-
]))), 128))
|
|
524
|
-
])
|
|
525
|
-
], 512), [
|
|
526
|
-
[m, p.expanded]
|
|
527
|
-
])
|
|
528
|
-
], 8, Ne))), 128))
|
|
529
|
-
])
|
|
530
|
-
]),
|
|
531
|
-
_: 1
|
|
532
|
-
})
|
|
533
|
-
], 512), [
|
|
534
|
-
[m, h.value]
|
|
535
|
-
]),
|
|
536
|
-
d(e("div", qe, [
|
|
537
|
-
e("div", Ge, [
|
|
538
|
-
e("span", null, t(n(o)("inspector.objectCount")), 1),
|
|
539
|
-
e("span", Qe, t(a.objectCount), 1)
|
|
540
|
-
]),
|
|
541
|
-
e("div", Ze, [
|
|
542
|
-
e("span", null, t(n(o)("inspector.pSetsCount")), 1),
|
|
543
|
-
e("span", Je, t(a.pSetsCount), 1)
|
|
544
|
-
]),
|
|
545
|
-
n(v)("multiModel") ? O("", !0) : (c(), r("div", Xe, [
|
|
546
|
-
e("span", null, t(n(o)("bcf.createDate")), 1),
|
|
547
|
-
e("span", Ye, t(a.createDate), 1)
|
|
548
|
-
])),
|
|
549
|
-
e("div", et, [
|
|
550
|
-
e("span", null, t(n(o)("inspector.author")), 1),
|
|
551
|
-
e("span", tt, t(a.author), 1)
|
|
552
|
-
])
|
|
553
|
-
], 512), [
|
|
554
|
-
[m, !h.value]
|
|
555
|
-
])
|
|
556
|
-
])
|
|
557
|
-
]),
|
|
558
|
-
_: 1
|
|
559
|
-
}, 8, ["panelTitle", "pos"])) : O("", !0),
|
|
560
|
-
n(v)("isMobile") ? (c(), r("div", nt, [
|
|
561
|
-
e("div", ot, [
|
|
562
|
-
e("div", st, t(n(o)("inspector.title")), 1),
|
|
563
|
-
e("div", it, [
|
|
564
|
-
B(Y, {
|
|
565
|
-
class: "close",
|
|
566
|
-
width: 0.4,
|
|
567
|
-
"size-type": "rem",
|
|
568
|
-
"click-handle": A
|
|
569
|
-
})
|
|
570
|
-
])
|
|
571
|
-
]),
|
|
572
|
-
B(u, null, {
|
|
573
|
-
default: I(() => [
|
|
574
|
-
e("div", at, [
|
|
575
|
-
d(e("div", lt, [
|
|
576
|
-
B(u, { height: "6.12rem" }, {
|
|
577
|
-
default: I(() => [
|
|
578
|
-
e("div", {
|
|
579
|
-
class: "basic_info",
|
|
580
|
-
onClick: l[2] || (l[2] = (p) => T(s))
|
|
581
|
-
}, [
|
|
582
|
-
e("div", ct, [
|
|
583
|
-
e("img", {
|
|
584
|
-
src: S(s.expanded),
|
|
585
|
-
class: "triangle"
|
|
586
|
-
}, null, 8, rt),
|
|
587
|
-
e("span", null, t(n(o)("inspector.basic")), 1)
|
|
588
|
-
]),
|
|
589
|
-
d(e("div", _t, [
|
|
590
|
-
e("div", pt, [
|
|
591
|
-
e("span", ut, t(n(o)("inspector.name")), 1),
|
|
592
|
-
e("span", dt, t(s.entity_name), 1)
|
|
593
|
-
]),
|
|
594
|
-
e("div", mt, [
|
|
595
|
-
l[5] || (l[5] = e("span", {
|
|
596
|
-
class: "content_title",
|
|
597
|
-
style: { "margin-top": "0.04rem" }
|
|
598
|
-
}, " UUID ", -1)),
|
|
599
|
-
e("span", ht, t(s.entity_id), 1)
|
|
600
|
-
]),
|
|
601
|
-
e("div", yt, [
|
|
602
|
-
e("span", vt, t(n(o)("inspector.type")), 1),
|
|
603
|
-
e("span", ft, t(s.entity_type), 1)
|
|
604
|
-
])
|
|
605
|
-
], 512), [
|
|
606
|
-
[m, s.expanded]
|
|
607
|
-
])
|
|
608
|
-
]),
|
|
609
|
-
e("ul", Ct, [
|
|
610
|
-
(c(!0), r(y, null, f(s.propertySets, (p, w) => (c(), r("li", {
|
|
611
|
-
key: w,
|
|
612
|
-
class: "propertyset",
|
|
613
|
-
onClick: (g) => T(p)
|
|
614
|
-
}, [
|
|
615
|
-
e("div", Pt, [
|
|
616
|
-
e("img", {
|
|
617
|
-
src: S(p.expanded),
|
|
618
|
-
class: "triangle"
|
|
619
|
-
}, null, 8, bt),
|
|
620
|
-
e("span", null, t(n(k)(p.name)), 1)
|
|
621
|
-
]),
|
|
622
|
-
d(e("div", Tt, [
|
|
623
|
-
e("ul", St, [
|
|
624
|
-
(c(!0), r(y, null, f(p.properties, (g, x) => (c(), r("li", {
|
|
625
|
-
key: x,
|
|
626
|
-
class: "properties"
|
|
627
|
-
}, [
|
|
628
|
-
(c(!0), r(y, null, f(g, (E, P) => (c(), r("div", {
|
|
629
|
-
class: "title_value",
|
|
630
|
-
key: P
|
|
631
|
-
}, [
|
|
632
|
-
e("span", It, t(n(k)(P)), 1),
|
|
633
|
-
e("span", kt, t(E), 1)
|
|
634
|
-
]))), 128))
|
|
635
|
-
]))), 128))
|
|
636
|
-
])
|
|
637
|
-
], 512), [
|
|
638
|
-
[m, p.expanded]
|
|
639
|
-
])
|
|
640
|
-
], 8, gt))), 128))
|
|
641
|
-
])
|
|
642
|
-
]),
|
|
643
|
-
_: 1
|
|
644
|
-
})
|
|
645
|
-
], 512), [
|
|
646
|
-
[m, h.value]
|
|
647
|
-
]),
|
|
648
|
-
d(e("div", Rt, [
|
|
649
|
-
e("div", null, [
|
|
650
|
-
e("span", null, t(n(o)("inspector.objectCount")), 1),
|
|
651
|
-
e("span", wt, t(a.objectCount), 1)
|
|
652
|
-
]),
|
|
653
|
-
e("div", null, [
|
|
654
|
-
e("span", null, t(n(o)("inspector.pSetsCount")), 1),
|
|
655
|
-
e("span", xt, t(a.pSetsCount), 1)
|
|
656
|
-
]),
|
|
657
|
-
e("div", null, [
|
|
658
|
-
e("span", null, t(n(o)("bcf.createDate")), 1),
|
|
659
|
-
e("span", Et, t(a.createDate), 1)
|
|
660
|
-
]),
|
|
661
|
-
e("div", null, [
|
|
662
|
-
e("span", null, t(n(o)("inspector.author")), 1),
|
|
663
|
-
e("span", Dt, t(a.author), 1)
|
|
664
|
-
])
|
|
665
|
-
], 512), [
|
|
666
|
-
[m, !h.value]
|
|
667
|
-
])
|
|
668
|
-
])
|
|
669
|
-
]),
|
|
670
|
-
_: 1
|
|
671
|
-
})
|
|
672
|
-
])) : O("", !0)
|
|
673
|
-
], 64);
|
|
674
|
-
};
|
|
675
|
-
}
|
|
676
|
-
}), jt = /* @__PURE__ */ ie(Bt, [["__scopeId", "data-v-29a01182"]]);
|
|
677
|
-
export {
|
|
678
|
-
jt as default
|
|
679
|
-
};
|