@progress/kendo-angular-dateinputs 25.0.0-develop.2 → 25.0.0-develop.3
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/fesm2022/progress-kendo-angular-dateinputs.mjs +17 -11
- package/index.d.ts +3 -1
- package/package-metadata.mjs +2 -2
- package/package.json +11 -11
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
|
-
import { Injectable, EventEmitter, Input, Directive, isDevMode, Output, Component, HostBinding, HostListener, ChangeDetectionStrategy, forwardRef, ElementRef, ViewChild, ContentChild, InjectionToken, Inject, NgZone, Optional, ViewContainerRef, ViewChildren, TemplateRef, ContentChildren, NgModule } from '@angular/core';
|
|
6
|
+
import { Injectable, EventEmitter, Input, Directive, isDevMode, Output, Component, HostBinding, HostListener, ChangeDetectionStrategy, forwardRef, ElementRef, ViewChild, ContentChild, InjectionToken, Inject, NgZone, Optional, ViewContainerRef, ViewChildren, signal, TemplateRef, ContentChildren, NgModule } from '@angular/core';
|
|
7
7
|
import { NG_VALUE_ACCESSOR, NG_VALIDATORS, NgControl } from '@angular/forms';
|
|
8
8
|
import * as i1$1 from '@progress/kendo-angular-l10n';
|
|
9
9
|
import { ComponentMessages, LocalizationService, L10N_PREFIX, RTL } from '@progress/kendo-angular-l10n';
|
|
@@ -36,8 +36,8 @@ const packageMetadata = {
|
|
|
36
36
|
productName: 'Kendo UI for Angular',
|
|
37
37
|
productCode: 'KENDOUIANGULAR',
|
|
38
38
|
productCodes: ['KENDOUIANGULAR'],
|
|
39
|
-
publishDate:
|
|
40
|
-
version: '25.0.0-develop.
|
|
39
|
+
publishDate: 1783692541,
|
|
40
|
+
version: '25.0.0-develop.3',
|
|
41
41
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
42
42
|
};
|
|
43
43
|
|
|
@@ -9382,7 +9382,7 @@ class DateInputComponent {
|
|
|
9382
9382
|
}
|
|
9383
9383
|
setInputAttributes() {
|
|
9384
9384
|
const attributesToRender = { ...this.mutableAttributes, ...this.parsedAttributes };
|
|
9385
|
-
setHTMLAttributes(attributesToRender, this.renderer, this.dateInput.nativeElement, this.
|
|
9385
|
+
setHTMLAttributes(attributesToRender, this.renderer, this.dateInput.nativeElement, this.injector);
|
|
9386
9386
|
}
|
|
9387
9387
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: DateInputComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.IntlService }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }, { token: i1$1.LocalizationService }, { token: PickerService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
9388
9388
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: DateInputComponent, isStandalone: true, selector: "kendo-dateinput", inputs: { focusableId: "focusableId", pickerType: "pickerType", clearButton: "clearButton", disabled: "disabled", readonly: "readonly", title: "title", tabindex: "tabindex", role: "role", ariaReadOnly: "ariaReadOnly", tabIndex: "tabIndex", isRequired: "isRequired", format: "format", formatPlaceholder: "formatPlaceholder", placeholder: "placeholder", steps: "steps", max: "max", min: "min", rangeValidation: "rangeValidation", autoCorrectParts: "autoCorrectParts", autoSwitchParts: "autoSwitchParts", autoSwitchKeys: "autoSwitchKeys", allowCaretMode: "allowCaretMode", autoFill: "autoFill", incompleteDateValidation: "incompleteDateValidation", twoDigitYearMax: "twoDigitYearMax", enableMouseWheel: "enableMouseWheel", value: "value", spinners: "spinners", isPopupOpen: "isPopupOpen", hasPopup: "hasPopup", size: "size", rounded: "rounded", fillMode: "fillMode", inputAttributes: "inputAttributes" }, outputs: { valueChange: "valueChange", valueUpdate: "valueUpdate", onFocus: "focus", onBlur: "blur" }, host: { properties: { "class.k-readonly": "this.readonly", "class.k-disabled": "this.disabledClass" } }, providers: [
|
|
@@ -15671,11 +15671,11 @@ class DateTimePickerComponent extends MultiTabStop {
|
|
|
15671
15671
|
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/date-time-limits)).
|
|
15672
15672
|
*/
|
|
15673
15673
|
set min(value) {
|
|
15674
|
-
this._min
|
|
15674
|
+
this._min.set(cloneDate(value));
|
|
15675
15675
|
this.calendarMin = getDate(value || MIN_DATE);
|
|
15676
15676
|
}
|
|
15677
15677
|
get min() {
|
|
15678
|
-
return this._min;
|
|
15678
|
+
return this._min();
|
|
15679
15679
|
}
|
|
15680
15680
|
/**
|
|
15681
15681
|
* Specifies the biggest valid date.
|
|
@@ -15685,11 +15685,11 @@ class DateTimePickerComponent extends MultiTabStop {
|
|
|
15685
15685
|
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/date-time-limits)).
|
|
15686
15686
|
*/
|
|
15687
15687
|
set max(value) {
|
|
15688
|
-
this._max
|
|
15688
|
+
this._max.set(cloneDate(value));
|
|
15689
15689
|
this.calendarMax = lastMillisecondOfDate(value || MAX_DATE);
|
|
15690
15690
|
}
|
|
15691
15691
|
get max() {
|
|
15692
|
-
return this._max;
|
|
15692
|
+
return this._max();
|
|
15693
15693
|
}
|
|
15694
15694
|
/**
|
|
15695
15695
|
* Determines whether the built-in `min` or `max` validators are enforced when validating a form
|
|
@@ -15932,7 +15932,12 @@ class DateTimePickerComponent extends MultiTabStop {
|
|
|
15932
15932
|
*
|
|
15933
15933
|
* Controls whether the Calendar or the TimeSelector will be displayed.
|
|
15934
15934
|
*/
|
|
15935
|
-
activeTab
|
|
15935
|
+
set activeTab(value) {
|
|
15936
|
+
this._activeTab.set(value);
|
|
15937
|
+
}
|
|
15938
|
+
get activeTab() {
|
|
15939
|
+
return this._activeTab();
|
|
15940
|
+
}
|
|
15936
15941
|
/**
|
|
15937
15942
|
* @hidden
|
|
15938
15943
|
*
|
|
@@ -16113,10 +16118,11 @@ class DateTimePickerComponent extends MultiTabStop {
|
|
|
16113
16118
|
_format = DEFAULT_DATEINPUT_FORMAT;
|
|
16114
16119
|
_tabindex = 0;
|
|
16115
16120
|
_defaultTab = DEFAULT_ACTIVE_TAB;
|
|
16116
|
-
_min = mergeDateAndTime(MIN_DATE, MIN_TIME);
|
|
16117
|
-
_max = mergeDateAndTime(MAX_DATE, MAX_TIME);
|
|
16121
|
+
_min = signal(mergeDateAndTime(MIN_DATE, MIN_TIME), ...(ngDevMode ? [{ debugName: "_min" }] : []));
|
|
16122
|
+
_max = signal(mergeDateAndTime(MAX_DATE, MAX_TIME), ...(ngDevMode ? [{ debugName: "_max" }] : []));
|
|
16118
16123
|
_disabledDates;
|
|
16119
16124
|
_isActive = false;
|
|
16125
|
+
_activeTab = signal(DEFAULT_ACTIVE_TAB, ...(ngDevMode ? [{ debugName: "_activeTab" }] : []));
|
|
16120
16126
|
onControlTouched = noop$2;
|
|
16121
16127
|
onControlChange = noop$2;
|
|
16122
16128
|
onValidatorChange = noop$2;
|
package/index.d.ts
CHANGED
|
@@ -4845,7 +4845,8 @@ declare class DateTimePickerComponent extends MultiTabStop implements OnInit, On
|
|
|
4845
4845
|
*
|
|
4846
4846
|
* Controls whether the Calendar or the TimeSelector will be displayed.
|
|
4847
4847
|
*/
|
|
4848
|
-
activeTab: DateTimePickerActiveTab;
|
|
4848
|
+
set activeTab(value: DateTimePickerActiveTab);
|
|
4849
|
+
get activeTab(): DateTimePickerActiveTab;
|
|
4849
4850
|
/**
|
|
4850
4851
|
* @hidden
|
|
4851
4852
|
*
|
|
@@ -4960,6 +4961,7 @@ declare class DateTimePickerComponent extends MultiTabStop implements OnInit, On
|
|
|
4960
4961
|
private _max;
|
|
4961
4962
|
private _disabledDates;
|
|
4962
4963
|
private _isActive;
|
|
4964
|
+
private _activeTab;
|
|
4963
4965
|
private onControlTouched;
|
|
4964
4966
|
private onControlChange;
|
|
4965
4967
|
private onValidatorChange;
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "25.0.0-develop.
|
|
10
|
+
"publishDate": 1783692541,
|
|
11
|
+
"version": "25.0.0-develop.3",
|
|
12
12
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-dateinputs",
|
|
3
|
-
"version": "25.0.0-develop.
|
|
3
|
+
"version": "25.0.0-develop.3",
|
|
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",
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"package": {
|
|
108
108
|
"productName": "Kendo UI for Angular",
|
|
109
109
|
"productCode": "KENDOUIANGULAR",
|
|
110
|
-
"publishDate":
|
|
110
|
+
"publishDate": 1783692541,
|
|
111
111
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
112
112
|
}
|
|
113
113
|
},
|
|
@@ -118,19 +118,19 @@
|
|
|
118
118
|
"@angular/forms": "20 - 22",
|
|
119
119
|
"@angular/platform-browser": "20 - 22",
|
|
120
120
|
"@progress/kendo-licensing": "^1.11.0",
|
|
121
|
-
"@progress/kendo-angular-buttons": "25.0.0-develop.
|
|
122
|
-
"@progress/kendo-angular-common": "25.0.0-develop.
|
|
123
|
-
"@progress/kendo-angular-utils": "25.0.0-develop.
|
|
124
|
-
"@progress/kendo-angular-intl": "25.0.0-develop.
|
|
125
|
-
"@progress/kendo-angular-l10n": "25.0.0-develop.
|
|
126
|
-
"@progress/kendo-angular-icons": "25.0.0-develop.
|
|
127
|
-
"@progress/kendo-angular-popup": "25.0.0-develop.
|
|
128
|
-
"@progress/kendo-angular-navigation": "25.0.0-develop.
|
|
121
|
+
"@progress/kendo-angular-buttons": "25.0.0-develop.3",
|
|
122
|
+
"@progress/kendo-angular-common": "25.0.0-develop.3",
|
|
123
|
+
"@progress/kendo-angular-utils": "25.0.0-develop.3",
|
|
124
|
+
"@progress/kendo-angular-intl": "25.0.0-develop.3",
|
|
125
|
+
"@progress/kendo-angular-l10n": "25.0.0-develop.3",
|
|
126
|
+
"@progress/kendo-angular-icons": "25.0.0-develop.3",
|
|
127
|
+
"@progress/kendo-angular-popup": "25.0.0-develop.3",
|
|
128
|
+
"@progress/kendo-angular-navigation": "25.0.0-develop.3",
|
|
129
129
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
130
130
|
},
|
|
131
131
|
"dependencies": {
|
|
132
132
|
"tslib": "^2.3.1",
|
|
133
|
-
"@progress/kendo-angular-schematics": "25.0.0-develop.
|
|
133
|
+
"@progress/kendo-angular-schematics": "25.0.0-develop.3",
|
|
134
134
|
"@progress/kendo-common": "^1.0.1",
|
|
135
135
|
"@progress/kendo-date-math": "^1.1.0",
|
|
136
136
|
"@progress/kendo-dateinputs-common": "^0.4.11"
|