@progress/kendo-react-gantt 13.3.0 → 13.4.0-develop.2

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.
Files changed (86) hide show
  1. package/Gantt.d.ts +42 -0
  2. package/GanttNoRecords.d.ts +19 -0
  3. package/cells/FilterCells/GanttBooleanFilter.d.ts +17 -0
  4. package/cells/FilterCells/GanttDateFilter.d.ts +17 -0
  5. package/cells/FilterCells/GanttNumericFilter.d.ts +17 -0
  6. package/cells/FilterCells/GanttTextFilter.d.ts +17 -0
  7. package/cells/FilterCells/utils.d.ts +45 -0
  8. package/cells/FilterCells/utils.mjs +11 -11
  9. package/components/BaseView.d.ts +27 -0
  10. package/components/GanttDependency.d.ts +17 -0
  11. package/components/GanttTask.d.ts +19 -0
  12. package/components/GanttTreelist.d.ts +146 -0
  13. package/components/GanttTreelist.mjs +8 -8
  14. package/components/toolbar/AddButton.d.ts +19 -0
  15. package/components/toolbar/AddButton.mjs +2 -2
  16. package/components/toolbar/Toolbar.d.ts +28 -0
  17. package/components/toolbar/view-selector/ViewSelector.d.ts +31 -0
  18. package/components/toolbar/view-selector/ViewSelectorItem.d.ts +19 -0
  19. package/components/toolbar/view-selector/ViewSelectorList.d.ts +10 -0
  20. package/constants/index.d.ts +60 -0
  21. package/constants/index.mjs +2 -2
  22. package/context/GanttContext.d.ts +128 -0
  23. package/context/GanttViewContext.d.ts +47 -0
  24. package/dist/cdn/js/kendo-react-gantt.js +1 -1
  25. package/editors/FormAssingmentsEditor.d.ts +13 -0
  26. package/editors/FormDateTimePicker.d.ts +13 -0
  27. package/editors/FormDropDownList.d.ts +13 -0
  28. package/editors/FormInput.d.ts +13 -0
  29. package/editors/FormNumericTextBox.d.ts +13 -0
  30. package/editors/GanttEditor.d.ts +46 -0
  31. package/editors/GanttEditor.mjs +5 -5
  32. package/editors/GanttEditorPredecessors.d.ts +53 -0
  33. package/editors/GanttEditorSuccessors.d.ts +53 -0
  34. package/editors/GanttForm.d.ts +73 -0
  35. package/editors/GanttForm.mjs +2 -2
  36. package/editors/GanttRemoveDialog.d.ts +51 -0
  37. package/editors/GanttRemoveDialog.mjs +2 -2
  38. package/hooks/useControlledState.d.ts +11 -0
  39. package/hooks/useDictionaryStore.d.ts +25 -0
  40. package/hooks/useGanttTask.d.ts +11 -0
  41. package/index.d.mts +28 -1607
  42. package/index.d.ts +28 -1607
  43. package/interfaces/AddDirection.d.ts +13 -0
  44. package/interfaces/DataAction.d.ts +32 -0
  45. package/interfaces/DataItem.d.ts +13 -0
  46. package/interfaces/DateRange.d.ts +15 -0
  47. package/interfaces/DependencyModelFields.d.ts +32 -0
  48. package/interfaces/DependencyType.d.ts +22 -0
  49. package/interfaces/DragEvent.d.ts +21 -0
  50. package/interfaces/GanttBaseProps.d.ts +81 -0
  51. package/interfaces/GanttCellProps.d.ts +48 -0
  52. package/interfaces/GanttColumnProps.d.ts +43 -0
  53. package/interfaces/GanttDependency.d.ts +33 -0
  54. package/interfaces/GanttDependencyModelFields.d.ts +32 -0
  55. package/interfaces/GanttFilterCellProps.d.ts +13 -0
  56. package/interfaces/GanttFilterOperator.d.ts +13 -0
  57. package/interfaces/GanttHeaderCellProps.d.ts +13 -0
  58. package/interfaces/GanttNoRecordsProps.d.ts +16 -0
  59. package/interfaces/GanttProps.d.ts +238 -0
  60. package/interfaces/GanttRowProps.d.ts +98 -0
  61. package/interfaces/GanttSelectableSettings.d.ts +25 -0
  62. package/interfaces/GanttSlotType.d.ts +11 -0
  63. package/interfaces/GanttSortSettings.d.ts +20 -0
  64. package/interfaces/GanttTaskModelFields.d.ts +67 -0
  65. package/interfaces/GanttView.d.ts +147 -0
  66. package/interfaces/GanttViewTimelineHeaderCellProps.d.ts +38 -0
  67. package/interfaces/Rectangle.d.ts +13 -0
  68. package/interfaces/Slot.d.ts +19 -0
  69. package/interfaces/TaskModelFields.d.ts +56 -0
  70. package/interfaces/events.d.ts +304 -0
  71. package/messages/index.d.ts +197 -0
  72. package/package-metadata.d.ts +12 -0
  73. package/package-metadata.js +1 -1
  74. package/package-metadata.mjs +10 -16
  75. package/package.json +14 -14
  76. package/rows/GanttRow.d.ts +11 -0
  77. package/utils/data-operations.d.ts +50 -0
  78. package/utils/data-operations.mjs +1 -1
  79. package/utils/index.d.ts +185 -0
  80. package/utils/index.mjs +4 -4
  81. package/views/GanttDayView.d.ts +24 -0
  82. package/views/GanttDayView.mjs +5 -5
  83. package/views/GanttMonthView.d.ts +20 -0
  84. package/views/GanttWeekView.d.ts +20 -0
  85. package/views/GanttWeekView.mjs +4 -4
  86. package/views/GanttYearView.d.ts +20 -0
