@progress/kendo-angular-dateinputs 7.0.0-next.202204081436 → 7.0.0-next.202204111442
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/bundles/kendo-angular-dateinputs.umd.js +1 -1
- package/daterange/date-range.component.d.ts +1 -0
- package/datetimepicker/datetimepicker.component.d.ts +13 -13
- package/esm2015/datepicker/datepicker.component.js +9 -9
- package/esm2015/daterange/date-range.component.js +7 -3
- package/esm2015/datetimepicker/datetimepicker.component.js +32 -29
- package/esm2015/package-metadata.js +1 -1
- package/esm2015/timepicker/timepicker.component.js +32 -29
- package/fesm2015/kendo-angular-dateinputs.js +78 -68
- package/package.json +1 -1
- package/timepicker/timepicker.component.d.ts +13 -13
|
@@ -28,7 +28,7 @@ const packageMetadata = {
|
|
|
28
28
|
name: '@progress/kendo-angular-dateinputs',
|
|
29
29
|
productName: 'Kendo UI for Angular',
|
|
30
30
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
31
|
-
publishDate:
|
|
31
|
+
publishDate: 1649687993,
|
|
32
32
|
version: '',
|
|
33
33
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
34
34
|
};
|
|
@@ -8645,9 +8645,9 @@ class DatePickerComponent {
|
|
|
8645
8645
|
this.renderer.removeClass(this.toggleButton.nativeElement, `k-button-${this.fillMode}-base`);
|
|
8646
8646
|
const newFillMode = fillMode ? fillMode : DEFAULT_FILL_MODE;
|
|
8647
8647
|
if (newFillMode !== 'none') {
|
|
8648
|
-
this.renderer.addClass(this.toggleButton.nativeElement, getFillModeClass('button',
|
|
8649
|
-
this.renderer.addClass(this.toggleButton.nativeElement, `k-button-${
|
|
8650
|
-
this.renderer.addClass(this.wrapper.nativeElement, getFillModeClass('input',
|
|
8648
|
+
this.renderer.addClass(this.toggleButton.nativeElement, getFillModeClass('button', newFillMode));
|
|
8649
|
+
this.renderer.addClass(this.toggleButton.nativeElement, `k-button-${newFillMode}-base`);
|
|
8650
|
+
this.renderer.addClass(this.wrapper.nativeElement, getFillModeClass('input', newFillMode));
|
|
8651
8651
|
}
|
|
8652
8652
|
this._fillMode = newFillMode;
|
|
8653
8653
|
}
|
|
@@ -9128,9 +9128,9 @@ DatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
9128
9128
|
[min]="min"
|
|
9129
9129
|
[max]="max"
|
|
9130
9130
|
[incompleteDateValidation]="incompleteDateValidation"
|
|
9131
|
-
|
|
9132
|
-
|
|
9133
|
-
|
|
9131
|
+
fillMode="none"
|
|
9132
|
+
rounded="none"
|
|
9133
|
+
size="none"
|
|
9134
9134
|
[value]="value"
|
|
9135
9135
|
(valueChange)="handleInputChange($event)"
|
|
9136
9136
|
></kendo-dateinput>
|
|
@@ -9239,9 +9239,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
9239
9239
|
[min]="min"
|
|
9240
9240
|
[max]="max"
|
|
9241
9241
|
[incompleteDateValidation]="incompleteDateValidation"
|
|
9242
|
-
|
|
9243
|
-
|
|
9244
|
-
|
|
9242
|
+
fillMode="none"
|
|
9243
|
+
rounded="none"
|
|
9244
|
+
size="none"
|
|
9245
9245
|
[value]="value"
|
|
9246
9246
|
(valueChange)="handleInputChange($event)"
|
|
9247
9247
|
></kendo-dateinput>
|
|
@@ -11361,9 +11361,9 @@ class TimePickerComponent {
|
|
|
11361
11361
|
this._value = null;
|
|
11362
11362
|
this._active = false;
|
|
11363
11363
|
this.domEvents = [];
|
|
11364
|
-
this._size =
|
|
11365
|
-
this._rounded =
|
|
11366
|
-
this._fillMode =
|
|
11364
|
+
this._size = DEFAULT_SIZE;
|
|
11365
|
+
this._rounded = DEFAULT_ROUNDED;
|
|
11366
|
+
this._fillMode = DEFAULT_FILL_MODE;
|
|
11367
11367
|
validatePackage(packageMetadata);
|
|
11368
11368
|
this.pickerSubscriptions = this.pickerService.onFocus.subscribe(this.handleFocus.bind(this));
|
|
11369
11369
|
this.pickerSubscriptions.add(this.pickerService.onBlur.subscribe(this.handleBlur.bind(this)));
|
|
@@ -11453,20 +11453,21 @@ class TimePickerComponent {
|
|
|
11453
11453
|
* Sets the size of the component.
|
|
11454
11454
|
*
|
|
11455
11455
|
* The possible values are:
|
|
11456
|
-
* * `
|
|
11457
|
-
* * `
|
|
11458
|
-
* * `
|
|
11459
|
-
* * `
|
|
11456
|
+
* * `small`
|
|
11457
|
+
* * `medium` (Default)
|
|
11458
|
+
* * `large`
|
|
11459
|
+
* * `none`
|
|
11460
11460
|
*
|
|
11461
11461
|
*/
|
|
11462
11462
|
set size(size) {
|
|
11463
11463
|
this.renderer.removeClass(this.wrapper.nativeElement, getSizeClass('input', this.size));
|
|
11464
11464
|
this.renderer.removeClass(this.toggleButton.nativeElement, getSizeClass('input', this.size));
|
|
11465
|
-
|
|
11466
|
-
|
|
11467
|
-
this.renderer.addClass(this.
|
|
11465
|
+
const newSize = size ? size : DEFAULT_SIZE;
|
|
11466
|
+
if (newSize !== 'none') {
|
|
11467
|
+
this.renderer.addClass(this.wrapper.nativeElement, getSizeClass('input', newSize));
|
|
11468
|
+
this.renderer.addClass(this.toggleButton.nativeElement, getSizeClass('input', newSize));
|
|
11468
11469
|
}
|
|
11469
|
-
this._size =
|
|
11470
|
+
this._size = newSize;
|
|
11470
11471
|
}
|
|
11471
11472
|
get size() {
|
|
11472
11473
|
return this._size;
|
|
@@ -11475,19 +11476,20 @@ class TimePickerComponent {
|
|
|
11475
11476
|
* Sets the border radius of the component.
|
|
11476
11477
|
*
|
|
11477
11478
|
* The possible values are:
|
|
11478
|
-
* * `
|
|
11479
|
-
* * `
|
|
11480
|
-
* * `
|
|
11481
|
-
* * `
|
|
11482
|
-
* * `
|
|
11479
|
+
* * `small`
|
|
11480
|
+
* * `medium` (Default)
|
|
11481
|
+
* * `large`
|
|
11482
|
+
* * `full`
|
|
11483
|
+
* * `none`
|
|
11483
11484
|
*
|
|
11484
11485
|
*/
|
|
11485
11486
|
set rounded(rounded) {
|
|
11486
11487
|
this.renderer.removeClass(this.wrapper.nativeElement, getRoundedClass(this.rounded));
|
|
11487
|
-
|
|
11488
|
-
|
|
11488
|
+
const newRounded = rounded ? rounded : DEFAULT_ROUNDED;
|
|
11489
|
+
if (newRounded !== 'none') {
|
|
11490
|
+
this.renderer.addClass(this.wrapper.nativeElement, getRoundedClass(newRounded));
|
|
11489
11491
|
}
|
|
11490
|
-
this._rounded =
|
|
11492
|
+
this._rounded = newRounded;
|
|
11491
11493
|
}
|
|
11492
11494
|
get rounded() {
|
|
11493
11495
|
return this._rounded;
|
|
@@ -11496,22 +11498,23 @@ class TimePickerComponent {
|
|
|
11496
11498
|
* Sets the fillMode of the component.
|
|
11497
11499
|
*
|
|
11498
11500
|
* The possible values are:
|
|
11499
|
-
* * `
|
|
11500
|
-
* * `
|
|
11501
|
-
* * `
|
|
11502
|
-
* * `
|
|
11501
|
+
* * `solid` (Default)
|
|
11502
|
+
* * `flat`
|
|
11503
|
+
* * `outline`
|
|
11504
|
+
* * `none`
|
|
11503
11505
|
*
|
|
11504
11506
|
*/
|
|
11505
11507
|
set fillMode(fillMode) {
|
|
11506
11508
|
this.renderer.removeClass(this.wrapper.nativeElement, getFillModeClass('input', this.fillMode));
|
|
11507
11509
|
this.renderer.removeClass(this.toggleButton.nativeElement, getFillModeClass('button', this.fillMode));
|
|
11508
11510
|
this.renderer.removeClass(this.toggleButton.nativeElement, `k-button-${this.fillMode}-base`);
|
|
11509
|
-
|
|
11510
|
-
|
|
11511
|
-
this.renderer.addClass(this.
|
|
11512
|
-
this.renderer.addClass(this.toggleButton.nativeElement,
|
|
11511
|
+
const newFillMode = fillMode ? fillMode : DEFAULT_FILL_MODE;
|
|
11512
|
+
if (newFillMode !== 'none') {
|
|
11513
|
+
this.renderer.addClass(this.wrapper.nativeElement, getFillModeClass('input', newFillMode));
|
|
11514
|
+
this.renderer.addClass(this.toggleButton.nativeElement, getFillModeClass('button', newFillMode));
|
|
11515
|
+
this.renderer.addClass(this.toggleButton.nativeElement, `k-button-${newFillMode}-base`);
|
|
11513
11516
|
}
|
|
11514
|
-
this._fillMode =
|
|
11517
|
+
this._fillMode = newFillMode;
|
|
11515
11518
|
}
|
|
11516
11519
|
get fillMode() {
|
|
11517
11520
|
return this._fillMode;
|
|
@@ -12506,9 +12509,9 @@ class DateTimePickerComponent {
|
|
|
12506
12509
|
this.disabledDatesValidateFn = noop$2;
|
|
12507
12510
|
this.incompleteValidator = noop$2;
|
|
12508
12511
|
this.subscriptions = new Subscription();
|
|
12509
|
-
this._size =
|
|
12510
|
-
this._rounded =
|
|
12511
|
-
this._fillMode =
|
|
12512
|
+
this._size = DEFAULT_SIZE;
|
|
12513
|
+
this._rounded = DEFAULT_ROUNDED;
|
|
12514
|
+
this._fillMode = DEFAULT_FILL_MODE;
|
|
12512
12515
|
validatePackage(packageMetadata);
|
|
12513
12516
|
}
|
|
12514
12517
|
/**
|
|
@@ -12674,20 +12677,21 @@ class DateTimePickerComponent {
|
|
|
12674
12677
|
* Sets the size of the component.
|
|
12675
12678
|
*
|
|
12676
12679
|
* The possible values are:
|
|
12677
|
-
* * `
|
|
12678
|
-
* * `
|
|
12679
|
-
* * `
|
|
12680
|
-
* * `
|
|
12680
|
+
* * `small`
|
|
12681
|
+
* * `medium` (Default)
|
|
12682
|
+
* * `large`
|
|
12683
|
+
* * `none`
|
|
12681
12684
|
*
|
|
12682
12685
|
*/
|
|
12683
12686
|
set size(size) {
|
|
12684
12687
|
this.renderer.removeClass(this.wrapper.nativeElement, getSizeClass('input', this.size));
|
|
12685
12688
|
this.renderer.removeClass(this.toggleButton.nativeElement, getSizeClass('input', this.size));
|
|
12686
|
-
|
|
12687
|
-
|
|
12688
|
-
this.renderer.addClass(this.
|
|
12689
|
+
const newSize = size ? size : DEFAULT_SIZE;
|
|
12690
|
+
if (newSize !== 'none') {
|
|
12691
|
+
this.renderer.addClass(this.wrapper.nativeElement, getSizeClass('input', newSize));
|
|
12692
|
+
this.renderer.addClass(this.toggleButton.nativeElement, getSizeClass('input', newSize));
|
|
12689
12693
|
}
|
|
12690
|
-
this._size =
|
|
12694
|
+
this._size = newSize;
|
|
12691
12695
|
}
|
|
12692
12696
|
get size() {
|
|
12693
12697
|
return this._size;
|
|
@@ -12696,19 +12700,20 @@ class DateTimePickerComponent {
|
|
|
12696
12700
|
* Sets the border radius of the component.
|
|
12697
12701
|
*
|
|
12698
12702
|
* The possible values are:
|
|
12699
|
-
* * `
|
|
12700
|
-
* * `
|
|
12701
|
-
* * `
|
|
12702
|
-
* * `
|
|
12703
|
-
* * `
|
|
12703
|
+
* * `small`
|
|
12704
|
+
* * `medium` (Default)
|
|
12705
|
+
* * `large`
|
|
12706
|
+
* * `full`
|
|
12707
|
+
* * `none`
|
|
12704
12708
|
*
|
|
12705
12709
|
*/
|
|
12706
12710
|
set rounded(rounded) {
|
|
12707
12711
|
this.renderer.removeClass(this.wrapper.nativeElement, getRoundedClass(this.rounded));
|
|
12708
|
-
|
|
12709
|
-
|
|
12712
|
+
const newRounded = rounded ? rounded : DEFAULT_ROUNDED;
|
|
12713
|
+
if (newRounded !== 'none') {
|
|
12714
|
+
this.renderer.addClass(this.wrapper.nativeElement, getRoundedClass(newRounded));
|
|
12710
12715
|
}
|
|
12711
|
-
this._rounded =
|
|
12716
|
+
this._rounded = newRounded;
|
|
12712
12717
|
}
|
|
12713
12718
|
get rounded() {
|
|
12714
12719
|
return this._rounded;
|
|
@@ -12717,22 +12722,23 @@ class DateTimePickerComponent {
|
|
|
12717
12722
|
* Sets the fillMode of the component.
|
|
12718
12723
|
*
|
|
12719
12724
|
* The possible values are:
|
|
12720
|
-
* * `
|
|
12721
|
-
* * `
|
|
12722
|
-
* * `
|
|
12723
|
-
* * `
|
|
12725
|
+
* * `solid` (Default)
|
|
12726
|
+
* * `flat`
|
|
12727
|
+
* * `outline`
|
|
12728
|
+
* * `none`
|
|
12724
12729
|
*
|
|
12725
12730
|
*/
|
|
12726
12731
|
set fillMode(fillMode) {
|
|
12727
12732
|
this.renderer.removeClass(this.wrapper.nativeElement, getFillModeClass('input', this.fillMode));
|
|
12728
12733
|
this.renderer.removeClass(this.toggleButton.nativeElement, getFillModeClass('button', this.fillMode));
|
|
12729
12734
|
this.renderer.removeClass(this.toggleButton.nativeElement, `k-button-${this.fillMode}-base`);
|
|
12730
|
-
|
|
12731
|
-
|
|
12732
|
-
this.renderer.addClass(this.
|
|
12733
|
-
this.renderer.addClass(this.toggleButton.nativeElement,
|
|
12735
|
+
const newFillMode = fillMode ? fillMode : DEFAULT_FILL_MODE;
|
|
12736
|
+
if (newFillMode !== 'none') {
|
|
12737
|
+
this.renderer.addClass(this.wrapper.nativeElement, getFillModeClass('input', newFillMode));
|
|
12738
|
+
this.renderer.addClass(this.toggleButton.nativeElement, getFillModeClass('button', newFillMode));
|
|
12739
|
+
this.renderer.addClass(this.toggleButton.nativeElement, `k-button-${newFillMode}-base`);
|
|
12734
12740
|
}
|
|
12735
|
-
this._fillMode =
|
|
12741
|
+
this._fillMode = newFillMode;
|
|
12736
12742
|
}
|
|
12737
12743
|
get fillMode() {
|
|
12738
12744
|
return this._fillMode;
|
|
@@ -14639,6 +14645,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
14639
14645
|
*/
|
|
14640
14646
|
class DateRangeComponent {
|
|
14641
14647
|
constructor() {
|
|
14648
|
+
this.wrapperClass = true;
|
|
14642
14649
|
/**
|
|
14643
14650
|
* @hidden
|
|
14644
14651
|
*/
|
|
@@ -14661,7 +14668,7 @@ class DateRangeComponent {
|
|
|
14661
14668
|
}
|
|
14662
14669
|
}
|
|
14663
14670
|
DateRangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateRangeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
14664
|
-
DateRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DateRangeComponent, selector: "kendo-daterange", providers: [DateRangeService], queries: [{ propertyName: "contentPopup", predicate: DateRangePopupComponent }], ngImport: i0, template: `
|
|
14671
|
+
DateRangeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DateRangeComponent, selector: "kendo-daterange", host: { properties: { "class.k-daterangepicker": "this.wrapperClass" } }, providers: [DateRangeService], queries: [{ propertyName: "contentPopup", predicate: DateRangePopupComponent }], ngImport: i0, template: `
|
|
14665
14672
|
<ng-content></ng-content>
|
|
14666
14673
|
<kendo-daterange-popup *ngIf="showDefault"></kendo-daterange-popup>
|
|
14667
14674
|
`, isInline: true, components: [{ type: DateRangePopupComponent, selector: "kendo-daterange-popup", inputs: ["animate", "anchor", "anchorAlign", "appendTo", "collision", "popupAlign", "margin"], outputs: ["open", "close", "blur", "focus", "cancel"], exportAs: ["kendo-daterange-popup"] }], directives: [{ type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
@@ -14675,7 +14682,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
14675
14682
|
<kendo-daterange-popup *ngIf="showDefault"></kendo-daterange-popup>
|
|
14676
14683
|
`
|
|
14677
14684
|
}]
|
|
14678
|
-
}], ctorParameters: function () { return []; }, propDecorators: {
|
|
14685
|
+
}], ctorParameters: function () { return []; }, propDecorators: { wrapperClass: [{
|
|
14686
|
+
type: HostBinding,
|
|
14687
|
+
args: ['class.k-daterangepicker']
|
|
14688
|
+
}], contentPopup: [{
|
|
14679
14689
|
type: ContentChildren,
|
|
14680
14690
|
args: [DateRangePopupComponent]
|
|
14681
14691
|
}] } });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-dateinputs",
|
|
3
|
-
"version": "7.0.0-next.
|
|
3
|
+
"version": "7.0.0-next.202204111442",
|
|
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",
|
|
@@ -209,10 +209,10 @@ export declare class TimePickerComponent implements ControlValueAccessor, OnInit
|
|
|
209
209
|
* Sets the size of the component.
|
|
210
210
|
*
|
|
211
211
|
* The possible values are:
|
|
212
|
-
* * `
|
|
213
|
-
* * `
|
|
214
|
-
* * `
|
|
215
|
-
* * `
|
|
212
|
+
* * `small`
|
|
213
|
+
* * `medium` (Default)
|
|
214
|
+
* * `large`
|
|
215
|
+
* * `none`
|
|
216
216
|
*
|
|
217
217
|
*/
|
|
218
218
|
set size(size: DateInputSize);
|
|
@@ -221,11 +221,11 @@ export declare class TimePickerComponent implements ControlValueAccessor, OnInit
|
|
|
221
221
|
* Sets the border radius of the component.
|
|
222
222
|
*
|
|
223
223
|
* The possible values are:
|
|
224
|
-
* * `
|
|
225
|
-
* * `
|
|
226
|
-
* * `
|
|
227
|
-
* * `
|
|
228
|
-
* * `
|
|
224
|
+
* * `small`
|
|
225
|
+
* * `medium` (Default)
|
|
226
|
+
* * `large`
|
|
227
|
+
* * `full`
|
|
228
|
+
* * `none`
|
|
229
229
|
*
|
|
230
230
|
*/
|
|
231
231
|
set rounded(rounded: DateInputRounded);
|
|
@@ -234,10 +234,10 @@ export declare class TimePickerComponent implements ControlValueAccessor, OnInit
|
|
|
234
234
|
* Sets the fillMode of the component.
|
|
235
235
|
*
|
|
236
236
|
* The possible values are:
|
|
237
|
-
* * `
|
|
238
|
-
* * `
|
|
239
|
-
* * `
|
|
240
|
-
* * `
|
|
237
|
+
* * `solid` (Default)
|
|
238
|
+
* * `flat`
|
|
239
|
+
* * `outline`
|
|
240
|
+
* * `none`
|
|
241
241
|
*
|
|
242
242
|
*/
|
|
243
243
|
set fillMode(fillMode: DateInputFillMode);
|