ods-component-lib 1.18.237 → 1.18.239
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 +2 -2
- package/dist/components/devextreme/OdsMergeCellDataGrid/OdsMergeCellDataGrid.Types.d.ts +1 -2
- package/dist/components/devextreme/OdsTimelineTable/OdsTimelineTable.Constants.d.ts +2 -0
- package/dist/components/devextreme/OdsTimelineTable/OdsTimelineTable.Functions.d.ts +5 -2
- package/dist/components/devextreme/OdsTimelineTable/OdsTimelineTable.Types.d.ts +20 -1
- package/dist/index.css +4 -0
- package/dist/index.js +17425 -114
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +17407 -96
- package/dist/index.modern.js.map +1 -1
- package/dist/stories/OdsTimelineTable/OdsTimelineTable.MockData.d.ts +1 -0
- package/dist/utils/customTypes.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ReactElement } from "react";
|
|
2
|
-
import { IOdsDataGridProps
|
|
2
|
+
import { IOdsDataGridProps } from "./OdsMergeCellDataGrid.Types";
|
|
3
3
|
export declare const getRequestHeaders: (props: any) => Headers;
|
|
4
4
|
export declare const concatFilteredLabel: (result: string, totalloaded: number, filteredRowCount: number, filterApplied: boolean, props: any) => string;
|
|
5
5
|
export declare const showSummaryItems: (props: IOdsDataGridProps) => boolean;
|
|
6
6
|
export declare const getSummaryItems: (props: IOdsDataGridProps, columns: any[], grid: any, isMultiLevelColumn?: boolean) => ReactElement[];
|
|
7
|
-
export declare const getSummaryItem: (col: any, visibleIndex: number, summaryType:
|
|
7
|
+
export declare const getSummaryItem: (col: any, visibleIndex: number, summaryType: any, isMultiLevelColumn: boolean, label?: string) => ReactElement;
|
|
8
8
|
export declare const getMultiLevelColumns: (col: any) => any;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { ButtonType } from "antd/es/button/buttonHelpers";
|
|
3
3
|
import { IButtonProps, IDataGridOptions, IEditingProps, ISelectionProps, ISummaryProps } from "devextreme-react/data-grid";
|
|
4
|
+
import { ITooltipType } from "../../../utils/customTypes";
|
|
4
5
|
import { IColumnOptions, IMasterDetailDatas, IMasterDetailFeatures } from "../OdsMasterDetailDataGrid/types";
|
|
5
|
-
export declare type SummaryTypes = "avg" | "count" | "custom" | "max" | "min" | "sum";
|
|
6
6
|
interface IExportProps {
|
|
7
7
|
enabled: boolean;
|
|
8
8
|
allowExportSelectedData?: boolean;
|
|
@@ -11,7 +11,6 @@ interface IExportProps {
|
|
|
11
11
|
activeText?: string;
|
|
12
12
|
passiveText?: string;
|
|
13
13
|
}
|
|
14
|
-
export declare type ITooltipType = "raw" | "styled";
|
|
15
14
|
export interface IOdsDataGridProps extends IDataGridOptions {
|
|
16
15
|
refGrid: React.MutableRefObject<any>;
|
|
17
16
|
dataGridPageName?: string;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { IOdsTimelineTableProps } from "./OdsTimelineTable.Types";
|
|
2
|
+
import { IButtonGroup, IOdsTimelineTableColumnProps, IOdsTimelineTableProps, ITranslationValue } from "./OdsTimelineTable.Types";
|
|
3
3
|
export declare const checkboxCellComponent: (props: any) => React.JSX.Element;
|
|
4
4
|
export declare const statusCellComponent: (props: any) => React.JSX.Element;
|
|
5
5
|
export declare const mapCustomTask: (item: any) => any;
|
|
6
6
|
export declare const mapSelectedKeys: (datasource: any[], key?: string, selectedKeys?: string[]) => any[];
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const getTranslatedValue: (value: any, translations?: ITranslationValue[]) => any;
|
|
8
|
+
export declare const getStaticColumnWidth: (props: IOdsTimelineTableColumnProps) => React.ReactText;
|
|
9
|
+
export declare const findMaxDataLength: (data: any[], dataField: string) => number;
|
|
10
|
+
export declare const actionCellRender: (cellData: any, props: IOdsTimelineTableProps, actionButtons: IButtonGroup[]) => React.JSX.Element;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IColumnProps, IGanttOptions, IItemProps } from "devextreme-react/gantt";
|
|
3
|
-
import { ExportDocumentType, SortingProcessType, SortingType } from "../../../utils/customTypes";
|
|
3
|
+
import { ExportDocumentType, ITooltipType, SortingProcessType, SortingType } from "../../../utils/customTypes";
|
|
4
|
+
import { IButtonProps } from "devextreme-react/data-grid";
|
|
5
|
+
import { ButtonType } from "antd/es/button/buttonHelpers";
|
|
4
6
|
export declare type SortingMode = "single" | "multiple" | "none";
|
|
5
7
|
export declare const enum EnumDateDirection {
|
|
6
8
|
prevMonth = "previousMonth",
|
|
@@ -65,6 +67,10 @@ export interface IOdsTimelineTableProps extends React.PropsWithChildren<IGanttOp
|
|
|
65
67
|
* Set translations for showing in cells
|
|
66
68
|
*/
|
|
67
69
|
dataTranslations?: ITranslationValue[];
|
|
70
|
+
/**
|
|
71
|
+
* Set settings for action column
|
|
72
|
+
*/
|
|
73
|
+
actionColumnSettings?: IOdsTimelineTableActionColumnProps;
|
|
68
74
|
/**
|
|
69
75
|
* This is a selection event that fired when selection is changed.
|
|
70
76
|
*/
|
|
@@ -78,6 +84,19 @@ export interface IOdsTimelineTableProps extends React.PropsWithChildren<IGanttOp
|
|
|
78
84
|
*/
|
|
79
85
|
onSortingChanged?(sortedColumns: ISortedColumn[], headerCellProps?: any): void;
|
|
80
86
|
}
|
|
87
|
+
export interface IOdsTimelineTableActionColumnProps {
|
|
88
|
+
actionColumnEnable?: boolean;
|
|
89
|
+
actionButtonGroupCaption?: string;
|
|
90
|
+
actionButtonGroup?: IButtonGroup[];
|
|
91
|
+
actionButtonsTooltipType?: ITooltipType;
|
|
92
|
+
}
|
|
93
|
+
export interface IButtonGroup extends Omit<IButtonProps, "icon"> {
|
|
94
|
+
icon?: JSX.Element;
|
|
95
|
+
type?: ButtonType;
|
|
96
|
+
label?: string;
|
|
97
|
+
actionPermission?: boolean;
|
|
98
|
+
onclick?: React.MouseEventHandler<HTMLElement>;
|
|
99
|
+
}
|
|
81
100
|
export interface IOdsTimelineTableColumnProps extends IColumnProps {
|
|
82
101
|
isMinimized?: boolean;
|
|
83
102
|
isStatusColumn?: boolean;
|