@@ -0,0 +1,50 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { DataItem } from '../interfaces/DataItem.js';
9
+ import { TaskModelFields } from '../interfaces/TaskModelFields.js';
10
+ import { AddDirection } from '../interfaces/AddDirection.js';
11
+ import { DependencyModelFields } from '../interfaces/DependencyModelFields.js';
12
+ /**
13
+ * @hidden
14
+ */
15
+ export declare const addDependency: (options: {
16
+ defaultDataItem?: DataItem;
17
+ dependencyModelFields: DependencyModelFields;
18
+ dependencyData: DataItem[];
19
+ fromId: any;
20
+ toId: any;
21
+ type: number;
22
+ }) => DataItem[];
23
+ /**
24
+ * @hidden
25
+ */
26
+ export declare const addTask: (options: {
27
+ defaultDataItem?: DataItem;
28
+ selectedDataItem?: DataItem;
29
+ direction: AddDirection;
30
+ taskModelFields: TaskModelFields;
31
+ dataTree: DataItem[];
32
+ slotStart: Date;
33
+ slotEnd: Date;
34
+ }) => DataItem[];
35
+ /**
36
+ * @hidden
37
+ */
38
+ export declare const updateTask: (options: {
39
+ updatedDataItem: DataItem;
40
+ taskModelFields: TaskModelFields;
41
+ dataTree: DataItem[];
42
+ }) => DataItem[];
43
+ /**
44
+ * @hidden
45
+ */
46
+ export declare const removeTask: (options: {
47
+ removedDataItem: DataItem;
48
+ taskModelFields: TaskModelFields;
49
+ dataTree: DataItem[];
50
+ }) => DataItem[];
@@ -5,7 +5,7 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { setter as k, getter as p } from "@progress/kendo-react-common";
8
+ import { getter as p, setter as k } from "@progress/kendo-react-common";
9
9
  import { mapTree as v } from "./index.mjs";
