Skip to content

Commit

Permalink
Revert "ExcelJS - add doс comments for arguments of the 'exportDataGr…
Browse files Browse the repository at this point in the history
…id' function (#11807)" (#11898)
  • Loading branch information
EugeniyKiyashko committed Feb 5, 2020
1 parent 87657a7 commit 91ecf5a
Show file tree
Hide file tree
Showing 7 changed files with 70 additions and 327 deletions.
6 changes: 0 additions & 6 deletions build/gulp/modules_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,12 +192,6 @@
"locale": { "path": "localization.locale" }
}
},
{
"name": "exporter/exceljs/excelExporter",
"exports": {
"exportDataGrid": { "path": "exportDataGrid" }
}
},
{
"name": "mobile/hide_top_overlay",
"exports": {
Expand Down
56 changes: 56 additions & 0 deletions js/exporter/excel/excel.doc_comments.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,59 @@
import {
dxDataGridColumn
} from '../../ui/data_grid';

export interface ExcelDataGridCell {
/**
* @docid ExcelDataGridCell.column
* @type dxDataGridColumn
* @prevFileNamespace DevExpress.exporter
* @public
*/
column?: dxDataGridColumn;
/**
* @docid ExcelDataGridCell.data
* @type object
* @prevFileNamespace DevExpress.exporter
* @public
*/
data?: any;
/**
* @docid ExcelDataGridCell.groupIndex
* @type number
* @prevFileNamespace DevExpress.exporter
* @public
*/
groupIndex?: number;
/**
* @docid ExcelDataGridCell.groupSummaryItems
* @type Array<Object>
* @prevFileNamespace DevExpress.exporter
* @public
*/
groupSummaryItems?: Array<{ name?: string, value?: any }>;
/**
* @docid ExcelDataGridCell.rowType
* @type string
* @prevFileNamespace DevExpress.exporter
* @public
*/
rowType?: string;
/**
* @docid ExcelDataGridCell.totalSummaryItemName
* @type string
* @prevFileNamespace DevExpress.exporter
* @public
*/
totalSummaryItemName?: string;
/**
* @docid ExcelDataGridCell.value
* @type any
* @prevFileNamespace DevExpress.exporter
* @public
*/
value?: any;
}

export interface ExcelFont {
/**
* @docid ExcelFont.bold
Expand Down
13 changes: 13 additions & 0 deletions js/exporter/excel/excel.doc_comments.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,16 @@
* @name ExcelFont
* @type object
*/

/**
* @name ExcelDataGridCell
* @type object
*/
/**
* @name ExcelDataGridCell.groupSummaryItems.name
* @type string
*/
/**
* @name ExcelDataGridCell.groupSummaryItems.value
* @type any
*/
226 changes: 0 additions & 226 deletions js/exporter/exceljs/excelExporter.d.ts

This file was deleted.

33 changes: 0 additions & 33 deletions js/exporter/exceljs/excelExporter.js
Original file line number Diff line number Diff line change
@@ -1,36 +1,3 @@
import { exportDataGrid } from './exportDataGrid';

/**
* @name excelExporter
* @section utils
*/
/**
* @name CellAddress
* @type object
*/
/**
* @name ExportDataGridProps
* @type object
*/
/**
* @name CellsRange
* @type object
*/
/**
* @name ExportLoadPanel
* @type object
*/
/**
* @name ExcelDataGridCell
* @type object
*/
/**
* @name ExcelDataGridCell.groupSummaryItems.name
* @type string
*/
/**
* @name ExcelDataGridCell.groupSummaryItems.value
* @type any
*/

export { exportDataGrid };
5 changes: 1 addition & 4 deletions js/ui/data_grid.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@ import {
} from '../events/index';

import {
ExcelDataGridCell
} from '../exporter/exceljs/excelExporter';

import {
ExcelDataGridCell,
ExcelFont
} from '../exporter/excel/excel.doc_comments';

Expand Down

0 comments on commit 91ecf5a

Please sign in to comment.