-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommon.3d0a175633496088.js
More file actions
2 lines (2 loc) · 3.78 KB
/
Copy pathcommon.3d0a175633496088.js
File metadata and controls
2 lines (2 loc) · 3.78 KB
1
2
"use strict";(self.webpackChunkdip=self.webpackChunkdip||[]).push([[592],{51367:(m,s,a)=>{a.d(s,{C:()=>_});var l=a(32714),t=a(3184),c=a(6178),u=a(36362),p=a(32698),g=a(64066);const n=function(i){return{negative:i}};let _=(()=>{class i{constructor(o){this.data=o,this.clockwise_actual=!1,this.clockwise_previous=!1,this.actualNegative=!1,this.previousNegative=!1,this.actual=0,this.previous=0}set setActual(o){this.actual=isNaN(o)?0:Math.abs(o),this.clockwise_actual=o>=0}set setPrevious(o){this.previous=isNaN(o)?0:Math.abs(o),this.clockwise_previous=o>=0}}return i.\u0275fac=function(o){return new(o||i)(t.Y36(l.D))},i.\u0275cmp=t.Xpm({type:i,selectors:[["dip-circular-meters"]],inputs:{actualValue:"actualValue",previousValue:"previousValue",setActual:["actual","setActual"],setPrevious:["previous","setPrevious"]},decls:12,vars:32,consts:[[1,"meter"],["matTooltipPosition","above","matTooltipClass","actual",1,"container",3,"matTooltip"],[1,"percent","cyan",3,"ngClass"],["background","rgba(0, 172, 193, .2)",3,"clockwise","duration","animation","animationDelay","max","radius","stroke","current","color"],["matTooltipPosition","above","matTooltipClass","previous",1,"container",3,"matTooltip"],[1,"percent","orange",3,"ngClass"],["background","rgba(243, 18, 40, .2)",3,"clockwise","duration","animation","animationDelay","max","radius","stroke","current","color"]],template:function(o,e){1&o&&(t.TgZ(0,"div",0)(1,"div",1),t.ALo(2,"toNumber"),t.TgZ(3,"div",2),t._uU(4),t.qZA(),t._UZ(5,"round-progress",3),t.qZA()(),t.TgZ(6,"div",0)(7,"div",4),t.ALo(8,"toNumber"),t.TgZ(9,"div",5),t._uU(10),t.qZA(),t._UZ(11,"round-progress",6),t.qZA()()),2&o&&(t.xp6(1),t.Q6J("matTooltip",t.lcZ(2,24,e.actualValue)),t.xp6(2),t.Q6J("ngClass",t.VKq(28,n,!e.clockwise_actual)),t.xp6(1),t.hij("",e.actual,"%"),t.xp6(1),t.Q6J("clockwise",e.clockwise_actual)("duration",1e3)("animation","easeInOutCubic")("animationDelay",200)("max",100)("radius",60)("stroke",13)("current",e.actual)("color",e.data.lightTheme?"#17687F":"#00acc1"),t.xp6(2),t.Q6J("matTooltip",t.lcZ(8,26,e.previousValue)),t.xp6(2),t.Q6J("ngClass",t.VKq(30,n,!e.clockwise_previous)),t.xp6(1),t.hij("",e.previous,"%"),t.xp6(1),t.Q6J("clockwise",e.clockwise_previous)("duration",1e3)("animation","easeInOutCubic")("animationDelay",200)("max",100)("radius",60)("stroke",13)("current",e.previous)("color","#f2142c"))},directives:[c.gM,u.mk,p.Z$],pipes:[g.$],styles:["[_nghost-%COMP%]{display:flex;flex:1 100%;height:170px;position:relative;background:linear-gradient(to bottom,rgba(255,255,255,0),rgba(52,52,69,.5));border-bottom:2px solid rgba(0,0,0,.05)}body[theme=new-dark] [_nghost-%COMP%]{background:#0d0d0d}[_nghost-%COMP%] .meter[_ngcontent-%COMP%]{flex:1 50%;height:100%}[_nghost-%COMP%] .meter[_ngcontent-%COMP%]:nth-child(2){border-left:2px solid rgba(0,0,0,.35)}[_nghost-%COMP%] .meter[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{width:120px;height:120px;margin:20px auto 0;position:relative}[_nghost-%COMP%] .meter[_ngcontent-%COMP%] .container[_ngcontent-%COMP%] .percent[_ngcontent-%COMP%]{position:absolute;height:30px;width:100%;margin:auto;text-align:center;top:0;bottom:0;font-size:27px} .mat-tooltip.actual{border-color:#00acc1} .mat-tooltip.previous{border-color:#f8b03b}body[theme=light] [_nghost-%COMP%]{border-bottom-color:#fff;background:linear-gradient(to bottom,white,#E6E6E6)}body[theme=light] [_nghost-%COMP%] .cyan[_ngcontent-%COMP%]{color:#17687f}body[theme=light] [_nghost-%COMP%] .orange[_ngcontent-%COMP%]{color:#e59123}body[theme=light] [_nghost-%COMP%] .meter[_ngcontent-%COMP%]{border-left-color:transparent}body[theme=light][_ngcontent-%COMP%] .mat-tooltip.actual{border-color:#17687f}body[theme=light][_ngcontent-%COMP%] .mat-tooltip.previous{border-color:#e59123}"],changeDetection:0}),i})()}}]);
//# sourceMappingURL=common.3d0a175633496088.js.map