10
10
  const J = (l) => {
11
11
  const { dependencyData: t, dependencyModelFields: n, defaultDataItem: g, fromId: s, toId: r, type: d } = l, c = t.map((m) => ({ ...m })), i = k(n.fromId), e = k(n.toId), a = k(n.type), h = g ? { ...g } : {};
@@ -0,0 +1,185 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { TaskModelFields } from '../interfaces/TaskModelFields.js';
9
+ import { DependencyModelFields } from '../interfaces/DependencyModelFields.js';
10
+ import { Day } from '@progress/kendo-date-math';
11
+ import { DateRange } from '../interfaces/DateRange.js';
12
+ import { Slot } from '../interfaces/Slot.js';
13
+ import { IntlService } from '@progress/kendo-react-intl';
14
+ import { filterBy as filterByCommon, orderBy as orderByCommon } from '@progress/kendo-react-data-tools';
15
+ import { GanttTaskModelFields } from '../interfaces/GanttTaskModelFields.js';
16
+ import { GanttDependencyModelFields } from '../interfaces/GanttDependencyModelFields.js';
17
+ import { Rectangle } from '../interfaces/Rectangle.js';
18
+ import { GanttViewTimelineHeaderCellProps } from '../interfaces/GanttViewTimelineHeaderCellProps.js';
19
+ import * as React from 'react';
20
+ /**
21
+ * Orders the specified tree according to the provided sort descriptors.
22
+ *
23
+ * @param {T[]} data - The data that will be sorted.
24
+ * @param {SortDescriptor[]} descriptors - The descriptors by which the data will be sorted.
25
+ * @param {string} subItemsField - The field which points to the subitems collection of each data item.
26
+ * @returns {T[]} - The sorted data.
27
+ */
28
+ export declare const orderBy: typeof orderByCommon;
29
+ /**
30
+ * Filters the provided data tree according to the specified `Array<FilterDescriptor|CompositeFilterDescriptor>`.
31
+ *
32
+ * @param {T[]} data - The data that will be filtered.
33
+ * @param {FilterDescriptor[]|CompositeFilterDescriptor[]} descriptors - The filter criteria that will be applied.
34
+ * @param {string} subItemsField - The field which points to the subitems collection of each data item.
35
+ * @returns {T[]} - The filtered data.
36
+ */
37
+ export declare const filterBy: typeof filterByCommon;
38
+ /**
39
+ * Creates a new array with the results of calling the provided callback function
40
+ * on every element in the provided data tree.
41
+ *
42
+ * @param {any[]} tree - The data tree.
43
+ * @param {string} subItemsField - The field which points to the subitems collection of each data item.
44
+ * @param {(value: any) => any} callback - The callback function.
45
+ * @returns {any[]} - The new data tree.
46
+ */
47
+ export declare const mapTree: (tree: any[], subItemsField: string, callback: (value: any) => any) => any[];
48
+ /**
49
+ * Similar to the `Object.assign` function. Additionally, creates a new array for the subitems.
50
+ *
51
+ * @param {object} item - The source data item.
52
+ * @param {string} subItemsField - The field which points to the subitems collection of each data item.
53
+ * @param {object} propsToExtend - The props with which the source data item will be extended.
54
+ * @returns {object} - The target data item.
55
+ */
56
+ export declare const extendDataItem: (item: any, subItemsField: string, propsToExtend?: any) => any;
57
+ /**
58
+ * Creates a tree from the passed dataset.
59
+ *
60
+ * @param {object[]} dataset - The source dataset of data items.
61
+ * @param {(item: object) => any} getId - A function which will return the id of the data item.
62
+ * @param {(item: object) => any} getParentId - A function which will return the data item id of its parent data item.
63
+ * @param {string} subItemsField - The field which points to the subitems collection of each data item.
64
+ * @returns {object[]} - A collection of the generated data items that are structured in a tree.
65
+ */
66
+ export declare const createDataTree: (dataset: any[], getId: (item: any) => any, getParentId: (item: any) => any, subItemsField: string) => any[];
67
+ /** @hidden */
68
+ export declare const getTaskModelFields: (taskModelFields: GanttTaskModelFields | undefined) => {
69
+ fields: TaskModelFields;
70
+ };
71
+ /** @hidden */
72
+ export declare const getDependencyModelFields: (dependencyModelFields: GanttDependencyModelFields | undefined) => {
73
+ fields: DependencyModelFields;
74
+ };
75
+ /** @hidden */
76
+ export declare const getStartDate: (date: any) => Date;
77
+ /** @hidden */
78
+ export declare const getEndDate: (date: any, numberOfDays?: any) => Date;
79
+ /** @hidden */
80
+ export declare const isInRange: (slotStart: Date, slotEnd: Date, taskStart: Date, taskEnd: Date) => boolean;
81
+ /** @hidden */
82
+ export declare function toUTCDateTime(localDate: Date): Date;
83
+ /** @hidden */
84
+ export declare const ARROW_SIZE = 4;
85
+ /** @hidden */
86
+ export declare const MIN_LINE_WIDTH = 10;
87
+ /** @hidden */
88
+ export declare const dependencyCoordinates: (from: Rectangle, to: Rectangle, rowHeight: number, type: number) => {
89
+ left: number;
90
+ top: number;
91
+ }[];
92
+ /** @hidden */
93
+ export declare const addArrow: (top: any, left: any, points: any, isArrowWest: any) => void;
94
+ /** @hidden */
95
+ export declare const addArrowWest: (top: any, left: any, points: any) => void;
96
+ /** @hidden */
97
+ export declare const addArrowEast: (top: any, left: any, points: any) => void;
98
+ /**
99
+ * @hidden
100
+ */
101
+ export declare const getWorkDays: (options: {
102
+ workWeekStart?: Day;
103
+ workWeekEnd?: Day;
104
+ }) => number[];
105
+ /**
106
+ * @hidden
107
+ */
108
+ export declare const isWorkDay: (date: any, workDays: any) => boolean;
109
+ /**
110
+ * @hidden
111
+ */
112
+ export declare const toRanges: (dateRange: DateRange, { step, timezone }: {
113
+ step: any;
114
+ timezone: any;
115
+ }) => DateRange[];
116
+ /**
117
+ * @hidden
118
+ */
119
+ export declare const toWeekRanges: (dateRange: DateRange, { timezone }: any, intl: any) => DateRange[];
120
+ /**
121
+ * @hidden
122
+ */
123
+ export declare const toMonthRanges: (dateRange: DateRange, { timezone }: any) => DateRange[];
124
+ /**
125
+ * @hidden
126
+ */
127
+ export declare const toYearRanges: (dateRange: DateRange, { timezone }: any) => DateRange[];
128
+ /**
129
+ * @hidden
130
+ */
131
+ export declare const getHourSlots: (range: DateRange, options: {
132
+ workDayEnd: string;
133
+ workDayStart: string;
134
+ slotDuration: number;
135
+ timezone?: string;
136
+ }, intl: any) => Slot[];
137
+ /**
138
+ * @hidden
139
+ */
140
+ export declare const getDaySlots: (range: DateRange, options: {
141
+ workDays: number[];
142
+ timezone?: string;
143
+ }, intl: IntlService) => Slot[];
144
+ /**
145
+ * @hidden
146
+ */
147
+ export declare const getWeekSlots: (range: DateRange, options: {
148
+ timezone?: string;
149
+ }, intl: IntlService) => Slot[];
150
+ /**
151
+ * @hidden
152
+ */
153
+ export declare const getMonthSlots: (range: DateRange, options: {
154
+ timezone?: string;
155
+ }, intl: IntlService) => Slot[];
156
+ /**
157
+ * @hidden
158
+ */
159
+ export declare const getYearSlots: (range: DateRange, options: {
160
+ timezone?: string;
161
+ }, intl: IntlService) => Slot[];
162
+ /**
163
+ * @hidden
164
+ */
165
+ export declare const getTimelineHeader: (slotLevels: Slot[][], ref: React.MutableRefObject<HTMLTableElement | null>, timelineHeaderCell?: React.ComponentType<GanttViewTimelineHeaderCellProps>) => React.JSX.Element;
166
+ /**
167
+ * @hidden
168
+ */
169
+ export declare const getTimelineContent: (slotLevels: Slot[][], ref: React.MutableRefObject<HTMLTableElement | null>) => React.JSX.Element;
170
+ /**
171
+ * @hidden
172
+ */
173
+ export declare const getTimelineWidth: (slotLevels: Slot[][], slotWidth: number) => number;
174
+ /**
175
+ * @hidden
176
+ */
177
+ export declare const isExpanded: (dataItem: any, expandedField: string) => boolean;
178
+ /**
179
+ * @hidden
180
+ */
181
+ export declare const hasChildren: (dataItem: any, childrenField: string) => boolean;
182
+ /**
183
+ * @hidden
184
+ */
185
+ export declare const expandedChildren: (expandedField: string, childrenField: string) => (dataItem: any) => any[];
package/utils/index.mjs CHANGED
@@ -6,11 +6,11 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  import * as T from "react";
9
- import { MS_PER_DAY as E, getDate as S, addDays as W, ZonedDate as g, firstDayInWeek as _, addMonths as y, MS_PER_MINUTE as x } from "@progress/kendo-date-math";
9
+ import { getDate as S, MS_PER_DAY as E, addDays as W, ZonedDate as g, MS_PER_MINUTE as _, firstDayInWeek as x, addMonths as y } from "@progress/kendo-date-math";
10
10
  import { mapTree as A, extendDataItem as L, getter as f, classNames as z } from "@progress/kendo-react-common";
11
11
  import { orderBy as N, filterBy as b } from "@progress/kendo-react-data-tools";
12
12
  import { createDataTree as C } from "@progress/kendo-react-treelist";
13
- import { DEFAULT_TASK_MODEL_FIELDS as I, DEFAULT_DEPENDENCY_MODEL_FIELDS as H, HOUR_DATE_FORMAT as O, DAY_DATE_FORMAT as h, MONTH_DATE_FORMAT as F, YEAR_DATE_FORMAT as B, DAYS_IN_WEEK_COUNT as U } from "../constants/index.mjs";
13
+ import { DEFAULT_TASK_MODEL_FIELDS as I, DEFAULT_DEPENDENCY_MODEL_FIELDS as H, DAY_DATE_FORMAT as h, HOUR_DATE_FORMAT as O, MONTH_DATE_FORMAT as F, YEAR_DATE_FORMAT as B, DAYS_IN_WEEK_COUNT as U } from "../constants/index.mjs";
14
14
  const te = N, ne = b, ae = A, re = L, oe = C, se = (e) => ({ fields: { ...I, ...e } }), de = (e) => ({ fields: { ...H, ...e } }), ce = (e) => S(e), Y = (e, t) => S(W(e, t || 1)), me = (e, t, n, o) => n < t && e <= o;
15
15
  function $(e) {
16
16
  return new Date(
@@ -92,7 +92,7 @@ const l = 4, p = 10, ie = (e, t, n, o) => {
92
92
  }, Z = (e, { timezone: t }, n) => {
93
93
  const o = [], r = g.fromLocalDate(e.start, t), s = g.fromLocalDate(e.end, t);
94
94
  for (let a = r.clone(); a.getTime() < s.getTime(); ) {
95
- const d = a.clone(), i = Y(_(S(d), n.firstDay()), U), u = g.fromUTCDate($(i), t), c = u.getTime() > s.getTime() ? s.clone() : u;
95
+ const d = a.clone(), i = Y(x(S(d), n.firstDay()), U), u = g.fromUTCDate($(i), t), c = u.getTime() > s.getTime() ? s.clone() : u;
96
96
  a = c.clone();
97
97
  const m = new Date(d.getTime()), k = {
98
98
  end: new Date(c.getTime()),
@@ -133,7 +133,7 @@ const l = 4, p = 10, ie = (e, t, n, o) => {
133
133
  return n;
134
134
  }, le = (e, t, n) => {
135
135
  const o = n.parseDate(t.workDayStart).getHours(), r = n.parseDate(t.workDayEnd).getHours();
136
- return M(e, { step: x * t.slotDuration, timezone: t.timezone }).map((a) => {
136
+ return M(e, { step: _ * t.slotDuration, timezone: t.timezone }).map((a) => {
137
137
  const d = a.zonedStart.getHours();
138
138
  return {
139
139
  range: a,
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { GanttViewHandle, GanttViewProps } from '../interfaces/GanttView.js';
9
+ import * as React from 'react';
10
+ /**
11
+ * @hidden
12
+ */
13
+ export interface GanttDayViewProps extends GanttViewProps {
14
+ /**
15
+ * The span of an hour slot. Defaults to 1.
16
+ */
17
+ slotDuration?: number;
18
+ }
19
+ /**
20
+ * Represents the KendoReact DayView Component.
21
+ */
22
+ export declare const GanttDayView: React.ForwardRefExoticComponent<GanttDayViewProps & React.RefAttributes<GanttViewHandle | null>>;
23
+ /** @hidden */
24
+ export declare const ganttDayViewDefaultProps: GanttDayViewProps;
@@ -9,7 +9,7 @@ import * as o from "react";
9
9
  import t from "prop-types";
10
10
  import { ZonedDate as m } from "@progress/kendo-date-math";
11
11
  import { BaseView as I } from "../components/BaseView.mjs";
12
- import { getWorkDays as L, getDaySlots as H, getHourSlots as U, getStartDate as G, getEndDate as v, toUTCDateTime as R } from "../utils/index.mjs";
12
+ import { getDaySlots as L, getHourSlots as H, getStartDate as U, getEndDate as G, toUTCDateTime as R, getWorkDays as v } from "../utils/index.mjs";
13
13
  import { useGanttPropsContext as x, useGanttDateRangeContext as z } from "../context/GanttContext.mjs";
14
14
  import { dayViewTitle as V, messages as O } from "../messages/index.mjs";
15
15
  import { useInternationalization as P } from "@progress/kendo-react-intl";
@@ -25,12 +25,12 @@ const h = o.forwardRef((e, D) => {
25
25
  }, []);
26
26
  o.useImperativeHandle(i, () => ({ scrollIntoView: C })), o.useImperativeHandle(D, () => i.current);
27
27
  const w = z(), g = e.workWeekStart || a.workWeekStart, y = e.workWeekEnd || a.workWeekEnd, p = e.workDayStart || a.workDayStart, S = e.workDayEnd || a.workDayEnd, b = o.useMemo(() => {
28
- const f = L({
28
+ const f = v({
29
29
  workWeekStart: g,
30
30
  workWeekEnd: y
31
- }), l = [], T = H(w, { workDays: f, timezone: s }, n);
31
+ }), l = [], T = L(w, { workDays: f, timezone: s }, n);
32
32
  return T.forEach((E) => {
33
- const W = U(
33
+ const W = H(
34
34
  E.range,
35
35
  {
36
36
  workDayStart: p,
@@ -62,7 +62,7 @@ const h = o.forwardRef((e, D) => {
62
62
  }
63
63
  );
64
64
  }), N = ({ tasksStart: e, tasksEnd: D, timezone: r }) => {
65
- const d = m.fromLocalDate(e, r), c = m.fromLocalDate(D, r), k = G(d), s = v(c), n = m.fromUTCDate(R(k), r), i = m.fromUTCDate(R(s), r);
65
+ const d = m.fromLocalDate(e, r), c = m.fromLocalDate(D, r), k = U(d), s = G(c), n = m.fromUTCDate(R(k), r), i = m.fromUTCDate(R(s), r);
66
66
  return {
67
67
  // Sat May 31 2014 07:00:00 GMT+0300 (Eastern European Summer Time)
68
68
  start: new Date(n.getTime()),
@@ -0,0 +1,20 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { GanttViewHandle, GanttViewProps } from '../interfaces/GanttView.js';
9
+ import * as React from 'react';
10
+ /**
11
+ * @hidden
12
+ */
13
+ export interface GanttMonthViewProps extends GanttViewProps {
14
+ }
15
+ /**
16
+ * Represents the KendoReact MonthView Component.
17
+ */
18
+ export declare const GanttMonthView: React.ForwardRefExoticComponent<GanttMonthViewProps & React.RefAttributes<GanttViewHandle | null>>;
19
+ /** @hidden */
20
+ export declare const ganttMonthViewDefaultProps: GanttMonthViewProps;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { GanttViewHandle, GanttViewProps } from '../interfaces/GanttView.js';
9
+ import * as React from 'react';
10
+ /**
11
+ * @hidden
12
+ */
13
+ export interface GanttWeekViewProps extends GanttViewProps {
14
+ }
15
+ /**
16
+ * Represents the KendoReact WeekView Component.
17
+ */
18
+ export declare const GanttWeekView: React.ForwardRefExoticComponent<GanttWeekViewProps & React.RefAttributes<GanttViewHandle | null>>;
19
+ /** @hidden */
20
+ export declare const ganttWeekViewDefaultProps: GanttWeekViewProps;
@@ -9,7 +9,7 @@ import * as o from "react";
9
9
  import e from "prop-types";
10
10
  import { ZonedDate as l, firstDayInWeek as y, getDate as T } from "@progress/kendo-date-math";
11
11
  import { BaseView as b } from "../components/BaseView.mjs";
12
- import { getWeekSlots as h, getDaySlots as L, getWorkDays as U, getStartDate as _, getEndDate as G, toUTCDateTime as S } from "../utils/index.mjs";
12
+ import { getWorkDays as h, getWeekSlots as L, getDaySlots as U, getStartDate as _, getEndDate as G, toUTCDateTime as S } from "../utils/index.mjs";
13
13
  import { useGanttPropsContext as H, useGanttDateRangeContext as N } from "../context/GanttContext.mjs";
14
14
  import { DEFAULT_COLUMN_WIDTH as O, DAYS_IN_WEEK_COUNT as v } from "../constants/index.mjs";
15
15
  import { weekViewTitle as E, messages as x } from "../messages/index.mjs";
@@ -20,12 +20,12 @@ const R = o.forwardRef((t, m) => {
20
20
  }, []);
21
21
  o.useImperativeHandle(c, () => ({ scrollIntoView: k })), o.useImperativeHandle(m, () => c.current);
22
22
  const d = N(), u = t.workWeekStart || g.workWeekStart, W = t.workWeekEnd || g.workWeekEnd, V = o.useMemo(() => {
23
- const D = U({
23
+ const D = h({
24
24
  workWeekStart: u,
25
25
  workWeekEnd: W
26
- }), i = [], p = h(d, { timezone: a }, s);
26
+ }), i = [], p = L(d, { timezone: a }, s);
27
27
  return p.forEach((C) => {
28
- const I = L(C.range, { workDays: D, timezone: a }, s);
28
+ const I = U(C.range, { workDays: D, timezone: a }, s);
29
29
  i.push.apply(i, I);
30
30
  }), r && i[0] && (r.current = i[0].range), [p, i];
31
31
  }, [a, d.start.getTime(), d.end.getTime(), s, u, W]);
@@ -0,0 +1,20 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { GanttViewHandle, GanttViewProps } from '../interfaces/GanttView.js';
9
+ import * as React from 'react';
10
+ /**
11
+ * @hidden
12
+ */
13
+ export interface GanttYearViewProps extends GanttViewProps {
14
+ }
15
+ /**
16
+ * Represents the KendoReact YearView Component.
17
+ */
18
+ export declare const GanttYearView: React.ForwardRefExoticComponent<GanttYearViewProps & React.RefAttributes<GanttViewHandle | null>>;
19
+ /** @hidden */
20
+ export declare const ganttYearViewDefaultProps: GanttYearViewProps;