webpackJsonp([20],{1180:function(t,n,e){"use strict";e.d(n,"a",(function(){return l}));var i=e(4),a=e(2),r=e(30),o=e(871),s=(e.n(o),e(64)),c=e(44),l=(function(){function t(t,n,e,i,a,r){this.router=t,this.rest=n,this.ws=e,this.formService=i,this.networkService=a,this._state=r,this.route_success=["network","vlans"],this.resource_name="network/vlan/",this.formModel=[new o.DynamicInputModel({id:"vlan_vint",label:"Virtual Interface",placeholder:"e.g. vlan0"}),new o.DynamicSelectModel({id:"vlan_pint",label:"Parent Interface"}),new o.DynamicInputModel({id:"vlan_tag",label:"Vlan Tag"}),new o.DynamicInputModel({id:"vlan_description",label:"Description"})]}return t.prototype.afterInit=function(t){var n=this;this.networkService.getVlanNicChoices().subscribe((function(t){n.vlan_pint=n.formService.findById("vlan_pint",n.formModel),t.forEach((function(t){n.vlan_pint.add({label:t[1],value:t[0]})}))}))},t})();l=i.a([e.i(a.Component)({selector:"app-vlan-add",template:'<entity-add [conf]="this"></entity-add>'}),i.b("design:paramtypes",[r.b,c.b,c.a,o.DynamicFormService,c.e,s.a])],l)},1181:function(t,n,e){"use strict";e.d(n,"a",(function(){return s}));var i=e(4),a=e(2),r=e(30),o=e(287),s=(function(){function t(t,n,e){this.router=t,this.route=n,this.rest=e,this.resource_name="network/vlan/",this.route_success=["network","vlans"]}return t})();s=i.a([e.i(a.Component)({selector:"app-vlan-delete",template:'<entity-delete [conf]="this"></entity-delete>'}),i.b("design:paramtypes",[r.b,r.c,o.a])],s)},1182:function(t,n,e){"use strict";e.d(n,"a",(function(){return l}));var i=e(4),a=e(2),r=e(30),o=e(871),s=(e.n(o),e(64)),c=e(44),l=(function(){function t(t,n,e,i,a,r){this.router=t,this.rest=n,this.ws=e,this.formService=i,this.networkService=a,this._state=r,this.resource_name="network/vlan/",this.route_success=["network","vlans"],this.formModel=[new o.DynamicInputModel({id:"vlan_vint",label:"Virtual Interface",disabled:!0}),new o.DynamicSelectModel({id:"vlan_pint",label:"Parent Interface"}),new o.DynamicInputModel({id:"vlan_tag",label:"Vlan Tag"}),new o.DynamicInputModel({id:"vlan_description",label:"Description"})]}return t.prototype.afterInit=function(t){var n=this;this.networkService.getVlanNicChoices().subscribe((function(t){n.vlan_pint=n.formService.findById("vlan_pint",n.formModel),t.forEach((function(t){n.vlan_pint.add({label:t[1],value:t[0]})}))}))},t})();l=i.a([e.i(a.Component)({selector:"app-vlan-edit",template:'<entity-edit [conf]="this"></entity-edit>'}),i.b("design:paramtypes",[r.b,c.b,c.a,o.DynamicFormService,c.e,s.a])],l)},1183:function(t,n,e){"use strict";e.d(n,"a",(function(){return c}));var i=e(4),a=e(2),r=e(30),o=e(64),s=e(287),c=(function(){function t(t,n,e){this.resource_name="network/vlan/",this.route_add=["network","vlans","add"],this.route_edit=["network","vlans","edit"],this.route_delete=["network","vlans","delete"],this.columns=[{title:"Vlan Interface",name:"vlan_vint"},{title:"Parent Interface",name:"vlan_pint"},{title:"Vlan Tag",name:"vlan_tag"},{title:"Description",name:"vlan_description"}],this.config={paging:!0,sorting:{columns:this.columns}}}return t})();c=i.a([e.i(a.Component)({selector:"app-vlan-list",template:'<entity-list [conf]="this"></entity-list>'}),i.b("design:paramtypes",[s.a,r.b,o.a])],c)},1184:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),e.d(n,"VlanModule",(function(){return _}));var i=e(4),a=e(2),r=e(31),o=e(53),s=e(160),c=e(871),l=(e.n(c),e(891)),u=(e.n(l),e(903)),d=e(1185),p=e(960),f=e(957),v=e(959),m=e(958),h=e(44),_=(function(){function t(){}return t})();_=i.a([e.i(a.NgModule)({imports:[u.a,c.DynamicFormsCoreModule.forRoot(),l.DynamicFormsBootstrapUIModule,r.CommonModule,o.a,o.b,s.a,d.a],declarations:[p.a,f.a,v.a,m.a],providers:[h.e]})],_)},1185:function(t,n,e){"use strict";e.d(n,"a",(function(){return l}));var i=e(30),a=e(960),r=e(957),o=e(959),s=e(958),c=[{path:"",component:a.a},{path:"add",component:r.a},{path:"edit/:pk",component:o.a},{path:"delete/:pk",component:s.a}],l=i.a.forChild(c)},957:function(t,n,e){"use strict";var i=e(1180);e.d(n,"a",(function(){return i.a}))},958:function(t,n,e){"use strict";var i=e(1181);e.d(n,"a",(function(){return i.a}))},959:function(t,n,e){"use strict";var i=e(1182);e.d(n,"a",(function(){return i.a}))},960:function(t,n,e){"use strict";var i=e(1183);e.d(n,"a",(function(){return i.a}))}});