"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("lodash-unified"),l=require("./helper.js"),o=e.defineComponent({name:"ApFieldCheckboxRead",__name:"read",props:{mode:{default:"edit"},class:{},style:{},emptyText:{default:"--"},customReadMode:{},defaultValue:{},value:{},onChange:{},"onUpdate:value":{},name:{},prefixCls:{},options:{default:()=>[]},disabled:{type:Boolean,default:void 0},id:{},request:{},vertical:{type:Boolean}},setup(t){return(i,u)=>e.unref(n.isNil)(t.value)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(t.emptyText),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.options?.filter(a=>t.value.indexOf(e.unref(l.getOptionValue)(a))>-1).map(a=>e.unref(l.getOptionLabel)(a)).join("、")||t.emptyText),1)],64))}});exports.default=o;
