@xtctwins/tctwins-industry-engine 0.0.11 → 0.0.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.
Files changed (22) hide show
  1. package/dist/{AnnotationTool-BZlQ0NIM.mjs → AnnotationTool-f7CrC7Dr.mjs} +2 -2
  2. package/dist/{BCFTool-DAqDUYS-.mjs → BCFTool-CdN6SGDL.mjs} +2 -2
  3. package/dist/{CommentTool-BwHOJoFe.mjs → CommentTool-Cfht7mQS.mjs} +1 -1
  4. package/dist/Industry_Viewer_Lib.es.js +1 -1
  5. package/dist/Industry_Viewer_Lib.umd.js +1 -1
  6. package/dist/{InspectorTool-BK5pX2nZ.mjs → InspectorTool-M_oBYVQA.mjs} +3 -3
  7. package/dist/{MeasureTool-D92Tyu14.mjs → MeasureTool-CxWeQFgY.mjs} +1 -1
  8. package/dist/{MouseTool-Dpl4JLyb.mjs → MouseTool-BHbi-fg3.mjs} +1 -1
  9. package/dist/{NavigateTool-B5ySsqph.mjs → NavigateTool-BdUVi4Be.mjs} +1 -1
  10. package/dist/{RoamTool-Nk4hYPJB.mjs → RoamTool-Uuxa-94w.mjs} +1 -1
  11. package/dist/{ScreenShotTool-D1cS2DkF.mjs → ScreenShotTool-CZUm8l2Z.mjs} +2 -2
  12. package/dist/{SectionTool-D3885F5s.mjs → SectionTool-DZToybAI.mjs} +3 -3
  13. package/dist/{SettingTool-BI_soRCO.mjs → SettingTool-CYM0qsUs.mjs} +4 -4
  14. package/dist/{StructureTree-CCWwAbnr.mjs → StructureTree-DeXxENMk.mjs} +4 -4
  15. package/dist/{XRayTool-IRgKMGU8.mjs → XRayTool-Bug-FcKJ.mjs} +1 -1
  16. package/dist/{alert-x4uA_EPv.mjs → alert-DGyQ9rEq.mjs} +1 -1
  17. package/dist/{el-checkbox-_VjUMARt.mjs → el-checkbox-ClYe-8uK.mjs} +1 -1
  18. package/dist/{el-input-number-Chi40nla.mjs → el-input-number-Df5HOHuh.mjs} +1 -1
  19. package/dist/{index-CaiiH-9N.mjs → index-BNrMlQLr.mjs} +14 -14
  20. package/dist/{panel.vue_vue_type_style_index_0_lang-D3swRKXl.mjs → panel.vue_vue_type_style_index_0_lang-CCuIP-Pp.mjs} +1 -1
  21. package/dist/{tallPanel-eXWPdhmU.mjs → tallPanel-CqKqC6yK.mjs} +1 -1
  22. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- import { _ as E } from "./alert-x4uA_EPv.mjs";
1
+ import { _ as E } from "./alert-DGyQ9rEq.mjs";
2
2
  import { defineComponent as N, ref as m, watch as W, onMounted as X, onBeforeUnmount as D, createElementBlock as _, openBlock as u, Fragment as b, createElementVNode as s, withDirectives as O, renderList as H, unref as I, normalizeClass as q, toDisplayString as z, createVNode as R, vShow as U } from "vue";
3
- import { z as F, A as h, B as l, O as o, G } from "./index-CaiiH-9N.mjs";
3
+ import { z as F, A as h, B as l, O as o, G } from "./index-BNrMlQLr.mjs";
4
4
  import { A as i } from "./const-DeViLYl5.mjs";
