import{s as p,bb as u,t as m,f as l,bc as b,y as _,z as i,P as c,Q as s,D as f}from"./index-DT8qTvyx.js";var v=function(o){p(r,o);function r(){return o!==null&&o.apply(this,arguments)||this}return r.prototype.renderInput=function(){var e=this.props,n=e.render,d=e.body,a=e.name,t=e.data;return n("inner",d,{value:typeof a=="string"?u(a,t):void 0})},r.prototype.render=function(){var e,n=this.props,d=n.render,a=n.label;n.control;var t=m(n,["render","label","control"]);return l.createElement(b,_({},t,{formMode:(e=t.mode)!==null&&e!==void 0?e:t.formMode,render:d,sizeMutable:!1,label:a,renderControl:this.renderInput}))},i([c,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],r.prototype,"renderInput",null),r=i([f({type:"control"})],r),r}(l.Component);export{v as ControlRenderer};
