forked from AkosLukacs/ag-grid-enterprise
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.js
115 lines (115 loc) · 7.93 KB
/
main.js
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
// ag-grid-enterprise v17.1.1
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var columnSelectComp_1 = require("./dist/lib/toolPanel/columnsSelect/columnSelectComp");
exports.ColumnSelectComp = columnSelectComp_1.ColumnSelectComp;
var toolPanelColumnComp_1 = require("./dist/lib/toolPanel/columnsSelect/toolPanelColumnComp");
exports.ToolPanelColumnComp = toolPanelColumnComp_1.ToolPanelColumnComp;
var toolPanelGroupComp_1 = require("./dist/lib/toolPanel/columnsSelect/toolPanelGroupComp");
exports.ToolPanelGroupComp = toolPanelGroupComp_1.ToolPanelGroupComp;
var aggregationStage_1 = require("./dist/lib/rowStages/aggregationStage");
exports.AggregationStage = aggregationStage_1.AggregationStage;
var groupStage_1 = require("./dist/lib/rowStages/groupStage");
exports.GroupStage = groupStage_1.GroupStage;
var setFilter_1 = require("./dist/lib/setFilter/setFilter");
exports.SetFilter = setFilter_1.SetFilter;
var setFilterModel_1 = require("./dist/lib/setFilter/setFilterModel");
exports.SetFilterModel = setFilterModel_1.SetFilterModel;
var statusBar_1 = require("./dist/lib/statusBar/statusBar");
exports.StatusBar = statusBar_1.StatusBar;
var statusItem_1 = require("./dist/lib/statusBar/statusItem");
exports.StatusItem = statusItem_1.StatusItem;
var clipboardService_1 = require("./dist/lib/clipboardService");
exports.ClipboardService = clipboardService_1.ClipboardService;
var enterpriseBoot_1 = require("./dist/lib/enterpriseBoot");
exports.EnterpriseBoot = enterpriseBoot_1.EnterpriseBoot;
var enterpriseMenu_1 = require("./dist/lib/menu/enterpriseMenu");
exports.EnterpriseMenu = enterpriseMenu_1.EnterpriseMenu;
var menuItemComponent_1 = require("./dist/lib/menu/menuItemComponent");
exports.MenuItemComponent = menuItemComponent_1.MenuItemComponent;
var menuList_1 = require("./dist/lib/menu/menuList");
exports.MenuList = menuList_1.MenuList;
var rangeController_1 = require("./dist/lib/rangeController");
exports.RangeController = rangeController_1.RangeController;
var rowGroupColumnsPanel_1 = require("./dist/lib/toolPanel/columnDrop/rowGroupColumnsPanel");
exports.RowGroupColumnsPanel = rowGroupColumnsPanel_1.RowGroupColumnsPanel;
var contextMenu_1 = require("./dist/lib/menu/contextMenu");
exports.ContextMenuFactory = contextMenu_1.ContextMenuFactory;
var viewportRowModel_1 = require("./dist/lib/rowModels/viewport/viewportRowModel");
exports.ViewportRowModel = viewportRowModel_1.ViewportRowModel;
var richSelectCellEditor_1 = require("./dist/lib/rendering/richSelect/richSelectCellEditor");
exports.RichSelectCellEditor = richSelectCellEditor_1.RichSelectCellEditor;
var richSelectRow_1 = require("./dist/lib/rendering/richSelect/richSelectRow");
exports.RichSelectRow = richSelectRow_1.RichSelectRow;
var virtualList_1 = require("./dist/lib/rendering/virtualList");
exports.VirtualList = virtualList_1.VirtualList;
var abstractColumnDropPanel_1 = require("./dist/lib/toolPanel/columnDrop/abstractColumnDropPanel");
exports.AbstractColumnDropPanel = abstractColumnDropPanel_1.AbstractColumnDropPanel;
var pivotColumnsPanel_1 = require("./dist/lib/toolPanel/columnDrop/pivotColumnsPanel");
exports.PivotColumnsPanel = pivotColumnsPanel_1.PivotColumnsPanel;
var toolPanelComp_1 = require("./dist/lib/toolPanel/toolPanelComp");
exports.ToolPanelComp = toolPanelComp_1.ToolPanelComp;
var licenseManager_1 = require("./dist/lib/licenseManager");
exports.LicenseManager = licenseManager_1.LicenseManager;
var pivotStage_1 = require("./dist/lib/rowStages/pivotStage");
exports.PivotStage = pivotStage_1.PivotStage;
var pivotColDefService_1 = require("./dist/lib/rowStages/pivotColDefService");
exports.PivotColDefService = pivotColDefService_1.PivotColDefService;
var pivotModePanel_1 = require("./dist/lib/toolPanel/columnDrop/pivotModePanel");
exports.PivotModePanel = pivotModePanel_1.PivotModePanel;
var aggFuncService_1 = require("./dist/lib/aggregation/aggFuncService");
exports.AggFuncService = aggFuncService_1.AggFuncService;
var md5_1 = require("./dist/lib/license/md5");
exports.MD5 = md5_1.MD5;
var setFilterListItem_1 = require("./dist/lib/setFilter/setFilterListItem");
exports.SetFilterListItem = setFilterListItem_1.SetFilterListItem;
var columnComponent_1 = require("./dist/lib/toolPanel/columnDrop/columnComponent");
exports.ColumnComponent = columnComponent_1.ColumnComponent;
var valueColumnsPanel_1 = require("./dist/lib/toolPanel/columnDrop/valueColumnsPanel");
exports.ValuesColumnPanel = valueColumnsPanel_1.ValuesColumnPanel;
var pivotCompFactory_1 = require("./dist/lib/pivotCompFactory");
exports.PivotCompFactory = pivotCompFactory_1.PivotCompFactory;
var rowGroupCompFactory_1 = require("./dist/lib/rowGroupCompFactory");
exports.RowGroupCompFactory = rowGroupCompFactory_1.RowGroupCompFactory;
var excelCreator_1 = require("./dist/lib/excelCreator");
exports.ExcelCreator = excelCreator_1.ExcelCreator;
var excelXmlFactory_1 = require("./dist/lib/excelXmlFactory");
exports.ExcelXmlFactory = excelXmlFactory_1.ExcelXmlFactory;
// bootstrap the enterprise side of things - this ensures the enterprise code
// is loaded up and ready to go
var main_1 = require("ag-grid/main");
var enterpriseMenu_2 = require("./dist/lib/menu/enterpriseMenu");
var rangeController_2 = require("./dist/lib/rangeController");
var clipboardService_2 = require("./dist/lib/clipboardService");
var groupStage_2 = require("./dist/lib/rowStages/groupStage");
var aggregationStage_2 = require("./dist/lib/rowStages/aggregationStage");
var enterpriseBoot_2 = require("./dist/lib/enterpriseBoot");
var statusBar_2 = require("./dist/lib/statusBar/statusBar");
var contextMenu_2 = require("./dist/lib/menu/contextMenu");
var viewportRowModel_2 = require("./dist/lib/rowModels/viewport/viewportRowModel");
var pivotColumnsPanel_2 = require("./dist/lib/toolPanel/columnDrop/pivotColumnsPanel");
var toolPanelComp_2 = require("./dist/lib/toolPanel/toolPanelComp");
var rowGroupCompFactory_2 = require("./dist/lib/rowGroupCompFactory");
var licenseManager_2 = require("./dist/lib/licenseManager");
var md5_2 = require("./dist/lib/license/md5");
var pivotStage_2 = require("./dist/lib/rowStages/pivotStage");
var pivotColDefService_2 = require("./dist/lib/rowStages/pivotColDefService");
var aggFuncService_2 = require("./dist/lib/aggregation/aggFuncService");
var pivotCompFactory_2 = require("./dist/lib/pivotCompFactory");
var menuItemMapper_1 = require("./dist/lib/menu/menuItemMapper");
var excelCreator_2 = require("./dist/lib/excelCreator");
var excelXmlFactory_2 = require("./dist/lib/excelXmlFactory");
var enterpriseRowModel_1 = require("./dist/lib/rowModels/enterprise/enterpriseRowModel");
var columnSelectHeaderComp_1 = require("./dist/lib/toolPanel/columnsSelect/columnSelectHeaderComp");
var columnContainerComp_1 = require("./dist/lib/toolPanel/columnsSelect/columnContainerComp");
var horizontalResizeComp_1 = require("./dist/lib/toolPanel/columnsSelect/horizontalResizeComp");
var rowModelTypes = { viewport: viewportRowModel_2.ViewportRowModel, enterprise: enterpriseRowModel_1.EnterpriseRowModel };
main_1.Grid.setEnterpriseBeans([toolPanelComp_2.ToolPanelComp, enterpriseMenu_2.EnterpriseMenuFactory, excelCreator_2.ExcelCreator, excelXmlFactory_2.ExcelXmlFactory, rowGroupCompFactory_2.RowGroupCompFactory, pivotCompFactory_2.PivotCompFactory,
pivotColumnsPanel_2.PivotColumnsPanel, rangeController_2.RangeController, clipboardService_2.ClipboardService, pivotStage_2.PivotStage, pivotColDefService_2.PivotColDefService,
contextMenu_2.ContextMenuFactory, groupStage_2.GroupStage, aggregationStage_2.AggregationStage, enterpriseBoot_2.EnterpriseBoot, aggFuncService_2.AggFuncService,
statusBar_2.StatusBar, licenseManager_2.LicenseManager, md5_2.MD5, menuItemMapper_1.MenuItemMapper], rowModelTypes);
main_1.Grid.setEnterpriseComponents([
{ componentName: 'AgColumnSelectHeader', theClass: columnSelectHeaderComp_1.ColumnSelectHeaderComp },
{ componentName: 'AgColumnContainer', theClass: columnContainerComp_1.ColumnContainerComp },
{ componentName: 'AgHorizontalResize', theClass: horizontalResizeComp_1.HorizontalResizeComp }
]);