webpackJsonp([24],{1216: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(877),s=(e.n(o),e(64)),c=e(31),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.h,s.a])],l)},1217: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)},1218: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(877),s=(e.n(o),e(64)),c=e(31),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.h,s.a])],l)},1219: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)},1220: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(32),o=e(54),s=e(160),c=e(877),l=(e.n(c),e(897)),u=(e.n(l),e(909)),d=e(1221),p=e(969),f=e(966),v=e(968),m=e(967),h=e(31),_=(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.h]})],_)},1221:function(t,n,e){"use strict";e.d(n,"a",(function(){return l}));var i=e(30),a=e(969),r=e(966),o=e(968),s=e(967),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)},966:function(t,n,e){"use strict";var i=e(1216);e.d(n,"a",(function(){return i.a}))},967:function(t,n,e){"use strict";var i=e(1217);e.d(n,"a",(function(){return i.a}))},968:function(t,n,e){"use strict";var i=e(1218);e.d(n,"a",(function(){return i.a}))},969:function(t,n,e){"use strict";var i=e(1219);e.d(n,"a",(function(){return i.a}))}});