forked from AkosLukacs/ag-grid-enterprise
-
Notifications
You must be signed in to change notification settings - Fork 0
/
exports.ts
79 lines (75 loc) · 5.06 KB
/
exports.ts
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
export {ColumnSelectComp} from "./dist/lib/toolPanel/columnsSelect/columnSelectComp";
export {ToolPanelColumnComp} from "./dist/lib/toolPanel/columnsSelect/toolPanelColumnComp";
export {ToolPanelGroupComp} from "./dist/lib/toolPanel/columnsSelect/toolPanelGroupComp";
export {AggregationStage} from "./dist/lib/rowStages/aggregationStage";
export {GroupStage} from "./dist/lib/rowStages/groupStage";
export {SetFilter} from "./dist/lib/setFilter/setFilter";
export {SetFilterModel} from "./dist/lib/setFilter/setFilterModel";
export {StatusBar} from "./dist/lib/statusBar/statusBar";
export {StatusItem} from "./dist/lib/statusBar/statusItem";
export {ClipboardService} from "./dist/lib/clipboardService";
export {EnterpriseBoot} from "./dist/lib/enterpriseBoot";
export {EnterpriseMenu} from "./dist/lib/menu/enterpriseMenu";
export {MenuItemComponent} from "./dist/lib/menu/menuItemComponent";
export {MenuList} from "./dist/lib/menu/menuList";
export {RangeController} from "./dist/lib/rangeController";
export {RowGroupColumnsPanel} from "./dist/lib/toolPanel/columnDrop/rowGroupColumnsPanel";
export {ContextMenuFactory} from "./dist/lib/menu/contextMenu";
export {ViewportRowModel} from "./dist/lib/rowModels/viewport/viewportRowModel";
export {RichSelectCellEditor} from "./dist/lib/rendering/richSelect/richSelectCellEditor";
export {RichSelectRow} from "./dist/lib/rendering/richSelect/richSelectRow";
export {VirtualList} from "./dist/lib/rendering/virtualList";
export {AbstractColumnDropPanel} from "./dist/lib/toolPanel/columnDrop/abstractColumnDropPanel";
export {PivotColumnsPanel} from "./dist/lib/toolPanel/columnDrop/pivotColumnsPanel";
export {ToolPanelComp} from "./dist/lib/toolPanel/toolPanelComp";
export {LicenseManager} from "./dist/lib/licenseManager";
export {PivotStage} from "./dist/lib/rowStages/pivotStage";
export {PivotColDefService} from "./dist/lib/rowStages/pivotColDefService";
export {PivotModePanel} from "./dist/lib/toolPanel/columnDrop/pivotModePanel";
export {AggFuncService} from "./dist/lib/aggregation/aggFuncService";
export {MD5} from "./dist/lib/license/md5";
export {SetFilterListItem} from "./dist/lib/setFilter/setFilterListItem";
export {ColumnComponent} from "./dist/lib/toolPanel/columnDrop/columnComponent";
export {ValuesColumnPanel} from "./dist/lib/toolPanel/columnDrop/valueColumnsPanel";
export {PivotCompFactory} from "./dist/lib/pivotCompFactory";
export {RowGroupCompFactory} from "./dist/lib/rowGroupCompFactory";
export {ExcelCreator} from "./dist/lib/excelCreator";
export {ExcelXmlFactory} from "./dist/lib/excelXmlFactory";
// bootstrap the enterprise side of things - this ensures the enterprise code
// is loaded up and ready to go
import {Grid} from "ag-grid/main";
import {EnterpriseMenuFactory} from "./dist/lib/menu/enterpriseMenu";
import {RangeController} from "./dist/lib/rangeController";
import {ClipboardService} from "./dist/lib/clipboardService";
import {GroupStage} from "./dist/lib/rowStages/groupStage";
import {AggregationStage} from "./dist/lib/rowStages/aggregationStage";
import {EnterpriseBoot} from "./dist/lib/enterpriseBoot";
import {StatusBar} from "./dist/lib/statusBar/statusBar";
import {ContextMenuFactory} from "./dist/lib/menu/contextMenu";
import {ViewportRowModel} from "./dist/lib/rowModels/viewport/viewportRowModel";
import {PivotColumnsPanel} from "./dist/lib/toolPanel/columnDrop/pivotColumnsPanel";
import {ToolPanelComp} from "./dist/lib/toolPanel/toolPanelComp";
import {RowGroupCompFactory} from "./dist/lib/rowGroupCompFactory";
import {LicenseManager} from "./dist/lib/licenseManager";
import {MD5} from "./dist/lib/license/md5";
import {PivotStage} from "./dist/lib/rowStages/pivotStage";
import {PivotColDefService} from "./dist/lib/rowStages/pivotColDefService";
import {AggFuncService} from "./dist/lib/aggregation/aggFuncService";
import {PivotCompFactory} from "./dist/lib/pivotCompFactory";
import {MenuItemMapper} from "./dist/lib/menu/menuItemMapper";
import {ExcelCreator} from "./dist/lib/excelCreator";
import {ExcelXmlFactory} from "./dist/lib/excelXmlFactory";
import {EnterpriseRowModel} from "./dist/lib/rowModels/enterprise/enterpriseRowModel";
import {ColumnSelectHeaderComp} from "./dist/lib/toolPanel/columnsSelect/columnSelectHeaderComp";
import {ColumnContainerComp} from "./dist/lib/toolPanel/columnsSelect/columnContainerComp";
import {HorizontalResizeComp} from "./dist/lib/toolPanel/columnsSelect/horizontalResizeComp";
let rowModelTypes = {viewport: ViewportRowModel, enterprise: EnterpriseRowModel};
Grid.setEnterpriseBeans([ToolPanelComp, EnterpriseMenuFactory, ExcelCreator, ExcelXmlFactory, RowGroupCompFactory, PivotCompFactory,
PivotColumnsPanel, RangeController, ClipboardService, PivotStage, PivotColDefService,
ContextMenuFactory, GroupStage, AggregationStage, EnterpriseBoot, AggFuncService,
StatusBar, LicenseManager, MD5, MenuItemMapper], rowModelTypes);
Grid.setEnterpriseComponents([
{componentName: 'AgColumnSelectHeader', theClass: ColumnSelectHeaderComp},
{componentName: 'AgColumnContainer', theClass: ColumnContainerComp},
{componentName: 'AgHorizontalResize', theClass: HorizontalResizeComp}
]);