import AbstractField from "./AbstractField";
import { Sequence } from "../../utility";

class InformationfeedbackField extends AbstractField{
    constructor(container) {
        super();
        this.scope="informationfeedbackField"
        this.container = container;
        this.htmlDOM=null;
        this.html=`<div class="baseLabel">
        <span class="baseLabel-title">信息反馈</span>
        </div><div class="baseCon"  style="width: 90%; height: 30px;">
        <input type="text" class="base-field" readonly></div>`;
        this.className="baseField";
        this.propValues.id = Sequence.createUuid();
        this.propValues.name="信息反馈"+this.propValues.id;

        this.propValues.discript="这是信息反馈的描述";
        this.propValues.editProp="editInformationfeedbackField";

        this.propValues.hiddenscript = ""; //隐藏条件脚本
        this.propValues.hiddenvalue = ""; //隐藏时显示值
        this.propValues.hiddenprintscript = ""; //打印时隐藏条件脚本
        this.propValues.printhiddenvalue = ""; //打印隐藏时显示值

        this.propValues.areawidth="";//宽
        this.propValues.areaheight="";//高


    }
    getPropsDesc() {
        return {
            "base":['myselfrows','name','areawidth','areaheight','discript'],
            "hidden":['hiddenscript','hiddenvalue'],
            "hiddenprint":["hiddenprintscript","printhiddenvalue"],
            

        }
    }
    
}
export default InformationfeedbackField;