数据可视化大屏
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

3 satır
33KB

  1. import{a as be,d as Ro,f as le}from"./chunk-PKVOCI4N.js";import{a as ie,b as ct,c as _o,d as wo,f as bo,g as lt,h as st,i as Ho}from"./chunk-MRNYEB3J.js";import{$a as X,A as y,Aa as Oo,C as P,Ca as H,Ga as j,Ia as W,La as B,M as Do,Ma as ko,O as fe,P as ce,Pa as $,Q as So,R as yo,S as ge,Sa as G,T as Po,U as he,Ua as U,V as v,Xa as q,_ as T,aa as To,bb as Y,ca as I,cb as Fo,db as z,e as b,fb as Q,hb as Z,jb as K,la as O,nb as Eo,ob as Ao,pa as k,pb as Vo,ra as F,ta as E,u as D,ua as A,v as S,wa as V,ya as R,za as Io}from"./chunk-WD6SV3WH.js";import{a as vo,d as zo,e as No,f as Co,g as xo}from"./chunk-4FFPI7ZP.js";import{Ab as Ct,Ae as ro,Bb as xt,Bc as Vt,Be as io,Cb as _t,Ce as no,Da as zt,Db as me,Dc as Rt,De as ao,Eb as M,Ec as Ht,Ee as mo,Fe as re,Ga as dt,Gb as J,Gd as Gt,Ge as c,Gf as ho,Ha as ot,Hb as wt,Hc as it,He as nt,Hf as Mo,Ja as Nt,Jb as f,Jc as de,Ka as m,Kb as rt,La as ne,Lc as jt,Le as N,Mc as Lt,Nc as Wt,Nf as L,Ob as bt,Oc as Bt,Pc as $t,Qb as Dt,Qe as lo,Sb as St,Se as ft,Ta as ae,Tb as yt,Te as at,Ue as ue,Va as u,Ve as pe,We as so,Xa as Ce,af as uo,cc as Pt,dc as Tt,gb as l,gf as po,ha as Mt,hb as s,hc as It,hf as C,ib as d,jb as xe,ka as vt,kb as _e,kc as Ot,la as a,lf as x,mb as we,na as p,nc as oe,of as fo,pe as Ut,qb as ee,qe as qt,re as Xt,rf as co,sa as ze,sb as h,se as Yt,ta as Ne,te as Qt,tf as mt,uc as kt,ue as Zt,vb as ut,vc as Ft,ve as Kt,vf as _,wb as pt,wc as Et,we as Jt,xc as At,xe as eo,xf as w,ye as to,ze as oo,zf as go}from"./chunk-VDRVUQCF.js";var jo=new yt("17.1.0");var Lo=(()=>{let t=class t{constructor(e,o){this.router=a(de),this.titleSrv=a(mt),this.modalSrv=a(po),this.donePreloader=fo(),o.setAttribute(e.nativeElement,"ng-alain-version",Mo.full),o.setAttribute(e.nativeElement,"ng-zorro-version",jo.full)}ngOnInit(){let e=!1;this.router.events.subscribe(o=>{o instanceof Ht&&(e=!0),e&&o instanceof Rt&&this.modalSrv.confirm({nzTitle:"\u63D0\u9192",nzContent:ie.production?"\u5E94\u7528\u53EF\u80FD\u5DF2\u53D1\u5E03\u65B0\u7248\u672C\uFF0C\u8BF7\u70B9\u51FB\u5237\u65B0\u624D\u80FD\u751F\u6548\u3002":`\u65E0\u6CD5\u52A0\u8F7D\u8DEF\u7531\uFF1A${o.url}`,nzCancelDisabled:!1,nzOkText:"\u5237\u65B0",nzCancelText:"\u5FFD\u7565",nzOnOk:()=>location.reload()}),o instanceof Vt&&(this.donePreloader(),this.titleSrv.setTitle(),this.modalSrv.closeAll())})}};t.\u0275fac=function(o){return new(o||t)(ne(ot),ne(Nt))},t.\u0275cmp=p({type:t,selectors:[["app-root"]],standalone:!0,features:[f],decls:1,vars:0,template:function(o,i){o&1&&d(0,"router-outlet")},dependencies:[it],encapsulation:2});let r=t;return r})();function cr(r){let t=r;return 5}var Wo=["zh",[["\u4E0A\u5348","\u4E0B\u5348"],void 0,void 0],void 0,[["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],["\u5468\u65E5","\u5468\u4E00","\u5468\u4E8C","\u5468\u4E09","\u5468\u56DB","\u5468\u4E94","\u5468\u516D"],["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"],["\u5468\u65E5","\u5468\u4E00","\u5468\u4E8C","\u5468\u4E09","\u5468\u56DB","\u5468\u4E94","\u5468\u516D"]],void 0,[["1","2","3","4","5","6","7","8","9","10","11","12"],["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"]],void 0,[["\u516C\u5143\u524D","\u516C\u5143"],void 0,void 0],0,[6,0],["y/M/d","y\u5E74M\u6708d\u65E5",void 0,"y\u5E74M\u6708d\u65E5EEEE"],["HH:mm","HH:mm:ss","z HH:mm:ss","zzzz HH:mm:ss"],["{1} {0}",void 0,void 0,void 0],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"CNY","\xA5","\u4EBA\u6C11\u5E01",{AUD:["AU$","$"],BYN:[void 0,"\u0440."],CNY:["\xA5"],ILR:["ILS"],JPY:["JP\xA5","\xA5"],KRW:["\uFFE6","\u20A9"],PHP:[void 0,"\u20B1"],RUR:[void 0,"\u0440."],TWD:["NT$"],USD:["US$","$"],XXX:[]},"ltr",cr];function gt(r,t,n){lo(2,arguments);var e=ft(r,n),o=ft(t,n);return e.getTime()===o.getTime()}var gr={lessThanXSeconds:{one:"\u4E0D\u5230 1 \u79D2",other:"\u4E0D\u5230 {{count}} \u79D2"},xSeconds:{one:"1 \u79D2",other:"{{count}} \u79D2"},halfAMinute:"\u534A\u5206\u949F",lessThanXMinutes:{one:"\u4E0D\u5230 1 \u5206\u949F",other:"\u4E0D\u5230 {{count}} \u5206\u949F"},xMinutes:{one:"1 \u5206\u949F",other:"{{count}} \u5206\u949F"},xHours:{one:"1 \u5C0F\u65F6",other:"{{count}} \u5C0F\u65F6"},aboutXHours:{one:"\u5927\u7EA6 1 \u5C0F\u65F6",other:"\u5927\u7EA6 {{count}} \u5C0F\u65F6"},xDays:{one:"1 \u5929",other:"{{count}} \u5929"},aboutXWeeks:{one:"\u5927\u7EA6 1 \u4E2A\u661F\u671F",other:"\u5927\u7EA6 {{count}} \u4E2A\u661F\u671F"},xWeeks:{one:"1 \u4E2A\u661F\u671F",other:"{{count}} \u4E2A\u661F\u671F"},aboutXMonths:{one:"\u5927\u7EA6 1 \u4E2A\u6708",other:"\u5927\u7EA6 {{count}} \u4E2A\u6708"},xMonths:{one:"1 \u4E2A\u6708",other:"{{count}} \u4E2A\u6708"},aboutXYears:{one:"\u5927\u7EA6 1 \u5E74",other:"\u5927\u7EA6 {{count}} \u5E74"},xYears:{one:"1 \u5E74",other:"{{count}} \u5E74"},overXYears:{one:"\u8D85\u8FC7 1 \u5E74",other:"\u8D85\u8FC7 {{count}} \u5E74"},almostXYears:{one:"\u5C06\u8FD1 1 \u5E74",other:"\u5C06\u8FD1 {{count}} \u5E74"}},hr=function(t,n,e){var o,i=gr[t];return typeof i=="string"?o=i:n===1?o=i.one:o=i.other.replace("{{count}}",String(n)),e!=null&&e.addSuffix?e.comparison&&e.comparison>0?o+"\u5185":o+"\u524D":o},Bo=hr;var Mr={full:"y'\u5E74'M'\u6708'd'\u65E5' EEEE",long:"y'\u5E74'M'\u6708'd'\u65E5'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},vr={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},zr={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},Nr={date:at({formats:Mr,defaultWidth:"full"}),time:at({formats:vr,defaultWidth:"full"}),dateTime:at({formats:zr,defaultWidth:"full"})},$o=Nr;function Go(r,t,n){var e="eeee p";return gt(r,t,n)?e:r.getTime()>t.getTime()?"'\u4E0B\u4E2A'"+e:"'\u4E0A\u4E2A'"+e}var Cr={lastWeek:Go,yesterday:"'\u6628\u5929' p",today:"'\u4ECA\u5929' p",tomorrow:"'\u660E\u5929' p",nextWeek:Go,other:"PP p"},xr=function(t,n,e,o){var i=Cr[t];return typeof i=="function"?i(n,e,o):i},Uo=xr;var _r={narrow:["\u524D","\u516C\u5143"],abbreviated:["\u524D","\u516C\u5143"],wide:["\u516C\u5143\u524D","\u516C\u5143"]},wr={narrow:["1","2","3","4"],abbreviated:["\u7B2C\u4E00\u5B63","\u7B2C\u4E8C\u5B63","\u7B2C\u4E09\u5B63","\u7B2C\u56DB\u5B63"],wide:["\u7B2C\u4E00\u5B63\u5EA6","\u7B2C\u4E8C\u5B63\u5EA6","\u7B2C\u4E09\u5B63\u5EA6","\u7B2C\u56DB\u5B63\u5EA6"]},br={narrow:["\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D","\u5341","\u5341\u4E00","\u5341\u4E8C"],abbreviated:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],wide:["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"]},Dr={narrow:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],short:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],abbreviated:["\u5468\u65E5","\u5468\u4E00","\u5468\u4E8C","\u5468\u4E09","\u5468\u56DB","\u5468\u4E94","\u5468\u516D"],wide:["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"]},Sr={narrow:{am:"\u4E0A",pm:"\u4E0B",midnight:"\u51CC\u6668",noon:"\u5348",morning:"\u65E9",afternoon:"\u4E0B\u5348",evening:"\u665A",night:"\u591C"},abbreviated:{am:"\u4E0A\u5348",pm:"\u4E0B\u5348",midnight:"\u51CC\u6668",noon:"\u4E2D\u5348",morning:"\u65E9\u6668",afternoon:"\u4E2D\u5348",evening:"\u665A\u4E0A",night:"\u591C\u95F4"},wide:{am:"\u4E0A\u5348",pm:"\u4E0B\u5348",midnight:"\u51CC\u6668",noon:"\u4E2D\u5348",morning:"\u65E9\u6668",afternoon:"\u4E2D\u5348",evening:"\u665A\u4E0A",night:"\u591C\u95F4"}},yr={narrow:{am:"\u4E0A",pm:"\u4E0B",midnight:"\u51CC\u6668",noon:"\u5348",morning:"\u65E9",afternoon:"\u4E0B\u5348",evening:"\u665A",night:"\u591C"},abbreviated:{am:"\u4E0A\u5348",pm:"\u4E0B\u5348",midnight:"\u51CC\u6668",noon:"\u4E2D\u5348",morning:"\u65E9\u6668",afternoon:"\u4E2D\u5348",evening:"\u665A\u4E0A",night:"\u591C\u95F4"},wide:{am:"\u4E0A\u5348",pm:"\u4E0B\u5348",midnight:"\u51CC\u6668",noon:"\u4E2D\u5348",morning:"\u65E9\u6668",afternoon:"\u4E2D\u5348",evening:"\u665A\u4E0A",night:"\u591C\u95F4"}},Pr=function(t,n){var e=Number(t);switch(n?.unit){case"date":return e.toString()+"\u65E5";case"hour":return e.toString()+"\u65F6";case"minute":return e.toString()+"\u5206";case"second":return e.toString()+"\u79D2";default:return"\u7B2C "+e.toString()}},Tr={ordinalNumber:Pr,era:ue({values:_r,defaultWidth:"wide"}),quarter:ue({values:wr,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:ue({values:br,defaultWidth:"wide"}),day:ue({values:Dr,defaultWidth:"wide"}),dayPeriod:ue({values:Sr,defaultWidth:"wide",formattingValues:yr,defaultFormattingWidth:"wide"})},qo=Tr;var Ir=/^(第\s*)?\d+(日|时|分|秒)?/i,Or=/\d+/i,kr={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},Fr={any:[/^(前)/i,/^(公元)/i]},Er={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},Ar={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},Vr={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},Rr={narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},Hr={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},jr={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},Lr={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},Wr={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},Br={ordinalNumber:so({matchPattern:Ir,parsePattern:Or,valueCallback:function(t){return parseInt(t,10)}}),era:pe({matchPatterns:kr,defaultMatchWidth:"wide",parsePatterns:Fr,defaultParseWidth:"any"}),quarter:pe({matchPatterns:Er,defaultMatchWidth:"wide",parsePatterns:Ar,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:pe({matchPatterns:Vr,defaultMatchWidth:"wide",parsePatterns:Rr,defaultParseWidth:"any"}),day:pe({matchPatterns:Hr,defaultMatchWidth:"wide",parsePatterns:jr,defaultParseWidth:"any"}),dayPeriod:pe({matchPatterns:Lr,defaultMatchWidth:"any",parsePatterns:Wr,defaultParseWidth:"any"})},Xo=Br;var $r={code:"zh-CN",formatDistance:Bo,formatLong:$o,formatRelative:Uo,localize:qo,match:Xo,options:{weekStartsOn:1,firstWeekContainsDate:4}},ht=$r;var Qo=(()=>{let t=class t{constructor(){this.http=a(w),this.modal=a(_)}ngOnInit(){this.updateCurrentTime(),setInterval(()=>{this.updateCurrentTime()},1e3)}add(){}updateCurrentTime(){this.currentTime=new Date}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=p({type:t,selectors:[["data-v-date"]],standalone:!0,features:[f],decls:3,vars:4,consts:[[1,"data-container"]],template:function(o,i){o&1&&(l(0,"div",0),M(1),bt(2,"date"),s()),o&2&&(m(),J(" ",Dt(2,1,i.currentTime,"yyyy-MM-dd HH:mm:ss")," "))},dependencies:[oe,Ot,D,S,G,R,q,X,U,B,b,E,V,K,W,j,H,N,k,F,Y,Z,T,z,L,v,A,O,Q,x,C,$,P,c,y,I],styles:[".data-container[_ngcontent-%COMP%]{align-items:center;color:#fff}"]});let r=t;return r})();var Zo=(()=>{let t=class t{constructor(){this.status=!1}_resize(){this.status=st.isFullscreen}_click(){st.isEnabled&&st.toggle()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=p({type:t,selectors:[["data-v-fullscreen"]],hostVars:2,hostBindings:function(o,i){o&1&&ee("resize",function(){return i._resize()},!1,zt)("click",function(){return i._click()}),o&2&&Ce("flex-1",!0)},standalone:!0,features:[f],decls:2,vars:2,consts:[["nz-icon","",3,"nzType"]],template:function(o,i){o&1&&(d(0,"i",0),M(1)),o&2&&(u("nzType",i.status?"fullscreen-exit":"fullscreen"),m(),J(" ",i.status?"\u9000\u51FA\u5168\u5C4F":"\u8FDB\u5165\u5168\u5C4F"," "))},dependencies:[oe,c,re],encapsulation:2,changeDetection:0});let r=t;return r})();var Ko=(()=>{let t=class t{constructor(e){this.http=e}getMenus(){return this.http.get("/api/main/menu?ClientId=Platform_Datav")}};t.\u0275fac=function(o){return new(o||t)(vt(kt))},t.\u0275prov=Mt({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();function qr(r,t){if(r&1&&d(0,"img",7),r&2){let n=h(2).$implicit;pt("src","assets/",n.icon.includes("svg")?n.icon:n.icon+".svg","",dt),ut("alt",n.text)}}function Xr(r,t){if(r&1){let n=we();xe(0),l(1,"a",5),ee("click",function(){ze(n);let o=h().$implicit,i=h();return Ne(i.navigate(o))}),ae(2,qr,1,2,"img",6),M(3),s(),_e()}if(r&2){let n=h().$implicit,e=h();m(),Ce("active",e.isActive(!0)),m(),u("ngIf",n.icon),m(),wt(" ",n.menuCode=="Home"&&e.selectedParentMenu&&e.selectedParentMenu.menuCode!="Home"?"/ "+e.selectedParentMenu.text:""," ",n.menuCode!="Home"?n.text:""," ")}}function Yr(r,t){if(r&1){let n=we();l(0,"li",15),ee("click",function(){let i=ze(n).$implicit,g=h(4);return Ne(g.navigate(i))}),M(1),s()}if(r&2){let n=t.$implicit;m(),J(" ",n.text," ")}}function Qr(r,t){if(r&1&&(xe(0),l(1,"a",10),M(2),d(3,"span",11),s(),l(4,"nz-dropdown-menu",null,12)(6,"ul",13),ae(7,Yr,2,1,"li",14),s()(),_e()),r&2){let n=me(5),e=h(2).$implicit;m(),u("nzDropdownMenu",n),m(),J(" ",e.text," "),m(5),u("ngForOf",e.children)}}function Zr(r,t){if(r&1&&d(0,"img",7),r&2){let n=h(3).$implicit;pt("src","assets/",n.icon.includes("svg")?n.icon:n.icon+".svg","",dt),ut("alt",n.text)}}function Kr(r,t){if(r&1){let n=we();l(0,"a",5),ee("click",function(){ze(n);let o=h(2).$implicit,i=h();return Ne(i.navigate(o))}),ae(1,Zr,1,2,"img",6),M(2),s()}if(r&2){let n=h(2).$implicit,e=h();Ce("active",e.isActive(!0)),m(),u("ngIf",n.icon),m(),J(" ",n.menuCode!="Home"?n.text:""," ")}}function Jr(r,t){if(r&1&&(xe(0),ae(1,Qr,8,3,"ng-container",8)(2,Kr,3,4,"ng-template",null,9,St),_e()),r&2){let n=me(3),e=h().$implicit;m(),u("ngIf",e.children&&e.children.length>0)("ngIfElse",n)}}function ei(r,t){if(r&1){let n=we();xe(0,2),l(1,"li",3),ee("mouseover",function(o){let g=ze(n).$implicit,fr=h();return Ne(fr.menuOver(g,o))}),ae(2,Xr,4,5,"ng-container",4)(3,Jr,4,2,"ng-container",4),s(),_e()}if(r&2){let n=t.$implicit;m(2),u("ngIf",n.childShowType=="menu"),m(),u("ngIf",n.childShowType=="drop-down")}}var er=(()=>{let t=class t{constructor(e){this.menuService=e,this.http=a(w),this.modal=a(_),this.router=a(de),this.menuNetDataList=[],this.visibleMenuList=[],this.imageUrl="assets/dashboard/menu_btn_l.png",this.title="Label",this.context="2024-02-29 10:00"}ngOnInit(){this.menuNetDataList=[{menuCode:"Home",text:"\u6211\u7684\u5DE5\u4F5C\u7AD9",i18n:null,icon:"home.svg",grp:!0,leafFlag:!1,rootFlag:!0,hideInBreadcrumbFlag:!0,link:"/",srtno:0,valiFlag:!1,menuType:0,parentId:null,clientId:"Platform_Datav",acl:null,childShowType:"menu",id:"3a1167f1-a86c-194d-eabf-258993a337ac"}],this.menuService.getMenus().subscribe(e=>{for(let o of e)if(o.children&&o.children.length>0)for(let i of o.children){if(i.childShowType="menu",i.children)for(let g of i.children)g.childShowType="drop-down";this.menuNetDataList.push(i)}console.log("this.menuNetDataList"),this.updateVisibleMenuList(),console.log(this.menuNetDataList)})}add(){}updateVisibleMenuList(){this.visibleMenuList=this.menuNetDataList.filter(e=>!this.selectedParentMenu||e.menuCode=="Home"||this.selectedParentMenu&&this.selectedParentMenu.menuCode=="Home"),this.menuNetDataList.forEach(e=>{e.childShowType=="menu"&&this.selectedParentMenu&&e.menuCode==this.selectedParentMenu.menuCode&&e.menuCode!=="Home"&&(this.visibleMenuList=this.visibleMenuList.concat(e.children||[]))}),console.log("visibleMenuList"),console.log(this.visibleMenuList)}menuOver(e,o){}isActive(e){}navigate(e){console.log("\u70B9\u51FBmenu"),console.log(e),this.menuNetDataList.forEach(o=>o.selected=!1),e.link&&e.childShowType=="menu"&&e.children&&e.children.length>0?(console.log("\u6765\u65F6\u8DF3\u8F6C2\u7EA7"),console.log(e.link),console.log(e.children),e.selected=!0,this.selectedParentMenu=e,this.router.navigate([e.link??"/404",e.id],{state:{menu:e.children}})):e.menuCode=="Home"?(e.selected=!0,this.selectedParentMenu=e,this.router.navigateByUrl(e.link??"/404")):(e.selected=!0,console.log("\u8DEF\u7531"),console.log(e.link),this.router.navigate([e.link??"/404",e.id],{state:{menu:e.children}})),this.updateVisibleMenuList()}};t.\u0275fac=function(o){return new(o||t)(ne(Ko))},t.\u0275cmp=p({type:t,selectors:[["data-v-navigation"]],standalone:!0,features:[f],decls:3,vars:1,consts:[[1,"navigation-container"],["id","parent-menu",4,"ngFor","ngForOf"],["id","parent-menu"],[1,"dropdown-submenu",3,"mouseover"],[4,"ngIf"],["href","javascript:void(0);",1,"menu-group",3,"click"],["width","20",3,"src","alt",4,"ngIf"],["width","20",3,"src","alt"],[4,"ngIf","ngIfElse"],["noChildren",""],["nz-dropdown","",1,"menu-group",3,"nzDropdownMenu"],["nz-icon","","nzType","down"],["childMenu","nzDropdownMenu"],["nz-menu","","nzSelectable",""],["nz-menu-item","",3,"click",4,"ngFor","ngForOf"],["nz-menu-item","",3,"click"]],template:function(o,i){o&1&&(l(0,"div",0)(1,"ul"),ae(2,ei,4,2,"ng-container",1),s()()),o&2&&(m(2),u("ngForOf",i.visibleMenuList))},dependencies:[oe,Pt,Tt,D,S,G,R,q,X,U,B,b,E,V,K,W,j,H,N,nt,k,F,Y,Z,T,z,L,v,ce,fe,ge,Po,he,A,O,Q,x,C,$,P,c,re,y,I],styles:['.navigation-container[_ngcontent-%COMP%]{display:flex;flex-wrap:nowrap;margin-top:10px;padding-left:2rem;white-space:nowrap}[nz-button][_ngcontent-%COMP%]{margin-right:8px;margin-bottom:12px}.nz-button-group[_ngcontent-%COMP%] [nz-button][_ngcontent-%COMP%]{margin-right:0}ul[_ngcontent-%COMP%]{display:inline-flex;flex-wrap:wrap;margin-bottom:10px;padding-top:0;padding-left:0;list-style-type:none}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{flex-wrap:wrap;margin-right:10px;margin-bottom:30px}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{clear:both;min-width:4rem;margin-right:1rem;padding:.5rem 1.5rem;font-weight:600;color:#74fafb;text-align:inherit;white-space:nowrap;background-color:#054254;border:0 solid red;border-color:#74fafb}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover, ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:active, ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:#000;text-decoration:none;background-color:#fff}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%]{display:inline-flex;flex-wrap:nowrap;margin-right:10px;margin-bottom:10px;color:#fff;background-color:#337ab7}ul[_ngcontent-%COMP%] > .dropdown-submenu[_ngcontent-%COMP%]{position:relative}ul[_ngcontent-%COMP%] > .dropdown-submenu[_ngcontent-%COMP%] .dropdown-menu[_ngcontent-%COMP%]{position:absolute;top:2rem;margin-top:0;margin-left:0}ul[_ngcontent-%COMP%] > .dropdown-submenu[_ngcontent-%COMP%]:hover > .dropdown-menu[_ngcontent-%COMP%]{display:block}ul[_ngcontent-%COMP%] > .dropdown-submenu[_ngcontent-%COMP%] .dropdown-submenu[_ngcontent-%COMP%]{position:relative}ul[_ngcontent-%COMP%] > .dropdown-submenu[_ngcontent-%COMP%] .dropdown-submenu[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{display:block}ul[_ngcontent-%COMP%] > .dropdown-submenu[_ngcontent-%COMP%] .dropdown-submenu[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:after{content:"\\f054";position:absolute;right:.5rem}ul[_ngcontent-%COMP%] > .dropdown-submenu[_ngcontent-%COMP%] .dropdown-submenu[_ngcontent-%COMP%] > .dropdown-menu[_ngcontent-%COMP%]{top:0;bottom:unset;left:100%;margin-top:0;margin-left:0}ul[_ngcontent-%COMP%] > .dropdown-submenu[_ngcontent-%COMP%] .dropdown-submenu[_ngcontent-%COMP%]:hover > .dropdown-menu[_ngcontent-%COMP%]{display:block}ul.dev-mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover, ul.dev-mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:active, ul.dev-mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:#fff;background-color:#dc3545}']});let r=t;return r})();var ti=()=>({color:"white"}),tr=(()=>{let t=class t{constructor(){this.http=a(w),this.modal=a(_)}ngOnInit(){this.updateCurrentTime(),setInterval(()=>{this.updateCurrentTime()},1e3)}add(){}updateCurrentTime(){this.currentTime=new Date}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=p({type:t,selectors:[["data-v-setting"]],standalone:!0,features:[f],decls:7,vars:3,consts:[["layout-default-header-item-trigger","","nz-dropdown","","nzTrigger","click","nzPlacement","bottomRight",3,"nzDropdownMenu"],["nz-icon","","nzType","setting",3,"ngStyle"],["settingsMenu","nzDropdownMenu"],["nz-menu","",2,"width","8rem"],["nz-menu-item",""]],template:function(o,i){if(o&1&&(l(0,"div",0),d(1,"i",1),s(),l(2,"nz-dropdown-menu",null,2)(4,"div",3)(5,"div",4),d(6,"data-v-fullscreen"),s()()()),o&2){let g=me(3);u("nzDropdownMenu",g),m(),u("ngStyle",rt(2,ti))}},dependencies:[Zo,oe,It,D,S,G,R,q,X,U,B,b,E,V,K,W,j,H,N,nt,k,F,Y,Z,T,z,L,v,ce,fe,ge,he,A,O,Q,x,C,$,P,c,re,y,I],encapsulation:2});let r=t;return r})();var or=(()=>{let t=class t{constructor(){this.settings=a(co),this.router=a(de),this.tokenService=a(vo)}get user(){return this.settings.user}logout(){this.tokenService.clear(),this.router.navigateByUrl(this.tokenService.login_url)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=p({type:t,selectors:[["data-v-user"]],standalone:!0,features:[f],decls:19,vars:3,consts:[["nz-dropdown","","nzPlacement","bottomRight",1,"alain-default__nav-item","d-flex","align-items-center","px-sm",3,"nzDropdownMenu"],["nzSize","small",1,"mr-sm",3,"nzSrc"],["userMenu","nzDropdownMenu"],["nz-menu","",1,"width-sm"],["nz-menu-item","","routerLink","/pro/account/center"],["nz-icon","","nzType","user",1,"mr-sm"],["nz-menu-item","","routerLink","/pro/account/settings"],["nz-icon","","nzType","setting",1,"mr-sm"],["nz-menu-item","","routerLink","/exception/trigger"],["nz-icon","","nzType","close-circle",1,"mr-sm"],["nz-menu-divider",""],["nz-menu-item","",3,"click"],["nz-icon","","nzType","logout",1,"mr-sm"]],template:function(o,i){if(o&1&&(l(0,"div",0),d(1,"nz-avatar",1),M(2),s(),l(3,"nz-dropdown-menu",null,2)(5,"div",3)(6,"div",4),d(7,"i",5),M(8," \u4E2A\u4EBA\u4E2D\u5FC3 "),s(),l(9,"div",6),d(10,"i",7),M(11," \u4E2A\u4EBA\u8BBE\u7F6E "),s(),l(12,"div",8),d(13,"i",9),M(14," \u89E6\u53D1\u9519\u8BEF "),s(),d(15,"li",10),l(16,"div",11),ee("click",function(){return i.logout()}),d(17,"i",12),M(18," \u9000\u51FA\u767B\u5F55 "),s()()()),o&2){let g=me(4);u("nzDropdownMenu",g),m(),u("nzSrc",i.user.avatar),m(),J(" ",i.user.name,`
  2. `)}},dependencies:[v,ce,fe,So,ge,he,yo,c,re,z,Fo],encapsulation:2});let r=t;return r})();var rr=(()=>{let t=class t{constructor(){this.http=a(w),this.modal=a(_)}ngOnInit(){}add(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=p({type:t,selectors:[["app-data-v-header"]],standalone:!0,features:[f],decls:5,vars:0,consts:[[1,"header-container"],[1,"data-v-sysinfo","mr-sm"],[1,"mr-sm"]],template:function(o,i){o&1&&(l(0,"div",0)(1,"div",1),d(2,"data-v-setting",2)(3,"data-v-user",2)(4,"data-v-date",2),s()())},dependencies:[tr,or,Qo,lt,D,S,G,R,q,X,U,B,b,E,V,K,W,j,H,N,k,F,Y,Z,T,z,L,v,A,O,Q,x,C,$,P,c,y,I],styles:['.header-container[_ngcontent-%COMP%]{width:100vw;min-width:1280px;height:10%;background-image:url("./media/screen_header2-ZZHBGFUS.png");background-position:top;background-size:cover}.data-v-sysinfo[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:right;text-align:right}']});let r=t;return r})();var ir=(()=>{let t=class t{constructor(){this.http=a(w),this.modal=a(_)}ngOnInit(){}add(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=p({type:t,selectors:[["app-data-v-home"]],standalone:!0,features:[f],decls:6,vars:0,consts:[[1,"home-container"],["src","assets/dashboard/dashboard_menu.jpg",2,"width","100%","height","1.8rem"],[1,"router-outlet-container"]],template:function(o,i){o&1&&(l(0,"div",0),d(1,"app-data-v-header")(2,"data-v-navigation")(3,"img",1),l(4,"div",2),d(5,"router-outlet"),s()())},dependencies:[rr,er,lt,it,D,S,G,R,q,X,U,B,b,E,V,K,W,j,H,N,k,F,Y,Z,T,z,L,v,A,O,Q,x,C,$,P,c,y,I],styles:[".home-container[_ngcontent-%COMP%]{width:100vw;min-width:1280px;height:100%;min-height:768px;background-color:#040516}.data-v-sysinfo[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:right;text-align:right}.router-outlet-container[_ngcontent-%COMP%]{padding:1rem;background-color:#040516}"]});let r=t;return r})();var oi=["myGrid"],ri=()=>[12,12],nr=(()=>{let t=class t{constructor(e){this._mqttService=e,this.http=a(w),this.modal=a(_),this.elementRef=a(ot),this.titleService=a(mt),this.defaultColDef={width:170,editable:!1},this.gridThemedClass="ag-theme-quartz ag-theme-datav",this.rowData=[],this.colDefs1=[{headerName:"\u5E8F\u53F7",valueGetter:function(o){return parseInt(o.node.id)+1},sortable:!0,unSortIcon:!0,field:"xh",flex:1},{headerName:"\u4EFB\u52A1\u540D\u79F0",unSortIcon:!0,field:"rwmc",flex:2},{headerName:"\u4EFB\u52A1\u63CF\u8FF0",unSortIcon:!0,field:"rwms",flex:3},{headerName:"\u5F00\u59CB\u65F6\u95F4",headerClass:"ag-header-center",unSortIcon:!0,field:"kssj",flex:2},{headerName:"\u8BA1\u5212\u5B8C\u6210\u65F6\u95F4",unSortIcon:!0,field:"jhwcsj",flex:2},{headerName:"\u8D85\u671F",field:"sfcq",flex:1},{headerName:"\u64CD\u4F5C",autoHeaderHeight:!0,field:"cz",cellRenderer:be,flex:1}],this.colDefs2=[{headerName:"\u5E8F\u53F7",valueGetter:function(o){return parseInt(o.node.id)+1},width:90,unSortIcon:!0,field:"xh"},{headerName:"\u4EFB\u52A1\u540D\u79F0",unSortIcon:!0,field:"rwmc"},{headerName:"\u4EFB\u52A1\u63CF\u8FF0",unSortIcon:!0,field:"rwms",minWidth:170,flex:1},{headerName:"\u5F00\u59CB\u65F6\u95F4",unSortIcon:!0,field:"kssj",minWidth:170,flex:1},{headerName:"\u5F53\u524D\u72B6\u6001",field:"dqzt"},{headerName:"\u5F53\u524D\u8282\u70B9",field:"dqjd"},{headerName:"\u5B9E\u9645\u5B8C\u6210\u65F6\u95F4",field:"sjwcsj",minWidth:170,flex:1},{headerName:"\u64CD\u4F5C",autoHeaderHeight:!0,width:110,field:"cz",cellRenderer:be}],this.colDefs3=[{headerName:"\u5E8F\u53F7",valueGetter:function(o){return parseInt(o.node.id)+1},width:90,unSortIcon:!0,field:"xh"},{headerName:"\u62A5\u8B66\u540D\u79F0",unSortIcon:!0,field:"bjmc"},{headerName:"\u62A5\u8B66\u7B49\u7EA7",unSortIcon:!0,field:"bjdg"},{headerName:"\u62A5\u8B66\u63CF\u8FF0",unSortIcon:!0,field:"bjms",minWidth:170,flex:1},{headerName:"\u62A5\u8B66\u65F6\u95F4",unSortIcon:!0,field:"bjsj",minWidth:170,flex:1},{headerName:"\u64CD\u4F5C",autoHeaderHeight:!0,width:110,field:"cz",cellRenderer:be},{headerName:"\u6545\u969C\u539F\u56E0",field:"gzyy"},{headerName:"\u5904\u7406\u65B9\u6CD5",field:"clff"},{headerName:"\u6CE8\u610F\u4E8B\u9879",field:"clff"}],this.colDefs4=[{headerName:"\u5E8F\u53F7",valueGetter:function(o){return parseInt(o.node.id)+1},width:90,unSortIcon:!0,field:"xh"},{headerName:"\u901A\u77E5\u65F6\u95F4",unSortIcon:!0,field:"tzsj",minWidth:170,flex:1},{headerName:"\u91CD\u8981\u7A0B\u5EA6",unSortIcon:!0,field:"zycd"},{headerName:"\u901A\u77E5\u540D\u79F0",unSortIcon:!0,field:"tzmc"},{headerName:"\u901A\u77E5\u5185\u5BB9",unSortIcon:!0,field:"tznr",minWidth:170,flex:1},{headerName:"\u9644\u4EF6",field:"fj"},{headerName:"\u64CD\u4F5C",autoHeaderHeight:!0,width:110,field:"cz",cellRenderer:be}],this.client=e}ngOnInit(){this.titleService.setTitle("\u6211\u7684\u5DE5\u4F5C\u7AD9");for(var e=1;e<30;e++)this.rowData.push({rwmc:`\u4EFB\u52A1${e}`,rwms:`\u4EFB\u52A1\u63CF\u8FF0${e}`,kssj:`2024-1-${e} 13:38:${e*11}`,jhwcsj:`2024-1-${e} 13:38:${e*10}`,sfcq:"\u5426",dqzt:"\u6B63\u5E38",dqjd:`\u8282\u70B9${e}`,sjwcsj:`2024-1-${e} 13:38:${e*27}`,bjmc:"\u62A5\u8B665",bjms:"\u62A5\u8B66\u63CF\u8FF05",bjsj:`2024-1-${e} 13:38:${e*12}`,gzyy:"-",clff:"-",tzsj:`2024-1-${e} 13:38:${e*19}`,zycd:"\u4E00\u822C",tzmc:"\u7CFB\u7EDF\u63D0\u793A",tznr:"\u8D26\u6237\u767B\u5F55",fj:"-",cz:"\u64CD\u4F5C"})}ngAfterViewInit(){let e=this.elementRef.nativeElement.querySelector(".ag-theme-datav"),o=e.querySelector(".ag-body-viewport"),i=e.querySelector(".ag-scroller")}add(){}};t.\u0275fac=function(o){return new(o||t)(ne(le))},t.\u0275cmp=p({type:t,selectors:[["app-data-v-workstation"]],viewQuery:function(o,i){if(o&1&&Ct(oi,5),o&2){let g;xt(g=_t())&&(i.grid=g.first)}},standalone:!0,features:[f],decls:5,vars:20,consts:[["nz-row","",3,"nzGutter"],[2,"width","50%",3,"title","rowData","columnDefs","gridThemeClass"],[2,"width","50%",3,"title","defaultColDef","rowData","columnDefs","gridThemeClass"]],template:function(o,i){o&1&&(l(0,"div",0),d(1,"lj-app-ag-grid-component",1)(2,"lj-app-ag-grid-component",1)(3,"lj-app-ag-grid-component",2)(4,"lj-app-ag-grid-component",2),s()),o&2&&(u("nzGutter",rt(19,ri)),m(),u("title","\u5F85\u529E\u4EFB\u52A1")("rowData",i.rowData)("columnDefs",i.colDefs1)("gridThemeClass",i.gridThemedClass),m(),u("title","\u5DF2\u529E\u4EFB\u52A1")("rowData",i.rowData)("columnDefs",i.colDefs2)("gridThemeClass",i.gridThemedClass),m(),u("title","\u62A5\u8B66\u4FE1\u606F")("defaultColDef",i.defaultColDef)("rowData",i.rowData)("columnDefs",i.colDefs3)("gridThemeClass",i.gridThemedClass),m(),u("title","\u901A\u77E5")("defaultColDef",i.defaultColDef)("rowData",i.rowData)("columnDefs",i.colDefs4)("gridThemeClass",i.gridThemedClass))},dependencies:[Ro,To,D,S,G,R,q,X,U,B,b,E,V,K,W,j,Oo,H,N,k,F,Y,Z,T,z,L,v,A,O,Q,x,C,$,P,c,y,I],styles:[".ag-header-center[_ngcontent-%COMP%] .ag-header-group-cell-label[_ngcontent-%COMP%], .ag-header-center[_ngcontent-%COMP%] .ag-header-cell-label[_ngcontent-%COMP%]{display:grid;justify-content:center;color:#000;text-align:center;background:#000} .ag-theme-datav .ag-row-selected .ag-ltr .ag-cell{color:red!important} .ag-theme-datav .ag-ltr .ag-row-focus{font-weight:600;color:red} .ag-theme-datav .ag-ltr .ag-row-focus .ag-cell-focus{border:#74FAFB} .ag-theme-datav .ag-ltr .ag-row-focus .ag-grid-button-style{color:red;border-color:red} .ag-theme-datav{--ag-border-color: #74FAFB;--ag-foreground-color: #74FAFB;--ag-background-color: #0A1632;--ag-header-foreground-color: #74FAFB;--ag-header-background-color: #0A1632;--ag-odd-row-background-color: #0A1632;--ag-header-column-resize-handle-color: #7e2e84;--ag-font-size: 12px;--ag-font-family: monospace;height:17rem;font-weight:700;border-width:3px} .ag-theme-datav .ag-header-cell-resize{--ag-header-column-resize-handle-color: #00eff8} .ag-theme-datav .ag-header-row{font-size:14px;font-weight:700} .ag-theme-datav .ag-root-wrapper{border-radius:0} .ag-theme-datav .ag-body-vertical-scroll-viewport::-webkit-scrollbar{width:12em} .ag-theme-datav .ag-body-vertical-scroll-viewport::-webkit-scrollbar-thumb{margin-left:40px;background-color:#00eff8;border:2px solid #00eff8} .ag-theme-datav .ag-body-vertical-scroll-viewport::-webkit-scrollbar-track{background-color:transparent;border-color:#00eff8} .ag-theme-datav .ag-body-vertical-scroll-viewport::-webkit-scrollbar-thumb:hover{margin-left:40px;background-color:#00eff8} .ag-theme-datav .ag-body-vertical-scroll-viewport::-webkit-scrollbar-thumb:active{background-color:#00eff8} .ag-body-vertical-scroll-viewport{scrollbar-color:auto} .ag-body-horizontal-scroll-viewport{scrollbar-color:auto} .ag-theme-datav .ag-body-horizontal-scroll-viewport::-webkit-scrollbar{height:14em;color:#000} .ag-theme-datav .ag-body-horizontal-scroll-viewport::-webkit-scrollbar-track{background-color:transparent;border-color:#00eff8} .ag-theme-datav .ag-body-horizontal-scroll-viewport::-webkit-scrollbar-thumb:hover{background-color:#00eff8} .ag-theme-datav .ag-body-horizontal-scroll-viewport::-webkit-scrollbar-thumb:active{background-color:#00eff8} .ag-theme-datav .ag-body-horizontal-scroll-viewport::-webkit-scrollbar-thumb{background-color:#00eff8}"]});let r=t;return r})();var ar=[{path:"home",component:Ho,canActivate:[bo,zo],canActivateChild:[No],data:{},children:[{path:"",redirectTo:"dashboard",pathMatch:"full"},{path:"sys",loadChildren:()=>import("./chunk-MU3AQSF6.js").then(r=>r.routes)}]},{path:"",component:ir,children:[{path:"",component:nr},{path:"data-v",loadChildren:()=>import("./chunk-P5S3OSBW.js").then(r=>r.routes)}]},{path:"",loadChildren:()=>import("./chunk-TZPPFKXI.js").then(r=>r.routes)},{path:"exception",loadChildren:()=>import("./chunk-MUTNAUEH.js").then(r=>r.routes)},{path:"**",redirectTo:"exception/404"}];var mr=[Xt];var lr=[qt,Yt,Qt,Kt,Zt,Jt,to,eo,oo,no,ro,io,ao,mo];var sr={hostname:"127.0.0.1",port:1883,path:"/mqtt",protocol:"ws"},ii={abbr:"zh-CN",ng:Wo,zorro:uo,date:ht,delon:go},ni={auth:{login_url:"/passport/login"}},ai={},dr=[Bt(),$t(),Lt({scrollPositionRestoration:"top"})];ie.useHash&&dr.push(Wt());var ur=[Ft(Et([...ie.interceptorFns??[],Co,_o])),Ut(),jt(ar,...dr),ho({config:ni,defaultLang:ii,icons:[...lr,...mr]}),Gt(ai),xo(),Do(...Vo),Io(...Ao),ko({widgets:[...Eo]}),{provide:le,useFactory:()=>new le(sr)},wo(),{provide:le,useFactory:()=>new le(sr)},...ie.providers||[]];ie.api?.refreshTokenEnabled&&ie.api.refreshTokenType==="auth-refresh"&&ur.push(ct());var pr={providers:ur};At(Lo,pr).catch(r=>console.error(r));