import { MainControlBase } from './main-control-base';
/**
 * 上下文菜单部件基类
 *
 * @export
 * @class FormControlBase
 * @extends {MainControlBase}
 */
export class ContextMenuBase extends MainControlBase {
    /**
     * 监听静态参数变化
     *
     * @param {*} newVal
     * @param {*} oldVal
     * @memberof ControlBase
     */
    onDynamicPropsChange(newVal, oldVal) {
        this.contextMenuActionModel = (newVal === null || newVal === void 0 ? void 0 : newVal.contextMenuActionModel) || {};
        super.onDynamicPropsChange(newVal, oldVal);
    }
    /**
     * 部件模型数据初始化实例
     *
     * @memberof ContextMenuBase
     */
    async ctrlModelInit(args) {
        await super.ctrlModelInit();
    }
    /**
     * 设置已经绘制完成状态
     *
     * @memberof ContextMenuBase
     */
    setIsMounted() {
        // 上下文菜单绘制完成不需要外面部件重新加载
    }
}
