

<script>
/* eslint-disable */
// sd-skip-auto-import
import components from"./_import-components/sd-collapse-editor-import";var _render=function e(){var t=this,n=t._self._c;return n("a-collapse",{class:t.$style.wrapper,attrs:{"default-active-key":"default"}},[n("a-collapse-panel",{key:"default",attrs:{header:t.designerData.caption}},[n("sd-draggable",{attrs:{list:t.designerData.contents,handle:".sd-drag-handle",draggable:".sd-draggable-item",group:{name:t.designer.formProps.tableName,put:true}},on:{add:e=>t.componentAdded(e,t.designerData.contents)}},t._l(t.designerData.contents,(function(e){return n("sd-component-wrapper",{key:e.attrFD.id,staticClass:"sd-draggable-item",attrs:{component:e,list:t.designerData.contents}})})),1)],1)],1)};var staticRenderFns=[];_render._withStripped=true;export default{name:"SdCollapseEditor",inject:["designer"],components:components,props:{designerData:{type:Object,required:true}},data(){return{}},methods:{componentAdded(e,t){this.designer.$refs.main.componentAdded(e,t)},appendChild(e){this.designer.$refs.main.addComponentToList(e,this.designerData.contents);return true}},render:_render,staticRenderFns:staticRenderFns};</script>

<style module lang="scss">
@use '@/common/design' as *;
.wrapper {
  background-color: transparent;
  :global(.ant-collapse-content) {
    background-color: transparent;
  }
}
</style>
