ods-component-lib 1.18.244 → 1.18.248
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/components/devextreme/OdsMergeCellDataGrid/OdsMergeCellDataGrid.Functions.d.ts +3 -0
- package/dist/components/devextreme/OdsMergeCellDataGrid/OdsMergeCellDataGrid.Helper.d.ts +1 -1
- package/dist/components/devextreme/OdsMergeCellDataGrid/OdsMergeCellDataGrid.Types.d.ts +1 -3
- package/dist/components/devextreme/OdsTimelineTable/OdsTimelineTable.Types.d.ts +10 -8
- package/dist/components/helpers/toolbarSearchBox/ToolbarSearchBox.Style.d.ts +4 -0
- package/dist/components/helpers/toolbarSearchBox/ToolbarSearchBox.Types.d.ts +6 -0
- package/dist/components/helpers/toolbarSearchBox/ToolbarSearchBox.d.ts +3 -0
- package/dist/index.js +932 -864
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +933 -865
- package/dist/index.modern.js.map +1 -1
- package/dist/utils/ExportDataGridtoExcel.d.ts +2 -11
- package/dist/utils/commonConstants.d.ts +1 -0
- package/dist/utils/commonFunctions.d.ts +2 -0
- package/dist/utils/customTypes.d.ts +11 -2
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ReactElement } from "react";
|
|
2
|
+
import { ISortedColumn } from "../../../utils/customTypes";
|
|
2
3
|
import { IOdsDataGridProps, SummaryTypes } from "./OdsMergeCellDataGrid.Types";
|
|
3
4
|
export declare const getRequestHeaders: (props: any) => Headers;
|
|
4
5
|
export declare const concatFilteredLabel: (result: string, totalloaded: number, filteredRowCount: number, filterApplied: boolean, props: any) => string;
|
|
@@ -6,3 +7,5 @@ export declare const showSummaryItems: (props: IOdsDataGridProps) => boolean;
|
|
|
6
7
|
export declare const getSummaryItems: (props: IOdsDataGridProps, columns: any[], grid: any, isMultiLevelColumn?: boolean) => ReactElement[];
|
|
7
8
|
export declare const getSummaryItem: (col: any, visibleIndex: number, summaryType: SummaryTypes, isMultiLevelColumn: boolean, label?: string) => ReactElement;
|
|
8
9
|
export declare const getMultiLevelColumns: (col: any) => any;
|
|
10
|
+
export declare const getSortedColumns: (dataGrid: any) => ISortedColumn[];
|
|
11
|
+
export declare const isSortChanged: (sortOne: ISortedColumn[], sortTwo: ISortedColumn[]) => boolean;
|
|
@@ -47,7 +47,7 @@ export interface IOdsDataGridProps extends IDataGridOptions {
|
|
|
47
47
|
masterDetailFeatures?: IMasterDetailFeatures;
|
|
48
48
|
DetailGridComponent?: React.FC<any>;
|
|
49
49
|
mergeDataFields: string[];
|
|
50
|
-
onSortingChanged?(sortedColumns: ISortedColumn[]
|
|
50
|
+
onSortingChanged?(sortedColumns: ISortedColumn[]): void;
|
|
51
51
|
}
|
|
52
52
|
export interface ISummaryRowOptions {
|
|
53
53
|
summaryLoadedDataLabel?: string;
|
|
@@ -93,8 +93,6 @@ export interface ICellMergeInfo {
|
|
|
93
93
|
FieldName: string;
|
|
94
94
|
StartRowIndex: number;
|
|
95
95
|
EndRowIndex: number;
|
|
96
|
-
StartKey: number | string;
|
|
97
|
-
Type: "Original" | "New" | "Dirty" | "OutOfScope" | "Placed";
|
|
98
96
|
}
|
|
99
97
|
export interface IRootCellIndexInfo {
|
|
100
98
|
FieldName: string;
|
|
@@ -122,9 +122,17 @@ export interface IOdsTimelineTableToolbarSettings {
|
|
|
122
122
|
};
|
|
123
123
|
export?: {
|
|
124
124
|
visible?: boolean;
|
|
125
|
-
title?: string;
|
|
126
125
|
fileName?: string;
|
|
127
|
-
|
|
126
|
+
selectedText?: string;
|
|
127
|
+
activeText?: string;
|
|
128
|
+
passiveText?: string;
|
|
129
|
+
pdf: {
|
|
130
|
+
title: string;
|
|
131
|
+
documentFormat?: ExportDocumentType;
|
|
132
|
+
};
|
|
133
|
+
excel: {
|
|
134
|
+
title: string;
|
|
135
|
+
};
|
|
128
136
|
};
|
|
129
137
|
columnChooser?: {
|
|
130
138
|
visible?: boolean;
|
|
@@ -142,12 +150,6 @@ export interface IOdsTimelineTableDateFilter extends IItemProps {
|
|
|
142
150
|
nextText?: string;
|
|
143
151
|
onFilterRangeChange(e: IDateRangeChange): void;
|
|
144
152
|
}
|
|
145
|
-
export interface IOdsTimelineTableSearchBox extends IItemProps {
|
|
146
|
-
value?: string;
|
|
147
|
-
timeoutDuration?: number;
|
|
148
|
-
placeholder?: string;
|
|
149
|
-
onSearch?(searchValue?: string): void;
|
|
150
|
-
}
|
|
151
153
|
export interface ITranslationValue {
|
|
152
154
|
originalValue: any;
|
|
153
155
|
translatedValue: string;
|