import {Component, Vue, Prop, Watch, Emit} from 'vue-property-decorator';
import { Getter } from 'vuex-class';
import DynamicForm from '@editor/component/DynamicForm/index.vue';
import DynamicPageForm from '@editor/component/DynamicPageForm/index.vue';
import DynamicComponentSort from '@editor/component/DynamicComponentSort/index.vue';
// import EventBus from '@service/eventBus.service';

@Component({ components: { DynamicPageForm, DynamicForm, DynamicComponentSort }, name: 'RecordModal' })
export default class DynamicFormTabs extends Vue {

  @Getter('curRightTabName') curRightTabName!: string | null;

  @Emit('modProps')
  modProps(props, ele, type) {
    // return props, ele, type;
  }

  // @Emit('resizedChildEvent')
  resizedChildEvent(type) {
    // EventBus.$emit('resizedChildEvent', type);
    // return type;
  }
}