ods-component-lib 1.18.40 → 1.18.41
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/antd/select/MultiSelect/OdsMultiSelect.d.ts +9 -0
- package/dist/components/devextreme/OdsGantt/OdsGantt.Constants.d.ts +4 -0
- package/dist/components/devextreme/OdsGantt/OdsGantt.Functions.d.ts +2 -0
- package/dist/components/devextreme/OdsGantt/OdsGantt.Types.d.ts +15 -0
- package/dist/components/devextreme/OdsGantt/OdsGantt.d.ts +5 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +68 -41
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +68 -41
- package/dist/index.modern.js.map +1 -1
- package/dist/stories/GanttChart/Gantt.Constants.d.ts +2 -0
- package/dist/stories/GanttChart/Gantt.Functions.d.ts +6 -0
- package/dist/stories/GanttChart/Gantt.MockData.d.ts +39 -0
- package/dist/stories/GanttChart/Gantt.stories.d.ts +146 -0
- package/dist/stories/GanttChart/TaskTemplate.d.ts +4 -0
- package/dist/stories/OdsBasicTable/OdsBasicTable.stories.d.ts +9 -0
- package/dist/stories/OdsBasicTable/Samples/OdsBasicTable.Sample.d.ts +1 -0
- package/dist/stories/OdsGantt/OdsGantt.Constants.d.ts +2 -0
- package/dist/stories/OdsGantt/OdsGantt.Functions.d.ts +6 -0
- package/dist/stories/OdsGantt/OdsGantt.MockData.d.ts +39 -0
- package/dist/stories/OdsGantt/OdsGantt.stories.d.ts +146 -0
- package/dist/stories/OdsMultiSelect/OdsMultiSelect.stories.d.ts +1 -1
- package/dist/stories/OdsRemoteDataGrid/OdsRemoteDataGrid.Constants.d.ts +17 -0
- package/dist/stories/OdsRemoteDataGrid/OdsRemoteDataGrid.MockData.d.ts +5 -0
- package/dist/stories/OdsSelect/Samples/OdsCustomMultiSelect/OdsCustomMultiSelect.MockData.d.ts +4 -0
- package/dist/stories/OdsSelect/Samples/OdsCustomMultiSelect/OdsCustomMultiSelect.Sample.d.ts +1 -0
- package/dist/stories/OdsTable/Samples/OdsBasicTable.Sample.d.ts +1 -0
- package/dist/stories/OdsTimeline/OdsTimeline.Constants.d.ts +3 -0
- package/dist/stories/OdsTimeline/OdsTimeline.Functions.d.ts +4 -0
- package/dist/stories/OdsTimeline/OdsTimeline.MockData.d.ts +39 -0
- package/dist/stories/OdsTimeline/OdsTimeline.stories.d.ts +146 -0
- package/package.json +1 -1
- package/dist/components/devextreme/OdsDatagridProps.d.ts +0 -2
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IContextMenuProps } from "devextreme-react/gantt";
|
|
3
|
+
export declare const statusCellComponent: (props: any) => React.JSX.Element;
|
|
4
|
+
export declare const optionsCellComponent: (props: any) => React.JSX.Element;
|
|
5
|
+
export declare const taskTemplate: (props: any) => React.JSX.Element;
|
|
6
|
+
export declare const getContextMenuItems: () => IContextMenuProps["items"];
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export declare const tasks: {
|
|
2
|
+
id: number;
|
|
3
|
+
parentId: number;
|
|
4
|
+
title: string;
|
|
5
|
+
hotel: string;
|
|
6
|
+
brand: string;
|
|
7
|
+
provider: string;
|
|
8
|
+
isChecked: boolean;
|
|
9
|
+
hasImport: boolean;
|
|
10
|
+
hasExport: boolean;
|
|
11
|
+
hasBooking: boolean;
|
|
12
|
+
importType: {
|
|
13
|
+
type: string;
|
|
14
|
+
isActive: boolean;
|
|
15
|
+
}[];
|
|
16
|
+
exportType: {
|
|
17
|
+
type: string;
|
|
18
|
+
isActive: boolean;
|
|
19
|
+
}[];
|
|
20
|
+
start: Date;
|
|
21
|
+
end: Date;
|
|
22
|
+
color: string;
|
|
23
|
+
progress: number;
|
|
24
|
+
}[];
|
|
25
|
+
export declare const dependencies: {
|
|
26
|
+
id: number;
|
|
27
|
+
predecessorId: number;
|
|
28
|
+
successorId: number;
|
|
29
|
+
type: number;
|
|
30
|
+
}[];
|
|
31
|
+
export declare const resources: {
|
|
32
|
+
id: number;
|
|
33
|
+
text: string;
|
|
34
|
+
}[];
|
|
35
|
+
export declare const resourceAssignments: {
|
|
36
|
+
id: number;
|
|
37
|
+
taskId: number;
|
|
38
|
+
resourceId: number;
|
|
39
|
+
}[];
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "devextreme/dist/css/dx.light.css";
|
|
3
|
+
import "devexpress-gantt/dist/dx-gantt.min.css";
|
|
4
|
+
import "./Gantt.styles.css";
|
|
5
|
+
declare const _default: {
|
|
6
|
+
title: string;
|
|
7
|
+
component: (props: React.PropsWithChildren<{
|
|
8
|
+
allowSelection?: boolean;
|
|
9
|
+
columns?: (string | Pick<import("devextreme/ui/gantt").dxGanttColumnBlank<any, any>, "width" | "format" | "caption" | "visible" | "sortOrder" | "minWidth" | "cssClass" | "dataField" | "visibleIndex" | "filterValue" | "headerFilter" | "customizeText" | "alignment" | "allowFiltering" | "allowHeaderFiltering" | "allowSorting" | "calculateCellValue" | "calculateDisplayValue" | "calculateFilterExpression" | "calculateSortValue" | "cellTemplate" | "dataType" | "encodeHtml" | "falseText" | "filterOperations" | "filterType" | "filterValues" | "headerCellTemplate" | "selectedFilterOperation" | "sortIndex" | "sortingMethod" | "trueText" | "defaultCalculateCellValue" | "defaultCalculateFilterExpression" | "defaultSetCellValue">)[];
|
|
10
|
+
dependencies?: {
|
|
11
|
+
dataSource?: import("devextreme/data/data_source").DataSourceLike<any, any>;
|
|
12
|
+
keyExpr?: string | Function;
|
|
13
|
+
predecessorIdExpr?: string | Function;
|
|
14
|
+
successorIdExpr?: string | Function;
|
|
15
|
+
typeExpr?: string | Function;
|
|
16
|
+
};
|
|
17
|
+
editing?: {
|
|
18
|
+
allowDependencyAdding?: boolean;
|
|
19
|
+
allowDependencyDeleting?: boolean;
|
|
20
|
+
allowResourceAdding?: boolean;
|
|
21
|
+
allowResourceDeleting?: boolean;
|
|
22
|
+
allowResourceUpdating?: boolean;
|
|
23
|
+
allowTaskAdding?: boolean;
|
|
24
|
+
allowTaskDeleting?: boolean;
|
|
25
|
+
allowTaskResourceUpdating?: boolean;
|
|
26
|
+
allowTaskUpdating?: boolean;
|
|
27
|
+
enabled?: boolean;
|
|
28
|
+
};
|
|
29
|
+
validation?: {
|
|
30
|
+
validateDependencies?: boolean;
|
|
31
|
+
autoUpdateParentTasks?: boolean;
|
|
32
|
+
enablePredecessorGap?: boolean;
|
|
33
|
+
};
|
|
34
|
+
sorting?: import("devextreme/ui/gantt").dxGanttSorting;
|
|
35
|
+
filterRow?: import("devextreme/ui/gantt").dxGanttFilterRow;
|
|
36
|
+
headerFilter?: import("devextreme/ui/gantt").dxGanttHeaderFilter;
|
|
37
|
+
onSelectionChanged?: (e: import("devextreme/ui/gantt").SelectionChangedEvent) => void;
|
|
38
|
+
onCustomCommand?: (e: import("devextreme/ui/gantt").CustomCommandEvent) => void;
|
|
39
|
+
onContextMenuPreparing?: (e: import("devextreme/ui/gantt").ContextMenuPreparingEvent) => void;
|
|
40
|
+
onTaskInserting?: (e: import("devextreme/ui/gantt").TaskInsertingEvent) => void;
|
|
41
|
+
onTaskInserted?: (e: import("devextreme/ui/gantt").TaskInsertedEvent) => void;
|
|
42
|
+
onTaskDeleting?: (e: import("devextreme/ui/gantt").TaskDeletingEvent) => void;
|
|
43
|
+
onTaskDeleted?: (e: import("devextreme/ui/gantt").TaskDeletedEvent) => void;
|
|
44
|
+
onTaskUpdating?: (e: import("devextreme/ui/gantt").TaskUpdatingEvent) => void;
|
|
45
|
+
onTaskUpdated?: (e: import("devextreme/ui/gantt").TaskUpdatedEvent) => void;
|
|
46
|
+
onTaskMoving?: (e: import("devextreme/ui/gantt").TaskMovingEvent) => void;
|
|
47
|
+
onTaskEditDialogShowing?: (e: import("devextreme/ui/gantt").TaskEditDialogShowingEvent) => void;
|
|
48
|
+
onResourceManagerDialogShowing?: (e: import("devextreme/ui/gantt").ResourceManagerDialogShowingEvent) => void;
|
|
49
|
+
onDependencyInserting?: (e: import("devextreme/ui/gantt").DependencyInsertingEvent) => void;
|
|
50
|
+
onDependencyInserted?: (e: import("devextreme/ui/gantt").DependencyInsertedEvent) => void;
|
|
51
|
+
onDependencyDeleting?: (e: import("devextreme/ui/gantt").DependencyDeletingEvent) => void;
|
|
52
|
+
onDependencyDeleted?: (e: import("devextreme/ui/gantt").DependencyDeletedEvent) => void;
|
|
53
|
+
onResourceInserting?: (e: import("devextreme/ui/gantt").ResourceInsertingEvent) => void;
|
|
54
|
+
onResourceInserted?: (e: import("devextreme/ui/gantt").ResourceInsertedEvent) => void;
|
|
55
|
+
onResourceDeleting?: (e: import("devextreme/ui/gantt").ResourceDeletingEvent) => void;
|
|
56
|
+
onResourceDeleted?: (e: import("devextreme/ui/gantt").ResourceDeletedEvent) => void;
|
|
57
|
+
onResourceAssigning?: (e: import("devextreme/ui/gantt").ResourceAssigningEvent) => void;
|
|
58
|
+
onResourceAssigned?: (e: import("devextreme/ui/gantt").ResourceAssignedEvent) => void;
|
|
59
|
+
onResourceUnassigning?: (e: import("devextreme/ui/gantt").ResourceUnassigningEvent) => void;
|
|
60
|
+
onResourceUnassigned?: (e: import("devextreme/ui/gantt").ResourceUnassignedEvent) => void;
|
|
61
|
+
onTaskClick?: (e: import("devextreme/ui/gantt").TaskClickEvent) => void;
|
|
62
|
+
onTaskDblClick?: (e: import("devextreme/ui/gantt").TaskDblClickEvent) => void;
|
|
63
|
+
onScaleCellPrepared?: (e: import("devextreme/ui/gantt").ScaleCellPreparedEvent) => void;
|
|
64
|
+
resourceAssignments?: {
|
|
65
|
+
dataSource?: import("devextreme/data/data_source").DataSourceLike<any, any>;
|
|
66
|
+
keyExpr?: string | Function;
|
|
67
|
+
resourceIdExpr?: string | Function;
|
|
68
|
+
taskIdExpr?: string | Function;
|
|
69
|
+
};
|
|
70
|
+
resources?: {
|
|
71
|
+
colorExpr?: string | Function;
|
|
72
|
+
dataSource?: import("devextreme/data/data_source").DataSourceLike<any, any>;
|
|
73
|
+
keyExpr?: string | Function;
|
|
74
|
+
textExpr?: string | Function;
|
|
75
|
+
};
|
|
76
|
+
scaleType?: import("devextreme/ui/gantt").GanttScaleType;
|
|
77
|
+
scaleTypeRange?: {
|
|
78
|
+
min?: import("devextreme/ui/gantt").GanttScaleType;
|
|
79
|
+
max?: import("devextreme/ui/gantt").GanttScaleType;
|
|
80
|
+
};
|
|
81
|
+
selectedRowKey?: any;
|
|
82
|
+
showResources?: boolean;
|
|
83
|
+
showDependencies?: boolean;
|
|
84
|
+
showRowLines?: boolean;
|
|
85
|
+
taskListWidth?: number;
|
|
86
|
+
taskTitlePosition?: import("devextreme/ui/gantt").GanttTaskTitlePosition;
|
|
87
|
+
firstDayOfWeek?: import("devextreme/common").FirstDayOfWeek;
|
|
88
|
+
tasks?: {
|
|
89
|
+
colorExpr?: string | Function;
|
|
90
|
+
dataSource?: import("devextreme/data/data_source").DataSourceLike<any, any>;
|
|
91
|
+
endExpr?: string | Function;
|
|
92
|
+
keyExpr?: string | Function;
|
|
93
|
+
parentIdExpr?: string | Function;
|
|
94
|
+
progressExpr?: string | Function;
|
|
95
|
+
startExpr?: string | Function;
|
|
96
|
+
titleExpr?: string | Function;
|
|
97
|
+
};
|
|
98
|
+
toolbar?: import("devextreme/ui/gantt").dxGanttToolbar;
|
|
99
|
+
contextMenu?: import("devextreme/ui/gantt").dxGanttContextMenu;
|
|
100
|
+
stripLines?: import("devextreme/ui/gantt").dxGanttStripLine[];
|
|
101
|
+
taskTooltipContentTemplate?: string | Function | Element | ((container: HTMLElement, task: any) => string | Element);
|
|
102
|
+
taskTimeTooltipContentTemplate?: string | Function | Element | ((container: HTMLElement, item: import("devextreme/ui/gantt").TimeTooltipTemplateData) => string | Element);
|
|
103
|
+
taskProgressTooltipContentTemplate?: string | Function | Element | ((container: HTMLElement, item: import("devextreme/ui/gantt").ProgressTooltipTemplateData) => string | Element);
|
|
104
|
+
taskContentTemplate?: string | Function | Element | ((container: HTMLElement, item: import("devextreme/ui/gantt").TaskContentTemplateData) => string | Element);
|
|
105
|
+
rootValue?: any;
|
|
106
|
+
startDateRange?: Date;
|
|
107
|
+
endDateRange?: Date;
|
|
108
|
+
accessKey?: string;
|
|
109
|
+
activeStateEnabled?: boolean;
|
|
110
|
+
disabled?: boolean;
|
|
111
|
+
focusStateEnabled?: boolean;
|
|
112
|
+
hint?: string;
|
|
113
|
+
hoverStateEnabled?: boolean;
|
|
114
|
+
onContentReady?: (e: import("devextreme/ui/gantt").ContentReadyEvent) => void;
|
|
115
|
+
tabIndex?: number;
|
|
116
|
+
visible?: boolean;
|
|
117
|
+
bindingOptions?: {
|
|
118
|
+
[key: string]: any;
|
|
119
|
+
};
|
|
120
|
+
elementAttr?: {
|
|
121
|
+
[key: string]: any;
|
|
122
|
+
};
|
|
123
|
+
height?: string | number | (() => React.ReactText);
|
|
124
|
+
onDisposing?: (e: import("devextreme/ui/gantt").DisposingEvent) => void;
|
|
125
|
+
onOptionChanged?: (e: import("devextreme/core/dom_component").OptionChangedEventInfo<import("devextreme/ui/gantt").default>) => void;
|
|
126
|
+
rtlEnabled?: boolean;
|
|
127
|
+
width?: string | number | (() => React.ReactText);
|
|
128
|
+
onInitialized?: (e: import("devextreme/ui/gantt").InitializedEvent) => void;
|
|
129
|
+
} & import("devextreme-react/core/component-base").IHtmlOptions & {
|
|
130
|
+
taskContentRender?: (...params: any) => React.ReactNode;
|
|
131
|
+
taskContentComponent?: React.ComponentType<any>;
|
|
132
|
+
taskContentKeyFn?: (data: any) => string;
|
|
133
|
+
taskProgressTooltipContentRender?: (...params: any) => React.ReactNode;
|
|
134
|
+
taskProgressTooltipContentComponent?: React.ComponentType<any>;
|
|
135
|
+
taskProgressTooltipContentKeyFn?: (data: any) => string;
|
|
136
|
+
taskTimeTooltipContentRender?: (...params: any) => React.ReactNode;
|
|
137
|
+
taskTimeTooltipContentComponent?: React.ComponentType<any>;
|
|
138
|
+
taskTimeTooltipContentKeyFn?: (data: any) => string;
|
|
139
|
+
taskTooltipContentRender?: (...params: any) => React.ReactNode;
|
|
140
|
+
taskTooltipContentComponent?: React.ComponentType<any>;
|
|
141
|
+
taskTooltipContentKeyFn?: (data: any) => string;
|
|
142
|
+
}>) => React.JSX.Element;
|
|
143
|
+
tags: string[];
|
|
144
|
+
};
|
|
145
|
+
export default _default;
|
|
146
|
+
export declare const GanttTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BasicTableTemplate: any;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IContextMenuProps } from "devextreme-react/gantt";
|
|
3
|
+
export declare const statusCellComponent: (props: any) => React.JSX.Element;
|
|
4
|
+
export declare const optionsCellComponent: (props: any) => React.JSX.Element;
|
|
5
|
+
export declare const taskTemplate: (props: any) => React.JSX.Element;
|
|
6
|
+
export declare const getContextMenuItems: () => IContextMenuProps["items"];
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export declare const tasks: {
|
|
2
|
+
id: number;
|
|
3
|
+
parentId: number;
|
|
4
|
+
title: string;
|
|
5
|
+
hotel: string;
|
|
6
|
+
brand: string;
|
|
7
|
+
provider: string;
|
|
8
|
+
isChecked: boolean;
|
|
9
|
+
hasImport: boolean;
|
|
10
|
+
hasExport: boolean;
|
|
11
|
+
hasBooking: boolean;
|
|
12
|
+
importType: {
|
|
13
|
+
type: string;
|
|
14
|
+
isActive: boolean;
|
|
15
|
+
}[];
|
|
16
|
+
exportType: {
|
|
17
|
+
type: string;
|
|
18
|
+
isActive: boolean;
|
|
19
|
+
}[];
|
|
20
|
+
start: Date;
|
|
21
|
+
end: Date;
|
|
22
|
+
color: string;
|
|
23
|
+
progress: number;
|
|
24
|
+
}[];
|
|
25
|
+
export declare const dependencies: {
|
|
26
|
+
id: number;
|
|
27
|
+
predecessorId: number;
|
|
28
|
+
successorId: number;
|
|
29
|
+
type: number;
|
|
30
|
+
}[];
|
|
31
|
+
export declare const resources: {
|
|
32
|
+
id: number;
|
|
33
|
+
text: string;
|
|
34
|
+
}[];
|
|
35
|
+
export declare const resourceAssignments: {
|
|
36
|
+
id: number;
|
|
37
|
+
taskId: number;
|
|
38
|
+
resourceId: number;
|
|
39
|
+
}[];
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "devextreme/dist/css/dx.light.css";
|
|
3
|
+
import "devexpress-gantt/dist/dx-gantt.min.css";
|
|
4
|
+
import "./Gantt.styles.css";
|
|
5
|
+
declare const _default: {
|
|
6
|
+
title: string;
|
|
7
|
+
component: (props: React.PropsWithChildren<{
|
|
8
|
+
allowSelection?: boolean;
|
|
9
|
+
columns?: (string | Pick<import("devextreme/ui/gantt").dxGanttColumnBlank<any, any>, "width" | "format" | "caption" | "visible" | "sortOrder" | "minWidth" | "cssClass" | "dataField" | "visibleIndex" | "filterValue" | "headerFilter" | "customizeText" | "alignment" | "allowFiltering" | "allowHeaderFiltering" | "allowSorting" | "calculateCellValue" | "calculateDisplayValue" | "calculateFilterExpression" | "calculateSortValue" | "cellTemplate" | "dataType" | "encodeHtml" | "falseText" | "filterOperations" | "filterType" | "filterValues" | "headerCellTemplate" | "selectedFilterOperation" | "sortIndex" | "sortingMethod" | "trueText" | "defaultCalculateCellValue" | "defaultCalculateFilterExpression" | "defaultSetCellValue">)[];
|
|
10
|
+
dependencies?: {
|
|
11
|
+
dataSource?: import("devextreme/data/data_source").DataSourceLike<any, any>;
|
|
12
|
+
keyExpr?: string | Function;
|
|
13
|
+
predecessorIdExpr?: string | Function;
|
|
14
|
+
successorIdExpr?: string | Function;
|
|
15
|
+
typeExpr?: string | Function;
|
|
16
|
+
};
|
|
17
|
+
editing?: {
|
|
18
|
+
allowDependencyAdding?: boolean;
|
|
19
|
+
allowDependencyDeleting?: boolean;
|
|
20
|
+
allowResourceAdding?: boolean;
|
|
21
|
+
allowResourceDeleting?: boolean;
|
|
22
|
+
allowResourceUpdating?: boolean;
|
|
23
|
+
allowTaskAdding?: boolean;
|
|
24
|
+
allowTaskDeleting?: boolean;
|
|
25
|
+
allowTaskResourceUpdating?: boolean;
|
|
26
|
+
allowTaskUpdating?: boolean;
|
|
27
|
+
enabled?: boolean;
|
|
28
|
+
};
|
|
29
|
+
validation?: {
|
|
30
|
+
validateDependencies?: boolean;
|
|
31
|
+
autoUpdateParentTasks?: boolean;
|
|
32
|
+
enablePredecessorGap?: boolean;
|
|
33
|
+
};
|
|
34
|
+
sorting?: import("devextreme/ui/gantt").dxGanttSorting;
|
|
35
|
+
filterRow?: import("devextreme/ui/gantt").dxGanttFilterRow;
|
|
36
|
+
headerFilter?: import("devextreme/ui/gantt").dxGanttHeaderFilter;
|
|
37
|
+
onSelectionChanged?: (e: import("devextreme/ui/gantt").SelectionChangedEvent) => void;
|
|
38
|
+
onCustomCommand?: (e: import("devextreme/ui/gantt").CustomCommandEvent) => void;
|
|
39
|
+
onContextMenuPreparing?: (e: import("devextreme/ui/gantt").ContextMenuPreparingEvent) => void;
|
|
40
|
+
onTaskInserting?: (e: import("devextreme/ui/gantt").TaskInsertingEvent) => void;
|
|
41
|
+
onTaskInserted?: (e: import("devextreme/ui/gantt").TaskInsertedEvent) => void;
|
|
42
|
+
onTaskDeleting?: (e: import("devextreme/ui/gantt").TaskDeletingEvent) => void;
|
|
43
|
+
onTaskDeleted?: (e: import("devextreme/ui/gantt").TaskDeletedEvent) => void;
|
|
44
|
+
onTaskUpdating?: (e: import("devextreme/ui/gantt").TaskUpdatingEvent) => void;
|
|
45
|
+
onTaskUpdated?: (e: import("devextreme/ui/gantt").TaskUpdatedEvent) => void;
|
|
46
|
+
onTaskMoving?: (e: import("devextreme/ui/gantt").TaskMovingEvent) => void;
|
|
47
|
+
onTaskEditDialogShowing?: (e: import("devextreme/ui/gantt").TaskEditDialogShowingEvent) => void;
|
|
48
|
+
onResourceManagerDialogShowing?: (e: import("devextreme/ui/gantt").ResourceManagerDialogShowingEvent) => void;
|
|
49
|
+
onDependencyInserting?: (e: import("devextreme/ui/gantt").DependencyInsertingEvent) => void;
|
|
50
|
+
onDependencyInserted?: (e: import("devextreme/ui/gantt").DependencyInsertedEvent) => void;
|
|
51
|
+
onDependencyDeleting?: (e: import("devextreme/ui/gantt").DependencyDeletingEvent) => void;
|
|
52
|
+
onDependencyDeleted?: (e: import("devextreme/ui/gantt").DependencyDeletedEvent) => void;
|
|
53
|
+
onResourceInserting?: (e: import("devextreme/ui/gantt").ResourceInsertingEvent) => void;
|
|
54
|
+
onResourceInserted?: (e: import("devextreme/ui/gantt").ResourceInsertedEvent) => void;
|
|
55
|
+
onResourceDeleting?: (e: import("devextreme/ui/gantt").ResourceDeletingEvent) => void;
|
|
56
|
+
onResourceDeleted?: (e: import("devextreme/ui/gantt").ResourceDeletedEvent) => void;
|
|
57
|
+
onResourceAssigning?: (e: import("devextreme/ui/gantt").ResourceAssigningEvent) => void;
|
|
58
|
+
onResourceAssigned?: (e: import("devextreme/ui/gantt").ResourceAssignedEvent) => void;
|
|
59
|
+
onResourceUnassigning?: (e: import("devextreme/ui/gantt").ResourceUnassigningEvent) => void;
|
|
60
|
+
onResourceUnassigned?: (e: import("devextreme/ui/gantt").ResourceUnassignedEvent) => void;
|
|
61
|
+
onTaskClick?: (e: import("devextreme/ui/gantt").TaskClickEvent) => void;
|
|
62
|
+
onTaskDblClick?: (e: import("devextreme/ui/gantt").TaskDblClickEvent) => void;
|
|
63
|
+
onScaleCellPrepared?: (e: import("devextreme/ui/gantt").ScaleCellPreparedEvent) => void;
|
|
64
|
+
resourceAssignments?: {
|
|
65
|
+
dataSource?: import("devextreme/data/data_source").DataSourceLike<any, any>;
|
|
66
|
+
keyExpr?: string | Function;
|
|
67
|
+
resourceIdExpr?: string | Function;
|
|
68
|
+
taskIdExpr?: string | Function;
|
|
69
|
+
};
|
|
70
|
+
resources?: {
|
|
71
|
+
colorExpr?: string | Function;
|
|
72
|
+
dataSource?: import("devextreme/data/data_source").DataSourceLike<any, any>;
|
|
73
|
+
keyExpr?: string | Function;
|
|
74
|
+
textExpr?: string | Function;
|
|
75
|
+
};
|
|
76
|
+
scaleType?: import("devextreme/ui/gantt").GanttScaleType;
|
|
77
|
+
scaleTypeRange?: {
|
|
78
|
+
min?: import("devextreme/ui/gantt").GanttScaleType;
|
|
79
|
+
max?: import("devextreme/ui/gantt").GanttScaleType;
|
|
80
|
+
};
|
|
81
|
+
selectedRowKey?: any;
|
|
82
|
+
showResources?: boolean;
|
|
83
|
+
showDependencies?: boolean;
|
|
84
|
+
showRowLines?: boolean;
|
|
85
|
+
taskListWidth?: number;
|
|
86
|
+
taskTitlePosition?: import("devextreme/ui/gantt").GanttTaskTitlePosition;
|
|
87
|
+
firstDayOfWeek?: import("devextreme/common").FirstDayOfWeek;
|
|
88
|
+
tasks?: {
|
|
89
|
+
colorExpr?: string | Function;
|
|
90
|
+
dataSource?: import("devextreme/data/data_source").DataSourceLike<any, any>;
|
|
91
|
+
endExpr?: string | Function;
|
|
92
|
+
keyExpr?: string | Function;
|
|
93
|
+
parentIdExpr?: string | Function;
|
|
94
|
+
progressExpr?: string | Function;
|
|
95
|
+
startExpr?: string | Function;
|
|
96
|
+
titleExpr?: string | Function;
|
|
97
|
+
};
|
|
98
|
+
toolbar?: import("devextreme/ui/gantt").dxGanttToolbar;
|
|
99
|
+
contextMenu?: import("devextreme/ui/gantt").dxGanttContextMenu;
|
|
100
|
+
stripLines?: import("devextreme/ui/gantt").dxGanttStripLine[];
|
|
101
|
+
taskTooltipContentTemplate?: string | Function | Element | ((container: HTMLElement, task: any) => string | Element);
|
|
102
|
+
taskTimeTooltipContentTemplate?: string | Function | Element | ((container: HTMLElement, item: import("devextreme/ui/gantt").TimeTooltipTemplateData) => string | Element);
|
|
103
|
+
taskProgressTooltipContentTemplate?: string | Function | Element | ((container: HTMLElement, item: import("devextreme/ui/gantt").ProgressTooltipTemplateData) => string | Element);
|
|
104
|
+
taskContentTemplate?: string | Function | Element | ((container: HTMLElement, item: import("devextreme/ui/gantt").TaskContentTemplateData) => string | Element);
|
|
105
|
+
rootValue?: any;
|
|
106
|
+
startDateRange?: Date;
|
|
107
|
+
endDateRange?: Date;
|
|
108
|
+
accessKey?: string;
|
|
109
|
+
activeStateEnabled?: boolean;
|
|
110
|
+
disabled?: boolean;
|
|
111
|
+
focusStateEnabled?: boolean;
|
|
112
|
+
hint?: string;
|
|
113
|
+
hoverStateEnabled?: boolean;
|
|
114
|
+
onContentReady?: (e: import("devextreme/ui/gantt").ContentReadyEvent) => void;
|
|
115
|
+
tabIndex?: number;
|
|
116
|
+
visible?: boolean;
|
|
117
|
+
bindingOptions?: {
|
|
118
|
+
[key: string]: any;
|
|
119
|
+
};
|
|
120
|
+
elementAttr?: {
|
|
121
|
+
[key: string]: any;
|
|
122
|
+
};
|
|
123
|
+
height?: string | number | (() => React.ReactText);
|
|
124
|
+
onDisposing?: (e: import("devextreme/ui/gantt").DisposingEvent) => void;
|
|
125
|
+
onOptionChanged?: (e: import("devextreme/core/dom_component").OptionChangedEventInfo<import("devextreme/ui/gantt").default>) => void;
|
|
126
|
+
rtlEnabled?: boolean;
|
|
127
|
+
width?: string | number | (() => React.ReactText);
|
|
128
|
+
onInitialized?: (e: import("devextreme/ui/gantt").InitializedEvent) => void;
|
|
129
|
+
} & import("devextreme-react/core/component-base").IHtmlOptions & {
|
|
130
|
+
taskContentRender?: (...params: any) => React.ReactNode;
|
|
131
|
+
taskContentComponent?: React.ComponentType<any>;
|
|
132
|
+
taskContentKeyFn?: (data: any) => string;
|
|
133
|
+
taskProgressTooltipContentRender?: (...params: any) => React.ReactNode;
|
|
134
|
+
taskProgressTooltipContentComponent?: React.ComponentType<any>;
|
|
135
|
+
taskProgressTooltipContentKeyFn?: (data: any) => string;
|
|
136
|
+
taskTimeTooltipContentRender?: (...params: any) => React.ReactNode;
|
|
137
|
+
taskTimeTooltipContentComponent?: React.ComponentType<any>;
|
|
138
|
+
taskTimeTooltipContentKeyFn?: (data: any) => string;
|
|
139
|
+
taskTooltipContentRender?: (...params: any) => React.ReactNode;
|
|
140
|
+
taskTooltipContentComponent?: React.ComponentType<any>;
|
|
141
|
+
taskTooltipContentKeyFn?: (data: any) => string;
|
|
142
|
+
}>) => React.JSX.Element;
|
|
143
|
+
tags: string[];
|
|
144
|
+
};
|
|
145
|
+
export default _default;
|
|
146
|
+
export declare const GanttTemplate: any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
declare const _default: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: (props: import("../../components/antd/select/OdsMultiSelect").OdsMultiSelectProps) => import("react").JSX.Element;
|
|
4
|
+
component: (props: import("../../components/antd/select/MultiSelect/OdsMultiSelect").OdsMultiSelectProps) => import("react").JSX.Element;
|
|
5
5
|
tags: string[];
|
|
6
6
|
argTypes: {};
|
|
7
7
|
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const DataGridColumns: ({
|
|
3
|
+
dataField: string;
|
|
4
|
+
dataType: string;
|
|
5
|
+
caption: string;
|
|
6
|
+
cellRender?: undefined;
|
|
7
|
+
dataSource?: undefined;
|
|
8
|
+
} | {
|
|
9
|
+
dataField: string;
|
|
10
|
+
caption: string;
|
|
11
|
+
cellRender: (value: any) => import("react").JSX.Element;
|
|
12
|
+
dataSource: {
|
|
13
|
+
label: string;
|
|
14
|
+
value: boolean;
|
|
15
|
+
}[];
|
|
16
|
+
dataType?: undefined;
|
|
17
|
+
})[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const MultiSelectTemplate: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BasicTableTemplate: any;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export declare const tasks: {
|
|
2
|
+
id: number;
|
|
3
|
+
parentId: number;
|
|
4
|
+
title: string;
|
|
5
|
+
hotel: string;
|
|
6
|
+
brand: string;
|
|
7
|
+
provider: string;
|
|
8
|
+
isChecked: boolean;
|
|
9
|
+
hasImport: boolean;
|
|
10
|
+
hasExport: boolean;
|
|
11
|
+
hasBooking: boolean;
|
|
12
|
+
importType: {
|
|
13
|
+
type: string;
|
|
14
|
+
isActive: boolean;
|
|
15
|
+
}[];
|
|
16
|
+
exportType: {
|
|
17
|
+
type: string;
|
|
18
|
+
isActive: boolean;
|
|
19
|
+
}[];
|
|
20
|
+
start: Date;
|
|
21
|
+
end: Date;
|
|
22
|
+
color: string;
|
|
23
|
+
progress: number;
|
|
24
|
+
}[];
|
|
25
|
+
export declare const dependencies: {
|
|
26
|
+
id: number;
|
|
27
|
+
predecessorId: number;
|
|
28
|
+
successorId: number;
|
|
29
|
+
type: number;
|
|
30
|
+
}[];
|
|
31
|
+
export declare const resources: {
|
|
32
|
+
id: number;
|
|
33
|
+
text: string;
|
|
34
|
+
}[];
|
|
35
|
+
export declare const resourceAssignments: {
|
|
36
|
+
id: number;
|
|
37
|
+
taskId: number;
|
|
38
|
+
resourceId: number;
|
|
39
|
+
}[];
|