@progress/kendo-angular-gantt 13.2.0-develop.1 → 13.2.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.
@@ -52,6 +52,7 @@ import { DropDownsModule } from '@progress/kendo-angular-dropdowns';
52
52
  import { DependenciesTableComponent } from './editing/dependencies-table.component';
53
53
  import { TaskFieldsComponent } from './editing/task-fields.component';
54
54
  import { IconsModule } from '@progress/kendo-angular-icons';
55
+ import { IntlModule } from '@progress/kendo-angular-intl';
55
56
  import * as i0 from "@angular/core";
56
57
  const IMPORTED_MODULES = [
57
58
  CommonModule,
@@ -70,7 +71,8 @@ const IMPORTED_MODULES = [
70
71
  TabStripModule,
71
72
  GridModule,
72
73
  DropDownsModule,
73
- IconsModule
74
+ IconsModule,
75
+ IntlModule
74
76
  ];
75
77
  const DECLARATIONS = [
76
78
  GanttComponent,
@@ -205,7 +207,8 @@ GanttModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "1
205
207
  TabStripModule,
206
208
  GridModule,
207
209
  DropDownsModule,
208
- IconsModule], exports: [GanttComponent,
210
+ IconsModule,
211
+ IntlModule], exports: [GanttComponent,
209
212
  GanttFlatBindingDirective,
210
213
  GanttHierarchyBindingDirective,
211
214
  GanttTaskComponent,
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-gantt',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1688396905,
13
- version: '13.2.0-develop.1',
12
+ publishDate: 1688401408,
13
+ version: '13.2.0-develop.2',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
15
15
  };
@@ -2,9 +2,13 @@
2
2
  * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
+ import { __decorate, __metadata, __param } from "tslib";
6
+ import { IntlService } from '@progress/kendo-angular-intl';
5
7
  import { orderBy } from '@progress/kendo-data-query';
8
+ import { MappingService } from '../common/mapping.service';
6
9
  import { isWorkDay, isWorkHour, lastDayOfWeek } from '../utils';
7
10
  import { addDays, firstDayInWeek, getDate, firstDayOfMonth, lastDayOfMonth, addMonths, addWeeks, lastMonthOfYear } from '@progress/kendo-date-math';
11
+ import { Inject, LOCALE_ID } from '@angular/core';
8
12
  /**
9
13
  * @hidden
10
14
  */
@@ -20,10 +24,11 @@ export const MONTH_FORMAT = 'MMM';
20
24
  /**
21
25
  * @hidden
22
26
  */
23
- export class TimelineBaseViewService {
24
- constructor(intlService, mapper) {
27
+ let TimelineBaseViewService = class TimelineBaseViewService {
28
+ constructor(intlService, mapper, localeId) {
25
29
  this.intlService = intlService;
26
30
  this.mapper = mapper;
31
+ this.localeId = localeId;
27
32
  this._viewStart = 0;
28
33
  }
29
34
  get viewStart() {
@@ -72,7 +77,7 @@ export class TimelineBaseViewService {
72
77
  start: startDate,
73
78
  end: slotEnd,
74
79
  isWorking: isWorkSlot,
75
- text: this.intlService.formatDate(startDate, HOUR_FORMAT),
80
+ text: this.intlService.formatDate(startDate, HOUR_FORMAT, this.localeId),
76
81
  span: 1,
77
82
  slotWidth: this.options.slotWidth
78
83
  });
@@ -100,7 +105,7 @@ export class TimelineBaseViewService {
100
105
  start: startDay,
101
106
  end: slotEnd,
102
107
  isWorking: isWorking,
103
- text: this.intlService.formatDate(startDay, DAY_FORMAT),
108
+ text: this.intlService.formatDate(startDay, DAY_FORMAT, this.localeId),
104
109
  span: 1,
105
110
  slotWidth: this.options.slotWidth
106
111
  });
@@ -118,8 +123,8 @@ export class TimelineBaseViewService {
118
123
  const slotEnd = lastWeekDay > endDay ? endDay : lastWeekDay;
119
124
  const daySlots = this.getDays(startDay, slotEnd);
120
125
  const span = daySlots.length;
121
- const firstDay = this.intlService.formatDate(firstDayInWeek(getDate(startDay), weekStart), DAY_FORMAT);
122
- const lastDay = this.intlService.formatDate(slotEnd, DAY_FORMAT);
126
+ const firstDay = this.intlService.formatDate(firstDayInWeek(getDate(startDay), weekStart), DAY_FORMAT, this.localeId);
127
+ const lastDay = this.intlService.formatDate(slotEnd, DAY_FORMAT, this.localeId);
123
128
  if (span > 0) {
124
129
  slots.push({
125
130
  start: daySlots[0].start,
@@ -144,7 +149,7 @@ export class TimelineBaseViewService {
144
149
  const weekSlots = this.getWeeks(startDay, slotEnd);
145
150
  const span = isMainViewType ? daySlots.length : weekSlots.length;
146
151
  const monthStart = firstDayOfMonth(getDate(startDay));
147
- const shortText = this.intlService.formatDate(monthStart, MONTH_FORMAT);
152
+ const shortText = this.intlService.formatDate(monthStart, MONTH_FORMAT, this.localeId);
148
153
  if (span > 0) {
149
154
  slots.push({
150
155
  start: isMainViewType ? daySlots[0].start : weekSlots[0].start,
@@ -180,4 +185,10 @@ export class TimelineBaseViewService {
180
185
  }
181
186
  return slots;
182
187
  }
183
- }
188
+ };
189
+ TimelineBaseViewService = __decorate([
190
+ __param(2, Inject(LOCALE_ID)),
191
+ __metadata("design:paramtypes", [IntlService,
192
+ MappingService, String])
193
+ ], TimelineBaseViewService);
194
+ export { TimelineBaseViewService };
@@ -2,7 +2,7 @@
2
2
  * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { Injectable } from '@angular/core';
5
+ import { Inject, Injectable, LOCALE_ID } from '@angular/core';
6
6
  import { IntlService } from '@progress/kendo-angular-intl';
7
7
  import { TimelineBaseViewService } from './timeline-base-view.service';
8
8
  import { MappingService } from '../common/mapping.service';
@@ -14,8 +14,9 @@ import * as i2 from "../common/mapping.service";
14
14
  * @hidden
15
15
  */
16
16
  export class TimelineDayViewService extends TimelineBaseViewService {
17
- constructor(intlService, mapper) {
18
- super(intlService, mapper);
17
+ constructor(intlService, mapper, localeId) {
18
+ super(intlService, mapper, localeId);
19
+ this.localeId = localeId;
19
20
  }
20
21
  /**
21
22
  * Gets a date an hour before the first task start with minutes, seconds, milliseconds cleared.
@@ -61,8 +62,11 @@ export class TimelineDayViewService extends TimelineBaseViewService {
61
62
  return slots;
62
63
  }
63
64
  }
64
- TimelineDayViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineDayViewService, deps: [{ token: i1.IntlService }, { token: i2.MappingService }], target: i0.ɵɵFactoryTarget.Injectable });
65
+ TimelineDayViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineDayViewService, deps: [{ token: i1.IntlService }, { token: i2.MappingService }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
65
66
  TimelineDayViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineDayViewService });
66
67
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineDayViewService, decorators: [{
67
68
  type: Injectable
68
- }], ctorParameters: function () { return [{ type: i1.IntlService }, { type: i2.MappingService }]; } });
69
+ }], ctorParameters: function () { return [{ type: i1.IntlService }, { type: i2.MappingService }, { type: undefined, decorators: [{
70
+ type: Inject,
71
+ args: [LOCALE_ID]
72
+ }] }]; } });
@@ -2,7 +2,7 @@
2
2
  * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { Injectable } from '@angular/core';
5
+ import { Inject, Injectable, LOCALE_ID } from '@angular/core';
6
6
  import { IntlService } from '@progress/kendo-angular-intl';
7
7
  import { addDays, addWeeks, firstDayInWeek, getDate } from '@progress/kendo-date-math';
8
8
  import { MappingService } from '../common/mapping.service';
@@ -14,8 +14,9 @@ import * as i2 from "../common/mapping.service";
14
14
  * @hidden
15
15
  */
16
16
  export class TimelineMonthViewService extends TimelineBaseViewService {
17
- constructor(intlService, mapper) {
18
- super(intlService, mapper);
17
+ constructor(intlService, mapper, localeId) {
18
+ super(intlService, mapper, localeId);
19
+ this.localeId = localeId;
19
20
  }
20
21
  /**
21
22
  * Gets a week before the first week in which a task starts.
@@ -59,8 +60,11 @@ export class TimelineMonthViewService extends TimelineBaseViewService {
59
60
  return slots;
60
61
  }
61
62
  }
62
- TimelineMonthViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineMonthViewService, deps: [{ token: i1.IntlService }, { token: i2.MappingService }], target: i0.ɵɵFactoryTarget.Injectable });
63
+ TimelineMonthViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineMonthViewService, deps: [{ token: i1.IntlService }, { token: i2.MappingService }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
63
64
  TimelineMonthViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineMonthViewService });
64
65
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineMonthViewService, decorators: [{
65
66
  type: Injectable
66
- }], ctorParameters: function () { return [{ type: i1.IntlService }, { type: i2.MappingService }]; } });
67
+ }], ctorParameters: function () { return [{ type: i1.IntlService }, { type: i2.MappingService }, { type: undefined, decorators: [{
68
+ type: Inject,
69
+ args: [LOCALE_ID]
70
+ }] }]; } });
@@ -2,7 +2,7 @@
2
2
  * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { Injectable } from '@angular/core';
5
+ import { Inject, Injectable, LOCALE_ID } from '@angular/core';
6
6
  import { IntlService } from '@progress/kendo-angular-intl';
7
7
  import { addDays, getDate } from '@progress/kendo-date-math';
8
8
  import { MappingService } from '../common/mapping.service';
@@ -14,8 +14,9 @@ import * as i2 from "../common/mapping.service";
14
14
  * @hidden
15
15
  */
16
16
  export class TimelineWeekViewService extends TimelineBaseViewService {
17
- constructor(intlService, mapper) {
18
- super(intlService, mapper);
17
+ constructor(intlService, mapper, localeId) {
18
+ super(intlService, mapper, localeId);
19
+ this.localeId = localeId;
19
20
  }
20
21
  /**
21
22
  * Gets a date a day before the first task start with hours, minutes, seconds, milliseconds cleared.
@@ -55,8 +56,11 @@ export class TimelineWeekViewService extends TimelineBaseViewService {
55
56
  return slots;
56
57
  }
57
58
  }
58
- TimelineWeekViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineWeekViewService, deps: [{ token: i1.IntlService }, { token: i2.MappingService }], target: i0.ɵɵFactoryTarget.Injectable });
59
+ TimelineWeekViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineWeekViewService, deps: [{ token: i1.IntlService }, { token: i2.MappingService }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
59
60
  TimelineWeekViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineWeekViewService });
60
61
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineWeekViewService, decorators: [{
61
62
  type: Injectable
62
- }], ctorParameters: function () { return [{ type: i1.IntlService }, { type: i2.MappingService }]; } });
63
+ }], ctorParameters: function () { return [{ type: i1.IntlService }, { type: i2.MappingService }, { type: undefined, decorators: [{
64
+ type: Inject,
65
+ args: [LOCALE_ID]
66
+ }] }]; } });
@@ -2,7 +2,7 @@
2
2
  * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { Injectable } from "@angular/core";
5
+ import { Inject, Injectable, LOCALE_ID } from "@angular/core";
6
6
  import { IntlService } from "@progress/kendo-angular-intl";
7
7
  import { addMonths, firstDayOfMonth, getDate, lastDayOfMonth } from "@progress/kendo-date-math";
8
8
  import { MappingService } from "../common/mapping.service";
@@ -14,8 +14,9 @@ import * as i2 from "../common/mapping.service";
14
14
  * @hidden
15
15
  */
16
16
  export class TimeLineYearViewService extends TimelineBaseViewService {
17
- constructor(intlService, mapper) {
18
- super(intlService, mapper);
17
+ constructor(intlService, mapper, localeId) {
18
+ super(intlService, mapper, localeId);
19
+ this.localeId = localeId;
19
20
  }
20
21
  getTableWidth(tasks) {
21
22
  const timeSlots = this.getSlots(tasks)[1];
@@ -50,8 +51,11 @@ export class TimeLineYearViewService extends TimelineBaseViewService {
50
51
  return slots;
51
52
  }
52
53
  }
53
- TimeLineYearViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimeLineYearViewService, deps: [{ token: i1.IntlService }, { token: i2.MappingService }], target: i0.ɵɵFactoryTarget.Injectable });
54
+ TimeLineYearViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimeLineYearViewService, deps: [{ token: i1.IntlService }, { token: i2.MappingService }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
54
55
  TimeLineYearViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimeLineYearViewService });
55
56
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimeLineYearViewService, decorators: [{
56
57
  type: Injectable
57
- }], ctorParameters: function () { return [{ type: i1.IntlService }, { type: i2.MappingService }]; } });
58
+ }], ctorParameters: function () { return [{ type: i1.IntlService }, { type: i2.MappingService }, { type: undefined, decorators: [{
59
+ type: Inject,
60
+ args: [LOCALE_ID]
61
+ }] }]; } });
@@ -3,7 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import * as i0 from '@angular/core';
6
- import { Injectable, Component, HostBinding, Input, InjectionToken, EventEmitter, Directive, ViewChild, forwardRef, Inject, ViewContainerRef, Output, Optional, QueryList, SkipSelf, Host, ContentChildren, ContentChild, HostListener, isDevMode, NgModule } from '@angular/core';
6
+ import { Injectable, Component, HostBinding, Input, InjectionToken, Inject, LOCALE_ID, EventEmitter, Directive, ViewChild, forwardRef, ViewContainerRef, Output, Optional, QueryList, SkipSelf, Host, ContentChildren, ContentChild, HostListener, isDevMode, NgModule } from '@angular/core';
7
7
  import * as i11 from '@progress/kendo-angular-treelist';
8
8
  import { ColumnBase, ColumnComponent, ColumnGroupComponent, SpanColumnComponent, DataBoundTreeComponent, ExpandableTreeComponent, TreeListComponent, FlatBindingDirective, HierarchyBindingDirective, ExpandableDirective, TreeListModule } from '@progress/kendo-angular-treelist';
9
9
  import { Subject, Subscription, fromEvent, forkJoin, EMPTY, isObservable, of } from 'rxjs';
@@ -15,8 +15,10 @@ import { cloneDate, addWeeks, firstDayInWeek, addDays, lastDayOfMonth, getDate,
15
15
  import { getter, touchEnabled } from '@progress/kendo-common';
16
16
  import * as i6 from '@angular/common';
17
17
  import { CommonModule } from '@angular/common';
18
- import { orderBy } from '@progress/kendo-data-query';
18
+ import { __decorate, __param, __metadata } from 'tslib';
19
19
  import * as i1 from '@progress/kendo-angular-intl';
20
+ import { IntlService, IntlModule } from '@progress/kendo-angular-intl';
21
+ import { orderBy } from '@progress/kendo-data-query';
20
22
  import { xIcon, plusIcon, minusIcon, saveIcon, cancelOutlineIcon, trashIcon } from '@progress/kendo-svg-icons';
21
23
  import * as i7 from '@progress/kendo-angular-icons';
22
24
  import { IconsModule } from '@progress/kendo-angular-icons';
@@ -50,8 +52,8 @@ const packageMetadata = {
50
52
  name: '@progress/kendo-angular-gantt',
51
53
  productName: 'Kendo UI for Angular',
52
54
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
53
- publishDate: 1688396905,
54
- version: '13.2.0-develop.1',
55
+ publishDate: 1688401408,
56
+ version: '13.2.0-develop.2',
55
57
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
56
58
  };
57
59
 
@@ -717,10 +719,11 @@ const MONTH_FORMAT = 'MMM';
717
719
  /**
718
720
  * @hidden
719
721
  */
720
- class TimelineBaseViewService {
721
- constructor(intlService, mapper) {
722
+ let TimelineBaseViewService = class TimelineBaseViewService {
723
+ constructor(intlService, mapper, localeId) {
722
724
  this.intlService = intlService;
723
725
  this.mapper = mapper;
726
+ this.localeId = localeId;
724
727
  this._viewStart = 0;
725
728
  }
726
729
  get viewStart() {
@@ -769,7 +772,7 @@ class TimelineBaseViewService {
769
772
  start: startDate,
770
773
  end: slotEnd,
771
774
  isWorking: isWorkSlot,
772
- text: this.intlService.formatDate(startDate, HOUR_FORMAT),
775
+ text: this.intlService.formatDate(startDate, HOUR_FORMAT, this.localeId),
773
776
  span: 1,
774
777
  slotWidth: this.options.slotWidth
775
778
  });
@@ -797,7 +800,7 @@ class TimelineBaseViewService {
797
800
  start: startDay,
798
801
  end: slotEnd,
799
802
  isWorking: isWorking,
800
- text: this.intlService.formatDate(startDay, DAY_FORMAT),
803
+ text: this.intlService.formatDate(startDay, DAY_FORMAT, this.localeId),
801
804
  span: 1,
802
805
  slotWidth: this.options.slotWidth
803
806
  });
@@ -815,8 +818,8 @@ class TimelineBaseViewService {
815
818
  const slotEnd = lastWeekDay > endDay ? endDay : lastWeekDay;
816
819
  const daySlots = this.getDays(startDay, slotEnd);
817
820
  const span = daySlots.length;
818
- const firstDay = this.intlService.formatDate(firstDayInWeek(getDate(startDay), weekStart), DAY_FORMAT);
819
- const lastDay = this.intlService.formatDate(slotEnd, DAY_FORMAT);
821
+ const firstDay = this.intlService.formatDate(firstDayInWeek(getDate(startDay), weekStart), DAY_FORMAT, this.localeId);
822
+ const lastDay = this.intlService.formatDate(slotEnd, DAY_FORMAT, this.localeId);
820
823
  if (span > 0) {
821
824
  slots.push({
822
825
  start: daySlots[0].start,
@@ -841,7 +844,7 @@ class TimelineBaseViewService {
841
844
  const weekSlots = this.getWeeks(startDay, slotEnd);
842
845
  const span = isMainViewType ? daySlots.length : weekSlots.length;
843
846
  const monthStart = firstDayOfMonth(getDate(startDay));
844
- const shortText = this.intlService.formatDate(monthStart, MONTH_FORMAT);
847
+ const shortText = this.intlService.formatDate(monthStart, MONTH_FORMAT, this.localeId);
845
848
  if (span > 0) {
846
849
  slots.push({
847
850
  start: isMainViewType ? daySlots[0].start : weekSlots[0].start,
@@ -877,14 +880,20 @@ class TimelineBaseViewService {
877
880
  }
878
881
  return slots;
879
882
  }
880
- }
883
+ };
884
+ TimelineBaseViewService = __decorate([
885
+ __param(2, Inject(LOCALE_ID)),
886
+ __metadata("design:paramtypes", [IntlService,
887
+ MappingService, String])
888
+ ], TimelineBaseViewService);
881
889
 
882
890
  /**
883
891
  * @hidden
884
892
  */
885
893
  class TimelineDayViewService extends TimelineBaseViewService {
886
- constructor(intlService, mapper) {
887
- super(intlService, mapper);
894
+ constructor(intlService, mapper, localeId) {
895
+ super(intlService, mapper, localeId);
896
+ this.localeId = localeId;
888
897
  }
889
898
  /**
890
899
  * Gets a date an hour before the first task start with minutes, seconds, milliseconds cleared.
@@ -930,18 +939,24 @@ class TimelineDayViewService extends TimelineBaseViewService {
930
939
  return slots;
931
940
  }
932
941
  }
933
- TimelineDayViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineDayViewService, deps: [{ token: i1.IntlService }, { token: MappingService }], target: i0.ɵɵFactoryTarget.Injectable });
942
+ TimelineDayViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineDayViewService, deps: [{ token: i1.IntlService }, { token: MappingService }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
934
943
  TimelineDayViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineDayViewService });
935
944
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineDayViewService, decorators: [{
936
945
  type: Injectable
937
- }], ctorParameters: function () { return [{ type: i1.IntlService }, { type: MappingService }]; } });
946
+ }], ctorParameters: function () {
947
+ return [{ type: i1.IntlService }, { type: MappingService }, { type: undefined, decorators: [{
948
+ type: Inject,
949
+ args: [LOCALE_ID]
950
+ }] }];
951
+ } });
938
952
 
939
953
  /**
940
954
  * @hidden
941
955
  */
942
956
  class TimelineMonthViewService extends TimelineBaseViewService {
943
- constructor(intlService, mapper) {
944
- super(intlService, mapper);
957
+ constructor(intlService, mapper, localeId) {
958
+ super(intlService, mapper, localeId);
959
+ this.localeId = localeId;
945
960
  }
946
961
  /**
947
962
  * Gets a week before the first week in which a task starts.
@@ -985,18 +1000,24 @@ class TimelineMonthViewService extends TimelineBaseViewService {
985
1000
  return slots;
986
1001
  }
987
1002
  }
988
- TimelineMonthViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineMonthViewService, deps: [{ token: i1.IntlService }, { token: MappingService }], target: i0.ɵɵFactoryTarget.Injectable });
1003
+ TimelineMonthViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineMonthViewService, deps: [{ token: i1.IntlService }, { token: MappingService }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
989
1004
  TimelineMonthViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineMonthViewService });
990
1005
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineMonthViewService, decorators: [{
991
1006
  type: Injectable
992
- }], ctorParameters: function () { return [{ type: i1.IntlService }, { type: MappingService }]; } });
1007
+ }], ctorParameters: function () {
1008
+ return [{ type: i1.IntlService }, { type: MappingService }, { type: undefined, decorators: [{
1009
+ type: Inject,
1010
+ args: [LOCALE_ID]
1011
+ }] }];
1012
+ } });
993
1013
 
994
1014
  /**
995
1015
  * @hidden
996
1016
  */
997
1017
  class TimelineWeekViewService extends TimelineBaseViewService {
998
- constructor(intlService, mapper) {
999
- super(intlService, mapper);
1018
+ constructor(intlService, mapper, localeId) {
1019
+ super(intlService, mapper, localeId);
1020
+ this.localeId = localeId;
1000
1021
  }
1001
1022
  /**
1002
1023
  * Gets a date a day before the first task start with hours, minutes, seconds, milliseconds cleared.
@@ -1036,18 +1057,24 @@ class TimelineWeekViewService extends TimelineBaseViewService {
1036
1057
  return slots;
1037
1058
  }
1038
1059
  }
1039
- TimelineWeekViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineWeekViewService, deps: [{ token: i1.IntlService }, { token: MappingService }], target: i0.ɵɵFactoryTarget.Injectable });
1060
+ TimelineWeekViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineWeekViewService, deps: [{ token: i1.IntlService }, { token: MappingService }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
1040
1061
  TimelineWeekViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineWeekViewService });
1041
1062
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineWeekViewService, decorators: [{
1042
1063
  type: Injectable
1043
- }], ctorParameters: function () { return [{ type: i1.IntlService }, { type: MappingService }]; } });
1064
+ }], ctorParameters: function () {
1065
+ return [{ type: i1.IntlService }, { type: MappingService }, { type: undefined, decorators: [{
1066
+ type: Inject,
1067
+ args: [LOCALE_ID]
1068
+ }] }];
1069
+ } });
1044
1070
 
1045
1071
  /**
1046
1072
  * @hidden
1047
1073
  */
1048
1074
  class TimeLineYearViewService extends TimelineBaseViewService {
1049
- constructor(intlService, mapper) {
1050
- super(intlService, mapper);
1075
+ constructor(intlService, mapper, localeId) {
1076
+ super(intlService, mapper, localeId);
1077
+ this.localeId = localeId;
1051
1078
  }
1052
1079
  getTableWidth(tasks) {
1053
1080
  const timeSlots = this.getSlots(tasks)[1];
@@ -1082,11 +1109,16 @@ class TimeLineYearViewService extends TimelineBaseViewService {
1082
1109
  return slots;
1083
1110
  }
1084
1111
  }
1085
- TimeLineYearViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimeLineYearViewService, deps: [{ token: i1.IntlService }, { token: MappingService }], target: i0.ɵɵFactoryTarget.Injectable });
1112
+ TimeLineYearViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimeLineYearViewService, deps: [{ token: i1.IntlService }, { token: MappingService }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
1086
1113
  TimeLineYearViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimeLineYearViewService });
1087
1114
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimeLineYearViewService, decorators: [{
1088
1115
  type: Injectable
1089
- }], ctorParameters: function () { return [{ type: i1.IntlService }, { type: MappingService }]; } });
1116
+ }], ctorParameters: function () {
1117
+ return [{ type: i1.IntlService }, { type: MappingService }, { type: undefined, decorators: [{
1118
+ type: Inject,
1119
+ args: [LOCALE_ID]
1120
+ }] }];
1121
+ } });
1090
1122
 
1091
1123
  /**
1092
1124
  * @hidden
@@ -7859,7 +7891,8 @@ const IMPORTED_MODULES = [
7859
7891
  TabStripModule,
7860
7892
  GridModule,
7861
7893
  DropDownsModule,
7862
- IconsModule
7894
+ IconsModule,
7895
+ IntlModule
7863
7896
  ];
7864
7897
  const DECLARATIONS = [
7865
7898
  GanttComponent,
@@ -7994,7 +8027,8 @@ GanttModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "1
7994
8027
  TabStripModule,
7995
8028
  GridModule,
7996
8029
  DropDownsModule,
7997
- IconsModule], exports: [GanttComponent,
8030
+ IconsModule,
8031
+ IntlModule], exports: [GanttComponent,
7998
8032
  GanttFlatBindingDirective,
7999
8033
  GanttHierarchyBindingDirective,
8000
8034
  GanttTaskComponent,
@@ -3,7 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import * as i0 from '@angular/core';
6
- import { Injectable, Component, HostBinding, Input, InjectionToken, EventEmitter, Directive, ViewChild, forwardRef, Inject, ViewContainerRef, Output, Optional, QueryList, SkipSelf, Host, ContentChildren, ContentChild, HostListener, isDevMode, NgModule } from '@angular/core';
6
+ import { Injectable, Component, HostBinding, Input, InjectionToken, EventEmitter, Inject, LOCALE_ID, Directive, ViewChild, forwardRef, ViewContainerRef, Output, Optional, QueryList, SkipSelf, Host, ContentChildren, ContentChild, HostListener, isDevMode, NgModule } from '@angular/core';
7
7
  import * as i11 from '@progress/kendo-angular-treelist';
8
8
  import { ColumnBase, ColumnComponent, ColumnGroupComponent, SpanColumnComponent, DataBoundTreeComponent, ExpandableTreeComponent, TreeListComponent, FlatBindingDirective, HierarchyBindingDirective, ExpandableDirective, TreeListModule } from '@progress/kendo-angular-treelist';
9
9
  import { cloneDate, addWeeks, firstDayInWeek, addDays, lastDayOfMonth, getDate, firstDayOfMonth, addMonths, lastMonthOfYear, MS_PER_HOUR, MS_PER_DAY, isEqual } from '@progress/kendo-date-math';
@@ -16,6 +16,8 @@ import { getter, touchEnabled } from '@progress/kendo-common';
16
16
  import * as i6 from '@angular/common';
17
17
  import { CommonModule } from '@angular/common';
18
18
  import * as i1 from '@progress/kendo-angular-intl';
19
+ import { IntlService, IntlModule } from '@progress/kendo-angular-intl';
20
+ import { __decorate, __param, __metadata } from 'tslib';
19
21
  import { orderBy } from '@progress/kendo-data-query';
20
22
  import { xIcon, plusIcon, minusIcon, saveIcon, cancelOutlineIcon, trashIcon } from '@progress/kendo-svg-icons';
21
23
  import * as i7 from '@progress/kendo-angular-icons';
@@ -50,8 +52,8 @@ const packageMetadata = {
50
52
  name: '@progress/kendo-angular-gantt',
51
53
  productName: 'Kendo UI for Angular',
52
54
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
53
- publishDate: 1688396905,
54
- version: '13.2.0-develop.1',
55
+ publishDate: 1688401408,
56
+ version: '13.2.0-develop.2',
55
57
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
56
58
  };
57
59
 
@@ -995,10 +997,11 @@ const MONTH_FORMAT = 'MMM';
995
997
  /**
996
998
  * @hidden
997
999
  */
998
- class TimelineBaseViewService {
999
- constructor(intlService, mapper) {
1000
+ let TimelineBaseViewService = class TimelineBaseViewService {
1001
+ constructor(intlService, mapper, localeId) {
1000
1002
  this.intlService = intlService;
1001
1003
  this.mapper = mapper;
1004
+ this.localeId = localeId;
1002
1005
  this._viewStart = 0;
1003
1006
  }
1004
1007
  get viewStart() {
@@ -1047,7 +1050,7 @@ class TimelineBaseViewService {
1047
1050
  start: startDate,
1048
1051
  end: slotEnd,
1049
1052
  isWorking: isWorkSlot,
1050
- text: this.intlService.formatDate(startDate, HOUR_FORMAT),
1053
+ text: this.intlService.formatDate(startDate, HOUR_FORMAT, this.localeId),
1051
1054
  span: 1,
1052
1055
  slotWidth: this.options.slotWidth
1053
1056
  });
@@ -1075,7 +1078,7 @@ class TimelineBaseViewService {
1075
1078
  start: startDay,
1076
1079
  end: slotEnd,
1077
1080
  isWorking: isWorking,
1078
- text: this.intlService.formatDate(startDay, DAY_FORMAT),
1081
+ text: this.intlService.formatDate(startDay, DAY_FORMAT, this.localeId),
1079
1082
  span: 1,
1080
1083
  slotWidth: this.options.slotWidth
1081
1084
  });
@@ -1093,8 +1096,8 @@ class TimelineBaseViewService {
1093
1096
  const slotEnd = lastWeekDay > endDay ? endDay : lastWeekDay;
1094
1097
  const daySlots = this.getDays(startDay, slotEnd);
1095
1098
  const span = daySlots.length;
1096
- const firstDay = this.intlService.formatDate(firstDayInWeek(getDate(startDay), weekStart), DAY_FORMAT);
1097
- const lastDay = this.intlService.formatDate(slotEnd, DAY_FORMAT);
1099
+ const firstDay = this.intlService.formatDate(firstDayInWeek(getDate(startDay), weekStart), DAY_FORMAT, this.localeId);
1100
+ const lastDay = this.intlService.formatDate(slotEnd, DAY_FORMAT, this.localeId);
1098
1101
  if (span > 0) {
1099
1102
  slots.push({
1100
1103
  start: daySlots[0].start,
@@ -1119,7 +1122,7 @@ class TimelineBaseViewService {
1119
1122
  const weekSlots = this.getWeeks(startDay, slotEnd);
1120
1123
  const span = isMainViewType ? daySlots.length : weekSlots.length;
1121
1124
  const monthStart = firstDayOfMonth(getDate(startDay));
1122
- const shortText = this.intlService.formatDate(monthStart, MONTH_FORMAT);
1125
+ const shortText = this.intlService.formatDate(monthStart, MONTH_FORMAT, this.localeId);
1123
1126
  if (span > 0) {
1124
1127
  slots.push({
1125
1128
  start: isMainViewType ? daySlots[0].start : weekSlots[0].start,
@@ -1155,14 +1158,20 @@ class TimelineBaseViewService {
1155
1158
  }
1156
1159
  return slots;
1157
1160
  }
1158
- }
1161
+ };
1162
+ TimelineBaseViewService = __decorate([
1163
+ __param(2, Inject(LOCALE_ID)),
1164
+ __metadata("design:paramtypes", [IntlService,
1165
+ MappingService, String])
1166
+ ], TimelineBaseViewService);
1159
1167
 
1160
1168
  /**
1161
1169
  * @hidden
1162
1170
  */
1163
1171
  class TimelineDayViewService extends TimelineBaseViewService {
1164
- constructor(intlService, mapper) {
1165
- super(intlService, mapper);
1172
+ constructor(intlService, mapper, localeId) {
1173
+ super(intlService, mapper, localeId);
1174
+ this.localeId = localeId;
1166
1175
  }
1167
1176
  /**
1168
1177
  * Gets a date an hour before the first task start with minutes, seconds, milliseconds cleared.
@@ -1208,18 +1217,22 @@ class TimelineDayViewService extends TimelineBaseViewService {
1208
1217
  return slots;
1209
1218
  }
1210
1219
  }
1211
- TimelineDayViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineDayViewService, deps: [{ token: i1.IntlService }, { token: MappingService }], target: i0.ɵɵFactoryTarget.Injectable });
1220
+ TimelineDayViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineDayViewService, deps: [{ token: i1.IntlService }, { token: MappingService }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
1212
1221
  TimelineDayViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineDayViewService });
1213
1222
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineDayViewService, decorators: [{
1214
1223
  type: Injectable
1215
- }], ctorParameters: function () { return [{ type: i1.IntlService }, { type: MappingService }]; } });
1224
+ }], ctorParameters: function () { return [{ type: i1.IntlService }, { type: MappingService }, { type: undefined, decorators: [{
1225
+ type: Inject,
1226
+ args: [LOCALE_ID]
1227
+ }] }]; } });
1216
1228
 
1217
1229
  /**
1218
1230
  * @hidden
1219
1231
  */
1220
1232
  class TimelineMonthViewService extends TimelineBaseViewService {
1221
- constructor(intlService, mapper) {
1222
- super(intlService, mapper);
1233
+ constructor(intlService, mapper, localeId) {
1234
+ super(intlService, mapper, localeId);
1235
+ this.localeId = localeId;
1223
1236
  }
1224
1237
  /**
1225
1238
  * Gets a week before the first week in which a task starts.
@@ -1263,18 +1276,22 @@ class TimelineMonthViewService extends TimelineBaseViewService {
1263
1276
  return slots;
1264
1277
  }
1265
1278
  }
1266
- TimelineMonthViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineMonthViewService, deps: [{ token: i1.IntlService }, { token: MappingService }], target: i0.ɵɵFactoryTarget.Injectable });
1279
+ TimelineMonthViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineMonthViewService, deps: [{ token: i1.IntlService }, { token: MappingService }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
1267
1280
  TimelineMonthViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineMonthViewService });
1268
1281
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineMonthViewService, decorators: [{
1269
1282
  type: Injectable
1270
- }], ctorParameters: function () { return [{ type: i1.IntlService }, { type: MappingService }]; } });
1283
+ }], ctorParameters: function () { return [{ type: i1.IntlService }, { type: MappingService }, { type: undefined, decorators: [{
1284
+ type: Inject,
1285
+ args: [LOCALE_ID]
1286
+ }] }]; } });
1271
1287
 
1272
1288
  /**
1273
1289
  * @hidden
1274
1290
  */
1275
1291
  class TimelineWeekViewService extends TimelineBaseViewService {
1276
- constructor(intlService, mapper) {
1277
- super(intlService, mapper);
1292
+ constructor(intlService, mapper, localeId) {
1293
+ super(intlService, mapper, localeId);
1294
+ this.localeId = localeId;
1278
1295
  }
1279
1296
  /**
1280
1297
  * Gets a date a day before the first task start with hours, minutes, seconds, milliseconds cleared.
@@ -1314,18 +1331,22 @@ class TimelineWeekViewService extends TimelineBaseViewService {
1314
1331
  return slots;
1315
1332
  }
1316
1333
  }
1317
- TimelineWeekViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineWeekViewService, deps: [{ token: i1.IntlService }, { token: MappingService }], target: i0.ɵɵFactoryTarget.Injectable });
1334
+ TimelineWeekViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineWeekViewService, deps: [{ token: i1.IntlService }, { token: MappingService }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
1318
1335
  TimelineWeekViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineWeekViewService });
1319
1336
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimelineWeekViewService, decorators: [{
1320
1337
  type: Injectable
1321
- }], ctorParameters: function () { return [{ type: i1.IntlService }, { type: MappingService }]; } });
1338
+ }], ctorParameters: function () { return [{ type: i1.IntlService }, { type: MappingService }, { type: undefined, decorators: [{
1339
+ type: Inject,
1340
+ args: [LOCALE_ID]
1341
+ }] }]; } });
1322
1342
 
1323
1343
  /**
1324
1344
  * @hidden
1325
1345
  */
1326
1346
  class TimeLineYearViewService extends TimelineBaseViewService {
1327
- constructor(intlService, mapper) {
1328
- super(intlService, mapper);
1347
+ constructor(intlService, mapper, localeId) {
1348
+ super(intlService, mapper, localeId);
1349
+ this.localeId = localeId;
1329
1350
  }
1330
1351
  getTableWidth(tasks) {
1331
1352
  const timeSlots = this.getSlots(tasks)[1];
@@ -1360,11 +1381,14 @@ class TimeLineYearViewService extends TimelineBaseViewService {
1360
1381
  return slots;
1361
1382
  }
1362
1383
  }
1363
- TimeLineYearViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimeLineYearViewService, deps: [{ token: i1.IntlService }, { token: MappingService }], target: i0.ɵɵFactoryTarget.Injectable });
1384
+ TimeLineYearViewService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimeLineYearViewService, deps: [{ token: i1.IntlService }, { token: MappingService }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
1364
1385
  TimeLineYearViewService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimeLineYearViewService });
1365
1386
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TimeLineYearViewService, decorators: [{
1366
1387
  type: Injectable
1367
- }], ctorParameters: function () { return [{ type: i1.IntlService }, { type: MappingService }]; } });
1388
+ }], ctorParameters: function () { return [{ type: i1.IntlService }, { type: MappingService }, { type: undefined, decorators: [{
1389
+ type: Inject,
1390
+ args: [LOCALE_ID]
1391
+ }] }]; } });
1368
1392
 
1369
1393
  /**
1370
1394
  * @hidden
@@ -7834,7 +7858,8 @@ const IMPORTED_MODULES = [
7834
7858
  TabStripModule,
7835
7859
  GridModule,
7836
7860
  DropDownsModule,
7837
- IconsModule
7861
+ IconsModule,
7862
+ IntlModule
7838
7863
  ];
7839
7864
  const DECLARATIONS = [
7840
7865
  GanttComponent,
@@ -7969,7 +7994,8 @@ GanttModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "1
7969
7994
  TabStripModule,
7970
7995
  GridModule,
7971
7996
  DropDownsModule,
7972
- IconsModule], exports: [GanttComponent,
7997
+ IconsModule,
7998
+ IntlModule], exports: [GanttComponent,
7973
7999
  GanttFlatBindingDirective,
7974
8000
  GanttHierarchyBindingDirective,
7975
8001
  GanttTaskComponent,
package/gantt.module.d.ts CHANGED
@@ -58,6 +58,7 @@ import * as i52 from "@progress/kendo-angular-popup";
58
58
  import * as i53 from "@progress/kendo-angular-grid";
59
59
  import * as i54 from "@progress/kendo-angular-dropdowns";
60
60
  import * as i55 from "@progress/kendo-angular-icons";
61
+ import * as i56 from "@progress/kendo-angular-intl";
61
62
  /**
62
63
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
63
64
  * definition for the Gantt component.
@@ -91,6 +92,6 @@ import * as i55 from "@progress/kendo-angular-icons";
91
92
  */
92
93
  export declare class GanttModule {
93
94
  static ɵfac: i0.ɵɵFactoryDeclaration<GanttModule, never>;
94
- static ɵmod: i0.ɵɵNgModuleDeclaration<GanttModule, [typeof i1.GanttComponent, typeof i2.GanttFlatBindingDirective, typeof i3.GanttHierarchyBindingDirective, typeof i4.GanttTaskComponent, typeof i5.GanttSummaryTaskComponent, typeof i6.GanttMilestoneTaskComponent, typeof i7.GanttTimelineComponent, typeof i8.GanttTasksTableBodyComponent, typeof i9.GanttHeaderTableBodyComponent, typeof i10.GanttTaskContentTemplateDirective, typeof i11.GanttTaskTemplateDirective, typeof i12.GanttSummaryTaskTemplateDirective, typeof i13.ToolbarTemplateDirective, typeof i14.ToolbarComponent, typeof i15.ViewSelectorComponent, typeof i16.GanttColumnComponent, typeof i17.GanttColumnGroupComponent, typeof i18.GanttSpanColumnComponent, typeof i19.FilterMenuTemplateDirective, typeof i20.FilterCellTemplateDirective, typeof i21.CellTemplateDirective, typeof i22.EditTemplateDirective, typeof i23.ColumnMenuTemplateDirective, typeof i24.HeaderTemplateDirective, typeof i25.FooterTemplateDirective, typeof i26.GanttExpandableDirective, typeof i27.GanttDependencyDirective, typeof i28.DependencyDragCreateDirective, typeof i29.TimelineDayViewComponent, typeof i30.TimelineWeekViewComponent, typeof i31.TimelineMonthViewComponent, typeof i32.TimelineYearViewComponent, typeof i33.SelectableDirective, typeof i34.EditDialogComponent, typeof i35.CustomMessagesComponent, typeof i36.LocalizedMessagesDirective, typeof i37.GanttAddTaskComponent, typeof i38.DragValidationTooltipComponent, typeof i39.TimelineScrollableDirective, typeof i40.DependenciesTableComponent, typeof i41.TaskFieldsComponent], [typeof i42.CommonModule, typeof i43.ReactiveFormsModule, typeof i44.LabelModule, typeof i45.InputsModule, typeof i46.DateInputsModule, typeof i47.ButtonsModule, typeof i48.SplitterModule, typeof i49.TreeListModule, typeof i47.ButtonsModule, typeof i50.DialogModule, typeof i51.EventsModule, typeof i52.PopupModule, typeof i51.DraggableModule, typeof i48.TabStripModule, typeof i53.GridModule, typeof i54.DropDownsModule, typeof i55.IconsModule], [typeof i1.GanttComponent, typeof i2.GanttFlatBindingDirective, typeof i3.GanttHierarchyBindingDirective, typeof i4.GanttTaskComponent, typeof i5.GanttSummaryTaskComponent, typeof i6.GanttMilestoneTaskComponent, typeof i7.GanttTimelineComponent, typeof i8.GanttTasksTableBodyComponent, typeof i9.GanttHeaderTableBodyComponent, typeof i10.GanttTaskContentTemplateDirective, typeof i11.GanttTaskTemplateDirective, typeof i12.GanttSummaryTaskTemplateDirective, typeof i13.ToolbarTemplateDirective, typeof i14.ToolbarComponent, typeof i15.ViewSelectorComponent, typeof i16.GanttColumnComponent, typeof i17.GanttColumnGroupComponent, typeof i18.GanttSpanColumnComponent, typeof i19.FilterMenuTemplateDirective, typeof i20.FilterCellTemplateDirective, typeof i21.CellTemplateDirective, typeof i22.EditTemplateDirective, typeof i23.ColumnMenuTemplateDirective, typeof i24.HeaderTemplateDirective, typeof i25.FooterTemplateDirective, typeof i26.GanttExpandableDirective, typeof i27.GanttDependencyDirective, typeof i28.DependencyDragCreateDirective, typeof i29.TimelineDayViewComponent, typeof i30.TimelineWeekViewComponent, typeof i31.TimelineMonthViewComponent, typeof i32.TimelineYearViewComponent, typeof i33.SelectableDirective, typeof i34.EditDialogComponent, typeof i35.CustomMessagesComponent, typeof i36.LocalizedMessagesDirective, typeof i37.GanttAddTaskComponent, typeof i38.DragValidationTooltipComponent, typeof i39.TimelineScrollableDirective, typeof i40.DependenciesTableComponent, typeof i41.TaskFieldsComponent]>;
95
+ static ɵmod: i0.ɵɵNgModuleDeclaration<GanttModule, [typeof i1.GanttComponent, typeof i2.GanttFlatBindingDirective, typeof i3.GanttHierarchyBindingDirective, typeof i4.GanttTaskComponent, typeof i5.GanttSummaryTaskComponent, typeof i6.GanttMilestoneTaskComponent, typeof i7.GanttTimelineComponent, typeof i8.GanttTasksTableBodyComponent, typeof i9.GanttHeaderTableBodyComponent, typeof i10.GanttTaskContentTemplateDirective, typeof i11.GanttTaskTemplateDirective, typeof i12.GanttSummaryTaskTemplateDirective, typeof i13.ToolbarTemplateDirective, typeof i14.ToolbarComponent, typeof i15.ViewSelectorComponent, typeof i16.GanttColumnComponent, typeof i17.GanttColumnGroupComponent, typeof i18.GanttSpanColumnComponent, typeof i19.FilterMenuTemplateDirective, typeof i20.FilterCellTemplateDirective, typeof i21.CellTemplateDirective, typeof i22.EditTemplateDirective, typeof i23.ColumnMenuTemplateDirective, typeof i24.HeaderTemplateDirective, typeof i25.FooterTemplateDirective, typeof i26.GanttExpandableDirective, typeof i27.GanttDependencyDirective, typeof i28.DependencyDragCreateDirective, typeof i29.TimelineDayViewComponent, typeof i30.TimelineWeekViewComponent, typeof i31.TimelineMonthViewComponent, typeof i32.TimelineYearViewComponent, typeof i33.SelectableDirective, typeof i34.EditDialogComponent, typeof i35.CustomMessagesComponent, typeof i36.LocalizedMessagesDirective, typeof i37.GanttAddTaskComponent, typeof i38.DragValidationTooltipComponent, typeof i39.TimelineScrollableDirective, typeof i40.DependenciesTableComponent, typeof i41.TaskFieldsComponent], [typeof i42.CommonModule, typeof i43.ReactiveFormsModule, typeof i44.LabelModule, typeof i45.InputsModule, typeof i46.DateInputsModule, typeof i47.ButtonsModule, typeof i48.SplitterModule, typeof i49.TreeListModule, typeof i47.ButtonsModule, typeof i50.DialogModule, typeof i51.EventsModule, typeof i52.PopupModule, typeof i51.DraggableModule, typeof i48.TabStripModule, typeof i53.GridModule, typeof i54.DropDownsModule, typeof i55.IconsModule, typeof i56.IntlModule], [typeof i1.GanttComponent, typeof i2.GanttFlatBindingDirective, typeof i3.GanttHierarchyBindingDirective, typeof i4.GanttTaskComponent, typeof i5.GanttSummaryTaskComponent, typeof i6.GanttMilestoneTaskComponent, typeof i7.GanttTimelineComponent, typeof i8.GanttTasksTableBodyComponent, typeof i9.GanttHeaderTableBodyComponent, typeof i10.GanttTaskContentTemplateDirective, typeof i11.GanttTaskTemplateDirective, typeof i12.GanttSummaryTaskTemplateDirective, typeof i13.ToolbarTemplateDirective, typeof i14.ToolbarComponent, typeof i15.ViewSelectorComponent, typeof i16.GanttColumnComponent, typeof i17.GanttColumnGroupComponent, typeof i18.GanttSpanColumnComponent, typeof i19.FilterMenuTemplateDirective, typeof i20.FilterCellTemplateDirective, typeof i21.CellTemplateDirective, typeof i22.EditTemplateDirective, typeof i23.ColumnMenuTemplateDirective, typeof i24.HeaderTemplateDirective, typeof i25.FooterTemplateDirective, typeof i26.GanttExpandableDirective, typeof i27.GanttDependencyDirective, typeof i28.DependencyDragCreateDirective, typeof i29.TimelineDayViewComponent, typeof i30.TimelineWeekViewComponent, typeof i31.TimelineMonthViewComponent, typeof i32.TimelineYearViewComponent, typeof i33.SelectableDirective, typeof i34.EditDialogComponent, typeof i35.CustomMessagesComponent, typeof i36.LocalizedMessagesDirective, typeof i37.GanttAddTaskComponent, typeof i38.DragValidationTooltipComponent, typeof i39.TimelineScrollableDirective, typeof i40.DependenciesTableComponent, typeof i41.TaskFieldsComponent]>;
95
96
  static ɵinj: i0.ɵɵInjectorDeclaration<GanttModule>;
96
97
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-gantt",
3
- "version": "13.2.0-develop.1",
3
+ "version": "13.2.0-develop.2",
4
4
  "description": "Kendo UI Angular Gantt",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -24,22 +24,22 @@
24
24
  "@angular/platform-browser": "13 - 16",
25
25
  "@progress/kendo-data-query": "^1.5.5",
26
26
  "@progress/kendo-licensing": "^1.0.2",
27
- "@progress/kendo-angular-buttons": "13.2.0-develop.1",
28
- "@progress/kendo-angular-common": "13.2.0-develop.1",
29
- "@progress/kendo-angular-dialog": "13.2.0-develop.1",
30
- "@progress/kendo-angular-dropdowns": "13.2.0-develop.1",
31
- "@progress/kendo-angular-grid": "13.2.0-develop.1",
32
- "@progress/kendo-angular-icons": "13.2.0-develop.1",
33
- "@progress/kendo-angular-intl": "13.2.0-develop.1",
34
- "@progress/kendo-angular-l10n": "13.2.0-develop.1",
35
- "@progress/kendo-angular-layout": "13.2.0-develop.1",
36
- "@progress/kendo-angular-popup": "13.2.0-develop.1",
37
- "@progress/kendo-angular-treelist": "13.2.0-develop.1",
27
+ "@progress/kendo-angular-buttons": "13.2.0-develop.2",
28
+ "@progress/kendo-angular-common": "13.2.0-develop.2",
29
+ "@progress/kendo-angular-dialog": "13.2.0-develop.2",
30
+ "@progress/kendo-angular-dropdowns": "13.2.0-develop.2",
31
+ "@progress/kendo-angular-grid": "13.2.0-develop.2",
32
+ "@progress/kendo-angular-icons": "13.2.0-develop.2",
33
+ "@progress/kendo-angular-intl": "13.2.0-develop.2",
34
+ "@progress/kendo-angular-l10n": "13.2.0-develop.2",
35
+ "@progress/kendo-angular-layout": "13.2.0-develop.2",
36
+ "@progress/kendo-angular-popup": "13.2.0-develop.2",
37
+ "@progress/kendo-angular-treelist": "13.2.0-develop.2",
38
38
  "rxjs": "^6.5.3 || ^7.0.0"
39
39
  },
40
40
  "dependencies": {
41
41
  "tslib": "^2.3.1",
42
- "@progress/kendo-angular-schematics": "13.2.0-develop.1",
42
+ "@progress/kendo-angular-schematics": "13.2.0-develop.2",
43
43
  "@progress/kendo-common": "^0.2.1",
44
44
  "@progress/kendo-date-math": "^1.5.2",
45
45
  "@progress/kendo-draggable": "^3.0.0"
@@ -7,20 +7,20 @@ function default_1(options) {
7
7
  // See https://github.com/telerik/kendo-schematics/issues/28
8
8
  peerDependencies: {
9
9
  // peer deps of the treelist
10
- '@progress/kendo-angular-dateinputs': '13.2.0-develop.1',
11
- '@progress/kendo-angular-dropdowns': '13.2.0-develop.1',
12
- '@progress/kendo-angular-excel-export': '13.2.0-develop.1',
13
- '@progress/kendo-angular-inputs': '13.2.0-develop.1',
14
- '@progress/kendo-angular-l10n': '13.2.0-develop.1',
15
- '@progress/kendo-angular-label': '13.2.0-develop.1',
16
- '@progress/kendo-angular-pdf-export': '13.2.0-develop.1',
17
- '@progress/kendo-angular-popup': '13.2.0-develop.1',
18
- '@progress/kendo-angular-utils': '13.2.0-develop.1',
10
+ '@progress/kendo-angular-dateinputs': '13.2.0-develop.2',
11
+ '@progress/kendo-angular-dropdowns': '13.2.0-develop.2',
12
+ '@progress/kendo-angular-excel-export': '13.2.0-develop.2',
13
+ '@progress/kendo-angular-inputs': '13.2.0-develop.2',
14
+ '@progress/kendo-angular-l10n': '13.2.0-develop.2',
15
+ '@progress/kendo-angular-label': '13.2.0-develop.2',
16
+ '@progress/kendo-angular-pdf-export': '13.2.0-develop.2',
17
+ '@progress/kendo-angular-popup': '13.2.0-develop.2',
18
+ '@progress/kendo-angular-utils': '13.2.0-develop.2',
19
19
  '@progress/kendo-drawing': '^1.0.0',
20
20
  // peer dep of the dropdowns
21
- '@progress/kendo-angular-treeview': '13.2.0-develop.1',
21
+ '@progress/kendo-angular-treeview': '13.2.0-develop.2',
22
22
  // peer dep of the layout
23
- '@progress/kendo-angular-progressbar': '13.2.0-develop.1',
23
+ '@progress/kendo-angular-progressbar': '13.2.0-develop.2',
24
24
  // peer dep of the icons
25
25
  '@progress/kendo-svg-icons': '^1.0.0'
26
26
  } });
@@ -25,9 +25,10 @@ export declare const MONTH_FORMAT = "MMM";
25
25
  export declare abstract class TimelineBaseViewService {
26
26
  protected intlService: IntlService;
27
27
  protected mapper: MappingService;
28
+ localeId: string;
28
29
  options: TimelineOptions;
29
30
  private _viewStart;
30
- constructor(intlService: IntlService, mapper: MappingService);
31
+ constructor(intlService: IntlService, mapper: MappingService, localeId: string);
31
32
  get viewStart(): number;
32
33
  /**
33
34
  *
@@ -11,7 +11,8 @@ import * as i0 from "@angular/core";
11
11
  * @hidden
12
12
  */
13
13
  export declare class TimelineDayViewService extends TimelineBaseViewService {
14
- constructor(intlService: IntlService, mapper: MappingService);
14
+ localeId: string;
15
+ constructor(intlService: IntlService, mapper: MappingService, localeId: string);
15
16
  /**
16
17
  * Gets a date an hour before the first task start with minutes, seconds, milliseconds cleared.
17
18
  */
@@ -11,7 +11,8 @@ import * as i0 from "@angular/core";
11
11
  * @hidden
12
12
  */
13
13
  export declare class TimelineMonthViewService extends TimelineBaseViewService {
14
- constructor(intlService: IntlService, mapper: MappingService);
14
+ localeId: string;
15
+ constructor(intlService: IntlService, mapper: MappingService, localeId: string);
15
16
  /**
16
17
  * Gets a week before the first week in which a task starts.
17
18
  */
@@ -11,7 +11,8 @@ import * as i0 from "@angular/core";
11
11
  * @hidden
12
12
  */
13
13
  export declare class TimelineWeekViewService extends TimelineBaseViewService {
14
- constructor(intlService: IntlService, mapper: MappingService);
14
+ localeId: string;
15
+ constructor(intlService: IntlService, mapper: MappingService, localeId: string);
15
16
  /**
16
17
  * Gets a date a day before the first task start with hours, minutes, seconds, milliseconds cleared.
17
18
  */
@@ -11,7 +11,8 @@ import * as i0 from "@angular/core";
11
11
  * @hidden
12
12
  */
13
13
  export declare class TimeLineYearViewService extends TimelineBaseViewService {
14
- constructor(intlService: IntlService, mapper: MappingService);
14
+ localeId: string;
15
+ constructor(intlService: IntlService, mapper: MappingService, localeId: string);
15
16
  getTableWidth(tasks: any[]): number;
16
17
  getStartOffset(rangeStart: Date): Date;
17
18
  /**