Skip to content

Commit 918167d

Browse files
fix: export types were published incorrectly (#29548) (#32475)
Co-authored-by: Vasily Strelyaev <VasilyStrelyaev@users.noreply.github.com>
1 parent 331eda8 commit 918167d

14 files changed

Lines changed: 106 additions & 63 deletions

File tree

packages/devextreme-angular/src/common/export/excel/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
export {
2+
CellAddress,
3+
CellRange,
24
DataGridCell,
35
DataGridExportOptions,
46
exportDataGrid,

packages/devextreme-react/src/common/export/excel.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
export {
2+
CellAddress,
3+
CellRange,
24
DataGridCell,
35
DataGridExportOptions,
46
exportDataGrid,

packages/devextreme-vue/src/common/export/excel.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
export {
2+
CellAddress,
3+
CellRange,
24
DataGridCell,
35
DataGridExportOptions,
46
exportDataGrid,

packages/devextreme/js/common/export/excel.d.ts

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,32 @@ import dxPivotGrid from '../../ui/pivot_grid';
33
import dxDataGrid from '../../ui/data_grid';
44

55
import {
6-
CellRange,
76
ExcelDataGridCell,
87
ExcelExportBaseOptions,
98
ExcelPivotGridCell,
109
} from '../../excel_exporter.types';
1110

11+
import type {
12+
CellAddress as CellAddressInternal,
13+
CellRange as CellRangeInternal,
14+
} from './excel.types';
15+
16+
/**
17+
* @docid
18+
* @namespace DevExpress.excelExporter
19+
* @type object
20+
* @public
21+
*/
22+
export type CellAddress = CellAddressInternal;
23+
24+
/**
25+
* @docid
26+
* @namespace DevExpress.excelExporter
27+
* @type object
28+
* @public
29+
*/
30+
export type CellRange = CellRangeInternal;
31+
1232
/**
1333
* @public
1434
* @namespace DevExpress.common.Export.excel
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
/**
2+
* @namespace DevExpress.exportInternal
3+
* @type object
4+
*/
5+
export interface CellAddress {
6+
/**
7+
* @docid
8+
* @public
9+
*/
10+
row?: number;
11+
/**
12+
* @docid
13+
* @public
14+
*/
15+
column?: number;
16+
}
17+
18+
/**
19+
* @namespace DevExpress.exportInternal
20+
* @type object
21+
*/
22+
export interface CellRange {
23+
/**
24+
* @docid
25+
* @public
26+
*/
27+
from?: CellAddress;
28+
/**
29+
* @docid
30+
* @public
31+
*/
32+
to?: CellAddress;
33+
}

packages/devextreme/js/core/element.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,14 @@ export interface ElementWrapper<T extends Element> { }
66
export interface ElementsArrayWrapper<T extends Element> { }
77
/**
88
* @docid
9+
* @hidden
910
* @type HTMLElement|SVGElement|JQuery
1011
*/
1112
export type DxElement<T extends Element = HTMLElement> = {} extends Condition ? T : ElementWrapper<T>;
1213

1314
/**
1415
* @docid
16+
* @hidden
1517
* @type HTMLElement|SVGElement|JQuery
1618
*/
1719
export type UserDefinedElement<T extends Element = Element> = {} extends Condition ? T : ElementWrapper<T> | T;

packages/devextreme/js/core/templates/template.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ export type {
44

55
/**
66
* @docid
7+
* @hidden
78
* @type object
89
*/
910
export interface dxTemplateOptions {

packages/devextreme/js/core/utils/deferred.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ export interface PromiseType<T> { }
2727
/**
2828
* @docid
2929
* @type Promise<void>
30+
* @hidden
3031
* @namespace DevExpress.core.utils
3132
*/
3233

packages/devextreme/js/data/data_source.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export type Options<
2323

2424
/**
2525
* @docid
26+
* @hidden
2627
* @type Store|DataSource|DataSourceOptions|string|Array<any>|null
2728
*/
2829
export type DataSourceLike<TItem, TKey = any> = string

packages/devextreme/js/events/events.types.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export interface EventType { }
8484
/**
8585
* @docid
8686
* @type EventObject|jQuery.Event
87-
*
87+
* @hidden
8888
*/
8989
export type DxEvent<TNativeEvent = Event> = {} extends EventType
9090
? (EventObject<TNativeEvent> & TNativeEvent)

0 commit comments

Comments
 (0)