YUI.add("aui-form-builder-field-fieldset",function(e,t){var n=e.Lang,r="acceptChildren",i="builder",s="contentBox",o=".",u="drop",a="dropZoneNode",f="form",l="form-builder-field",c="form-builder-fieldset-field",h="id",p="label",d="no",v="node",m="showLabel",g=" ",y="template",b="templateNode",w="type",E="yes",S="zone",x=e.getClassName,T=x(l,p),N=x(f,i,u,S),C=x(l),k=x(l,v),L='<fieldset id="{id}" class="'+[k].join(g)+'"></fieldset>',A='<legend class="'+T+'"></legend>',O=e.Component.create({NAME:c,ATTRS:{acceptChildren:{value:!0,readOnly:!0},dataType:{value:undefined},labelNode:{valueFn:function(){return e.Node.create(A)}},template:{valueFn:function(){return L}}},UI_ATTRS:[r,p,m],CSS_PREFIX:C,EXTENDS:e.FormBuilderField,prototype:{CONTENT_TEMPLATE:L,getHTML:function(){var t=this;return n.sub(t.get(y),{id:e.Escape.html(t.get(h))})},getPropertyModel:function(){var t=this,n=t.getStrings();return[{attributeName:w,editor:!1,name:n[w]},{attributeName:p,editor:new e.TextCellEditor,name:n[p]},{attributeName:m,editor:new e.RadioCellEditor({options:{"true":n[E],"false":n[d]}}),formatter:e.bind(t._booleanFormatter,t),name:n[m]}]},_uiSetAcceptChildren:function(e){var t=this,n=t.get(s),r=t.get(a),i=n.one(o+N);e&&!i?n.append(r):!e&&i?i.remove():e&&i&&t.set(a,i),t.get(b).hide()}}});e.FormBuilderFieldsetField=O,e.FormBuilder.types.fieldset=e.FormBuilderFieldsetField},"2.0.0",{requires:["aui-form-builder-field-base"]});
