@xtctwins/tctwins-industry-engine 0.0.1
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/README.md +5 -0
- package/dist/AnnotationTool-p1JXCwLS.mjs +129 -0
- package/dist/BCFTool-Cssf2dIk.mjs +25118 -0
- package/dist/CommentTool-Bug4iFC9.mjs +167 -0
- package/dist/Industry_Viewer_Lib.es.js +12 -0
- package/dist/Industry_Viewer_Lib.umd.js +633 -0
- package/dist/InspectorTool-BJzXtOU-.mjs +674 -0
- package/dist/MeasureTool-Dkrz8dS6.mjs +168 -0
- package/dist/MouseTool-Cvc5G90V.mjs +80 -0
- package/dist/NavigateTool-DwEEE5nd.mjs +52 -0
- package/dist/RoamTool-dChjfNvn.mjs +212 -0
- package/dist/ScreenShotTool-CPrA7pEa.mjs +357 -0
- package/dist/SectionTool-Du-V6U-J.mjs +217 -0
- package/dist/SettingTool-X6AjiptI.mjs +691 -0
- package/dist/StructureTree-CHhrQiDL.mjs +1591 -0
- package/dist/XRayTool-Ci1SR92x.mjs +57 -0
- package/dist/alert-BzjOjWCu.mjs +46 -0
- package/dist/const-DeViLYl5.mjs +266 -0
- package/dist/el-checkbox-DeNYO9VE.mjs +460 -0
- package/dist/el-input-number-CsUyeV_5.mjs +858 -0
- package/dist/index-CBO0Vhj8.mjs +99354 -0
- package/dist/index.html +17 -0
- package/dist/panel.vue_vue_type_style_index_0_lang-CUi6naB0.mjs +61 -0
- package/dist/style.css +1 -0
- package/dist/tallPanel-D226sbKd.mjs +84 -0
- package/package.json +65 -0
- package/types/App.vue.d.ts +2 -0
- package/types/components/BCFComponents/BCFAddPanel.vue.d.ts +55 -0
- package/types/components/BCFComponents/BCFDetailPanel.vue.d.ts +59 -0
- package/types/components/BCFComponents/BCFDisplayList.vue.d.ts +18 -0
- package/types/components/BCFComponents/BCFFilter.vue.d.ts +14 -0
- package/types/components/BCFComponents/BCFTool.vue.d.ts +15 -0
- package/types/components/BCFComponents/addObjectOrAnno.vue.d.ts +16 -0
- package/types/components/BCFComponents/checkObjectPanel.vue.d.ts +11 -0
- package/types/components/BCFComponents/commentInput.vue.d.ts +51 -0
- package/types/components/BCFComponents/commentsView.vue.d.ts +48 -0
- package/types/components/BCFComponents/dialogPanel.vue.d.ts +15 -0
- package/types/components/BCFComponents/imageView.vue.d.ts +17 -0
- package/types/components/BCFComponents/imageZoomIn.vue.d.ts +9 -0
- package/types/components/BimViewerComponents/AnnotationTool.vue.d.ts +14 -0
- package/types/components/BimViewerComponents/ClickEvent.vue.d.ts +6 -0
- package/types/components/BimViewerComponents/CommentTool.vue.d.ts +12 -0
- package/types/components/BimViewerComponents/InspectorTool.vue.d.ts +12 -0
- package/types/components/BimViewerComponents/MeasureTool.vue.d.ts +12 -0
- package/types/components/BimViewerComponents/MouseTool.vue.d.ts +6 -0
- package/types/components/BimViewerComponents/NavigateTool.vue.d.ts +10 -0
- package/types/components/BimViewerComponents/RoamTool.vue.d.ts +12 -0
- package/types/components/BimViewerComponents/ScreenShotTool.vue.d.ts +10 -0
- package/types/components/BimViewerComponents/SectionTool.vue.d.ts +10 -0
- package/types/components/BimViewerComponents/SettingTool.vue.d.ts +13 -0
- package/types/components/BimViewerComponents/StructureTree.vue.d.ts +3053 -0
- package/types/components/BimViewerComponents/Toolbar.vue.d.ts +10 -0
- package/types/components/BimViewerComponents/XRayTool.vue.d.ts +12 -0
- package/types/components/BimViewerComponents/mobileToolbar.vue.d.ts +27 -0
- package/types/components/MobileBCFComponents/MobileBCFAdd.vue.d.ts +56 -0
- package/types/components/MobileBCFComponents/MobileBCFDetail.vue.d.ts +55 -0
- package/types/components/MobileBCFComponents/MobileBCFDisplayList.vue.d.ts +278 -0
- package/types/components/MobileBCFComponents/MobileBCFFilter.vue.d.ts +255 -0
- package/types/components/MobileBCFComponents/MobileBCFTool.vue.d.ts +15 -0
- package/types/components/MobileBCFComponents/MobileCommentInput.vue.d.ts +54 -0
- package/types/components/MobileBCFComponents/MobileCommentsView.vue.d.ts +17 -0
- package/types/components/MobileBCFComponents/selectPanel.vue.d.ts +12 -0
- package/types/components/index.d.ts +3 -0
- package/types/components/industryViewer.vue.d.ts +18 -0
- package/types/components/utilsComponents/alert.vue.d.ts +32 -0
- package/types/components/utilsComponents/closeButton.vue.d.ts +50 -0
- package/types/components/utilsComponents/closeButton_dark.vue.d.ts +32 -0
- package/types/components/utilsComponents/emptyPage.vue.d.ts +6 -0
- package/types/components/utilsComponents/loading.vue.d.ts +2 -0
- package/types/components/utilsComponents/panel.vue.d.ts +47 -0
- package/types/components/utilsComponents/rectangleButton.vue.d.ts +106 -0
- package/types/components/utilsComponents/tallPanel.vue.d.ts +69 -0
- package/types/components/utilsComponents/tallPanel_noPos.vue.d.ts +82 -0
- package/types/index.d.ts +31 -0
- package/types/main.d.ts +1 -0
- package/types/pages/viewerEntry.vue.d.ts +59 -0
- package/types/services/request/config.d.ts +8 -0
- package/types/store/bcfManager.d.ts +11 -0
- package/types/store/bcfReflect.d.ts +88 -0
- package/types/store/const.d.ts +211 -0
- package/types/store/initConfigs.d.ts +58 -0
- package/types/store/propertyReflect.d.ts +1 -0
- package/types/store/themeManager.d.ts +8 -0
- package/types/store/toolbars.d.ts +392 -0
- package/types/utils/OSSHelper.d.ts +4 -0
- package/types/utils/cacheInfo.d.ts +20 -0
- package/types/utils/dateFormat.d.ts +2 -0
- package/types/utils/dpscan.d.ts +1 -0
- package/types/utils/eventBus.d.ts +86 -0
- package/types/utils/roles.d.ts +1 -0
- package/types/utils/splitType.d.ts +3 -0
- package/types/utils/timer.d.ts +9 -0
- package/types/viewerManager/initial/viewerInitial.d.ts +7 -0
- package/types/viewerManager/load/loadModel.d.ts +1 -0
- package/types/viewerManager/viewerManager.d.ts +12 -0
|
@@ -0,0 +1,674 @@
|
|
|
1
|
+
import { p as Y, t as B, q as C, T as V, O as A, x as ee, y as te, z as ne } from "./index-CBO0Vhj8.mjs";
|
|
2
|
+
import { _ as se } from "./tallPanel-D226sbKd.mjs";
|
|
3
|
+
import { _ as oe } from "./panel.vue_vue_type_style_index_0_lang-CUi6naB0.mjs";
|
|
4
|
+
import { defineComponent as ie, onMounted as le, ref as N, reactive as q, watch as ae, onBeforeUnmount as re, openBlock as i, createElementBlock as a, Fragment as m, unref as c, createBlock as K, withCtx as S, withDirectives as p, createElementVNode as e, createVNode as w, toDisplayString as o, vShow as d, renderList as y, createCommentVNode as H } from "vue";
|
|
5
|
+
const G = {
|
|
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
|
+
}, ce = Object.keys(G).reduce(
|
|
252
|
+
(h, g) => {
|
|
253
|
+
const P = g.trim().toLowerCase().replace(/\s+/g, "");
|
|
254
|
+
return h[P] = G[g], h;
|
|
255
|
+
},
|
|
256
|
+
{}
|
|
257
|
+
);
|
|
258
|
+
function I(h) {
|
|
259
|
+
const g = h.trim().toLowerCase().replace(/\s+/g, "");
|
|
260
|
+
return ce[g] || h;
|
|
261
|
+
}
|
|
262
|
+
const _e = { class: "myInspector_content" }, pe = { class: "title" }, de = ["src"], ue = { class: "properties_content" }, me = { class: "basic_info_value" }, ye = { class: "propertysets" }, ve = ["onClick"], fe = { class: "title" }, he = ["src"], Ce = { class: "properties_content" }, ge = { class: "content_title_value" }, Pe = { class: "content_title" }, Te = { class: "content_value" }, be = { class: "myInspector_empty" }, Se = ["src"], Ie = { class: "pc_Inspector_content" }, ke = { class: "pc_myInspector_content" }, Re = { class: "title" }, xe = ["src"], Ee = { class: "properties_content" }, we = { class: "basic_info_value" }, De = { class: "propertysets" }, Be = ["onClick"], Fe = { class: "title" }, Me = ["src"], Oe = { class: "properties_content" }, Le = { class: "content_title_value" }, Ve = { class: "content_title" }, Ae = { class: "content_value" }, Ne = { class: "pc_model_info" }, He = { class: "model_info_content" }, We = { class: "model_info_value" }, je = { class: "model_info_content" }, Ue = { class: "model_info_value" }, $e = { class: "model_info_content" }, ze = { class: "model_info_value" }, qe = { class: "model_info_content" }, Ke = { class: "model_info_value" }, Ge = {
|
|
263
|
+
key: 2,
|
|
264
|
+
class: "mobile_myInspector_wrapper"
|
|
265
|
+
}, Qe = { class: "detail-title-box" }, Ze = { class: "detail-title-icon" }, Je = { class: "mobile_myInspector" }, Xe = { class: "mobile_myInspector_content" }, Ye = { class: "basic_info_title" }, et = ["src"], tt = { class: "basic_info_content" }, nt = { class: "basic_info_content_value" }, st = { class: "content_value" }, ot = { class: "basic_info_content_value" }, it = { class: "content_value" }, lt = { class: "basic_info_content_value" }, at = { class: "content_value" }, rt = { class: "propertysets" }, ct = ["onClick"], _t = { class: "propertysets_title" }, pt = ["src"], dt = { class: "properties_content" }, ut = { class: "content_title_value" }, mt = { class: "content_title" }, yt = { class: "content_value" }, vt = { class: "mobile_Inspector_empty" }, ft = { class: "model_info_value" }, ht = { class: "model_info_value" }, Ct = { class: "model_info_value" }, gt = { class: "model_info_value" }, Pt = /* @__PURE__ */ ie({
|
|
266
|
+
__name: "InspectorTool",
|
|
267
|
+
props: ["componentId"],
|
|
268
|
+
emits: ["closePanel", "emitHandler"],
|
|
269
|
+
setup(h, { emit: g }) {
|
|
270
|
+
const P = Y(), F = h;
|
|
271
|
+
le(() => {
|
|
272
|
+
P.setReadyById(F.componentId);
|
|
273
|
+
});
|
|
274
|
+
const W = g, M = (s) => {
|
|
275
|
+
W("emitHandler", s);
|
|
276
|
+
};
|
|
277
|
+
let D = window.bimViewer;
|
|
278
|
+
const u = N(!1), k = N(""), j = N(""), n = q({
|
|
279
|
+
entity_name: "无",
|
|
280
|
+
entity_type: "无",
|
|
281
|
+
entity_id: "无",
|
|
282
|
+
propertySets: [],
|
|
283
|
+
expanded: !0
|
|
284
|
+
}), _ = q({
|
|
285
|
+
objectCount: "未知",
|
|
286
|
+
pSetsCount: "未知",
|
|
287
|
+
createDate: "未知",
|
|
288
|
+
author: "未知"
|
|
289
|
+
});
|
|
290
|
+
ae(
|
|
291
|
+
() => P.isToolActive(F.componentId),
|
|
292
|
+
(s) => {
|
|
293
|
+
if (s && u.value == !0) {
|
|
294
|
+
if (k.value == j.value)
|
|
295
|
+
return;
|
|
296
|
+
O(k.value);
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
);
|
|
300
|
+
const U = (s) => {
|
|
301
|
+
D = window.bimViewer;
|
|
302
|
+
const { eventTrigger: t } = D;
|
|
303
|
+
t.on("metaLoaded", () => {
|
|
304
|
+
const r = window.bimViewer.getModelInfo(s);
|
|
305
|
+
_.createDate = r.createDate !== "" ? r.createDate.replace("T", " ") : "未知", _.objectCount = r.objectCount !== 0 ? r.objectCount : "未知", _.pSetsCount = r.propertySetCount !== 0 ? r.propertySetCount : "未知", _.author = r.author !== "" ? r.author : "未知";
|
|
306
|
+
}), C("isMobile") || t.on("pickedEntity", (r) => {
|
|
307
|
+
O(r.id);
|
|
308
|
+
}), C("isMobile") && t.on("touchEntity", (r) => {
|
|
309
|
+
O(r.id);
|
|
310
|
+
}), t.on("pickedNothing", () => {
|
|
311
|
+
u.value = !1, k.value = "", Q(), M({
|
|
312
|
+
isTool: !0,
|
|
313
|
+
event_target: "InspectorTool",
|
|
314
|
+
event_name: "pickedNothing",
|
|
315
|
+
content: {
|
|
316
|
+
msg: "pickedNothing"
|
|
317
|
+
}
|
|
318
|
+
});
|
|
319
|
+
});
|
|
320
|
+
}, $ = (s) => {
|
|
321
|
+
if (!s) return;
|
|
322
|
+
const t = D.getObjectProperties(s.id);
|
|
323
|
+
t && (k.value = s.id, u.value = !0, z(t));
|
|
324
|
+
};
|
|
325
|
+
B.on("BimViewer", U), B.on("tree_clickNode", $), re(() => {
|
|
326
|
+
B.off("BimViewer", U), B.off("tree_clickNode", $);
|
|
327
|
+
});
|
|
328
|
+
const O = (s) => {
|
|
329
|
+
if (k.value = s, u.value = !0, !P.isToolActive(F.componentId)) return;
|
|
330
|
+
const t = D.getObjectProperties(s);
|
|
331
|
+
t && z(t), j.value = s, C("isMobile") ? M({
|
|
332
|
+
isTool: !0,
|
|
333
|
+
event_target: "InspectorTool",
|
|
334
|
+
event_name: "touchEntity",
|
|
335
|
+
content: {
|
|
336
|
+
entityId: s
|
|
337
|
+
}
|
|
338
|
+
}) : M({
|
|
339
|
+
isTool: !0,
|
|
340
|
+
event_target: "InspectorTool",
|
|
341
|
+
event_name: "pickedEntity",
|
|
342
|
+
content: {
|
|
343
|
+
entityId: s
|
|
344
|
+
}
|
|
345
|
+
});
|
|
346
|
+
}, L = () => {
|
|
347
|
+
W("closePanel");
|
|
348
|
+
}, T = (s) => {
|
|
349
|
+
s.expanded = !s.expanded;
|
|
350
|
+
}, b = (s) => s ? `${A}/industry-viewer/down_icon.png` : `${A}/industry-viewer/right_icon.png`, z = (s) => {
|
|
351
|
+
n.entity_name = s.name, n.entity_type = s.type, n.entity_id = s.id, s.propertySets && (n.propertySets = s.propertySets, n.propertySets.forEach((t) => {
|
|
352
|
+
V.currentTheme == "light-gray" ? t.expanded = !0 : t.expanded = !1;
|
|
353
|
+
}));
|
|
354
|
+
}, Q = () => {
|
|
355
|
+
n.entity_name = "", n.entity_type = "", n.entity_id = "", n.propertySets = [];
|
|
356
|
+
};
|
|
357
|
+
return (s, t) => {
|
|
358
|
+
const r = ee, Z = oe, J = se, X = te;
|
|
359
|
+
return i(), a(m, null, [
|
|
360
|
+
!c(C)("isMobile") && c(V).currentTheme == "blue" ? (i(), K(Z, {
|
|
361
|
+
key: 0,
|
|
362
|
+
class: "myInspector_wrapper",
|
|
363
|
+
panelTitle: "属性",
|
|
364
|
+
"click-handle": L,
|
|
365
|
+
style: { height: "var(--inspector-content-height)" }
|
|
366
|
+
}, {
|
|
367
|
+
default: S(() => [
|
|
368
|
+
p(e("div", _e, [
|
|
369
|
+
w(r, null, {
|
|
370
|
+
default: S(() => [
|
|
371
|
+
e("div", {
|
|
372
|
+
class: "basic_info",
|
|
373
|
+
onClick: t[0] || (t[0] = (l) => T(n))
|
|
374
|
+
}, [
|
|
375
|
+
e("div", pe, [
|
|
376
|
+
e("img", {
|
|
377
|
+
src: b(n.expanded),
|
|
378
|
+
class: "triangle"
|
|
379
|
+
}, null, 8, de),
|
|
380
|
+
t[3] || (t[3] = e("span", null, "基本属性", -1))
|
|
381
|
+
]),
|
|
382
|
+
p(e("div", ue, [
|
|
383
|
+
t[4] || (t[4] = e("div", { class: "basic_info_title" }, [
|
|
384
|
+
e("span", null, "名称"),
|
|
385
|
+
e("span", { style: { "margin-top": "2px" } }, "UUID"),
|
|
386
|
+
e("span", null, "类型")
|
|
387
|
+
], -1)),
|
|
388
|
+
e("div", me, [
|
|
389
|
+
e("span", null, o(n.entity_name), 1),
|
|
390
|
+
e("span", null, o(n.entity_id), 1),
|
|
391
|
+
e("span", null, o(n.entity_type), 1)
|
|
392
|
+
])
|
|
393
|
+
], 512), [
|
|
394
|
+
[d, n.expanded]
|
|
395
|
+
])
|
|
396
|
+
]),
|
|
397
|
+
e("ul", ye, [
|
|
398
|
+
(i(!0), a(m, null, y(n.propertySets, (l, R) => (i(), a("li", {
|
|
399
|
+
key: R,
|
|
400
|
+
class: "propertyset",
|
|
401
|
+
onClick: (v) => T(l)
|
|
402
|
+
}, [
|
|
403
|
+
e("div", fe, [
|
|
404
|
+
e("img", {
|
|
405
|
+
src: b(l.expanded),
|
|
406
|
+
class: "triangle"
|
|
407
|
+
}, null, 8, he),
|
|
408
|
+
e("span", null, o(c(I)(l.name)), 1)
|
|
409
|
+
]),
|
|
410
|
+
p(e("div", Ce, [
|
|
411
|
+
e("ul", ge, [
|
|
412
|
+
(i(!0), a(m, null, y(l.properties, (v, x) => (i(), a("li", {
|
|
413
|
+
key: x,
|
|
414
|
+
class: "properties"
|
|
415
|
+
}, [
|
|
416
|
+
(i(!0), a(m, null, y(v, (E, f) => (i(), a("div", {
|
|
417
|
+
class: "title_value",
|
|
418
|
+
key: f
|
|
419
|
+
}, [
|
|
420
|
+
e("span", Pe, o(c(I)(f)), 1),
|
|
421
|
+
e("span", Te, o(E), 1)
|
|
422
|
+
]))), 128))
|
|
423
|
+
]))), 128))
|
|
424
|
+
])
|
|
425
|
+
], 512), [
|
|
426
|
+
[d, l.expanded]
|
|
427
|
+
])
|
|
428
|
+
], 8, ve))), 128))
|
|
429
|
+
])
|
|
430
|
+
]),
|
|
431
|
+
_: 1
|
|
432
|
+
})
|
|
433
|
+
], 512), [
|
|
434
|
+
[d, u.value]
|
|
435
|
+
]),
|
|
436
|
+
p(e("div", be, [
|
|
437
|
+
e("img", {
|
|
438
|
+
src: c(A) + "/bimkk-app/pinapp-empty-box.png"
|
|
439
|
+
}, null, 8, Se),
|
|
440
|
+
t[5] || (t[5] = e("span", null, "未选中任何对象,请单击模型对象以查看构件属性。", -1))
|
|
441
|
+
], 512), [
|
|
442
|
+
[d, !u.value]
|
|
443
|
+
])
|
|
444
|
+
]),
|
|
445
|
+
_: 1
|
|
446
|
+
})) : H("", !0),
|
|
447
|
+
!c(C)("isMobile") && c(V).currentTheme == "light-gray" ? (i(), K(J, {
|
|
448
|
+
key: 1,
|
|
449
|
+
panelTitle: "属性",
|
|
450
|
+
"click-handle": L,
|
|
451
|
+
class: "pc_Inspector",
|
|
452
|
+
pos: c(C)("inspectorPos")
|
|
453
|
+
}, {
|
|
454
|
+
default: S(() => [
|
|
455
|
+
t[12] || (t[12] = e("div", {
|
|
456
|
+
class: "pc_Inspector_type_button",
|
|
457
|
+
style: { display: "none" }
|
|
458
|
+
}, [
|
|
459
|
+
e("div", { class: "type_button" }, "实例属性"),
|
|
460
|
+
e("div", { class: "type_button" }, "类型属性")
|
|
461
|
+
], -1)),
|
|
462
|
+
e("div", Ie, [
|
|
463
|
+
p(e("div", ke, [
|
|
464
|
+
w(r, null, {
|
|
465
|
+
default: S(() => [
|
|
466
|
+
e("div", {
|
|
467
|
+
class: "basic_info",
|
|
468
|
+
onClick: t[1] || (t[1] = (l) => T(n))
|
|
469
|
+
}, [
|
|
470
|
+
e("div", Re, [
|
|
471
|
+
e("img", {
|
|
472
|
+
src: b(n.expanded),
|
|
473
|
+
class: "triangle"
|
|
474
|
+
}, null, 8, xe),
|
|
475
|
+
t[6] || (t[6] = e("span", null, "基本属性", -1))
|
|
476
|
+
]),
|
|
477
|
+
p(e("div", Ee, [
|
|
478
|
+
t[7] || (t[7] = e("div", { class: "basic_info_title" }, [
|
|
479
|
+
e("span", null, "名称"),
|
|
480
|
+
e("span", { style: { "margin-top": "2px" } }, "UUID"),
|
|
481
|
+
e("span", null, "类型")
|
|
482
|
+
], -1)),
|
|
483
|
+
e("div", we, [
|
|
484
|
+
e("span", null, o(n.entity_name), 1),
|
|
485
|
+
e("span", null, o(n.entity_id), 1),
|
|
486
|
+
e("span", null, o(n.entity_type), 1)
|
|
487
|
+
])
|
|
488
|
+
], 512), [
|
|
489
|
+
[d, n.expanded]
|
|
490
|
+
])
|
|
491
|
+
]),
|
|
492
|
+
e("ul", De, [
|
|
493
|
+
(i(!0), a(m, null, y(n.propertySets, (l, R) => (i(), a("li", {
|
|
494
|
+
key: R,
|
|
495
|
+
class: "propertyset",
|
|
496
|
+
onClick: (v) => T(l)
|
|
497
|
+
}, [
|
|
498
|
+
e("div", Fe, [
|
|
499
|
+
e("img", {
|
|
500
|
+
src: b(l.expanded),
|
|
501
|
+
class: "triangle"
|
|
502
|
+
}, null, 8, Me),
|
|
503
|
+
e("span", null, o(c(I)(l.name)), 1)
|
|
504
|
+
]),
|
|
505
|
+
p(e("div", Oe, [
|
|
506
|
+
e("ul", Le, [
|
|
507
|
+
(i(!0), a(m, null, y(l.properties, (v, x) => (i(), a("li", {
|
|
508
|
+
key: x,
|
|
509
|
+
class: "properties"
|
|
510
|
+
}, [
|
|
511
|
+
(i(!0), a(m, null, y(v, (E, f) => (i(), a("div", {
|
|
512
|
+
class: "title_value",
|
|
513
|
+
key: f
|
|
514
|
+
}, [
|
|
515
|
+
e("span", Ve, o(c(I)(f)), 1),
|
|
516
|
+
e("span", Ae, o(E), 1)
|
|
517
|
+
]))), 128))
|
|
518
|
+
]))), 128))
|
|
519
|
+
])
|
|
520
|
+
], 512), [
|
|
521
|
+
[d, l.expanded]
|
|
522
|
+
])
|
|
523
|
+
], 8, Be))), 128))
|
|
524
|
+
])
|
|
525
|
+
]),
|
|
526
|
+
_: 1
|
|
527
|
+
})
|
|
528
|
+
], 512), [
|
|
529
|
+
[d, u.value]
|
|
530
|
+
]),
|
|
531
|
+
p(e("div", Ne, [
|
|
532
|
+
e("div", He, [
|
|
533
|
+
t[8] || (t[8] = e("span", null, "对象数量", -1)),
|
|
534
|
+
e("span", We, o(_.objectCount), 1)
|
|
535
|
+
]),
|
|
536
|
+
e("div", je, [
|
|
537
|
+
t[9] || (t[9] = e("span", null, "属性集数量", -1)),
|
|
538
|
+
e("span", Ue, o(_.pSetsCount), 1)
|
|
539
|
+
]),
|
|
540
|
+
e("div", $e, [
|
|
541
|
+
t[10] || (t[10] = e("span", null, "创建日期", -1)),
|
|
542
|
+
e("span", ze, o(_.createDate), 1)
|
|
543
|
+
]),
|
|
544
|
+
e("div", qe, [
|
|
545
|
+
t[11] || (t[11] = e("span", null, "作者", -1)),
|
|
546
|
+
e("span", Ke, o(_.author), 1)
|
|
547
|
+
])
|
|
548
|
+
], 512), [
|
|
549
|
+
[d, !u.value]
|
|
550
|
+
])
|
|
551
|
+
])
|
|
552
|
+
]),
|
|
553
|
+
_: 1
|
|
554
|
+
}, 8, ["pos"])) : H("", !0),
|
|
555
|
+
c(C)("isMobile") ? (i(), a("div", Ge, [
|
|
556
|
+
e("div", Qe, [
|
|
557
|
+
t[13] || (t[13] = e("div", { class: "detail-title" }, "属性", -1)),
|
|
558
|
+
e("div", Ze, [
|
|
559
|
+
w(X, {
|
|
560
|
+
class: "close",
|
|
561
|
+
width: 0.4,
|
|
562
|
+
"size-type": "rem",
|
|
563
|
+
"click-handle": L
|
|
564
|
+
})
|
|
565
|
+
])
|
|
566
|
+
]),
|
|
567
|
+
w(r, null, {
|
|
568
|
+
default: S(() => [
|
|
569
|
+
e("div", Je, [
|
|
570
|
+
p(e("div", Xe, [
|
|
571
|
+
w(r, { height: "6.12rem" }, {
|
|
572
|
+
default: S(() => [
|
|
573
|
+
e("div", {
|
|
574
|
+
class: "basic_info",
|
|
575
|
+
onClick: t[2] || (t[2] = (l) => T(n))
|
|
576
|
+
}, [
|
|
577
|
+
e("div", Ye, [
|
|
578
|
+
e("img", {
|
|
579
|
+
src: b(n.expanded),
|
|
580
|
+
class: "triangle"
|
|
581
|
+
}, null, 8, et),
|
|
582
|
+
t[14] || (t[14] = e("span", null, "基本属性", -1))
|
|
583
|
+
]),
|
|
584
|
+
p(e("div", tt, [
|
|
585
|
+
e("div", nt, [
|
|
586
|
+
t[15] || (t[15] = e("span", { class: "content_title" }, "名称", -1)),
|
|
587
|
+
e("span", st, o(n.entity_name), 1)
|
|
588
|
+
]),
|
|
589
|
+
e("div", ot, [
|
|
590
|
+
t[16] || (t[16] = e("span", {
|
|
591
|
+
class: "content_title",
|
|
592
|
+
style: { "margin-top": "0.04rem" }
|
|
593
|
+
}, " UUID ", -1)),
|
|
594
|
+
e("span", it, o(n.entity_id), 1)
|
|
595
|
+
]),
|
|
596
|
+
e("div", lt, [
|
|
597
|
+
t[17] || (t[17] = e("span", { class: "content_title" }, "类型", -1)),
|
|
598
|
+
e("span", at, o(n.entity_type), 1)
|
|
599
|
+
])
|
|
600
|
+
], 512), [
|
|
601
|
+
[d, n.expanded]
|
|
602
|
+
])
|
|
603
|
+
]),
|
|
604
|
+
e("ul", rt, [
|
|
605
|
+
(i(!0), a(m, null, y(n.propertySets, (l, R) => (i(), a("li", {
|
|
606
|
+
key: R,
|
|
607
|
+
class: "propertyset",
|
|
608
|
+
onClick: (v) => T(l)
|
|
609
|
+
}, [
|
|
610
|
+
e("div", _t, [
|
|
611
|
+
e("img", {
|
|
612
|
+
src: b(l.expanded),
|
|
613
|
+
class: "triangle"
|
|
614
|
+
}, null, 8, pt),
|
|
615
|
+
e("span", null, o(c(I)(l.name)), 1)
|
|
616
|
+
]),
|
|
617
|
+
p(e("div", dt, [
|
|
618
|
+
e("ul", ut, [
|
|
619
|
+
(i(!0), a(m, null, y(l.properties, (v, x) => (i(), a("li", {
|
|
620
|
+
key: x,
|
|
621
|
+
class: "properties"
|
|
622
|
+
}, [
|
|
623
|
+
(i(!0), a(m, null, y(v, (E, f) => (i(), a("div", {
|
|
624
|
+
class: "title_value",
|
|
625
|
+
key: f
|
|
626
|
+
}, [
|
|
627
|
+
e("span", mt, o(c(I)(f)), 1),
|
|
628
|
+
e("span", yt, o(E), 1)
|
|
629
|
+
]))), 128))
|
|
630
|
+
]))), 128))
|
|
631
|
+
])
|
|
632
|
+
], 512), [
|
|
633
|
+
[d, l.expanded]
|
|
634
|
+
])
|
|
635
|
+
], 8, ct))), 128))
|
|
636
|
+
])
|
|
637
|
+
]),
|
|
638
|
+
_: 1
|
|
639
|
+
})
|
|
640
|
+
], 512), [
|
|
641
|
+
[d, u.value]
|
|
642
|
+
]),
|
|
643
|
+
p(e("div", vt, [
|
|
644
|
+
e("div", null, [
|
|
645
|
+
t[18] || (t[18] = e("span", null, "对象数量", -1)),
|
|
646
|
+
e("span", ft, o(_.objectCount), 1)
|
|
647
|
+
]),
|
|
648
|
+
e("div", null, [
|
|
649
|
+
t[19] || (t[19] = e("span", null, "属性集数量", -1)),
|
|
650
|
+
e("span", ht, o(_.pSetsCount), 1)
|
|
651
|
+
]),
|
|
652
|
+
e("div", null, [
|
|
653
|
+
t[20] || (t[20] = e("span", null, "创建日期", -1)),
|
|
654
|
+
e("span", Ct, o(_.createDate), 1)
|
|
655
|
+
]),
|
|
656
|
+
e("div", null, [
|
|
657
|
+
t[21] || (t[21] = e("span", null, "作者", -1)),
|
|
658
|
+
e("span", gt, o(_.author), 1)
|
|
659
|
+
])
|
|
660
|
+
], 512), [
|
|
661
|
+
[d, !u.value]
|
|
662
|
+
])
|
|
663
|
+
])
|
|
664
|
+
]),
|
|
665
|
+
_: 1
|
|
666
|
+
})
|
|
667
|
+
])) : H("", !0)
|
|
668
|
+
], 64);
|
|
669
|
+
};
|
|
670
|
+
}
|
|
671
|
+
}), kt = /* @__PURE__ */ ne(Pt, [["__scopeId", "data-v-1156f47a"]]);
|
|
672
|
+
export {
|
|
673
|
+
kt as default
|
|
674
|
+
};
|