![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/ts.corals.io/frontend/dist/_nuxt/ |
(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{296:function(e,t,r){"use strict";r.r(t);r(33),r(47),r(44),r(18),r(116);var l={name:"CoralsCheckbox",props:{form:{type:Object,required:!0},label:{type:[String,Boolean],default:"",required:!1},field:{type:String,required:!0},required:{type:Boolean,default:!1},withSpace:{type:Boolean,default:!1}},methods:{},computed:{labelValue:function(){if(!1===this.label)return"";if(this.label)return this.label;var label=this.field.replace("_"," ");return label.charAt(0).toUpperCase()+label.slice(1)},idValue:function(){return this.$attrs.id?this.$attrs.id:this.field},fieldDescription:function(){return this.$attrs.description||""}}},n=r(88),component=Object(n.a)(l,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{},[e.withSpace?r("label",[e._v(" ")]):e._e(),e._v(" "),r("b-form-group",{attrs:{"invalid-feedback":e.form.error(e.field),state:e.form.state(e.field),description:e.fieldDescription}},[r("b-form-checkbox",{attrs:{id:e.idValue,value:1,"unchecked-value":0},on:{change:function(t){return e.$emit("change",t)}},model:{value:e.form[e.field],callback:function(t){e.$set(e.form,e.field,t)},expression:"form[field]"}},[e._v("\n "+e._s(e.labelValue)+"\n ")])],1)],1)}),[],!1,null,"184e7a7a",null);t.default=component.exports}}]);