app-layout-service.ts 24.8 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253
import { AppDefaultCalendarViewLayout } from "../../components/layout/app-default-layout/app-default-calendarview-layout/app-default-calendarview-layout";
import { AppDefaultChartViewLayout } from "../../components/layout/app-default-layout/app-default-chartview-layout/app-default-chartview-layout";
import { AppDefaultChartExpViewLayout } from '../../components/layout/app-default-layout/app-default-chartexpview-layout/app-default-chartexpview-layout';
import { AppDefaultDataViewLayout } from "../../components/layout/app-default-layout/app-default-dataview-layout/app-default-dataview-layout";
import { AppDefaultDePortalViewLayout } from "../../components/layout/app-default-layout/app-default-deportalview-layout/app-default-deportalview-layout";
import { AppDefaultPortalViewLayout } from "../../components/layout/app-default-layout/app-default-portalview-layout/app-default-portalview-layout";
import { AppDefaultEditViewLayout } from "../../components/layout/app-default-layout/app-default-editview-layout/app-default-editview-layout";
import { AppDefaultEditView2Layout } from "../../components/layout/app-default-layout/app-default-editview2-layout/app-default-editview2-layout";
import { AppDefaultEditView3Layout } from "../../components/layout/app-default-layout/app-default-editview3-layout/app-default-editview3-layout";
import { AppDefaultEditView4Layout } from "../../components/layout/app-default-layout/app-default-editview4-layout/app-default-editview4-layout";
import { AppDefaultGridViewLayout } from "../../components/layout/app-default-layout/app-default-gridview-layout/app-default-gridview-layout";
import { AppDefaultGridView4Layout } from "../../components/layout/app-default-layout/app-default-gridview4-layout/app-default-gridview4-layout";
import { AppDefaultIndexViewLayout } from "../../components/layout/app-default-layout/app-default-indexview-layout/app-default-indexview-layout";
import { AppDefaultKanbanViewLayout } from "../../components/layout/app-default-layout/app-default-kanbanview-layout/app-default-kanbanview-layout";
import { AppDefaultListViewayout } from "../../components/layout/app-default-layout/app-default-listview-layout/app-default-listview-layout";
import { AppDefaultGridExpViewLayout } from "../../components/layout/app-default-layout/app-default-gridexpview-layout/app-default-gridexpview-layout";
import { AppDefaultPickupGridViewLayout } from '../../components/layout/app-default-layout/app-default-pickupgridview-layout/app-default-pickupgridview-layout';
import { AppDefaultCalendarExpViewLayout } from '../../components/layout/app-default-layout/app-default-calendarexpview-layout/app-default-calendarexpview-layout';
import { AppDefaultListExpViewLayout } from "../../components/layout/app-default-layout/app-default-listexpview-layout/app-default-listexpview-layout";
import { AppDefaultTreeViewLayout } from "../../components/layout/app-default-layout/app-default-treeview-layout/app-default-treeview-layout";
import { AppDefaultTreeExpViewLayout } from "../../components/layout/app-default-layout/app-default-treeexpview-layout/app-default-treeexpview-layout";
import { AppDefaultMEditViewLayout } from '../../components/layout/app-default-layout/app-default-meditview-layout/app-default-meditview-layout';
import { AppDefaultDataViewExpViewLayout } from "../../components/layout/app-default-layout/app-default-dataviewexpview-layout/app-default-dataviewexpview-layout";
import { AppDefaultPickupViewLayout } from "../../components/layout/app-default-layout/app-default-pickupview-layout/app-default-pickupview-layout";
import { AppDefaultPickupView2Layout } from "../../components/layout/app-default-layout/app-default-pickupview2-layout/app-default-pickupview2-layout";
import { AppDefaultPickupView3Layout } from '../../components/layout/app-default-layout/app-default-pickupview3-layout/app-default-pickupview3-layout';
import { AppDefaultTabExpViewLayout } from "../../components/layout/app-default-layout/app-default-tabexpview-layout/app-default-tabexpview-layout";
import { AppDefaultTabSearchViewLayout } from "../../components/layout/app-default-layout/app-default-tabsearchview-layout/app-default-tabsearchview-layout";
import { AppDefaultMPickupViewLayout } from "../../components/layout/app-default-layout/app-default-mpickupview-layout/app-default-mpickupview-layout";
import { AppDefaultMPickupView2Layout } from "../../components/layout/app-default-layout/app-default-mpickupview2-layout/app-default-mpickupview2-layout";
import { AppDefaultGanttViewLayout } from "../../components/layout/app-default-layout/app-default-ganttview-layout/app-default-ganttview-layout";
import { AppDefaultTreeGridExViewLayout } from "../../components/layout/app-default-layout/app-default-treegridexview-layout/app-default-treegridexview-layout";
import { AppDefaultPickupTreeViewLayout } from "../../components/layout/app-default-layout/app-default-pickuptreeview-layout/app-default-pickuptreeview-layout";
import { AppDefaultCustomViewLayout } from "../../components/layout/app-default-layout/app-default-customview-layout/app-default-customview-layout";
import { AppDefaultOptViewLayout } from "../../components/layout/app-default-layout/app-default-optview-layout/app-default-optview-layout";
import { AppDefaultWFDynaActionViewLayout } from '../../components/layout/app-default-layout/app-default-wfdynaactionview-layout/app-default-wfdynaactionview-layout';
import { AppDefaultWfDynaExpGridViewLayout } from "../../components/layout/app-default-layout/app-default-wfdynaexpgridview-layout/app-default-wfdynaexpgridview-layout";
import { AppDefaultWFDynaEditViewLayout } from "../../components/layout/app-default-layout/app-default-wfdynaeditview-layout/app-default-wfdynaeditview-layout";
import { AppDefaultWFDynaEditView3Layout } from "../../components/layout/app-default-layout/app-default-wfdynaeditview3-layout/app-default-wfdynaeditview3-layout";
import { AppDefaultFormPickupDataViewLayout } from '../../components/layout/app-default-layout/app-default-formpickupdataview-layout/app-default-formpickupdataview-layout';
import { AppDefaultWizardViewLayout } from '../../components/layout/app-default-layout/app-default-wizardview-layout/app-default-wizardview-layout';
import { AppDefaultWFActionViewLayout } from '../../components/layout/app-default-layout/app-default-wfactionview-layout/app-default-wfactionview-layout';
import { AppDefaultDeRedirectViewLayout } from '../../components/layout/app-default-layout/app-default-deredirectview-layout/app-default-deredirectview-layout';
import { AppDefaultWfStepTraceViewLayout } from '../../components/layout/app-default-layout/app-default-wfsteptraceview-layout/app-default-wfsteptraceview-layout';
import { AppDefaultMapViewLayout } from '../../components/layout/app-default-layout/app-default-mapview-layout/app-default-mapview-layout';
import { AppDefaultDeIndexViewLayout } from '../../components/layout/app-default-layout/app-default-deindexview-layout/app-default-deindexview-layout';
import { AppDefaultIndexPickupDataViewLayout } from "../../components/layout/app-default-layout/app-default-indexpickupdataview-layout/app-default-indexpickupdataview-layout";
import { AppDefaultWFDynaStartViewLayout } from "../../components/layout/app-default-layout/app-default-wfdynastartview-layout/app-default-wfdynastartview-layout";
import { AppDefaultDeReportViewLayout } from "../../components/layout/app-default-layout/app-default-dereportview-layout/app-default-dereportview-layout";
import { AppDefaultMapExpViewLayout } from "../../components/layout/app-default-layout/app-default-mapexpview-layout/app-default-mapexpview-layout";
import { AppDefaultDePanelViewLayout } from '../../components/layout/app-default-layout/app-default-depanelview-layout/app-default-depanelview-layout';
import { AppDefaultHtmlViewLayout } from '../../components/layout/app-default-layout/app-default-htmlview-layout/app-default-htmlview-layout';
import { AppDefaultLoginViewLayout } from "../../components/layout/app-default-layout/app-default-login-layout/app-default-login-layout";
import { AppStyle2IndexViewLayout } from '../../components/layout/app-style2-layout/app-style2-indexview-layout/app-style2-indexview-layout';
import { AppStyle2GridViewLayout } from '../../components/layout/app-style2-layout/app-style2-gridview-layout/app-style2-gridview-layout';
import { AppStyle2GridExpViewLayout } from '../../components/layout/app-style2-layout/app-style2-gridexpview-layout/app-style2-gridexpview-layout';
import { AppStyle2TreeExpViewLayout } from '../../components/layout/app-style2-layout/app-style2-treeexpview-layout/app-style2-treeexpview-layout';
import { AppStyle2ListExpViewLayout } from '../../components/layout/app-style2-layout/app-style2-listexpview-layout/app-style2-listexpview-layout';
import { AppStyle2CalendarExpViewLayout } from '../../components/layout/app-style2-layout/app-style2-calendarexpview-layout/app-style2-calendarexpview-layout';
import { AppStyle2ListViewLayout } from '../../components/layout/app-style2-layout/app-style2-listview-layout/app-style2-listview-layout';
import { AppStyle2TabExpViewLayout } from '../../components/layout/app-style2-layout/app-style2-tabexpview-layout/app-style2-tabexpview-layout';
import { AppStyle2TabSearchViewLayout } from '../../components/layout/app-style2-layout/app-style2-tabsearchview-layout/app-style2-tabsearchview-layout';
import { AppStyle2CalendarViewLayout } from '../../components/layout/app-style2-layout/app-style2-calendarview-layout/app-style2-calendarview-layout';
import { AppStyle2EditViewLayout } from '../../components/layout/app-style2-layout/app-style2-editview-layout/app-style2-editview-layout';
import { AppStyle2EditView3Layout } from '../../components/layout/app-style2-layout/app-style2-editview3-layout/app-style2-editview3-layout';
import { AppStyle2ChartViewLayout } from '../../components/layout/app-style2-layout/app-style2-chartview-layout/app-style2-chartview-layout';
import { AppStyle2ChartExpViewLayout } from '../../components/layout/app-style2-layout/app-style2-chartexpview-layout/app-style2-chartexpview-layout';
import { AppStyle2DataViewLayout } from '../../components/layout/app-style2-layout/app-style2-dataview-layout/app-style2-dataview-layout';
import { AppStyle2DePortalViewLayout } from '../../components/layout/app-style2-layout/app-style2-deportalview-layout/app-style2-deportalview-layout';
import { AppStyle2PortalViewLayout } from '../../components/layout/app-style2-layout/app-style2-portalview-layout/app-style2-portalview-layout';
import { AppStyle2KanBanViewLayout } from '../../components/layout/app-style2-layout/app-style2-kanbanview-layout/app-style2-kanbanview-layout';
import { AppStyle2OptViewLayout } from '../../components/layout/app-style2-layout/app-style2-optview-layout/app-style2-optview-layout';
import { AppStyle2WFDynaEditViewLayout } from '../../components/layout/app-style2-layout/app-style2-wfdynaeditview-layout/app-style2-wfdynaeditview-layout';
import { AppStyle2WFDynaEditView3Layout } from '../../components/layout/app-style2-layout/app-style2-wfdynaeditview3-layout/app-style2-wfdynaeditview3-layout';
import { AppStyle2CustomViewLayout } from '../../components/layout/app-style2-layout/app-style2-customview-layout/app-style2-customview-layout';
import { AppStyle2PickupTreeViewLayout } from '../../components/layout/app-style2-layout/app-style2-pickuptreeview-layout/app-style2-pickuptreeview-layout';
import { AppStyle2TreeGridExViewLayout } from '../../components/layout/app-style2-layout/app-style2-treegridexview-layout/app-style2-treegridexview-layout';
import { AppStyle2GanttViewLayout } from '../../components/layout/app-style2-layout/app-style2-ganttview-layout/app-style2-ganttview-layout';
import { AppStyle2MPickupViewLayout } from '../../components/layout/app-style2-layout/app-style2-mpickupview-layout/app-style2-mpickupview-layout';
import { AppStyle2PickupViewLayout } from '../../components/layout/app-style2-layout/app-style2-pickupview-layout/app-style2-pickupview-layout';
import { AppStyle2DataViewExpViewLayout } from '../../components/layout/app-style2-layout/app-style2-dataviewexpview-layout/app-style2-dataviewexpview-layout';
import { AppStyle2MEditViewLayout } from '../../components/layout/app-style2-layout/app-style2-meditview-layout/app-style2-meditview-layout';
import { AppStyle2TreeViewLayout } from '../../components/layout/app-style2-layout/app-style2-treeview-layout/app-style2-treeview-layout';
import { AppStyle2PickupGridViewLayout } from '../../components/layout/app-style2-layout/app-style2-pickupgridview-layout/app-style2-pickupgridview-layout';
import { AppStyle2WfDynaExpGridViewLayout } from '../../components/layout/app-style2-layout/app-style2-wfdynaexpgridview-layout/app-style2-wfdynaexpgridview-layout';
import { AppStyle2WFDynaActionViewLayout } from '../../components/layout/app-style2-layout/app-style2-wfdynaactionview-layout/app-style2-wfdynaactionview-layout';
import { AppStyle2HtmlViewLayout } from '../../components/layout/app-style2-layout/app-style2-htmlview-layout/app-style2-htmlview-layout';
import { AppStyle2IndexPickupDataViewLayout } from "../../components/layout/app-style2-layout/app-style2-indexpickupdataview-layout/app-style2-indexpickupdataview-layout";
import { AppStyle2FormPickupDataViewLayout } from "../../components/layout/app-style2-layout/app-style2-formpickupdataview-layout/app-style2-formpickupdataview-layout";
import { AppStyle2WFDynaStartViewLayout } from "../../components/layout/app-style2-layout/app-style2-wfdynastartview-layout/app-style2-wfdynastartview-layout";
import { AppStyle3IndexViewLayout } from '../../components/layout/app-style3-layout/app-style3-indexview-layout/app-style3-indexview-layout';
import { AppStyle4IndexViewLayout } from '../../components/layout/app-style4-layout/app-style4-indexview-layout/app-style4-indexview-layout';
import { AppStyle2WFActionViewLayout } from '../../components/layout/app-style2-layout/app-style2-wfactionview-layout/app-style2-wfactionview-layout';
import { AppStyle2WizardViewLayout } from '../../components/layout/app-style2-layout/app-style2-wizardview-layout/app-style2-wizardview-layout';
import { AppStyle2DeRedirectViewLayout } from "../../components/layout/app-style2-layout/app-style2-deredirectview-layout/app-style2-deredirectview-layout";
import { AppStyle2WfStepTraceViewLayout } from "../../components/layout/app-style2-layout/app-style2-wfsteptraceview-layout/app-style2-wfsteptraceview-layout";
import { AppStyle2DeReportViewLayout } from "../../components/layout/app-style2-layout/app-style2-dereportview-layout/app-style2-dereportview-layout";
import { AppStyle2MapExpViewLayout } from "../../components/layout/app-style2-layout/app-style2-mapexpview-layout/app-style2-mapexpview-layout";
import { AppStyle4PortalViewLayout } from "../../components/layout/app-style4-layout/app-style4-portalview-layout/app-style4-portalview-layout";
import { AppStyle4DePortalViewLayout } from "../../components/layout/app-style4-layout/app-style4-deportalview-layout/app-style4-deportalview-layout";
import { AppStyle2DePanelViewLayout } from '../../components/layout/app-style2-layout/app-style2-depanelview-layout/app-style2-depanelview-layout';
import { AppStyle2MapViewLayout } from '../../components/layout/app-style2-layout/app-style2-mapview-layout/app-style2-mapview-layout';
/**
 * 应用组件服务
 * 
 * @memberof AppLayoutService
 */
