-
Notifications
You must be signed in to change notification settings - Fork 0
/
305.4c8d998c267175e8663d.js
1 lines (1 loc) · 7.51 KB
/
305.4c8d998c267175e8663d.js
1
"use strict";(self.webpackChunksparkworks_console=self.webpackChunksparkworks_console||[]).push([[305],{78305:function(O,c,s){s.r(c),s.d(c,{DashboardModule:function(){return j}});var u=s(61116),h=s(11462),f=s(41190),A=s(85831),i=s(32821),t=s(10312),T=[{image:"assets/images/users/1.jpg",name:"Sunil Joshi",designation:"Web Designer",project:"Elite Admin",priority:"Low",class:"round"},{image:"assets/images/users/2.jpg",name:"Andrew",designation:"Project Manager",project:"Real Homes",priority:"Medium",class:"round"},{image:"assets/images/users/3.jpg",name:"Bhavesh patel",designation:"Developer",project:"Pro Theme",priority:"High",class:"round round-success"},{image:"assets/images/users/4.jpg",name:"Nirav Joshi",designation:"Frontend Eng",project:"Elite Admin",priority:"Low",class:"round round-primary"},{image:"assets/images/users/5.jpg",name:"Micheal Doe",designation:"Content Writer",project:"Helping Hand",priority:"Low",class:"round round-warning"},{image:"assets/images/users/6.jpg",name:"Johnathan",designation:"Graphic",project:"Digital Agency",priority:"High",class:"round round-danger"}];function v(n,e){if(1&n&&(t.TgZ(0,"tr"),t.TgZ(1,"td"),t.TgZ(2,"span"),t._UZ(3,"img",8),t.qZA(),t.qZA(),t.TgZ(4,"td"),t.TgZ(5,"h6",9),t._uU(6),t.qZA(),t.TgZ(7,"small",10),t._uU(8),t.qZA(),t.qZA(),t.TgZ(9,"td"),t._uU(10),t.qZA(),t.TgZ(11,"td"),t._uU(12),t.qZA(),t.qZA()),2&n){var a=e.$implicit;t.xp6(2),t.Tol(a.class),t.xp6(1),t.Q6J("src",a.image,t.LSH),t.xp6(3),t.Oqu(a.name),t.xp6(2),t.Oqu(a.designation),t.xp6(2),t.Oqu(a.project),t.xp6(2),t.Oqu(a.priority)}}var q=function(){function n(){this.projectOfMonth=T}return n.prototype.ngOnInit=function(){},n.\u0275fac=function(a){return new(a||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-project-of-month"]],decls:17,vars:1,consts:[[1,"card"],[1,"card-body"],[1,"card-title"],[1,"lstick"],[1,"table-responsive"],[1,"table","vm","no-th-brd","pro-of-month","mb-0","v-middle"],["colspan","2"],[4,"ngFor","ngForOf"],["alt","user","width","50",3,"src"],[1,"mb-0"],[1,"text-muted"]],template:function(a,o){1&a&&(t.TgZ(0,"div",0),t.TgZ(1,"div",1),t.TgZ(2,"h4",2),t._UZ(3,"span",3),t._uU(4,"Projects of the Month "),t.qZA(),t.TgZ(5,"div",4),t.TgZ(6,"table",5),t.TgZ(7,"thead"),t.TgZ(8,"tr"),t.TgZ(9,"th",6),t._uU(10,"Assigned"),t.qZA(),t.TgZ(11,"th"),t._uU(12,"Name"),t.qZA(),t.TgZ(13,"th"),t._uU(14,"Priority"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(15,"tbody"),t.YNc(16,v,13,8,"tr",7),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&a&&(t.xp6(16),t.Q6J("ngForOf",o.projectOfMonth))},directives:[u.sg],styles:[""]}),n}(),U=function(){function n(){}return n.prototype.ngOnInit=function(){},n.\u0275fac=function(a){return new(a||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-contacts"]],decls:63,vars:0,consts:[[1,"card"],[1,"card-body"],[1,"d-flex"],[1,"card-title"],[1,"lstick"],[1,"message-box","contact-box"],[1,"message-widget","contact-widget"],["href","#"],[1,"user-img"],["src","assets/images/users/1.jpg","alt","user",1,"rounded-circle"],[1,"profile-status","online","pull-right"],[1,"mail-contnet"],[1,"mail-desc"],["src","assets/images/users/2.jpg","alt","user",1,"rounded-circle"],[1,"profile-status","busy","pull-right"],[1,"round"],[1,"profile-status","away","pull-right"],["src","assets/images/users/4.jpg","alt","user",1,"rounded-circle"],[1,"profile-status","offline","pull-right"],["src","assets/images/users/5.jpg","alt","user",1,"rounded-circle"],["src","assets/images/users/6.jpg","alt","user",1,"rounded-circle"]],template:function(a,o){1&a&&(t.TgZ(0,"div",0),t.TgZ(1,"div",1),t.TgZ(2,"div",2),t.TgZ(3,"h4",3),t._UZ(4,"span",4),t._uU(5,"My Contact"),t.qZA(),t.qZA(),t.TgZ(6,"div",5),t.TgZ(7,"div",6),t.TgZ(8,"a",7),t.TgZ(9,"div",8),t._UZ(10,"img",9),t._UZ(11,"span",10),t.qZA(),t.TgZ(12,"div",11),t.TgZ(13,"h5"),t._uU(14,"Pavan kumar"),t.qZA(),t.TgZ(15,"span",12),t._uU(16,"[email protected]"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(17,"a",7),t.TgZ(18,"div",8),t._UZ(19,"img",13),t._UZ(20,"span",14),t.qZA(),t.TgZ(21,"div",11),t.TgZ(22,"h5"),t._uU(23,"Sonu Nigam"),t.qZA(),t.TgZ(24,"span",12),t._uU(25,"[email protected]"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(26,"a",7),t.TgZ(27,"div",8),t.TgZ(28,"span",15),t._uU(29,"A"),t.qZA(),t._UZ(30,"span",16),t.qZA(),t.TgZ(31,"div",11),t.TgZ(32,"h5"),t._uU(33,"Arijit Sinh"),t.qZA(),t.TgZ(34,"span",12),t._uU(35,"[email protected]"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(36,"a",7),t.TgZ(37,"div",8),t._UZ(38,"img",17),t._UZ(39,"span",18),t.qZA(),t.TgZ(40,"div",11),t.TgZ(41,"h5"),t._uU(42,"Pavan kumar"),t.qZA(),t.TgZ(43,"span",12),t._uU(44,"[email protected]"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(45,"a",7),t.TgZ(46,"div",8),t._UZ(47,"img",19),t._UZ(48,"span",18),t.qZA(),t.TgZ(49,"div",11),t.TgZ(50,"h5"),t._uU(51,"Andrew"),t.qZA(),t.TgZ(52,"span",12),t._uU(53,"[email protected]"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(54,"a",7),t.TgZ(55,"div",8),t._UZ(56,"img",20),t._UZ(57,"span",18),t.qZA(),t.TgZ(58,"div",11),t.TgZ(59,"h5"),t._uU(60,"Jonathan Jones"),t.qZA(),t.TgZ(61,"span",12),t._uU(62,"[email protected]"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA())},styles:[""]}),n}(),C=function(){function n(){}return n.prototype.ngOnInit=function(){},n.\u0275fac=function(a){return new(a||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-cards"]],decls:17,vars:0,consts:[[1,"card"],["src","assets/images/big/img1.jpg","alt","Card image cap",1,"card-img-top","img-responsive"],[1,"card-body"],[1,"font-normal"],[1,"label","label-info","label-rounded"],[1,"m-b-0","m-t-20"],[1,"d-flex","m-t-20"],[1,"btn","p-l-0","btn-link"],[1,"ml-auto","align-self-center"],["href","javascript:void(0)",1,"link","m-r-10"],[1,"fa","fa-heart-o"],[1,"fa","fa-share-alt"]],template:function(a,o){1&a&&(t.TgZ(0,"div",0),t._UZ(1,"img",1),t.TgZ(2,"div",2),t.TgZ(3,"h3",3),t._uU(4,"Business development of rules 2017"),t.qZA(),t.TgZ(5,"span",4),t._uU(6,"Technology"),t.qZA(),t.TgZ(7,"p",5),t._uU(8," Titudin venenatis ipsum aciat. Vestibulum ullamcorper quam. nenatis ipsum ac feugiat. Ibulum ullamcorper "),t.qZA(),t.TgZ(9,"div",6),t.TgZ(10,"button",7),t._uU(11,"Read more"),t.qZA(),t.TgZ(12,"div",8),t.TgZ(13,"a",9),t._UZ(14,"i",10),t.qZA(),t.TgZ(15,"a",9),t._UZ(16,"i",11),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA())},styles:[""]}),n}(),y=[{path:"",data:{title:"Dashboard",urls:[{title:"Dashboard",url:"/dashboard"},{title:"Dashboard"}]},component:function(){function n(){this.things=null,this.thingsChartLabels=["Online","Offline"],this.thingsChartLabels1=["Active","Inactive"],this.thingsChartColors=["#06d79c","#6c757d"],this.thingsChartValues=[0,0],this.thingsChartValues1=[0,0],this.thingsChartHasData=!1,this.subtitle="This is some text within a card block."}return n.prototype.ngAfterViewInit=function(){},n.prototype.ngOnInit=function(){var e=this;A.b.get(i.x.apiName,i.x.paths.pathThings,i.x.params).then(function(a){var o=(new Date).getTime();e.things=a.data.things;for(var Z=0,p=0,l=0,d=0,r=0,m=e.things;r<m.length;r++){var g=m[r];"OFFLINE"===g.status?p++:Z++,void 0!==g.lastUpdate&&o-g.lastUpdate<36e5?l++:d++}e.thingsChartValues=[Z,p],e.thingsChartValues1=[l,d],e.thingsChartHasData=!0,console.log(e.things)}).catch(function(a){console.log(a.response)})},n.\u0275fac=function(a){return new(a||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["ng-component"]],decls:7,vars:0,consts:[[1,"row"],[1,"col-md-6"],[1,"col-md-4"]],template:function(a,o){1&a&&(t.TgZ(0,"div",0),t.TgZ(1,"div",1),t._UZ(2,"app-project-of-month"),t.qZA(),t.TgZ(3,"div",1),t._UZ(4,"app-contacts"),t.qZA(),t.TgZ(5,"div",2),t._UZ(6,"app-cards"),t.qZA(),t.qZA())},directives:[q,U,C],encapsulation:2}),n}()}],j=function(){function n(){}return n.\u0275fac=function(a){return new(a||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[h.u5,u.ez,f.Bz.forChild(y)]]}),n}()}}]);