@progress/kendo-angular-dateinputs 21.4.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.
- package/calendar/localization/calendar-messages.d.ts +1 -1
- package/calendar/localization/multiview-calendar-messages.d.ts +1 -1
- package/dateinput/localization/messages.d.ts +1 -1
- package/datepicker/localization/messages.d.ts +1 -1
- package/daterange/date-range-input.d.ts +1 -1
- package/daterange/localization/messages.d.ts +1 -1
- package/datetimepicker/localization/messages.d.ts +1 -1
- package/fesm2022/progress-kendo-angular-dateinputs.mjs +262 -262
- package/package.json +15 -23
- package/timepicker/localization/messages.d.ts +1 -1
- package/esm2022/calendar/calendar.component.mjs +0 -1711
- package/esm2022/calendar/calendar.module.mjs +0 -91
- package/esm2022/calendar/calendars.module.mjs +0 -87
- package/esm2022/calendar/footer.component.mjs +0 -77
- package/esm2022/calendar/for.directive.mjs +0 -116
- package/esm2022/calendar/header.component.mjs +0 -367
- package/esm2022/calendar/horizontal-view-list.component.mjs +0 -580
- package/esm2022/calendar/localization/calendar-custom-messages.component.mjs +0 -51
- package/esm2022/calendar/localization/calendar-localized-messages.directive.mjs +0 -39
- package/esm2022/calendar/localization/calendar-messages.mjs +0 -45
- package/esm2022/calendar/localization/multiview-calendar-custom-messages.component.mjs +0 -51
- package/esm2022/calendar/localization/multiview-calendar-localized-messages.directive.mjs +0 -39
- package/esm2022/calendar/localization/multiview-calendar-messages.mjs +0 -45
- package/esm2022/calendar/models/cell-context.interface.mjs +0 -5
- package/esm2022/calendar/models/navigation-action.enum.mjs +0 -20
- package/esm2022/calendar/models/orientation.mjs +0 -5
- package/esm2022/calendar/models/row-length-options.interface.mjs +0 -5
- package/esm2022/calendar/models/scrollable.interface.mjs +0 -5
- package/esm2022/calendar/models/selection-range-end.type.mjs +0 -5
- package/esm2022/calendar/models/selection-range.interface.mjs +0 -10
- package/esm2022/calendar/models/selection.mjs +0 -50
- package/esm2022/calendar/models/type.mjs +0 -5
- package/esm2022/calendar/models/view-service.interface.mjs +0 -5
- package/esm2022/calendar/models/view.enum.mjs +0 -16
- package/esm2022/calendar/models/view.type.mjs +0 -5
- package/esm2022/calendar/multiview-calendar.component.mjs +0 -1564
- package/esm2022/calendar/multiview-calendar.module.mjs +0 -89
- package/esm2022/calendar/navigation.component.mjs +0 -230
- package/esm2022/calendar/services/bus-view.service.mjs +0 -83
- package/esm2022/calendar/services/century-view.service.mjs +0 -219
- package/esm2022/calendar/services/decade-view.service.mjs +0 -217
- package/esm2022/calendar/services/disabled-dates.service.mjs +0 -66
- package/esm2022/calendar/services/dom.service.mjs +0 -203
- package/esm2022/calendar/services/month-view.service.mjs +0 -223
- package/esm2022/calendar/services/navigation.service.mjs +0 -60
- package/esm2022/calendar/services/scroll-sync.service.mjs +0 -89
- package/esm2022/calendar/services/selection.service.mjs +0 -62
- package/esm2022/calendar/services/weeknames.service.mjs +0 -33
- package/esm2022/calendar/services/year-view.service.mjs +0 -204
- package/esm2022/calendar/templates/cell-template.directive.mjs +0 -45
- package/esm2022/calendar/templates/century-cell-template.directive.mjs +0 -43
- package/esm2022/calendar/templates/decade-cell-template.directive.mjs +0 -43
- package/esm2022/calendar/templates/footer-template.directive.mjs +0 -44
- package/esm2022/calendar/templates/header-template.directive.mjs +0 -47
- package/esm2022/calendar/templates/header-title-template.directive.mjs +0 -43
- package/esm2022/calendar/templates/month-cell-template.directive.mjs +0 -43
- package/esm2022/calendar/templates/navigation-item-template.directive.mjs +0 -43
- package/esm2022/calendar/templates/weeknumber-cell-template.directive.mjs +0 -43
- package/esm2022/calendar/templates/year-cell-template.directive.mjs +0 -43
- package/esm2022/calendar/view-list.component.mjs +0 -497
- package/esm2022/calendar/view.component.mjs +0 -432
- package/esm2022/common/dom-queries.mjs +0 -24
- package/esm2022/common/models/fillmode.mjs +0 -5
- package/esm2022/common/models/rounded.mjs +0 -5
- package/esm2022/common/models/size.mjs +0 -5
- package/esm2022/common/models/week-days-format.mjs +0 -5
- package/esm2022/common/picker.service.mjs +0 -17
- package/esm2022/common/utils.mjs +0 -70
- package/esm2022/dateinput/arrow.enum.mjs +0 -13
- package/esm2022/dateinput/dateinput.component.mjs +0 -1196
- package/esm2022/dateinput/dateinput.module.mjs +0 -45
- package/esm2022/dateinput/localization/dateinput-custom-messages.component.mjs +0 -60
- package/esm2022/dateinput/localization/dateinput-localized-messages.directive.mjs +0 -39
- package/esm2022/dateinput/localization/messages.mjs +0 -39
- package/esm2022/dateinput/models/format-placeholder.model.mjs +0 -5
- package/esm2022/dateinput/models/format-settings.model.mjs +0 -5
- package/esm2022/dateinput/models/incremental-steps.model.mjs +0 -5
- package/esm2022/dateinputs.module.mjs +0 -136
- package/esm2022/datepicker/datepicker.component.mjs +0 -1758
- package/esm2022/datepicker/datepicker.module.mjs +0 -83
- package/esm2022/datepicker/localization/datepicker-custom-messages.component.mjs +0 -53
- package/esm2022/datepicker/localization/datepicker-localized-messages.directive.mjs +0 -39
- package/esm2022/datepicker/localization/messages.mjs +0 -63
- package/esm2022/daterange/auto-correct-on.type.mjs +0 -5
- package/esm2022/daterange/date-range-end-input.directive.mjs +0 -105
- package/esm2022/daterange/date-range-input.mjs +0 -138
- package/esm2022/daterange/date-range-popup-template.directive.mjs +0 -36
- package/esm2022/daterange/date-range-popup.component.mjs +0 -1051
- package/esm2022/daterange/date-range-selection.directive.mjs +0 -223
- package/esm2022/daterange/date-range-start-input.directive.mjs +0 -109
- package/esm2022/daterange/date-range.component.mjs +0 -116
- package/esm2022/daterange/date-range.module.mjs +0 -103
- package/esm2022/daterange/date-range.service.mjs +0 -225
- package/esm2022/daterange/localization/daterange-popup-custom-messages.component.mjs +0 -43
- package/esm2022/daterange/localization/daterange-popup-localized-messages.directive.mjs +0 -39
- package/esm2022/daterange/localization/messages.mjs +0 -51
- package/esm2022/datetimepicker/datetimepicker.component.mjs +0 -2505
- package/esm2022/datetimepicker/datetimepicker.module.mjs +0 -106
- package/esm2022/datetimepicker/localization/datetimepicker-custom-messages.component.mjs +0 -52
- package/esm2022/datetimepicker/localization/localized-messages.directive.mjs +0 -39
- package/esm2022/datetimepicker/localization/messages.mjs +0 -153
- package/esm2022/datetimepicker/models/active-tab.type.mjs +0 -5
- package/esm2022/defaults.mjs +0 -24
- package/esm2022/directives.mjs +0 -146
- package/esm2022/index.mjs +0 -78
- package/esm2022/package-metadata.mjs +0 -16
- package/esm2022/popup-settings.model.mjs +0 -5
- package/esm2022/preventable-event.mjs +0 -27
- package/esm2022/progress-kendo-angular-dateinputs.mjs +0 -8
- package/esm2022/timepicker/localization/messages.mjs +0 -105
- package/esm2022/timepicker/localization/timepicker-custom-messages.component.mjs +0 -54
- package/esm2022/timepicker/localization/timepicker-localized-messages.directive.mjs +0 -39
- package/esm2022/timepicker/localization/timeselector-custom-messages.component.mjs +0 -45
- package/esm2022/timepicker/localization/timeselector-localized-messages.directive.mjs +0 -39
- package/esm2022/timepicker/models/incremental-steps.model.mjs +0 -5
- package/esm2022/timepicker/models/list-item.interface.mjs +0 -5
- package/esm2022/timepicker/models/list-service-settings.mjs +0 -5
- package/esm2022/timepicker/models/list-service.interface.mjs +0 -5
- package/esm2022/timepicker/models/time-part.default.mjs +0 -14
- package/esm2022/timepicker/services/dayperiod.service.mjs +0 -131
- package/esm2022/timepicker/services/dom.service.mjs +0 -126
- package/esm2022/timepicker/services/hours.service.mjs +0 -130
- package/esm2022/timepicker/services/milliseconds.service.mjs +0 -131
- package/esm2022/timepicker/services/minutes.service.mjs +0 -128
- package/esm2022/timepicker/services/seconds.service.mjs +0 -128
- package/esm2022/timepicker/timelist.component.mjs +0 -388
- package/esm2022/timepicker/timepicker.component.mjs +0 -1598
- package/esm2022/timepicker/timepicker.module.mjs +0 -71
- package/esm2022/timepicker/timeselector.component.mjs +0 -728
- package/esm2022/timepicker/util.mjs +0 -70
- package/esm2022/util.mjs +0 -406
- package/esm2022/validators/disabled-date.validator.mjs +0 -18
- package/esm2022/validators/disabled-dates-range.validator.mjs +0 -26
- package/esm2022/validators/incomplete-date.validator.mjs +0 -18
- package/esm2022/validators/max.validator.mjs +0 -21
- package/esm2022/validators/min.validator.mjs +0 -21
- package/esm2022/validators/time-range.validator.mjs +0 -23
- package/esm2022/virtualization/models/scrollable.interface.mjs +0 -5
- package/esm2022/virtualization/services/row-height.service.mjs +0 -73
- package/esm2022/virtualization/services/scroller.service.mjs +0 -109
- package/esm2022/virtualization/virtualization.component.mjs +0 -324
|
@@ -1,225 +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, Renderer2, Optional } from '@angular/core';
|
|
6
|
-
import { BehaviorSubject } from 'rxjs';
|
|
7
|
-
import { EMPTY_SELECTIONRANGE } from '../calendar/models/selection-range.interface';
|
|
8
|
-
import { isEqual } from '@progress/kendo-date-math';
|
|
9
|
-
import { attributeNames } from '../common/utils';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
const isActive = (cmp) => (cmp && cmp.isActive) || false;
|
|
12
|
-
const hasActiveContent = (popup) => popup && popup.hasActiveContent();
|
|
13
|
-
/**
|
|
14
|
-
* Manages communication between components inside the DateRangeComponent.
|
|
15
|
-
* For example, handles interactions between the start and end DateInput components and the DateRangePopup component.
|
|
16
|
-
*/
|
|
17
|
-
export class DateRangeService {
|
|
18
|
-
renderer;
|
|
19
|
-
/**
|
|
20
|
-
* Notifies when the `activeRangeEnd` state changes.
|
|
21
|
-
*/
|
|
22
|
-
activeRangeEnd$ = new BehaviorSubject(null);
|
|
23
|
-
/**
|
|
24
|
-
* Notifies when the `focusedDate` changes.
|
|
25
|
-
*/
|
|
26
|
-
focusedDate$ = new BehaviorSubject(null);
|
|
27
|
-
/**
|
|
28
|
-
* Notifies when the end DateInput component changes.
|
|
29
|
-
* For example, when you attach a new end `DateInput` or detach the old one.
|
|
30
|
-
*/
|
|
31
|
-
endInput$ = new BehaviorSubject(null);
|
|
32
|
-
/**
|
|
33
|
-
* Notifies when the start DateInput component changes.
|
|
34
|
-
* For example, when you attach a new start `DateInput` or detach the old one.
|
|
35
|
-
*/
|
|
36
|
-
startInput$ = new BehaviorSubject(null);
|
|
37
|
-
/**
|
|
38
|
-
* Notifies when the `DateRangePopup` component changes.
|
|
39
|
-
*/
|
|
40
|
-
dateRangePopup$ = new BehaviorSubject(null);
|
|
41
|
-
/**
|
|
42
|
-
* Notifies when the selection range state changes.
|
|
43
|
-
*/
|
|
44
|
-
range$ = new BehaviorSubject(EMPTY_SELECTIONRANGE);
|
|
45
|
-
/**
|
|
46
|
-
* Gets the current `activeRangeEnd` value.
|
|
47
|
-
*/
|
|
48
|
-
get activeRangeEnd() {
|
|
49
|
-
return this.activeRangeEnd$.value;
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* Gets the current `focusedDate` value.
|
|
53
|
-
*/
|
|
54
|
-
get focusedDate() {
|
|
55
|
-
return this.focusedDate$.value;
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* Gets the minimum range value.
|
|
59
|
-
* Takes the `min` value from the start DateInput component or the `min` value of the calendar.
|
|
60
|
-
*/
|
|
61
|
-
get min() {
|
|
62
|
-
return (this.startInput$.value || {}).min || null;
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* Gets the maximum range value.
|
|
66
|
-
* Takes the `max` value from the end DateInput component or the `max` value of the calendar.
|
|
67
|
-
*/
|
|
68
|
-
get max() {
|
|
69
|
-
return (this.endInput$.value || {}).max || null;
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* Gets the current `selectionRange` value.
|
|
73
|
-
*/
|
|
74
|
-
get selectionRange() {
|
|
75
|
-
return this.range$.value;
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* @hidden
|
|
79
|
-
* Gets the start input element.
|
|
80
|
-
*/
|
|
81
|
-
get inputStartElement() {
|
|
82
|
-
return this.startInput$.value.inputElement;
|
|
83
|
-
}
|
|
84
|
-
/**
|
|
85
|
-
* @hidden
|
|
86
|
-
* Gets the end input element.
|
|
87
|
-
*/
|
|
88
|
-
get inputEndElement() {
|
|
89
|
-
return this.endInput$.value.inputElement;
|
|
90
|
-
}
|
|
91
|
-
/** @hidden */
|
|
92
|
-
constructor(renderer) {
|
|
93
|
-
this.renderer = renderer;
|
|
94
|
-
}
|
|
95
|
-
/**
|
|
96
|
-
* Opens the registered DateRangePopup component.
|
|
97
|
-
* Opens the popup and focuses the calendar.
|
|
98
|
-
*/
|
|
99
|
-
activatePopup() {
|
|
100
|
-
const dateRangePopup = this.dateRangePopup$.value;
|
|
101
|
-
if (!dateRangePopup) {
|
|
102
|
-
return;
|
|
103
|
-
}
|
|
104
|
-
if (this.startInput$.value) {
|
|
105
|
-
this.renderer.setAttribute(this.inputStartElement, attributeNames.ariaControls, dateRangePopup.popupUID);
|
|
106
|
-
this.renderer.setAttribute(this.inputStartElement, attributeNames.ariaExpanded, 'true');
|
|
107
|
-
this.renderer.setAttribute(this.inputEndElement, attributeNames.ariaControls, dateRangePopup.popupUID);
|
|
108
|
-
this.renderer.setAttribute(this.inputEndElement, attributeNames.ariaExpanded, 'true');
|
|
109
|
-
}
|
|
110
|
-
dateRangePopup.activate();
|
|
111
|
-
}
|
|
112
|
-
/**
|
|
113
|
-
* Deactivates the registered `DateRangePopup` component.
|
|
114
|
-
* The method closes the popup.
|
|
115
|
-
*/
|
|
116
|
-
deactivatePopup() {
|
|
117
|
-
const dateRangePopup = this.dateRangePopup$.value;
|
|
118
|
-
if (this.startInput$.value) {
|
|
119
|
-
this.renderer.removeAttribute(this.inputStartElement, attributeNames.ariaControls);
|
|
120
|
-
this.renderer.setAttribute(this.inputStartElement, attributeNames.ariaExpanded, 'false');
|
|
121
|
-
this.renderer.removeAttribute(this.inputStartElement, attributeNames.ariaActiveDescendant);
|
|
122
|
-
this.renderer.removeAttribute(this.inputEndElement, attributeNames.ariaControls);
|
|
123
|
-
this.renderer.setAttribute(this.inputEndElement, attributeNames.ariaExpanded, 'false');
|
|
124
|
-
this.renderer.removeAttribute(this.inputEndElement, attributeNames.ariaActiveDescendant);
|
|
125
|
-
}
|
|
126
|
-
if (!(dateRangePopup && dateRangePopup.show)) {
|
|
127
|
-
return;
|
|
128
|
-
}
|
|
129
|
-
dateRangePopup.show = false;
|
|
130
|
-
}
|
|
131
|
-
/**
|
|
132
|
-
* @hidden
|
|
133
|
-
*/
|
|
134
|
-
setActiveDescendent(id) {
|
|
135
|
-
this.renderer.setAttribute(this.inputStartElement, attributeNames.ariaActiveDescendant, id);
|
|
136
|
-
this.renderer.setAttribute(this.inputEndElement, attributeNames.ariaActiveDescendant, id);
|
|
137
|
-
}
|
|
138
|
-
/**
|
|
139
|
-
* @hidden
|
|
140
|
-
*
|
|
141
|
-
* Deactivates the registered `DateRangePopup` component and fires the `cancel` event.
|
|
142
|
-
* The method closes the popup.
|
|
143
|
-
*/
|
|
144
|
-
cancelPopup() {
|
|
145
|
-
const dateRangePopup = this.dateRangePopup$.value;
|
|
146
|
-
if (!(dateRangePopup && dateRangePopup.show)) {
|
|
147
|
-
return;
|
|
148
|
-
}
|
|
149
|
-
dateRangePopup.cancelPopup();
|
|
150
|
-
}
|
|
151
|
-
/**
|
|
152
|
-
* Completes all observables to prevent memory leaks.
|
|
153
|
-
* Call this method when you destroy a component that uses the service.
|
|
154
|
-
*/
|
|
155
|
-
destroy() {
|
|
156
|
-
this.activeRangeEnd$.complete();
|
|
157
|
-
this.dateRangePopup$.complete();
|
|
158
|
-
this.focusedDate$.complete();
|
|
159
|
-
this.endInput$.complete();
|
|
160
|
-
this.startInput$.complete();
|
|
161
|
-
this.range$.complete();
|
|
162
|
-
}
|
|
163
|
-
/**
|
|
164
|
-
* Checks if any component inside the DateRangeComponent is active.
|
|
165
|
-
* For example, detects an open popup or a focused DateInput component.
|
|
166
|
-
*
|
|
167
|
-
* @returns {boolean} Returns `true` if an active component is present.
|
|
168
|
-
*/
|
|
169
|
-
hasActiveComponent() {
|
|
170
|
-
const popup = this.dateRangePopup$.value;
|
|
171
|
-
const isPopup = isActive(popup);
|
|
172
|
-
const isStart = isActive(this.startInput$.value);
|
|
173
|
-
const isEnd = isActive(this.endInput$.value);
|
|
174
|
-
return isPopup || isStart || isEnd || hasActiveContent(popup) || false;
|
|
175
|
-
}
|
|
176
|
-
/**
|
|
177
|
-
* Registers a new start DateInput component and notifies all `startInput$` listeners.
|
|
178
|
-
*/
|
|
179
|
-
registerStartInput(startInput) {
|
|
180
|
-
this.startInput$.next(startInput);
|
|
181
|
-
}
|
|
182
|
-
/**
|
|
183
|
-
* Registers a new end `DateInput` component and notifies all `endInput$` listeners.
|
|
184
|
-
*/
|
|
185
|
-
registerEndInput(endInput) {
|
|
186
|
-
this.endInput$.next(endInput);
|
|
187
|
-
}
|
|
188
|
-
/**
|
|
189
|
-
* Registers a new `DateRangePopup` component and notifies all `dateRangePopup$` listeners.
|
|
190
|
-
*/
|
|
191
|
-
registerPopup(dateRangePopup) {
|
|
192
|
-
this.dateRangePopup$.next(dateRangePopup);
|
|
193
|
-
}
|
|
194
|
-
/**
|
|
195
|
-
* Updates the `activeRangeEnd` value and notifies all `activeRangeEnd$` listeners.
|
|
196
|
-
*/
|
|
197
|
-
setActiveRangeEnd(activeRange) {
|
|
198
|
-
if (!activeRange || this.activeRangeEnd === activeRange) {
|
|
199
|
-
return;
|
|
200
|
-
}
|
|
201
|
-
this.activeRangeEnd$.next(activeRange);
|
|
202
|
-
}
|
|
203
|
-
/**
|
|
204
|
-
* Updates the focused date and notifies all `focusedDate$` listeners.
|
|
205
|
-
*/
|
|
206
|
-
setFocusedDate(value) {
|
|
207
|
-
if (isEqual(this.focusedDate$.value, value)) {
|
|
208
|
-
return;
|
|
209
|
-
}
|
|
210
|
-
this.focusedDate$.next(value);
|
|
211
|
-
}
|
|
212
|
-
/**
|
|
213
|
-
* Updates the selection range and notifies all `range$` listeners.
|
|
214
|
-
*/
|
|
215
|
-
setRange(range = EMPTY_SELECTIONRANGE) {
|
|
216
|
-
this.range$.next(range);
|
|
217
|
-
}
|
|
218
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DateRangeService, deps: [{ token: i0.Renderer2, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
219
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DateRangeService });
|
|
220
|
-
}
|
|
221
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DateRangeService, decorators: [{
|
|
222
|
-
type: Injectable
|
|
223
|
-
}], ctorParameters: () => [{ type: i0.Renderer2, decorators: [{
|
|
224
|
-
type: Optional
|
|
225
|
-
}] }] });
|
|
@@ -1,43 +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 { DateRangePopupMessages } from './messages';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
import * as i1 from "@progress/kendo-angular-l10n";
|
|
10
|
-
/**
|
|
11
|
-
* Custom component messages override default component messages ([see example]({% slug globalization_dateinputs %}#toc-custom-messages)).
|
|
12
|
-
*/
|
|
13
|
-
export class DateRangePopupCustomMessagesComponent extends DateRangePopupMessages {
|
|
14
|
-
service;
|
|
15
|
-
constructor(service) {
|
|
16
|
-
super();
|
|
17
|
-
this.service = service;
|
|
18
|
-
}
|
|
19
|
-
get override() {
|
|
20
|
-
return true;
|
|
21
|
-
}
|
|
22
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DateRangePopupCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: DateRangePopupCustomMessagesComponent, isStandalone: true, selector: "kendo-daterange-popup-messages", providers: [
|
|
24
|
-
{
|
|
25
|
-
provide: DateRangePopupMessages,
|
|
26
|
-
useExisting: forwardRef(() => DateRangePopupCustomMessagesComponent)
|
|
27
|
-
}
|
|
28
|
-
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
29
|
-
}
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DateRangePopupCustomMessagesComponent, decorators: [{
|
|
31
|
-
type: Component,
|
|
32
|
-
args: [{
|
|
33
|
-
providers: [
|
|
34
|
-
{
|
|
35
|
-
provide: DateRangePopupMessages,
|
|
36
|
-
useExisting: forwardRef(() => DateRangePopupCustomMessagesComponent)
|
|
37
|
-
}
|
|
38
|
-
],
|
|
39
|
-
selector: 'kendo-daterange-popup-messages',
|
|
40
|
-
template: ``,
|
|
41
|
-
standalone: true
|
|
42
|
-
}]
|
|
43
|
-
}], 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 { DateRangePopupMessages } 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 DateRangePopupLocalizedMessagesDirective extends DateRangePopupMessages {
|
|
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: DateRangePopupLocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: DateRangePopupLocalizedMessagesDirective, isStandalone: true, selector: "[kendoDateRangePopupLocalizedMessages]", providers: [
|
|
21
|
-
{
|
|
22
|
-
provide: DateRangePopupMessages,
|
|
23
|
-
useExisting: forwardRef(() => DateRangePopupLocalizedMessagesDirective)
|
|
24
|
-
}
|
|
25
|
-
], usesInheritance: true, ngImport: i0 });
|
|
26
|
-
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DateRangePopupLocalizedMessagesDirective, decorators: [{
|
|
28
|
-
type: Directive,
|
|
29
|
-
args: [{
|
|
30
|
-
providers: [
|
|
31
|
-
{
|
|
32
|
-
provide: DateRangePopupMessages,
|
|
33
|
-
useExisting: forwardRef(() => DateRangePopupLocalizedMessagesDirective)
|
|
34
|
-
}
|
|
35
|
-
],
|
|
36
|
-
selector: '[kendoDateRangePopupLocalizedMessages]',
|
|
37
|
-
standalone: true
|
|
38
|
-
}]
|
|
39
|
-
}], ctorParameters: () => [{ type: i1.LocalizationService }] });
|
|
@@ -1,51 +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 DateRangePopupMessages extends ComponentMessages {
|
|
12
|
-
/**
|
|
13
|
-
* The text of the **Accept** button in the popup footer of the DateRange Popup.
|
|
14
|
-
*/
|
|
15
|
-
accept;
|
|
16
|
-
/**
|
|
17
|
-
* The label of the **Accept** button in the popup footer of the DateRange Popup.
|
|
18
|
-
*/
|
|
19
|
-
acceptLabel;
|
|
20
|
-
/**
|
|
21
|
-
* The text of the **Cancel** button in the popup footer of the DateRange Popup.
|
|
22
|
-
*/
|
|
23
|
-
cancel;
|
|
24
|
-
/**
|
|
25
|
-
* The label of the **Cancel** button in the popup footer of the DateRange Popup.
|
|
26
|
-
*/
|
|
27
|
-
cancelLabel;
|
|
28
|
-
/**
|
|
29
|
-
* The title of the Close button of the ActionSheet that is rendered instead of the Popup when using small screen devices in adaptive mode.
|
|
30
|
-
*/
|
|
31
|
-
adaptiveCloseButtonTitle;
|
|
32
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DateRangePopupMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
33
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: DateRangePopupMessages, selector: "kendo-daterangepopup-messages-base", inputs: { accept: "accept", acceptLabel: "acceptLabel", cancel: "cancel", cancelLabel: "cancelLabel", adaptiveCloseButtonTitle: "adaptiveCloseButtonTitle" }, usesInheritance: true, ngImport: i0 });
|
|
34
|
-
}
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DateRangePopupMessages, decorators: [{
|
|
36
|
-
type: Directive,
|
|
37
|
-
args: [{
|
|
38
|
-
// eslint-disable-next-line
|
|
39
|
-
selector: 'kendo-daterangepopup-messages-base'
|
|
40
|
-
}]
|
|
41
|
-
}], propDecorators: { accept: [{
|
|
42
|
-
type: Input
|
|
43
|
-
}], acceptLabel: [{
|
|
44
|
-
type: Input
|
|
45
|
-
}], cancel: [{
|
|
46
|
-
type: Input
|
|
47
|
-
}], cancelLabel: [{
|
|
48
|
-
type: Input
|
|
49
|
-
}], adaptiveCloseButtonTitle: [{
|
|
50
|
-
type: Input
|
|
51
|
-
}] } });
|