export class AppLayoutService {

    /**
     * 布局组件Map
     * 
     * @memberof AppLayoutService
     */
    protected static layoutMap: Map<string, any> = new Map();

    /**
     * 注册布局组件
     * 
     * @memberof AppLayoutService
     */
    public static registerLayoutComponent() {
        this.layoutMap.set("APPLOGIN-DEFAULT", AppDefaultLoginViewLayout);
        this.layoutMap.set("DEEDITVIEW-DEFAULT", AppDefaultEditViewLayout);
        this.layoutMap.set("DEEDITVIEW2-DEFAULT", AppDefaultEditView2Layout);
        this.layoutMap.set("DEEDITVIEW3-DEFAULT", AppDefaultEditView3Layout);
        this.layoutMap.set("DEEDITVIEW4-DEFAULT", AppDefaultEditView4Layout);
        this.layoutMap.set("DEGRIDVIEW-DEFAULT", AppDefaultGridViewLayout);
        this.layoutMap.set("DEGRIDVIEW4-DEFAULT", AppDefaultGridView4Layout);
        this.layoutMap.set("DECALENDARVIEW-DEFAULT", AppDefaultCalendarViewLayout);
        this.layoutMap.set("DECHARTVIEW-DEFAULT", AppDefaultChartViewLayout);
        this.layoutMap.set("DECHARTEXPVIEW-DEFAULT", AppDefaultChartExpViewLayout);
        this.layoutMap.set("DELISTVIEW-DEFAULT", AppDefaultListViewayout);
        this.layoutMap.set("DEDATAVIEW-DEFAULT", AppDefaultDataViewLayout);
        this.layoutMap.set("DEPORTALVIEW-DEFAULT", AppDefaultDePortalViewLayout);
        this.layoutMap.set("APPPORTALVIEW-DEFAULT", AppDefaultPortalViewLayout);
        this.layoutMap.set("DEKANBANVIEW-DEFAULT", AppDefaultKanbanViewLayout);
        this.layoutMap.set("APPINDEXVIEW-DEFAULT", AppDefaultIndexViewLayout);
        this.layoutMap.set("DEGRIDEXPVIEW-DEFAULT", AppDefaultGridExpViewLayout);
        this.layoutMap.set("DEWFDYNAEXPGRIDVIEW-DEFAULT", AppDefaultWfDynaExpGridViewLayout);
        this.layoutMap.set("DEPICKUPGRIDVIEW-DEFAULT", AppDefaultPickupGridViewLayout);
        this.layoutMap.set("DECALENDAREXPVIEW-DEFAULT", AppDefaultCalendarExpViewLayout);
        this.layoutMap.set("DELISTEXPVIEW-DEFAULT", AppDefaultListExpViewLayout);
        this.layoutMap.set("DETREEVIEW-DEFAULT", AppDefaultTreeViewLayout);
        this.layoutMap.set("DETREEEXPVIEW-DEFAULT", AppDefaultTreeExpViewLayout);
        this.layoutMap.set("DEMEDITVIEW9-DEFAULT", AppDefaultMEditViewLayout);
        this.layoutMap.set("DEDATAVIEWEXPVIEW-DEFAULT", AppDefaultDataViewExpViewLayout);
        this.layoutMap.set("DEPICKUPVIEW-DEFAULT", AppDefaultPickupViewLayout);
        this.layoutMap.set("DEPICKUPVIEW2-DEFAULT", AppDefaultPickupView2Layout);
        this.layoutMap.set("DEPICKUPVIEW3-DEFAULT", AppDefaultPickupView3Layout);
        this.layoutMap.set("DETABEXPVIEW-DEFAULT", AppDefaultTabExpViewLayout);
        this.layoutMap.set("DETABSEARCHVIEW-DEFAULT", AppDefaultTabSearchViewLayout);
        this.layoutMap.set("DEMPICKUPVIEW-DEFAULT", AppDefaultMPickupViewLayout);
        this.layoutMap.set("DEMPICKUPVIEW2-DEFAULT", AppDefaultMPickupView2Layout);
        this.layoutMap.set("DEGANTTVIEW-DEFAULT", AppDefaultGanttViewLayout);
        this.layoutMap.set("DETREEGRIDEXVIEW-DEFAULT", AppDefaultTreeGridExViewLayout);
        this.layoutMap.set("DEPICKUPTREEVIEW-DEFAULT", AppDefaultPickupTreeViewLayout);
        this.layoutMap.set("DECUSTOMVIEW-DEFAULT", AppDefaultCustomViewLayout);
        this.layoutMap.set("DEOPTVIEW-DEFAULT", AppDefaultOptViewLayout);
        this.layoutMap.set("DEWFDYNAACTIONVIEW-DEFAULT", AppDefaultWFDynaActionViewLayout);
        this.layoutMap.set("DEWFDYNAEDITVIEW-DEFAULT", AppDefaultWFDynaEditViewLayout);
        this.layoutMap.set("DEWFDYNAEDITVIEW3-DEFAULT", AppDefaultWFDynaEditView3Layout);
        this.layoutMap.set("DEFORMPICKUPDATAVIEW-DEFAULT",AppDefaultFormPickupDataViewLayout);
        this.layoutMap.set("DEINDEXPICKUPDATAVIEW-DEFAULT",AppDefaultIndexPickupDataViewLayout);
        this.layoutMap.set("DEWFDYNASTARTVIEW-DEFAULT", AppDefaultWFDynaStartViewLayout);
        this.layoutMap.set("DEWIZARDVIEW-DEFAULT", AppDefaultWizardViewLayout);
        this.layoutMap.set("DEWFACTIONVIEW-DEFAULT", AppDefaultWFActionViewLayout);
        this.layoutMap.set("DEREDIRECTVIEW-DEFAULT",AppDefaultDeRedirectViewLayout);
        this.layoutMap.set("APPWFSTEPTRACEVIEW-DEFAULT",AppDefaultWfStepTraceViewLayout);
        this.layoutMap.set("DEMAPVIEW-DEFAULT",AppDefaultMapViewLayout);
        this.layoutMap.set("DEREPORTVIEW-DEFAULT",AppDefaultDeReportViewLayout);
        this.layoutMap.set("DEMAPEXPVIEW-DEFAULT",AppDefaultMapExpViewLayout);
        this.layoutMap.set("DEPANELVIEW-DEFAULT", AppDefaultDePanelViewLayout);
        this.layoutMap.set("DEHTMLVIEW-DEFAULT", AppDefaultHtmlViewLayout);
        this.layoutMap.set("DEINDEXVIEW-DEFAULT", AppDefaultDeIndexViewLayout);
        // todo 部件视图布局
        this.layoutMap.set("DEEDITVIEW9-DEFAULT", AppDefaultEditViewLayout);
        this.layoutMap.set("DEGRIDVIEW9-DEFAULT", AppDefaultGridViewLayout);
        this.layoutMap.set("DEPORTALVIEW9-DEFAULT", AppDefaultDePortalViewLayout);
        this.layoutMap.set("DELISTVIEW9-DEFAULT", AppDefaultListViewayout);
        this.layoutMap.set("DECHARTVIEW9-DEFAULT", AppDefaultChartViewLayout);
        this.layoutMap.set("DEDATAVIEW9-DEFAULT",AppDefaultDataViewLayout);
        // STYLE2视图布局
        this.layoutMap.set("DEEDITVIEW-STYLE2", AppStyle2EditViewLayout);
        this.layoutMap.set("DEEDITVIEW3-STYLE2", AppStyle2EditView3Layout);
        this.layoutMap.set("DEGRIDVIEW-STYLE2", AppStyle2GridViewLayout);
        this.layoutMap.set("DECALENDARVIEW-STYLE2", AppStyle2CalendarViewLayout);
        this.layoutMap.set("DECHARTVIEW-STYLE2", AppStyle2ChartViewLayout);
        this.layoutMap.set("DECHARTEXPVIEW-STYLE2", AppStyle2ChartExpViewLayout);
        this.layoutMap.set("DELISTVIEW-STYLE2", AppStyle2ListViewLayout);
        this.layoutMap.set("DEDATAVIEW-STYLE2", AppStyle2DataViewLayout);
        this.layoutMap.set("DEPORTALVIEW-STYLE2", AppStyle2DePortalViewLayout);
        this.layoutMap.set("APPPORTALVIEW-STYLE2", AppStyle2PortalViewLayout);
        this.layoutMap.set("DEKANBANVIEW-STYLE2", AppStyle2KanBanViewLayout);
        this.layoutMap.set("APPINDEXVIEW-STYLE2", AppStyle2IndexViewLayout);
        this.layoutMap.set("DEGRIDEXPVIEW-STYLE2", AppStyle2GridExpViewLayout);
        this.layoutMap.set("DEWFDYNAEXPGRIDVIEW-STYLE2", AppStyle2WfDynaExpGridViewLayout);
        this.layoutMap.set("DEPICKUPGRIDVIEW-STYLE2", AppStyle2PickupGridViewLayout);
        this.layoutMap.set("DECALENDAREXPVIEW-STYLE2", AppStyle2CalendarExpViewLayout);
        this.layoutMap.set("DELISTEXPVIEW-STYLE2", AppStyle2ListExpViewLayout);
        this.layoutMap.set("DETREEVIEW-STYLE2", AppStyle2TreeViewLayout);
        this.layoutMap.set("DETREEEXPVIEW-STYLE2", AppStyle2TreeExpViewLayout);
        this.layoutMap.set("DEMEDITVIEW9-STYLE2", AppStyle2MEditViewLayout);
        this.layoutMap.set("DEDATAVIEWEXPVIEW-STYLE2", AppStyle2DataViewExpViewLayout);
        this.layoutMap.set("DEPICKUPVIEW-STYLE2", AppStyle2PickupViewLayout);
        this.layoutMap.set("DETABEXPVIEW-STYLE2", AppStyle2TabExpViewLayout);
        this.layoutMap.set("DETABSEARCHVIEW-STYLE2", AppStyle2TabSearchViewLayout);
        this.layoutMap.set("DEMPICKUPVIEW-STYLE2", AppStyle2MPickupViewLayout);
        this.layoutMap.set("DEGANTTVIEW-STYLE2", AppStyle2GanttViewLayout);
        this.layoutMap.set("DETREEGRIDEXVIEW-STYLE2", AppStyle2TreeGridExViewLayout);
        this.layoutMap.set("DEPICKUPTREEVIEW-STYLE2", AppStyle2PickupTreeViewLayout);
        this.layoutMap.set("DECUSTOMVIEW-STYLE2", AppStyle2CustomViewLayout);
        this.layoutMap.set("DEOPTVIEW-STYLE2", AppStyle2OptViewLayout);
        this.layoutMap.set("DEWFDYNAACTIONVIEW-STYLE2", AppStyle2WFDynaActionViewLayout);
        this.layoutMap.set("DEWFDYNAEDITVIEW-STYLE2", AppStyle2WFDynaEditViewLayout);
        this.layoutMap.set("DEWFDYNAEDITVIEW3-STYLE2", AppStyle2WFDynaEditView3Layout);
        this.layoutMap.set("DEHTMLVIEW-STYLE2", AppStyle2HtmlViewLayout);
        this.layoutMap.set("DEFORMPICKUPDATAVIEW-STYLE2",AppStyle2FormPickupDataViewLayout);
        this.layoutMap.set("DEINDEXPICKUPDATAVIEW-STYLE2",AppStyle2IndexPickupDataViewLayout);
        this.layoutMap.set("DEWFDYNASTARTVIEW-STYLE2", AppStyle2WFDynaStartViewLayout);
        this.layoutMap.set("DEWFACTIONVIEW-STYLE2", AppStyle2WFActionViewLayout);
        this.layoutMap.set("DEWIZARDVIEW-STYLE2", AppStyle2WizardViewLayout);
        this.layoutMap.set("DEREDIRECTVIEW-STYLE2",AppStyle2DeRedirectViewLayout);
        this.layoutMap.set("APPWFSTEPTRACEVIEW-STYLE2",AppStyle2WfStepTraceViewLayout);
        this.layoutMap.set("DEREPORTVIEW-STYLE2",AppStyle2DeReportViewLayout);
        this.layoutMap.set("DEMAPEXPVIEW-STYLE2",AppStyle2MapExpViewLayout);
        this.layoutMap.set("DEPANELVIEW-STYLE2", AppStyle2DePanelViewLayout);
        this.layoutMap.set("DEMAPVIEW-STYLE2",AppStyle2MapViewLayout);
        //  STYLE2部件视图
        this.layoutMap.set("DEEDITVIEW9-STYLE2", AppStyle2EditViewLayout);
        this.layoutMap.set("DEGRIDVIEW9-STYLE2", AppStyle2GridViewLayout);
        this.layoutMap.set("DEPORTALVIEW9-STYLE2", AppStyle2DePortalViewLayout);
        this.layoutMap.set("DELISTVIEW9-STYLE2", AppStyle2ListViewLayout);
        this.layoutMap.set("DECHARTVIEW9-STYLE2", AppStyle2ChartViewLayout);
        this.layoutMap.set("DEDATAVIEW9-STYLE2",AppStyle2DataViewLayout);
        // STYLE3视图布局
        this.layoutMap.set("APPINDEXVIEW-STYLE3", AppStyle3IndexViewLayout);
        // STYLE4视图布局
        this.layoutMap.set("APPINDEXVIEW-STYLE4", AppStyle4IndexViewLayout);
        this.layoutMap.set("APPPORTALVIEW-STYLE4", AppStyle4PortalViewLayout);
        this.layoutMap.set("DEPORTALVIEW-STYLE4", AppStyle4DePortalViewLayout);
    }

    /**
     * 获取布局组件
     * 
     * @memberof AppLayoutService
     */
    public static getLayoutComponent(key: string) {
        return this.layoutMap.get(key);
    }

}