Files
PhotonVision/Main/src/main/resources/web/js/chunk-7cf477eb.de18472d.js

2 lines
10 KiB
JavaScript
Raw Normal View History

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7cf477eb"],{"13f2":function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("CVnumberinput",{attrs:{name:"Team Number"},model:{value:t.settings.teamNumber,callback:function(e){t.$set(t.settings,"teamNumber",e)},expression:"settings.teamNumber"}}),a("CVradio",{attrs:{list:["DHCP","Static"]},model:{value:t.settings.connectionType,callback:function(e){t.$set(t.settings,"connectionType",e)},expression:"settings.connectionType"}}),a("v-divider",{attrs:{color:"white"}}),a("CVinput",{attrs:{name:"IP",disabled:t.isDisabled},model:{value:t.settings.ip,callback:function(e){t.$set(t.settings,"ip",e)},expression:"settings.ip"}}),a("CVinput",{attrs:{name:"NetMask",disabled:t.isDisabled},model:{value:t.settings.netmask,callback:function(e){t.$set(t.settings,"netmask",e)},expression:"settings.netmask"}}),a("CVinput",{attrs:{name:"Gateway",disabled:t.isDisabled},model:{value:t.settings.gateway,callback:function(e){t.$set(t.settings,"gateway",e)},expression:"settings.gateway"}}),a("v-divider",{attrs:{color:"white"}}),a("CVinput",{attrs:{name:"Hostname"},model:{value:t.settings.hostname,callback:function(e){t.$set(t.settings,"hostname",e)},expression:"settings.hostname"}}),a("v-btn",{staticStyle:{"margin-top":"10px"},attrs:{small:"",color:"#4baf62"},on:{click:t.sendGeneralSettings}},[t._v("Save General Settings")])],1)},i=[],n=a("9696"),l=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("v-radio-group",{attrs:{row:"",dark:"",mandatory:!0},model:{value:t.localValue,callback:function(e){t.localValue=e},expression:"localValue"}},t._l(t.list,(function(t,e){return a("v-radio",{key:e,attrs:{color:"#4baf62",label:t,value:e}})})),1)],1)},o=[],r={name:"Radio",props:["value","list"],data(){return{}},computed:{localValue:{get(){return this.value},set(t){this.$emit("input",t)}}}},u=r,c=a("2877"),d=a("6544"),h=a.n(d),p=(a("2c64"),a("ba87")),m=a("9d26"),v=a("c37a"),g=a("a9ad"),b=a("4e82"),f=a("5311"),V=a("7560"),y=a("fe09"),C=a("80d2"),k=a("58df");const $=Object(k["a"])(g["a"],f["a"],Object(b["a"])("radioGroup"),V["a"]);var S=$.extend().extend({name:"v-radio",inheritAttrs:!1,props:{disabled:Boolean,id:String,label:String,name:String,offIcon:{type:String,default:"$vuetify.icons.radioOff"},onIcon:{type:String,default:"$vuetify.icons.radioOn"},readonly:Boolean,value:{default:null}},data:()=>({isFocused:!1}),computed:{classes(){return{"v-radio--is-disabled":this.isDisabled,"v-radio--is-focused":this.isFocused,...this.themeClasses,...this.groupClasses}},computedColor(){return y["a"].options.computed.computedColor.call(this)},computedIcon(){return this.isActive?this.onIcon:this.offIcon},computedId(){return v["a"].options.computed.computedId.call(this)},hasLabel:v["a"].options.computed.hasLabel,hasState(){return(this.radioGroup||{}).hasState},isDisabled(){return this.disabled||!!(this.radioGroup||{}).disabled},isReadonly(){return this.readonly||!!(this.radioGroup||{}).readonly},computedName(){return this.name||!this.radioGroup?this.name:this.radioGroup.name||`radio-${this.radioGroup._uid}`},validationState(){return(this.radioGroup||{}).validationState||this.computedColor}},methods:{genInput(t){return y["a"].options.methods.genInput.call(this,"radio",t)},genLabel(){return this.hasLabel?this.$createElement(p["a"],{on:{click:t=>{t.preventDefault(),this.onChange()}},attrs:{for:this.computedId},props:{color:this.validationState,focused:this.hasState}},Object(C["o"])(this,"label")||this.label):null},genRadio(){return this.$createElement("div",{staticClass:"v-input--selection-controls__input"},[this.genInput({name:this.computedName,value:this.value,...this.$attrs}),this.genRipple(this.setTextColor(this.validationState)),this.$createElement(m["a"],this.setTextColor(this.validationState,{}),this.computedIcon)])},onFocus(t){this.isFocused=!0,this.$emit("focus",t)},onBlur(t){this.isFocused=!1,this.$emit("blur",t)},onChange(){this.isDisabled||this.isReadonly||this.isActive||this.toggle()},onKeydown:()=>{}},render(t){cons
//# sourceMappingURL=chunk-7cf477eb.de18472d.js.map