text: import {ViewBean} from "../../Bean/ViewBean";
  
  export class ViewEvent extends ViewBean {
      type = null;
      id = null;
      parent_id = null;
      trigger = null;
      target = null;
      replace = null;
      delegate = null;
      form = null;
      path = null;
      history = false;
      changed = [];
      saveToSession = false;
      loadFromSession = false;
      saveToUser = false;
      windowClose = false;
      windowRefresh = false;
      draftDelete = false;
      saveAndCloseAll = false;
      allowUnload = false;
      debug = null;
      children: ViewEvent[] = [];
      targetElement: Element = null;
  
      static get TYPE_LINK()
      {
          return 'link';
      }
  
      static get TYPE_MODAL()
      {
          return 'modal';
      }
  
      static get TYPE_WINDOW()
      {
          return 'window';
      }
  
      static get TYPE_SUBMIT()
      {
          return 'submit';
      }
  
      static get TYPE_REFRESH_FORM()
      {
          return 'refresh_form';
      }
  
      static get TYPE_RESET_FORM()
      {
          return 'reset_form';
      }
  
      static get TYPE_DRAFT()
      {
          return 'draft';
      }
  
      static get TYPE_CALLBACK()
      {
          return 'callback';
      }
  
  }
  