-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.1ca811a9152ed3efe6fb.bundle.js
1 lines (1 loc) · 12.7 KB
/
main.1ca811a9152ed3efe6fb.bundle.js
1
webpackJsonp([1],{"+h1B":function(l,n,u){"use strict";var t=u("/oeL"),e=u("aR8+"),r=u("wQAS"),o=u("S9ox"),a=u("q4dy"),i=u("qbdv"),s=u("fc+i"),c=u("BkNc"),_=u("0geM"),d=u("vnfH");u.d(n,"a",function(){return f});var f=t.b(e.a,[r.a],function(l){return t.c([t.d(512,t.e,t.f,[[8,[o.a,a.a]],[3,t.e],t.g]),t.d(5120,t.h,t.i,[[3,t.h]]),t.d(4608,i.a,i.b,[t.h]),t.d(5120,t.j,t.k,[]),t.d(5120,t.l,t.m,[]),t.d(5120,t.n,t.o,[]),t.d(4608,s.b,s.c,[i.c]),t.d(6144,t.p,null,[s.b]),t.d(4608,s.d,s.e,[]),t.d(5120,s.f,function(l,n,u,t){return[new s.g(l),new s.h(n),new s.i(u,t)]},[i.c,i.c,i.c,s.d]),t.d(4608,s.j,s.j,[s.f,t.q]),t.d(135680,s.k,s.k,[i.c]),t.d(4608,s.l,s.l,[s.j,s.k]),t.d(6144,t.r,null,[s.l]),t.d(6144,s.m,null,[s.k]),t.d(4608,t.s,t.s,[t.q]),t.d(4608,s.n,s.n,[i.c]),t.d(4608,s.o,s.o,[i.c]),t.d(5120,c.a,c.b,[c.c]),t.d(4608,c.d,c.d,[]),t.d(6144,c.e,null,[c.d]),t.d(135680,c.f,c.f,[c.c,t.t,t.u,t.v,c.e]),t.d(4608,c.g,c.g,[]),t.d(5120,c.h,c.i,[c.j]),t.d(5120,t.w,function(l){return[l]},[c.h]),t.d(512,i.d,i.d,[]),t.d(1024,t.x,s.p,[]),t.d(1024,t.y,function(){return[c.k()]},[]),t.d(512,c.j,c.j,[t.v]),t.d(1024,t.z,function(l,n,u){return[s.q(l,n),c.l(u)]},[[2,s.r],[2,t.y],c.j]),t.d(512,t.A,t.A,[[2,t.z]]),t.d(131584,t.B,t.B,[t.q,t.C,t.v,t.x,t.e,t.A]),t.d(2048,t.D,null,[t.B]),t.d(512,t.E,t.E,[t.D]),t.d(512,s.s,s.s,[[3,s.s]]),t.d(1024,c.m,c.n,[[3,c.c]]),t.d(512,c.o,c.p,[]),t.d(512,c.q,c.q,[]),t.d(256,c.r,{},[]),t.d(1024,i.e,c.s,[i.f,[2,i.g],c.r]),t.d(512,i.h,i.h,[i.e]),t.d(512,t.u,t.u,[]),t.d(512,t.t,t.F,[t.u,[2,t.G]]),t.d(1024,c.t,function(){return[[{path:"info",component:_.a}]]},[]),t.d(1024,c.c,c.u,[t.D,c.o,c.q,i.h,t.v,t.t,t.u,c.t,c.r,[2,c.v],[2,c.w]]),t.d(512,c.x,c.x,[[2,c.m],[2,c.c]]),t.d(512,d.a,d.a,[]),t.d(512,e.a,e.a,[])])})},0:function(l,n,u){l.exports=u("cDNt")},"0geM":function(l,n,u){"use strict";u.d(n,"a",function(){return t});var t=function(){function l(){this.customerSlug="",this.customers={"henry-gerard":["Henry","Gerard",21,"Livershool","Male","3123","India","TN"],"michael-platini":["Michael","Platini",40,"Czecha","Male","3198","USA","SF"],"louis-figo":["Louis","Figo",37,"Reala Madrida","Male","3176","France","PA"],"cristiana-ronaldinho":["Cristiana","Ronaldinho",15,"Portugalia","Female","3178","Portugal","LB"],"leonardo-messiah":["Leonardo","Messiah",25,"Barceloja","Female","3165","Argentina","BA"]}}return l.prototype.getFirstName=function(){return this.customers[this.customerSlug][0]},l.prototype.getLastName=function(){return this.customers[this.customerSlug][1]},l.prototype.getAge=function(){return this.customers[this.customerSlug][2]},l.prototype.getCompany=function(){return this.customers[this.customerSlug][3]},l.prototype.getGender=function(){return this.customers[this.customerSlug][4]},l.prototype.getCustId=function(){return this.customers[this.customerSlug][5]},l.prototype.getCountry=function(){return this.customers[this.customerSlug][6]},l.prototype.getStateId=function(){return this.customers[this.customerSlug][7]},l.ctorParameters=function(){return[]},l}()},S9ox:function(l,n,u){"use strict";function t(l){return r._23(0,[(l()(),r._25(0,0,null,null,69,"div",[["class","info"]],null,null,null,null,null)),(l()(),r._24(-1,null,["\n "])),(l()(),r._25(2,0,null,null,1,"h1",[["class","text-center"]],null,null,null,null,null)),(l()(),r._24(-1,null,["Customer Record"])),(l()(),r._24(-1,null,["\n "])),(l()(),r._25(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),r._24(-1,null,["\n "])),(l()(),r._25(7,0,null,null,56,"table",[["class","table table-bordered secondary-table"]],null,null,null,null,null)),(l()(),r._24(-1,null,["\n "])),(l()(),r._25(9,0,null,null,54,"tbody",[],null,null,null,null,null)),(l()(),r._25(10,0,null,null,25,"tr",[],null,null,null,null,null)),(l()(),r._24(-1,null,["\n "])),(l()(),r._25(12,0,null,null,1,"th",[],null,null,null,null,null)),(l()(),r._24(-1,null,["First Name"])),(l()(),r._24(-1,null,["\n "])),(l()(),r._25(15,0,null,null,1,"th",[],null,null,null,null,null)),(l()(),r._24(-1,null,["Last Name"])),(l()(),r._24(-1,null,["\n "])),(l()(),r._25(18,0,null,null,1,"th",[],null,null,null,null,null)),(l()(),r._24(-1,null,["Age"])),(l()(),r._24(-1,null,["\n "])),(l()(),r._25(21,0,null,null,1,"th",[],null,null,null,null,null)),(l()(),r._24(-1,null,["Company"])),(l()(),r._24(-1,null,["\n "])),(l()(),r._25(24,0,null,null,1,"th",[],null,null,null,null,null)),(l()(),r._24(-1,null,["Gender"])),(l()(),r._24(-1,null,["\n "])),(l()(),r._25(27,0,null,null,1,"th",[],null,null,null,null,null)),(l()(),r._24(-1,null,["Customer ID"])),(l()(),r._24(-1,null,["\n "])),(l()(),r._25(30,0,null,null,1,"th",[],null,null,null,null,null)),(l()(),r._24(-1,null,["Country"])),(l()(),r._24(-1,null,["\n "])),(l()(),r._25(33,0,null,null,1,"th",[],null,null,null,null,null)),(l()(),r._24(-1,null,["State"])),(l()(),r._24(-1,null,["\n "])),(l()(),r._24(-1,null,["\n "])),(l()(),r._25(37,0,null,null,25,"tr",[],null,null,null,null,null)),(l()(),r._24(-1,null,["\n\n "])),(l()(),r._25(39,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),r._24(40,null,["",""])),(l()(),r._24(-1,null,["\n "])),(l()(),r._25(42,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),r._24(43,null,["",""])),(l()(),r._24(-1,null,["\n "])),(l()(),r._25(45,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),r._24(46,null,["",""])),(l()(),r._24(-1,null,["\n "])),(l()(),r._25(48,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),r._24(49,null,["",""])),(l()(),r._24(-1,null,["\n "])),(l()(),r._25(51,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),r._24(52,null,["",""])),(l()(),r._24(-1,null,["\n "])),(l()(),r._25(54,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),r._24(55,null,["",""])),(l()(),r._24(-1,null,["\n "])),(l()(),r._25(57,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),r._24(58,null,["",""])),(l()(),r._24(-1,null,["\n "])),(l()(),r._25(60,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),r._24(61,null,["",""])),(l()(),r._24(-1,null,["\n\n\n "])),(l()(),r._24(-1,null,["\n "])),(l()(),r._24(-1,null,["\n "])),(l()(),r._25(65,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),r._24(-1,null,["\n "])),(l()(),r._25(67,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),r._25(68,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),r._24(-1,null,["\n"])),(l()(),r._24(-1,null,["\n"]))],null,function(l,n){var u=n.component;l(n,40,0,u.getFirstName()),l(n,43,0,u.getLastName()),l(n,46,0,u.getAge()),l(n,49,0,u.getCompany()),l(n,52,0,u.getGender()),l(n,55,0,u.getCustId()),l(n,58,0,u.getCountry()),l(n,61,0,u.getStateId())})}function e(l){return r._23(0,[(l()(),r._25(0,0,null,null,1,"info-table",[],null,null,null,t,i)),r._26(1,49152,null,0,o.a,[],null,null)],null,null)}var r=u("/oeL"),o=u("0geM");u.d(n,"c",function(){return i}),n.b=t,u.d(n,"a",function(){return s});var a=[],i=r._22({encapsulation:2,styles:a,data:{}}),s=r._27("info-table",o.a,e,{customerSlug:"customerSlug"},{},[])},"aR8+":function(l,n,u){"use strict";u.d(n,"a",function(){return t});var t=function(){function l(){}return l}()},cDNt:function(l,n,u){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var t=u("/oeL"),e=u("p5Ee"),r=u("+h1B"),o=u("fc+i");e.a.production&&u.i(t.a)(),u.i(o.a)().bootstrapModuleFactory(r.a)},p5Ee:function(l,n,u){"use strict";u.d(n,"a",function(){return t});var t={production:!0}},q4dy:function(l,n,u){"use strict";function t(l){return r._23(0,[(l()(),r._24(-1,null,["\n "])),(l()(),r._25(1,0,null,null,1,"customer-table",[],null,null,null,o.a,o.b)),r._26(2,49152,null,0,a.a,[],null,null),(l()(),r._24(-1,null,["\n \n "]))],null,null)}function e(l){return r._23(0,[(l()(),r._25(0,0,null,null,1,"customer-database",[],null,null,null,t,c)),r._26(1,49152,null,0,i.a,[],null,null)],null,null)}var r=u("/oeL"),o=u("qwIr"),a=u("u/rB"),i=u("wQAS");u.d(n,"a",function(){return _});var s=[],c=r._22({encapsulation:2,styles:s,data:{}}),_=r._27("customer-database",i.a,e,{},{},[])},qtrl:function(l,n){function u(l){throw new Error("Cannot find module '"+l+"'.")}u.keys=function(){return[]},u.resolve=u,l.exports=u,u.id="qtrl"},qwIr:function(l,n,u){"use strict";function t(l){return o._23(0,[(l()(),o._25(0,0,null,null,18,"tr",[],null,null,null,null,null)),(l()(),o._24(-1,null,["\n "])),(l()(),o._25(2,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),o._24(3,null,["",""])),(l()(),o._24(-1,null,["\n "])),(l()(),o._25(5,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),o._24(6,null,["",""])),(l()(),o._24(-1,null,["\n "])),(l()(),o._25(8,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),o._24(9,null,["",""])),(l()(),o._24(-1,null,["\n "])),(l()(),o._25(11,0,null,null,1,"td",[],null,null,null,null,null)),(l()(),o._24(12,null,["",""])),(l()(),o._24(-1,null,["\n \n "])),(l()(),o._25(14,0,null,null,3,"td",[["class","text-center"]],null,null,null,null,null)),(l()(),o._25(15,0,null,null,2,"a",[["class","btn btn-default btn-primary"],["id","fill slug"],["role","button"],["routerLink","/info"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(l,n,u){var t=!0,e=l.component;if("click"===n){t=!1!==o._28(l,16).onClick(u.button,u.ctrlKey,u.metaKey,u.shiftKey)&&t}if("click"===n){t=!1!==e.setSlug(l.context.$implicit)&&t}return t},null,null)),o._26(16,671744,null,0,a.y,[a.c,a.a,i.e],{routerLink:[0,"routerLink"]},null),(l()(),o._24(-1,null,["View Info"])),(l()(),o._24(-1,null,["\n "]))],function(l,n){l(n,16,0,"/info")},function(l,n){l(n,3,0,n.context.$implicit.firstName),l(n,6,0,n.context.$implicit.lastName),l(n,9,0,n.context.$implicit.age),l(n,12,0,n.context.$implicit.slug),l(n,15,0,o._28(n,16).target,o._28(n,16).href)})}function e(l){return o._23(0,[(l()(),o._25(0,0,null,null,34,"div",[],null,null,null,null,null)),(l()(),o._24(-1,null,["\n "])),(l()(),o._25(2,0,null,null,1,"h1",[["class","text-center"]],null,null,null,null,null)),(l()(),o._24(-1,null,["Customer Records Database"])),(l()(),o._24(-1,null,["\n "])),(l()(),o._25(5,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),o._24(-1,null,["\n "])),(l()(),o._25(7,0,null,null,20,"table",[["class","table table-striped main-table"]],null,null,null,null,null)),(l()(),o._24(-1,null,["\n "])),(l()(),o._25(9,0,null,null,18,"tbody",[],null,null,null,null,null)),(l()(),o._25(10,0,null,null,13,"tr",[],null,null,null,null,null)),(l()(),o._24(-1,null,["\n "])),(l()(),o._25(12,0,null,null,1,"th",[],null,null,null,null,null)),(l()(),o._24(-1,null,["First Name"])),(l()(),o._24(-1,null,["\n "])),(l()(),o._25(15,0,null,null,1,"th",[],null,null,null,null,null)),(l()(),o._24(-1,null,["Last Name"])),(l()(),o._24(-1,null,["\n "])),(l()(),o._25(18,0,null,null,1,"th",[],null,null,null,null,null)),(l()(),o._24(-1,null,["Age"])),(l()(),o._24(-1,null,["\n "])),(l()(),o._25(21,0,null,null,1,"th",[["class","text-center"]],null,null,null,null,null)),(l()(),o._24(-1,null,["Details"])),(l()(),o._24(-1,null,["\n "])),(l()(),o._24(-1,null,["\n "])),(l()(),o._29(16777216,null,null,1,null,t)),o._26(26,802816,null,0,i.n,[o.W,o._8,o.l],{ngForOf:[0,"ngForOf"]},null),(l()(),o._24(-1,null,["\n\n "])),(l()(),o._24(-1,null,["\n"])),(l()(),o._25(29,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),o._24(-1,null,["\n "])),(l()(),o._25(31,0,null,null,1,"info-table",[],null,null,null,s.b,s.c)),o._26(32,49152,null,0,c.a,[],{customerSlug:[0,"customerSlug"]},null),(l()(),o._24(-1,null,["\n"])),(l()(),o._24(-1,null,["\n\n"])),(l()(),o._24(-1,null,["\n"]))],function(l,n){var u=n.component;l(n,26,0,u.customers),l(n,32,0,u.selectedSlug)},null)}function r(l){return o._23(0,[(l()(),o._25(0,0,null,null,1,"customer-table",[],null,null,null,e,f)),o._26(1,49152,null,0,_.a,[],null,null)],null,null)}var o=u("/oeL"),a=u("BkNc"),i=u("qbdv"),s=u("S9ox"),c=u("0geM"),_=u("u/rB");u.d(n,"b",function(){return f}),n.a=e;var d=[],f=o._22({encapsulation:2,styles:d,data:{}});o._27("customer-table",_.a,r,{},{custmeSlug:"custmeSlug"},[])},"u/rB":function(l,n,u){"use strict";var t=u("/oeL");u.d(n,"a",function(){return e});var e=function(){function l(){this.custmeSlug=new t.V,this.selectedSlug="",this.customers=[{firstName:"Henry",lastName:"Gerard",age:21,slug:"henry-gerard"},{firstName:"Michael",lastName:"Platini",age:40,slug:"michael-platini"},{firstName:"Louis",lastName:"Figo",age:37,slug:"louis-figo"},{firstName:"Cristiana",lastName:"Ronaldinho",age:15,slug:"cristiana-ronaldinho"},{firstName:"Leonardo",lastName:"Messiah",age:25,slug:"leonardo-messiah"}]}return l.prototype.setSlug=function(l){this.selectedSlug=l.slug,this.custmeSlug.emit(this.selectedSlug)},l.prototype.getSlug=function(l){},l.ctorParameters=function(){return[]},l}()},vnfH:function(l,n,u){"use strict";var t=u("0geM");u.d(n,"a",function(){return e});var e=(t.a,function(){function l(){}return l}())},wQAS:function(l,n,u){"use strict";u.d(n,"a",function(){return t});var t=function(){function l(){}return l}()}},[0]);