"use strict";(self["webpackChunkgolden_software"]=self["webpackChunkgolden_software"]||[]).push([[691],{9691:function(e,l,a){a.r(l),a.d(l,{default:function(){return i}});var t=a(3396),n=a(2268),o=a(9242);const u=["type","name","value"],s=(0,t._)("span",{class:"check"},null,-1),r={class:"control-label"};var c={__name:"CheckRadioPicker",props:{options:{type:Object,default:()=>{}},name:{type:String,required:!0},type:{type:String,default:"checkbox"},column:Boolean,modelValue:{type:[Object,Array,String,Number,Boolean],default:null}},emits:["update:modelValue"],setup(e,{emit:l}){const a=e,c=(0,t.Fl)({get:()=>a.modelValue,set:e=>{l("update:modelValue",e)}}),p=(0,t.Fl)((()=>"radio"===a.type?"radio":"checkbox"));return(l,a)=>((0,t.wg)(),(0,t.iD)("div",{class:(0,n.C_)(["flex justify-start flex-wrap -mb-3",{"flex-col":e.column}])},[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(e.options,((l,i)=>((0,t.wg)(),(0,t.iD)("label",{key:i,class:(0,n.C_)([e.type,"mr-6 mb-3 last:mr-0"])},[(0,t.wy)((0,t._)("input",{"onUpdate:modelValue":a[0]||(a[0]=e=>c.value=e),type:p.value,name:e.name,value:i},null,8,u),[[o.YZ,c.value]]),s,(0,t._)("span",r,(0,n.zw)(l),1)],2)))),128))],2))}};const p=c;var i=p}}]);
//# sourceMappingURL=691.cb561375.js.map