@xtctwins/tctwins-industry-engine 0.0.8 → 0.0.9

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 (23) hide show
  1. package/README.md +1 -1
  2. package/dist/{AnnotationTool-CG5vARdK.mjs → AnnotationTool-Dzd5rcwa.mjs} +2 -2
  3. package/dist/{BCFTool-BQLaEDZx.mjs → BCFTool-kLs0Y5n5.mjs} +2 -2
  4. package/dist/{CommentTool-CcWmN9an.mjs → CommentTool-BFDzk_5a.mjs} +1 -1
  5. package/dist/Industry_Viewer_Lib.es.js +1 -1
  6. package/dist/Industry_Viewer_Lib.umd.js +1 -1
  7. package/dist/{InspectorTool-bDQLZaVJ.mjs → InspectorTool-BOeo7StN.mjs} +3 -3
  8. package/dist/{MeasureTool-C4BQ_ynw.mjs → MeasureTool-qO_ci86K.mjs} +1 -1
  9. package/dist/{MouseTool-BKNINn0k.mjs → MouseTool-CLryyMPf.mjs} +1 -1
  10. package/dist/{NavigateTool-Dzpxqz_P.mjs → NavigateTool-BkwZL4ng.mjs} +1 -1
  11. package/dist/{RoamTool-Cdl62N2A.mjs → RoamTool-DyL44JV3.mjs} +1 -1
  12. package/dist/{ScreenShotTool-Bv5C5Obh.mjs → ScreenShotTool-cho_m-3z.mjs} +2 -2
  13. package/dist/{SectionTool-yzuX_KaV.mjs → SectionTool-BG8pmY3A.mjs} +3 -3
  14. package/dist/{SettingTool-MnaXWQ7Z.mjs → SettingTool-BgBA9v6q.mjs} +4 -4
  15. package/dist/{StructureTree-CPB_MVJm.mjs → StructureTree-BRY3gEgI.mjs} +4 -4
  16. package/dist/{XRayTool-vHLBinZD.mjs → XRayTool-DQeoOCKy.mjs} +1 -1
  17. package/dist/{alert-Dn13cpN1.mjs → alert-D1vSywdn.mjs} +1 -1
  18. package/dist/{el-checkbox-Day69Q-U.mjs → el-checkbox-BCef2DnV.mjs} +1 -1
  19. package/dist/{el-input-number-DiFyiybL.mjs → el-input-number-33CYHG2x.mjs} +1 -1
  20. package/dist/{index-JDDvIbJ_.mjs → index-DROkX_fP.mjs} +14 -14
  21. package/dist/{panel.vue_vue_type_style_index_0_lang-D96FeHYN.mjs → panel.vue_vue_type_style_index_0_lang-Ce406nTf.mjs} +1 -1
  22. package/dist/{tallPanel-BsnhCyIr.mjs → tallPanel-CMZIMI6R.mjs} +1 -1
  23. package/package.json +1 -1
package/README.md CHANGED
@@ -1,3 +1,3 @@
1
1
  ## @xtctwins/tctwins-industry-engine
2
2
 
3
- ### mode: uat
3
+ ### mode: prod
@@ -1,6 +1,6 @@
1
- import { _ as E } from "./alert-Dn13cpN1.mjs";
1
+ import { _ as E } from "./alert-D1vSywdn.mjs";
2
2
  import { defineComponent as N, ref as m, watch as W, onMounted as X, onBeforeUnmount as D, openBlock as _, createElementBlock as u, Fragment as b, createElementVNode as s, renderList as O, unref as I, normalizeClass as q, toDisplayString as H, withDirectives as z, createVNode as R, vShow as U } from "vue";
3
- import { p as F, q as h, t as l, O as o, z as j } from "./index-JDDvIbJ_.mjs";
3
+ import { p as F, q as h, t as l, O as o, z as j } from "./index-DROkX_fP.mjs";
4
4
  import { A as i } from "./const-DeViLYl5.mjs";
