import { Component, Prop, Watch } from 'vue-property-decorator';
import { Util } from '@ibizstudio/runtime';
import { ControlBase } from '../../../widgets';
import { VueLifeCycleProcessing } from '../../../decorators';

/**
 * 列表
 *
 * @extends ListControlBase
 */
@Component({})
@VueLifeCycleProcessing()
export class AppDefaultNotSupportedControl extends ControlBase {
  /**
   * 绘制
   *
   * @returns {*}
   * @memberof AppDefaultNotSupportedControl
   */
  render() {
    let flexStyle: string = 'width: 100%; height: 100%; overflow: auto; display: flex;justify-content:center;align-items:center;';
    return (
      <div class='control-container' style={flexStyle}>
        暂未支持{this.staticProps.modelData.controlType}部件
      </div>
    );
  }
}
