File tree Expand file tree Collapse file tree 13 files changed +188
-3
lines changed
src/codemods/transforms/transform-modules-to-packages-v33
__fixtures__/scenarios/js Expand file tree Collapse file tree 13 files changed +188
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"private" : true ,
3
3
"name" : " @ag-grid-devtools/cli" ,
4
- "version" : " 33.0.0 " ,
4
+ "version" : " 33.0.1 " ,
5
5
"license" : " MIT" ,
6
6
"description" : " AG Grid developer toolkit" ,
7
7
"author" :
" AG Grid <[email protected] >" ,
Original file line number Diff line number Diff line change
1
+ // @ts -nocheck
2
+ import '@ag-grid-community/styles/ag-grid.css' ;
3
+ import '@ag-grid-community/styles/ag-theme-quartz.css' ;
4
+
5
+ import { ServerSideRowModelModule } from '@ag-grid-enterprise/server-side-row-model' ;
6
+
7
+ import { GridOptions , ModuleRegistry } from '@ag-grid-community/core' ;
8
+ import { ColumnsToolPanelModule } from '@ag-grid-enterprise/column-tool-panel' ;
9
+
10
+ ModuleRegistry . registerModules ( [ ServerSideRowModelModule , ColumnsToolPanelModule ] ) ;
11
+
12
+ const gridOptions : GridOptions = {
13
+ rowSelection : { mode : 'multiRow' } ,
14
+ } ;
Original file line number Diff line number Diff line change
1
+ // @ts -nocheck
2
+ import 'ag-grid-community/styles/ag-grid.css' ;
3
+ import 'ag-grid-community/styles/ag-theme-quartz.css' ;
4
+
5
+ import { AllCommunityModule , ServerSideRowModelModule } from 'ag-grid-enterprise' ;
6
+
7
+ import { GridOptions , ModuleRegistry } from 'ag-grid-community' ;
8
+ import {
9
+ ColumnsToolPanelModule ,
10
+ GroupFilterModule ,
11
+ PivotModule ,
12
+ RowGroupingModule ,
13
+ RowGroupingPanelModule ,
14
+ TreeDataModule ,
15
+ } from 'ag-grid-enterprise' ;
16
+
17
+ ModuleRegistry . registerModules ( [
18
+ ServerSideRowModelModule ,
19
+ AllCommunityModule ,
20
+ ColumnsToolPanelModule ,
21
+ RowGroupingPanelModule ,
22
+ RowGroupingModule ,
23
+ GroupFilterModule ,
24
+ TreeDataModule ,
25
+ PivotModule
26
+ ] ) ;
27
+
28
+ const gridOptions : GridOptions = {
29
+ rowSelection : { mode : 'multiRow' } ,
30
+ } ;
Original file line number Diff line number Diff line change
1
+ {
2
+ "scenario" : {
3
+ "input" : " input.ts" ,
4
+ "output" : " output.ts"
5
+ }
6
+ }
Original file line number Diff line number Diff line change @@ -13,7 +13,13 @@ import { FiltersToolPanelModule } from 'ag-grid-enterprise';
13
13
import { ColumnMenuModule , ContextMenuModule } from 'ag-grid-enterprise' ;
14
14
import { MultiFilterModule } from 'ag-grid-enterprise' ;
15
15
import { CellSelectionModule } from 'ag-grid-enterprise' ;
16
- import { RowGroupingModule } from 'ag-grid-enterprise' ;
16
+ import {
17
+ GroupFilterModule ,
18
+ PivotModule ,
19
+ RowGroupingModule ,
20
+ RowGroupingPanelModule ,
21
+ TreeDataModule ,
22
+ } from 'ag-grid-enterprise' ;
17
23
import { SetFilterModule } from 'ag-grid-enterprise' ;
18
24
import { SideBarModule } from 'ag-grid-enterprise' ;
19
25
import { StatusBarModule } from 'ag-grid-enterprise' ;
@@ -31,6 +37,10 @@ ModuleRegistry.registerModules([
31
37
MultiFilterModule ,
32
38
CellSelectionModule ,
33
39
RowGroupingModule ,
40
+ RowGroupingPanelModule ,
41
+ GroupFilterModule ,
42
+ TreeDataModule ,
43
+ PivotModule ,
34
44
SetFilterModule ,
35
45
SideBarModule ,
36
46
StatusBarModule
Original file line number Diff line number Diff line change
1
+ // @ts -nocheck
2
+ import '@ag-grid-community/styles/ag-grid.css' ;
3
+ import '@ag-grid-community/styles/ag-theme-quartz.css' ;
4
+
5
+ import { ServerSideRowModelModule } from '@ag-grid-enterprise/server-side-row-model' ;
6
+
7
+ import { GridOptions , ModuleRegistry } from '@ag-grid-community/core' ;
8
+ import { ExcelExportModule } from '@ag-grid-enterprise/excel-export' ;
9
+
10
+ ModuleRegistry . registerModules ( [ ServerSideRowModelModule , ExcelExportModule ] ) ;
11
+
12
+ const gridOptions : GridOptions = {
13
+ rowSelection : { mode : 'multiRow' } ,
14
+ } ;
Original file line number Diff line number Diff line change
1
+ // @ts -nocheck
2
+ import 'ag-grid-community/styles/ag-grid.css' ;
3
+ import 'ag-grid-community/styles/ag-theme-quartz.css' ;
4
+
5
+ import { AllCommunityModule , ServerSideRowModelModule } from 'ag-grid-enterprise' ;
6
+
7
+ import { CsvExportModule , GridOptions , ModuleRegistry } from 'ag-grid-community' ;
8
+ import { ExcelExportModule } from 'ag-grid-enterprise' ;
9
+
10
+ ModuleRegistry . registerModules ( [
11
+ ServerSideRowModelModule ,
12
+ AllCommunityModule ,
13
+ ExcelExportModule ,
14
+ CsvExportModule
15
+ ] ) ;
16
+
17
+ const gridOptions : GridOptions = {
18
+ rowSelection : { mode : 'multiRow' } ,
19
+ } ;
Original file line number Diff line number Diff line change
1
+ {
2
+ "scenario" : {
3
+ "input" : " input.ts" ,
4
+ "output" : " output.ts"
5
+ }
6
+ }
Original file line number Diff line number Diff line change @@ -14,7 +14,13 @@ import { FiltersToolPanelModule } from 'ag-grid-enterprise';
14
14
import { ColumnMenuModule , ContextMenuModule } from 'ag-grid-enterprise' ;
15
15
import { MultiFilterModule } from 'ag-grid-enterprise' ;
16
16
import { CellSelectionModule } from 'ag-grid-enterprise' ;
17
- import { RowGroupingModule } from 'ag-grid-enterprise' ;
17
+ import {
18
+ GroupFilterModule ,
19
+ PivotModule ,
20
+ RowGroupingModule ,
21
+ RowGroupingPanelModule ,
22
+ TreeDataModule ,
23
+ } from 'ag-grid-enterprise' ;
18
24
import { SetFilterModule } from 'ag-grid-enterprise' ;
19
25
import { SideBarModule } from 'ag-grid-enterprise' ;
20
26
import { StatusBarModule } from 'ag-grid-enterprise' ;
@@ -33,6 +39,10 @@ ModuleRegistry.registerModules([
33
39
MultiFilterModule ,
34
40
CellSelectionModule ,
35
41
RowGroupingModule ,
42
+ RowGroupingPanelModule ,
43
+ GroupFilterModule ,
44
+ TreeDataModule ,
45
+ PivotModule ,
36
46
SetFilterModule ,
37
47
SideBarModule ,
38
48
StatusBarModule
Original file line number Diff line number Diff line change
1
+ // @ts -nocheck
2
+ import '@ag-grid-community/styles/ag-grid.css' ;
3
+ import '@ag-grid-community/styles/ag-theme-quartz.css' ;
4
+
5
+ import { ServerSideRowModelModule } from '@ag-grid-enterprise/server-side-row-model' ;
6
+
7
+ import { GridOptions , ModuleRegistry } from '@ag-grid-community/core' ;
8
+ import { RowGroupingModule } from '@ag-grid-enterprise/row-grouping' ;
9
+
10
+ ModuleRegistry . registerModules ( [ ServerSideRowModelModule , RowGroupingModule ] ) ;
11
+
12
+ const gridOptions : GridOptions = {
13
+ rowSelection : { mode : 'multiRow' } ,
14
+ } ;
You can’t perform that action at this time.
0 commit comments