5
5
  const G = { 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,7 +1,7 @@
1
- import { p as kr, T as $e, q as er, O as te, y as Je, z as Pe, x as rr, a6 as Re, v as gr, a7 as hr, a8 as Rr, a9 as yr, aa as Ve, ab as br, ac as jr, ad as Ir, t as Ie, ae as Nr, af as Pr, ag as Sr, ah as Cr, ai as Br, aj as Tr, ak as xr, al as Mr, am as Er, an as Ar, ao as Zt, ap as Dr } from "./index-JDDvIbJ_.mjs";
1
+ import { p as kr, T as $e, q as er, O as te, y as Je, z as Pe, x as rr, a6 as Re, v as gr, a7 as hr, a8 as Rr, a9 as yr, aa as Ve, ab as br, ac as jr, ad as Ir, t as Ie, ae as Nr, af as Pr, ag as Sr, ah as Cr, ai as Br, aj as Tr, ak as xr, al as Mr, am as Er, an as Ar, ao as Zt, ap as Dr } from "./index-DROkX_fP.mjs";
2
2
  import { defineComponent as Be, watch as We, ref as ht, onMounted as Qe, openBlock as wt, createElementBlock as jt, normalizeStyle as Ge, createElementVNode as J, withDirectives as nr, toDisplayString as re, unref as Nt, createVNode as Gt, vShow as ir, renderSlot as Fr, createCommentVNode as Ce, withCtx as xe, Fragment as Me, renderList as Ee, normalizeClass as Ue, createBlock as ye, onBeforeUnmount as vr, createTextVNode as mr, createStaticVNode as Lr } from "vue";
3
3
  /* empty css */
4
- import { E as zr, a as $r } from "./el-checkbox-Day69Q-U.mjs";
4
+ import { E as zr, a as $r } from "./el-checkbox-BCef2DnV.mjs";
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 = {
7
7
  key: 0,
@@ -1,4 +1,4 @@
1
- import { p as $, t as S, q as g, O as h, x as D, v as q, z as F } from "./index-JDDvIbJ_.mjs";
1
+ import { p as $, t as S, q as g, O as h, x as D, v as q, z as F } from "./index-DROkX_fP.mjs";
2
2
  import { defineComponent as H, onMounted as W, ref as o, onBeforeUnmount as j, watch as G, openBlock as r, createElementBlock as d, createElementVNode as e, normalizeStyle as J, unref as u, createVNode as I, withCtx as K, Fragment as Q, renderList as X, normalizeClass as Y, toDisplayString as Z, createCommentVNode as B } 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 { I as e, as as t, at as o, av as i, V as l, ay as r, au as I, aw as n, ax as y } from "./index-JDDvIbJ_.mjs";
1
+ import { I as e, as as t, at as o, av as i, V as l, ay as r, au as I, aw as n, ax as y } from "./index-DROkX_fP.mjs";
2
2
  export {
3
3
  e as INDUSTRY_CONFIGS,
4
4
  t as IndustryViewer,
@@ -1,4 +1,4 @@
1
- (function(Lr,o){typeof exports=="object"&&typeof module<"u"?o(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"],o):(Lr=typeof globalThis<"u"?globalThis:Lr||self,o(Lr.Industry_Viewer_Lib={},Lr.Vue,Lr.axios,Lr.AliOss,Lr.ElementPlus,Lr.ElementPlusIconsVue,Lr.Pinia,Lr.Mitt))})(this,function(Lr,o,Wl,US,Hp,un,HS,zS){"use strict";var Whe=Object.defineProperty;var $he=(Lr,o,Wl)=>o in Lr?Whe(Lr,o,{enumerable:!0,configurable:!0,writable:!0,value:Wl}):Lr[o]=Wl;var Fn=(Lr,o,Wl)=>$he(Lr,typeof o!="symbol"?o+"":o,Wl);const GS="https://bimkk-api-abtest.tctwins.com",Vt="https://bimkk-oss-production.oss-cn-beijing.aliyuncs.com",QS="https://convert-abtest.tctwins.com",wr=zS();let So={INDUSTRY_CONFIGS:{viewerManager:!1,Toolbar:!1,RoamTool:!1},BimViewer:{viewerManager:!1}};const WS="architecture",$S={isMember:!1,isInShare:!1,isShareHost:!1,isShareClient:!1},KS={file:!1,image:!1,record:!1,text:!1,video:!1},Fy={offsetX:0,offsetY:0},XS={pos:"right-bottom",posNum:[0,0]},YS=120,JS="blue",ZS=!1,qS="right",ek="left",tk=0,rk=0,nk=0,ik=0,sk={pos:"bottom",posNum:[18]},ak={pos:"bottom",posNum:[70]},ok={pos:"bottom",posNum:[70]},lk="linear-gradient(180deg, #fffefb 0%, #daebff 100%)";Lr.INDUSTRY_CONFIGS=void 0;function uk(){Lr.INDUSTRY_CONFIGS={isMobile:!1,fileName:"model",isPc:!1,loadMeta:!0,outliersDetect:!0,appType:WS,showRoam:!0,showTree:!1,userInfo:$S,annoLimit:KS,commentOffset:Fy,measureOffset:Fy,skyboxImg:void 0,topHeight:tk,leftWidth:ik,bottomHeight:nk,rightWidth:rk,inspectorPos:qS,treePos:ek,commentPos:sk,annotationPos:ak,roamPos:ok,navCubePos:XS,navCubeSize:YS,themeColor:JS,hideTool:ZS,backButton:!1,backgroundColor:lk}}function Ry(I=""){wr.emit("INDUSTRY_CONFIGS",I)}function Oy(I){for(const G in I)Qn(G,I[G],!1);Ry()}function Qn(I,G,a=!0){G!==void 0&&(Lr.INDUSTRY_CONFIGS[I]=G,a&&(I=="isMobile"||I=="measureOffset"||I=="commentOffset"||I=="navCubePos"||I=="navCubeSize")&&Ry(I))}function Qt(I){return Lr.INDUSTRY_CONFIGS[I]}const Yn=HS.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(I){const G=this.visibleToolIds.indexOf(I);G===-1?this.visibleToolIds.push(I):this.visibleToolIds.splice(G,1)},setEnableTools(I){this.visibleToolIds=I},setEnableToolsByKey(I){let G=[];Qt("isMobile")?G=Ly(I,dk):G=Ly(I,fk);const a=[];for(let C=0;C<G.length;C++){const S=this.tools.find(v=>v.key===G[C]);S&&a.push(S.id)}this.visibleToolIds=this.visibleToolIds.concat(a)},setToolActiveStatus(I,G){const a=this.tools.find(C=>C.id===I);a?a.isActive=G!==void 0?G:!a.isActive:console.log("no such tool",I)},setToolActiveStatusBykey(I,G){const a=this.tools.find(C=>C.key===I);a?a.isActive=G!==void 0?G:!a.isActive:console.log("no such tool",I)},setAllToolClose(I=[]){if(I.length>0)for(let G=0;G<this.visibleToolIds.length;G++)I.includes(this.visibleToolIds[G])||(this.tools[this.visibleToolIds[G]].isActive=!1);else for(let G=0;G<this.visibleToolIds.length;G++)this.tools[this.visibleToolIds[G]].isActive=!1},setReadyById(I){this.tools.find(a=>a.id===I)&&this.readyToolIds.push(I)},ifToolAllReady(){for(let I=0;I<this.visibleTools.length;I++){const G=this.visibleTools[I];if(G.key!="bcf"&&G.key!="mouse"&&G.component!=""&&!this.readyTools.includes(G.id))return!1}return!0},setReadyTools(I){this.readyToolIds=[]}},getters:{visibleTools:I=>I.visibleToolIds.map(G=>I.tools.find(a=>a.id===G)).filter(G=>!!G),readyTools:I=>I.readyToolIds,visibleComponents:I=>I.tools.filter(G=>I.visibleToolIds.includes(G.id)).map(G=>G.component),getKeyById:I=>G=>{var a;return(a=I.tools.find(C=>C.id===G))==null?void 0:a.key},getToolById:I=>G=>I.tools.find(a=>a.id===G),hasActiveState:I=>G=>{const a=I.tools.find(C=>C.id===G);return a?a.hasActiveState:!1},isToolEnable:I=>G=>{const a=I.tools.find(C=>C.id===G);return a?I.visibleToolIds.includes(a.id):!1},isToolActive:I=>G=>{const a=I.tools.find(C=>C.id===G);return a?a.isActive:!1},isToolActiveBykey:I=>G=>{const a=I.tools.find(C=>C.key===G);return a?a.isActive:!1},hasToolActive:I=>(G=[0,12,13,14,15])=>I.tools.find(C=>{if(!G.find(S=>C.id==S))return C.isActive})}});function Rd(){return Yn()}function ck(){Yn().setAllToolClose(),Yn().setReadyTools([]),Yn().setEnableTools([])}let dk=["reset","navigate","measure","comment","share","tree","inspector","anno","section","roam","xray","setting","fullscreen","cooperate","bcf","mouse"],fk=["reset","tree","roam","measure","section","comment","anno","screenshot","inspector","setting","fullscreena","bcf","mouse"];function Ly(I,G){const a={};G.forEach((S,v)=>{a[S]=v});const C=I.filter(S=>a.hasOwnProperty(S)).map(S=>({value:S,index:a[S]}));return C.sort((S,v)=>S.index-v.index),C.map(S=>S.value)}let Ny=!1;So.INDUSTRY_CONFIGS.viewerManager||(wr.on("INDUSTRY_CONFIGS",I=>{window.bimViewer?Ln.ConfigViewer(I):Ny=!0}),So.INDUSTRY_CONFIGS.viewerManager=!0);const hk=()=>{Ln.SetAllClose(),Ny&&Ln.ConfigViewer()};So.BimViewer.viewerManager||(wr.on("BimViewer",hk),So.BimViewer.viewerManager=!0);class Ln{static ConfigViewer(G=""){if(G==""){if(Lr.INDUSTRY_CONFIGS.isMobile&&(window.bimViewer.setIsTouch(!0),window.bimViewer.navCubeMode.visible=!1),Lr.INDUSTRY_CONFIGS.measureOffset&&window.bimViewer.setMeasureOffSet(Qt("measureOffset").offsetX,Qt("measureOffset").offsetY),Lr.INDUSTRY_CONFIGS.commentOffset&&window.bimViewer.setCommentsOffset(Qt("commentOffset").offsetX,Qt("commentOffset").offsetY),Lr.INDUSTRY_CONFIGS.navCubePos){let a=function(){let v=0,f=0;return Qt("navCubePos").pos.includes("left")?v+=parseInt(Qt("leftWidth")):Qt("navCubePos").pos.includes("right")&&(v+=parseInt(Qt("rightWidth"))),Qt("navCubePos").pos.includes("top")?f+=parseInt(Qt("topHeight")):Qt("navCubePos").pos.includes("bottom")&&(f+=parseInt(Qt("bottomHeight"))),[v,f]};const C=Qt("navCubePos").pos?Qt("navCubePos").pos:"right-bottom",S=a();C.includes("right")&&window.bimViewer.setNavCubePosition("right",S[0]),C.includes("top")&&window.bimViewer.setNavCubePosition("top",S[1]),C.includes("left")&&window.bimViewer.setNavCubePosition("left",S[0]),C.includes("bottom")&&window.bimViewer.setNavCubePosition("bottom",S[1])}Lr.INDUSTRY_CONFIGS.navCubeSize&&window.bimViewer.setNavCubeSize(Qt("navCubeSize"));return}switch(G){case"isMobile":window.bimViewer.setIsTouch(Lr.INDUSTRY_CONFIGS.isMobile),window.bimViewer.navCubeMode.visible=!Lr.INDUSTRY_CONFIGS.isMobile;break;case"measureOffset":window.bimViewer.setCommentsOffset(Qt("measureOffset").offsetX,Qt("measureOffset").offsetY);break;case"commentOffset":window.bimViewer.setCommentsOffset(Qt("commentOffset").offsetX,Qt("commentOffset").offsetY);break;case"navCubePos":const a=Qt("navCubePos").pos?Qt("navCubePos").pos:"right-bottom",C=Qt("navCubePos").posNum?Qt("navCubePos").posNum:[0,a.includes("top")?Qt("topHeight"):0];a.includes("right")&&window.bimViewer.setNavCubePosition("right",C[0]),a.includes("left")&&window.bimViewer.setNavCubePosition("left",C[0]),a.includes("top")&&window.bimViewer.setNavCubePosition("top",C[1]),a.includes("bottom")&&window.bimViewer.setNavCubePosition("bottom",C[1]);break;case"navCubeSize":window.bimViewer.setNavCubeSize(Qt("navCubeSize"));break}}static SaveViewerState(G){G.measure&&(this.viewerState.measureType=G.measure)}static SetToolActiveById(G,a=!Yn().isToolActive(G)){const C=Yn().getKeyById(G);C?this.SetToolActiveByKey(C,a):console.log("no such key:",G)}static SetToolActiveByKey(G,a=!Yn().isToolActiveBykey(G)){switch(G){case"tree":break;case"reset":window.bimViewer.resetView();break;case"roam":window.bimViewer.SetFirstPersonModeActive(a);break;case"measure":window.bimViewer.measureTool.setActive(a),a&&window.bimViewer.measureTool.setActiveByType(this.viewerState.measureType,a);break;case"section":window.bimViewer.SetSectionToolActive(a);break;case"comment":a?setTimeout(()=>{window.bimViewer.SetCommentsToolActive(a)},100):window.bimViewer.SetCommentsToolActive(a);break;case"anno":window.bimViewer.SetAnnotationToolActive(a);break;case"screenshot":break;case"inspector":break;case"fullscreen":Qt("isPc")&&(a?document.documentElement.requestFullscreen():document.exitFullscreen&&document.exitFullscreen());break;case"xray":window.bimViewer.disableClickEvent=a;break}}static SetAllClose(){window.bimViewer.closeAll()}static DestroyViewer(){window.bimViewer.destroy(),console.log("旧模型已销毁")}static showRequestBusy(G,a){window.bimViewer.showSpinner(G),a&&a()}}Fn(Ln,"viewerState",{measureType:"distance"}),Fn(Ln,"entityState",{xrayedObjectIds:[],highlightedObjectIds:[],selectedObjectIds:[],visibleObjectIds:[],edgesObjectIds:[]});const pk=["src"],Ak=["src"],mk=["src"],gk=["src"],vk=["src"],yk=["src"],bk=["src"],_k=o.defineComponent({__name:"ClickEvent",setup(I,{expose:G}){Yn();const a=o.ref(!0);o.onMounted(()=>{});let C="",S,v;const f=()=>{v=window.bimViewer,v.eventTrigger.on("pickedNothing",()=>{a.value&&(l.value=!1,w.value=[],Ln.entityState.selectedObjectIds=[],v.setAllObjectsSelected(!1))}),v.eventTrigger.on("touchEntity",Q=>{a.value&&(S=Q,C=S.id,A(C))}),v.viewer.cameraControl.on("touchmoveCanvas",()=>{})};wr.on("BimViewer",f);const h=o.ref(0),d=o.ref(0),l=o.ref(!1),u=o.ref(!0),c=o.ref(!0),p=o.ref(!1),A=Q=>{(!S||S&&Q!==S.id)&&(S=v.viewer.scene.objects[Q]),C=Q,w.value.length>0&&!w.value.find(D=>D==C)&&w.value.push(C),u.value=!S.xrayed,c.value=!S.highlighted;const{aabb:N}=S,j=[(N[0]+N[3])/2,(N[1]+N[4])/2,(N[2]+N[5])/2],$=v.viewer.scene.camera.projectWorldPos(j);let X=$[0]-172/2,W=$[1]-198/2;X<0?X=0:X>window.innerWidth-198&&(X=window.innerWidth-198),W<0?W=0:W>window.innerHeight-172-72&&(W=window.innerHeight-172-72),h.value=X,d.value=W,l.value=!0,v.setEntitySelected(S,!0)},g=()=>{w.value.find(Q=>Q==S.id)||(w.value=w.value.filter(Q=>Q!=S.id),Ln.entityState.selectedObjectIds=w.value),_()},_=()=>{S=null,C="",u.value=!0,c.value=!0,l.value=!1,b.value=-1,wr.emit("unFocus")},b=o.ref(-1),w=o.ref([]),B=Q=>{b.value=Q},k=Q=>{switch(w.value.length>0&&(w.value.push(C),Ln.entityState.selectedObjectIds.find(N=>N==S.id)||Ln.entityState.selectedObjectIds.push(S.id)),Q!==5&&Q!==0&&(window.bimViewer.disableClickEvent=!1,v.setAllObjectsSelected(!1)),Q==5&&w.value.length==0&&(window.bimViewer.disableClickEvent=!0),Q){case 0:w.value.length>0?v.viewFitObjects(w.value):v.viewFitEntity(S),setTimeout(()=>{v.setAllObjectsSelected(!1)},1e3);break;case 1:w.value.length>0?v.setObjectsVisible(Ln.entityState.selectedObjectIds,!1):v.setEntityVisible(S,!1);break;case 2:p.value?v.setAllObjectsVisible(!0):(v.setAllObjectsVisible(!1),w.value.length>0?v.setObjectsVisible(Ln.entityState.selectedObjectIds,!0):v.setEntityVisible(S,!0),v.setAllObjectsSelected(!1)),p.value=!p.value;break;case 3:w.value.length>0?(v.viewer.scene.setObjectsXRayed(w.value,u.value),w.value.forEach(N=>{const j=v.viewer.scene.objects[N];j.edges=j.xrayed?!0:v.edgesActive,v.setEntityHighlighted(j,!1)})):(v.setEntityXRayed(S),S.edges=S.xrayed?!0:v.edgesActive,v.setEntityHighlighted(S,!1));break;case 4:w.value.length>0?w.value.forEach(N=>{const j=v.viewer.scene.objects[N];v.setEntityHighlighted(j,c.value),j.xrayed&&(v.setEntityXRayed(j,!1),j.edges=v.edgesActive)}):(v.setEntityHighlighted(S),S.xrayed&&(v.setEntityXRayed(S,!1),S.edges=v.edgesActive));break;case 5:w.value.find(N=>N==C)||(w.value.push(C),v.setObjectsSelected(w.value,!0)),Ln.entityState.selectedObjectIds=w.value,wr.emit("multiSelect");break}Q!==5&&Q!==0&&(v.setEntitySelected(S,!1),w.value=[],Ln.entityState.selectedObjectIds=w.value),Ln.entityState.xrayedObjectIds=v.viewer.scene.xrayedObjectIds,Ln.entityState.highlightedObjectIds=v.viewer.scene.highlightedObjectIds,Ln.entityState.selectedObjectIds=v.viewer.scene.selectedObjectIds,Ln.entityState.visibleObjectIds=v.viewer.scene.visibleObjectIds,Ln.entityState.edgesObjectIds=v.viewer.scene.edgesObjectIds,setTimeout(()=>{_()},300)},T=()=>{_()},L=()=>{a.value=!1},V=()=>{a.value=!0};return wr.on("focusEntity",A),o.onBeforeUnmount(()=>{wr.off("BimViewer",f),wr.off("focusEntity",A)}),G({reset:T,enable:V,disable:L}),(Q,N)=>o.withDirectives((o.openBlock(),o.createElementBlock("div",{class:"entity_tools",style:o.normalizeStyle({left:`${h.value}px`,top:`${d.value}px`})},[o.createElementVNode("div",{class:"close_btns",onClick:g},[o.createElementVNode("img",{src:`${o.unref(Vt)}/industry-viewer/detail-bar/close-dark-circle.svg`},null,8,pk)]),o.createElementVNode("div",{class:o.normalizeClass([{detail_btn_active:b.value==0},"detail_btn fit"]),onPointerdown:N[0]||(N[0]=j=>B(0)),onPointerup:N[1]||(N[1]=j=>k(0))},[o.createElementVNode("img",{src:`${o.unref(Vt)}/industry-viewer/detail-bar/fit.svg`},null,8,Ak),N[12]||(N[12]=o.createElementVNode("span",null,"聚焦",-1))],34),o.createElementVNode("div",{class:o.normalizeClass([{detail_btn_active:b.value==1},"detail_btn hide_self"]),onPointerdown:N[2]||(N[2]=j=>B(1)),onPointerup:N[3]||(N[3]=j=>k(1))},[o.createElementVNode("img",{src:`${o.unref(Vt)}/industry-viewer/detail-bar/hide-self.svg`},null,8,mk),N[13]||(N[13]=o.createElementVNode("span",null,"隐藏",-1))],34),o.createElementVNode("div",{class:o.normalizeClass([{detail_btn_active:b.value==2},"detail_btn hide_other"]),onPointerdown:N[4]||(N[4]=j=>B(2)),onPointerup:N[5]||(N[5]=j=>k(2))},[o.createElementVNode("img",{src:`${o.unref(Vt)}/industry-viewer/detail-bar/hide-other.svg`},null,8,gk),o.createElementVNode("span",null,o.toDisplayString(p.value?"取消":"仅显示"),1)],34),o.createElementVNode("div",{class:o.normalizeClass([{detail_btn_active:b.value==3},"detail_btn edge_solid"]),onPointerdown:N[6]||(N[6]=j=>B(3)),onPointerup:N[7]||(N[7]=j=>k(3))},[o.createElementVNode("img",{src:`${o.unref(Vt)}/industry-viewer/detail-bar/${u.value?"edge":"solid"}.svg`},null,8,vk),o.createElementVNode("span",null,o.toDisplayString(u.value?"线框":"填充"),1)],34),o.createElementVNode("div",{class:o.normalizeClass([{detail_btn_active:b.value==4},"detail_btn opacity_fill"]),onPointerdown:N[8]||(N[8]=j=>B(4)),onPointerup:N[9]||(N[9]=j=>k(4))},[o.createElementVNode("img",{src:`${o.unref(Vt)}/industry-viewer/detail-bar/${c.value?"opacity":"fill"}.svg`},null,8,yk),o.createElementVNode("span",null,o.toDisplayString(c.value?"透明":"实体"),1)],34),o.createElementVNode("div",{class:o.normalizeClass([{detail_btn_active:b.value==5},"detail_btn multi_select"]),onPointerdown:N[10]||(N[10]=j=>B(5)),onPointerup:N[11]||(N[11]=j=>k(5))},[o.createElementVNode("img",{src:`${o.unref(Vt)}/industry-viewer/detail-bar/multiSelect.svg`},null,8,bk),N[14]||(N[14]=o.createElementVNode("span",null,"多选",-1))],34)],4)),[[o.vShow,l.value]])}}),wk=Symbol(),zp="el",xk="is-",ol=(I,G,a,C,S)=>{let v=`${I}-${G}`;return a&&(v+=`-${a}`),C&&(v+=`__${C}`),S&&(v+=`--${S}`),v},Ck=Symbol("namespaceContextKey"),Gp=I=>{const G=o.getCurrentInstance()?o.inject(Ck,o.ref(zp)):o.ref(zp);return o.computed(()=>o.unref(G)||zp)},$r=(I,G)=>{const a=Gp();return{namespace:a,b:(_="")=>ol(a.value,I,_,"",""),e:_=>_?ol(a.value,I,"",_,""):"",m:_=>_?ol(a.value,I,"","",_):"",be:(_,b)=>_&&b?ol(a.value,I,_,b,""):"",em:(_,b)=>_&&b?ol(a.value,I,"",_,b):"",bm:(_,b)=>_&&b?ol(a.value,I,_,"",b):"",bem:(_,b,w)=>_&&b&&w?ol(a.value,I,_,b,w):"",is:(_,...b)=>{const w=b.length>=1?b[0]:!0;return _&&w?`${xk}${_}`:""},cssVar:_=>{const b={};for(const w in _)_[w]&&(b[`--${a.value}-${w}`]=_[w]);return b},cssVarName:_=>`--${a.value}-${_}`,cssVarBlock:_=>{const b={};for(const w in _)_[w]&&(b[`--${a.value}-${I}-${w}`]=_[w]);return b},cssVarBlockName:_=>`--${a.value}-${I}-${_}`}};/**
1
+ (function(Lr,o){typeof exports=="object"&&typeof module<"u"?o(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"],o):(Lr=typeof globalThis<"u"?globalThis:Lr||self,o(Lr.Industry_Viewer_Lib={},Lr.Vue,Lr.axios,Lr.AliOss,Lr.ElementPlus,Lr.ElementPlusIconsVue,Lr.Pinia,Lr.Mitt))})(this,function(Lr,o,Wl,US,Hp,un,HS,zS){"use strict";var Whe=Object.defineProperty;var $he=(Lr,o,Wl)=>o in Lr?Whe(Lr,o,{enumerable:!0,configurable:!0,writable:!0,value:Wl}):Lr[o]=Wl;var Fn=(Lr,o,Wl)=>$he(Lr,typeof o!="symbol"?o+"":o,Wl);const GS="https://bimkk-api.tctwins.com",Vt="https://bimkk-oss-production.oss-cn-beijing.aliyuncs.com",QS="https://convert.tctwins.com",wr=zS();let So={INDUSTRY_CONFIGS:{viewerManager:!1,Toolbar:!1,RoamTool:!1},BimViewer:{viewerManager:!1}};const WS="architecture",$S={isMember:!1,isInShare:!1,isShareHost:!1,isShareClient:!1},KS={file:!1,image:!1,record:!1,text:!1,video:!1},Fy={offsetX:0,offsetY:0},XS={pos:"right-bottom",posNum:[0,0]},YS=120,JS="blue",ZS=!1,qS="right",ek="left",tk=0,rk=0,nk=0,ik=0,sk={pos:"bottom",posNum:[18]},ak={pos:"bottom",posNum:[70]},ok={pos:"bottom",posNum:[70]},lk="linear-gradient(180deg, #fffefb 0%, #daebff 100%)";Lr.INDUSTRY_CONFIGS=void 0;function uk(){Lr.INDUSTRY_CONFIGS={isMobile:!1,fileName:"model",isPc:!1,loadMeta:!0,outliersDetect:!0,appType:WS,showRoam:!0,showTree:!1,userInfo:$S,annoLimit:KS,commentOffset:Fy,measureOffset:Fy,skyboxImg:void 0,topHeight:tk,leftWidth:ik,bottomHeight:nk,rightWidth:rk,inspectorPos:qS,treePos:ek,commentPos:sk,annotationPos:ak,roamPos:ok,navCubePos:XS,navCubeSize:YS,themeColor:JS,hideTool:ZS,backButton:!1,backgroundColor:lk}}function Ry(I=""){wr.emit("INDUSTRY_CONFIGS",I)}function Oy(I){for(const G in I)Qn(G,I[G],!1);Ry()}function Qn(I,G,a=!0){G!==void 0&&(Lr.INDUSTRY_CONFIGS[I]=G,a&&(I=="isMobile"||I=="measureOffset"||I=="commentOffset"||I=="navCubePos"||I=="navCubeSize")&&Ry(I))}function Qt(I){return Lr.INDUSTRY_CONFIGS[I]}const Yn=HS.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(I){const G=this.visibleToolIds.indexOf(I);G===-1?this.visibleToolIds.push(I):this.visibleToolIds.splice(G,1)},setEnableTools(I){this.visibleToolIds=I},setEnableToolsByKey(I){let G=[];Qt("isMobile")?G=Ly(I,dk):G=Ly(I,fk);const a=[];for(let C=0;C<G.length;C++){const S=this.tools.find(v=>v.key===G[C]);S&&a.push(S.id)}this.visibleToolIds=this.visibleToolIds.concat(a)},setToolActiveStatus(I,G){const a=this.tools.find(C=>C.id===I);a?a.isActive=G!==void 0?G:!a.isActive:console.log("no such tool",I)},setToolActiveStatusBykey(I,G){const a=this.tools.find(C=>C.key===I);a?a.isActive=G!==void 0?G:!a.isActive:console.log("no such tool",I)},setAllToolClose(I=[]){if(I.length>0)for(let G=0;G<this.visibleToolIds.length;G++)I.includes(this.visibleToolIds[G])||(this.tools[this.visibleToolIds[G]].isActive=!1);else for(let G=0;G<this.visibleToolIds.length;G++)this.tools[this.visibleToolIds[G]].isActive=!1},setReadyById(I){this.tools.find(a=>a.id===I)&&this.readyToolIds.push(I)},ifToolAllReady(){for(let I=0;I<this.visibleTools.length;I++){const G=this.visibleTools[I];if(G.key!="bcf"&&G.key!="mouse"&&G.component!=""&&!this.readyTools.includes(G.id))return!1}return!0},setReadyTools(I){this.readyToolIds=[]}},getters:{visibleTools:I=>I.visibleToolIds.map(G=>I.tools.find(a=>a.id===G)).filter(G=>!!G),readyTools:I=>I.readyToolIds,visibleComponents:I=>I.tools.filter(G=>I.visibleToolIds.includes(G.id)).map(G=>G.component),getKeyById:I=>G=>{var a;return(a=I.tools.find(C=>C.id===G))==null?void 0:a.key},getToolById:I=>G=>I.tools.find(a=>a.id===G),hasActiveState:I=>G=>{const a=I.tools.find(C=>C.id===G);return a?a.hasActiveState:!1},isToolEnable:I=>G=>{const a=I.tools.find(C=>C.id===G);return a?I.visibleToolIds.includes(a.id):!1},isToolActive:I=>G=>{const a=I.tools.find(C=>C.id===G);return a?a.isActive:!1},isToolActiveBykey:I=>G=>{const a=I.tools.find(C=>C.key===G);return a?a.isActive:!1},hasToolActive:I=>(G=[0,12,13,14,15])=>I.tools.find(C=>{if(!G.find(S=>C.id==S))return C.isActive})}});function Rd(){return Yn()}function ck(){Yn().setAllToolClose(),Yn().setReadyTools([]),Yn().setEnableTools([])}let dk=["reset","navigate","measure","comment","share","tree","inspector","anno","section","roam","xray","setting","fullscreen","cooperate","bcf","mouse"],fk=["reset","tree","roam","measure","section","comment","anno","screenshot","inspector","setting","fullscreena","bcf","mouse"];function Ly(I,G){const a={};G.forEach((S,v)=>{a[S]=v});const C=I.filter(S=>a.hasOwnProperty(S)).map(S=>({value:S,index:a[S]}));return C.sort((S,v)=>S.index-v.index),C.map(S=>S.value)}let Ny=!1;So.INDUSTRY_CONFIGS.viewerManager||(wr.on("INDUSTRY_CONFIGS",I=>{window.bimViewer?Ln.ConfigViewer(I):Ny=!0}),So.INDUSTRY_CONFIGS.viewerManager=!0);const hk=()=>{Ln.SetAllClose(),Ny&&Ln.ConfigViewer()};So.BimViewer.viewerManager||(wr.on("BimViewer",hk),So.BimViewer.viewerManager=!0);class Ln{static ConfigViewer(G=""){if(G==""){if(Lr.INDUSTRY_CONFIGS.isMobile&&(window.bimViewer.setIsTouch(!0),window.bimViewer.navCubeMode.visible=!1),Lr.INDUSTRY_CONFIGS.measureOffset&&window.bimViewer.setMeasureOffSet(Qt("measureOffset").offsetX,Qt("measureOffset").offsetY),Lr.INDUSTRY_CONFIGS.commentOffset&&window.bimViewer.setCommentsOffset(Qt("commentOffset").offsetX,Qt("commentOffset").offsetY),Lr.INDUSTRY_CONFIGS.navCubePos){let a=function(){let v=0,f=0;return Qt("navCubePos").pos.includes("left")?v+=parseInt(Qt("leftWidth")):Qt("navCubePos").pos.includes("right")&&(v+=parseInt(Qt("rightWidth"))),Qt("navCubePos").pos.includes("top")?f+=parseInt(Qt("topHeight")):Qt("navCubePos").pos.includes("bottom")&&(f+=parseInt(Qt("bottomHeight"))),[v,f]};const C=Qt("navCubePos").pos?Qt("navCubePos").pos:"right-bottom",S=a();C.includes("right")&&window.bimViewer.setNavCubePosition("right",S[0]),C.includes("top")&&window.bimViewer.setNavCubePosition("top",S[1]),C.includes("left")&&window.bimViewer.setNavCubePosition("left",S[0]),C.includes("bottom")&&window.bimViewer.setNavCubePosition("bottom",S[1])}Lr.INDUSTRY_CONFIGS.navCubeSize&&window.bimViewer.setNavCubeSize(Qt("navCubeSize"));return}switch(G){case"isMobile":window.bimViewer.setIsTouch(Lr.INDUSTRY_CONFIGS.isMobile),window.bimViewer.navCubeMode.visible=!Lr.INDUSTRY_CONFIGS.isMobile;break;case"measureOffset":window.bimViewer.setCommentsOffset(Qt("measureOffset").offsetX,Qt("measureOffset").offsetY);break;case"commentOffset":window.bimViewer.setCommentsOffset(Qt("commentOffset").offsetX,Qt("commentOffset").offsetY);break;case"navCubePos":const a=Qt("navCubePos").pos?Qt("navCubePos").pos:"right-bottom",C=Qt("navCubePos").posNum?Qt("navCubePos").posNum:[0,a.includes("top")?Qt("topHeight"):0];a.includes("right")&&window.bimViewer.setNavCubePosition("right",C[0]),a.includes("left")&&window.bimViewer.setNavCubePosition("left",C[0]),a.includes("top")&&window.bimViewer.setNavCubePosition("top",C[1]),a.includes("bottom")&&window.bimViewer.setNavCubePosition("bottom",C[1]);break;case"navCubeSize":window.bimViewer.setNavCubeSize(Qt("navCubeSize"));break}}static SaveViewerState(G){G.measure&&(this.viewerState.measureType=G.measure)}static SetToolActiveById(G,a=!Yn().isToolActive(G)){const C=Yn().getKeyById(G);C?this.SetToolActiveByKey(C,a):console.log("no such key:",G)}static SetToolActiveByKey(G,a=!Yn().isToolActiveBykey(G)){switch(G){case"tree":break;case"reset":window.bimViewer.resetView();break;case"roam":window.bimViewer.SetFirstPersonModeActive(a);break;case"measure":window.bimViewer.measureTool.setActive(a),a&&window.bimViewer.measureTool.setActiveByType(this.viewerState.measureType,a);break;case"section":window.bimViewer.SetSectionToolActive(a);break;case"comment":a?setTimeout(()=>{window.bimViewer.SetCommentsToolActive(a)},100):window.bimViewer.SetCommentsToolActive(a);break;case"anno":window.bimViewer.SetAnnotationToolActive(a);break;case"screenshot":break;case"inspector":break;case"fullscreen":Qt("isPc")&&(a?document.documentElement.requestFullscreen():document.exitFullscreen&&document.exitFullscreen());break;case"xray":window.bimViewer.disableClickEvent=a;break}}static SetAllClose(){window.bimViewer.closeAll()}static DestroyViewer(){window.bimViewer.destroy(),console.log("旧模型已销毁")}static showRequestBusy(G,a){window.bimViewer.showSpinner(G),a&&a()}}Fn(Ln,"viewerState",{measureType:"distance"}),Fn(Ln,"entityState",{xrayedObjectIds:[],highlightedObjectIds:[],selectedObjectIds:[],visibleObjectIds:[],edgesObjectIds:[]});const pk=["src"],Ak=["src"],mk=["src"],gk=["src"],vk=["src"],yk=["src"],bk=["src"],_k=o.defineComponent({__name:"ClickEvent",setup(I,{expose:G}){Yn();const a=o.ref(!0);o.onMounted(()=>{});let C="",S,v;const f=()=>{v=window.bimViewer,v.eventTrigger.on("pickedNothing",()=>{a.value&&(l.value=!1,w.value=[],Ln.entityState.selectedObjectIds=[],v.setAllObjectsSelected(!1))}),v.eventTrigger.on("touchEntity",Q=>{a.value&&(S=Q,C=S.id,A(C))}),v.viewer.cameraControl.on("touchmoveCanvas",()=>{})};wr.on("BimViewer",f);const h=o.ref(0),d=o.ref(0),l=o.ref(!1),u=o.ref(!0),c=o.ref(!0),p=o.ref(!1),A=Q=>{(!S||S&&Q!==S.id)&&(S=v.viewer.scene.objects[Q]),C=Q,w.value.length>0&&!w.value.find(D=>D==C)&&w.value.push(C),u.value=!S.xrayed,c.value=!S.highlighted;const{aabb:N}=S,j=[(N[0]+N[3])/2,(N[1]+N[4])/2,(N[2]+N[5])/2],$=v.viewer.scene.camera.projectWorldPos(j);let X=$[0]-172/2,W=$[1]-198/2;X<0?X=0:X>window.innerWidth-198&&(X=window.innerWidth-198),W<0?W=0:W>window.innerHeight-172-72&&(W=window.innerHeight-172-72),h.value=X,d.value=W,l.value=!0,v.setEntitySelected(S,!0)},g=()=>{w.value.find(Q=>Q==S.id)||(w.value=w.value.filter(Q=>Q!=S.id),Ln.entityState.selectedObjectIds=w.value),_()},_=()=>{S=null,C="",u.value=!0,c.value=!0,l.value=!1,b.value=-1,wr.emit("unFocus")},b=o.ref(-1),w=o.ref([]),B=Q=>{b.value=Q},k=Q=>{switch(w.value.length>0&&(w.value.push(C),Ln.entityState.selectedObjectIds.find(N=>N==S.id)||Ln.entityState.selectedObjectIds.push(S.id)),Q!==5&&Q!==0&&(window.bimViewer.disableClickEvent=!1,v.setAllObjectsSelected(!1)),Q==5&&w.value.length==0&&(window.bimViewer.disableClickEvent=!0),Q){case 0:w.value.length>0?v.viewFitObjects(w.value):v.viewFitEntity(S),setTimeout(()=>{v.setAllObjectsSelected(!1)},1e3);break;case 1:w.value.length>0?v.setObjectsVisible(Ln.entityState.selectedObjectIds,!1):v.setEntityVisible(S,!1);break;case 2:p.value?v.setAllObjectsVisible(!0):(v.setAllObjectsVisible(!1),w.value.length>0?v.setObjectsVisible(Ln.entityState.selectedObjectIds,!0):v.setEntityVisible(S,!0),v.setAllObjectsSelected(!1)),p.value=!p.value;break;case 3:w.value.length>0?(v.viewer.scene.setObjectsXRayed(w.value,u.value),w.value.forEach(N=>{const j=v.viewer.scene.objects[N];j.edges=j.xrayed?!0:v.edgesActive,v.setEntityHighlighted(j,!1)})):(v.setEntityXRayed(S),S.edges=S.xrayed?!0:v.edgesActive,v.setEntityHighlighted(S,!1));break;case 4:w.value.length>0?w.value.forEach(N=>{const j=v.viewer.scene.objects[N];v.setEntityHighlighted(j,c.value),j.xrayed&&(v.setEntityXRayed(j,!1),j.edges=v.edgesActive)}):(v.setEntityHighlighted(S),S.xrayed&&(v.setEntityXRayed(S,!1),S.edges=v.edgesActive));break;case 5:w.value.find(N=>N==C)||(w.value.push(C),v.setObjectsSelected(w.value,!0)),Ln.entityState.selectedObjectIds=w.value,wr.emit("multiSelect");break}Q!==5&&Q!==0&&(v.setEntitySelected(S,!1),w.value=[],Ln.entityState.selectedObjectIds=w.value),Ln.entityState.xrayedObjectIds=v.viewer.scene.xrayedObjectIds,Ln.entityState.highlightedObjectIds=v.viewer.scene.highlightedObjectIds,Ln.entityState.selectedObjectIds=v.viewer.scene.selectedObjectIds,Ln.entityState.visibleObjectIds=v.viewer.scene.visibleObjectIds,Ln.entityState.edgesObjectIds=v.viewer.scene.edgesObjectIds,setTimeout(()=>{_()},300)},T=()=>{_()},L=()=>{a.value=!1},V=()=>{a.value=!0};return wr.on("focusEntity",A),o.onBeforeUnmount(()=>{wr.off("BimViewer",f),wr.off("focusEntity",A)}),G({reset:T,enable:V,disable:L}),(Q,N)=>o.withDirectives((o.openBlock(),o.createElementBlock("div",{class:"entity_tools",style:o.normalizeStyle({left:`${h.value}px`,top:`${d.value}px`})},[o.createElementVNode("div",{class:"close_btns",onClick:g},[o.createElementVNode("img",{src:`${o.unref(Vt)}/industry-viewer/detail-bar/close-dark-circle.svg`},null,8,pk)]),o.createElementVNode("div",{class:o.normalizeClass([{detail_btn_active:b.value==0},"detail_btn fit"]),onPointerdown:N[0]||(N[0]=j=>B(0)),onPointerup:N[1]||(N[1]=j=>k(0))},[o.createElementVNode("img",{src:`${o.unref(Vt)}/industry-viewer/detail-bar/fit.svg`},null,8,Ak),N[12]||(N[12]=o.createElementVNode("span",null,"聚焦",-1))],34),o.createElementVNode("div",{class:o.normalizeClass([{detail_btn_active:b.value==1},"detail_btn hide_self"]),onPointerdown:N[2]||(N[2]=j=>B(1)),onPointerup:N[3]||(N[3]=j=>k(1))},[o.createElementVNode("img",{src:`${o.unref(Vt)}/industry-viewer/detail-bar/hide-self.svg`},null,8,mk),N[13]||(N[13]=o.createElementVNode("span",null,"隐藏",-1))],34),o.createElementVNode("div",{class:o.normalizeClass([{detail_btn_active:b.value==2},"detail_btn hide_other"]),onPointerdown:N[4]||(N[4]=j=>B(2)),onPointerup:N[5]||(N[5]=j=>k(2))},[o.createElementVNode("img",{src:`${o.unref(Vt)}/industry-viewer/detail-bar/hide-other.svg`},null,8,gk),o.createElementVNode("span",null,o.toDisplayString(p.value?"取消":"仅显示"),1)],34),o.createElementVNode("div",{class:o.normalizeClass([{detail_btn_active:b.value==3},"detail_btn edge_solid"]),onPointerdown:N[6]||(N[6]=j=>B(3)),onPointerup:N[7]||(N[7]=j=>k(3))},[o.createElementVNode("img",{src:`${o.unref(Vt)}/industry-viewer/detail-bar/${u.value?"edge":"solid"}.svg`},null,8,vk),o.createElementVNode("span",null,o.toDisplayString(u.value?"线框":"填充"),1)],34),o.createElementVNode("div",{class:o.normalizeClass([{detail_btn_active:b.value==4},"detail_btn opacity_fill"]),onPointerdown:N[8]||(N[8]=j=>B(4)),onPointerup:N[9]||(N[9]=j=>k(4))},[o.createElementVNode("img",{src:`${o.unref(Vt)}/industry-viewer/detail-bar/${c.value?"opacity":"fill"}.svg`},null,8,yk),o.createElementVNode("span",null,o.toDisplayString(c.value?"透明":"实体"),1)],34),o.createElementVNode("div",{class:o.normalizeClass([{detail_btn_active:b.value==5},"detail_btn multi_select"]),onPointerdown:N[10]||(N[10]=j=>B(5)),onPointerup:N[11]||(N[11]=j=>k(5))},[o.createElementVNode("img",{src:`${o.unref(Vt)}/industry-viewer/detail-bar/multiSelect.svg`},null,8,bk),N[14]||(N[14]=o.createElementVNode("span",null,"多选",-1))],34)],4)),[[o.vShow,l.value]])}}),wk=Symbol(),zp="el",xk="is-",ol=(I,G,a,C,S)=>{let v=`${I}-${G}`;return a&&(v+=`-${a}`),C&&(v+=`__${C}`),S&&(v+=`--${S}`),v},Ck=Symbol("namespaceContextKey"),Gp=I=>{const G=o.getCurrentInstance()?o.inject(Ck,o.ref(zp)):o.ref(zp);return o.computed(()=>o.unref(G)||zp)},$r=(I,G)=>{const a=Gp();return{namespace:a,b:(_="")=>ol(a.value,I,_,"",""),e:_=>_?ol(a.value,I,"",_,""):"",m:_=>_?ol(a.value,I,"","",_):"",be:(_,b)=>_&&b?ol(a.value,I,_,b,""):"",em:(_,b)=>_&&b?ol(a.value,I,"",_,b):"",bm:(_,b)=>_&&b?ol(a.value,I,_,"",b):"",bem:(_,b,w)=>_&&b&&w?ol(a.value,I,_,b,w):"",is:(_,...b)=>{const w=b.length>=1?b[0]:!0;return _&&w?`${xk}${_}`:""},cssVar:_=>{const b={};for(const w in _)_[w]&&(b[`--${a.value}-${w}`]=_[w]);return b},cssVarName:_=>`--${a.value}-${_}`,cssVarBlock:_=>{const b={};for(const w in _)_[w]&&(b[`--${a.value}-${I}-${w}`]=_[w]);return b},cssVarBlockName:_=>`--${a.value}-${I}-${_}`}};/**
2
2
  * @vue/shared v3.5.13
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
@@ -1,6 +1,6 @@
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-JDDvIbJ_.mjs";
2
- import { _ as se } from "./tallPanel-BsnhCyIr.mjs";
3
- import { _ as oe } from "./panel.vue_vue_type_style_index_0_lang-D96FeHYN.mjs";
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-DROkX_fP.mjs";
2
+ import { _ as se } from "./tallPanel-CMZIMI6R.mjs";
3
+ import { _ as oe } from "./panel.vue_vue_type_style_index_0_lang-Ce406nTf.mjs";
4
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
5
  const G = {
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, openBlock as I, createElementBlock as A, Fragment as U, createElementVNode as t, renderList as Me, unref as a, normalizeClass as fe, toDisplayString as ye, createCommentVNode as he, normalizeStyle as F, withDirectives as we, vShow as Te } from "vue";
2
- import { p as pe, T as O, t as q, O as y, V as P, q as g, z as be } from "./index-JDDvIbJ_.mjs";
2
+ import { p as pe, T as O, t as q, O as y, V as P, q as g, z as be } from "./index-DROkX_fP.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, openBlock as M, createElementBlock as $, withDirectives as F, createElementVNode as p, normalizeStyle as D, unref as L, vShow as N } from "vue";
2
- import { p as R, t as s, O as V, V as k } from "./index-JDDvIbJ_.mjs";
2
+ import { p as R, t as s, O as V, V as k } from "./index-DROkX_fP.mjs";
3
3
  const U = { class: "mouse_tool" }, z = ["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, openBlock as i, createElementBlock 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 { p as S, O as T } from "./index-JDDvIbJ_.mjs";
3
+ import { p as S, O as T } from "./index-DROkX_fP.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" }, D = /* @__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, openBlock as x, createElementBlock as O, createElementVNode as o, unref as d, toDisplayString as G } from "vue";
2
- import { p as Y, q as v, I as B, t as f, O as l, C as I, z as H } from "./index-JDDvIbJ_.mjs";
2
+ import { p as Y, q as v, I as B, t as f, O as l, C as I, z as H } from "./index-DROkX_fP.mjs";
3
3
  const A = { class: "roam_container_wrapper" }, $ = { class: "mobile_roam-box" }, q = { class: "roam-left" }, z = { class: "roam-left-box" }, X = {
4
4
  id: "roamMoveForward",
5
5
  class: "roam-left-item"
@@ -1,5 +1,5 @@
1
- import { _ as me } from "./panel.vue_vue_type_style_index_0_lang-D96FeHYN.mjs";
2
- import { D as G, U as $, d as M, F as j, i as H, G as pe, H as W, f as O, J as fe, K as ve, L as be, u as L, _ as P, M as _e, N as he, P as ge, Q as ye, j as Se, w as Ve, R as X, p as Re, v as ke } from "./index-JDDvIbJ_.mjs";
1
+ import { _ as me } from "./panel.vue_vue_type_style_index_0_lang-Ce406nTf.mjs";
2
+ import { D as G, U as $, d as M, F as j, i as H, G as pe, H as W, f as O, J as fe, K as ve, L as be, u as L, _ as P, M as _e, N as he, P as ge, Q as ye, j as Se, w as Ve, R as X, p as Re, v as ke } from "./index-DROkX_fP.mjs";
3
3
  import { ref as R, inject as Ee, computed as g, defineComponent as E, openBlock as k, createElementBlock as B, normalizeClass as y, unref as e, createElementVNode as v, withDirectives as Y, isRef as q, withModifiers as w, vModelRadio as J, renderSlot as x, createTextVNode as N, toDisplayString as F, nextTick as Q, normalizeStyle as Ie, onMounted as Z, provide as Be, reactive as Ce, toRefs as we, watch as ee, createBlock as Ne, withCtx as U, createVNode as C, Fragment as Ge, renderList as Ue, createCommentVNode as ze } from "vue";
4
4
  import { a as z } from "./const-DeViLYl5.mjs";
5
5
  const oe = G({
@@ -1,6 +1,6 @@
1
- import { _ as W } from "./alert-Dn13cpN1.mjs";
2
- import { p as X, T as E, q as b, t as B, O as m, y as Y, x as Z, z as G } from "./index-JDDvIbJ_.mjs";
3
- import { E as H } from "./el-input-number-DiFyiybL.mjs";
1
+ import { _ as W } from "./alert-D1vSywdn.mjs";
2
+ import { p as X, T as E, q as b, t as B, O as m, y as Y, x as Z, z as G } from "./index-DROkX_fP.mjs";
3
+ import { E as H } from "./el-input-number-33CYHG2x.mjs";
4
4
  import { defineComponent as J, ref as s, onMounted as K, watch as Q, onBeforeUnmount as ee, openBlock as l, createElementBlock as c, Fragment as oe, createElementVNode as o, createVNode as v, withCtx as te, unref as r, toDisplayString as h, withDirectives as ie, 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" }, pe = { class: "item-center-top" }, we = { 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" }, xe = { class: "select-item" }, Te = { class: "select-item-left" }, Ce = ["src"], Pe = ["src"], Se = { class: "select-item-center" }, ze = { class: "item-center-top" }, Ee = { class: "item-center-bottom" }, Be = /* @__PURE__ */ J({
6
6
  __name: "SectionTool",
@@ -1,11 +1,11 @@
1
1
  var Ne = Object.defineProperty;
2
2
  var Fe = (u, g, y) => g in u ? Ne(u, g, { enumerable: !0, configurable: !0, writable: !0, value: y }) : u[g] = y;
3
3
  var G = (u, g, y) => Fe(u, typeof g != "symbol" ? g + "" : g, y);
4
- import { S as Oe, D as Le, m as te, W as Ke, M as We, U as me, i as oe, d as ve, F as ce, G as fe, X as pe, P as Re, J as Ze, u as je, Q as Ge, K as He, Y as _e, j as Ee, E as L, Z as De, $ as Ye, _ as qe, w as Je, p as Qe, T as Ae, q as F, t as H, V as Xe, x as et, y as tt, z as lt } from "./index-JDDvIbJ_.mjs";
5
- import { _ as ot } from "./panel.vue_vue_type_style_index_0_lang-D96FeHYN.mjs";
4
+ import { S as Oe, D as Le, m as te, W as Ke, M as We, U as me, i as oe, d as ve, F as ce, G as fe, X as pe, P as Re, J as Ze, u as je, Q as Ge, K as He, Y as _e, j as Ee, E as L, Z as De, $ as Ye, _ as qe, w as Je, p as Qe, T as Ae, q as F, t as H, V as Xe, x as et, y as tt, z as lt } from "./index-DROkX_fP.mjs";
5
+ import { _ as ot } from "./panel.vue_vue_type_style_index_0_lang-Ce406nTf.mjs";
6
6
  /* empty css */
7
- import { E as nt, a as it } from "./el-checkbox-Day69Q-U.mjs";
8
- import { E as st } from "./el-input-number-DiFyiybL.mjs";
7
+ import { E as nt, a as it } from "./el-checkbox-BCef2DnV.mjs";
8
+ import { E as st } from "./el-input-number-33CYHG2x.mjs";
9
9
  import { defineComponent as Ve, computed as O, ref as m, watch as ge, onMounted as Ue, openBlock as s, createElementBlock as f, normalizeClass as T, unref as i, withModifiers as at, createElementVNode as l, withKeys as ut, createBlock as h, withCtx as E, resolveDynamicComponent as _, createCommentVNode as p, toDisplayString as J, normalizeStyle as q, createVNode as d, renderSlot as Be, nextTick as dt, onBeforeUnmount as rt, resolveComponent as vt, Fragment as Y, createTextVNode as M, renderList as le } from "vue";
10
10
  import { B as K } from "./const-DeViLYl5.mjs";
11
11
  import { Loading as ct } from "@element-plus/icons-vue";
@@ -1,7 +1,7 @@
1
- import { u as re, _ as Ne, w as Ae, h as _e, i as Me, a as pe, b as Ee, c as ge, d as Le, e as He, f as ze, r as me, g as Fe, E as qe, j as Re, k as Ve, l as Q, m as Ue, n as We, s as Ye, o as Ge, p as Je, q as ee, t as be, T as Te, v as Qe, x as Xe, y as Ze, z as et } from "./index-JDDvIbJ_.mjs";
2
- import { _ as tt } from "./tallPanel-BsnhCyIr.mjs";
3
- import { _ as nt } from "./panel.vue_vue_type_style_index_0_lang-D96FeHYN.mjs";
4
- import { E as ot } from "./el-checkbox-Day69Q-U.mjs";
1
+ import { u as re, _ as Ne, w as Ae, h as _e, i as Me, a as pe, b as Ee, c as ge, d as Le, e as He, f as ze, r as me, g as Fe, E as qe, j as Re, k as Ve, l as Q, m as Ue, n as We, s as Ye, o as Ge, p as Je, q as ee, t as be, T as Te, v as Qe, x as Xe, y as Ze, z as et } from "./index-DROkX_fP.mjs";
2
+ import { _ as tt } from "./tallPanel-CMZIMI6R.mjs";
3
+ import { _ as nt } from "./panel.vue_vue_type_style_index_0_lang-Ce406nTf.mjs";
4
+ import { E as ot } from "./el-checkbox-BCef2DnV.mjs";
5
5
  import { defineComponent as ae, openBlock as x, createBlock as W, Transition as st, mergeProps as dt, unref as R, toHandlers as rt, withCtx as B, renderSlot as xe, reactive as at, inject as de, h as Se, provide as fe, ref as E, getCurrentInstance as $e, watch as O, nextTick as ke, resolveComponent as ne, withDirectives as V, createElementBlock as A, normalizeClass as P, withModifiers as te, createElementVNode as _, normalizeStyle as it, resolveDynamicComponent as lt, createCommentVNode as le, createVNode as S, Fragment as ue, renderList as he, vShow as U, shallowRef as Ie, onMounted as je, onUpdated as ct, computed as ut, toDisplayString as z, onBeforeUnmount as ht } from "vue";
6
6
  import { S as ye } from "./const-DeViLYl5.mjs";
7
7
  import { Loading as ft, CaretRight as pt } from "@element-plus/icons-vue";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as h, onMounted as V, ref as E, onBeforeUnmount as k, openBlock as s, createElementBlock as r, createElementVNode as l, Fragment as x, renderList as B, unref as d, normalizeClass as w, toDisplayString as C } from "vue";
2
- import { p as S, t as m, O as A, q as O, z as T } from "./index-JDDvIbJ_.mjs";
2
+ import { p as S, t as m, O as A, q as O, z as T } from "./index-DROkX_fP.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, y as l, z as _ } from "./index-JDDvIbJ_.mjs";
1
+ import { O as s, y as l, z as _ } from "./index-DROkX_fP.mjs";
2
2
  import { defineComponent as c, openBlock as a, createElementBlock 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 F, computed as v, getCurrentInstance as Z, watch as ee, nextTick as le, ref as U, toRaw as H, defineComponent as E, useSlots as ne, openBlock as x, createBlock as ae, resolveDynamicComponent as ue, unref as a, normalizeClass as C, withCtx as te, createElementVNode as J, withDirectives as N, createElementBlock as S, isRef as $, withModifiers as z, vModelCheckbox as D, renderSlot as R, Fragment as pe, createTextVNode as oe, toDisplayString as se, createCommentVNode as P, normalizeStyle as ge, provide as Ce, toRefs as xe } from "vue";
2
- import { H as ie, M as de, U as G, d as Q, F as X, i as T, b as M, K as Ve, P as A, j as re, a as I, f as O, e as ye, aq as Se, J as Y, Q as ce, L as w, u as K, _ as j, D as Le, W as Be, ar as Ee, w as _e, R as be } from "./index-JDDvIbJ_.mjs";
2
+ import { H as ie, M as de, U as G, d as Q, F as X, i as T, b as M, K as Ve, P as A, j as re, a as I, f as O, e as ye, aq as Se, J as Y, Q as ce, L as w, u as K, _ as j, D as Le, W as Be, ar as Ee, w as _e, R as be } from "./index-DROkX_fP.mjs";
3
3
  const fe = {
4
4
  modelValue: {
5
5
  type: [Number, String, Boolean],
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as ne, ref as ee, reactive as Pe, computed as y, watch as de, onMounted as Ke, onUpdated as Ge, openBlock as B, createElementBlock as Y, normalizeClass as R, unref as n, withModifiers as Ve, withDirectives as Te, withKeys as ve, renderSlot as be, createVNode as ce, withCtx as le, createBlock as Z, createCommentVNode as ae, createSlots as Je, inject as Qe, nextTick as ye, toRefs as Be, normalizeStyle as te, createElementVNode as re, toDisplayString as qe, h as Ze, shallowRef as De, provide as en, Fragment as ge, renderList as ke } from "vue";
2
- import { D as pe, H as xe, F as z, M as Ae, G as Se, X as D, a0 as me, U, n as Ye, u as Ne, P as Re, b as he, j as ue, J as Xe, K as nn, E as Fe, a1 as ze, v as tn, _ as Me, $ as Ue, d as Ie, a2 as ln, w as We, W as ie, a3 as Oe, a as fe, k as we, a4 as _e, l as G, a5 as an, Q as rn } from "./index-JDDvIbJ_.mjs";
2
+ import { D as pe, H as xe, F as z, M as Ae, G as Se, X as D, a0 as me, U, n as Ye, u as Ne, P as Re, b as he, j as ue, J as Xe, K as nn, E as Fe, a1 as ze, v as tn, _ as Me, $ as Ue, d as Ie, a2 as ln, w as We, W as ie, a3 as Oe, a as fe, k as we, a4 as _e, l as G, a5 as an, Q as rn } from "./index-DROkX_fP.mjs";
3
3
  import { ArrowDown as un, Minus as on, ArrowUp as sn, Plus as dn } from "@element-plus/icons-vue";
4
4
  const cn = pe({
5
5
  id: {
@@ -8,7 +8,7 @@ import uG from "axios";
8
8
  import cG from "ali-oss";
9
9
  import { ElMessage as hG } from "element-plus";
10
10
  import { Loading as LE, CircleCheck as fG, CircleClose as wA, View as dG, Hide as AG, Close as rC, Clock as pG, Calendar as vG, ArrowUp as gG, ArrowDown as UE, DArrowLeft as Wl, ArrowLeft as E_, ArrowRight as uA, DArrowRight as Kl } from "@element-plus/icons-vue";
11
- const mG = "https://bimkk-api-abtest.tctwins.com", Tr = "https://bimkk-oss-production.oss-cn-beijing.aliyuncs.com", _G = "https://convert-abtest.tctwins.com", pn = lG();
11
+ const mG = "https://bimkk-api.tctwins.com", Tr = "https://bimkk-oss-production.oss-cn-beijing.aliyuncs.com", _G = "https://convert.tctwins.com", pn = lG();
12
12
  let zu = {
13
13
  INDUSTRY_CONFIGS: {
14
14
  viewerManager: !1,
@@ -99108,20 +99108,20 @@ const dee = { class: "mobile_bcf_add_wrapper" }, Aee = { class: "add_page_title"
99108
99108
  __proto__: null,
99109
99109
  default: yS
99110
99110
  }, Symbol.toStringTag, { value: "Module" })), Ene = {
99111
- StructureTree: Ts(() => import("./StructureTree-CPB_MVJm.mjs")),
99112
- InspectorTool: Ts(() => import("./InspectorTool-bDQLZaVJ.mjs")),
99113
- RoamTool: Ts(() => import("./RoamTool-Cdl62N2A.mjs")),
99114
- XRayTool: Ts(() => import("./XRayTool-vHLBinZD.mjs")),
99115
- MeasureTool: Ts(() => import("./MeasureTool-C4BQ_ynw.mjs")),
99116
- SectionTool: Ts(() => import("./SectionTool-yzuX_KaV.mjs")),
99117
- CommentTool: Ts(() => import("./CommentTool-CcWmN9an.mjs")),
99118
- AnnotationTool: Ts(() => import("./AnnotationTool-CG5vARdK.mjs")),
99119
- ScreenShotTool: Ts(() => import("./ScreenShotTool-Bv5C5Obh.mjs")),
99120
- SettingTool: Ts(() => import("./SettingTool-MnaXWQ7Z.mjs")),
99121
- NavigateTool: Ts(() => import("./NavigateTool-Dzpxqz_P.mjs")),
99122
- BCFTool: Ts(() => import("./BCFTool-BQLaEDZx.mjs")),
99111
+ StructureTree: Ts(() => import("./StructureTree-BRY3gEgI.mjs")),
99112
+ InspectorTool: Ts(() => import("./InspectorTool-BOeo7StN.mjs")),
99113
+ RoamTool: Ts(() => import("./RoamTool-DyL44JV3.mjs")),
99114
+ XRayTool: Ts(() => import("./XRayTool-DQeoOCKy.mjs")),
99115
+ MeasureTool: Ts(() => import("./MeasureTool-qO_ci86K.mjs")),
99116
+ SectionTool: Ts(() => import("./SectionTool-BG8pmY3A.mjs")),
99117
+ CommentTool: Ts(() => import("./CommentTool-BFDzk_5a.mjs")),
99118
+ AnnotationTool: Ts(() => import("./AnnotationTool-Dzd5rcwa.mjs")),
99119
+ ScreenShotTool: Ts(() => import("./ScreenShotTool-cho_m-3z.mjs")),
99120
+ SettingTool: Ts(() => import("./SettingTool-BgBA9v6q.mjs")),
99121
+ NavigateTool: Ts(() => import("./NavigateTool-BkwZL4ng.mjs")),
99122
+ BCFTool: Ts(() => import("./BCFTool-kLs0Y5n5.mjs")),
99123
99123
  MobileBCFTool: Ts(() => Promise.resolve().then(() => Cne)),
99124
- MouseTool: Ts(() => import("./MouseTool-BKNINn0k.mjs"))
99124
+ MouseTool: Ts(() => import("./MouseTool-CLryyMPf.mjs"))
99125
99125
  }, Mne = {
99126
99126
  key: 0,
99127
99127
  class: "industry-wrapper"
@@ -1,4 +1,4 @@
1
- import { T as o, y as r } from "./index-JDDvIbJ_.mjs";
1
+ import { T as o, y as r } from "./index-DROkX_fP.mjs";
2
2
  import { defineComponent as c, ref as u, onMounted as p, openBlock as m, createBlock 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 y } from "element-plus";
4
4
  const v = { class: "panel_top" }, T = { class: "panel_title" }, V = { class: "panel_close" }, S = { class: "panel_content" }, C = /* @__PURE__ */ c({
@@ -1,4 +1,4 @@
1
- import { p as g, q as t, T as i, A as y, B as x, y as S, z as b } from "./index-JDDvIbJ_.mjs";
1
+ import { p as g, q as t, T as i, A as y, B as x, y as S, z as b } from "./index-DROkX_fP.mjs";
2
2
  import { defineComponent as k, ref as u, onMounted as P, watch as w, openBlock as _, createElementBlock as f, normalizeStyle as W, createElementVNode as o, toDisplayString as C, createVNode as T, unref as h, renderSlot as N, createCommentVNode as B } from "vue";
3
3
  const E = { class: "tall_panel_content" }, $ = { class: "panel_top" }, H = { 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.8",
3
+ "version": "0.0.9",
4
4
  "main": "dist/Industry_Viewer_Lib.umd.js",
5
5
  "style": "dist/style.css",
6
6
  "module": "dist/Industry_Viewer_Lib.es.js",