5
5
  const j = { class: "annotation_component" }, J = { class: "anno_toolList" }, K = ["onClick"], P = { class: "item-img" }, Q = ["src"], Y = { class: "item-name" }, Z = /* @__PURE__ */ N({
6
6
  __name: "AnnotationTool",
@@ -1,6 +1,6 @@
1
- import { z as kr, T as $e, A as er, O as ee, F as Je, G as Pe, D as rr, C as gr, aa as dr, ab as Re, ac as Rr, ad as vr, ae as Ve, af as br, ag as jr, ah as Ir, ai as Nr, B as Ie, aj as Pr, ak as Sr, al as Cr, am as Br, an as Tr, ao as Mr, ap as Er, aq as Ar, ar as xr, as as Zt, at as Dr } from "./index-CaiiH-9N.mjs";
1
+ import { z as kr, T as $e, A as er, O as ee, F as Je, G as Pe, D as rr, C as gr, aa as dr, ab as Re, ac as Rr, ad as vr, ae as Ve, af as br, ag as jr, ah as Ir, ai as Nr, B as Ie, aj as Pr, ak as Sr, al as Cr, am as Br, an as Tr, ao as Mr, ap as Er, aq as Ar, ar as xr, as as Zt, at as Dr } from "./index-BNrMlQLr.mjs";
2
2
  import { defineComponent as Be, watch as We, ref as dt, onMounted as Qe, createElementBlock as jt, openBlock as wt, normalizeStyle as Ge, createElementVNode as J, createCommentVNode as Ce, withDirectives as nr, toDisplayString as ne, unref as Nt, createVNode as Gt, vShow as ir, renderSlot as Fr, withCtx as xe, Fragment as Me, renderList as Ee, normalizeClass as Ue, createBlock as ve, onBeforeUnmount as yr, createTextVNode as mr, createStaticVNode as Lr } from "vue";
3
- import { E as zr, a as $r } from "./el-checkbox-_VjUMARt.mjs";
3
+ import { E as zr, a as $r } from "./el-checkbox-ClYe-8uK.mjs";
4
4
  /* empty css */
5
5
  import { ElMessage as Ur } from "element-plus";
6
6
  const Vr = { class: "tall_panel_content" }, Hr = { class: "panel_top" }, qr = { class: "panel_header_left" }, Wr = ["src"], Xr = { class: "panel_close" }, Zr = { class: "panel_content" }, Yr = {
@@ -1,4 +1,4 @@
1
- import { z as U, B as S, A as p, D as $, O as h, C as F, G } from "./index-CaiiH-9N.mjs";
1
+ import { z as U, B as S, A as p, D as $, O as h, C as F, G } from "./index-BNrMlQLr.mjs";
2
2
  import { defineComponent as H, onMounted as W, ref as o, onBeforeUnmount as j, watch as q, createElementBlock as r, openBlock as d, createElementVNode as e, createCommentVNode as B, normalizeStyle as J, unref as u, createVNode as I, withCtx as K, Fragment as Q, renderList as X, normalizeClass as Y, toDisplayString as Z } from "vue";
3
3
  import { C as V } from "./const-DeViLYl5.mjs";
4
4
  const ee = { class: "comment_component" }, te = { class: "mobile_comments_toolbar" }, oe = { class: "comment_toolbar" }, se = { class: "comment-list" }, ne = ["onClick"], le = { class: "comment-icon" }, ae = ["src"], ce = { class: "comment-name" }, ie = { class: "comment-icon" }, me = ["src"], re = {
@@ -1,4 +1,4 @@
1
- import { J as e, aw as t, ax as o, az as i, V as l, aC as r, ay as n, aA as I, aB as y } from "./index-CaiiH-9N.mjs";
1
+ import { J as e, aw as t, ax as o, az as i, V as l, aC as r, ay as n, aA as I, aB as y } from "./index-BNrMlQLr.mjs";
2
2
  export {
3
3
  e as INDUSTRY_CONFIGS,
4
4
  t as IndustryViewer,
@@ -1,4 +1,4 @@
1
- (function(Sr,a){typeof exports=="object"&&typeof module<"u"?a(exports,require("vue"),require("axios"),require("ali-oss"),require("element-plus"),require("@element-plus/icons-vue"),require("pinia"),require("mitt")):typeof define=="function"&&define.amd?define(["exports","vue","axios","ali-oss","element-plus","@element-plus/icons-vue","pinia","mitt"],a):(Sr=typeof globalThis<"u"?globalThis:Sr||self,a(Sr.Industry_Viewer_Lib={},Sr.Vue,Sr.axios,Sr.AliOss,Sr.ElementPlus,Sr.ElementPlusIconsVue,Sr.Pinia,Sr.Mitt))})(this,function(Sr,a,eu,Lk,AA,ui,Nk,jk){"use strict";var age=Object.defineProperty;var lge=(Sr,a,eu)=>a in Sr?age(Sr,a,{enumerable:!0,configurable:!0,writable:!0,value:eu}):Sr[a]=eu;var Fi=(Sr,a,eu)=>lge(Sr,typeof a!="symbol"?a+"":a,eu);const Vk="https://bimkk-api-test.tcbim.com",jt="https://tctwins-oss-test.oss-cn-beijing.aliyuncs.com",Uk="https://convert-test.tcbim.com",wr=jk();let Oa={INDUSTRY_CONFIGS:{viewerManager:!1,Toolbar:!1,RoamTool:!1},BimViewer:{viewerManager:!1}};const Hk="architecture",zk={isMember:!1,isInShare:!1,isShareHost:!1,isShareClient:!1},Qk={file:!1,image:!1,record:!1,text:!1,video:!1},Ab={offsetX:0,offsetY:0},Gk={pos:"right-bottom",posNum:[0,0]},Wk=120,$k="blue",Kk=!1,Xk="right",Yk="left",Jk=0,Zk=0,qk=0,eM=0,tM={pos:"bottom",posNum:[18]},rM={pos:"bottom",posNum:[70]},iM={pos:"bottom",posNum:[70]},nM="linear-gradient(180deg, #fffefb 0%, #daebff 100%)";Sr.INDUSTRY_CONFIGS=void 0;function sM(){Sr.INDUSTRY_CONFIGS={isMobile:!1,fileName:"model",isPc:!1,loadMeta:!0,outliersDetect:!0,appType:Hk,showRoam:!0,showTree:!1,userInfo:zk,annoLimit:Qk,commentOffset:Ab,measureOffset:Ab,skyboxImg:void 0,topHeight:Jk,leftWidth:eM,bottomHeight:qk,rightWidth:Zk,inspectorPos:Xk,treePos:Yk,commentPos:tM,annotationPos:rM,roamPos:iM,navCubePos:Gk,navCubeSize:Wk,themeColor:$k,hideTool:Kk,backButton:!1,backgroundColor:nM}}function mb(M=""){wr.emit("INDUSTRY_CONFIGS",M)}function gb(M){for(const V in M)Gi(V,M[V],!1);mb()}function Gi(M,V,o=!0){V!==void 0&&(Sr.INDUSTRY_CONFIGS[M]=V,o&&(M=="isMobile"||M=="measureOffset"||M=="commentOffset"||M=="navCubePos"||M=="navCubeSize")&&mb(M))}function Gt(M){return Sr.INDUSTRY_CONFIGS[M]}const Xi=Nk.defineStore("toolbar",{state:()=>({tools:[{id:0,key:"reset",name:"复位",hasActiveState:!1,component:"",isShowDelimiter:!0,img:"reset",imgActive:"reset",isActive:!1},{id:1,key:"navigate",name:"视图方向",hasActiveState:!0,component:"NavigateTool",isShowDelimiter:!1,img:"navigate",imgActive:"navigate-active",isActive:!1},{id:2,key:"measure",name:"测量",hasActiveState:!0,component:"MeasureTool",isShowDelimiter:!1,img:"measure",imgActive:"measure-active",isActive:!1},{id:3,key:"comment",name:"批注",hasActiveState:!0,component:"CommentTool",isShowDelimiter:!1,img:"comment",imgActive:"comment-active",isActive:!1},{id:4,key:"share",name:"分享",hasActiveState:!0,component:"",isShowDelimiter:!1,img:"share",imgActive:"share",isActive:!1},{id:5,key:"tree",name:"结构树",hasActiveState:!0,component:"StructureTree",isShowDelimiter:!1,img:"tree",imgActive:"tree-active",isActive:!1},{id:6,key:"inspector",name:"属性",hasActiveState:!0,component:"InspectorTool",isShowDelimiter:!1,img:"inspector",imgActive:"inspector-active",isActive:!1},{id:7,key:"anno",name:"标注",hasActiveState:!0,component:"AnnotationTool",isShowDelimiter:!0,img:"annotation",imgActive:"annotation-active",isActive:!1},{id:8,key:"section",name:"剖切",hasActiveState:!0,component:"SectionTool",isShowDelimiter:!0,img:"section",imgActive:"section-active",isActive:!1},{id:9,key:"roam",name:"漫游",hasActiveState:!0,component:"RoamTool",isShowDelimiter:!0,img:"roam",imgActive:"roam-active",isActive:!1},{id:10,key:"xray",name:"透视",hasActiveState:!0,component:"XRayTool",isShowDelimiter:!1,img:"xray",imgActive:"xray-active",isActive:!1},{id:11,key:"setting",name:"设置",hasActiveState:!0,component:"SettingTool",isShowDelimiter:!0,img:"setting",imgActive:"setting-active",isActive:!1},{id:12,key:"fullscreen",name:"全屏",hasActiveState:!1,component:"",isShowDelimiter:!1,img:"fullscreen",imgActive:"fullscreen-active",isActive:!1},{id:13,key:"cooperate",name:"协同",hasActiveState:!1,component:"",isShowDelimiter:!1,img:"cooperate",imgActive:"cooperate",isActive:!1},{id:14,key:"bcf",name:"BCF",hasActiveState:!0,component:"MobileBCFTool",isShowDelimiter:!1,img:"bcf",imgActive:"bcf-active",isActive:!1},{id:15,key:"mouse",name:"迷你鼠标",hasActiveState:!0,component:"MouseTool",isShowDelimiter:!1,img:"mouse",imgActive:"mouse-active",isActive:!1}],visibleToolIds:[],readyToolIds:[]}),actions:{toggleToolVisibility(M){const V=this.visibleToolIds.indexOf(M);V===-1?this.visibleToolIds.push(M):this.visibleToolIds.splice(V,1)},setEnableTools(M){this.visibleToolIds=M},setEnableToolsByKey(M){let V=[];Gt("isMobile")?V=vb(M,aM):V=vb(M,lM);const o=[];for(let x=0;x<V.length;x++){const P=this.tools.find(y=>y.key===V[x]);P&&o.push(P.id)}this.visibleToolIds=this.visibleToolIds.concat(o)},setToolActiveStatus(M,V){const o=this.tools.find(x=>x.id===M);o?o.isActive=V!==void 0?V:!o.isActive:console.log("no such tool",M)},setToolActiveStatusBykey(M,V){const o=this.tools.find(x=>x.key===M);o?o.isActive=V!==void 0?V:!o.isActive:console.log("no such tool",M)},setAllToolClose(M=[]){if(M.length>0)for(let V=0;V<this.visibleToolIds.length;V++)M.includes(this.visibleToolIds[V])||(this.tools[this.visibleToolIds[V]].isActive=!1);else for(let V=0;V<this.visibleToolIds.length;V++)this.tools[this.visibleToolIds[V]].isActive=!1},setReadyById(M){this.tools.find(o=>o.id===M)&&this.readyToolIds.push(M)},ifToolAllReady(){for(let M=0;M<this.visibleTools.length;M++){const V=this.visibleTools[M];if(V.key!="bcf"&&V.key!="mouse"&&V.component!=""&&!this.readyTools.includes(V.id))return!1}return!0},setReadyTools(M){this.readyToolIds=[]}},getters:{visibleTools:M=>M.visibleToolIds.map(V=>M.tools.find(o=>o.id===V)).filter(V=>!!V),readyTools:M=>M.readyToolIds,visibleComponents:M=>M.tools.filter(V=>M.visibleToolIds.includes(V.id)).map(V=>V.component),getKeyById:M=>V=>{var o;return(o=M.tools.find(x=>x.id===V))==null?void 0:o.key},getToolById:M=>V=>M.tools.find(o=>o.id===V),hasActiveState:M=>V=>{const o=M.tools.find(x=>x.id===V);return o?o.hasActiveState:!1},isToolEnable:M=>V=>{const o=M.tools.find(x=>x.id===V);return o?M.visibleToolIds.includes(o.id):!1},isToolActive:M=>V=>{const o=M.tools.find(x=>x.id===V);return o?o.isActive:!1},isToolActiveBykey:M=>V=>{const o=M.tools.find(x=>x.key===V);return o?o.isActive:!1},hasToolActive:M=>(V=[0,12,13,14,15])=>M.tools.find(x=>{if(!V.find(P=>x.id==P))return x.isActive})}});function td(){return Xi()}function oM(){Xi().setAllToolClose(),Xi().setReadyTools([]),Xi().setEnableTools([])}let aM=["reset","navigate","measure","comment","share","tree","inspector","anno","section","roam","xray","setting","fullscreen","cooperate","bcf","mouse"],lM=["reset","tree","roam","measure","section","comment","anno","screenshot","inspector","setting","fullscreena","bcf","mouse"];function vb(M,V){const o={};V.forEach((P,y)=>{o[P]=y});const x=M.filter(P=>o.hasOwnProperty(P)).map(P=>({value:P,index:o[P]}));return x.sort((P,y)=>P.index-y.index),x.map(P=>P.value)}let yb=!1;Oa.INDUSTRY_CONFIGS.viewerManager||(wr.on("INDUSTRY_CONFIGS",M=>{window.bimViewer?Li.ConfigViewer(M):yb=!0}),Oa.INDUSTRY_CONFIGS.viewerManager=!0);const uM=()=>{Li.SetAllClose(),yb&&Li.ConfigViewer()};Oa.BimViewer.viewerManager||(wr.on("BimViewer",uM),Oa.BimViewer.viewerManager=!0);class Li{static ConfigViewer(V=""){if(V==""){if(Sr.INDUSTRY_CONFIGS.isMobile&&(window.bimViewer.setIsTouch(!0),window.bimViewer.navCubeMode.visible=!1),Sr.INDUSTRY_CONFIGS.measureOffset&&window.bimViewer.setMeasureOffSet(Gt("measureOffset").offsetX,Gt("measureOffset").offsetY),Sr.INDUSTRY_CONFIGS.commentOffset&&window.bimViewer.setCommentsOffset(Gt("commentOffset").offsetX,Gt("commentOffset").offsetY),Sr.INDUSTRY_CONFIGS.navCubePos){let o=function(){let y=0,h=0;return Gt("navCubePos").pos.includes("left")?y+=parseInt(Gt("leftWidth")):Gt("navCubePos").pos.includes("right")&&(y+=parseInt(Gt("rightWidth"))),Gt("navCubePos").pos.includes("top")?h+=parseInt(Gt("topHeight")):Gt("navCubePos").pos.includes("bottom")&&(h+=parseInt(Gt("bottomHeight"))),[y,h]};const x=Gt("navCubePos").pos?Gt("navCubePos").pos:"right-bottom",P=o();x.includes("right")&&window.bimViewer.setNavCubePosition("right",P[0]),x.includes("top")&&window.bimViewer.setNavCubePosition("top",P[1]),x.includes("left")&&window.bimViewer.setNavCubePosition("left",P[0]),x.includes("bottom")&&window.bimViewer.setNavCubePosition("bottom",P[1])}Sr.INDUSTRY_CONFIGS.navCubeSize&&window.bimViewer.setNavCubeSize(Gt("navCubeSize"));return}switch(V){case"isMobile":window.bimViewer.setIsTouch(Sr.INDUSTRY_CONFIGS.isMobile),window.bimViewer.navCubeMode.visible=!Sr.INDUSTRY_CONFIGS.isMobile;break;case"measureOffset":window.bimViewer.setCommentsOffset(Gt("measureOffset").offsetX,Gt("measureOffset").offsetY);break;case"commentOffset":window.bimViewer.setCommentsOffset(Gt("commentOffset").offsetX,Gt("commentOffset").offsetY);break;case"navCubePos":const o=Gt("navCubePos").pos?Gt("navCubePos").pos:"right-bottom",x=Gt("navCubePos").posNum?Gt("navCubePos").posNum:[0,o.includes("top")?Gt("topHeight"):0];o.includes("right")&&window.bimViewer.setNavCubePosition("right",x[0]),o.includes("left")&&window.bimViewer.setNavCubePosition("left",x[0]),o.includes("top")&&window.bimViewer.setNavCubePosition("top",x[1]),o.includes("bottom")&&window.bimViewer.setNavCubePosition("bottom",x[1]);break;case"navCubeSize":window.bimViewer.setNavCubeSize(Gt("navCubeSize"));break}}static SaveViewerState(V){V.measure&&(this.viewerState.measureType=V.measure)}static SetToolActiveById(V,o=!Xi().isToolActive(V)){const x=Xi().getKeyById(V);x?this.SetToolActiveByKey(x,o):console.log("no such key:",V)}static SetToolActiveByKey(V,o=!Xi().isToolActiveBykey(V)){switch(V){case"tree":break;case"reset":window.bimViewer.resetView();break;case"roam":window.bimViewer.SetFirstPersonModeActive(o);break;case"measure":window.bimViewer.measureTool.setActive(o),o&&window.bimViewer.measureTool.setActiveByType(this.viewerState.measureType,o);break;case"section":window.bimViewer.SetSectionToolActive(o);break;case"comment":o?setTimeout(()=>{window.bimViewer.SetCommentsToolActive(o)},100):window.bimViewer.SetCommentsToolActive(o);break;case"anno":window.bimViewer.SetAnnotationToolActive(o);break;case"screenshot":break;case"inspector":break;case"fullscreen":Gt("isPc")&&(o?document.documentElement.requestFullscreen():document.exitFullscreen&&document.exitFullscreen());break;case"xray":window.bimViewer.disableClickEvent=o;break}}static SetAllClose(){window.bimViewer.closeAll()}static DestroyViewer(){window.bimViewer.destroy(),console.log("旧模型已销毁")}static showRequestBusy(V,o){window.bimViewer.showSpinner(V),o&&o()}}Fi(Li,"viewerState",{measureType:"distance"}),Fi(Li,"entityState",{xrayedObjectIds:[],highlightedObjectIds:[],selectedObjectIds:[],visibleObjectIds:[],edgesObjectIds:[]});const cM=["src"],hM=["src"],dM=["src"],fM=["src"],pM=["src"],AM=["src"],mM=["src"],gM=a.defineComponent({__name:"ClickEvent",setup(M,{expose:V}){Xi();const o=a.ref(!0);a.onMounted(()=>{});let x="",P,y;const h=()=>{y=window.bimViewer,y.eventTrigger.on("pickedNothing",()=>{o.value&&(l.value=!1,w.value=[],Li.entityState.selectedObjectIds=[],y.setAllObjectsSelected(!1))}),y.eventTrigger.on("touchEntity",G=>{o.value&&(P=G,x=P.id,A(x))}),y.viewer.cameraControl.on("touchmoveCanvas",()=>{})};wr.on("BimViewer",h);const d=a.ref(0),c=a.ref(0),l=a.ref(!1),u=a.ref(!0),f=a.ref(!0),p=a.ref(!1),A=G=>{(!P||P&&G!==P.id)&&(P=y.viewer.scene.objects[G]),x=G,w.value.length>0&&!w.value.find(D=>D==x)&&w.value.push(x),u.value=!P.xrayed,f.value=!P.highlighted;const{aabb:N}=P,U=[(N[0]+N[3])/2,(N[1]+N[4])/2,(N[2]+N[5])/2],$=y.viewer.scene.camera.projectWorldPos(U);let K=$[0]-172/2,W=$[1]-198/2;K<0?K=0:K>window.innerWidth-198&&(K=window.innerWidth-198),W<0?W=0:W>window.innerHeight-172-72&&(W=window.innerHeight-172-72),d.value=K,c.value=W,l.value=!0,y.setEntitySelected(P,!0)},g=()=>{w.value.find(G=>G==P.id)||(w.value=w.value.filter(G=>G!=P.id),Li.entityState.selectedObjectIds=w.value),_()},_=()=>{P=null,x="",u.value=!0,f.value=!0,l.value=!1,v.value=-1,wr.emit("unFocus")},v=a.ref(-1),w=a.ref([]),B=G=>{v.value=G},k=G=>{switch(w.value.length>0&&(w.value.push(x),Li.entityState.selectedObjectIds.find(N=>N==P.id)||Li.entityState.selectedObjectIds.push(P.id)),G!==5&&G!==0&&(window.bimViewer.disableClickEvent=!1,y.setAllObjectsSelected(!1)),G==5&&w.value.length==0&&(window.bimViewer.disableClickEvent=!0),G){case 0:w.value.length>0?y.viewFitObjects(w.value):y.viewFitEntity(P),setTimeout(()=>{y.setAllObjectsSelected(!1)},1e3);break;case 1:w.value.length>0?y.setObjectsVisible(Li.entityState.selectedObjectIds,!1):y.setEntityVisible(P,!1);break;case 2:p.value?y.setAllObjectsVisible(!0):(y.setAllObjectsVisible(!1),w.value.length>0?y.setObjectsVisible(Li.entityState.selectedObjectIds,!0):y.setEntityVisible(P,!0),y.setAllObjectsSelected(!1)),p.value=!p.value;break;case 3:w.value.length>0?(y.viewer.scene.setObjectsXRayed(w.value,u.value),w.value.forEach(N=>{const U=y.viewer.scene.objects[N];U.edges=U.xrayed?!0:y.edgesActive,y.setEntityHighlighted(U,!1)})):(y.setEntityXRayed(P),P.edges=P.xrayed?!0:y.edgesActive,y.setEntityHighlighted(P,!1));break;case 4:w.value.length>0?w.value.forEach(N=>{const U=y.viewer.scene.objects[N];y.setEntityHighlighted(U,f.value),U.xrayed&&(y.setEntityXRayed(U,!1),U.edges=y.edgesActive)}):(y.setEntityHighlighted(P),P.xrayed&&(y.setEntityXRayed(P,!1),P.edges=y.edgesActive));break;case 5:w.value.find(N=>N==x)||(w.value.push(x),y.setObjectsSelected(w.value,!0)),Li.entityState.selectedObjectIds=w.value,wr.emit("multiSelect");break}G!==5&&G!==0&&(y.setEntitySelected(P,!1),w.value=[],Li.entityState.selectedObjectIds=w.value),Li.entityState.xrayedObjectIds=y.viewer.scene.xrayedObjectIds,Li.entityState.highlightedObjectIds=y.viewer.scene.highlightedObjectIds,Li.entityState.selectedObjectIds=y.viewer.scene.selectedObjectIds,Li.entityState.visibleObjectIds=y.viewer.scene.visibleObjectIds,Li.entityState.edgesObjectIds=y.viewer.scene.edgesObjectIds,setTimeout(()=>{_()},300)},T=()=>{_()},L=()=>{o.value=!1},j=()=>{o.value=!0};return wr.on("focusEntity",A),a.onBeforeUnmount(()=>{wr.off("BimViewer",h),wr.off("focusEntity",A)}),V({reset:T,enable:j,disable:L}),(G,N)=>a.withDirectives((a.openBlock(),a.createElementBlock("div",{class:"entity_tools",style:a.normalizeStyle({left:`${d.value}px`,top:`${c.value}px`})},[a.createElementVNode("div",{class:"close_btns",onClick:g},[a.createElementVNode("img",{src:`${a.unref(jt)}/industry-viewer/detail-bar/close-dark-circle.svg`},null,8,cM)]),a.createElementVNode("div",{class:a.normalizeClass([{detail_btn_active:v.value==0},"detail_btn fit"]),onPointerdown:N[0]||(N[0]=U=>B(0)),onPointerup:N[1]||(N[1]=U=>k(0))},[a.createElementVNode("img",{src:`${a.unref(jt)}/industry-viewer/detail-bar/fit.svg`},null,8,hM),N[12]||(N[12]=a.createElementVNode("span",null,"聚焦",-1))],34),a.createElementVNode("div",{class:a.normalizeClass([{detail_btn_active:v.value==1},"detail_btn hide_self"]),onPointerdown:N[2]||(N[2]=U=>B(1)),onPointerup:N[3]||(N[3]=U=>k(1))},[a.createElementVNode("img",{src:`${a.unref(jt)}/industry-viewer/detail-bar/hide-self.svg`},null,8,dM),N[13]||(N[13]=a.createElementVNode("span",null,"隐藏",-1))],34),a.createElementVNode("div",{class:a.normalizeClass([{detail_btn_active:v.value==2},"detail_btn hide_other"]),onPointerdown:N[4]||(N[4]=U=>B(2)),onPointerup:N[5]||(N[5]=U=>k(2))},[a.createElementVNode("img",{src:`${a.unref(jt)}/industry-viewer/detail-bar/hide-other.svg`},null,8,fM),a.createElementVNode("span",null,a.toDisplayString(p.value?"取消":"仅显示"),1)],34),a.createElementVNode("div",{class:a.normalizeClass([{detail_btn_active:v.value==3},"detail_btn edge_solid"]),onPointerdown:N[6]||(N[6]=U=>B(3)),onPointerup:N[7]||(N[7]=U=>k(3))},[a.createElementVNode("img",{src:`${a.unref(jt)}/industry-viewer/detail-bar/${u.value?"edge":"solid"}.svg`},null,8,pM),a.createElementVNode("span",null,a.toDisplayString(u.value?"线框":"填充"),1)],34),a.createElementVNode("div",{class:a.normalizeClass([{detail_btn_active:v.value==4},"detail_btn opacity_fill"]),onPointerdown:N[8]||(N[8]=U=>B(4)),onPointerup:N[9]||(N[9]=U=>k(4))},[a.createElementVNode("img",{src:`${a.unref(jt)}/industry-viewer/detail-bar/${f.value?"opacity":"fill"}.svg`},null,8,AM),a.createElementVNode("span",null,a.toDisplayString(f.value?"透明":"实体"),1)],34),a.createElementVNode("div",{class:a.normalizeClass([{detail_btn_active:v.value==5},"detail_btn multi_select"]),onPointerdown:N[10]||(N[10]=U=>B(5)),onPointerup:N[11]||(N[11]=U=>k(5))},[a.createElementVNode("img",{src:`${a.unref(jt)}/industry-viewer/detail-bar/multiSelect.svg`},null,8,mM),N[14]||(N[14]=a.createElementVNode("span",null,"多选",-1))],34)],4)),[[a.vShow,l.value]])}}),vM=Symbol(),mA="el",yM="is-",ml=(M,V,o,x,P)=>{let y=`${M}-${V}`;return o&&(y+=`-${o}`),x&&(y+=`__${x}`),P&&(y+=`--${P}`),y},bM=Symbol("namespaceContextKey"),gA=M=>{const V=a.getCurrentInstance()?a.inject(bM,a.ref(mA)):a.ref(mA);return a.computed(()=>a.unref(V)||mA)},Wr=(M,V)=>{const o=gA();return{namespace:o,b:(_="")=>ml(o.value,M,_,"",""),e:_=>_?ml(o.value,M,"",_,""):"",m:_=>_?ml(o.value,M,"","",_):"",be:(_,v)=>_&&v?ml(o.value,M,_,v,""):"",em:(_,v)=>_&&v?ml(o.value,M,"",_,v):"",bm:(_,v)=>_&&v?ml(o.value,M,_,"",v):"",bem:(_,v,w)=>_&&v&&w?ml(o.value,M,_,v,w):"",is:(_,...v)=>{const w=v.length>=1?v[0]:!0;return _&&w?`${yM}${_}`:""},cssVar:_=>{const v={};for(const w in _)_[w]&&(v[`--${o.value}-${w}`]=_[w]);return v},cssVarName:_=>`--${o.value}-${_}`,cssVarBlock:_=>{const v={};for(const w in _)_[w]&&(v[`--${o.value}-${M}-${w}`]=_[w]);return v},cssVarBlockName:_=>`--${o.value}-${M}-${_}`}};/**
1
+ (function(Sr,a){typeof exports=="object"&&typeof module<"u"?a(exports,require("vue"),require("axios"),require("ali-oss"),require("element-plus"),require("@element-plus/icons-vue"),require("pinia"),require("mitt")):typeof define=="function"&&define.amd?define(["exports","vue","axios","ali-oss","element-plus","@element-plus/icons-vue","pinia","mitt"],a):(Sr=typeof globalThis<"u"?globalThis:Sr||self,a(Sr.Industry_Viewer_Lib={},Sr.Vue,Sr.axios,Sr.AliOss,Sr.ElementPlus,Sr.ElementPlusIconsVue,Sr.Pinia,Sr.Mitt))})(this,function(Sr,a,eu,Lk,AA,ui,Nk,jk){"use strict";var age=Object.defineProperty;var lge=(Sr,a,eu)=>a in Sr?age(Sr,a,{enumerable:!0,configurable:!0,writable:!0,value:eu}):Sr[a]=eu;var Fi=(Sr,a,eu)=>lge(Sr,typeof a!="symbol"?a+"":a,eu);const Vk="https://bimkk-api.tcbim.com",jt="https://bimkk-oss-production.oss-cn-beijing.aliyuncs.com",Uk="https://convert.tcbim.com",wr=jk();let Oa={INDUSTRY_CONFIGS:{viewerManager:!1,Toolbar:!1,RoamTool:!1},BimViewer:{viewerManager:!1}};const Hk="architecture",zk={isMember:!1,isInShare:!1,isShareHost:!1,isShareClient:!1},Qk={file:!1,image:!1,record:!1,text:!1,video:!1},Ab={offsetX:0,offsetY:0},Gk={pos:"right-bottom",posNum:[0,0]},Wk=120,$k="blue",Kk=!1,Xk="right",Yk="left",Jk=0,Zk=0,qk=0,eM=0,tM={pos:"bottom",posNum:[18]},rM={pos:"bottom",posNum:[70]},iM={pos:"bottom",posNum:[70]},nM="linear-gradient(180deg, #fffefb 0%, #daebff 100%)";Sr.INDUSTRY_CONFIGS=void 0;function sM(){Sr.INDUSTRY_CONFIGS={isMobile:!1,fileName:"model",isPc:!1,loadMeta:!0,outliersDetect:!0,appType:Hk,showRoam:!0,showTree:!1,userInfo:zk,annoLimit:Qk,commentOffset:Ab,measureOffset:Ab,skyboxImg:void 0,topHeight:Jk,leftWidth:eM,bottomHeight:qk,rightWidth:Zk,inspectorPos:Xk,treePos:Yk,commentPos:tM,annotationPos:rM,roamPos:iM,navCubePos:Gk,navCubeSize:Wk,themeColor:$k,hideTool:Kk,backButton:!1,backgroundColor:nM}}function mb(M=""){wr.emit("INDUSTRY_CONFIGS",M)}function gb(M){for(const V in M)Gi(V,M[V],!1);mb()}function Gi(M,V,o=!0){V!==void 0&&(Sr.INDUSTRY_CONFIGS[M]=V,o&&(M=="isMobile"||M=="measureOffset"||M=="commentOffset"||M=="navCubePos"||M=="navCubeSize")&&mb(M))}function Gt(M){return Sr.INDUSTRY_CONFIGS[M]}const Xi=Nk.defineStore("toolbar",{state:()=>({tools:[{id:0,key:"reset",name:"复位",hasActiveState:!1,component:"",isShowDelimiter:!0,img:"reset",imgActive:"reset",isActive:!1},{id:1,key:"navigate",name:"视图方向",hasActiveState:!0,component:"NavigateTool",isShowDelimiter:!1,img:"navigate",imgActive:"navigate-active",isActive:!1},{id:2,key:"measure",name:"测量",hasActiveState:!0,component:"MeasureTool",isShowDelimiter:!1,img:"measure",imgActive:"measure-active",isActive:!1},{id:3,key:"comment",name:"批注",hasActiveState:!0,component:"CommentTool",isShowDelimiter:!1,img:"comment",imgActive:"comment-active",isActive:!1},{id:4,key:"share",name:"分享",hasActiveState:!0,component:"",isShowDelimiter:!1,img:"share",imgActive:"share",isActive:!1},{id:5,key:"tree",name:"结构树",hasActiveState:!0,component:"StructureTree",isShowDelimiter:!1,img:"tree",imgActive:"tree-active",isActive:!1},{id:6,key:"inspector",name:"属性",hasActiveState:!0,component:"InspectorTool",isShowDelimiter:!1,img:"inspector",imgActive:"inspector-active",isActive:!1},{id:7,key:"anno",name:"标注",hasActiveState:!0,component:"AnnotationTool",isShowDelimiter:!0,img:"annotation",imgActive:"annotation-active",isActive:!1},{id:8,key:"section",name:"剖切",hasActiveState:!0,component:"SectionTool",isShowDelimiter:!0,img:"section",imgActive:"section-active",isActive:!1},{id:9,key:"roam",name:"漫游",hasActiveState:!0,component:"RoamTool",isShowDelimiter:!0,img:"roam",imgActive:"roam-active",isActive:!1},{id:10,key:"xray",name:"透视",hasActiveState:!0,component:"XRayTool",isShowDelimiter:!1,img:"xray",imgActive:"xray-active",isActive:!1},{id:11,key:"setting",name:"设置",hasActiveState:!0,component:"SettingTool",isShowDelimiter:!0,img:"setting",imgActive:"setting-active",isActive:!1},{id:12,key:"fullscreen",name:"全屏",hasActiveState:!1,component:"",isShowDelimiter:!1,img:"fullscreen",imgActive:"fullscreen-active",isActive:!1},{id:13,key:"cooperate",name:"协同",hasActiveState:!1,component:"",isShowDelimiter:!1,img:"cooperate",imgActive:"cooperate",isActive:!1},{id:14,key:"bcf",name:"BCF",hasActiveState:!0,component:"MobileBCFTool",isShowDelimiter:!1,img:"bcf",imgActive:"bcf-active",isActive:!1},{id:15,key:"mouse",name:"迷你鼠标",hasActiveState:!0,component:"MouseTool",isShowDelimiter:!1,img:"mouse",imgActive:"mouse-active",isActive:!1}],visibleToolIds:[],readyToolIds:[]}),actions:{toggleToolVisibility(M){const V=this.visibleToolIds.indexOf(M);V===-1?this.visibleToolIds.push(M):this.visibleToolIds.splice(V,1)},setEnableTools(M){this.visibleToolIds=M},setEnableToolsByKey(M){let V=[];Gt("isMobile")?V=vb(M,aM):V=vb(M,lM);const o=[];for(let x=0;x<V.length;x++){const P=this.tools.find(y=>y.key===V[x]);P&&o.push(P.id)}this.visibleToolIds=this.visibleToolIds.concat(o)},setToolActiveStatus(M,V){const o=this.tools.find(x=>x.id===M);o?o.isActive=V!==void 0?V:!o.isActive:console.log("no such tool",M)},setToolActiveStatusBykey(M,V){const o=this.tools.find(x=>x.key===M);o?o.isActive=V!==void 0?V:!o.isActive:console.log("no such tool",M)},setAllToolClose(M=[]){if(M.length>0)for(let V=0;V<this.visibleToolIds.length;V++)M.includes(this.visibleToolIds[V])||(this.tools[this.visibleToolIds[V]].isActive=!1);else for(let V=0;V<this.visibleToolIds.length;V++)this.tools[this.visibleToolIds[V]].isActive=!1},setReadyById(M){this.tools.find(o=>o.id===M)&&this.readyToolIds.push(M)},ifToolAllReady(){for(let M=0;M<this.visibleTools.length;M++){const V=this.visibleTools[M];if(V.key!="bcf"&&V.key!="mouse"&&V.component!=""&&!this.readyTools.includes(V.id))return!1}return!0},setReadyTools(M){this.readyToolIds=[]}},getters:{visibleTools:M=>M.visibleToolIds.map(V=>M.tools.find(o=>o.id===V)).filter(V=>!!V),readyTools:M=>M.readyToolIds,visibleComponents:M=>M.tools.filter(V=>M.visibleToolIds.includes(V.id)).map(V=>V.component),getKeyById:M=>V=>{var o;return(o=M.tools.find(x=>x.id===V))==null?void 0:o.key},getToolById:M=>V=>M.tools.find(o=>o.id===V),hasActiveState:M=>V=>{const o=M.tools.find(x=>x.id===V);return o?o.hasActiveState:!1},isToolEnable:M=>V=>{const o=M.tools.find(x=>x.id===V);return o?M.visibleToolIds.includes(o.id):!1},isToolActive:M=>V=>{const o=M.tools.find(x=>x.id===V);return o?o.isActive:!1},isToolActiveBykey:M=>V=>{const o=M.tools.find(x=>x.key===V);return o?o.isActive:!1},hasToolActive:M=>(V=[0,12,13,14,15])=>M.tools.find(x=>{if(!V.find(P=>x.id==P))return x.isActive})}});function td(){return Xi()}function oM(){Xi().setAllToolClose(),Xi().setReadyTools([]),Xi().setEnableTools([])}let aM=["reset","navigate","measure","comment","share","tree","inspector","anno","section","roam","xray","setting","fullscreen","cooperate","bcf","mouse"],lM=["reset","tree","roam","measure","section","comment","anno","screenshot","inspector","setting","fullscreena","bcf","mouse"];function vb(M,V){const o={};V.forEach((P,y)=>{o[P]=y});const x=M.filter(P=>o.hasOwnProperty(P)).map(P=>({value:P,index:o[P]}));return x.sort((P,y)=>P.index-y.index),x.map(P=>P.value)}let yb=!1;Oa.INDUSTRY_CONFIGS.viewerManager||(wr.on("INDUSTRY_CONFIGS",M=>{window.bimViewer?Li.ConfigViewer(M):yb=!0}),Oa.INDUSTRY_CONFIGS.viewerManager=!0);const uM=()=>{Li.SetAllClose(),yb&&Li.ConfigViewer()};Oa.BimViewer.viewerManager||(wr.on("BimViewer",uM),Oa.BimViewer.viewerManager=!0);class Li{static ConfigViewer(V=""){if(V==""){if(Sr.INDUSTRY_CONFIGS.isMobile&&(window.bimViewer.setIsTouch(!0),window.bimViewer.navCubeMode.visible=!1),Sr.INDUSTRY_CONFIGS.measureOffset&&window.bimViewer.setMeasureOffSet(Gt("measureOffset").offsetX,Gt("measureOffset").offsetY),Sr.INDUSTRY_CONFIGS.commentOffset&&window.bimViewer.setCommentsOffset(Gt("commentOffset").offsetX,Gt("commentOffset").offsetY),Sr.INDUSTRY_CONFIGS.navCubePos){let o=function(){let y=0,h=0;return Gt("navCubePos").pos.includes("left")?y+=parseInt(Gt("leftWidth")):Gt("navCubePos").pos.includes("right")&&(y+=parseInt(Gt("rightWidth"))),Gt("navCubePos").pos.includes("top")?h+=parseInt(Gt("topHeight")):Gt("navCubePos").pos.includes("bottom")&&(h+=parseInt(Gt("bottomHeight"))),[y,h]};const x=Gt("navCubePos").pos?Gt("navCubePos").pos:"right-bottom",P=o();x.includes("right")&&window.bimViewer.setNavCubePosition("right",P[0]),x.includes("top")&&window.bimViewer.setNavCubePosition("top",P[1]),x.includes("left")&&window.bimViewer.setNavCubePosition("left",P[0]),x.includes("bottom")&&window.bimViewer.setNavCubePosition("bottom",P[1])}Sr.INDUSTRY_CONFIGS.navCubeSize&&window.bimViewer.setNavCubeSize(Gt("navCubeSize"));return}switch(V){case"isMobile":window.bimViewer.setIsTouch(Sr.INDUSTRY_CONFIGS.isMobile),window.bimViewer.navCubeMode.visible=!Sr.INDUSTRY_CONFIGS.isMobile;break;case"measureOffset":window.bimViewer.setCommentsOffset(Gt("measureOffset").offsetX,Gt("measureOffset").offsetY);break;case"commentOffset":window.bimViewer.setCommentsOffset(Gt("commentOffset").offsetX,Gt("commentOffset").offsetY);break;case"navCubePos":const o=Gt("navCubePos").pos?Gt("navCubePos").pos:"right-bottom",x=Gt("navCubePos").posNum?Gt("navCubePos").posNum:[0,o.includes("top")?Gt("topHeight"):0];o.includes("right")&&window.bimViewer.setNavCubePosition("right",x[0]),o.includes("left")&&window.bimViewer.setNavCubePosition("left",x[0]),o.includes("top")&&window.bimViewer.setNavCubePosition("top",x[1]),o.includes("bottom")&&window.bimViewer.setNavCubePosition("bottom",x[1]);break;case"navCubeSize":window.bimViewer.setNavCubeSize(Gt("navCubeSize"));break}}static SaveViewerState(V){V.measure&&(this.viewerState.measureType=V.measure)}static SetToolActiveById(V,o=!Xi().isToolActive(V)){const x=Xi().getKeyById(V);x?this.SetToolActiveByKey(x,o):console.log("no such key:",V)}static SetToolActiveByKey(V,o=!Xi().isToolActiveBykey(V)){switch(V){case"tree":break;case"reset":window.bimViewer.resetView();break;case"roam":window.bimViewer.SetFirstPersonModeActive(o);break;case"measure":window.bimViewer.measureTool.setActive(o),o&&window.bimViewer.measureTool.setActiveByType(this.viewerState.measureType,o);break;case"section":window.bimViewer.SetSectionToolActive(o);break;case"comment":o?setTimeout(()=>{window.bimViewer.SetCommentsToolActive(o)},100):window.bimViewer.SetCommentsToolActive(o);break;case"anno":window.bimViewer.SetAnnotationToolActive(o);break;case"screenshot":break;case"inspector":break;case"fullscreen":Gt("isPc")&&(o?document.documentElement.requestFullscreen():document.exitFullscreen&&document.exitFullscreen());break;case"xray":window.bimViewer.disableClickEvent=o;break}}static SetAllClose(){window.bimViewer.closeAll()}static DestroyViewer(){window.bimViewer.destroy(),console.log("旧模型已销毁")}static showRequestBusy(V,o){window.bimViewer.showSpinner(V),o&&o()}}Fi(Li,"viewerState",{measureType:"distance"}),Fi(Li,"entityState",{xrayedObjectIds:[],highlightedObjectIds:[],selectedObjectIds:[],visibleObjectIds:[],edgesObjectIds:[]});const cM=["src"],hM=["src"],dM=["src"],fM=["src"],pM=["src"],AM=["src"],mM=["src"],gM=a.defineComponent({__name:"ClickEvent",setup(M,{expose:V}){Xi();const o=a.ref(!0);a.onMounted(()=>{});let x="",P,y;const h=()=>{y=window.bimViewer,y.eventTrigger.on("pickedNothing",()=>{o.value&&(l.value=!1,w.value=[],Li.entityState.selectedObjectIds=[],y.setAllObjectsSelected(!1))}),y.eventTrigger.on("touchEntity",G=>{o.value&&(P=G,x=P.id,A(x))}),y.viewer.cameraControl.on("touchmoveCanvas",()=>{})};wr.on("BimViewer",h);const d=a.ref(0),c=a.ref(0),l=a.ref(!1),u=a.ref(!0),f=a.ref(!0),p=a.ref(!1),A=G=>{(!P||P&&G!==P.id)&&(P=y.viewer.scene.objects[G]),x=G,w.value.length>0&&!w.value.find(D=>D==x)&&w.value.push(x),u.value=!P.xrayed,f.value=!P.highlighted;const{aabb:N}=P,U=[(N[0]+N[3])/2,(N[1]+N[4])/2,(N[2]+N[5])/2],$=y.viewer.scene.camera.projectWorldPos(U);let K=$[0]-172/2,W=$[1]-198/2;K<0?K=0:K>window.innerWidth-198&&(K=window.innerWidth-198),W<0?W=0:W>window.innerHeight-172-72&&(W=window.innerHeight-172-72),d.value=K,c.value=W,l.value=!0,y.setEntitySelected(P,!0)},g=()=>{w.value.find(G=>G==P.id)||(w.value=w.value.filter(G=>G!=P.id),Li.entityState.selectedObjectIds=w.value),_()},_=()=>{P=null,x="",u.value=!0,f.value=!0,l.value=!1,v.value=-1,wr.emit("unFocus")},v=a.ref(-1),w=a.ref([]),B=G=>{v.value=G},k=G=>{switch(w.value.length>0&&(w.value.push(x),Li.entityState.selectedObjectIds.find(N=>N==P.id)||Li.entityState.selectedObjectIds.push(P.id)),G!==5&&G!==0&&(window.bimViewer.disableClickEvent=!1,y.setAllObjectsSelected(!1)),G==5&&w.value.length==0&&(window.bimViewer.disableClickEvent=!0),G){case 0:w.value.length>0?y.viewFitObjects(w.value):y.viewFitEntity(P),setTimeout(()=>{y.setAllObjectsSelected(!1)},1e3);break;case 1:w.value.length>0?y.setObjectsVisible(Li.entityState.selectedObjectIds,!1):y.setEntityVisible(P,!1);break;case 2:p.value?y.setAllObjectsVisible(!0):(y.setAllObjectsVisible(!1),w.value.length>0?y.setObjectsVisible(Li.entityState.selectedObjectIds,!0):y.setEntityVisible(P,!0),y.setAllObjectsSelected(!1)),p.value=!p.value;break;case 3:w.value.length>0?(y.viewer.scene.setObjectsXRayed(w.value,u.value),w.value.forEach(N=>{const U=y.viewer.scene.objects[N];U.edges=U.xrayed?!0:y.edgesActive,y.setEntityHighlighted(U,!1)})):(y.setEntityXRayed(P),P.edges=P.xrayed?!0:y.edgesActive,y.setEntityHighlighted(P,!1));break;case 4:w.value.length>0?w.value.forEach(N=>{const U=y.viewer.scene.objects[N];y.setEntityHighlighted(U,f.value),U.xrayed&&(y.setEntityXRayed(U,!1),U.edges=y.edgesActive)}):(y.setEntityHighlighted(P),P.xrayed&&(y.setEntityXRayed(P,!1),P.edges=y.edgesActive));break;case 5:w.value.find(N=>N==x)||(w.value.push(x),y.setObjectsSelected(w.value,!0)),Li.entityState.selectedObjectIds=w.value,wr.emit("multiSelect");break}G!==5&&G!==0&&(y.setEntitySelected(P,!1),w.value=[],Li.entityState.selectedObjectIds=w.value),Li.entityState.xrayedObjectIds=y.viewer.scene.xrayedObjectIds,Li.entityState.highlightedObjectIds=y.viewer.scene.highlightedObjectIds,Li.entityState.selectedObjectIds=y.viewer.scene.selectedObjectIds,Li.entityState.visibleObjectIds=y.viewer.scene.visibleObjectIds,Li.entityState.edgesObjectIds=y.viewer.scene.edgesObjectIds,setTimeout(()=>{_()},300)},T=()=>{_()},L=()=>{o.value=!1},j=()=>{o.value=!0};return wr.on("focusEntity",A),a.onBeforeUnmount(()=>{wr.off("BimViewer",h),wr.off("focusEntity",A)}),V({reset:T,enable:j,disable:L}),(G,N)=>a.withDirectives((a.openBlock(),a.createElementBlock("div",{class:"entity_tools",style:a.normalizeStyle({left:`${d.value}px`,top:`${c.value}px`})},[a.createElementVNode("div",{class:"close_btns",onClick:g},[a.createElementVNode("img",{src:`${a.unref(jt)}/industry-viewer/detail-bar/close-dark-circle.svg`},null,8,cM)]),a.createElementVNode("div",{class:a.normalizeClass([{detail_btn_active:v.value==0},"detail_btn fit"]),onPointerdown:N[0]||(N[0]=U=>B(0)),onPointerup:N[1]||(N[1]=U=>k(0))},[a.createElementVNode("img",{src:`${a.unref(jt)}/industry-viewer/detail-bar/fit.svg`},null,8,hM),N[12]||(N[12]=a.createElementVNode("span",null,"聚焦",-1))],34),a.createElementVNode("div",{class:a.normalizeClass([{detail_btn_active:v.value==1},"detail_btn hide_self"]),onPointerdown:N[2]||(N[2]=U=>B(1)),onPointerup:N[3]||(N[3]=U=>k(1))},[a.createElementVNode("img",{src:`${a.unref(jt)}/industry-viewer/detail-bar/hide-self.svg`},null,8,dM),N[13]||(N[13]=a.createElementVNode("span",null,"隐藏",-1))],34),a.createElementVNode("div",{class:a.normalizeClass([{detail_btn_active:v.value==2},"detail_btn hide_other"]),onPointerdown:N[4]||(N[4]=U=>B(2)),onPointerup:N[5]||(N[5]=U=>k(2))},[a.createElementVNode("img",{src:`${a.unref(jt)}/industry-viewer/detail-bar/hide-other.svg`},null,8,fM),a.createElementVNode("span",null,a.toDisplayString(p.value?"取消":"仅显示"),1)],34),a.createElementVNode("div",{class:a.normalizeClass([{detail_btn_active:v.value==3},"detail_btn edge_solid"]),onPointerdown:N[6]||(N[6]=U=>B(3)),onPointerup:N[7]||(N[7]=U=>k(3))},[a.createElementVNode("img",{src:`${a.unref(jt)}/industry-viewer/detail-bar/${u.value?"edge":"solid"}.svg`},null,8,pM),a.createElementVNode("span",null,a.toDisplayString(u.value?"线框":"填充"),1)],34),a.createElementVNode("div",{class:a.normalizeClass([{detail_btn_active:v.value==4},"detail_btn opacity_fill"]),onPointerdown:N[8]||(N[8]=U=>B(4)),onPointerup:N[9]||(N[9]=U=>k(4))},[a.createElementVNode("img",{src:`${a.unref(jt)}/industry-viewer/detail-bar/${f.value?"opacity":"fill"}.svg`},null,8,AM),a.createElementVNode("span",null,a.toDisplayString(f.value?"透明":"实体"),1)],34),a.createElementVNode("div",{class:a.normalizeClass([{detail_btn_active:v.value==5},"detail_btn multi_select"]),onPointerdown:N[10]||(N[10]=U=>B(5)),onPointerup:N[11]||(N[11]=U=>k(5))},[a.createElementVNode("img",{src:`${a.unref(jt)}/industry-viewer/detail-bar/multiSelect.svg`},null,8,mM),N[14]||(N[14]=a.createElementVNode("span",null,"多选",-1))],34)],4)),[[a.vShow,l.value]])}}),vM=Symbol(),mA="el",yM="is-",ml=(M,V,o,x,P)=>{let y=`${M}-${V}`;return o&&(y+=`-${o}`),x&&(y+=`__${x}`),P&&(y+=`--${P}`),y},bM=Symbol("namespaceContextKey"),gA=M=>{const V=a.getCurrentInstance()?a.inject(bM,a.ref(mA)):a.ref(mA);return a.computed(()=>a.unref(V)||mA)},Wr=(M,V)=>{const o=gA();return{namespace:o,b:(_="")=>ml(o.value,M,_,"",""),e:_=>_?ml(o.value,M,"",_,""):"",m:_=>_?ml(o.value,M,"","",_):"",be:(_,v)=>_&&v?ml(o.value,M,_,v,""):"",em:(_,v)=>_&&v?ml(o.value,M,"",_,v):"",bm:(_,v)=>_&&v?ml(o.value,M,_,"",v):"",bem:(_,v,w)=>_&&v&&w?ml(o.value,M,_,v,w):"",is:(_,...v)=>{const w=v.length>=1?v[0]:!0;return _&&w?`${yM}${_}`:""},cssVar:_=>{const v={};for(const w in _)_[w]&&(v[`--${o.value}-${w}`]=_[w]);return v},cssVarName:_=>`--${o.value}-${_}`,cssVarBlock:_=>{const v={};for(const w in _)_[w]&&(v[`--${o.value}-${M}-${w}`]=_[w]);return v},cssVarBlockName:_=>`--${o.value}-${M}-${_}`}};/**
2
2
  * @vue/shared v3.5.26
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
@@ -1,6 +1,6 @@
1
- import { z as Y, B, A as C, T as A, D as ee, O as V, F as te, G as ne } from "./index-CaiiH-9N.mjs";
2
- import { _ as se } from "./tallPanel-eXWPdhmU.mjs";
3
- import { _ as oe } from "./panel.vue_vue_type_style_index_0_lang-D3swRKXl.mjs";
1
+ import { z as Y, B, A as C, T as A, D as ee, O as V, F as te, G as ne } from "./index-BNrMlQLr.mjs";
2
+ import { _ as se } from "./tallPanel-CqKqC6yK.mjs";
3
+ import { _ as oe } from "./panel.vue_vue_type_style_index_0_lang-CCuIP-Pp.mjs";
4
4
  import { defineComponent as ie, onMounted as le, ref as N, reactive as q, watch as ae, onBeforeUnmount as re, createElementBlock as a, openBlock as i, Fragment as m, createBlock as G, createCommentVNode as H, unref as c, withCtx as S, withDirectives as p, createElementVNode as e, createVNode as w, toDisplayString as o, vShow as d, renderList as y } from "vue";
5
5
  const K = {
6
6
  ExtendToStructure: "扩建物",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as de, ref as s, onMounted as H, onBeforeUnmount as ge, watch as _e, createElementBlock as I, openBlock as A, Fragment as U, createElementVNode as t, withDirectives as Me, createCommentVNode as fe, renderList as ye, unref as a, normalizeClass as he, toDisplayString as we, normalizeStyle as F, vShow as Te } from "vue";
2
- import { z as pe, T as O, B as P, O as y, V as W, A as g, G as Be } from "./index-CaiiH-9N.mjs";
2
+ import { z as pe, T as O, B as P, O as y, V as W, A as g, G as Be } from "./index-BNrMlQLr.mjs";
3
3
  import { M as L } from "./const-DeViLYl5.mjs";
4
4
  const be = { class: "mobile_measure_panel" }, Ie = { class: "measure-list" }, Ae = ["onClick"], Ee = { class: "measure-icon" }, De = ["src"], Re = { class: "measure-name" }, Ve = { class: "measure-icon" }, Se = ["src"], ke = { class: "mouse_btn" }, Le = ["src"], xe = ["src"], Ce = ["src"], $e = /* @__PURE__ */ de({
5
5
  __name: "MeasureTool",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as Y, onMounted as x, onBeforeUnmount as A, ref as _, watch as C, createElementBlock as M, openBlock as $, withDirectives as F, createElementVNode as g, normalizeStyle as z, unref as L, vShow as D } from "vue";
2
- import { z as N, B as s, O as V, V as k } from "./index-CaiiH-9N.mjs";
2
+ import { z as N, B as s, O as V, V as k } from "./index-BNrMlQLr.mjs";
3
3
  const R = { class: "mouse_tool" }, U = ["src"], P = ["src"], J = /* @__PURE__ */ Y({
4
4
  __name: "MouseTool",
5
5
  props: ["componentId"],
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as u, onMounted as p, ref as b, createElementBlock as i, openBlock as n, createElementVNode as s, Fragment as w, renderList as g, unref as r, normalizeClass as f, toDisplayString as h } from "vue";
2
2
  import { N } from "./const-DeViLYl5.mjs";
3
- import { z as S, O as T } from "./index-CaiiH-9N.mjs";
3
+ import { z as S, O as T } from "./index-BNrMlQLr.mjs";
4
4
  const k = { class: "best-view-box" }, I = { class: "best-view-list" }, V = ["onClick"], y = { class: "best-view-icon" }, A = ["src"], B = { class: "best-view-name" }, z = /* @__PURE__ */ u({
5
5
  __name: "NavigateTool",
6
6
  props: ["componentId"],
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as k, ref as u, onMounted as F, onBeforeUnmount as N, watch as P, createElementBlock as x, openBlock as O, createElementVNode as o, unref as d, toDisplayString as G } from "vue";
2
- import { z as Y, A as v, J as B, B as f, O as l, K as I, G as A } from "./index-CaiiH-9N.mjs";
2
+ import { z as Y, A as v, J as B, B as f, O as l, K as I, G as A } from "./index-BNrMlQLr.mjs";
3
3
  const H = { class: "roam_container_wrapper" }, $ = { class: "mobile_roam-box" }, z = { class: "roam-left" }, J = { class: "roam-left-box" }, K = {
4
4
  id: "roamMoveForward",
5
5
  class: "roam-left-item"
@@ -1,5 +1,5 @@
1
- import { _ as _e } from "./panel.vue_vue_type_style_index_0_lang-D3swRKXl.mjs";
2
- import { j as K, L as W, d as X, b as P, M as G, U as L, P as H, l as Y, a as Se, Q as he, R as ke, _ as U, u as x, S as Re, t as q, W as Ve, X as Ee, Y as Ce, x as Ie, n as Be, Z as we, $ as Q, w as Pe, z as $e, C as ze } from "./index-CaiiH-9N.mjs";
1
+ import { _ as _e } from "./panel.vue_vue_type_style_index_0_lang-CCuIP-Pp.mjs";
2
+ import { j as K, L as W, d as X, b as P, M as G, U as L, P as H, l as Y, a as Se, Q as he, R as ke, _ as U, u as x, S as Re, t as q, W as Ve, X as Ee, Y as Ce, x as Ie, n as Be, Z as we, $ as Q, w as Pe, z as $e, C as ze } from "./index-BNrMlQLr.mjs";
3
3
  import { ref as E, inject as Ne, computed as h, defineComponent as $, createElementBlock as C, openBlock as V, normalizeClass as R, unref as e, createElementVNode as _, withDirectives as Z, withModifiers as B, isRef as J, vModelRadio as ee, renderSlot as T, createTextVNode as w, toDisplayString as D, nextTick as oe, normalizeStyle as Ge, onMounted as ae, provide as Le, reactive as Ue, toRefs as xe, watch as le, Fragment as te, renderList as ne, createBlock as se, resolveDynamicComponent as Te, mergeProps as De, withCtx as z, createVNode as I, createCommentVNode as Ae } from "vue";
4
4
  import { a as N } from "./const-DeViLYl5.mjs";
5
5
  const re = P({
@@ -1,6 +1,6 @@
1
- import { _ as W } from "./alert-x4uA_EPv.mjs";
2
- import { z as X, T as B, A as b, B as E, F as Y, D as Z, O as m, G as q } from "./index-CaiiH-9N.mjs";
3
- import { E as H } from "./el-input-number-Chi40nla.mjs";
1
+ import { _ as W } from "./alert-DGyQ9rEq.mjs";
2
+ import { z as X, T as B, A as b, B as E, F as Y, D as Z, O as m, G as q } from "./index-BNrMlQLr.mjs";
3
+ import { E as H } from "./el-input-number-Df5HOHuh.mjs";
4
4
  import { defineComponent as J, ref as s, onMounted as K, watch as Q, onBeforeUnmount as ee, createElementBlock as l, openBlock as c, Fragment as oe, createElementVNode as o, withDirectives as te, createVNode as v, withCtx as ie, unref as r, toDisplayString as h, vShow as ne } from "vue";
5
5
  const se = { class: "mobile_section_panel" }, le = { class: "slicing-title-box" }, ce = { class: "slicing-title-icon" }, re = { class: "slicing-content-box" }, ae = { class: "slicing-select-box" }, de = { class: "select-item" }, ue = { class: "select-item-left" }, me = ["src"], ve = ["src"], _e = { class: "select-item-center" }, we = { class: "item-center-top" }, pe = { class: "item-center-bottom" }, ge = { class: "select-item" }, be = { class: "select-item-left" }, fe = ["src"], ke = ["src"], he = { class: "select-item-center" }, ye = { class: "item-center-top" }, Ve = { class: "item-center-bottom" }, Te = { class: "select-item" }, xe = { class: "select-item-left" }, Ce = ["src"], Pe = ["src"], Se = { class: "select-item-center" }, ze = { class: "item-center-top" }, Be = { class: "item-center-bottom" }, Ee = /* @__PURE__ */ J({
6
6
  __name: "SectionTool",
@@ -1,11 +1,11 @@
1
1
  var Fe = Object.defineProperty;
2
2
  var Oe = (a, y, E) => y in a ? Fe(a, y, { enumerable: !0, configurable: !0, writable: !0, value: E }) : a[y] = E;
3
3
  var Y = (a, y, E) => Oe(a, typeof y != "symbol" ? y + "" : y, E);
4
- import { c as xe, d as ne, j as ce, L as me, b as Le, a0 as fe, M as ge, U as ye, S as Re, t as We, s as le, _ as Ke, X as je, a as Ge, u as He, Y as Ze, Q as _e, a1 as Ye, n as Ee, E as F, a2 as $e, a3 as Qe, w as Xe, z as qe, T as Ae, A as x, B as Q, D as Je, F as et, V as tt, G as lt } from "./index-CaiiH-9N.mjs";
5
- import { _ as ot } from "./panel.vue_vue_type_style_index_0_lang-D3swRKXl.mjs";
6
- import { a as nt, E as it } from "./el-checkbox-_VjUMARt.mjs";
4
+ import { c as xe, d as ne, j as ce, L as me, b as Le, a0 as fe, M as ge, U as ye, S as Re, t as We, s as le, _ as Ke, X as je, a as Ge, u as He, Y as Ze, Q as _e, a1 as Ye, n as Ee, E as F, a2 as $e, a3 as Qe, w as Xe, z as qe, T as Ae, A as x, B as Q, D as Je, F as et, V as tt, G as lt } from "./index-BNrMlQLr.mjs";
5
+ import { _ as ot } from "./panel.vue_vue_type_style_index_0_lang-CCuIP-Pp.mjs";
6
+ import { a as nt, E as it } from "./el-checkbox-ClYe-8uK.mjs";
7
7
  /* empty css */
8
- import { E as st } from "./el-input-number-Chi40nla.mjs";
8
+ import { E as st } from "./el-input-number-Df5HOHuh.mjs";
9
9
  import { defineComponent as Be, computed as L, ref as f, shallowRef as at, watch as we, onMounted as De, createElementBlock as r, openBlock as i, withModifiers as ut, normalizeClass as T, createElementVNode as o, createCommentVNode as c, withKeys as dt, unref as u, renderSlot as R, createBlock as g, withCtx as I, resolveDynamicComponent as W, toDisplayString as j, normalizeStyle as q, createVNode as d, nextTick as rt, onBeforeUnmount as vt, resolveComponent as ct, Fragment as X, createTextVNode as N, renderList as oe } from "vue";
10
10
  import { B as K } from "./const-DeViLYl5.mjs";
11
11
  import { Loading as mt } from "@element-plus/icons-vue";
@@ -1,7 +1,7 @@
1
- import { _ as ye, u as se, w as Be, b as ze, c as Xe, a as Ze, i as ne, h as we, d as De, e as ge, f as Te, g as me, j as Fe, N as et, k as tt, l as Pe, r as _e, m as nt, E as ot, n as st, o as dt, p as at, q as X, s as rt, t as ke, v as it, x as lt, y as ct, z as ut, A as ee, B as xe, T as $e, C as ht, D as ft, F as pt, G as vt } from "./index-CaiiH-9N.mjs";
2
- import { _ as yt } from "./tallPanel-eXWPdhmU.mjs";
3
- import { _ as gt } from "./panel.vue_vue_type_style_index_0_lang-D3swRKXl.mjs";
4
- import { E as kt } from "./el-checkbox-_VjUMARt.mjs";
1
+ import { _ as ye, u as se, w as Be, b as ze, c as Xe, a as Ze, i as ne, h as we, d as De, e as ge, f as Te, g as me, j as Fe, N as et, k as tt, l as Pe, r as _e, m as nt, E as ot, n as st, o as dt, p as at, q as X, s as rt, t as ke, v as it, x as lt, y as ct, z as ut, A as ee, B as xe, T as $e, C as ht, D as ft, F as pt, G as vt } from "./index-BNrMlQLr.mjs";
2
+ import { _ as yt } from "./tallPanel-CqKqC6yK.mjs";
3
+ import { _ as gt } from "./panel.vue_vue_type_style_index_0_lang-CCuIP-Pp.mjs";
4
+ import { E as kt } from "./el-checkbox-ClYe-8uK.mjs";
5
5
  import { defineComponent as re, createBlock as U, openBlock as T, Transition as Nt, mergeProps as Ct, unref as W, toHandlers as mt, withCtx as B, renderSlot as be, ref as D, computed as Ke, onMounted as Ae, onUpdated as Re, resolveDynamicComponent as qe, normalizeStyle as Ue, normalizeClass as H, useAttrs as bt, reactive as Et, nextTick as fe, inject as pe, h as je, onBeforeUnmount as Ve, provide as ve, resolveComponent as te, withDirectives as J, createElementBlock as O, withModifiers as Z, createElementVNode as x, createVNode as I, createCommentVNode as le, Fragment as ue, renderList as he, vShow as G, getCurrentInstance as Ye, watch as R, toDisplayString as q } from "vue";
6
6
  import { S as Ne } from "./const-DeViLYl5.mjs";
7
7
  import { Loading as _t, CaretRight as xt } from "@element-plus/icons-vue";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as h, onMounted as V, ref as E, onBeforeUnmount as k, createElementBlock as s, openBlock as r, createElementVNode as l, Fragment as B, renderList as x, unref as d, normalizeClass as w, toDisplayString as C } from "vue";
2
- import { z as A, B as m, O as S, A as O, G as T } from "./index-CaiiH-9N.mjs";
2
+ import { z as A, B as m, O as S, A as O, G as T } from "./index-BNrMlQLr.mjs";
3
3
  import { X as I } from "./const-DeViLYl5.mjs";
4
4
  const R = { class: "xray_wrapper" }, H = { class: "xray_content" }, X = ["onClick"], j = ["src"], L = /* @__PURE__ */ h({
5
5
  __name: "XRayTool",
@@ -1,4 +1,4 @@
1
- import { O as s, F as l, G as _ } from "./index-CaiiH-9N.mjs";
1
+ import { O as s, F as l, G as _ } from "./index-BNrMlQLr.mjs";
2
2
  import { defineComponent as c, createElementBlock as a, openBlock as i, createElementVNode as e, unref as r, createVNode as d } from "vue";
3
3
  const p = { class: "alert_wrapper" }, m = { class: "alert_box_wrapper" }, u = { class: "alert_box" }, f = { class: "alert_img" }, h = ["src"], v = { class: "alert_close" }, g = /* @__PURE__ */ c({
4
4
  __name: "alert",
@@ -1,5 +1,5 @@
1
1
  import { inject as L, computed as p, getCurrentInstance as J, watch as ee, nextTick as le, ref as G, toRaw as W, defineComponent as U, useSlots as ae, createBlock as z, openBlock as S, resolveDynamicComponent as F, unref as c, normalizeClass as V, withCtx as te, createElementVNode as I, createElementBlock as B, createCommentVNode as P, withDirectives as ne, mergeProps as M, isRef as oe, withModifiers as ue, vModelCheckbox as se, renderSlot as R, Fragment as ie, createTextVNode as re, toDisplayString as ce, normalizeStyle as Ve, provide as Le, toRefs as Ee, renderList as Be } from "vue";
2
- import { j as X, L as Y, d as $, S as de, P as be, U as N, au as _e, i as O, Q as ve, X as j, n as me, M as T, e as _, l as A, k as Ie, x as fe, a as Z, Y as he, R as w, _ as K, u as q, b as Ne, t as D, av as we, Z as De, w as Ge, $ as pe } from "./index-CaiiH-9N.mjs";
2
+ import { j as X, L as Y, d as $, S as de, P as be, U as N, au as _e, i as O, Q as ve, X as j, n as me, M as T, e as _, l as A, k as Ie, x as fe, a as Z, Y as he, R as w, _ as K, u as q, b as Ne, t as D, av as we, Z as De, w as Ge, $ as pe } from "./index-BNrMlQLr.mjs";
3
3
  const ke = {
4
4
  modelValue: {
5
5
  type: [Number, String, Boolean],
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as we, ref as ae, reactive as Ce, computed as w, watch as se, onMounted as Ke, onUpdated as Je, createElementBlock as Y, openBlock as C, withModifiers as Xe, normalizeClass as U, unref as l, withDirectives as Te, createCommentVNode as oe, createVNode as ve, withKeys as Fe, renderSlot as ge, withCtx as ue, createBlock as le, createSlots as Ze, inject as De, nextTick as Ve, toRefs as xe, normalizeStyle as re, createElementVNode as ie, toDisplayString as et, h as tt, shallowRef as lt, provide as nt, Fragment as he, renderList as Ee } from "vue";
2
- import { L as $, f as fe, b as Se, U as H, a0 as ne, M as Ne, t as te, S as _e, P as Ie, _ as Me, v as Ye, u as ke, X as Ue, i as pe, n as ee, a as Oe, Q as We, E as ze, a4 as Ae, C as at, a3 as je, j as Pe, p as Ge, a5 as rt, q, w as He, e as be, a6 as qe, o as ye, a7 as Re, a8 as ot, a9 as ut, Y as it } from "./index-CaiiH-9N.mjs";
2
+ import { L as $, f as fe, b as Se, U as H, a0 as ne, M as Ne, t as te, S as _e, P as Ie, _ as Me, v as Ye, u as ke, X as Ue, i as pe, n as ee, a as Oe, Q as We, E as ze, a4 as Ae, C as at, a3 as je, j as Pe, p as Ge, a5 as rt, q, w as He, e as be, a6 as qe, o as ye, a7 as Re, a8 as ot, a9 as ut, Y as it } from "./index-BNrMlQLr.mjs";
3
3
  import { ArrowDown as st, Minus as dt, ArrowUp as ct, Plus as mt } from "@element-plus/icons-vue";
4
4
  const vt = Se({
5
5
  id: {
@@ -8,7 +8,7 @@ import ZG from "axios";
8
8
  import qG from "ali-oss";
9
9
  import { ElMessage as ez } from "element-plus";
10
10
  import { CircleClose as qA, CircleCheck as tz, Loading as hM, View as rz, Hide as iz, Close as LC, Clock as nz, Calendar as sz, ArrowUp as az, ArrowDown as dM, DArrowLeft as ru, ArrowLeft as n_, ArrowRight as FA, DArrowRight as iu } from "@element-plus/icons-vue";
11
- const oz = "https://bimkk-api-test.tcbim.com", Er = "https://tctwins-oss-test.oss-cn-beijing.aliyuncs.com", lz = "https://convert-test.tcbim.com", dn = JG();
11
+ const oz = "https://bimkk-api.tcbim.com", Er = "https://bimkk-oss-production.oss-cn-beijing.aliyuncs.com", lz = "https://convert.tcbim.com", dn = JG();
12
12
  let nc = {
13
13
  INDUSTRY_CONFIGS: {
14
14
  viewerManager: !1,
@@ -101558,20 +101558,20 @@ const tie = { class: "mobile_bcf_add_wrapper" }, rie = { class: "add_page_title"
101558
101558
  __proto__: null,
101559
101559
  default: uT
101560
101560
  }, Symbol.toStringTag, { value: "Module" })), poe = {
101561
- StructureTree: Ds(() => import("./StructureTree-CCWwAbnr.mjs")),
101562
- InspectorTool: Ds(() => import("./InspectorTool-BK5pX2nZ.mjs")),
101563
- RoamTool: Ds(() => import("./RoamTool-Nk4hYPJB.mjs")),
101564
- XRayTool: Ds(() => import("./XRayTool-IRgKMGU8.mjs")),
101565
- MeasureTool: Ds(() => import("./MeasureTool-D92Tyu14.mjs")),
101566
- SectionTool: Ds(() => import("./SectionTool-D3885F5s.mjs")),
101567
- CommentTool: Ds(() => import("./CommentTool-BwHOJoFe.mjs")),
101568
- AnnotationTool: Ds(() => import("./AnnotationTool-BZlQ0NIM.mjs")),
101569
- ScreenShotTool: Ds(() => import("./ScreenShotTool-D1cS2DkF.mjs")),
101570
- SettingTool: Ds(() => import("./SettingTool-BI_soRCO.mjs")),
101571
- NavigateTool: Ds(() => import("./NavigateTool-B5ySsqph.mjs")),
101572
- BCFTool: Ds(() => import("./BCFTool-DAqDUYS-.mjs")),
101561
+ StructureTree: Ds(() => import("./StructureTree-DeXxENMk.mjs")),
101562
+ InspectorTool: Ds(() => import("./InspectorTool-M_oBYVQA.mjs")),
101563
+ RoamTool: Ds(() => import("./RoamTool-Uuxa-94w.mjs")),
101564
+ XRayTool: Ds(() => import("./XRayTool-Bug-FcKJ.mjs")),
101565
+ MeasureTool: Ds(() => import("./MeasureTool-CxWeQFgY.mjs")),
101566
+ SectionTool: Ds(() => import("./SectionTool-DZToybAI.mjs")),
101567
+ CommentTool: Ds(() => import("./CommentTool-Cfht7mQS.mjs")),
101568
+ AnnotationTool: Ds(() => import("./AnnotationTool-f7CrC7Dr.mjs")),
101569
+ ScreenShotTool: Ds(() => import("./ScreenShotTool-CZUm8l2Z.mjs")),
101570
+ SettingTool: Ds(() => import("./SettingTool-CYM0qsUs.mjs")),
101571
+ NavigateTool: Ds(() => import("./NavigateTool-BdUVi4Be.mjs")),
101572
+ BCFTool: Ds(() => import("./BCFTool-CdN6SGDL.mjs")),
101573
101573
  MobileBCFTool: Ds(() => Promise.resolve().then(() => Aoe)),
101574
- MouseTool: Ds(() => import("./MouseTool-Dpl4JLyb.mjs"))
101574
+ MouseTool: Ds(() => import("./MouseTool-BHbi-fg3.mjs"))
101575
101575
  }, voe = {
101576
101576
  key: 0,
101577
101577
  class: "industry-wrapper"
@@ -1,4 +1,4 @@
1
- import { F as r, T as o } from "./index-CaiiH-9N.mjs";
1
+ import { F as r, T as o } from "./index-BNrMlQLr.mjs";
2
2
  import { defineComponent as c, ref as u, onMounted as p, createBlock as m, openBlock as h, unref as l, withCtx as _, createElementVNode as e, normalizeStyle as g, toDisplayString as f, createVNode as w, renderSlot as k } from "vue";
3
3
  import { ElDialog as v } from "element-plus";
4
4
  const y = { class: "panel_top" }, T = { class: "panel_title" }, V = { class: "panel_close" }, S = { class: "panel_content" }, C = /* @__PURE__ */ c({
@@ -1,4 +1,4 @@
1
- import { z as g, A as t, T as i, H as y, I as x, F as S, G as k } from "./index-CaiiH-9N.mjs";
1
+ import { z as g, A as t, T as i, H as y, I as x, F as S, G as k } from "./index-BNrMlQLr.mjs";
2
2
  import { defineComponent as P, ref as u, onMounted as b, watch as w, createElementBlock as _, openBlock as f, normalizeStyle as W, createElementVNode as o, createCommentVNode as C, toDisplayString as T, createVNode as N, unref as h, renderSlot as E } from "vue";
3
3
  const H = { class: "tall_panel_content" }, $ = { class: "panel_top" }, B = { class: "panel_title" }, L = { class: "panel_close" }, z = { class: "panel_content" }, A = {
4
4
  key: 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xtctwins/tctwins-industry-engine",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "main": "dist/Industry_Viewer_Lib.umd.js",
5
5
  "style": "dist/style.css",
6
6
  "module": "dist/Industry_Viewer_Lib.es.js",