import{s as a,t as c,f as n,y as f,z as m,a1 as u,ce as p}from"./index-DT8qTvyx.js";import d from"./Combo-DiToMg-K.js";var y=function(o){a(r,o);function r(e){var t=o.call(this,e)||this;return t.comboRef=t.comboRef.bind(t),t}return r.prototype.comboRef=function(e){this.comboInstance=e},r.prototype.validate=function(e){return this.comboInstance?this.comboInstance.validate():null},r.prototype.render=function(){var e=this.props,t=e.items,s=e.scaffold,i=c(e,["items","scaffold"]),l=Array.isArray(t)?t.length>1?t.slice(0,1):t:t!=null?[t]:[];return n.createElement(d,f({},i,{scaffold:s,items:l,flat:!0,multiple:!0,multiLine:!1,ref:this.comboRef}))},r}(n.Component),_=function(o){a(r,o);function r(){return o!==null&&o.apply(this,arguments)||this}return r=m([u({type:"input-array",storeType:p.name})],r),r}(y);export{_ as ArrayControlRenderer,y as default};
