@progress/kendo-angular-dateinputs 16.3.0-develop.11 → 16.3.0-develop.13
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.
|
@@ -12,7 +12,7 @@ import { IntlService, localeData } from '@progress/kendo-angular-intl';
|
|
|
12
12
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
13
13
|
import { packageMetadata } from '../package-metadata';
|
|
14
14
|
import { cloneDate, isEqual } from '@progress/kendo-date-math';
|
|
15
|
-
import { hasObservers, isControlRequired, KendoInput, setHTMLAttributes, removeHTMLAttributes, isObjectPresent, parseAttributes } from '@progress/kendo-angular-common';
|
|
15
|
+
import { hasObservers, isControlRequired, KendoInput, setHTMLAttributes, removeHTMLAttributes, isObjectPresent, parseAttributes, anyChanged } from '@progress/kendo-angular-common';
|
|
16
16
|
import { Arrow } from './arrow.enum';
|
|
17
17
|
import { noop, isValidRange, getSizeClass, getRoundedClass, getFillModeClass, DEFAULT_FILL_MODE, DEFAULT_ROUNDED, DEFAULT_SIZE } from '../util';
|
|
18
18
|
import { PickerService } from '../common/picker.service';
|
|
@@ -592,7 +592,7 @@ export class DateInputComponent {
|
|
|
592
592
|
*/
|
|
593
593
|
ngOnChanges(changes) {
|
|
594
594
|
this.verifyRange();
|
|
595
|
-
if (
|
|
595
|
+
if (anyChanged(['min', 'max', 'rangeValidation', 'incompleteDateValidation'], changes, false)) {
|
|
596
596
|
this.minValidator = this.rangeValidation ? minValidator(this.min) : noop;
|
|
597
597
|
this.maxValidator = this.rangeValidation ? maxValidator(this.max) : noop;
|
|
598
598
|
this.incompleteValidator = this.incompleteDateValidation ? incompleteDateValidator() : noop;
|
|
@@ -615,6 +615,12 @@ export class DateInputComponent {
|
|
|
615
615
|
this.kendoDate?.setOptions(this.options, true);
|
|
616
616
|
this.updateFormatSections();
|
|
617
617
|
}
|
|
618
|
+
if (anyChanged(['enableMouseWheel', 'autoFill', 'autoSwitchParts', 'autoSwitchKeys', 'twoDigitYearMax', 'allowCaretMode'], changes)) {
|
|
619
|
+
if (!this.kendoDate) {
|
|
620
|
+
return;
|
|
621
|
+
}
|
|
622
|
+
this.kendoDate?.setOptions(this.options, true);
|
|
623
|
+
}
|
|
618
624
|
}
|
|
619
625
|
updateFormatSections() {
|
|
620
626
|
this.formatSections = this.intl.splitDateFormat(this.kendoDate.inputFormat)
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-dateinputs',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
13
|
-
version: '16.3.0-develop.
|
|
12
|
+
publishDate: 1718872204,
|
|
13
|
+
version: '16.3.0-develop.13',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -9,7 +9,7 @@ import * as i1$1 from '@progress/kendo-angular-l10n';
|
|
|
9
9
|
import { ComponentMessages, LocalizationService, L10N_PREFIX, RTL } from '@progress/kendo-angular-l10n';
|
|
10
10
|
import { cloneDate, MS_PER_HOUR, MS_PER_MINUTE, addDays, getDate, isEqual, addDecades, addCenturies, firstDecadeOfCentury, lastDecadeOfCentury, firstYearOfDecade, createDate, lastYearOfDecade, lastMonthOfYear, lastDayOfMonth, durationInCenturies, addYears, durationInDecades, addWeeks, addMonths, firstDayOfMonth, dayOfWeek, durationInMonths, firstMonthOfYear, durationInYears, weekInYear } from '@progress/kendo-date-math';
|
|
11
11
|
import * as i1$2 from '@progress/kendo-angular-common';
|
|
12
|
-
import { isDocumentAvailable, guid, Keys as Keys$1, hasObservers, isObject, KendoInput, isObjectPresent, removeHTMLAttributes, parseAttributes, isControlRequired, setHTMLAttributes, MultiTabStop, EventsModule, ResizeSensorModule, ToggleButtonTabStopModule } from '@progress/kendo-angular-common';
|
|
12
|
+
import { isDocumentAvailable, guid, Keys as Keys$1, hasObservers, isObject, KendoInput, isObjectPresent, removeHTMLAttributes, parseAttributes, anyChanged, isControlRequired, setHTMLAttributes, MultiTabStop, EventsModule, ResizeSensorModule, ToggleButtonTabStopModule } from '@progress/kendo-angular-common';
|
|
13
13
|
export { ToggleButtonTabStopDirective } from '@progress/kendo-angular-common';
|
|
14
14
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
15
15
|
import * as i1 from '@progress/kendo-angular-intl';
|
|
@@ -37,8 +37,8 @@ const packageMetadata = {
|
|
|
37
37
|
name: '@progress/kendo-angular-dateinputs',
|
|
38
38
|
productName: 'Kendo UI for Angular',
|
|
39
39
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
40
|
-
publishDate:
|
|
41
|
-
version: '16.3.0-develop.
|
|
40
|
+
publishDate: 1718872204,
|
|
41
|
+
version: '16.3.0-develop.13',
|
|
42
42
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
43
43
|
};
|
|
44
44
|
|
|
@@ -8595,9 +8595,9 @@ class DateInputComponent {
|
|
|
8595
8595
|
* @hidden
|
|
8596
8596
|
*/
|
|
8597
8597
|
ngOnChanges(changes) {
|
|
8598
|
-
var _a;
|
|
8598
|
+
var _a, _b;
|
|
8599
8599
|
this.verifyRange();
|
|
8600
|
-
if (
|
|
8600
|
+
if (anyChanged(['min', 'max', 'rangeValidation', 'incompleteDateValidation'], changes, false)) {
|
|
8601
8601
|
this.minValidator = this.rangeValidation ? minValidator(this.min) : noop$2;
|
|
8602
8602
|
this.maxValidator = this.rangeValidation ? maxValidator(this.max) : noop$2;
|
|
8603
8603
|
this.incompleteValidator = this.incompleteDateValidation ? incompleteDateValidator() : noop$2;
|
|
@@ -8620,6 +8620,12 @@ class DateInputComponent {
|
|
|
8620
8620
|
(_a = this.kendoDate) === null || _a === void 0 ? void 0 : _a.setOptions(this.options, true);
|
|
8621
8621
|
this.updateFormatSections();
|
|
8622
8622
|
}
|
|
8623
|
+
if (anyChanged(['enableMouseWheel', 'autoFill', 'autoSwitchParts', 'autoSwitchKeys', 'twoDigitYearMax', 'allowCaretMode'], changes)) {
|
|
8624
|
+
if (!this.kendoDate) {
|
|
8625
|
+
return;
|
|
8626
|
+
}
|
|
8627
|
+
(_b = this.kendoDate) === null || _b === void 0 ? void 0 : _b.setOptions(this.options, true);
|
|
8628
|
+
}
|
|
8623
8629
|
}
|
|
8624
8630
|
updateFormatSections() {
|
|
8625
8631
|
this.formatSections = this.intl.splitDateFormat(this.kendoDate.inputFormat)
|
|
@@ -9,7 +9,7 @@ import * as i1$1 from '@progress/kendo-angular-l10n';
|
|
|
9
9
|
import { ComponentMessages, LocalizationService, L10N_PREFIX, RTL } from '@progress/kendo-angular-l10n';
|
|
10
10
|
import { cloneDate, MS_PER_HOUR, MS_PER_MINUTE, addDays, getDate, isEqual, addDecades, addCenturies, firstDecadeOfCentury, lastDecadeOfCentury, firstYearOfDecade, createDate, lastYearOfDecade, lastMonthOfYear, lastDayOfMonth, durationInCenturies, addYears, durationInDecades, addWeeks, addMonths, firstDayOfMonth, dayOfWeek, durationInMonths, firstMonthOfYear, durationInYears, weekInYear } from '@progress/kendo-date-math';
|
|
11
11
|
import * as i1$2 from '@progress/kendo-angular-common';
|
|
12
|
-
import { isDocumentAvailable, guid, Keys as Keys$1, hasObservers, isObject, KendoInput, isObjectPresent, removeHTMLAttributes, parseAttributes, isControlRequired, setHTMLAttributes, MultiTabStop, EventsModule, ResizeSensorModule, ToggleButtonTabStopModule } from '@progress/kendo-angular-common';
|
|
12
|
+
import { isDocumentAvailable, guid, Keys as Keys$1, hasObservers, isObject, KendoInput, isObjectPresent, removeHTMLAttributes, parseAttributes, anyChanged, isControlRequired, setHTMLAttributes, MultiTabStop, EventsModule, ResizeSensorModule, ToggleButtonTabStopModule } from '@progress/kendo-angular-common';
|
|
13
13
|
export { ToggleButtonTabStopDirective } from '@progress/kendo-angular-common';
|
|
14
14
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
15
15
|
import * as i1 from '@progress/kendo-angular-intl';
|
|
@@ -37,8 +37,8 @@ const packageMetadata = {
|
|
|
37
37
|
name: '@progress/kendo-angular-dateinputs',
|
|
38
38
|
productName: 'Kendo UI for Angular',
|
|
39
39
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
40
|
-
publishDate:
|
|
41
|
-
version: '16.3.0-develop.
|
|
40
|
+
publishDate: 1718872204,
|
|
41
|
+
version: '16.3.0-develop.13',
|
|
42
42
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
43
43
|
};
|
|
44
44
|
|
|
@@ -8578,7 +8578,7 @@ class DateInputComponent {
|
|
|
8578
8578
|
*/
|
|
8579
8579
|
ngOnChanges(changes) {
|
|
8580
8580
|
this.verifyRange();
|
|
8581
|
-
if (
|
|
8581
|
+
if (anyChanged(['min', 'max', 'rangeValidation', 'incompleteDateValidation'], changes, false)) {
|
|
8582
8582
|
this.minValidator = this.rangeValidation ? minValidator(this.min) : noop$2;
|
|
8583
8583
|
this.maxValidator = this.rangeValidation ? maxValidator(this.max) : noop$2;
|
|
8584
8584
|
this.incompleteValidator = this.incompleteDateValidation ? incompleteDateValidator() : noop$2;
|
|
@@ -8601,6 +8601,12 @@ class DateInputComponent {
|
|
|
8601
8601
|
this.kendoDate?.setOptions(this.options, true);
|
|
8602
8602
|
this.updateFormatSections();
|
|
8603
8603
|
}
|
|
8604
|
+
if (anyChanged(['enableMouseWheel', 'autoFill', 'autoSwitchParts', 'autoSwitchKeys', 'twoDigitYearMax', 'allowCaretMode'], changes)) {
|
|
8605
|
+
if (!this.kendoDate) {
|
|
8606
|
+
return;
|
|
8607
|
+
}
|
|
8608
|
+
this.kendoDate?.setOptions(this.options, true);
|
|
8609
|
+
}
|
|
8604
8610
|
}
|
|
8605
8611
|
updateFormatSections() {
|
|
8606
8612
|
this.formatSections = this.intl.splitDateFormat(this.kendoDate.inputFormat)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-dateinputs",
|
|
3
|
-
"version": "16.3.0-develop.
|
|
3
|
+
"version": "16.3.0-develop.13",
|
|
4
4
|
"description": "Kendo UI for Angular Date Inputs Package - Everything you need to add date selection functionality to apps (DatePicker, TimePicker, DateInput, DateRangePicker, DateTimePicker, Calendar, and MultiViewCalendar).",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -34,18 +34,18 @@
|
|
|
34
34
|
"@angular/forms": "15 - 18",
|
|
35
35
|
"@angular/platform-browser": "15 - 18",
|
|
36
36
|
"@progress/kendo-licensing": "^1.0.2",
|
|
37
|
-
"@progress/kendo-angular-buttons": "16.3.0-develop.
|
|
38
|
-
"@progress/kendo-angular-common": "16.3.0-develop.
|
|
39
|
-
"@progress/kendo-angular-intl": "16.3.0-develop.
|
|
40
|
-
"@progress/kendo-angular-l10n": "16.3.0-develop.
|
|
41
|
-
"@progress/kendo-angular-icons": "16.3.0-develop.
|
|
42
|
-
"@progress/kendo-angular-popup": "16.3.0-develop.
|
|
43
|
-
"@progress/kendo-angular-navigation": "16.3.0-develop.
|
|
37
|
+
"@progress/kendo-angular-buttons": "16.3.0-develop.13",
|
|
38
|
+
"@progress/kendo-angular-common": "16.3.0-develop.13",
|
|
39
|
+
"@progress/kendo-angular-intl": "16.3.0-develop.13",
|
|
40
|
+
"@progress/kendo-angular-l10n": "16.3.0-develop.13",
|
|
41
|
+
"@progress/kendo-angular-icons": "16.3.0-develop.13",
|
|
42
|
+
"@progress/kendo-angular-popup": "16.3.0-develop.13",
|
|
43
|
+
"@progress/kendo-angular-navigation": "16.3.0-develop.13",
|
|
44
44
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"tslib": "^2.3.1",
|
|
48
|
-
"@progress/kendo-angular-schematics": "16.3.0-develop.
|
|
48
|
+
"@progress/kendo-angular-schematics": "16.3.0-develop.13",
|
|
49
49
|
"@progress/kendo-common": "^0.2.0",
|
|
50
50
|
"@progress/kendo-date-math": "^1.1.0",
|
|
51
51
|
"@progress/kendo-dateinputs-common": "^0.3.3"
|