@xtctwins/tctwins-bimx-engine 0.1.21 → 0.1.22
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/{AnnotationTool-BvFG1vTX.mjs → AnnotationTool-CgiAUuLM.mjs} +12 -12
- package/dist/BIMX_Viewer_Lib.es.js +4 -4
- package/dist/BIMX_Viewer_Lib.umd.js +86 -91
- package/dist/CommentTool-BeT1ECI-.mjs +338 -0
- package/dist/HiddenTool-qqISJ_uV.mjs +58 -0
- package/dist/InspectorTool-CLPjV6WW.mjs +609 -0
- package/dist/MeasureTool-Be-rmUeb.mjs +1540 -0
- package/dist/{NavigateTool-CCIb1X4u.mjs → NavigateTool-C-VsKB0k.mjs} +7 -7
- package/dist/{RoamTool-B1w0efz8.mjs → RoamTool-DdHBNeVg.mjs} +20 -20
- package/dist/{ScreenShotTool-BviRVFSg.mjs → ScreenShotTool-Da7D2dkW.mjs} +67 -67
- package/dist/SectionTool-CHcmUQul.mjs +624 -0
- package/dist/SettingTool-CkR1F4x_.mjs +525 -0
- package/dist/StructureTree-DBu9xTue.mjs +1438 -0
- package/dist/{debounce-Cg3LHv0T.mjs → debounce-DLzt_q3i.mjs} +13 -13
- package/dist/{el-checkbox-lp8vWAXQ.mjs → el-checkbox-DsUGOsl_.mjs} +46 -46
- package/dist/{el-input-Bwqgf3wZ.mjs → el-input-UdjCNTtW.mjs} +66 -68
- package/dist/{el-input-number-0OWyX276.mjs → el-input-number-ySU-dVGM.mjs} +75 -75
- package/dist/{index-CQ8depiU.mjs → index-BfLgpvcd.mjs} +3 -3
- package/dist/{index-CYEu_kT4.mjs → index-DQKkZiNH.mjs} +1 -1
- package/dist/{index-DX-eYsBm.mjs → index-DyFDTMAw.mjs} +1795 -1794
- package/dist/{isEqual-Bg-tyY30.mjs → isEqual-BWlMaoTp.mjs} +9 -9
- package/dist/panel.vue_vue_type_style_index_0_lang-ZCDiwNFo.mjs +96 -0
- package/dist/style.css +1 -1
- package/dist/tallPanel-Cz_n6AsB.mjs +49 -0
- package/package.json +1 -1
- package/types/components/utilsComponents/tallPanel.vue.d.ts +41 -0
- package/types/services/fileApi/fileManager.d.ts +5 -5
- package/types/store/themeManager.d.ts +1 -1
- package/dist/CommentTool-B6ruuuGV.mjs +0 -338
- package/dist/HiddenTool-DW-lRdW5.mjs +0 -58
- package/dist/InspectorTool-Cc288ySp.mjs +0 -515
- package/dist/MeasureTool-DdfM3U_3.mjs +0 -1542
- package/dist/SectionTool-jSjWX32j.mjs +0 -630
- package/dist/SettingTool-CVMZAx2H.mjs +0 -536
- package/dist/StructureTree-4OCdRRPG.mjs +0 -2672
- package/dist/panel.vue_vue_type_style_index_0_scope_true_lang-BfE1I0S9.mjs +0 -82
|
@@ -1,515 +0,0 @@
|
|
|
1
|
-
import { _ as K, a as G } from "./panel.vue_vue_type_style_index_0_scope_true_lang-BfE1I0S9.mjs";
|
|
2
|
-
import { p as Q, q as T, s as Z, O as W, v as J, x as X } from "./index-DX-eYsBm.mjs";
|
|
3
|
-
import { defineComponent as Y, ref as R, onMounted as ee, reactive as j, watch as te, unref as v, openBlock as i, createBlock as ne, normalizeStyle as oe, withCtx as D, withDirectives as m, createElementVNode as e, createVNode as E, toDisplayString as s, vShow as p, createElementBlock as l, Fragment as C, renderList as g, pushScopeId as se, popScopeId as ie } from "vue";
|
|
4
|
-
const U = {
|
|
5
|
-
ExtendToStructure: "扩建物",
|
|
6
|
-
ThermalTransmittance: "热透射率",
|
|
7
|
-
Roughness: "粗糙度",
|
|
8
|
-
Category: "类型",
|
|
9
|
-
IsExternal: "是否外部",
|
|
10
|
-
LoadBearing: "承重",
|
|
11
|
-
Reference: "参考",
|
|
12
|
-
Span: "跨度",
|
|
13
|
-
Slope: "斜坡",
|
|
14
|
-
// Additional properties
|
|
15
|
-
Width: "宽度",
|
|
16
|
-
Height: "高度",
|
|
17
|
-
Depth: "深度",
|
|
18
|
-
Volume: "体积",
|
|
19
|
-
Mass: "质量",
|
|
20
|
-
Density: "密度",
|
|
21
|
-
Material: "材料",
|
|
22
|
-
Color: "颜色",
|
|
23
|
-
Finish: "表面处理",
|
|
24
|
-
FireRating: "防火等级",
|
|
25
|
-
Insulation: "绝缘",
|
|
26
|
-
ThermalConductivity: "导热性",
|
|
27
|
-
Durability: "耐久性",
|
|
28
|
-
Age: "年代",
|
|
29
|
-
Condition: "状况",
|
|
30
|
-
Owner: "所有者",
|
|
31
|
-
Maintenance: "维护",
|
|
32
|
-
Cost: "成本",
|
|
33
|
-
ConstructionDate: "建造日期",
|
|
34
|
-
Location: "位置",
|
|
35
|
-
Orientation: "方向",
|
|
36
|
-
Elevation: "标高",
|
|
37
|
-
Area: "面积",
|
|
38
|
-
FloorCount: "层数",
|
|
39
|
-
Occupancy: "占用率",
|
|
40
|
-
StructuralSystem: "结构系统",
|
|
41
|
-
MechanicalSystem: "机械系统",
|
|
42
|
-
ElectricalSystem: "电气系统",
|
|
43
|
-
PlumbingSystem: "管道系统",
|
|
44
|
-
SafetySystem: "安全系统",
|
|
45
|
-
EnvironmentalImpact: "环境影响",
|
|
46
|
-
EnergyEfficiency: "能源效率",
|
|
47
|
-
WaterUsage: "用水量",
|
|
48
|
-
NoiseLevel: "噪音水平",
|
|
49
|
-
Accessibility: "可达性",
|
|
50
|
-
Compliance: "合规性",
|
|
51
|
-
BuildingCode: "建筑规范",
|
|
52
|
-
DesignLife: "设计寿命",
|
|
53
|
-
ServiceLife: "使用寿命",
|
|
54
|
-
ManufactureDate: "制造日期",
|
|
55
|
-
InstallationDate: "安装日期",
|
|
56
|
-
Warranty: "保修",
|
|
57
|
-
MaintenanceSchedule: "维护计划",
|
|
58
|
-
RepairHistory: "维修历史",
|
|
59
|
-
ReplacementCost: "更换成本",
|
|
60
|
-
DisposalMethod: "处置方法",
|
|
61
|
-
Recyclability: "可回收性",
|
|
62
|
-
HazardousMaterials: "危险材料",
|
|
63
|
-
Lighting: "照明",
|
|
64
|
-
Ventilation: "通风",
|
|
65
|
-
Heating: "供暖",
|
|
66
|
-
Cooling: "制冷",
|
|
67
|
-
FireProtection: "防火保护",
|
|
68
|
-
Security: "安全",
|
|
69
|
-
Signage: "标识",
|
|
70
|
-
AccessibilityFeatures: "无障碍特征",
|
|
71
|
-
AcousticProperties: "声学特性",
|
|
72
|
-
VisualProperties: "视觉特性",
|
|
73
|
-
CulturalValue: "文化价值",
|
|
74
|
-
HistoricalSignificance: "历史意义",
|
|
75
|
-
ArchitecturalStyle: "建筑风格",
|
|
76
|
-
StructuralIntegrity: "结构完整性",
|
|
77
|
-
SeismicPerformance: "抗震性能",
|
|
78
|
-
WindResistance: "抗风性能",
|
|
79
|
-
ThermalResistance: "热阻",
|
|
80
|
-
UVResistance: "抗紫外线",
|
|
81
|
-
ChemicalResistance: "抗化学性",
|
|
82
|
-
WeatherResistance: "耐候性",
|
|
83
|
-
ImpactResistance: "抗冲击性",
|
|
84
|
-
AbrasionResistance: "耐磨性",
|
|
85
|
-
FlexuralStrength: "抗弯强度",
|
|
86
|
-
CompressiveStrength: "抗压强度",
|
|
87
|
-
TensileStrength: "抗拉强度",
|
|
88
|
-
Hardness: "硬度",
|
|
89
|
-
Elasticity: "弹性",
|
|
90
|
-
Plasticity: "塑性",
|
|
91
|
-
Brittleness: "脆性",
|
|
92
|
-
Ductility: "延展性",
|
|
93
|
-
Conductivity: "导电性",
|
|
94
|
-
Magnetism: "磁性",
|
|
95
|
-
ThermalExpansion: "热膨胀",
|
|
96
|
-
Shrinkage: "收缩",
|
|
97
|
-
Creep: "蠕变",
|
|
98
|
-
Fatigue: "疲劳",
|
|
99
|
-
Corrosion: "腐蚀",
|
|
100
|
-
Oxidation: "氧化",
|
|
101
|
-
Pitting: "点蚀",
|
|
102
|
-
Weathering: "风化",
|
|
103
|
-
BioDeterioration: "生物劣化",
|
|
104
|
-
RadiationResistance: "抗辐射",
|
|
105
|
-
ElectromagneticCompatibility: "电磁兼容",
|
|
106
|
-
InsulationResistance: "绝缘电阻",
|
|
107
|
-
DielectricStrength: "介电强度",
|
|
108
|
-
SurfaceTension: "表面张力",
|
|
109
|
-
Wettability: "润湿性",
|
|
110
|
-
Hydrophilicity: "亲水性",
|
|
111
|
-
Hydrophobicity: "疏水性",
|
|
112
|
-
Adsorption: "吸附",
|
|
113
|
-
Absorption: "吸收",
|
|
114
|
-
Sorption: "吸附吸收",
|
|
115
|
-
Desorption: "脱附",
|
|
116
|
-
Porosity: "孔隙率",
|
|
117
|
-
Permeability: "渗透性",
|
|
118
|
-
SorptionCapacity: "吸附容量",
|
|
119
|
-
DesorptionCapacity: "脱附容量",
|
|
120
|
-
// Revit-specific properties
|
|
121
|
-
Constraints: "约束",
|
|
122
|
-
Phases: "阶段",
|
|
123
|
-
Discipline: "学科",
|
|
124
|
-
Host: "宿主",
|
|
125
|
-
RelatedToMass: "相关质量",
|
|
126
|
-
BaseLevel: "基准层",
|
|
127
|
-
TopLevel: "顶部层",
|
|
128
|
-
Offset: "偏移",
|
|
129
|
-
HeightOffsetFromLevel: "高度偏移",
|
|
130
|
-
RoomName: "房间名称",
|
|
131
|
-
RoomNumber: "房间编号",
|
|
132
|
-
RoomArea: "房间面积",
|
|
133
|
-
WallType: "墙类型",
|
|
134
|
-
FloorType: "地板类型",
|
|
135
|
-
RoofType: "屋顶类型",
|
|
136
|
-
WindowType: "窗户类型",
|
|
137
|
-
DoorType: "门类型",
|
|
138
|
-
ColumnType: "柱类型",
|
|
139
|
-
BeamType: "梁类型",
|
|
140
|
-
FamilyName: "族名称",
|
|
141
|
-
TypeName: "类型名称",
|
|
142
|
-
InstanceName: "实例名称",
|
|
143
|
-
Workset: "工作集",
|
|
144
|
-
Comments: "备注",
|
|
145
|
-
Manufacturer: "制造商",
|
|
146
|
-
Model: "模型",
|
|
147
|
-
AssemblyCode: "装配代码",
|
|
148
|
-
ConstructionType: "施工类型",
|
|
149
|
-
FireProofing: "防火",
|
|
150
|
-
StructuralUsage: "结构用途",
|
|
151
|
-
FinishCode: "饰面代码",
|
|
152
|
-
Sustainability: "可持续性",
|
|
153
|
-
Grade: "等级",
|
|
154
|
-
StructuralMaterial: "结构材料",
|
|
155
|
-
ThermalProperties: "热性能",
|
|
156
|
-
SoundTransmission: "声音传输",
|
|
157
|
-
VaporBarrier: "防潮层",
|
|
158
|
-
InsulationType: "绝缘类型",
|
|
159
|
-
LifeCycle: "生命周期",
|
|
160
|
-
EnvironmentalCertification: "环境认证",
|
|
161
|
-
ConstructionPhase: "施工阶段",
|
|
162
|
-
//IFC 属性集类型表
|
|
163
|
-
Pset_ElementShading: "元素遮阳",
|
|
164
|
-
Pset_ProductRequirements: "产品要求",
|
|
165
|
-
Pset_QuantityTakeOffCommon: "工程量计算",
|
|
166
|
-
Pset_QuantityTakeOff: "工程量计算",
|
|
167
|
-
Pset_ProvisionForVoid: "预留孔洞",
|
|
168
|
-
Pset_ReinforcementBarPitchOfSlab: "板内钢筋间距",
|
|
169
|
-
Pset_ReinforcementBarPitchOfBeam: "梁体钢筋间距",
|
|
170
|
-
Pset_ReinforcementBarPitchOfWall: "墙体钢筋间距",
|
|
171
|
-
Pset_ReinforcementBarPitchOfPile: "桩基钢筋间距",
|
|
172
|
-
Pset_ReinforcementBarPitchOfColumn: "柱体钢筋间距",
|
|
173
|
-
Pset_ReinforcementBarPitchOfFooting: "基础钢筋间距",
|
|
174
|
-
Pset_ReinforcementBarPitchOfFoundation: "基础构件钢筋间距",
|
|
175
|
-
Pset_BuildingElementProxyCommon: "建筑构件代理通用",
|
|
176
|
-
Pset_SpaceFireSafetyRequirements: "空间防火要求",
|
|
177
|
-
Pset_SpaceThermalRequirements: "空间热工要求",
|
|
178
|
-
Pset_DoorWindowGlazingType: "门窗玻璃类型",
|
|
179
|
-
Pset_EnvironmentalImpactIndicators: "环境影响指标",
|
|
180
|
-
Pset_BeamCommon: "梁通用",
|
|
181
|
-
Pset_ColumnCommon: "柱通用",
|
|
182
|
-
Pset_WallCommon: "墙体通用",
|
|
183
|
-
Pset_WindowCommon: "窗户通用",
|
|
184
|
-
Pset_DoorCommon: "门通用",
|
|
185
|
-
Pset_RoofCommon: "屋顶通用",
|
|
186
|
-
Pset_SlabCommon: "板通用",
|
|
187
|
-
Pset_CoveringCommon: "覆盖层通用",
|
|
188
|
-
Pset_FurnitureCommon: "家具通用",
|
|
189
|
-
Pset_LightFixtureTypeCommon: "灯具类型通用",
|
|
190
|
-
Pset_ZoneCommon: "区域通用",
|
|
191
|
-
Pset_SpaceCommon: "空间通用",
|
|
192
|
-
Pset_BuildingCommon: "建筑通用",
|
|
193
|
-
Pset_FloorCommon: "地板通用",
|
|
194
|
-
Pset_StairCommon: "楼梯通用",
|
|
195
|
-
Pset_RailingCommon: "栏杆通用",
|
|
196
|
-
Pset_OpeningElementCommon: "开口构件通用",
|
|
197
|
-
Pset_DistributionPortCommon: "分配端口通用",
|
|
198
|
-
Pset_DistributionFlowElementCommon: "分配流体构件通用",
|
|
199
|
-
Pset_ElectricDeviceTypeCommon: "电气设备类型通用",
|
|
200
|
-
Pset_ValveTypeCommon: "阀门类型通用",
|
|
201
|
-
Pset_PipeFittingTypeCommon: "管件类型通用",
|
|
202
|
-
Pset_TankTypeCommon: "储罐类型通用",
|
|
203
|
-
Pset_HeatExchangerTypeCommon: "换热器类型通用",
|
|
204
|
-
Pset_TransformerTypeCommon: "变压器类型通用",
|
|
205
|
-
Pset_PumpTypeCommon: "泵类型通用",
|
|
206
|
-
Pset_VehicleCommon: "车辆通用",
|
|
207
|
-
Pset_AirTerminalTypeCommon: "空气终端设备类型通用",
|
|
208
|
-
Pset_EquipmentTypeCommon: "设备类型通用",
|
|
209
|
-
Pset_FireSuppressionTerminalTypeCommon: "消防终端设备类型通用",
|
|
210
|
-
Pset_HumiditySensorTypeCommon: "湿度传感器类型通用",
|
|
211
|
-
Pset_ReflectorTypeCommon: "反射器类型通用",
|
|
212
|
-
Pset_FlowInstrumentTypeCommon: "流量仪表类型通用",
|
|
213
|
-
Pset_HeatTransferDeviceTypeCommon: "热传递设备类型通用"
|
|
214
|
-
}, ae = Object.keys(U).reduce((r, y) => {
|
|
215
|
-
const h = y.trim().toLowerCase().replace(/\s+/g, "");
|
|
216
|
-
return r[h] = U[y], r;
|
|
217
|
-
}, {});
|
|
218
|
-
function x(r) {
|
|
219
|
-
const y = r.trim().toLowerCase().replace(/\s+/g, "");
|
|
220
|
-
return ae[y] || r;
|
|
221
|
-
}
|
|
222
|
-
const c = (r) => (se("data-v-7dd74b29"), r = r(), ie(), r), le = { class: "myInspector_content" }, re = { class: "title" }, ce = ["src"], _e = /* @__PURE__ */ c(() => /* @__PURE__ */ e("span", null, "基本属性", -1)), me = { class: "properties_content" }, pe = /* @__PURE__ */ c(() => /* @__PURE__ */ e("div", { class: "basic_info_title" }, [
|
|
223
|
-
/* @__PURE__ */ e("span", null, "名称"),
|
|
224
|
-
/* @__PURE__ */ e("span", { style: { "margin-top": "2px" } }, "UUID"),
|
|
225
|
-
/* @__PURE__ */ e("span", null, "类型")
|
|
226
|
-
], -1)), de = { class: "basic_info_value" }, ue = { class: "propertysets" }, ye = ["onClick"], he = { class: "title" }, ve = ["src"], Ce = { class: "properties_content" }, ge = { class: "content_title_value" }, fe = { class: "content_title" }, Pe = { class: "content_value" }, Te = { class: "myInspector_empty" }, Se = ["src"], be = /* @__PURE__ */ c(() => /* @__PURE__ */ e("span", null, "未选中任何对象,请单击模型对象以查看构件属性。", -1)), Ie = {
|
|
227
|
-
key: 1,
|
|
228
|
-
class: "mobile_myInspector"
|
|
229
|
-
}, we = { class: "detail-title-box" }, Re = /* @__PURE__ */ c(() => /* @__PURE__ */ e("div", { class: "detail-title" }, "属性", -1)), De = { class: "detail-title-icon" }, Ee = {
|
|
230
|
-
type: "button",
|
|
231
|
-
class: "tctwins_btn tctwins-i18n tctwins-inspector"
|
|
232
|
-
}, xe = { class: "myInspector" }, Be = { class: "myInspector_content" }, ke = { class: "title" }, Fe = ["src"], Oe = /* @__PURE__ */ c(() => /* @__PURE__ */ e("span", null, "基本属性", -1)), Me = { class: "properties_content" }, He = /* @__PURE__ */ c(() => /* @__PURE__ */ e("div", { class: "basic_info_title" }, [
|
|
233
|
-
/* @__PURE__ */ e("span", null, "名称"),
|
|
234
|
-
/* @__PURE__ */ e("span", { style: { "margin-top": "0.04rem" } }, "UUID"),
|
|
235
|
-
/* @__PURE__ */ e("span", null, "类型")
|
|
236
|
-
], -1)), Ve = { class: "basic_info_value" }, Le = { class: "propertysets" }, We = ["onClick"], Ae = { class: "title" }, Ne = ["src"], je = { class: "properties_content" }, Ue = { class: "content_title_value" }, $e = { class: "content_title" }, qe = { class: "content_value" }, ze = { class: "myInspector_empty" }, Ke = /* @__PURE__ */ c(() => /* @__PURE__ */ e("span", null, "对象数量", -1)), Ge = { class: "model_info_value" }, Qe = /* @__PURE__ */ c(() => /* @__PURE__ */ e("span", null, "属性集数量", -1)), Ze = { class: "model_info_value" }, Je = /* @__PURE__ */ c(() => /* @__PURE__ */ e("span", null, "创建日期", -1)), Xe = { class: "model_info_value" }, Ye = /* @__PURE__ */ c(() => /* @__PURE__ */ e("span", null, "作者", -1)), et = { class: "model_info_value" }, tt = /* @__PURE__ */ Y({
|
|
237
|
-
__name: "InspectorTool",
|
|
238
|
-
props: ["componentId"],
|
|
239
|
-
emits: ["closePanel", "emitHandler"],
|
|
240
|
-
setup(r, { emit: y }) {
|
|
241
|
-
const h = Q(), B = r, k = R(0), F = R(0);
|
|
242
|
-
ee(() => {
|
|
243
|
-
h.setReadyById(B.componentId), T("themeColor") == "blue" ? (k.value = 240, F.value = 420) : T("themeColor") == "light-gray" && (k.value = 240, F.value = 380);
|
|
244
|
-
});
|
|
245
|
-
const A = y, O = (o) => {
|
|
246
|
-
A("emitHandler", o);
|
|
247
|
-
};
|
|
248
|
-
let S = window.BimViewer;
|
|
249
|
-
const d = R(!1), b = R(), n = j({
|
|
250
|
-
entity_name: "无",
|
|
251
|
-
entity_type: "无",
|
|
252
|
-
entity_id: "无",
|
|
253
|
-
propertySets: [],
|
|
254
|
-
expanded: !0
|
|
255
|
-
}), u = j({
|
|
256
|
-
objectCount: "未知",
|
|
257
|
-
pSetsCount: "未知",
|
|
258
|
-
createDate: "未知",
|
|
259
|
-
author: "未知"
|
|
260
|
-
});
|
|
261
|
-
te(
|
|
262
|
-
() => h.isToolActive(B.componentId),
|
|
263
|
-
(o) => {
|
|
264
|
-
if (o && d.value == !0) {
|
|
265
|
-
const t = S.getObjectProperties(b.value.id);
|
|
266
|
-
t && M(t);
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
), Z.on("BimViewer", () => {
|
|
270
|
-
S = window.BimViewer;
|
|
271
|
-
const { eventTrigger: o } = S;
|
|
272
|
-
o.on("metaLoaded", () => {
|
|
273
|
-
const t = window.BimViewer.getModelInfo();
|
|
274
|
-
u.createDate = t.createDate !== "" ? t.createDate : "未知", u.objectCount = t.objectCount !== 0 ? t.objectCount : "未知", u.pSetsCount = t.propertySetCount !== 0 ? t.propertySetCount : "未知", u.author = t.author !== "" ? t.author : "未知";
|
|
275
|
-
}), T("isMobile") || o.on("pickedEntity", (t) => {
|
|
276
|
-
if (b.value = t, !h.isToolActive(B.componentId)) return;
|
|
277
|
-
d.value = !0;
|
|
278
|
-
const _ = S.getObjectProperties(t.id);
|
|
279
|
-
_ && M(_), O({
|
|
280
|
-
isTool: !0,
|
|
281
|
-
event_target: "InspectorTool",
|
|
282
|
-
event_name: "pickedEntity",
|
|
283
|
-
content: {
|
|
284
|
-
entityId: t.id
|
|
285
|
-
}
|
|
286
|
-
});
|
|
287
|
-
}), T("isMobile") && o.on("touchEntity", (t) => {
|
|
288
|
-
b.value = t, d.value = !0;
|
|
289
|
-
const _ = window.BimViewer.getObjectProperties(t.id);
|
|
290
|
-
_ && M(_), O({
|
|
291
|
-
isTool: !0,
|
|
292
|
-
event_target: "InspectorTool",
|
|
293
|
-
event_name: "touchEntity",
|
|
294
|
-
content: {
|
|
295
|
-
entityId: t.id
|
|
296
|
-
}
|
|
297
|
-
});
|
|
298
|
-
}), o.on("pickedNothing", () => {
|
|
299
|
-
d.value = !1, b.value = null, $(), O({
|
|
300
|
-
isTool: !0,
|
|
301
|
-
event_target: "InspectorTool",
|
|
302
|
-
event_name: "pickedNothing",
|
|
303
|
-
content: {
|
|
304
|
-
msg: "pickedNothing"
|
|
305
|
-
}
|
|
306
|
-
});
|
|
307
|
-
});
|
|
308
|
-
});
|
|
309
|
-
const N = () => {
|
|
310
|
-
A("closePanel");
|
|
311
|
-
}, I = (o) => {
|
|
312
|
-
o.expanded = !o.expanded;
|
|
313
|
-
}, w = (o) => o ? `${W}/bim-viewer/down_icon.png` : `${W}/bim-viewer/right_icon.png`, M = (o) => {
|
|
314
|
-
n.entity_name = o.name, n.entity_type = o.type, n.entity_id = o.id, o.propertySets && (n.propertySets = o.propertySets, n.propertySets.forEach((t) => {
|
|
315
|
-
t.expanded = !1;
|
|
316
|
-
}));
|
|
317
|
-
}, $ = () => {
|
|
318
|
-
n.entity_name = "", n.entity_type = "", n.entity_id = "", n.propertySets = [];
|
|
319
|
-
};
|
|
320
|
-
return (o, t) => {
|
|
321
|
-
const _ = J, q = K, z = G;
|
|
322
|
-
return v(T)("isMobile") ? (i(), l("div", Ie, [
|
|
323
|
-
e("div", we, [
|
|
324
|
-
Re,
|
|
325
|
-
e("div", De, [
|
|
326
|
-
E(z, {
|
|
327
|
-
class: "close",
|
|
328
|
-
"click-handle": N
|
|
329
|
-
})
|
|
330
|
-
])
|
|
331
|
-
]),
|
|
332
|
-
m(e("button", Ee, null, 512), [
|
|
333
|
-
[p, !1]
|
|
334
|
-
]),
|
|
335
|
-
E(_, null, {
|
|
336
|
-
default: D(() => [
|
|
337
|
-
e("div", xe, [
|
|
338
|
-
m(e("div", Be, [
|
|
339
|
-
E(_, { height: "6.12rem" }, {
|
|
340
|
-
default: D(() => [
|
|
341
|
-
e("div", {
|
|
342
|
-
class: "basic_info",
|
|
343
|
-
onClick: t[1] || (t[1] = (a) => I(n))
|
|
344
|
-
}, [
|
|
345
|
-
e("div", ke, [
|
|
346
|
-
e("img", {
|
|
347
|
-
src: w(n.expanded),
|
|
348
|
-
class: "triangle"
|
|
349
|
-
}, null, 8, Fe),
|
|
350
|
-
Oe
|
|
351
|
-
]),
|
|
352
|
-
m(e("div", Me, [
|
|
353
|
-
He,
|
|
354
|
-
e("div", Ve, [
|
|
355
|
-
e("span", null, s(n.entity_name), 1),
|
|
356
|
-
e("span", null, s(n.entity_id), 1),
|
|
357
|
-
e("span", null, s(n.entity_type), 1)
|
|
358
|
-
])
|
|
359
|
-
], 512), [
|
|
360
|
-
[p, n.expanded]
|
|
361
|
-
])
|
|
362
|
-
]),
|
|
363
|
-
e("ul", Le, [
|
|
364
|
-
(i(!0), l(C, null, g(n.propertySets, (a, H) => (i(), l("li", {
|
|
365
|
-
key: H,
|
|
366
|
-
class: "propertyset",
|
|
367
|
-
onClick: (f) => I(a)
|
|
368
|
-
}, [
|
|
369
|
-
e("div", Ae, [
|
|
370
|
-
e("img", {
|
|
371
|
-
src: w(a.expanded),
|
|
372
|
-
class: "triangle"
|
|
373
|
-
}, null, 8, Ne),
|
|
374
|
-
e("span", null, s(v(x)(a.name)), 1)
|
|
375
|
-
]),
|
|
376
|
-
m(e("div", je, [
|
|
377
|
-
e("ul", Ue, [
|
|
378
|
-
(i(!0), l(C, null, g(a.properties, (f, V) => (i(), l("li", {
|
|
379
|
-
key: V,
|
|
380
|
-
class: "properties"
|
|
381
|
-
}, [
|
|
382
|
-
(i(!0), l(C, null, g(f, (L, P) => (i(), l("div", {
|
|
383
|
-
class: "title_value",
|
|
384
|
-
key: P
|
|
385
|
-
}, [
|
|
386
|
-
e("span", $e, s(v(x)(P)), 1),
|
|
387
|
-
e("span", qe, s(L), 1)
|
|
388
|
-
]))), 128))
|
|
389
|
-
]))), 128))
|
|
390
|
-
])
|
|
391
|
-
], 512), [
|
|
392
|
-
[p, a.expanded]
|
|
393
|
-
])
|
|
394
|
-
], 8, We))), 128))
|
|
395
|
-
])
|
|
396
|
-
]),
|
|
397
|
-
_: 1
|
|
398
|
-
})
|
|
399
|
-
], 512), [
|
|
400
|
-
[p, d.value]
|
|
401
|
-
]),
|
|
402
|
-
m(e("div", ze, [
|
|
403
|
-
e("div", null, [
|
|
404
|
-
Ke,
|
|
405
|
-
e("span", Ge, s(u.objectCount), 1)
|
|
406
|
-
]),
|
|
407
|
-
e("div", null, [
|
|
408
|
-
Qe,
|
|
409
|
-
e("span", Ze, s(u.pSetsCount), 1)
|
|
410
|
-
]),
|
|
411
|
-
e("div", null, [
|
|
412
|
-
Je,
|
|
413
|
-
e("span", Xe, s(u.createDate), 1)
|
|
414
|
-
]),
|
|
415
|
-
e("div", null, [
|
|
416
|
-
Ye,
|
|
417
|
-
e("span", et, s(u.author), 1)
|
|
418
|
-
])
|
|
419
|
-
], 512), [
|
|
420
|
-
[p, !d.value]
|
|
421
|
-
])
|
|
422
|
-
])
|
|
423
|
-
]),
|
|
424
|
-
_: 1
|
|
425
|
-
})
|
|
426
|
-
])) : (i(), ne(q, {
|
|
427
|
-
key: 0,
|
|
428
|
-
class: "myInspector_wrapper",
|
|
429
|
-
width: k.value,
|
|
430
|
-
panelTitle: "属性",
|
|
431
|
-
"click-handle": N,
|
|
432
|
-
style: oe({ height: F.value.toString() + "px" })
|
|
433
|
-
}, {
|
|
434
|
-
default: D(() => [
|
|
435
|
-
m(e("div", le, [
|
|
436
|
-
E(_, null, {
|
|
437
|
-
default: D(() => [
|
|
438
|
-
e("div", {
|
|
439
|
-
class: "basic_info",
|
|
440
|
-
onClick: t[0] || (t[0] = (a) => I(n))
|
|
441
|
-
}, [
|
|
442
|
-
e("div", re, [
|
|
443
|
-
e("img", {
|
|
444
|
-
src: w(n.expanded),
|
|
445
|
-
class: "triangle"
|
|
446
|
-
}, null, 8, ce),
|
|
447
|
-
_e
|
|
448
|
-
]),
|
|
449
|
-
m(e("div", me, [
|
|
450
|
-
pe,
|
|
451
|
-
e("div", de, [
|
|
452
|
-
e("span", null, s(n.entity_name), 1),
|
|
453
|
-
e("span", null, s(n.entity_id), 1),
|
|
454
|
-
e("span", null, s(n.entity_type), 1)
|
|
455
|
-
])
|
|
456
|
-
], 512), [
|
|
457
|
-
[p, n.expanded]
|
|
458
|
-
])
|
|
459
|
-
]),
|
|
460
|
-
e("ul", ue, [
|
|
461
|
-
(i(!0), l(C, null, g(n.propertySets, (a, H) => (i(), l("li", {
|
|
462
|
-
key: H,
|
|
463
|
-
class: "propertyset",
|
|
464
|
-
onClick: (f) => I(a)
|
|
465
|
-
}, [
|
|
466
|
-
e("div", he, [
|
|
467
|
-
e("img", {
|
|
468
|
-
src: w(a.expanded),
|
|
469
|
-
class: "triangle"
|
|
470
|
-
}, null, 8, ve),
|
|
471
|
-
e("span", null, s(v(x)(a.name)), 1)
|
|
472
|
-
]),
|
|
473
|
-
m(e("div", Ce, [
|
|
474
|
-
e("ul", ge, [
|
|
475
|
-
(i(!0), l(C, null, g(a.properties, (f, V) => (i(), l("li", {
|
|
476
|
-
key: V,
|
|
477
|
-
class: "properties"
|
|
478
|
-
}, [
|
|
479
|
-
(i(!0), l(C, null, g(f, (L, P) => (i(), l("div", {
|
|
480
|
-
class: "title_value",
|
|
481
|
-
key: P
|
|
482
|
-
}, [
|
|
483
|
-
e("span", fe, s(v(x)(P)), 1),
|
|
484
|
-
e("span", Pe, s(L), 1)
|
|
485
|
-
]))), 128))
|
|
486
|
-
]))), 128))
|
|
487
|
-
])
|
|
488
|
-
], 512), [
|
|
489
|
-
[p, a.expanded]
|
|
490
|
-
])
|
|
491
|
-
], 8, ye))), 128))
|
|
492
|
-
])
|
|
493
|
-
]),
|
|
494
|
-
_: 1
|
|
495
|
-
})
|
|
496
|
-
], 512), [
|
|
497
|
-
[p, d.value]
|
|
498
|
-
]),
|
|
499
|
-
m(e("div", Te, [
|
|
500
|
-
e("img", {
|
|
501
|
-
src: v(W) + "/bimkk-app/pinapp-empty-box.png"
|
|
502
|
-
}, null, 8, Se),
|
|
503
|
-
be
|
|
504
|
-
], 512), [
|
|
505
|
-
[p, !d.value]
|
|
506
|
-
])
|
|
507
|
-
]),
|
|
508
|
-
_: 1
|
|
509
|
-
}, 8, ["width", "style"]));
|
|
510
|
-
};
|
|
511
|
-
}
|
|
512
|
-
}), it = /* @__PURE__ */ X(tt, [["__scopeId", "data-v-7dd74b29"]]);
|
|
513
|
-
export {
|
|
514
|
-
it as default
|
|
515
|
-
};
|