ods-component-lib 1.18.252 → 1.18.254
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/OdsBatchEditDataGrid/OdsBatchEditDataGrid.Constants.d.ts +17 -0
- package/dist/components/devextreme/OdsBatchEditDataGrid/OdsBatchEditDataGrid.Functions.d.ts +11 -0
- package/dist/components/devextreme/OdsBatchEditDataGrid/OdsBatchEditDataGrid.Style.d.ts +4 -0
- package/dist/components/devextreme/OdsBatchEditDataGrid/OdsBatchEditDataGrid.Types.d.ts +106 -0
- package/dist/components/devextreme/OdsBatchEditDataGrid/OdsBatchEditDataGrid.d.ts +2 -10
- package/dist/components/devextreme/OdsTimelineTable/OdsTimelineTableSearchBox.d.ts +3 -0
- package/dist/index.js +586 -441
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +586 -441
- package/dist/index.modern.js.map +1 -1
- package/dist/stories/OdsBasicDataGrid/OdsBasicDataGrid.stories.d.ts +110 -0
- package/dist/stories/OdsBasicDataGrid/Samples/MergeCells/MergeCells.Constants.d.ts +14 -0
- package/dist/stories/OdsBasicDataGrid/Samples/MergeCells/MergeCells.MockData.d.ts +7 -0
- package/dist/stories/OdsBasicDataGrid/Samples/MergeCells/MergeCells.Sample.d.ts +1 -0
- package/dist/stories/OdsPivotGrid/OdsPivotGrid.stories.d.ts +15 -0
- package/dist/stories/OdsPivotGrid/Samples/BasicPivotGrid/BasicPivotGrid.Constants.d.ts +2 -0
- package/dist/stories/OdsPivotGrid/Samples/BasicPivotGrid/BasicPivotGrid.MockData.d.ts +7 -0
- package/dist/stories/OdsPivotGrid/Samples/BasicPivotGrid/BasicPivotGrid.Sample.d.ts +1 -0
- package/dist/stories/OdsRemoteDataGrid/Samples/MergeCells/MergeCells.Constants.d.ts +5 -0
- package/dist/stories/OdsRemoteDataGrid/Samples/MergeCells/MergeCells.MockData.d.ts +6 -0
- package/dist/stories/OdsRemoteDataGrid/Samples/MergeCells/MergeCells.Sample.d.ts +1 -0
- package/package.json +1 -1
- package/dist/components/antd/form/OdsBasicForm.d.ts +0 -18
- package/dist/components/antd/icon/OdsIcon.d.ts +0 -10
- package/dist/components/antd/select/OdsCustomMultiSelect.d.ts +0 -7
- package/dist/components/antd/select/OdsMultiSelect.d.ts +0 -9
- package/dist/components/custom/OdsLogin.d.ts +0 -8
- package/dist/components/devextreme/DxDataPopupForm.d.ts +0 -3
- package/dist/components/devextreme/DynamicIcon.d.ts +0 -5
- package/dist/components/devextreme/OdsBatchEditDataGrid/handlers/OnActionCellRenderHandler.d.ts +0 -11
- package/dist/components/devextreme/OdsBatchEditDataGrid/handlers/OnContentReadyHandler.d.ts +0 -17
- package/dist/components/devextreme/OdsBatchEditDataGrid/handlers/OnEditorPreparedHandler.d.ts +0 -7
- package/dist/components/devextreme/OdsBatchEditDataGrid/handlers/OnExportingHandler.d.ts +0 -10
- package/dist/components/devextreme/OdsBatchEditDataGrid/handlers/OnOptionChangedHandler.d.ts +0 -12
- package/dist/components/devextreme/OdsBatchEditDataGrid/handlers/OnSummaryHandler.d.ts +0 -24
- package/dist/components/devextreme/OdsBatchEditDataGrid/partials/PageTitleAndToolbarPartial.d.ts +0 -8
- package/dist/components/devextreme/OdsBatchEditDataGrid/styles.d.ts +0 -9
- package/dist/components/devextreme/OdsBatchEditDataGrid/types.d.ts +0 -118
- package/dist/components/devextreme/OdsDataGridNew.d.ts +0 -56
- package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/ContentHandlers.d.ts +0 -14
- package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/EditorPreparedHandlers.d.ts +0 -7
- package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/OnExportingHandlers.d.ts +0 -19
- package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/OptionHandlers.d.ts +0 -7
- package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/SummaryHandlers.d.ts +0 -21
- package/dist/components/devextreme/OdsInlineEditDataGrid/partials/ActionCellRender.d.ts +0 -15
- package/dist/components/devextreme/OdsInlineEditDataGrid/partials/EditingPartial.d.ts +0 -9
- package/dist/components/devextreme/OdsInlineEditDataGrid/partials/PageTitle.d.ts +0 -8
- package/dist/components/devextreme/OdsInlineEditDataGrid/utils.d.ts +0 -19
- package/dist/components/devextreme/OdsProfDataGrid.d.ts +0 -3
- package/dist/components/devextreme/dataGridHandlers/OnToolbarButtonHandler.d.ts +0 -7
- package/dist/components/devextreme/dataGridStyle.d.ts +0 -3
- package/dist/components/devextreme/treeview/DxTreeView.d.ts +0 -3
- package/dist/stories/OdsCustomMultiSelect/OdsCustomMultiSelect.stories.d.ts +0 -9
- package/dist/stories/OdsCustomMultiSelect/Samples/Basic.Sample.d.ts +0 -1
- package/dist/stories/OdsCustomMultiSelect/Samples/ModeMultiple.Sample.d.ts +0 -1
- package/dist/utils/DynamicIcon.d.ts +0 -5
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare let constants: {
|
|
2
|
+
totalPageCount: number;
|
|
3
|
+
loadedPageCount: number;
|
|
4
|
+
totalRecordCount: number;
|
|
5
|
+
exportFormats: string[];
|
|
6
|
+
selectedCellBgColor: string;
|
|
7
|
+
allowedDataTypesForMultiCellEditing: string[];
|
|
8
|
+
};
|
|
9
|
+
export declare const columnSelectedFieds: {
|
|
10
|
+
dataField: string;
|
|
11
|
+
dataType: string;
|
|
12
|
+
caption: string;
|
|
13
|
+
visible: boolean;
|
|
14
|
+
};
|
|
15
|
+
export declare const onCancelEditEvent: CustomEvent<{
|
|
16
|
+
rowData: any;
|
|
17
|
+
}>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactElement } from "react";
|
|
2
|
+
import { IBatchEditDataGridProps, ICellInfo, SummaryTypes } from "./OdsBatchEditDataGrid.Types";
|
|
3
|
+
export declare const checkCellSelectionConstraints: (e: any) => boolean;
|
|
4
|
+
export declare const cellAlreadySelected: (pkValue: any, dataField: string, cellInfos: ICellInfo[]) => boolean;
|
|
5
|
+
export declare const addNewFieldForFastUpdate: (data: any[]) => any[];
|
|
6
|
+
export declare const getRequestHeaders: (props: any) => Headers;
|
|
7
|
+
export declare const concatFilteredLabel: (result: string, totalloaded: number, filteredRowCount: number, filterApplied: boolean, props: any) => string;
|
|
8
|
+
export declare const showSummaryItems: (props: IBatchEditDataGridProps) => boolean;
|
|
9
|
+
export declare const getSummaryItems: (props: IBatchEditDataGridProps, columns: any[], grid: any, isMultiLevelColumn?: boolean) => ReactElement[];
|
|
10
|
+
export declare const getSummaryItem: (col: any, visibleIndex: number, summaryType: SummaryTypes, isMultiLevelColumn: boolean, label?: string) => ReactElement;
|
|
11
|
+
export declare const getMultiLevelColumns: (col: any) => any;
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ButtonType } from "antd/es/button/buttonHelpers";
|
|
3
|
+
import { IButtonProps, IDataGridOptions, IEditingProps, ISelectionProps, ISummaryProps } from "devextreme-react/data-grid";
|
|
4
|
+
export declare type SummaryTypes = "avg" | "count" | "custom" | "max" | "min" | "sum";
|
|
5
|
+
interface IExportProps {
|
|
6
|
+
enabled: boolean;
|
|
7
|
+
allowExportSelectedData?: boolean;
|
|
8
|
+
fileName?: string;
|
|
9
|
+
selectedText?: string;
|
|
10
|
+
activeText?: string;
|
|
11
|
+
passiveText?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare type ITooltipType = "raw" | "styled";
|
|
14
|
+
export interface IBatchEditDataGridProps extends IDataGridOptions {
|
|
15
|
+
dataGridRef?: any;
|
|
16
|
+
dataGridPageName?: string;
|
|
17
|
+
language: string;
|
|
18
|
+
exportFileName: string;
|
|
19
|
+
filterEnabledShow: boolean;
|
|
20
|
+
pageTitle?: string;
|
|
21
|
+
toolbarButtonGroup?: IButtonGroup[];
|
|
22
|
+
actionButtonGroup?: IButtonGroup[];
|
|
23
|
+
actionButtonGroupCaption?: string;
|
|
24
|
+
columns: any[];
|
|
25
|
+
closeGridHeader?: boolean;
|
|
26
|
+
pageSize?: number;
|
|
27
|
+
actionColumnEnable: boolean;
|
|
28
|
+
selectOptions?: ISelectOptions;
|
|
29
|
+
columnChooserPositionDisabled?: boolean;
|
|
30
|
+
pagingEnable?: boolean;
|
|
31
|
+
edit?: IEditingoptions;
|
|
32
|
+
isServerSide?: boolean;
|
|
33
|
+
exportProps?: IExportProps;
|
|
34
|
+
axiosRequest?: IAxiosProps;
|
|
35
|
+
customSummary?: ISummaryRowOptions;
|
|
36
|
+
handleEditorPreparing?: any;
|
|
37
|
+
isFilterRow?: boolean;
|
|
38
|
+
filterData?: any[];
|
|
39
|
+
detailGridColums?: any[];
|
|
40
|
+
detailData?: any;
|
|
41
|
+
actionButtonsTooltipType?: ITooltipType;
|
|
42
|
+
isColumnWidthFixed?: boolean;
|
|
43
|
+
showMasterDetail?: boolean;
|
|
44
|
+
isSearchPanel?: boolean;
|
|
45
|
+
isColumnChooserButton?: boolean;
|
|
46
|
+
isExportButton?: boolean;
|
|
47
|
+
isSaveButton?: boolean;
|
|
48
|
+
isRevertButton?: boolean;
|
|
49
|
+
}
|
|
50
|
+
export interface ISummaryRowOptions {
|
|
51
|
+
summaryLoadedDataLabel?: string;
|
|
52
|
+
summaryTotalDataLabel?: string;
|
|
53
|
+
summaryFilteredDataLabel?: string;
|
|
54
|
+
summaryItems?: ISummaryProps[];
|
|
55
|
+
summaryTotalCount?: number;
|
|
56
|
+
summaryTotalPageCountLabel?: string;
|
|
57
|
+
showSumInSummary?: boolean;
|
|
58
|
+
showAvgInSummary?: boolean;
|
|
59
|
+
showCountInSummary?: boolean;
|
|
60
|
+
showMaxInSummary?: boolean;
|
|
61
|
+
showMinInSummary?: boolean;
|
|
62
|
+
summarySumLabel?: string;
|
|
63
|
+
summaryAvgLabel?: string;
|
|
64
|
+
summaryMinLabel?: string;
|
|
65
|
+
summaryMaxLabel?: string;
|
|
66
|
+
summaryCountLabel?: string;
|
|
67
|
+
}
|
|
68
|
+
interface IAxiosProps {
|
|
69
|
+
token: string;
|
|
70
|
+
requestData?: any;
|
|
71
|
+
apiUrl: string;
|
|
72
|
+
environmentUrl: string;
|
|
73
|
+
requestQueryString?: any;
|
|
74
|
+
requestType: string;
|
|
75
|
+
}
|
|
76
|
+
interface IEditingoptions extends IEditingProps {
|
|
77
|
+
formItems?: any[];
|
|
78
|
+
title?: string;
|
|
79
|
+
}
|
|
80
|
+
interface ISelectOptions extends ISelectionProps {
|
|
81
|
+
selectEnable: boolean;
|
|
82
|
+
}
|
|
83
|
+
export interface IButtonGroup extends Omit<IButtonProps, 'icon'> {
|
|
84
|
+
icon?: JSX.Element;
|
|
85
|
+
type?: ButtonType;
|
|
86
|
+
label?: string;
|
|
87
|
+
actionPermission?: boolean;
|
|
88
|
+
onclick?: React.MouseEventHandler<HTMLElement>;
|
|
89
|
+
}
|
|
90
|
+
export interface ICellInfo {
|
|
91
|
+
dataField: string;
|
|
92
|
+
pkValue: any;
|
|
93
|
+
}
|
|
94
|
+
export interface ICellIndexInfo {
|
|
95
|
+
rowIndex: number;
|
|
96
|
+
colIndex: number;
|
|
97
|
+
}
|
|
98
|
+
export interface IMouseSelectionInfo {
|
|
99
|
+
cellInfo: ICellInfo;
|
|
100
|
+
isActive: boolean;
|
|
101
|
+
}
|
|
102
|
+
export interface ICustomizeInfo {
|
|
103
|
+
value: any;
|
|
104
|
+
valueText: string;
|
|
105
|
+
}
|
|
106
|
+
export {};
|
|
@@ -1,12 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { IBatchEditDataGridProps } from "./
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* OdsBatchEditDataGrid component.
|
|
6
|
-
* @param {IBatchEditDataGridProps} props - The component props.
|
|
7
|
-
* @returns {React.FC} - The rendered component.
|
|
8
|
-
*/
|
|
9
|
-
declare const OdsBatchEditDataGrid: React.FC<IBatchEditDataGridProps>;
|
|
2
|
+
import { IBatchEditDataGridProps } from "./OdsBatchEditDataGrid.Types";
|
|
3
|
+
declare const OdsBatchEditDataGrid: (props: IBatchEditDataGridProps) => React.JSX.Element;
|
|
10
4
|
export default OdsBatchEditDataGrid;
|
|
11
|
-
export { OdsBatchEditDataGrid };
|
|
12
|
-
export type { IBatchEditDataGridProps, BatchEditDataGridTypes };
|