import AppIndexViewLayout from './app-index-view-layout';
import DECalendarView from './view-layout-model-repository/view-layout-model-repository-de-calendar-view-layout';
import DEDataViewExpView from './view-layout-model-repository/view-layout-model-repository-de-data-view-exp-view-layout';
import DEDataView from './view-layout-model-repository/view-layout-model-repository-de-data-view-layout';
import DEEditView from './view-layout-model-repository/view-layout-model-repository-de-edit-view-layout';
import DEGridViewExpView from './view-layout-model-repository/view-layout-model-repository-de-grid-exp-view-layout';
import DEGridView from './view-layout-model-repository/view-layout-model-repository-de-grid-view-layout';
import DEListViewExpView from './view-layout-model-repository/view-layout-model-repository-de-list-exp-view-layout';
import DEListView from './view-layout-model-repository/view-layout-model-repository-de-list-view-layout';
import DEOptView from './view-layout-model-repository/view-layout-model-repository-de-option-view-layout';
import DEPickupGirdView from './view-layout-model-repository/view-layout-model-repository-de-pickup-grid-view-layout';
import DEPickupView from './view-layout-model-repository/view-layout-model-repository-de-pickup-view-layout';
import DETabExpView from './view-layout-model-repository/view-layout-model-repository-de-tab-exp-view-layout';
import DETreeViewExpView from './view-layout-model-repository/view-layout-model-repository-de-tree-exp-view-layout';
import DETreeView from './view-layout-model-repository/view-layout-model-repository-de-tree-view-layout';
import DEMPickupView from './view-layout-model-repository/view-layout-model-repository-dem-pickup-view-layout';

/**
 * 安装视图默认布局
 *
 * @author chitanda
 * @date 2023-04-28 15:04:37
 * @export
 * @param {(key: string, model: any) => void} callBack
 */
export function install(callBack: (key: string, model: any) => void): void {
  callBack('APPINDEXVIEW_DEFAULT', AppIndexViewLayout);
  callBack('DECALENDARVIEW_DEFAULT', DECalendarView);
  callBack('DEDATAVIEWEXPVIEW_DEFAULT', DEDataViewExpView);
  callBack('DEDATAVIEW_DEFAULT', DEDataView);
  callBack('DEEDITVIEW_DEFAULT', DEEditView);
  callBack('DEGRIDEXPVIEW_DEFAULT', DEGridViewExpView);
  callBack('DEGRIDVIEW_DEFAULT', DEGridView);
  callBack('DELISTEXPVIEW_DEFAULT', DEListViewExpView);
  callBack('DELISTVIEW_DEFAULT', DEListView);
  callBack('DEOPTVIEW_DEFAULT', DEOptView);
  callBack('DEPICKUPGRIDVIEW_DEFAULT', DEPickupGirdView);
  callBack('DEPICKUPVIEW_DEFAULT', DEPickupView);
  callBack('DETABEXPVIEW_DEFAULT', DETabExpView);
  callBack('DETREEEXPVIEW_DEFAULT', DETreeViewExpView);
  callBack('DETREEVIEW_DEFAULT', DETreeView);
  callBack('DEMPICKUPVIEW_DEFAULT', DEMPickupView);
}