"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("vue"),u=require("lodash-unified"),n=require("./helper.js"),r=o.defineComponent({name:"ApFieldRadioRead",__name:"read",props:{mode:{default:"edit"},class:{},style:{},emptyText:{default:"--"},customReadMode:{},prefixCls:{},value:{},size:{},options:{},disabled:{type:Boolean,default:void 0},name:{},buttonStyle:{},id:{},block:{type:Boolean},optionType:{},onChange:{},"onUpdate:value":{},vertical:{type:Boolean,default:!1},request:{}},setup(l){const e=l,i=o.computed(()=>{const t=e.value;if(u.isNil(t))return e.emptyText;const a=e.options?.find(s=>t===n.getOptionValue(s));return n.getOptionLabel(a)||e.emptyText});return(t,a)=>o.toDisplayString(i.value)}});exports.default=r;
