"use strict";(self["webpackChunkcarabi_x2"]=self["webpackChunkcarabi_x2"]||[]).push([[2700],{1439:function(e,t,a){a.r(t),a.d(t,{default:function(){return r}});var l=function(){var e=this,t=e._self._c;return t("div")},n=[],u={name:"fieldAutoYesNo",props:{field:Object,value:{type:String,default:null}},async mounted(){await this.save()},methods:{async save(){let e="";this.value&&(e=this.value),e=-1!==["1","да"].indexOf(e)?"0":"1",this.$emit("change",{value:e,display:"0"!==e?"да":"нет"})}}},s=u,i=a(1656),c=(0,i.A)(s,l,n,!1,null,null,null),r=c.exports}}]);
//# sourceMappingURL=FieldAutoYesNo.a39ccf98.js.map