devextreme-planit-treegrid-react 0.0.7 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/DxPlanitTreeGrid.tsx +1 -18
- package/dist/type.ts +18 -0
- package/package.json +2 -2
@@ -5,29 +5,12 @@ import { LoadPanel } from 'devextreme-react/load-panel';
|
|
5
5
|
import PivotGrid, { FieldChooser } from 'devextreme-react/pivot-grid';
|
6
6
|
import { StateStoring } from 'devextreme-react/data-grid';
|
7
7
|
import DevExpress from 'devextreme';
|
8
|
-
import { IColorInfo, IGroupField } from './type';
|
8
|
+
import { ColumnField, IColorInfo, IGroupField, Props } from './type';
|
9
9
|
import { exportPivotGrid } from 'devextreme/excel_exporter';
|
10
10
|
import { Workbook } from 'exceljs';
|
11
11
|
import saveAs from 'file-saver';
|
12
12
|
import PivotGridDataSource from 'devextreme/ui/pivot_grid/data_source';
|
13
13
|
|
14
|
-
interface ColumnField {
|
15
|
-
colspan: number;
|
16
|
-
text: string;
|
17
|
-
type: string;
|
18
|
-
}
|
19
|
-
|
20
|
-
interface Props extends DevExpress.ui.dxPivotGrid.Properties {
|
21
|
-
id?: string;
|
22
|
-
dataSource?: any;
|
23
|
-
groupField?: IGroupField[];
|
24
|
-
dataColor?: IColorInfo[];
|
25
|
-
convertNullToHipen?: boolean;
|
26
|
-
convertZeroToHipen?: boolean;
|
27
|
-
stateStoringKey?: string;
|
28
|
-
customExcelButton?: boolean;
|
29
|
-
}
|
30
|
-
|
31
14
|
/**
|
32
15
|
* devextreme pivotgrid Configrations 중 사용 불가 항목 : id, width, height, showColumnGrandTotals, showColumnTotals, showRowGrandTotals, FieldChooser
|
33
16
|
* devextreme pivotgrid Configrations 중 사용 방법 변경 항목 : stateStoring, Export
|
package/dist/type.ts
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import DevExpress from 'devextreme';
|
1
2
|
import { Format } from 'devextreme/localization';
|
2
3
|
|
3
4
|
export interface IGroupField {
|
@@ -12,3 +13,20 @@ export interface IColorInfo {
|
|
12
13
|
color: string;
|
13
14
|
condition: string;
|
14
15
|
}
|
16
|
+
|
17
|
+
export interface ColumnField {
|
18
|
+
colspan: number;
|
19
|
+
text: string;
|
20
|
+
type: string;
|
21
|
+
}
|
22
|
+
|
23
|
+
export interface Props extends DevExpress.ui.dxPivotGrid.Properties {
|
24
|
+
id?: string;
|
25
|
+
dataSource?: any;
|
26
|
+
groupField?: IGroupField[];
|
27
|
+
dataColor?: IColorInfo[];
|
28
|
+
convertNullToHipen?: boolean;
|
29
|
+
convertZeroToHipen?: boolean;
|
30
|
+
stateStoringKey?: string;
|
31
|
+
customExcelButton?: boolean;
|
32
|
+
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "devextreme-planit-treegrid-react",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.9",
|
4
4
|
"description": "Devextreme의 DxPivotGrid를 Tree Grid처럼 보여주는 Wrapper입니다.",
|
5
5
|
"main": "dist/index.tsx",
|
6
6
|
"files": [
|
@@ -48,7 +48,7 @@
|
|
48
48
|
},
|
49
49
|
"dependencies": {
|
50
50
|
"devextreme": "^22.1.6",
|
51
|
-
"devextreme-planit-treegrid-react": "^0.0.
|
51
|
+
"devextreme-planit-treegrid-react": "^0.0.8",
|
52
52
|
"devextreme-react": "^22.1.6",
|
53
53
|
"exceljs": "^4.3.0",
|
54
54
|
"file-saver": "^2.0.5",
|