@progress/kendo-angular-scheduler 21.4.1-develop.1 → 22.0.0-develop.1

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 (197) hide show
  1. package/editing/recurrence/localization/messages.d.ts +1 -1
  2. package/editing/resource-editor-base.d.ts +1 -1
  3. package/editing-directives/editing-directive-base.d.ts +1 -1
  4. package/fesm2022/progress-kendo-angular-scheduler.mjs +313 -313
  5. package/localization/messages.d.ts +1 -1
  6. package/package.json +20 -28
  7. package/schematics/ngAdd/index.js +3 -3
  8. package/views/common/base-view.d.ts +1 -1
  9. package/views/common/configuration-view-base.d.ts +1 -1
  10. package/views/day-time/day-time-view-base.d.ts +1 -1
  11. package/views/day-time/day-time-view.component.d.ts +1 -1
  12. package/views/multi-day/multi-day-view-base.d.ts +1 -1
  13. package/views/timeline/timeline-base.d.ts +1 -1
  14. package/views/view-items/base-slot.directive.d.ts +1 -1
  15. package/views/view-items/base-view-item.d.ts +1 -1
  16. package/esm2022/common/constants.mjs +0 -8
  17. package/esm2022/common/default-model-fields.mjs +0 -20
  18. package/esm2022/common/dom-queries.mjs +0 -107
  19. package/esm2022/common/modifiers.mjs +0 -31
  20. package/esm2022/common/util.mjs +0 -227
  21. package/esm2022/data-binding.directive.mjs +0 -162
  22. package/esm2022/directives.mjs +0 -136
  23. package/esm2022/editing/date-time-picker.component.mjs +0 -190
  24. package/esm2022/editing/dialogs.service.mjs +0 -96
  25. package/esm2022/editing/edit-dialog-template.directive.mjs +0 -53
  26. package/esm2022/editing/edit-dialog.component.mjs +0 -679
  27. package/esm2022/editing/edit.service.mjs +0 -107
  28. package/esm2022/editing/local-data-changes.service.mjs +0 -18
  29. package/esm2022/editing/recurrence/end-rule-radio-button.directive.mjs +0 -77
  30. package/esm2022/editing/recurrence/localization/custom-messages.component.mjs +0 -44
  31. package/esm2022/editing/recurrence/localization/localized-messages.directive.mjs +0 -39
  32. package/esm2022/editing/recurrence/localization/messages.mjs +0 -239
  33. package/esm2022/editing/recurrence/localization/recurrence-localization.service.mjs +0 -47
  34. package/esm2022/editing/recurrence/recurrence-editor.component.mjs +0 -497
  35. package/esm2022/editing/recurrence/recurrence-end-rule-editor.component.mjs +0 -334
  36. package/esm2022/editing/recurrence/recurrence-frequency-editor.component.mjs +0 -105
  37. package/esm2022/editing/recurrence/recurrence-interval-editor.component.mjs +0 -169
  38. package/esm2022/editing/recurrence/recurrence-monthly-yearly-editor.component.mjs +0 -468
  39. package/esm2022/editing/recurrence/recurrence-weekday-rule-editor.component.mjs +0 -138
  40. package/esm2022/editing/recurrence/recurrence.service.mjs +0 -254
  41. package/esm2022/editing/recurrence/repeat-on-radio-button.directive.mjs +0 -81
  42. package/esm2022/editing/resource-editor-base.mjs +0 -59
  43. package/esm2022/editing/resource-multiple-editor.component.mjs +0 -101
  44. package/esm2022/editing/resource-single-editor.component.mjs +0 -82
  45. package/esm2022/editing/timezone-editor.component.mjs +0 -193
  46. package/esm2022/editing-directives/base-edit.service.mjs +0 -320
  47. package/esm2022/editing-directives/edit-service.interface.mjs +0 -5
  48. package/esm2022/editing-directives/editing-directive-base.mjs +0 -242
  49. package/esm2022/editing-directives/local-edit.service.mjs +0 -122
  50. package/esm2022/editing-directives/reactive-editing.directive.mjs +0 -132
  51. package/esm2022/editing-directives/utils.mjs +0 -107
  52. package/esm2022/events/add-event.mjs +0 -26
  53. package/esm2022/events/cancel-event.mjs +0 -14
  54. package/esm2022/events/create-event.mjs +0 -40
  55. package/esm2022/events/date-change-event.mjs +0 -29
  56. package/esm2022/events/drag-end-event.mjs +0 -46
  57. package/esm2022/events/drag-event.mjs +0 -54
  58. package/esm2022/events/drag-start-event.mjs +0 -30
  59. package/esm2022/events/edit-event-base.mjs +0 -32
  60. package/esm2022/events/edit-event.mjs +0 -30
  61. package/esm2022/events/event-click-event.mjs +0 -32
  62. package/esm2022/events/event-keydown-event.mjs +0 -28
  63. package/esm2022/events/more-events-click.mjs +0 -24
  64. package/esm2022/events/navigate-event.mjs +0 -26
  65. package/esm2022/events/preventable-event.mjs +0 -28
  66. package/esm2022/events/remove-event.mjs +0 -30
  67. package/esm2022/events/resize-end-event.mjs +0 -38
  68. package/esm2022/events/resize-event.mjs +0 -46
  69. package/esm2022/events/resize-start-event.mjs +0 -30
  70. package/esm2022/events/save-event.mjs +0 -18
  71. package/esm2022/events/slot-click-event.mjs +0 -44
  72. package/esm2022/events/slot-drag-end-event.mjs +0 -10
  73. package/esm2022/events/slot-drag-event.mjs +0 -40
  74. package/esm2022/events/slot-drag-start-event.mjs +0 -44
  75. package/esm2022/events/view-event-map.mjs +0 -35
  76. package/esm2022/events.mjs +0 -27
  77. package/esm2022/index.mjs +0 -83
  78. package/esm2022/loading.component.mjs +0 -52
  79. package/esm2022/localization/custom-messages.component.mjs +0 -56
  80. package/esm2022/localization/localized-messages.directive.mjs +0 -39
  81. package/esm2022/localization/messages.mjs +0 -614
  82. package/esm2022/localization/scheduler-localization.service.mjs +0 -31
  83. package/esm2022/navigation/focus-position.interface.mjs +0 -5
  84. package/esm2022/navigation/focus.service.mjs +0 -202
  85. package/esm2022/navigation/focusable-element.interface.mjs +0 -5
  86. package/esm2022/navigation/focusable.directive.mjs +0 -98
  87. package/esm2022/navigation/shortcuts.directive.mjs +0 -239
  88. package/esm2022/navigation.mjs +0 -6
  89. package/esm2022/package-metadata.mjs +0 -16
  90. package/esm2022/pdf/pdf-command.directive.mjs +0 -96
  91. package/esm2022/pdf/pdf-export-event.mjs +0 -10
  92. package/esm2022/pdf/pdf.component.mjs +0 -241
  93. package/esm2022/pdf/pdf.module.mjs +0 -42
  94. package/esm2022/pdf/pdf.service.mjs +0 -36
  95. package/esm2022/progress-kendo-angular-scheduler.mjs +0 -8
  96. package/esm2022/scheduler.component.mjs +0 -1981
  97. package/esm2022/scheduler.module.mjs +0 -138
  98. package/esm2022/toolbar/navigation.component.mjs +0 -391
  99. package/esm2022/toolbar/toolbar-context.mjs +0 -5
  100. package/esm2022/toolbar/toolbar-template.directive.mjs +0 -50
  101. package/esm2022/toolbar/toolbar.component.mjs +0 -168
  102. package/esm2022/toolbar/toolbar.service.mjs +0 -46
  103. package/esm2022/toolbar/view-selector.component.mjs +0 -181
  104. package/esm2022/types/actions.mjs +0 -5
  105. package/esm2022/types/create-form-group-args.interface.mjs +0 -5
  106. package/esm2022/types/crud-operation.enum.mjs +0 -18
  107. package/esm2022/types/current-time-settings.interface.mjs +0 -5
  108. package/esm2022/types/date-range.interface.mjs +0 -5
  109. package/esm2022/types/datepicker-options.interface.mjs +0 -5
  110. package/esm2022/types/edit-event-args.interface.mjs +0 -5
  111. package/esm2022/types/edit-mode.enum.mjs +0 -23
  112. package/esm2022/types/editable-settings.interface.mjs +0 -5
  113. package/esm2022/types/event-style-args.interface.mjs +0 -5
  114. package/esm2022/types/focusable-container.mjs +0 -5
  115. package/esm2022/types/group.interface.mjs +0 -5
  116. package/esm2022/types/numeric-options.interface.mjs +0 -5
  117. package/esm2022/types/ongoing-events-settings.interface.mjs +0 -5
  118. package/esm2022/types/resource.interface.mjs +0 -5
  119. package/esm2022/types/scheduler-event.mjs +0 -5
  120. package/esm2022/types/scheduler-model-fields.interface.mjs +0 -5
  121. package/esm2022/types/scheduler-slot.interface.mjs +0 -5
  122. package/esm2022/types/scheduler-view.mjs +0 -9
  123. package/esm2022/types/slot-class-args.interface.mjs +0 -5
  124. package/esm2022/types/slot-selection.mjs +0 -35
  125. package/esm2022/types/view-item.interface.mjs +0 -5
  126. package/esm2022/types.mjs +0 -12
  127. package/esm2022/views/agenda/agenda-header-item.component.mjs +0 -85
  128. package/esm2022/views/agenda/agenda-header.component.mjs +0 -75
  129. package/esm2022/views/agenda/agenda-task-item.component.mjs +0 -137
  130. package/esm2022/views/agenda/agenda-view-internal.component.mjs +0 -424
  131. package/esm2022/views/agenda/agenda-view-list.component.mjs +0 -256
  132. package/esm2022/views/agenda/agenda-view.component.mjs +0 -130
  133. package/esm2022/views/agenda/tasks.collection.mjs +0 -96
  134. package/esm2022/views/agenda/utils.mjs +0 -176
  135. package/esm2022/views/common/base-view.mjs +0 -1099
  136. package/esm2022/views/common/configuration-view-base.mjs +0 -164
  137. package/esm2022/views/common/dom-events.service.mjs +0 -22
  138. package/esm2022/views/common/hint-container.component.mjs +0 -41
  139. package/esm2022/views/common/repeat.pipe.mjs +0 -36
  140. package/esm2022/views/common/resize-hint.component.mjs +0 -97
  141. package/esm2022/views/common/resource-iterator.pipe.mjs +0 -49
  142. package/esm2022/views/common/scheduler-task.mjs +0 -5
  143. package/esm2022/views/common/slot-selectable.directive.mjs +0 -137
  144. package/esm2022/views/common/view-footer.component.mjs +0 -103
  145. package/esm2022/views/common/work-hours-footer.directive.mjs +0 -45
  146. package/esm2022/views/constants.mjs +0 -31
  147. package/esm2022/views/day-time/day-time-slot.service.mjs +0 -633
  148. package/esm2022/views/day-time/day-time-view-base.mjs +0 -244
  149. package/esm2022/views/day-time/day-time-view-item.component.mjs +0 -216
  150. package/esm2022/views/day-time/day-time-view.component.mjs +0 -437
  151. package/esm2022/views/day-time/event-slot.directive.mjs +0 -138
  152. package/esm2022/views/day-time/utils.mjs +0 -32
  153. package/esm2022/views/month/month-slot.component.mjs +0 -166
  154. package/esm2022/views/month/month-slot.service.mjs +0 -404
  155. package/esm2022/views/month/month-view-item.component.mjs +0 -161
  156. package/esm2022/views/month/month-view-renderer.component.mjs +0 -683
  157. package/esm2022/views/month/month-view.component.mjs +0 -203
  158. package/esm2022/views/month/multi-week-view.component.mjs +0 -202
  159. package/esm2022/views/month/utils.mjs +0 -107
  160. package/esm2022/views/multi-day/day-view.component.mjs +0 -186
  161. package/esm2022/views/multi-day/multi-day-view-base.mjs +0 -55
  162. package/esm2022/views/multi-day/multi-day-view-renderer.component.mjs +0 -1002
  163. package/esm2022/views/multi-day/multi-day-view.component.mjs +0 -197
  164. package/esm2022/views/multi-day/utils.mjs +0 -63
  165. package/esm2022/views/multi-day/week-view.component.mjs +0 -189
  166. package/esm2022/views/multi-day/work-week-view.component.mjs +0 -172
  167. package/esm2022/views/scheduler-view.directive.mjs +0 -65
  168. package/esm2022/views/templates/agenda-date-template.directive.mjs +0 -41
  169. package/esm2022/views/templates/agenda-time-template.directive.mjs +0 -46
  170. package/esm2022/views/templates/all-day-event-template.directive.mjs +0 -42
  171. package/esm2022/views/templates/all-day-slot-template.directive.mjs +0 -42
  172. package/esm2022/views/templates/date-header-template.directive.mjs +0 -42
  173. package/esm2022/views/templates/event-template.directive.mjs +0 -42
  174. package/esm2022/views/templates/group-header-template.directive.mjs +0 -42
  175. package/esm2022/views/templates/major-time-header-template.directive.mjs +0 -41
  176. package/esm2022/views/templates/minor-time-header-template.directive.mjs +0 -41
  177. package/esm2022/views/templates/month-day-slot-template.directive.mjs +0 -42
  178. package/esm2022/views/templates/multi-week-day-slot-template.directive.mjs +0 -42
  179. package/esm2022/views/templates/time-slot-template.directive.mjs +0 -43
  180. package/esm2022/views/templates.mjs +0 -16
  181. package/esm2022/views/timeline/timeline-base.mjs +0 -39
  182. package/esm2022/views/timeline/timeline-month-view.component.mjs +0 -211
  183. package/esm2022/views/timeline/timeline-multi-day-view.component.mjs +0 -649
  184. package/esm2022/views/timeline/timeline-view.component.mjs +0 -189
  185. package/esm2022/views/timeline/timeline-week-view.component.mjs +0 -181
  186. package/esm2022/views/timeline/utils.mjs +0 -60
  187. package/esm2022/views/utils.mjs +0 -373
  188. package/esm2022/views/view-context.service.mjs +0 -111
  189. package/esm2022/views/view-items/base-slot.directive.mjs +0 -104
  190. package/esm2022/views/view-items/base-slot.service.mjs +0 -82
  191. package/esm2022/views/view-items/base-view-item.mjs +0 -194
  192. package/esm2022/views/view-items/item-map.mjs +0 -38
  193. package/esm2022/views/view-items/types.mjs +0 -5
  194. package/esm2022/views/view-state.service.mjs +0 -144
  195. package/esm2022/views/year/utils.mjs +0 -60
  196. package/esm2022/views/year/year-view-internal.component.mjs +0 -471
  197. package/esm2022/views/year/year-view.component.mjs +0 -136
