ods-component-lib 1.18.41 → 1.18.43
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/OdsDatagridProps.d.ts +2 -0
- package/dist/components/devextreme/OdsRemoteDataGrid.d.ts +1 -0
- package/dist/components/devextreme/datagridUtils/DxDataPopupForm.d.ts +3 -0
- package/dist/components/devextreme/datagridUtils/DynamicIcon.d.ts +5 -0
- package/dist/components/devextreme/treeview/DxTreeList.d.ts +2 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.js +55 -90
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +56 -90
- package/dist/index.modern.js.map +1 -1
- package/dist/stories/OdsTimePicker/OdsTimePicker.stories.d.ts +10 -0
- package/dist/stories/OdsTimePicker/Samples/Basic.Sample.d.ts +1 -0
- package/dist/stories/OdsTimePicker/Samples/TimeRangePicker.d.ts +2 -0
- package/dist/stories/OdsTreeList/OdsTreeList.stories.d.ts +165 -0
- package/dist/stories/OdsTreeList/Samples/BasicTreeListTemplate.Constants.d.ts +15 -0
- package/dist/stories/OdsTreeList/Samples/BasicTreeListTemplate.MockData.d.ts +24 -0
- package/dist/stories/OdsTreeList/Samples/BasicTreeListTemplate.Sample.d.ts +1 -0
- package/dist/stories/OdsTreeList/Samples/EmployeeCell.d.ts +4 -0
- package/package.json +2 -2
- package/dist/components/devextreme/OdsGantt/OdsGantt.Constants.d.ts +0 -4
- package/dist/components/devextreme/OdsGantt/OdsGantt.Functions.d.ts +0 -2
- package/dist/components/devextreme/OdsGantt/OdsGantt.Types.d.ts +0 -15
- package/dist/components/devextreme/OdsGantt/OdsGantt.d.ts +0 -5
- package/dist/stories/GanttChart/Gantt.Constants.d.ts +0 -2
- package/dist/stories/GanttChart/Gantt.Functions.d.ts +0 -6
- package/dist/stories/GanttChart/Gantt.MockData.d.ts +0 -39
- package/dist/stories/GanttChart/Gantt.stories.d.ts +0 -146
- package/dist/stories/GanttChart/TaskTemplate.d.ts +0 -4
- package/dist/stories/OdsBasicTable/OdsBasicTable.stories.d.ts +0 -9
- package/dist/stories/OdsBasicTable/Samples/OdsBasicTable.Sample.d.ts +0 -1
- package/dist/stories/OdsGantt/OdsGantt.Constants.d.ts +0 -2
- package/dist/stories/OdsGantt/OdsGantt.Functions.d.ts +0 -6
- package/dist/stories/OdsGantt/OdsGantt.MockData.d.ts +0 -39
- package/dist/stories/OdsGantt/OdsGantt.stories.d.ts +0 -146
- package/dist/stories/OdsRemoteDataGrid/OdsRemoteDataGrid.Constants.d.ts +0 -17
- package/dist/stories/OdsRemoteDataGrid/OdsRemoteDataGrid.MockData.d.ts +0 -5
- package/dist/stories/OdsSelect/Samples/OdsCustomMultiSelect/OdsCustomMultiSelect.MockData.d.ts +0 -4
- package/dist/stories/OdsSelect/Samples/OdsCustomMultiSelect/OdsCustomMultiSelect.Sample.d.ts +0 -1
- package/dist/stories/OdsTable/Samples/OdsBasicTable.Sample.d.ts +0 -1
- package/dist/stories/OdsTimeline/OdsTimeline.Constants.d.ts +0 -3
- package/dist/stories/OdsTimeline/OdsTimeline.Functions.d.ts +0 -4
- package/dist/stories/OdsTimeline/OdsTimeline.MockData.d.ts +0 -39
- package/dist/stories/OdsTimeline/OdsTimeline.stories.d.ts +0 -146
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: (props: import("antd").TimePickerProps) => import("react").JSX.Element;
|
|
5
|
+
tags: string[];
|
|
6
|
+
argTypes: {};
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Basic: any;
|
|
10
|
+
export declare const Range: () => import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BasicTemplate: any;
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: (props: import("react").PropsWithChildren<{
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
onKeyDown?: (e: import("devextreme/ui/tree_list").KeyDownEvent<any, any>) => void;
|
|
7
|
+
height?: string | number | (() => import("react").ReactText);
|
|
8
|
+
width?: string | number | (() => import("react").ReactText);
|
|
9
|
+
accessKey?: string;
|
|
10
|
+
tabIndex?: number;
|
|
11
|
+
activeStateEnabled?: boolean;
|
|
12
|
+
hint?: string;
|
|
13
|
+
hoverStateEnabled?: boolean;
|
|
14
|
+
onContentReady?: (e: import("devextreme/ui/tree_list").ContentReadyEvent<any, any>) => void;
|
|
15
|
+
visible?: boolean;
|
|
16
|
+
bindingOptions?: {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
};
|
|
19
|
+
elementAttr?: {
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
};
|
|
22
|
+
onDisposing?: (e: import("devextreme/ui/tree_list").DisposingEvent<any, any>) => void;
|
|
23
|
+
onOptionChanged?: (e: import("devextreme/core/dom_component").OptionChangedEventInfo<import("devextreme/ui/tree_list").default<any, any>>) => void;
|
|
24
|
+
rtlEnabled?: boolean;
|
|
25
|
+
onInitialized?: (e: import("devextreme/ui/tree_list").InitializedEvent<any, any>) => void;
|
|
26
|
+
allowColumnReordering?: boolean;
|
|
27
|
+
allowColumnResizing?: boolean;
|
|
28
|
+
autoNavigateToFocusedRow?: boolean;
|
|
29
|
+
cacheEnabled?: boolean;
|
|
30
|
+
cellHintEnabled?: boolean;
|
|
31
|
+
columnAutoWidth?: boolean;
|
|
32
|
+
columnChooser?: import("devextreme/common/grids").ColumnChooser;
|
|
33
|
+
columnFixing?: import("devextreme/common/grids").ColumnFixing;
|
|
34
|
+
columnHidingEnabled?: boolean;
|
|
35
|
+
columnMinWidth?: number;
|
|
36
|
+
columnResizingMode?: import("devextreme/common/grids").ColumnResizeMode;
|
|
37
|
+
columnWidth?: number | "auto";
|
|
38
|
+
dataSource?: import("devextreme/data/data_source").DataSourceLike<any, any>;
|
|
39
|
+
dateSerializationFormat?: string;
|
|
40
|
+
errorRowEnabled?: boolean;
|
|
41
|
+
filterBuilder?: import("devextreme/ui/filter_builder").dxFilterBuilderOptions;
|
|
42
|
+
filterBuilderPopup?: import("devextreme/ui/popup").Properties;
|
|
43
|
+
filterPanel?: import("devextreme/common/grids").FilterPanel<import("devextreme/ui/tree_list").default<any, any>, any, any>;
|
|
44
|
+
filterRow?: import("devextreme/common/grids").FilterRow;
|
|
45
|
+
filterSyncEnabled?: boolean | "auto";
|
|
46
|
+
filterValue?: string | Function | any[];
|
|
47
|
+
focusedColumnIndex?: number;
|
|
48
|
+
focusedRowEnabled?: boolean;
|
|
49
|
+
focusedRowIndex?: number;
|
|
50
|
+
focusedRowKey?: any;
|
|
51
|
+
headerFilter?: import("devextreme/common/grids").HeaderFilter;
|
|
52
|
+
highlightChanges?: boolean;
|
|
53
|
+
keyboardNavigation?: import("devextreme/common/grids").KeyboardNavigation;
|
|
54
|
+
loadPanel?: import("devextreme/common/grids").LoadPanel;
|
|
55
|
+
noDataText?: string;
|
|
56
|
+
onAdaptiveDetailRowPreparing?: (e: import("devextreme/ui/tree_list").AdaptiveDetailRowPreparingEvent<any, any>) => void;
|
|
57
|
+
onDataErrorOccurred?: (e: import("devextreme/ui/tree_list").DataErrorOccurredEvent<any, any>) => void;
|
|
58
|
+
onEditCanceled?: (e: import("devextreme/ui/tree_list").EditCanceledEvent<any, any>) => void;
|
|
59
|
+
onEditCanceling?: (e: import("devextreme/ui/tree_list").EditCancelingEvent<any, any>) => void;
|
|
60
|
+
onInitNewRow?: (e: import("devextreme/ui/tree_list").InitNewRowEvent<any, any>) => void;
|
|
61
|
+
onRowCollapsed?: (e: import("devextreme/ui/tree_list").RowCollapsedEvent<any, any>) => void;
|
|
62
|
+
onRowCollapsing?: (e: import("devextreme/ui/tree_list").RowCollapsingEvent<any, any>) => void;
|
|
63
|
+
onRowExpanded?: (e: import("devextreme/ui/tree_list").RowCollapsedEvent<any, any>) => void;
|
|
64
|
+
onRowExpanding?: (e: import("devextreme/ui/tree_list").RowCollapsingEvent<any, any>) => void;
|
|
65
|
+
onRowInserted?: (e: import("devextreme/ui/tree_list").RowInsertedEvent<any, any>) => void;
|
|
66
|
+
onRowInserting?: (e: import("devextreme/ui/tree_list").RowInsertingEvent<any, any>) => void;
|
|
67
|
+
onRowRemoved?: (e: import("devextreme/ui/tree_list").RowRemovedEvent<any, any>) => void;
|
|
68
|
+
onRowRemoving?: (e: import("devextreme/ui/tree_list").RowRemovingEvent<any, any>) => void;
|
|
69
|
+
onRowUpdated?: (e: import("devextreme/ui/tree_list").RowUpdatedEvent<any, any>) => void;
|
|
70
|
+
onRowUpdating?: (e: import("devextreme/ui/tree_list").RowUpdatingEvent<any, any>) => void;
|
|
71
|
+
onRowValidating?: (e: import("devextreme/ui/tree_list").RowValidatingEvent<any, any>) => void;
|
|
72
|
+
onSaved?: (e: import("devextreme/ui/tree_list").EditCanceledEvent<any, any>) => void;
|
|
73
|
+
onSaving?: (e: import("devextreme/ui/tree_list").SavingEvent<any, any>) => void;
|
|
74
|
+
onSelectionChanged?: (e: import("devextreme/events").EventInfo<import("devextreme/ui/tree_list").default<any, any>> & import("devextreme/common/grids").SelectionChangedInfo<any, any>) => void;
|
|
75
|
+
onToolbarPreparing?: (e: import("devextreme/ui/tree_list").ToolbarPreparingEvent<any, any>) => void;
|
|
76
|
+
pager?: import("devextreme/common/grids").Pager;
|
|
77
|
+
renderAsync?: boolean;
|
|
78
|
+
repaintChangesOnly?: boolean;
|
|
79
|
+
rowAlternationEnabled?: boolean;
|
|
80
|
+
rowDragging?: import("devextreme/common/grids").RowDragging<import("devextreme/ui/tree_list").default<any, any>, any, any>;
|
|
81
|
+
searchPanel?: import("devextreme/common/grids").SearchPanel;
|
|
82
|
+
selectedRowKeys?: any[];
|
|
83
|
+
showBorders?: boolean;
|
|
84
|
+
showColumnHeaders?: boolean;
|
|
85
|
+
showColumnLines?: boolean;
|
|
86
|
+
showRowLines?: boolean;
|
|
87
|
+
sorting?: import("devextreme/common/grids").Sorting;
|
|
88
|
+
stateStoring?: import("devextreme/common/grids").StateStoring;
|
|
89
|
+
twoWayBindingEnabled?: boolean;
|
|
90
|
+
wordWrapEnabled?: boolean;
|
|
91
|
+
syncLookupFilterValues?: boolean;
|
|
92
|
+
autoExpandAll?: boolean;
|
|
93
|
+
columns?: (string | import("devextreme/ui/tree_list").Column<any, any>)[];
|
|
94
|
+
customizeColumns?: (columns: import("devextreme/ui/tree_list").Column<any, any>[]) => void;
|
|
95
|
+
dataStructure?: import("devextreme/common").DataStructure;
|
|
96
|
+
editing?: import("devextreme/ui/tree_list").Editing<any, any>;
|
|
97
|
+
expandNodesOnFiltering?: boolean;
|
|
98
|
+
expandedRowKeys?: any[];
|
|
99
|
+
filterMode?: import("devextreme/ui/tree_list").TreeListFilterMode;
|
|
100
|
+
hasItemsExpr?: string | Function;
|
|
101
|
+
itemsExpr?: string | Function;
|
|
102
|
+
keyExpr?: string | Function;
|
|
103
|
+
onCellClick?: (e: import("devextreme/ui/tree_list").CellClickEvent<any, any>) => void;
|
|
104
|
+
onCellDblClick?: (e: import("devextreme/ui/tree_list").CellClickEvent<any, any>) => void;
|
|
105
|
+
onCellHoverChanged?: (e: import("devextreme/ui/tree_list").CellHoverChangedEvent<any, any>) => void;
|
|
106
|
+
onCellPrepared?: (e: import("devextreme/ui/tree_list").CellPreparedEvent<any, any>) => void;
|
|
107
|
+
onContextMenuPreparing?: (e: import("devextreme/ui/tree_list").ContextMenuPreparingEvent<any, any>) => void;
|
|
108
|
+
onEditingStart?: (e: import("devextreme/ui/tree_list").EditingStartEvent<any, any>) => void;
|
|
109
|
+
onEditorPrepared?: (e: import("devextreme/ui/tree_list").EditorPreparedEvent<any, any>) => void;
|
|
110
|
+
onEditorPreparing?: (e: import("devextreme/ui/tree_list").EditorPreparingEvent<any, any>) => void;
|
|
111
|
+
onFocusedCellChanged?: (e: import("devextreme/ui/tree_list").FocusedCellChangedEvent<any, any>) => void;
|
|
112
|
+
onFocusedCellChanging?: (e: import("devextreme/ui/tree_list").FocusedCellChangingEvent<any, any>) => void;
|
|
113
|
+
onFocusedRowChanged?: (e: import("devextreme/ui/tree_list").FocusedRowChangedEvent<any, any>) => void;
|
|
114
|
+
onFocusedRowChanging?: (e: import("devextreme/ui/tree_list").FocusedRowChangingEvent<any, any>) => void;
|
|
115
|
+
onNodesInitialized?: (e: import("devextreme/ui/tree_list").NodesInitializedEvent<any, any>) => void;
|
|
116
|
+
onRowClick?: (e: import("devextreme/ui/tree_list").RowClickEvent<any, any>) => void;
|
|
117
|
+
onRowDblClick?: (e: import("devextreme/ui/tree_list").RowDblClickEvent<any, any>) => void;
|
|
118
|
+
onRowPrepared?: (e: import("devextreme/ui/tree_list").RowPreparedEvent<any, any>) => void;
|
|
119
|
+
paging?: import("devextreme/ui/tree_list").Paging;
|
|
120
|
+
parentIdExpr?: string | Function;
|
|
121
|
+
remoteOperations?: "auto" | {
|
|
122
|
+
filtering?: boolean;
|
|
123
|
+
grouping?: boolean;
|
|
124
|
+
sorting?: boolean;
|
|
125
|
+
};
|
|
126
|
+
rootValue?: any;
|
|
127
|
+
scrolling?: import("devextreme/ui/tree_list").Scrolling;
|
|
128
|
+
selection?: import("devextreme/ui/tree_list").Selection;
|
|
129
|
+
toolbar?: import("devextreme/ui/tree_list").Toolbar;
|
|
130
|
+
} & import("devextreme-react/core/component-base").IHtmlOptions & {
|
|
131
|
+
dataSource?: import("devextreme/data/data_source").DataSourceLike<any, any>;
|
|
132
|
+
defaultColumns?: (string | import("devextreme/ui/tree_list").dxTreeListColumn<any, any>)[];
|
|
133
|
+
defaultEditing?: Record<string, any>;
|
|
134
|
+
defaultExpandedRowKeys?: any[];
|
|
135
|
+
defaultFilterPanel?: Record<string, any>;
|
|
136
|
+
defaultFilterValue?: string | any[] | (() => any);
|
|
137
|
+
defaultFocusedColumnIndex?: number;
|
|
138
|
+
defaultFocusedRowIndex?: number;
|
|
139
|
+
defaultFocusedRowKey?: any;
|
|
140
|
+
defaultPaging?: Record<string, any>;
|
|
141
|
+
defaultSearchPanel?: Record<string, any>;
|
|
142
|
+
defaultSelectedRowKeys?: any[];
|
|
143
|
+
onColumnsChange?: (value: (string | import("devextreme/ui/tree_list").dxTreeListColumn<any, any>)[]) => void;
|
|
144
|
+
onEditingChange?: (value: Record<string, any>) => void;
|
|
145
|
+
onExpandedRowKeysChange?: (value: any[]) => void;
|
|
146
|
+
onFilterPanelChange?: (value: Record<string, any>) => void;
|
|
147
|
+
onFilterValueChange?: (value: string | any[] | (() => any)) => void;
|
|
148
|
+
onFocusedColumnIndexChange?: (value: number) => void;
|
|
149
|
+
onFocusedRowIndexChange?: (value: number) => void;
|
|
150
|
+
onFocusedRowKeyChange?: (value: any) => void;
|
|
151
|
+
onPagingChange?: (value: Record<string, any>) => void;
|
|
152
|
+
onSearchPanelChange?: (value: Record<string, any>) => void;
|
|
153
|
+
onSelectedRowKeysChange?: (value: any[]) => void;
|
|
154
|
+
}>) => import("react").JSX.Element;
|
|
155
|
+
tags: string[];
|
|
156
|
+
argTypes: {};
|
|
157
|
+
parameters: {
|
|
158
|
+
controls: {
|
|
159
|
+
sort: string;
|
|
160
|
+
exclude: string[];
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
export default _default;
|
|
165
|
+
export declare const BasicTreeList: any;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { TableProps } from "antd/es/table/InternalTable";
|
|
2
|
+
export interface DataType {
|
|
3
|
+
Task_Subject: string;
|
|
4
|
+
Task_Start_Date: string;
|
|
5
|
+
Task_Due_Date: number;
|
|
6
|
+
Task_Status: string;
|
|
7
|
+
Task_Priority: number;
|
|
8
|
+
Task_Completion: number;
|
|
9
|
+
Task_Parent_ID: number;
|
|
10
|
+
}
|
|
11
|
+
export declare const columns: TableProps<DataType>["columns"];
|
|
12
|
+
export declare const priorities: {
|
|
13
|
+
id: number;
|
|
14
|
+
value: string;
|
|
15
|
+
}[];
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface Employee {
|
|
2
|
+
ID: number;
|
|
3
|
+
Name: string;
|
|
4
|
+
Picture?: string;
|
|
5
|
+
}
|
|
6
|
+
interface Task {
|
|
7
|
+
Task_ID: number;
|
|
8
|
+
Task_Assigned_Employee_ID: number;
|
|
9
|
+
Task_Subject: string;
|
|
10
|
+
Task_Start_Date: string;
|
|
11
|
+
Task_Due_Date: string;
|
|
12
|
+
Task_Status: string;
|
|
13
|
+
Task_Priority: number;
|
|
14
|
+
Task_Completion: number;
|
|
15
|
+
Task_Parent_ID: number;
|
|
16
|
+
Task_Assigned_Employee?: Employee;
|
|
17
|
+
}
|
|
18
|
+
export declare const tasks: Task[];
|
|
19
|
+
export declare const employees: Employee[];
|
|
20
|
+
export declare const priorities: {
|
|
21
|
+
id: number;
|
|
22
|
+
value: string;
|
|
23
|
+
}[];
|
|
24
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BasicTreeListTemplate: any;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ods-component-lib",
|
|
3
|
-
"version": "1.18.
|
|
3
|
+
"version": "1.18.43",
|
|
4
4
|
"description": "Odeon design system component lib",
|
|
5
5
|
"author": "OdeonTechnology",
|
|
6
6
|
"license": "MIT",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"test:watch": "react-scripts test --env=jsdom",
|
|
23
23
|
"predeploy": "cd example && npm install && npm run build",
|
|
24
24
|
"deploy": "gh-pages -d example/build",
|
|
25
|
-
"storybook": "storybook dev -p
|
|
25
|
+
"storybook": "storybook dev -p 3010",
|
|
26
26
|
"build-storybook": "storybook build",
|
|
27
27
|
"build-storybook-docs": "storybook build --docs"
|
|
28
28
|
},
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { IColumnProps, IGanttOptions } from "devextreme-react/gantt";
|
|
3
|
-
export interface IMenuLinkItem {
|
|
4
|
-
text: string;
|
|
5
|
-
url: string;
|
|
6
|
-
queryParamNames?: string[];
|
|
7
|
-
}
|
|
8
|
-
export interface IOdsGanttProps extends React.PropsWithChildren<IGanttOptions> {
|
|
9
|
-
menuLinkItems?: IMenuLinkItem[];
|
|
10
|
-
customColumns?: IOdsGanttColumnProps[];
|
|
11
|
-
}
|
|
12
|
-
export interface IOdsGanttColumnProps extends IColumnProps {
|
|
13
|
-
isMinimized?: boolean;
|
|
14
|
-
isStatusField?: boolean;
|
|
15
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
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"];
|
|
@@ -1,39 +0,0 @@
|
|
|
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
|
-
}[];
|
|
@@ -1,146 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
1
|
-
export declare const BasicTableTemplate: any;
|
|
@@ -1,6 +0,0 @@
|
|
|
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"];
|
|
@@ -1,39 +0,0 @@
|
|
|
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
|
-
}[];
|