@progress/kendo-react-gantt 6.1.1 → 7.0.0-develop.10
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/npm/Gantt.d.ts → Gantt.d.ts} +4 -0
- package/LICENSE.md +1 -1
- package/{dist/es/cells → cells}/FilterCells/GanttBooleanFilter.d.ts +4 -0
- package/{dist/npm/cells → cells}/FilterCells/GanttDateFilter.d.ts +4 -0
- package/{dist/es/cells → cells}/FilterCells/GanttNumericFilter.d.ts +4 -0
- package/{dist/npm/cells → cells}/FilterCells/GanttTextFilter.d.ts +4 -0
- package/{dist/npm/cells → cells}/FilterCells/utils.d.ts +4 -0
- package/{dist/npm/components → components}/BaseView.d.ts +4 -0
- package/components/GanttDependency.d.ts +13 -0
- package/{dist/npm/components → components}/GanttTask.d.ts +4 -0
- package/{dist/npm/components → components}/GanttTreelist.d.ts +6 -2
- package/{dist/npm/components → components}/toolbar/AddButton.d.ts +4 -0
- package/{dist/npm/components → components}/toolbar/Toolbar.d.ts +4 -0
- package/{dist/es/components → components}/toolbar/view-selector/ViewSelector.d.ts +4 -0
- package/components/toolbar/view-selector/ViewSelectorItem.d.ts +15 -0
- package/components/toolbar/view-selector/ViewSelectorList.d.ts +7 -0
- package/{dist/npm/constants → constants}/index.d.ts +4 -0
- package/{dist/es/context → context}/GanttContext.d.ts +17 -13
- package/{dist/npm/context → context}/GanttViewContext.d.ts +8 -4
- package/dist/cdn/js/kendo-react-gantt.js +5 -1
- package/editors/FormDateTimePicker.d.ts +8 -0
- package/editors/FormInput.d.ts +8 -0
- package/editors/FormNumericTextBox.d.ts +8 -0
- package/editors/GanttEditor.d.ts +8 -0
- package/{dist/npm/editors → editors}/GanttForm.d.ts +4 -0
- package/{dist/es/editors → editors}/GanttRemoveDialog.d.ts +4 -0
- package/hooks/useControlledState.d.ts +8 -0
- package/{dist/es/hooks → hooks}/useDictionaryStore.d.ts +5 -1
- package/hooks/useGanttTask.d.ts +8 -0
- package/index.d.ts +30 -0
- package/index.js +5 -0
- package/index.mjs +2582 -0
- package/interfaces/AddDirection.d.ts +10 -0
- package/interfaces/DataItem.d.ts +10 -0
- package/interfaces/DateRange.d.ts +12 -0
- package/{dist/es/interfaces → interfaces}/DependencyModelFields.d.ts +4 -0
- package/{dist/npm/interfaces → interfaces}/GanttBaseProps.d.ts +4 -1
- package/{dist/es/interfaces → interfaces}/GanttCellProps.d.ts +4 -1
- package/{dist/npm/interfaces → interfaces}/GanttColumnProps.d.ts +4 -0
- package/{dist/npm/interfaces → interfaces}/GanttDependencyModelFields.d.ts +4 -0
- package/interfaces/GanttFilterCellProps.d.ts +10 -0
- package/interfaces/GanttFilterOperator.d.ts +10 -0
- package/interfaces/GanttHeaderCellProps.d.ts +10 -0
- package/interfaces/GanttNoRecordsProps.d.ts +13 -0
- package/{dist/npm/interfaces → interfaces}/GanttProps.d.ts +4 -1
- package/{dist/es/interfaces → interfaces}/GanttRowProps.d.ts +4 -1
- package/{dist/es/interfaces → interfaces}/GanttSelectableSettings.d.ts +5 -1
- package/interfaces/GanttSlotType.d.ts +8 -0
- package/interfaces/GanttSortSettings.d.ts +17 -0
- package/{dist/es/interfaces → interfaces}/GanttTaskModelFields.d.ts +4 -0
- package/{dist/npm/interfaces → interfaces}/GanttView.d.ts +6 -3
- package/{dist/es/interfaces → interfaces}/GanttViewTimelineHeaderCellProps.d.ts +4 -0
- package/interfaces/Rectangle.d.ts +10 -0
- package/interfaces/Slot.d.ts +16 -0
- package/interfaces/TaskModelFields.d.ts +19 -0
- package/{dist/npm/interfaces → interfaces}/events.d.ts +4 -0
- package/{dist/es/messages → messages}/index.d.ts +4 -0
- package/package-metadata.d.ts +9 -0
- package/package.json +40 -57
- package/rows/GanttRow.d.ts +8 -0
- package/{dist/es/utils → utils}/data-operations.d.ts +4 -0
- package/{dist/es/utils → utils}/index.d.ts +11 -7
- package/{dist/npm/views → views}/GanttDayView.d.ts +4 -0
- package/{dist/npm/views → views}/GanttMonthView.d.ts +4 -0
- package/{dist/es/views → views}/GanttWeekView.d.ts +4 -0
- package/{dist/npm/views → views}/GanttYearView.d.ts +4 -0
- package/about.md +0 -3
- package/dist/es/Gantt.d.ts +0 -25
- package/dist/es/Gantt.js +0 -332
- package/dist/es/GanttNoRecords.d.ts +0 -12
- package/dist/es/GanttNoRecords.js +0 -37
- package/dist/es/cells/FilterCells/GanttBooleanFilter.js +0 -31
- package/dist/es/cells/FilterCells/GanttDateFilter.d.ts +0 -10
- package/dist/es/cells/FilterCells/GanttDateFilter.js +0 -31
- package/dist/es/cells/FilterCells/GanttNumericFilter.js +0 -31
- package/dist/es/cells/FilterCells/GanttTextFilter.d.ts +0 -10
- package/dist/es/cells/FilterCells/GanttTextFilter.js +0 -31
- package/dist/es/cells/FilterCells/utils.d.ts +0 -38
- package/dist/es/cells/FilterCells/utils.js +0 -66
- package/dist/es/components/BaseView.d.ts +0 -20
- package/dist/es/components/BaseView.js +0 -253
- package/dist/es/components/GanttDependency.d.ts +0 -10
- package/dist/es/components/GanttDependency.js +0 -56
- package/dist/es/components/GanttTask.d.ts +0 -12
- package/dist/es/components/GanttTask.js +0 -164
- package/dist/es/components/GanttTreelist.d.ts +0 -138
- package/dist/es/components/GanttTreelist.js +0 -607
- package/dist/es/components/toolbar/AddButton.d.ts +0 -12
- package/dist/es/components/toolbar/AddButton.js +0 -47
- package/dist/es/components/toolbar/Toolbar.d.ts +0 -21
- package/dist/es/components/toolbar/Toolbar.js +0 -41
- package/dist/es/components/toolbar/view-selector/ViewSelector.js +0 -38
- package/dist/es/components/toolbar/view-selector/ViewSelectorItem.d.ts +0 -12
- package/dist/es/components/toolbar/view-selector/ViewSelectorItem.js +0 -17
- package/dist/es/components/toolbar/view-selector/ViewSelectorList.d.ts +0 -3
- package/dist/es/components/toolbar/view-selector/ViewSelectorList.js +0 -42
- package/dist/es/constants/index.d.ts +0 -53
- package/dist/es/constants/index.js +0 -63
- package/dist/es/context/GanttContext.js +0 -105
- package/dist/es/context/GanttViewContext.d.ts +0 -40
- package/dist/es/context/GanttViewContext.js +0 -31
- package/dist/es/editors/FormAssingmentsEditor.d.ts +0 -5
- package/dist/es/editors/FormAssingmentsEditor.js +0 -20
- package/dist/es/editors/FormDateTimePicker.d.ts +0 -5
- package/dist/es/editors/FormDateTimePicker.js +0 -45
- package/dist/es/editors/FormInput.d.ts +0 -5
- package/dist/es/editors/FormInput.js +0 -44
- package/dist/es/editors/FormNumericTextBox.d.ts +0 -5
- package/dist/es/editors/FormNumericTextBox.js +0 -44
- package/dist/es/editors/GanttEditor.d.ts +0 -5
- package/dist/es/editors/GanttEditor.js +0 -39
- package/dist/es/editors/GanttForm.d.ts +0 -44
- package/dist/es/editors/GanttForm.js +0 -72
- package/dist/es/editors/GanttRemoveDialog.js +0 -61
- package/dist/es/hooks/useControlledState.d.ts +0 -4
- package/dist/es/hooks/useControlledState.js +0 -23
- package/dist/es/hooks/useDictionaryStore.js +0 -24
- package/dist/es/hooks/useGanttTask.d.ts +0 -4
- package/dist/es/hooks/useGanttTask.js +0 -27
- package/dist/es/interfaces/AddDirection.d.ts +0 -6
- package/dist/es/interfaces/AddDirection.js +0 -1
- package/dist/es/interfaces/DataAction.d.ts +0 -25
- package/dist/es/interfaces/DataAction.js +0 -9
- package/dist/es/interfaces/DataItem.d.ts +0 -6
- package/dist/es/interfaces/DataItem.js +0 -1
- package/dist/es/interfaces/DateRange.d.ts +0 -8
- package/dist/es/interfaces/DateRange.js +0 -1
- package/dist/es/interfaces/DependencyModelFields.js +0 -1
- package/dist/es/interfaces/DragEvent.d.ts +0 -14
- package/dist/es/interfaces/DragEvent.js +0 -1
- package/dist/es/interfaces/GanttBaseProps.d.ts +0 -63
- package/dist/es/interfaces/GanttBaseProps.js +0 -1
- package/dist/es/interfaces/GanttCellProps.js +0 -1
- package/dist/es/interfaces/GanttColumnProps.d.ts +0 -36
- package/dist/es/interfaces/GanttColumnProps.js +0 -1
- package/dist/es/interfaces/GanttDependencyModelFields.d.ts +0 -25
- package/dist/es/interfaces/GanttDependencyModelFields.js +0 -1
- package/dist/es/interfaces/GanttFilterCellProps.d.ts +0 -6
- package/dist/es/interfaces/GanttFilterCellProps.js +0 -1
- package/dist/es/interfaces/GanttFilterOperator.d.ts +0 -6
- package/dist/es/interfaces/GanttFilterOperator.js +0 -1
- package/dist/es/interfaces/GanttHeaderCellProps.d.ts +0 -6
- package/dist/es/interfaces/GanttHeaderCellProps.js +0 -1
- package/dist/es/interfaces/GanttNoRecordsProps.d.ts +0 -10
- package/dist/es/interfaces/GanttNoRecordsProps.js +0 -1
- package/dist/es/interfaces/GanttProps.d.ts +0 -147
- package/dist/es/interfaces/GanttProps.js +0 -1
- package/dist/es/interfaces/GanttRowProps.js +0 -1
- package/dist/es/interfaces/GanttSelectableSettings.js +0 -2
- package/dist/es/interfaces/GanttSlotType.d.ts +0 -4
- package/dist/es/interfaces/GanttSlotType.js +0 -1
- package/dist/es/interfaces/GanttSortSettings.d.ts +0 -13
- package/dist/es/interfaces/GanttSortSettings.js +0 -19
- package/dist/es/interfaces/GanttTaskModelFields.js +0 -1
- package/dist/es/interfaces/GanttView.d.ts +0 -77
- package/dist/es/interfaces/GanttView.js +0 -1
- package/dist/es/interfaces/GanttViewTimelineHeaderCellProps.js +0 -1
- package/dist/es/interfaces/Rectangle.d.ts +0 -6
- package/dist/es/interfaces/Rectangle.js +0 -1
- package/dist/es/interfaces/Slot.d.ts +0 -12
- package/dist/es/interfaces/Slot.js +0 -1
- package/dist/es/interfaces/TaskModelFields.d.ts +0 -15
- package/dist/es/interfaces/TaskModelFields.js +0 -1
- package/dist/es/interfaces/events.d.ts +0 -294
- package/dist/es/interfaces/events.js +0 -84
- package/dist/es/main.d.ts +0 -26
- package/dist/es/main.js +0 -17
- package/dist/es/messages/index.js +0 -138
- package/dist/es/package-metadata.d.ts +0 -5
- package/dist/es/package-metadata.js +0 -11
- package/dist/es/rows/GanttRow.d.ts +0 -5
- package/dist/es/rows/GanttRow.js +0 -5
- package/dist/es/utils/data-operations.js +0 -319
- package/dist/es/utils/index.js +0 -455
- package/dist/es/views/GanttDayView.d.ts +0 -17
- package/dist/es/views/GanttDayView.js +0 -102
- package/dist/es/views/GanttMonthView.d.ts +0 -13
- package/dist/es/views/GanttMonthView.js +0 -78
- package/dist/es/views/GanttWeekView.js +0 -84
- package/dist/es/views/GanttYearView.d.ts +0 -13
- package/dist/es/views/GanttYearView.js +0 -70
- package/dist/npm/Gantt.js +0 -335
- package/dist/npm/GanttNoRecords.d.ts +0 -12
- package/dist/npm/GanttNoRecords.js +0 -40
- package/dist/npm/cells/FilterCells/GanttBooleanFilter.d.ts +0 -10
- package/dist/npm/cells/FilterCells/GanttBooleanFilter.js +0 -35
- package/dist/npm/cells/FilterCells/GanttDateFilter.js +0 -35
- package/dist/npm/cells/FilterCells/GanttNumericFilter.d.ts +0 -10
- package/dist/npm/cells/FilterCells/GanttNumericFilter.js +0 -35
- package/dist/npm/cells/FilterCells/GanttTextFilter.js +0 -35
- package/dist/npm/cells/FilterCells/utils.js +0 -70
- package/dist/npm/components/BaseView.js +0 -256
- package/dist/npm/components/GanttDependency.d.ts +0 -10
- package/dist/npm/components/GanttDependency.js +0 -60
- package/dist/npm/components/GanttTask.js +0 -167
- package/dist/npm/components/GanttTreelist.js +0 -610
- package/dist/npm/components/toolbar/AddButton.js +0 -50
- package/dist/npm/components/toolbar/Toolbar.js +0 -44
- package/dist/npm/components/toolbar/view-selector/ViewSelector.d.ts +0 -24
- package/dist/npm/components/toolbar/view-selector/ViewSelector.js +0 -41
- package/dist/npm/components/toolbar/view-selector/ViewSelectorItem.d.ts +0 -12
- package/dist/npm/components/toolbar/view-selector/ViewSelectorItem.js +0 -21
- package/dist/npm/components/toolbar/view-selector/ViewSelectorList.d.ts +0 -3
- package/dist/npm/components/toolbar/view-selector/ViewSelectorList.js +0 -45
- package/dist/npm/constants/index.js +0 -67
- package/dist/npm/context/GanttContext.d.ts +0 -121
- package/dist/npm/context/GanttContext.js +0 -121
- package/dist/npm/context/GanttViewContext.js +0 -38
- package/dist/npm/editors/FormAssingmentsEditor.d.ts +0 -5
- package/dist/npm/editors/FormAssingmentsEditor.js +0 -24
- package/dist/npm/editors/FormDateTimePicker.d.ts +0 -5
- package/dist/npm/editors/FormDateTimePicker.js +0 -49
- package/dist/npm/editors/FormInput.d.ts +0 -5
- package/dist/npm/editors/FormInput.js +0 -48
- package/dist/npm/editors/FormNumericTextBox.d.ts +0 -5
- package/dist/npm/editors/FormNumericTextBox.js +0 -48
- package/dist/npm/editors/GanttEditor.d.ts +0 -5
- package/dist/npm/editors/GanttEditor.js +0 -43
- package/dist/npm/editors/GanttForm.js +0 -76
- package/dist/npm/editors/GanttRemoveDialog.d.ts +0 -44
- package/dist/npm/editors/GanttRemoveDialog.js +0 -65
- package/dist/npm/hooks/useControlledState.d.ts +0 -4
- package/dist/npm/hooks/useControlledState.js +0 -27
- package/dist/npm/hooks/useDictionaryStore.d.ts +0 -18
- package/dist/npm/hooks/useDictionaryStore.js +0 -28
- package/dist/npm/hooks/useGanttTask.d.ts +0 -4
- package/dist/npm/hooks/useGanttTask.js +0 -31
- package/dist/npm/interfaces/AddDirection.d.ts +0 -6
- package/dist/npm/interfaces/AddDirection.js +0 -2
- package/dist/npm/interfaces/DataAction.d.ts +0 -25
- package/dist/npm/interfaces/DataAction.js +0 -12
- package/dist/npm/interfaces/DataItem.d.ts +0 -6
- package/dist/npm/interfaces/DataItem.js +0 -2
- package/dist/npm/interfaces/DateRange.d.ts +0 -8
- package/dist/npm/interfaces/DateRange.js +0 -2
- package/dist/npm/interfaces/DependencyModelFields.d.ts +0 -25
- package/dist/npm/interfaces/DependencyModelFields.js +0 -2
- package/dist/npm/interfaces/DragEvent.d.ts +0 -14
- package/dist/npm/interfaces/DragEvent.js +0 -2
- package/dist/npm/interfaces/GanttBaseProps.js +0 -2
- package/dist/npm/interfaces/GanttCellProps.d.ts +0 -42
- package/dist/npm/interfaces/GanttCellProps.js +0 -2
- package/dist/npm/interfaces/GanttColumnProps.js +0 -2
- package/dist/npm/interfaces/GanttDependencyModelFields.js +0 -2
- package/dist/npm/interfaces/GanttFilterCellProps.d.ts +0 -6
- package/dist/npm/interfaces/GanttFilterCellProps.js +0 -2
- package/dist/npm/interfaces/GanttFilterOperator.d.ts +0 -6
- package/dist/npm/interfaces/GanttFilterOperator.js +0 -2
- package/dist/npm/interfaces/GanttHeaderCellProps.d.ts +0 -6
- package/dist/npm/interfaces/GanttHeaderCellProps.js +0 -2
- package/dist/npm/interfaces/GanttNoRecordsProps.d.ts +0 -10
- package/dist/npm/interfaces/GanttNoRecordsProps.js +0 -2
- package/dist/npm/interfaces/GanttProps.js +0 -2
- package/dist/npm/interfaces/GanttRowProps.d.ts +0 -92
- package/dist/npm/interfaces/GanttRowProps.js +0 -2
- package/dist/npm/interfaces/GanttSelectableSettings.d.ts +0 -18
- package/dist/npm/interfaces/GanttSelectableSettings.js +0 -3
- package/dist/npm/interfaces/GanttSlotType.d.ts +0 -4
- package/dist/npm/interfaces/GanttSlotType.js +0 -2
- package/dist/npm/interfaces/GanttSortSettings.d.ts +0 -13
- package/dist/npm/interfaces/GanttSortSettings.js +0 -23
- package/dist/npm/interfaces/GanttTaskModelFields.d.ts +0 -55
- package/dist/npm/interfaces/GanttTaskModelFields.js +0 -2
- package/dist/npm/interfaces/GanttView.js +0 -2
- package/dist/npm/interfaces/GanttViewTimelineHeaderCellProps.d.ts +0 -19
- package/dist/npm/interfaces/GanttViewTimelineHeaderCellProps.js +0 -2
- package/dist/npm/interfaces/Rectangle.d.ts +0 -6
- package/dist/npm/interfaces/Rectangle.js +0 -2
- package/dist/npm/interfaces/Slot.d.ts +0 -12
- package/dist/npm/interfaces/Slot.js +0 -2
- package/dist/npm/interfaces/TaskModelFields.d.ts +0 -15
- package/dist/npm/interfaces/TaskModelFields.js +0 -2
- package/dist/npm/interfaces/events.js +0 -85
- package/dist/npm/main.d.ts +0 -26
- package/dist/npm/main.js +0 -46
- package/dist/npm/messages/index.d.ts +0 -137
- package/dist/npm/messages/index.js +0 -141
- package/dist/npm/package-metadata.d.ts +0 -5
- package/dist/npm/package-metadata.js +0 -14
- package/dist/npm/rows/GanttRow.d.ts +0 -5
- package/dist/npm/rows/GanttRow.js +0 -8
- package/dist/npm/utils/data-operations.d.ts +0 -43
- package/dist/npm/utils/data-operations.js +0 -326
- package/dist/npm/utils/index.d.ts +0 -178
- package/dist/npm/utils/index.js +0 -485
- package/dist/npm/views/GanttDayView.js +0 -105
- package/dist/npm/views/GanttMonthView.js +0 -81
- package/dist/npm/views/GanttWeekView.d.ts +0 -13
- package/dist/npm/views/GanttWeekView.js +0 -87
- package/dist/npm/views/GanttYearView.js +0 -73
- package/dist/systemjs/kendo-react-gantt.js +0 -1
- package/e2e-next/gantt.basic.tests.ts +0 -24
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
/**
|
|
3
|
-
* The props of the GanttNoRecords component.
|
|
4
|
-
*/
|
|
5
|
-
export interface GanttNoRecordsProps {
|
|
6
|
-
/**
|
|
7
|
-
* The React elements which will be rendered inside the Gantt when no records are available.
|
|
8
|
-
*/
|
|
9
|
-
children?: React.ReactNode;
|
|
10
|
-
}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
/**
|
|
3
|
-
* The props that the Gantt passes to the GanttRow component when creating it.
|
|
4
|
-
*/
|
|
5
|
-
export interface GanttRowProps {
|
|
6
|
-
/**
|
|
7
|
-
* The `data` object that represents the current row.
|
|
8
|
-
*/
|
|
9
|
-
dataItem: any;
|
|
10
|
-
/**
|
|
11
|
-
* The event that is fired when the row is clicked.
|
|
12
|
-
*/
|
|
13
|
-
onClick?: any;
|
|
14
|
-
/**
|
|
15
|
-
* The event that is fired when the row is double clicked.
|
|
16
|
-
*/
|
|
17
|
-
onDoubleClick?: any;
|
|
18
|
-
/**
|
|
19
|
-
* The event that is fired when the row context menu is triggered.
|
|
20
|
-
*/
|
|
21
|
-
onContextMenu?: any;
|
|
22
|
-
/**
|
|
23
|
-
* The name of the field which will provide a Boolean representation of the selected state of the item.
|
|
24
|
-
*/
|
|
25
|
-
selectedField?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Sets the height of the row.
|
|
28
|
-
*/
|
|
29
|
-
rowHeight?: number;
|
|
30
|
-
/**
|
|
31
|
-
* A function for overriding the default rendering of the row.
|
|
32
|
-
*/
|
|
33
|
-
render?: (row: React.ReactElement<HTMLTableRowElement>, props: GanttRowProps) => React.ReactNode;
|
|
34
|
-
/**
|
|
35
|
-
* An array of indexes of each parent and current item in the data tree.
|
|
36
|
-
*/
|
|
37
|
-
level: number[];
|
|
38
|
-
/**
|
|
39
|
-
* Fires when a row is dragged.
|
|
40
|
-
*/
|
|
41
|
-
onDrag?: (event: {
|
|
42
|
-
nativeEvent: any;
|
|
43
|
-
dragged: number[];
|
|
44
|
-
draggedOver: number[] | null;
|
|
45
|
-
draggedItem: any;
|
|
46
|
-
}) => void;
|
|
47
|
-
/**
|
|
48
|
-
* Fires when a row is dragged and dropped.
|
|
49
|
-
*/
|
|
50
|
-
onDrop?: (event: {
|
|
51
|
-
nativeEvent: any;
|
|
52
|
-
dragged: number[];
|
|
53
|
-
draggedOver: number[] | null;
|
|
54
|
-
draggedItem: any;
|
|
55
|
-
}) => void;
|
|
56
|
-
/**
|
|
57
|
-
* The expanded state of the row. Useful for applying `aria-expanded` accessibility attribute.
|
|
58
|
-
*/
|
|
59
|
-
expanded: boolean;
|
|
60
|
-
/**
|
|
61
|
-
* The index of the row. Useful for applying `aria-rowindex` accessibility attribute.
|
|
62
|
-
*/
|
|
63
|
-
rowIndex: number;
|
|
64
|
-
/**
|
|
65
|
-
* @hidden
|
|
66
|
-
*/
|
|
67
|
-
children: React.ReactNode;
|
|
68
|
-
/**
|
|
69
|
-
* @hidden
|
|
70
|
-
*/
|
|
71
|
-
levels: number[][];
|
|
72
|
-
/**
|
|
73
|
-
* @hidden
|
|
74
|
-
*/
|
|
75
|
-
isAltRow?: boolean;
|
|
76
|
-
/**
|
|
77
|
-
* The index to be applied to the `aria-rowindex` attribute.
|
|
78
|
-
*/
|
|
79
|
-
ariaRowIndex?: number;
|
|
80
|
-
/**
|
|
81
|
-
* The count of items on current level, applied to the `aria-setsize` attribute.
|
|
82
|
-
*/
|
|
83
|
-
ariaSetSize?: number;
|
|
84
|
-
/**
|
|
85
|
-
* The index of the item on current level, applied to the `aria-posinset` attribute.
|
|
86
|
-
*/
|
|
87
|
-
ariaPosInSet?: number;
|
|
88
|
-
/**
|
|
89
|
-
* Indicates if the row is selected.
|
|
90
|
-
*/
|
|
91
|
-
isSelected: boolean;
|
|
92
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { TableSelectableMode, TableSelectableSettings } from '@progress/kendo-react-data-tools';
|
|
2
|
-
/**
|
|
3
|
-
* Represents the available selection modes.
|
|
4
|
-
*/
|
|
5
|
-
export declare type GanttSelectableMode = TableSelectableMode;
|
|
6
|
-
/**
|
|
7
|
-
* Represents the Gantt selectable settings.
|
|
8
|
-
*/
|
|
9
|
-
export interface GanttSelectableSettings extends TableSelectableSettings {
|
|
10
|
-
/**
|
|
11
|
-
* The available values are:
|
|
12
|
-
* * `single`
|
|
13
|
-
* * `multiple`
|
|
14
|
-
*
|
|
15
|
-
* @default "multiple"
|
|
16
|
-
*/
|
|
17
|
-
mode?: GanttSelectableMode;
|
|
18
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ColumnSortSettings, SortSettings } from '@progress/kendo-react-data-tools';
|
|
2
|
-
/**
|
|
3
|
-
* The settings for sorting the Gantt columns.
|
|
4
|
-
*/
|
|
5
|
-
export declare type GanttColumnSortSettings = ColumnSortSettings;
|
|
6
|
-
/**
|
|
7
|
-
* The settings for sorting the Gantt data.
|
|
8
|
-
*/
|
|
9
|
-
export declare type GanttSortSettings = SortSettings;
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
export declare const normalize: (...settings: (GanttSortSettings | GanttColumnSortSettings)[]) => any;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
3
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
4
|
-
if (ar || !(i in from)) {
|
|
5
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
6
|
-
ar[i] = from[i];
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.normalize = void 0;
|
|
13
|
-
/**
|
|
14
|
-
* @hidden
|
|
15
|
-
*/
|
|
16
|
-
var normalize = function () {
|
|
17
|
-
var settings = [];
|
|
18
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
19
|
-
settings[_i] = arguments[_i];
|
|
20
|
-
}
|
|
21
|
-
return Object.assign.apply(Object, __spreadArray([{ allowUnsort: true, mode: 'single' }], settings, false));
|
|
22
|
-
};
|
|
23
|
-
exports.normalize = normalize;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Defines the model fields that will be used for creating `GanttTask` instances.
|
|
3
|
-
*/
|
|
4
|
-
export interface GanttTaskModelFields {
|
|
5
|
-
/**
|
|
6
|
-
* The name of the `ID` model field.
|
|
7
|
-
* Defaults to `"id"`.
|
|
8
|
-
*/
|
|
9
|
-
id?: string;
|
|
10
|
-
/**
|
|
11
|
-
* The name of the start date model field.
|
|
12
|
-
* Defaults to `"start"`.
|
|
13
|
-
*/
|
|
14
|
-
start?: string;
|
|
15
|
-
/**
|
|
16
|
-
* The name of the end date model field.
|
|
17
|
-
* Defaults to `"end"`.
|
|
18
|
-
*/
|
|
19
|
-
end?: string;
|
|
20
|
-
/**
|
|
21
|
-
* The name of the title model field.
|
|
22
|
-
* Defaults to `"title"`.
|
|
23
|
-
*/
|
|
24
|
-
title?: string;
|
|
25
|
-
/**
|
|
26
|
-
* The name of the percent complete model field.
|
|
27
|
-
* Defaults to `"percentComplete"`.
|
|
28
|
-
*/
|
|
29
|
-
percentComplete?: string;
|
|
30
|
-
/**
|
|
31
|
-
* The name of the is rollup model field.
|
|
32
|
-
* Defaults to `"isRollup"`.
|
|
33
|
-
*/
|
|
34
|
-
isRollup?: string;
|
|
35
|
-
/**
|
|
36
|
-
* The name of the is expanded model field. It will provide a Boolean representation of the expanded state of the item.
|
|
37
|
-
* Defaults to `"isExpanded"`.
|
|
38
|
-
*/
|
|
39
|
-
isExpanded?: string;
|
|
40
|
-
/**
|
|
41
|
-
* The name of the children model field. It will provide an array representation of the item subitems.
|
|
42
|
-
* Defaults to `"children"`.
|
|
43
|
-
*/
|
|
44
|
-
children?: string;
|
|
45
|
-
/**
|
|
46
|
-
* The name of the is in edit model field. It will provide a Boolean representation of the edit state of the current item.
|
|
47
|
-
* Defaults to `"isInEdit"`.
|
|
48
|
-
*/
|
|
49
|
-
isInEdit?: string;
|
|
50
|
-
/**
|
|
51
|
-
* Then name of selected model field. It will provide a Boolean representation of the selected state of the current item.
|
|
52
|
-
* Defaults to `"isSelected"`.
|
|
53
|
-
*/
|
|
54
|
-
isSelected?: string;
|
|
55
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { DateRange } from './DateRange';
|
|
2
|
-
import { GanttSlotType } from './GanttSlotType';
|
|
3
|
-
/**
|
|
4
|
-
* The props of the Gantt view timeline header cell component.
|
|
5
|
-
*/
|
|
6
|
-
export interface GanttViewTimelineHeaderCellProps {
|
|
7
|
-
/** The date range of the cell. */
|
|
8
|
-
range: DateRange;
|
|
9
|
-
/** Is the cell is in work time. */
|
|
10
|
-
isWork: boolean;
|
|
11
|
-
/** The default cell text value. */
|
|
12
|
-
text: string;
|
|
13
|
-
/** The type of the cell slot. */
|
|
14
|
-
type: GanttSlotType;
|
|
15
|
-
/** The header cell row index. */
|
|
16
|
-
rowIndex: number;
|
|
17
|
-
/** The header cell index. */
|
|
18
|
-
index: number;
|
|
19
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Represents the combined object of the default and custom GanttTaskModelFields.
|
|
3
|
-
*/
|
|
4
|
-
export interface TaskModelFields {
|
|
5
|
-
id: string;
|
|
6
|
-
start: string;
|
|
7
|
-
end: string;
|
|
8
|
-
title: string;
|
|
9
|
-
percentComplete: string;
|
|
10
|
-
isRollup: string;
|
|
11
|
-
isExpanded: string;
|
|
12
|
-
children: string;
|
|
13
|
-
isInEdit: string;
|
|
14
|
-
isSelected: string;
|
|
15
|
-
}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
// /**
|
|
4
|
-
// * Represents the object of the `onPageChange` Gantt event.
|
|
5
|
-
// */
|
|
6
|
-
// export interface GanttPageChangeEvent extends GanttEvent {
|
|
7
|
-
// /**
|
|
8
|
-
// * The number of records that will be skipped.
|
|
9
|
-
// */
|
|
10
|
-
// skip: number;
|
|
11
|
-
// /**
|
|
12
|
-
// * The number of records that will be taken.
|
|
13
|
-
// */
|
|
14
|
-
// take: number;
|
|
15
|
-
// }
|
|
16
|
-
// /**
|
|
17
|
-
// * Represents the object of the `onHeaderSelectionChange` Gantt event.
|
|
18
|
-
// */
|
|
19
|
-
// export interface GanttHeaderSelectionChangeEvent extends GanttEvent {
|
|
20
|
-
// /**
|
|
21
|
-
// * The field of the column in which the cell is located.
|
|
22
|
-
// */
|
|
23
|
-
// field?: string;
|
|
24
|
-
// }
|
|
25
|
-
// /**
|
|
26
|
-
// * Represents the object of the `onItemChange` Gantt event.
|
|
27
|
-
// */
|
|
28
|
-
// export interface GanttItemChangeEvent extends GanttEvent {
|
|
29
|
-
// /**
|
|
30
|
-
// * The data item which corresponds to the current row.
|
|
31
|
-
// */
|
|
32
|
-
// dataItem: any;
|
|
33
|
-
// /**
|
|
34
|
-
// * An array of indexes of each parent and current item in the data tree.
|
|
35
|
-
// */
|
|
36
|
-
// level: number[];
|
|
37
|
-
// /**
|
|
38
|
-
// * The field to which the row is bound.
|
|
39
|
-
// */
|
|
40
|
-
// field?: string;
|
|
41
|
-
// /**
|
|
42
|
-
// * The value of the item.
|
|
43
|
-
// */
|
|
44
|
-
// value: any;
|
|
45
|
-
// }
|
|
46
|
-
// /**
|
|
47
|
-
// * Represents the object of the `onSelectionChange` Gantt event.
|
|
48
|
-
// */
|
|
49
|
-
// export interface GanttSelectionChangeEvent extends GanttEvent {
|
|
50
|
-
// /**
|
|
51
|
-
// * The data item which corresponds to the selected or deselected row.
|
|
52
|
-
// */
|
|
53
|
-
// dataItem: any;
|
|
54
|
-
// /**
|
|
55
|
-
// * An array of indexes of each parent and current item in the data tree.
|
|
56
|
-
// */
|
|
57
|
-
// level: number[];
|
|
58
|
-
// }
|
|
59
|
-
// /**
|
|
60
|
-
// * Represents the object of the Gantt row Drag and Drop event.
|
|
61
|
-
// */
|
|
62
|
-
// export interface GanttRowDragEvent {
|
|
63
|
-
// /**
|
|
64
|
-
// * A native DOM event.
|
|
65
|
-
// */
|
|
66
|
-
// nativeEvent: any;
|
|
67
|
-
// /**
|
|
68
|
-
// * An event target.
|
|
69
|
-
// */
|
|
70
|
-
// target: GanttHandle;
|
|
71
|
-
// /**
|
|
72
|
-
// * The level of the dragged row.
|
|
73
|
-
// * The level represents an array of indexes of each parent and current item in the data tree.
|
|
74
|
-
// */
|
|
75
|
-
// dragged: number[];
|
|
76
|
-
// /**
|
|
77
|
-
// * The level of the draggedOver row.
|
|
78
|
-
// * The level represents an array of indexes of each parent and current item in the data tree.
|
|
79
|
-
// */
|
|
80
|
-
// draggedOver: number[] | null;
|
|
81
|
-
// /**
|
|
82
|
-
// * The data item which corresponds to the dragged row.
|
|
83
|
-
// */
|
|
84
|
-
// draggedItem: any;
|
|
85
|
-
// }
|
package/dist/npm/main.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Gantt } from './Gantt';
|
|
2
|
-
import { GanttDayView } from './views/GanttDayView';
|
|
3
|
-
import { GanttWeekView } from './views/GanttWeekView';
|
|
4
|
-
import { GanttMonthView } from './views/GanttMonthView';
|
|
5
|
-
import { GanttYearView } from './views/GanttYearView';
|
|
6
|
-
import { GanttViewChangeEvent, GanttDataStateChangeEvent, GanttSortChangeEvent, GanttFilterChangeEvent, GanttColumnMenuFilterChangeEvent, GanttExpandChangeEvent, GanttRowClickEvent, GanttColumnResizeEvent, GanttColumnReorderEvent, GanttRowContextMenuEvent, GanttRowDoubleClickEvent, GanttTaskClickEvent, GanttTaskContextMenuEvent, GanttTaskDoubleClickEvent, GanttTaskRemoveClickEvent, GanttKeyDownEvent, GanttSelectionChangeEvent, GanttHeaderSelectionChangeEvent, GanttAddClickEvent, GanttDependencyCreateEvent } from './interfaces/events';
|
|
7
|
-
import { GanttTextFilter, GanttTextFilterProps } from './cells/FilterCells/GanttTextFilter';
|
|
8
|
-
import { GanttNumericFilter, GanttNumericFilterProps } from './cells/FilterCells/GanttNumericFilter';
|
|
9
|
-
import { GanttBooleanFilter, GanttBooleanFilterProps } from './cells/FilterCells/GanttBooleanFilter';
|
|
10
|
-
import { GanttDateFilter, GanttDateFilterProps } from './cells/FilterCells/GanttDateFilter';
|
|
11
|
-
import { orderBy, filterBy, mapTree, extendDataItem, createDataTree } from './utils';
|
|
12
|
-
import { removeTask, addTask, updateTask, addDependency } from './utils/data-operations';
|
|
13
|
-
import { GanttViewProps } from './interfaces/GanttView';
|
|
14
|
-
import { GanttViewTimelineHeaderCellProps } from './interfaces/GanttViewTimelineHeaderCellProps';
|
|
15
|
-
import { GanttSlotType } from './interfaces/GanttSlotType';
|
|
16
|
-
import { GanttForm, GanttFormStateChangeEvent } from './editors/GanttForm';
|
|
17
|
-
import { GanttRemoveDialog, GanttRemoveDialogStateChangeEvent } from './editors/GanttRemoveDialog';
|
|
18
|
-
import { GanttRow } from './rows/GanttRow';
|
|
19
|
-
import { GanttRowProps } from './interfaces/GanttRowProps';
|
|
20
|
-
import { getSelectedState, getSelectedStateFromKeyDown, setSelectedState } from '@progress/kendo-react-data-tools';
|
|
21
|
-
import { GanttSelectableMode, GanttSelectableSettings } from './interfaces/GanttSelectableSettings';
|
|
22
|
-
import { GANTT_COL_INDEX_ATTRIBUTE, GANTT_PREVENT_SELECTION_ELEMENT, GANTT_ROW_INDEX_ATTRIBUTE } from './constants';
|
|
23
|
-
import { GanttTaskModelFields } from './interfaces/GanttTaskModelFields';
|
|
24
|
-
import { GanttDependencyModelFields } from './interfaces/GanttDependencyModelFields';
|
|
25
|
-
import { GanttColumnProps } from './interfaces/GanttColumnProps';
|
|
26
|
-
export { Gantt, GanttDayView, GanttWeekView, GanttMonthView, GanttYearView, GanttViewChangeEvent, GanttDataStateChangeEvent, GanttSortChangeEvent, GanttFilterChangeEvent, GanttColumnMenuFilterChangeEvent, GanttExpandChangeEvent, GanttColumnResizeEvent, GanttColumnReorderEvent, GanttRowClickEvent, GanttRowContextMenuEvent, GanttRowDoubleClickEvent, GanttTaskClickEvent, GanttTaskContextMenuEvent, GanttTaskDoubleClickEvent, GanttTaskRemoveClickEvent, GanttKeyDownEvent, GanttSelectionChangeEvent, GanttHeaderSelectionChangeEvent, GanttAddClickEvent, GanttDependencyCreateEvent, orderBy, filterBy, mapTree, extendDataItem, createDataTree, removeTask, addTask, updateTask, addDependency, GanttTextFilter, GanttTextFilterProps, GanttNumericFilter, GanttNumericFilterProps, GanttBooleanFilter, GanttBooleanFilterProps, GanttDateFilter, GanttDateFilterProps, GanttViewProps, GanttRow, GanttRowProps, GanttForm, GanttFormStateChangeEvent, GanttRemoveDialog, GanttRemoveDialogStateChangeEvent, GanttViewTimelineHeaderCellProps, GanttSlotType, getSelectedState, getSelectedStateFromKeyDown, setSelectedState, GanttSelectableMode, GanttSelectableSettings, GANTT_COL_INDEX_ATTRIBUTE, GANTT_ROW_INDEX_ATTRIBUTE, GANTT_PREVENT_SELECTION_ELEMENT, GanttTaskModelFields, GanttDependencyModelFields, GanttColumnProps };
|
package/dist/npm/main.js
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GANTT_PREVENT_SELECTION_ELEMENT = exports.GANTT_ROW_INDEX_ATTRIBUTE = exports.GANTT_COL_INDEX_ATTRIBUTE = exports.setSelectedState = exports.getSelectedStateFromKeyDown = exports.getSelectedState = exports.GanttRemoveDialog = exports.GanttForm = exports.GanttRow = exports.GanttDateFilter = exports.GanttBooleanFilter = exports.GanttNumericFilter = exports.GanttTextFilter = exports.addDependency = exports.updateTask = exports.addTask = exports.removeTask = exports.createDataTree = exports.extendDataItem = exports.mapTree = exports.filterBy = exports.orderBy = exports.GanttYearView = exports.GanttMonthView = exports.GanttWeekView = exports.GanttDayView = exports.Gantt = void 0;
|
|
4
|
-
var Gantt_1 = require("./Gantt");
|
|
5
|
-
Object.defineProperty(exports, "Gantt", { enumerable: true, get: function () { return Gantt_1.Gantt; } });
|
|
6
|
-
var GanttDayView_1 = require("./views/GanttDayView");
|
|
7
|
-
Object.defineProperty(exports, "GanttDayView", { enumerable: true, get: function () { return GanttDayView_1.GanttDayView; } });
|
|
8
|
-
var GanttWeekView_1 = require("./views/GanttWeekView");
|
|
9
|
-
Object.defineProperty(exports, "GanttWeekView", { enumerable: true, get: function () { return GanttWeekView_1.GanttWeekView; } });
|
|
10
|
-
var GanttMonthView_1 = require("./views/GanttMonthView");
|
|
11
|
-
Object.defineProperty(exports, "GanttMonthView", { enumerable: true, get: function () { return GanttMonthView_1.GanttMonthView; } });
|
|
12
|
-
var GanttYearView_1 = require("./views/GanttYearView");
|
|
13
|
-
Object.defineProperty(exports, "GanttYearView", { enumerable: true, get: function () { return GanttYearView_1.GanttYearView; } });
|
|
14
|
-
var GanttTextFilter_1 = require("./cells/FilterCells/GanttTextFilter");
|
|
15
|
-
Object.defineProperty(exports, "GanttTextFilter", { enumerable: true, get: function () { return GanttTextFilter_1.GanttTextFilter; } });
|
|
16
|
-
var GanttNumericFilter_1 = require("./cells/FilterCells/GanttNumericFilter");
|
|
17
|
-
Object.defineProperty(exports, "GanttNumericFilter", { enumerable: true, get: function () { return GanttNumericFilter_1.GanttNumericFilter; } });
|
|
18
|
-
var GanttBooleanFilter_1 = require("./cells/FilterCells/GanttBooleanFilter");
|
|
19
|
-
Object.defineProperty(exports, "GanttBooleanFilter", { enumerable: true, get: function () { return GanttBooleanFilter_1.GanttBooleanFilter; } });
|
|
20
|
-
var GanttDateFilter_1 = require("./cells/FilterCells/GanttDateFilter");
|
|
21
|
-
Object.defineProperty(exports, "GanttDateFilter", { enumerable: true, get: function () { return GanttDateFilter_1.GanttDateFilter; } });
|
|
22
|
-
var utils_1 = require("./utils");
|
|
23
|
-
Object.defineProperty(exports, "orderBy", { enumerable: true, get: function () { return utils_1.orderBy; } });
|
|
24
|
-
Object.defineProperty(exports, "filterBy", { enumerable: true, get: function () { return utils_1.filterBy; } });
|
|
25
|
-
Object.defineProperty(exports, "mapTree", { enumerable: true, get: function () { return utils_1.mapTree; } });
|
|
26
|
-
Object.defineProperty(exports, "extendDataItem", { enumerable: true, get: function () { return utils_1.extendDataItem; } });
|
|
27
|
-
Object.defineProperty(exports, "createDataTree", { enumerable: true, get: function () { return utils_1.createDataTree; } });
|
|
28
|
-
var data_operations_1 = require("./utils/data-operations");
|
|
29
|
-
Object.defineProperty(exports, "removeTask", { enumerable: true, get: function () { return data_operations_1.removeTask; } });
|
|
30
|
-
Object.defineProperty(exports, "addTask", { enumerable: true, get: function () { return data_operations_1.addTask; } });
|
|
31
|
-
Object.defineProperty(exports, "updateTask", { enumerable: true, get: function () { return data_operations_1.updateTask; } });
|
|
32
|
-
Object.defineProperty(exports, "addDependency", { enumerable: true, get: function () { return data_operations_1.addDependency; } });
|
|
33
|
-
var GanttForm_1 = require("./editors/GanttForm");
|
|
34
|
-
Object.defineProperty(exports, "GanttForm", { enumerable: true, get: function () { return GanttForm_1.GanttForm; } });
|
|
35
|
-
var GanttRemoveDialog_1 = require("./editors/GanttRemoveDialog");
|
|
36
|
-
Object.defineProperty(exports, "GanttRemoveDialog", { enumerable: true, get: function () { return GanttRemoveDialog_1.GanttRemoveDialog; } });
|
|
37
|
-
var GanttRow_1 = require("./rows/GanttRow");
|
|
38
|
-
Object.defineProperty(exports, "GanttRow", { enumerable: true, get: function () { return GanttRow_1.GanttRow; } });
|
|
39
|
-
var kendo_react_data_tools_1 = require("@progress/kendo-react-data-tools");
|
|
40
|
-
Object.defineProperty(exports, "getSelectedState", { enumerable: true, get: function () { return kendo_react_data_tools_1.getSelectedState; } });
|
|
41
|
-
Object.defineProperty(exports, "getSelectedStateFromKeyDown", { enumerable: true, get: function () { return kendo_react_data_tools_1.getSelectedStateFromKeyDown; } });
|
|
42
|
-
Object.defineProperty(exports, "setSelectedState", { enumerable: true, get: function () { return kendo_react_data_tools_1.setSelectedState; } });
|
|
43
|
-
var constants_1 = require("./constants");
|
|
44
|
-
Object.defineProperty(exports, "GANTT_COL_INDEX_ATTRIBUTE", { enumerable: true, get: function () { return constants_1.GANTT_COL_INDEX_ATTRIBUTE; } });
|
|
45
|
-
Object.defineProperty(exports, "GANTT_PREVENT_SELECTION_ELEMENT", { enumerable: true, get: function () { return constants_1.GANTT_PREVENT_SELECTION_ELEMENT; } });
|
|
46
|
-
Object.defineProperty(exports, "GANTT_ROW_INDEX_ATTRIBUTE", { enumerable: true, get: function () { return constants_1.GANTT_ROW_INDEX_ATTRIBUTE; } });
|