import { __decorate } from "tslib";
import { PSSysViewPanelItem } from '@ibizstudio/api';
import { VueLifeCycleProcessing } from '@ibizstudio/dynamic-design';
import { Component } from 'vue-property-decorator';
import { PanelMaterialBase } from '../panel-material-base';
/**
 * 面板布局容器
 *
 * @export
 * @class PanelLayout
 * @extends {FormMaterialBase}
 */
let PanelLayout = class PanelLayout extends PanelMaterialBase {
    /**
     * 绘制拖拽容器class
     *
     * @returns {*}
     * @memberof PanelLayout
     */
    getClass() {
        return Object.assign(Object.assign({}, super.getClass()), { 'material-form-container': true });
    }
    /**
     * 获取可创建的项
     *
     * @memberof PanelLayout
     */
    componentCreated() {
        this.list.push({
            text: '分页部件',
            tooltip: '分页部件',
            iconcls: 'iconfont icon-tab',
            data: new PSSysViewPanelItem({ itemtype: 'TABPANEL' }),
        });
        this.list.push({
            text: '布局容器',
            tooltip: '布局容器',
            iconcls: 'iconfont icon-tab',
            data: new PSSysViewPanelItem({ itemtype: 'CONTAINER' }),
        });
    }
};
PanelLayout = __decorate([
    Component({}),
    VueLifeCycleProcessing()
], PanelLayout);
export { PanelLayout };
