1"use strict";(self.webpackChunkskeno_web=self.webpackChunkskeno_web||[]).push([[4068],{64068:function(e,t,n){n.r(t),n.d(t,{default:function(){return p}});var r=n(50337),u=n(17476),i=["aria-label"],o={id:"number-label",for:"number",class:"label-max-width"},a={role:"alert",class:"mt-1","aria-atomic":"true"},l={key:0,class:"error is-error has-icon-before"},s=n(23582),c={setup:function(e,t){return{store:e.storeObject}},name:"NumberInput",props:{storeObject:{type:Object,required:!0},id:{type:Number,required:!0},localid:{type:Number,required:!0},title:{type:String,required:!0},text:{type:String,required:!0},placeholder:{type:String,required:!0},errormessage:{type:String,required:!0},maxnumber:{type:Number,default:0},helptext:{type:String,default:""},unit:{type:String,default:""}},data:function(){return{input:"",currentState:1}},mounted:function(){this.setFocus()},methods:{setFocus:function(){s("#number").focus()},formatInput:function(e){return parseInt(e).format(0,3," ",",")+" "+this.unit},done:function(){var e=this;e.$refs.veeForm.validate().then(function(t){t.valid&&(e.currentState=2,e.$emit("done",e.id,e.input))})},reset:function(){var e=this;this.currentState=1,this.$emit("reset",this.id,this.localid),this.$nextTick(function(){e.setFocus()})}}},p=(0,n(59013).A)(c,[["render",function(e,t,n,s,c,p){var d=(0,r.g2)("wiz-step"),m=(0,r.g2)("help-text"),f=(0,r.g2)("vee-field"),b=(0,r.g2)("vee-form");return(0,r.uX)(),(0,r.CE)("div",null,[2===e.currentState?((0,r.uX)(),(0,r.Wv)(d,{key:0,"is-summary":!0},{no:(0,r.k6)(function(){return[(0,r.eW)((0,u.toDisplayString)(n.id),1)]}),headerSummary:(0,r.k6)(function(){return[(0,r.eW)((0,u.toDisplayString)(n.title),1)]}),summary:(0,r.k6)(function(){return[(0,r.eW)((0,u.toDisplayString)(p.formatInput(e.input)),1)]}),changeButton:(0,r.k6)(function(){return[(0,r.Lk)("button",{type:"button",class:"change-button","aria-label":s.store.localizationValues.change+" "+n.title,onClick:t[0]||(t[0]=function(e){return p.reset()})},(0,u.toDisplayString)(s.store.localizationValues.change),9,i)]}),_:1})):(0,r.Q3)("v-if",!0),1===e.currentState?((0,r.uX)(),(0,r.Wv)(d,{key:1,"is-summary":!1},{no:(0,r.k6)(function(){return[(0,r.eW)((0,u.toDisplayString)(n.id),1)]}),header:(0,r.k6)(function(){return[(0,r.eW)((0,u.toDisplayString)(n.title),1)]}),content:(0,r.k6)(function(){return[(0,r.bF)(b,{as:"div",ref:"veeForm"},{default:(0,r.k6)(function(i){var s=i.errors;return[(0,r.Lk)("label",o,(0,u.toDisplayString)(n.text),1),(0,r.bF)(m,{content:n.helptext,html:!0,"described-by":"number-label"},null,8,["content"]),(0,r.bF)(f,{id:"number",modelValue:e.input,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.input=t}),ref:"input",step:"1",pattern:"\\d+",type:"number",placeholder:n.placeholder,name:"numberInput",class:(0,u.normalizeClass)(["input form-control",{"is-invalid":s.numberInput}]),rules:n.maxnumber>0?"required|between:1,"+n.maxnumber:"required|min_value:1"},null,8,["modelValue","placeholder","class","rules"]),(0,r.Lk)("div",a,[s.numberInput?((0,r.uX)(),(0,r.CE)("p",l,(0,u.toDisplayString)(n.errormessage),1)):(0,r.Q3)("v-if",!0)])]}),_:1},512)]}),nextButton:(0,r.k6)(function(){return[(0,r.Lk)("button",{type:"button",class:"button",onClick:t[2]||(t[2]=function(e){return p.done()})},(0,u.toDisplayString)(s.store.localizationValues.next),1)]}),_:1})):(0,r.Q3)("v-if",!0)])}]])}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.