@@ -1,107 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Injectable, EventEmitter, NgZone } from '@angular/core';
6
- import { Subject } from 'rxjs';
7
- import { debounceTime } from 'rxjs/operators';
8
- import { EditMode } from '../types';
9
- import { isPresent } from '../common/util';
10
- import * as i0 from "@angular/core";
11
- // const toSimilarDate = (date: ZonedDate): Date => new Date(
12
- // date.getFullYear(), date.getMonth(), date.getDay(),
13
- // date.getHours(), date.getMinutes(), date.getSeconds(),
14
- // date.getMilliseconds()
15
- // );
16
- // const toUTCDateTime = (localDate: Date): Date => new Date(Date.UTC(
17
- // localDate.getFullYear(),
18
- // localDate.getMonth(),
19
- // localDate.getDate(),
20
- // localDate.getHours(),
21
- // localDate.getMinutes(),
22
- // localDate.getSeconds(),
23
- // localDate.getMilliseconds()
24
- // ));
25
- /**
26
- * @hidden
27
- */
28
- export class EditService {
29
- ngZone;
30
- changes = new EventEmitter();
31
- changed;
32
- editedEvent;
33
- newEventGroup;
34
- changedSource = new Subject();
35
- constructor(ngZone) {
36
- this.ngZone = ngZone;
37
- this.changed = this.changedSource.asObservable().pipe(debounceTime(0));
38
- }
39
- endEdit() {
40
- const formGroup = this.hasNewEvent ? this.newEventGroup.group : this.editedEvent.formGroup;
41
- this.changes.emit({ action: 'cancel', formGroup });
42
- }
43
- removeEvent(dataItem) {
44
- this.changes.emit({ action: 'remove', dataItem });
45
- }
46
- addEvent(formGroup) {
47
- this.newEventGroup = { formGroup };
48
- this.onChanged();
49
- }
50
- editEvent(dataItem, formGroup = undefined, mode) {
51
- this.editedEvent = { dataItem, formGroup, mode };
52
- this.onChanged();
53
- }
54
- close() {
55
- this.newEventGroup = this.editedEvent = null;
56
- this.onChanged();
57
- }
58
- save() {
59
- const { dataItem, formGroup } = this.context;
60
- this.changes.emit({
61
- action: 'save',
62
- dataItem,
63
- formGroup,
64
- isNew: this.hasNewEvent,
65
- mode: this.occurrenceEditMode
66
- });
67
- }
68
- isEditing() {
69
- return isPresent(this.context);
70
- }
71
- get occurrenceEditMode() {
72
- if (this.hasNewEvent) {
73
- return EditMode.Series;
74
- }
75
- else {
76
- return this.editedEvent.mode || EditMode.Event;
77
- }
78
- }
79
- get hasNewEvent() {
80
- return isPresent(this.newEventGroup);
81
- }
82
- get newEvent() {
83
- if (this.hasNewEvent) {
84
- return this.newEventGroup.group.value;
85
- }
86
- return {};
87
- }
88
- get context() {
89
- if (this.hasNewEvent) {
90
- return this.newEventGroup;
91
- }
92
- return this.editedEvent;
93
- }
94
- onChanged() {
95
- this.ngZone.runOutsideAngular(() => {
96
- this.changedSource.next();
97
- });
98
- }
99
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EditService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
100
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EditService, providedIn: 'root' });
101
- }
102
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EditService, decorators: [{
103
- type: Injectable,
104
- args: [{
105
- providedIn: 'root'
106
- }]
107
- }], ctorParameters: () => [{ type: i0.NgZone }] });
@@ -1,18 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Injectable, EventEmitter } from '@angular/core';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * @hidden
9
- */
10
- export class LocalDataChangesService {
11
- changes = new EventEmitter();
12
- data;
13
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LocalDataChangesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
14
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LocalDataChangesService });
15
- }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LocalDataChangesService, decorators: [{
17
- type: Injectable
18
- }] });
@@ -1,77 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Directive, Input, HostBinding, Renderer2, ElementRef, ChangeDetectorRef } from "@angular/core";
6
- import { RecurrenceService } from './recurrence.service';
7
- import * as i0 from "@angular/core";
8
- import * as i1 from "./recurrence.service";
9
- /**
10
- * @hidden
11
- */
12
- export class EndRuleRadioButtonDirective {
13
- el;
14
- renderer;
15
- recurrence;
16
- changeDetector;
17
- type = 'radio';
18
- radioClass = true;
19
- radioSizeClass = true;
20
- endRuleId;
21
- destroyClick;
22
- endRule;
23
- constructor(el, renderer, recurrence, changeDetector) {
24
- this.el = el;
25
- this.renderer = renderer;
26
- this.recurrence = recurrence;
27
- this.changeDetector = changeDetector;
28
- this.destroyClick = this.renderer.listen(this.elem, 'click', this.onClick.bind(this));
29
- }
30
- ngOnInit() {
31
- this.endRule = this.endRuleId.split('-')[2];
32
- this.renderer.setAttribute(this.elem, 'id', this.endRuleId);
33
- this.renderer.setAttribute(this.elem, 'name', `end-${this.endRuleId.split('-').pop()}`);
34
- }
35
- ngAfterContentChecked() {
36
- this.setCheckedState();
37
- }
38
- ngOnDestroy() {
39
- if (this.destroyClick) {
40
- this.destroyClick();
41
- }
42
- }
43
- onClick() {
44
- if (this.elem.checked) {
45
- this.recurrence.endRule = this.endRule;
46
- this.changeDetector.markForCheck();
47
- }
48
- }
49
- setCheckedState() {
50
- const isChecked = this.endRule === this.recurrence.endRule;
51
- this.renderer.setProperty(this.elem, 'checked', isChecked);
52
- }
53
- get elem() {
54
- return this.el.nativeElement;
55
- }
56
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EndRuleRadioButtonDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.RecurrenceService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
57
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: EndRuleRadioButtonDirective, isStandalone: true, selector: "[kendoRecurrenceEndRuleRadioButton]", inputs: { endRuleId: ["kendoRecurrenceEndRuleRadioButton", "endRuleId"] }, host: { properties: { "attr.type": "this.type", "class.k-radio": "this.radioClass", "class.k-radio-md": "this.radioSizeClass" } }, ngImport: i0 });
58
- }
59
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EndRuleRadioButtonDirective, decorators: [{
60
- type: Directive,
61
- args: [{
62
- selector: '[kendoRecurrenceEndRuleRadioButton]',
63
- standalone: true
64
- }]
65
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.RecurrenceService }, { type: i0.ChangeDetectorRef }], propDecorators: { type: [{
66
- type: HostBinding,
67
- args: ['attr.type']
68
- }], radioClass: [{
69
- type: HostBinding,
70
- args: ['class.k-radio']
71
- }], radioSizeClass: [{
72
- type: HostBinding,
73
- args: ['class.k-radio-md']
74
- }], endRuleId: [{
75
- type: Input,
76
- args: ["kendoRecurrenceEndRuleRadioButton"]
77
- }] } });
@@ -1,44 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Component, forwardRef } from '@angular/core';
6
- import { LocalizationService } from '@progress/kendo-angular-l10n';
7
- import { Messages } from './messages';
8
- import * as i0 from "@angular/core";
9
- import * as i1 from "@progress/kendo-angular-l10n";
10
- /**
11
- * @hidden
12
- * Custom component messages override default component messages.
13
- */
14
- export class RecurrenceEditorCustomMessagesComponent extends Messages {
15
- service;
16
- constructor(service) {
17
- super();
18
- this.service = service;
19
- }
20
- get override() {
21
- return true;
22
- }
23
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RecurrenceEditorCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
24
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: RecurrenceEditorCustomMessagesComponent, isStandalone: true, selector: "kendo-recurrence-editor-messages", providers: [
25
- {
26
- provide: Messages,
27
- useExisting: forwardRef(() => RecurrenceEditorCustomMessagesComponent)
28
- }
29
- ], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
30
- }
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RecurrenceEditorCustomMessagesComponent, decorators: [{
32
- type: Component,
33
- args: [{
34
- providers: [
35
- {
36
- provide: Messages,
37
- useExisting: forwardRef(() => RecurrenceEditorCustomMessagesComponent)
38
- }
39
- ],
40
- selector: 'kendo-recurrence-editor-messages',
41
- template: ``,
42
- standalone: true
43
- }]
44
- }], ctorParameters: () => [{ type: i1.LocalizationService }] });
@@ -1,39 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Directive, forwardRef } from '@angular/core';
6
- import { LocalizationService } from '@progress/kendo-angular-l10n';
7
- import { Messages } from './messages';
8
- import * as i0 from "@angular/core";
9
- import * as i1 from "@progress/kendo-angular-l10n";
10
- /**
11
- * @hidden
12
- */
13
- export class RecurrenceEditorLocalizedMessagesDirective extends Messages {
14
- service;
15
- constructor(service) {
16
- super();
17
- this.service = service;
18
- }
19
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RecurrenceEditorLocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
20
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: RecurrenceEditorLocalizedMessagesDirective, isStandalone: true, selector: "[kendoRecurrenceEditorLocalizedMessages]", providers: [
21
- {
22
- provide: Messages,
23
- useExisting: forwardRef(() => RecurrenceEditorLocalizedMessagesDirective)
24
- }
25
- ], usesInheritance: true, ngImport: i0 });
26
- }
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RecurrenceEditorLocalizedMessagesDirective, decorators: [{
28
- type: Directive,
29
- args: [{
30
- providers: [
31
- {
32
- provide: Messages,
33
- useExisting: forwardRef(() => RecurrenceEditorLocalizedMessagesDirective)
34
- }
35
- ],
36
- selector: '[kendoRecurrenceEditorLocalizedMessages]',
37
- standalone: true
38
- }]
39
- }], ctorParameters: () => [{ type: i1.LocalizationService }] });
@@ -1,239 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Directive, Input } from '@angular/core';
6
- import { ComponentMessages } from '@progress/kendo-angular-l10n';
7
- import * as i0 from "@angular/core";
8
- /**
9
- * @hidden
10
- */
11
- export class Messages extends ComponentMessages {
12
- /**
13
- * The text similar to **Repeat** which is displayed in the recurrence editor.
14
- */
15
- repeat;
16
- /**
17
- * The text similar to **day(s)** which is displayed in the recurrence editor.
18
- */
19
- dailyInterval;
20
- /**
21
- * The text similar to **Repeat every** which is displayed in the recurrence editor.
22
- */
23
- dailyRepeatEvery;
24
- /**
25
- * The text similar to **week(s)** which is displayed in the recurrence editor.
26
- */
27
- weeklyInterval;
28
- /**
29
- * The text similar to **Repeat every** which is displayed in the recurrence editor.
30
- */
31
- weeklyRepeatEvery;
32
- /**
33
- * The text similar to **Repeat on** which is displayed in the recurrence editor.
34
- */
35
- weeklyRepeatOn;
36
- /**
37
- * The text similar to **Day** which is displayed in the recurrence editor.
38
- */
39
- monthlyDay;
40
- /**
41
- * The text similar to **month(s)** which is displayed in the recurrence editor.
42
- */
43
- monthlyInterval;
44
- /**
45
- * The text similar to **Repeat every** which is displayed in the recurrence editor.
46
- */
47
- monthlyRepeatEvery;
48
- /**
49
- * The text similar to **Repeat on** which is displayed in the recurrence editor.
50
- */
51
- monthlyRepeatOn;
52
- /**
53
- * The text similar to **of** which is displayed in the recurrence editor.
54
- */
55
- yearlyOf;
56
- /**
57
- * The text similar to **Repeat every** which is displayed in the recurrence editor.
58
- */
59
- yearlyRepeatEvery;
60
- /**
61
- * The text similar to **Repeat on** which is displayed in the recurrence editor.
62
- */
63
- yearlyRepeatOn;
64
- /**
65
- * The text similar to **year(s)** which is displayed in the recurrence editor.
66
- */
67
- yearlyInterval;
68
- /**
69
- * The text similar to **Daily** which is displayed in the recurrence editor.
70
- */
71
- frequenciesDaily;
72
- /**
73
- * The text similar to **Monthly** which is displayed in the recurrence editor.
74
- */
75
- frequenciesMonthly;
76
- /**
77
- * The text similar to **Never** which is displayed in the recurrence editor.
78
- */
79
- frequenciesNever;
80
- /**
81
- * The text similar to **Weekly** which is displayed in the recurrence editor.
82
- */
83
- frequenciesWeekly;
84
- /**
85
- * The text similar to **Yearly** which is displayed in the recurrence editor.
86
- */
87
- frequenciesYearly;
88
- /**
89
- * The text similar to **First** which is displayed in the recurrence editor.
90
- */
91
- offsetPositionsFirst;
92
- /**
93
- * The text similar to **Second** which is displayed in the recurrence editor.
94
- */
95
- offsetPositionsSecond;
96
- /**
97
- * The text similar to **Third** which is displayed in the recurrence editor.
98
- */
99
- offsetPositionsThird;
100
- /**
101
- * The text similar to **Fourth** which is displayed in the recurrence editor.
102
- */
103
- offsetPositionsFourth;
104
- /**
105
- * The text similar to **Last** which is displayed in the recurrence editor.
106
- */
107
- offsetPositionsLast;
108
- /**
109
- * The text similar to **Day** which is displayed in the repeat-by-section of the monthly recurrence pattern.
110
- */
111
- weekdaysDay;
112
- /**
113
- * The text similar to **Weekday** which is displayed in the repeat-by-section of the monthly recurrence pattern.
114
- */
115
- weekdaysWeekday;
116
- /**
117
- * The text similar to **Weekend Day** which is displayed in the repeat-by-section of the monthly recurrence pattern.
118
- */
119
- weekdaysWeekendday;
120
- /**
121
- * The text similar to **After** which is displayed in the recurrence editor.
122
- */
123
- endAfter;
124
- /**
125
- * The text similar to **occurrence(s)** which is displayed in the recurrence editor.
126
- */
127
- endOccurrence;
128
- /**
129
- * The text similar to **End** which is displayed in the recurrence editor.
130
- */
131
- endLabel;
132
- /**
133
- * The text similar to **Never** which is displayed in the recurrence editor.
134
- */
135
- endNever;
136
- /**
137
- * The text similar to **On** which is displayed in the recurrence editor.
138
- */
139
- endOn;
140
- /**
141
- * The title of the **Increment** button of the NumericTextBoxes which are displayed in the recurrence editor.
142
- */
143
- numericIncrement;
144
- /**
145
- * The title of the **Decrement** button of the NumericTextBoxes which are displayed in the recurrence editor.
146
- */
147
- numericDecrement;
148
- /**
149
- * The title of the **Today** button in the popup of the DatePickers which are displayed in the recurrence editor.
150
- */
151
- dateInputsToday;
152
- /**
153
- * The title of the **Toggle** button of the DatePickers which are displayed in the recurrence editor.
154
- */
155
- dateInputsToggle;
156
- /**
157
- * The title of the **Parent View** button in the popup of the DatePickers which are displayed in the recurrence editor.
158
- */
159
- dateInputsParentViewButton;
160
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
161
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: Messages, inputs: { repeat: "repeat", dailyInterval: "dailyInterval", dailyRepeatEvery: "dailyRepeatEvery", weeklyInterval: "weeklyInterval", weeklyRepeatEvery: "weeklyRepeatEvery", weeklyRepeatOn: "weeklyRepeatOn", monthlyDay: "monthlyDay", monthlyInterval: "monthlyInterval", monthlyRepeatEvery: "monthlyRepeatEvery", monthlyRepeatOn: "monthlyRepeatOn", yearlyOf: "yearlyOf", yearlyRepeatEvery: "yearlyRepeatEvery", yearlyRepeatOn: "yearlyRepeatOn", yearlyInterval: "yearlyInterval", frequenciesDaily: "frequenciesDaily", frequenciesMonthly: "frequenciesMonthly", frequenciesNever: "frequenciesNever", frequenciesWeekly: "frequenciesWeekly", frequenciesYearly: "frequenciesYearly", offsetPositionsFirst: "offsetPositionsFirst", offsetPositionsSecond: "offsetPositionsSecond", offsetPositionsThird: "offsetPositionsThird", offsetPositionsFourth: "offsetPositionsFourth", offsetPositionsLast: "offsetPositionsLast", weekdaysDay: "weekdaysDay", weekdaysWeekday: "weekdaysWeekday", weekdaysWeekendday: "weekdaysWeekendday", endAfter: "endAfter", endOccurrence: "endOccurrence", endLabel: "endLabel", endNever: "endNever", endOn: "endOn", numericIncrement: "numericIncrement", numericDecrement: "numericDecrement", dateInputsToday: "dateInputsToday", dateInputsToggle: "dateInputsToggle", dateInputsParentViewButton: "dateInputsParentViewButton" }, usesInheritance: true, ngImport: i0 });
162
- }
163
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: Messages, decorators: [{
164
- type: Directive
165
- }], propDecorators: { repeat: [{
166
- type: Input
167
- }], dailyInterval: [{
168
- type: Input
169
- }], dailyRepeatEvery: [{
170
- type: Input
171
- }], weeklyInterval: [{
172
- type: Input
173
- }], weeklyRepeatEvery: [{
174
- type: Input
175
- }], weeklyRepeatOn: [{
176
- type: Input
177
- }], monthlyDay: [{
178
- type: Input
179
- }], monthlyInterval: [{
180
- type: Input
181
- }], monthlyRepeatEvery: [{
182
- type: Input
183
- }], monthlyRepeatOn: [{
184
- type: Input
185
- }], yearlyOf: [{
186
- type: Input
187
- }], yearlyRepeatEvery: [{
188
- type: Input
189
- }], yearlyRepeatOn: [{
190
- type: Input
191
- }], yearlyInterval: [{
192
- type: Input
193
- }], frequenciesDaily: [{
194
- type: Input
195
- }], frequenciesMonthly: [{
196
- type: Input
197
- }], frequenciesNever: [{
198
- type: Input
199
- }], frequenciesWeekly: [{
200
- type: Input
201
- }], frequenciesYearly: [{
202
- type: Input
203
- }], offsetPositionsFirst: [{
204
- type: Input
205
- }], offsetPositionsSecond: [{
206
- type: Input
207
- }], offsetPositionsThird: [{
208
- type: Input
209
- }], offsetPositionsFourth: [{
210
- type: Input
211
- }], offsetPositionsLast: [{
212
- type: Input
213
- }], weekdaysDay: [{
214
- type: Input
215
- }], weekdaysWeekday: [{
216
- type: Input
217
- }], weekdaysWeekendday: [{
218
- type: Input
219
- }], endAfter: [{
220
- type: Input
221
- }], endOccurrence: [{
222
- type: Input
223
- }], endLabel: [{
224
- type: Input
225
- }], endNever: [{
226
- type: Input
227
- }], endOn: [{
228
- type: Input
229
- }], numericIncrement: [{
230
- type: Input
231
- }], numericDecrement: [{
232
- type: Input
233
- }], dateInputsToday: [{
234
- type: Input
235
- }], dateInputsToggle: [{
236
- type: Input
237
- }], dateInputsParentViewButton: [{
238
- type: Input
239
- }] } });
@@ -1,47 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Inject, Injectable, Optional } from '@angular/core';
6
- import { LocalizationService, L10N_PREFIX, MessageService, RTL } from '@progress/kendo-angular-l10n';
7
- import { SchedulerLocalizationService } from '../../../localization/scheduler-localization.service';
8
- import { capitalize } from '../../../common/util';
9
- import * as i0 from "@angular/core";
10
- import * as i1 from "@progress/kendo-angular-l10n";
11
- import * as i2 from "../../../localization/scheduler-localization.service";
12
- /**
13
- * @hidden
14
- */
15
- export class RecurrenceLocalizationService extends LocalizationService {
16
- schedulerLocalization;
17
- constructor(prefix, messageService, _rtl, schedulerLocalization) {
18
- super(prefix, messageService, _rtl);
19
- this.schedulerLocalization = schedulerLocalization;
20
- }
21
- get(shortKey) {
22
- if (this.schedulerLocalization) {
23
- return this.schedulerLocalization.get('recurrenceEditor' + capitalize(shortKey));
24
- }
25
- return super.get(shortKey);
26
- }
27
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RecurrenceLocalizationService, deps: [{ token: L10N_PREFIX }, { token: i1.MessageService, optional: true }, { token: RTL, optional: true }, { token: SchedulerLocalizationService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
28
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RecurrenceLocalizationService });
29
- }
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RecurrenceLocalizationService, decorators: [{
31
- type: Injectable
32
- }], ctorParameters: () => [{ type: undefined, decorators: [{
33
- type: Inject,
34
- args: [L10N_PREFIX]
35
- }] }, { type: i1.MessageService, decorators: [{
36
- type: Optional
37
- }] }, { type: undefined, decorators: [{
38
- type: Optional
39
- }, {
40
- type: Inject,
41
- args: [RTL]
42
- }] }, { type: i2.SchedulerLocalizationService, decorators: [{
43
- type: Optional
44
- }, {
45
- type: Inject,
46
- args: [SchedulerLocalizationService]
47
- }] }] });