You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
78 KiB
JavaScript

4 years ago
(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{"0VpC":function(l,n,u){"use strict";u.r(n);var t=u("CcnG"),e=function(){return function(){}}(),a=u("pMnS"),o=u("A7o+"),s=u("gIcY"),i=u("Ip0R"),r=u("nQCY"),c=u("5SxG"),b=u("weCn"),d=u("xR9I"),p=u("Sxbm"),g=u("FW/t"),m=function(){function l(){this.allModes=[],this.currentModes=[],this.mimoModes=[],this.sisoModes=[],this.isMimoEnabled=!0,this.selectedMode="",this.modeChanged=new t.m}return Object.defineProperty(l.prototype,"modes",{set:function(l){var n=this;void 0!==l&&(this.selectedMode=l.selectedMode,this.allModes=l.availableModes,this.mimoModes=this.allModes.filter(function(l){return l.startsWith("mimo_")}),this.sisoModes=this.allModes.filter(function(l){return l.startsWith("siso_")}),this.isMimoEnabled=this.mimoModes.some(function(l){return l===n.selectedMode}),this.currentModes=this.hasMimoSisoModes()?this.isMimoEnabled?this.mimoModes:this.sisoModes:this.allModes)},enumerable:!0,configurable:!0}),l.prototype.hasMimoSisoModes=function(){return this.mimoModes.length>0&&this.sisoModes.length>0},l.prototype.selectMode=function(l){this.modeChanged.emit(l)},l.prototype.selectMimo=function(){this.isMimoEnabled=!0,this.currentModes=this.mimoModes,this.selectedMode=void 0,this.modeChanged.emit(void 0)},l.prototype.selectSiso=function(){this.isMimoEnabled=!1,this.currentModes=this.sisoModes,this.selectedMode=void 0,this.modeChanged.emit(void 0)},l}(),h=t.ob({encapsulation:2,styles:[],data:{}});function f(l){return t.Kb(0,[(l()(),t.qb(0,0,null,null,5,"div",[["class","col-md-3 small-margin-bottom"],["style","text-align: center"]],null,null,null,null,null)),(l()(),t.qb(1,0,null,null,4,"div",[["class","btn-group"]],null,null,null,null,null)),(l()(),t.qb(2,0,null,null,1,"button",[["class","btn btn-primary"],["id","compatibility-mimo"],["type","button"]],[[2,"active",null]],[[null,"click"]],function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.selectMimo()&&t),t},null,null)),(l()(),t.Ib(-1,null,["MIMO"])),(l()(),t.qb(4,0,null,null,1,"button",[["class","btn btn-primary"],["id","compatibility-siso"],["type","button"]],[[2,"active",null]],[[null,"click"]],function(l,n,u){var t=!0;return"click"===n&&(t=!1!==l.component.selectSiso()&&t),t},null,null)),(l()(),t.Ib(-1,null,["SISO"]))],null,function(l,n){var u=n.component;l(n,2,0,u.isMimoEnabled),l(n,4,0,!u.isMimoEnabled)})}function v(l){return t.Kb(0,[(l()(),t.qb(0,0,null,null,4,"option",[],[[8,"id",0]],null,null,null,null)),t.pb(1,147456,null,0,s.o,[t.k,t.E,[2,s.r]],{ngValue:[0,"ngValue"]},null),t.pb(2,147456,null,0,s.y,[t.k,t.E,[8,null]],{ngValue:[0,"ngValue"]},null),(l()(),t.Ib(3,null,["",""])),t.Cb(131072,o.i,[o.j,t.h])],function(l,n){l(n,1,0,n.context.$implicit),l(n,2,0,n.context.$implicit)},function(l,n){l(n,0,0,t.sb(1,"compatibility-mode-",n.context.index,"")),l(n,3,0,t.Jb(n,3,0,t.Ab(n,4).transform(n.context.$implicit)))})}function C(l){return t.Kb(0,[(l()(),t.qb(0,0,null,null,19,"div",[["class","buttons-dialog"]],null,null,null,null,null)),(l()(),t.qb(1,0,null,null,2,"p",[["class","no-margin"],["translate",""]],null,null,null,null,null)),t.pb(2,8536064,null,0,o.d,[o.j,t.k,t.h],{translate:[0,"translate"]},null),(l()(),t.Ib(-1,null,["Choose the compatibility mode of your device. This setting can help increase performance with technologies such as VDSL."])),(l()(),t.qb(4,0,null,null,15,"div",[["class","form-group"]],null,null,null,null,null)),(l()(),t.qb(5,0,null,null,2,"label",[["class","control-label col-md-3 small-margin-bottom"],["for","compmode"],["translate",""]],null,null,null,null,null)),t.pb(6,8536064,null,0,o.d,[o.j,t.k,t.h],{translate:[0,"translate"]},null),(l()(),t.Ib(-1,null,["Compatibility Mode"])),(l()(),t.qb(8,0,null,null,11,"div",[],null,null,null,null,null)),(l()(),t.hb(16777216,null,null,1,null,f)),t.pb(10,16384,null,0,i.o,[t.P,t.M],{ngIf:[0,"ngIf"]},null),(l()(),t.qb(11,0,null,null,8,"div",[],[[2,"col-md-7",null],[2,"col-md-4",null],[2,"has-error",null]],null,null,null,null)),(l()(),t.qb(12,0,null,null,7,"select",[["class","form-control"],["id","compmode"],["name","compmode"]],[[1,"selectedMode",0]