@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,497 +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, EventEmitter, Input, Output, forwardRef, HostBinding } from '@angular/core';
6
- import { NG_VALUE_ACCESSOR } from '@angular/forms';
7
- import { isChanged } from '@progress/kendo-angular-common';
8
- import { IntlService } from '@progress/kendo-angular-intl';
9
- import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
10
- import { getDate, Day } from '@progress/kendo-date-math';
11
- import { RecurrenceService } from './recurrence.service';
12
- import { isPresent } from '../../common/util';
13
- import { RecurrenceLocalizationService } from './localization/recurrence-localization.service';
14
- import { RecurrenceEndRuleEditorComponent } from './recurrence-end-rule-editor.component';
15
- import { RecurrenceMonthlyYearlyEditorComponent } from './recurrence-monthly-yearly-editor.component';
16
- import { RecurrenceWeekdayRuleEditorComponent } from './recurrence-weekday-rule-editor.component';
17
- import { RecurrenceIntervalEditorComponent } from './recurrence-interval-editor.component';
18
- import { RecurrenceFrequencyEditorComponent } from './recurrence-frequency-editor.component';
19
- import { RecurrenceEditorLocalizedMessagesDirective } from './localization/localized-messages.directive';
20
- import * as i0 from "@angular/core";
21
- import * as i1 from "./recurrence.service";
22
- import * as i2 from "@progress/kendo-angular-intl";
23
- /**
24
- * @hidden
25
- */
26
- export const RECURRENCE_VALUE_ACCESSOR = {
27
- multi: true,
28
- provide: NG_VALUE_ACCESSOR,
29
- useExisting: forwardRef(() => RecurrenceEditorComponent)
30
- };
31
- /**
32
- * Represents the Kendo UI Recurrence Editor component for Angular. Use this component to let users set recurrence rules for Scheduler events.
33
- *
34
- * [This example](slug:custom_reactive_editing_scheduler) demonstrates the Recurrence Editor, among other components.
35
- *
36
- * @example
37
- * ```html
38
- * <kendo-scheduler
39
- * [kendoSchedulerBinding]="events"
40
- * [kendoSchedulerReactiveEditing]="createFormGroup"
41
- * >
42
- * <ng-template kendoSchedulerEditDialogTemplate let-formGroup="formGroup" let-event>
43
- * <kendo-formfield>
44
- * <kendo-recurrence-editor
45
- * [start]="event.value.start"
46
- * [formControl]="formGroup.get('recurrenceRule')"
47
- * ></kendo-recurrence-editor>
48
- * </kendo-formfield>
49
- * </ng-template>
50
- * </kendo-scheduler>
51
- * ```
52
- */
53
- export class RecurrenceEditorComponent {
54
- recurrenceService;
55
- intl;
56
- cssClass = true;
57
- /**
58
- * Sets the start date for the event.
59
- */
60
- set start(value) {
61
- this._start = value;
62
- }
63
- get start() {
64
- return isPresent(this._start) ? this._start : getDate(new Date());
65
- }
66
- /**
67
- * Sets the id of the timezone to use.
68
- *
69
- * @default 'Etc/UTC'
70
- */
71
- timezone = 'Etc/UTC';
72
- /**
73
- * Sets the first day of the week. Uses the locale settings by default.
74
- */
75
- weekStart;
76
- /**
77
- * Sets the options for the **Repeat Every** NumericTextBox in the recurrence `interval` editor.
78
- */
79
- repeatEveryOptions;
80
- /**
81
- * Sets the options for the **End After** NumericTextBox in the recurrence `count` rule editor.
82
- */
83
- endAfterOptions;
84
- /**
85
- * Sets the options for the **Repeat On** NumericTextBox for choosing the day an event occurs in the monthly and yearly sections.
86
- */
87
- repeatOnOptions;
88
- /**
89
- * Sets the options for the **End On** DatePicker in the recurrence `until` rule editor.
90
- */
91
- endOnOptions;
92
- /**
93
- * Fires when the value of the component changes.
94
- */
95
- valueChange = new EventEmitter();
96
- _start;
97
- subscriptions;
98
- constructor(recurrenceService, intl) {
99
- this.recurrenceService = recurrenceService;
100
- this.intl = intl;
101
- this.weekStart = this.intl.firstDay();
102
- this.subscriptions = this.recurrenceService.change.subscribe((rrule) => {
103
- this.emitChange(rrule);
104
- });
105
- }
106
- /**
107
- * @hidden
108
- */
109
- get currentFreq() {
110
- return this.recurrenceService.frequency;
111
- }
112
- /**
113
- * @hidden
114
- */
115
- ngOnInit() {
116
- this.recurrenceService.init('', this.start, this.timezone, this.weekStart);
117
- }
118
- ngOnChanges(changes) {
119
- if (isChanged('start', changes)) {
120
- this.recurrenceService.start = this.start;
121
- }
122
- }
123
- /**
124
- * @hidden
125
- */
126
- ngOnDestroy() {
127
- if (this.subscriptions) {
128
- this.subscriptions.unsubscribe();
129
- }
130
- }
131
- /**
132
- * @hidden
133
- */
134
- writeValue(rrule) {
135
- this.recurrenceService.init(typeof rrule === 'string' ? rrule : '', this.start, this.timezone, this.weekStart);
136
- }
137
- onTouchedCallback = (_) => { };
138
- onChangeCallback = (_) => { };
139
- /**
140
- * @hidden
141
- */
142
- registerOnChange(fn) {
143
- this.onChangeCallback = fn;
144
- }
145
- /**
146
- * @hidden
147
- */
148
- registerOnTouched(fn) {
149
- this.onTouchedCallback = fn;
150
- }
151
- emitChange(rrule) {
152
- this.onChangeCallback(rrule);
153
- this.valueChange.emit(rrule);
154
- }
155
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RecurrenceEditorComponent, deps: [{ token: i1.RecurrenceService }, { token: i2.IntlService }], target: i0.ɵɵFactoryTarget.Component });
156
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: RecurrenceEditorComponent, isStandalone: true, selector: "kendo-recurrence-editor", inputs: { start: "start", timezone: "timezone", weekStart: "weekStart", repeatEveryOptions: "repeatEveryOptions", endAfterOptions: "endAfterOptions", repeatOnOptions: "repeatOnOptions", endOnOptions: "endOnOptions" }, outputs: { valueChange: "valueChange" }, host: { properties: { "class.k-recurrence-editor": "this.cssClass" } }, providers: [
157
- RecurrenceLocalizationService,
158
- {
159
- provide: LocalizationService,
160
- useExisting: RecurrenceLocalizationService
161
- },
162
- {
163
- provide: L10N_PREFIX,
164
- useValue: 'kendo.recurrenceeditor'
165
- },
166
- RECURRENCE_VALUE_ACCESSOR,
167
- RecurrenceService
168
- ], exportAs: ["kendoRecurrenceEditor"], usesOnChanges: true, ngImport: i0, template: `
169
- <ng-container kendoRecurrenceEditorLocalizedMessages
170
- i18n-repeat="kendo.recurrenceeditor.repeat|The text similar to 'Repeat' displayed in the recurrence editor."
171
- repeat='Repeat'
172
-
173
- i18n-dailyInterval="kendo.recurrenceeditor.dailyInterval|The text similar to 'day(s)' displayed in the recurrence editor."
174
- dailyInterval='day(s)'
175
-
176
- i18n-dailyRepeatEvery="kendo.recurrenceeditor.dailyRepeatEvery|The text similar to 'Repeat every' displayed in the recurrence editor."
177
- dailyRepeatEvery='Repeat every'
178
-
179
- i18n-weeklyInterval="kendo.recurrenceeditor.weeklyInterval|The text similar to 'week(s)' displayed in the recurrence editor."
180
- weeklyInterval='week(s)'
181
-
182
- i18n-weeklyRepeatEvery="kendo.recurrenceeditor.weeklyRepeatEvery|The text similar to 'Repeat every' displayed in the recurrence editor."
183
- weeklyRepeatEvery='Repeat every'
184
-
185
- i18n-weeklyRepeatOn="kendo.recurrenceeditor.weeklyRepeatOn|The text similar to 'Repeat on' displayed in the recurrence editor."
186
- weeklyRepeatOn='Repeat on'
187
-
188
- i18n-monthlyDay="kendo.recurrenceeditor.monthlyDay|The text similar to 'Day' displayed in the recurrence editor."
189
- monthlyDay='Day'
190
-
191
- i18n-monthlyInterval="kendo.recurrenceeditor.monthlyInterval|The text similar to 'month(s)' displayed in the recurrence editor."
192
- monthlyInterval='month(s)'
193
-
194
- i18n-monthlyRepeatEvery="kendo.recurrenceeditor.monthlyRepeatEvery|The text similar to 'Repeat every' displayed in the recurrence editor."
195
- monthlyRepeatEvery='Repeat every'
196
-
197
- i18n-monthlyRepeatOn="kendo.recurrenceeditor.monthlyRepeatOn|The text similar to 'Repeat on' displayed in the recurrence editor."
198
- monthlyRepeatOn='Repeat on'
199
-
200
- i18n-yearlyOf="kendo.recurrenceeditor.yearlyOf|The text similar to 'of' displayed in the recurrence editor."
201
- yearlyOf='of'
202
-
203
- i18n-yearlyRepeatEvery="kendo.recurrenceeditor.yearlyRepeatEvery|The text similar to 'Repeat every' displayed in the recurrence editor."
204
- yearlyRepeatEvery='Repeat every'
205
-
206
- i18n-yearlyRepeatOn="kendo.recurrenceeditor.yearlyRepeatOn|The text similar to 'Repeat on' displayed in the recurrence editor."
207
- yearlyRepeatOn='Repeat on'
208
-
209
- i18n-yearlyInterval="kendo.recurrenceeditor.yearlyInterval|The text similar to 'year(s)' displayed in the recurrence editor."
210
- yearlyInterval='year(s)'
211
-
212
- i18n-frequenciesDaily="kendo.recurrenceeditor.frequenciesDaily|The text similar to 'Daily' displayed in the recurrence editor."
213
- frequenciesDaily='Daily'
214
-
215
- i18n-frequenciesMonthly="kendo.recurrenceeditor.frequenciesMonthly|The text similar to 'Monthly' displayed in the recurrence editor."
216
- frequenciesMonthly='Monthly'
217
-
218
- i18n-frequenciesNever="kendo.recurrenceeditor.frequenciesNever|The text similar to 'Never' displayed in the recurrence editor."
219
- frequenciesNever='Never'
220
-
221
- i18n-frequenciesWeekly="kendo.recurrenceeditor.frequenciesWeekly|The text similar to 'Weekly' displayed in the recurrence editor."
222
- frequenciesWeekly='Weekly'
223
-
224
- i18n-frequenciesYearly="kendo.recurrenceeditor.frequenciesYearly|The text similar to 'Yearly' displayed in the recurrence editor."
225
- frequenciesYearly='Yearly'
226
-
227
- i18n-offsetPositionsFirst="kendo.recurrenceeditor.offsetPositionsFirst|The text similar to 'First' displayed in the recurrence editor."
228
- offsetPositionsFirst='First'
229
-
230
- i18n-offsetPositionsSecond="kendo.recurrenceeditor.offsetPositionsSecond|The text similar to 'Second' displayed in the recurrence editor."
231
- offsetPositionsSecond='Second'
232
-
233
- i18n-offsetPositionsThird="kendo.recurrenceeditor.offsetPositionsThird|The text similar to 'Third' displayed in the recurrence editor."
234
- offsetPositionsThird='Third'
235
-
236
- i18n-offsetPositionsFourth="kendo.recurrenceeditor.offsetPositionsFourth|The text similar to 'Fourth' displayed in the recurrence editor."
237
- offsetPositionsFourth='Fourth'
238
-
239
- i18n-offsetPositionsLast="kendo.recurrenceeditor.offsetPositionsLast|The text similar to 'Last' displayed in the recurrence editor."
240
- offsetPositionsLast='Last'
241
-
242
- i18n-weekdaysDay="kendo.recurrenceeditor.weekdaysDay|The text similar to 'Day' displayed in the repeat by section of the monthly recurrence pattern."
243
- weekdaysDay='Day'
244
-
245
- i18n-weekdaysWeekday="kendo.recurrenceeditor.weekdaysWeekday|The text similar to 'Weekday' displayed in the repeat by section of the monthly recurrence pattern."
246
- weekdaysWeekday='Weekday'
247
-
248
- i18n-weekdaysWeekendday="kendo.recurrenceeditor.weekdaysWeekendday|The text similar to 'Weekend Day' displayed in the repeat by section of the monthly recurrence pattern."
249
- weekdaysWeekendday='Weekend Day'
250
-
251
- i18n-endAfter="kendo.recurrenceeditor.endAfter|The text similar to 'After' displayed in the recurrence editor."
252
- endAfter='After'
253
-
254
- i18n-endOccurrence="kendo.recurrenceeditor.endOccurrence|The text similar to 'occurrence(s)' displayed in the recurrence editor."
255
- endOccurrence='occurrence(s)'
256
-
257
- i18n-endLabel="kendo.recurrenceeditor.endLabel|The text similar to 'End' displayed in the recurrence editor."
258
- endLabel='End'
259
-
260
- i18n-endNever="kendo.recurrenceeditor.endNever|The text similar to 'Never' displayed in the recurrence editor."
261
- endNever='Never'
262
-
263
- i18n-endOn="kendo.recurrenceeditor.endOn|The text similar to 'On' displayed in the recurrence editor."
264
- endOn='On'
265
-
266
- i18n-numericIncrement="kendo.recurrenceeditor.numericIncrement|The title of the 'Increment' button of the NumericTextBoxes displayed in the recurrence editor."
267
- numericIncrement='Increase value'
268
-
269
- i18n-numericDecrement="kendo.recurrenceeditor.numericDecrement|The title of the 'Decrement' button of the NumericTextBoxes displayed in the recurrence editor."
270
- numericDecrement='Decrease value'
271
-
272
- i18n-dateInputsToday="kendo.recurrenceeditor.dateInputsToday|The title of the 'Today' button in the popup of the DatePickers displayed in the recurrence editor."
273
- dateInputsToday='Today'
274
-
275
- i18n-dateInputsToggle="kendo.recurrenceeditor.dateInputsToggle|The title of the 'Toggle' button of the DatePickers displayed in the recurrence editor."
276
- dateInputsToggle='Toggle calendar'
277
-
278
- i18n-dateInputsParentViewButton="kendo.recurrenceeditor.dateInputsParentViewButton|The title of the 'Parent View' button in the popup of the DatePickers displayed in the recurrence editor."
279
- dateInputsParentViewButton='Navigate to parent view'
280
- >
281
- </ng-container>
282
-
283
- <kendo-recurrence-frequency-editor>
284
- </kendo-recurrence-frequency-editor>
285
-
286
- <div class="k-recur-view">
287
- @if (currentFreq !== 'never') {
288
- <kendo-recurrence-interval-editor
289
- [userNumericOptions]="repeatEveryOptions">
290
- </kendo-recurrence-interval-editor>
291
- }
292
-
293
- @if (currentFreq === 'weekly') {
294
- <kendo-recurrence-weekday-rule-editor>
295
- </kendo-recurrence-weekday-rule-editor>
296
- }
297
-
298
- @if (currentFreq === 'monthly' || currentFreq === 'yearly') {
299
- <kendo-recurrence-monthly-yearly-editor
300
- [userNumericOptions]="repeatOnOptions">
301
- </kendo-recurrence-monthly-yearly-editor>
302
- }
303
-
304
- @if (currentFreq !== 'never') {
305
- <kendo-recurrence-end-rule-editor
306
- [userNumericOptions]="endAfterOptions"
307
- [userDatePickerOptions]="endOnOptions">
308
- </kendo-recurrence-end-rule-editor>
309
- }
310
- </div>
311
- `, isInline: true, dependencies: [{ kind: "directive", type: RecurrenceEditorLocalizedMessagesDirective, selector: "[kendoRecurrenceEditorLocalizedMessages]" }, { kind: "component", type: RecurrenceFrequencyEditorComponent, selector: "kendo-recurrence-frequency-editor" }, { kind: "component", type: RecurrenceIntervalEditorComponent, selector: "kendo-recurrence-interval-editor", inputs: ["userNumericOptions"] }, { kind: "component", type: RecurrenceWeekdayRuleEditorComponent, selector: "kendo-recurrence-weekday-rule-editor" }, { kind: "component", type: RecurrenceMonthlyYearlyEditorComponent, selector: "kendo-recurrence-monthly-yearly-editor", inputs: ["userNumericOptions"] }, { kind: "component", type: RecurrenceEndRuleEditorComponent, selector: "kendo-recurrence-end-rule-editor", inputs: ["userNumericOptions", "userDatePickerOptions"] }] });
312
- }
313
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RecurrenceEditorComponent, decorators: [{
314
- type: Component,
315
- args: [{
316
- exportAs: 'kendoRecurrenceEditor',
317
- providers: [
318
- RecurrenceLocalizationService,
319
- {
320
- provide: LocalizationService,
321
- useExisting: RecurrenceLocalizationService
322
- },
323
- {
324
- provide: L10N_PREFIX,
325
- useValue: 'kendo.recurrenceeditor'
326
- },
327
- RECURRENCE_VALUE_ACCESSOR,
328
- RecurrenceService
329
- ],
330
- selector: 'kendo-recurrence-editor',
331
- template: `
332
- <ng-container kendoRecurrenceEditorLocalizedMessages
333
- i18n-repeat="kendo.recurrenceeditor.repeat|The text similar to 'Repeat' displayed in the recurrence editor."
334
- repeat='Repeat'
335
-
336
- i18n-dailyInterval="kendo.recurrenceeditor.dailyInterval|The text similar to 'day(s)' displayed in the recurrence editor."
337
- dailyInterval='day(s)'
338
-
339
- i18n-dailyRepeatEvery="kendo.recurrenceeditor.dailyRepeatEvery|The text similar to 'Repeat every' displayed in the recurrence editor."
340
- dailyRepeatEvery='Repeat every'
341
-
342
- i18n-weeklyInterval="kendo.recurrenceeditor.weeklyInterval|The text similar to 'week(s)' displayed in the recurrence editor."
343
- weeklyInterval='week(s)'
344
-
345
- i18n-weeklyRepeatEvery="kendo.recurrenceeditor.weeklyRepeatEvery|The text similar to 'Repeat every' displayed in the recurrence editor."
346
- weeklyRepeatEvery='Repeat every'
347
-
348
- i18n-weeklyRepeatOn="kendo.recurrenceeditor.weeklyRepeatOn|The text similar to 'Repeat on' displayed in the recurrence editor."
349
- weeklyRepeatOn='Repeat on'
350
-
351
- i18n-monthlyDay="kendo.recurrenceeditor.monthlyDay|The text similar to 'Day' displayed in the recurrence editor."
352
- monthlyDay='Day'
353
-
354
- i18n-monthlyInterval="kendo.recurrenceeditor.monthlyInterval|The text similar to 'month(s)' displayed in the recurrence editor."
355
- monthlyInterval='month(s)'
356
-
357
- i18n-monthlyRepeatEvery="kendo.recurrenceeditor.monthlyRepeatEvery|The text similar to 'Repeat every' displayed in the recurrence editor."
358
- monthlyRepeatEvery='Repeat every'
359
-
360
- i18n-monthlyRepeatOn="kendo.recurrenceeditor.monthlyRepeatOn|The text similar to 'Repeat on' displayed in the recurrence editor."
361
- monthlyRepeatOn='Repeat on'
362
-
363
- i18n-yearlyOf="kendo.recurrenceeditor.yearlyOf|The text similar to 'of' displayed in the recurrence editor."
364
- yearlyOf='of'
365
-
366
- i18n-yearlyRepeatEvery="kendo.recurrenceeditor.yearlyRepeatEvery|The text similar to 'Repeat every' displayed in the recurrence editor."
367
- yearlyRepeatEvery='Repeat every'
368
-
369
- i18n-yearlyRepeatOn="kendo.recurrenceeditor.yearlyRepeatOn|The text similar to 'Repeat on' displayed in the recurrence editor."
370
- yearlyRepeatOn='Repeat on'
371
-
372
- i18n-yearlyInterval="kendo.recurrenceeditor.yearlyInterval|The text similar to 'year(s)' displayed in the recurrence editor."
373
- yearlyInterval='year(s)'
374
-
375
- i18n-frequenciesDaily="kendo.recurrenceeditor.frequenciesDaily|The text similar to 'Daily' displayed in the recurrence editor."
376
- frequenciesDaily='Daily'
377
-
378
- i18n-frequenciesMonthly="kendo.recurrenceeditor.frequenciesMonthly|The text similar to 'Monthly' displayed in the recurrence editor."
379
- frequenciesMonthly='Monthly'
380
-
381
- i18n-frequenciesNever="kendo.recurrenceeditor.frequenciesNever|The text similar to 'Never' displayed in the recurrence editor."
382
- frequenciesNever='Never'
383
-
384
- i18n-frequenciesWeekly="kendo.recurrenceeditor.frequenciesWeekly|The text similar to 'Weekly' displayed in the recurrence editor."
385
- frequenciesWeekly='Weekly'
386
-
387
- i18n-frequenciesYearly="kendo.recurrenceeditor.frequenciesYearly|The text similar to 'Yearly' displayed in the recurrence editor."
388
- frequenciesYearly='Yearly'
389
-
390
- i18n-offsetPositionsFirst="kendo.recurrenceeditor.offsetPositionsFirst|The text similar to 'First' displayed in the recurrence editor."
391
- offsetPositionsFirst='First'
392
-
393
- i18n-offsetPositionsSecond="kendo.recurrenceeditor.offsetPositionsSecond|The text similar to 'Second' displayed in the recurrence editor."
394
- offsetPositionsSecond='Second'
395
-
396
- i18n-offsetPositionsThird="kendo.recurrenceeditor.offsetPositionsThird|The text similar to 'Third' displayed in the recurrence editor."
397
- offsetPositionsThird='Third'
398
-
399
- i18n-offsetPositionsFourth="kendo.recurrenceeditor.offsetPositionsFourth|The text similar to 'Fourth' displayed in the recurrence editor."
400
- offsetPositionsFourth='Fourth'
401
-
402
- i18n-offsetPositionsLast="kendo.recurrenceeditor.offsetPositionsLast|The text similar to 'Last' displayed in the recurrence editor."
403
- offsetPositionsLast='Last'
404
-
405
- i18n-weekdaysDay="kendo.recurrenceeditor.weekdaysDay|The text similar to 'Day' displayed in the repeat by section of the monthly recurrence pattern."
406
- weekdaysDay='Day'
407
-
408
- i18n-weekdaysWeekday="kendo.recurrenceeditor.weekdaysWeekday|The text similar to 'Weekday' displayed in the repeat by section of the monthly recurrence pattern."
409
- weekdaysWeekday='Weekday'
410
-
411
- i18n-weekdaysWeekendday="kendo.recurrenceeditor.weekdaysWeekendday|The text similar to 'Weekend Day' displayed in the repeat by section of the monthly recurrence pattern."
412
- weekdaysWeekendday='Weekend Day'
413
-
414
- i18n-endAfter="kendo.recurrenceeditor.endAfter|The text similar to 'After' displayed in the recurrence editor."
415
- endAfter='After'
416
-
417
- i18n-endOccurrence="kendo.recurrenceeditor.endOccurrence|The text similar to 'occurrence(s)' displayed in the recurrence editor."
418
- endOccurrence='occurrence(s)'
419
-
420
- i18n-endLabel="kendo.recurrenceeditor.endLabel|The text similar to 'End' displayed in the recurrence editor."
421
- endLabel='End'
422
-
423
- i18n-endNever="kendo.recurrenceeditor.endNever|The text similar to 'Never' displayed in the recurrence editor."
424
- endNever='Never'
425
-
426
- i18n-endOn="kendo.recurrenceeditor.endOn|The text similar to 'On' displayed in the recurrence editor."
427
- endOn='On'
428
-
429
- i18n-numericIncrement="kendo.recurrenceeditor.numericIncrement|The title of the 'Increment' button of the NumericTextBoxes displayed in the recurrence editor."
430
- numericIncrement='Increase value'
431
-
432
- i18n-numericDecrement="kendo.recurrenceeditor.numericDecrement|The title of the 'Decrement' button of the NumericTextBoxes displayed in the recurrence editor."
433
- numericDecrement='Decrease value'
434
-
435
- i18n-dateInputsToday="kendo.recurrenceeditor.dateInputsToday|The title of the 'Today' button in the popup of the DatePickers displayed in the recurrence editor."
436
- dateInputsToday='Today'
437
-
438
- i18n-dateInputsToggle="kendo.recurrenceeditor.dateInputsToggle|The title of the 'Toggle' button of the DatePickers displayed in the recurrence editor."
439
- dateInputsToggle='Toggle calendar'
440
-
441
- i18n-dateInputsParentViewButton="kendo.recurrenceeditor.dateInputsParentViewButton|The title of the 'Parent View' button in the popup of the DatePickers displayed in the recurrence editor."
442
- dateInputsParentViewButton='Navigate to parent view'
443
- >
444
- </ng-container>
445
-
446
- <kendo-recurrence-frequency-editor>
447
- </kendo-recurrence-frequency-editor>
448
-
449
- <div class="k-recur-view">
450
- @if (currentFreq !== 'never') {
451
- <kendo-recurrence-interval-editor
452
- [userNumericOptions]="repeatEveryOptions">
453
- </kendo-recurrence-interval-editor>
454
- }
455
-
456
- @if (currentFreq === 'weekly') {
457
- <kendo-recurrence-weekday-rule-editor>
458
- </kendo-recurrence-weekday-rule-editor>
459
- }
460
-
461
- @if (currentFreq === 'monthly' || currentFreq === 'yearly') {
462
- <kendo-recurrence-monthly-yearly-editor
463
- [userNumericOptions]="repeatOnOptions">
464
- </kendo-recurrence-monthly-yearly-editor>
465
- }
466
-
467
- @if (currentFreq !== 'never') {
468
- <kendo-recurrence-end-rule-editor
469
- [userNumericOptions]="endAfterOptions"
470
- [userDatePickerOptions]="endOnOptions">
471
- </kendo-recurrence-end-rule-editor>
472
- }
473
- </div>
474
- `,
475
- standalone: true,
476
- imports: [RecurrenceEditorLocalizedMessagesDirective, RecurrenceFrequencyEditorComponent, RecurrenceIntervalEditorComponent, RecurrenceWeekdayRuleEditorComponent, RecurrenceMonthlyYearlyEditorComponent, RecurrenceEndRuleEditorComponent]
477
- }]
478
- }], ctorParameters: () => [{ type: i1.RecurrenceService }, { type: i2.IntlService }], propDecorators: { cssClass: [{
479
- type: HostBinding,
480
- args: ['class.k-recurrence-editor']
481
- }], start: [{
482
- type: Input
483
- }], timezone: [{
484
- type: Input
485
- }], weekStart: [{
486
- type: Input
487
- }], repeatEveryOptions: [{
488
- type: Input
489
- }], endAfterOptions: [{
490
- type: Input
491
- }], repeatOnOptions: [{
492
- type: Input
493
- }], endOnOptions: [{
494
- type: Input
495
- }], valueChange: [{
496
- type: Output
497
- }] } });