@progress/kendo-angular-dateinputs 5.3.1-dev.202201070925 → 6.0.0-dev.202201181611
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/LICENSE.md +1 -1
- package/NOTICE.txt +119 -79
- package/README.md +1 -1
- package/dist/cdn/js/kendo-angular-dateinputs.js +2 -2
- package/dist/cdn/main.js +1 -1
- package/dist/es/calendar/calendar.component.js +1 -1
- package/dist/es/calendar/header.component.js +1 -1
- package/dist/es/calendar/multiview-calendar.component.js +1 -1
- package/dist/es/calendar/services/dom.service.js +1 -1
- package/dist/es/calendar/view.component.js +1 -1
- package/dist/es/common/models/fillmode.js +4 -0
- package/dist/es/common/models/rounded.js +4 -0
- package/dist/es/common/models/size.js +4 -0
- package/dist/es/dateinput/dateinput.component.js +143 -18
- package/dist/es/datepicker/datepicker.component.js +127 -13
- package/dist/es/daterange/date-range-input.js +1 -1
- package/dist/es/datetimepicker/datetimepicker.component.js +147 -11
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/timepicker/services/dom.service.js +12 -8
- package/dist/es/timepicker/timelist.component.js +3 -2
- package/dist/es/timepicker/timepicker.component.js +130 -13
- package/dist/es/timepicker/timeselector.component.js +2 -2
- package/dist/es/util.js +37 -0
- package/dist/es2015/calendar/calendar.component.js +1 -1
- package/dist/es2015/calendar/header.component.js +4 -4
- package/dist/es2015/calendar/multiview-calendar.component.js +1 -1
- package/dist/es2015/calendar/services/dom.service.js +1 -1
- package/dist/es2015/calendar/view.component.js +1 -1
- package/dist/es2015/common/models/fillmode.d.ts +14 -0
- package/dist/es2015/common/models/fillmode.js +4 -0
- package/dist/es2015/common/models/rounded.d.ts +15 -0
- package/dist/es2015/common/models/rounded.js +4 -0
- package/dist/es2015/common/models/size.d.ts +14 -0
- package/dist/es2015/common/models/size.js +4 -0
- package/dist/es2015/dateinput/dateinput.component.d.ts +49 -8
- package/dist/es2015/dateinput/dateinput.component.js +183 -68
- package/dist/es2015/datepicker/datepicker.component.d.ts +47 -5
- package/dist/es2015/datepicker/datepicker.component.js +152 -49
- package/dist/es2015/daterange/date-range-input.js +1 -1
- package/dist/es2015/datetimepicker/datetimepicker.component.d.ts +56 -6
- package/dist/es2015/datetimepicker/datetimepicker.component.js +186 -63
- package/dist/es2015/index.metadata.json +1 -1
- package/dist/es2015/package-metadata.js +1 -1
- package/dist/es2015/timepicker/services/dom.service.d.ts +1 -0
- package/dist/es2015/timepicker/services/dom.service.js +12 -8
- package/dist/es2015/timepicker/timelist.component.js +3 -2
- package/dist/es2015/timepicker/timepicker.component.d.ts +50 -5
- package/dist/es2015/timepicker/timepicker.component.js +174 -69
- package/dist/es2015/timepicker/timeselector.component.js +7 -5
- package/dist/es2015/util.d.ts +18 -0
- package/dist/es2015/util.js +37 -0
- package/dist/fesm2015/index.js +756 -267
- package/dist/fesm5/index.js +600 -67
- package/dist/npm/calendar/calendar.component.js +1 -1
- package/dist/npm/calendar/header.component.js +1 -1
- package/dist/npm/calendar/multiview-calendar.component.js +1 -1
- package/dist/npm/calendar/services/dom.service.js +1 -1
- package/dist/npm/calendar/view.component.js +1 -1
- package/dist/npm/common/models/fillmode.js +6 -0
- package/dist/npm/common/models/rounded.js +6 -0
- package/dist/npm/common/models/size.js +6 -0
- package/dist/npm/dateinput/dateinput.component.js +142 -17
- package/dist/npm/datepicker/datepicker.component.js +126 -12
- package/dist/npm/daterange/date-range-input.js +1 -1
- package/dist/npm/datetimepicker/datetimepicker.component.js +146 -10
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/timepicker/services/dom.service.js +15 -10
- package/dist/npm/timepicker/timelist.component.js +3 -2
- package/dist/npm/timepicker/timepicker.component.js +129 -12
- package/dist/npm/timepicker/timeselector.component.js +2 -2
- package/dist/npm/util.js +37 -0
- package/dist/systemjs/kendo-angular-dateinputs.js +1 -1
- package/package.json +2 -2
|
@@ -414,7 +414,7 @@ var TimeSelectorComponent = /** @class */ (function () {
|
|
|
414
414
|
tslib_1.__metadata("design:type", Boolean)
|
|
415
415
|
], TimeSelectorComponent.prototype, "componentClass", void 0);
|
|
416
416
|
tslib_1.__decorate([
|
|
417
|
-
HostBinding('class.k-
|
|
417
|
+
HostBinding('class.k-disabled'),
|
|
418
418
|
tslib_1.__metadata("design:type", Boolean),
|
|
419
419
|
tslib_1.__metadata("design:paramtypes", [])
|
|
420
420
|
], TimeSelectorComponent.prototype, "disabledClass", null);
|
|
@@ -475,7 +475,7 @@ var TimeSelectorComponent = /** @class */ (function () {
|
|
|
475
475
|
}
|
|
476
476
|
],
|
|
477
477
|
selector: 'kendo-timeselector',
|
|
478
|
-
template: "\n <ng-container kendoTimeSelectorLocalizedMessages\n i18n-accept=\"kendo.timeselector.accept|The Accept button text in the timeselector component\"\n accept=\"Set\"\n\n i18n-acceptLabel=\"kendo.timeselector.acceptLabel|The label for the Accept button in the timeselector component\"\n acceptLabel=\"Set time\"\n\n i18n-cancel=\"kendo.timeselector.cancel|The Cancel button text in the timeselector component\"\n cancel=\"Cancel\"\n\n i18n-cancelLabel=\"kendo.timeselector.cancelLabel|The label for the Cancel button in the timeselector component\"\n cancelLabel=\"Cancel changes\"\n\n i18n-now=\"kendo.timeselector.now|The Now button text in the timeselector component\"\n now=\"Now\"\n\n i18n-nowLabel=\"kendo.timeselector.nowLabel|The label for the Now button in the timeselector component\"\n nowLabel=\"Select now\"\n >\n </ng-container>\n <div class=\"k-time-header\">\n <span class=\"k-title k-timeselector-title\">\n {{ intl.formatDate(current, format) }}\n </span>\n <button\n #now\n *ngIf=\"showNowButton\"\n class=\"k-button k-flat k-time-now\"
|
|
478
|
+
template: "\n <ng-container kendoTimeSelectorLocalizedMessages\n i18n-accept=\"kendo.timeselector.accept|The Accept button text in the timeselector component\"\n accept=\"Set\"\n\n i18n-acceptLabel=\"kendo.timeselector.acceptLabel|The label for the Accept button in the timeselector component\"\n acceptLabel=\"Set time\"\n\n i18n-cancel=\"kendo.timeselector.cancel|The Cancel button text in the timeselector component\"\n cancel=\"Cancel\"\n\n i18n-cancelLabel=\"kendo.timeselector.cancelLabel|The label for the Cancel button in the timeselector component\"\n cancelLabel=\"Cancel changes\"\n\n i18n-now=\"kendo.timeselector.now|The Now button text in the timeselector component\"\n now=\"Now\"\n\n i18n-nowLabel=\"kendo.timeselector.nowLabel|The label for the Now button in the timeselector component\"\n nowLabel=\"Select now\"\n >\n </ng-container>\n <div class=\"k-time-header\">\n <span class=\"k-title k-timeselector-title\">\n {{ intl.formatDate(current, format) }}\n </span>\n <button\n #now\n *ngIf=\"showNowButton\"\n type=\"button\"\n class=\"k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-time-now\"\n [attr.title]=\"localization.get('nowLabel')\"\n [attr.aria-label]=\"localization.get('nowLabel')\"\n [kendoEventsOutsideAngular]=\"{\n click: handleNow,\n focus: handleFocus,\n blur: handleBlur\n }\"\n [scope]=\"this\"\n [disabled]=\"disabled\"\n >{{localization.get('now')}}</button>\n </div>\n <div class=\"k-time-list-container\">\n <span class=\"k-time-highlight\"></span>\n <ng-template ngFor [ngForOf]=\"dateFormatParts\" let-part let-idx=\"index\">\n <div\n #listWrapper\n class=\"k-time-list-wrapper\"\n role=\"presentation\" tabindex=\"-1\"\n *ngIf=\"part.type !== 'literal'\"\n >\n <span class=\"k-title k-timeselector-title\">{{intl.dateFieldName(part)}}</span>\n <kendo-timelist\n [min]=\"min\"\n [max]=\"max\"\n [part]=\"part\"\n [step]=\"partStep(part)\"\n [disabled]=\"disabled\"\n [(value)]=\"current\"\n [kendoEventsOutsideAngular]=\"{\n focus: handleListFocus,\n blur: handleBlur\n }\"\n [scope]=\"this\"\n [attr.data-timelist-index]=\"idx\"\n ></kendo-timelist>\n </div>\n <div class=\"k-time-separator\" *ngIf=\"part.type === 'literal'\">\n {{part.pattern}}\n </div>\n </ng-template>\n </div>\n <div class=\"k-time-footer k-action-buttons k-actions k-hstack k-justify-content-stretch\" *ngIf=\"setButton || cancelButton\">\n <button\n #cancel\n *ngIf=\"cancelButton\"\n class=\"k-button k-time-cancel k-button-md k-rounded-md k-button-solid k-button-solid-base\"\n type=\"button\"\n [attr.title]=\"localization.get('cancelLabel')\"\n [attr.aria-label]=\"localization.get('cancelLabel')\"\n [kendoEventsOutsideAngular]=\"{\n click: handleReject,\n focus: handleFocus,\n blur: handleBlur\n }\"\n [scope]=\"this\"\n [disabled]=\"disabled\"\n >{{localization.get('cancel')}}</button>\n <button\n #accept\n *ngIf=\"setButton\"\n type=\"button\"\n class=\"k-button k-time-accept k-button-md k-rounded-md k-button-solid k-button-solid-primary\"\n [attr.title]=\"localization.get('acceptLabel')\"\n [attr.aria-label]=\"localization.get('acceptLabel')\"\n [kendoEventsOutsideAngular]=\"{\n click: handleAccept,\n focus: handleFocus,\n blur: handleBlur\n }\"\n [scope]=\"this\"\n [disabled]=\"disabled\"\n >{{localization.get('accept')}}</button>\n </div>\n "
|
|
479
479
|
}),
|
|
480
480
|
tslib_1.__param(7, Optional()),
|
|
481
481
|
tslib_1.__metadata("design:paramtypes", [LocalizationService,
|
package/dist/es/util.js
CHANGED
|
@@ -355,4 +355,41 @@ export var isTabExitingCalendar = function (calendarType, focusedElement, shiftK
|
|
|
355
355
|
(!shiftKey && focusedElement.classList.contains('k-next-view')) // exited on next button focused and regular tab
|
|
356
356
|
);
|
|
357
357
|
};
|
|
358
|
+
/**
|
|
359
|
+
* @hidden
|
|
360
|
+
* Returns the size class based on the component and size input.
|
|
361
|
+
*/
|
|
362
|
+
export var getSizeClass = function (component, size) {
|
|
363
|
+
var SIZE_CLASSES = {
|
|
364
|
+
'small': "k-" + component + "-sm",
|
|
365
|
+
'medium': "k-" + component + "-md",
|
|
366
|
+
'large': "k-" + component + "-lg"
|
|
367
|
+
};
|
|
368
|
+
return SIZE_CLASSES[size];
|
|
369
|
+
};
|
|
370
|
+
/**
|
|
371
|
+
* @hidden
|
|
372
|
+
* Returns the rounded class based on the rounded input.
|
|
373
|
+
*/
|
|
374
|
+
export var getRoundedClass = function (rounded) {
|
|
375
|
+
var ROUNDED_CLASSES = {
|
|
376
|
+
'small': 'k-rounded-sm',
|
|
377
|
+
'medium': 'k-rounded-md',
|
|
378
|
+
'large': 'k-rounded-lg',
|
|
379
|
+
'full': 'k-rounded-full'
|
|
380
|
+
};
|
|
381
|
+
return ROUNDED_CLASSES[rounded];
|
|
382
|
+
};
|
|
383
|
+
/**
|
|
384
|
+
* @hidden
|
|
385
|
+
* Return the fillMode class based on the component and fillMode input.
|
|
386
|
+
*/
|
|
387
|
+
export var getFillModeClass = function (component, fillMode) {
|
|
388
|
+
var FILLMODE_CLASSES = {
|
|
389
|
+
'solid': "k-" + component + "-solid",
|
|
390
|
+
'flat': "k-" + component + "-flat",
|
|
391
|
+
'outline': "k-" + component + "-outline"
|
|
392
|
+
};
|
|
393
|
+
return FILLMODE_CLASSES[fillMode];
|
|
394
|
+
};
|
|
358
395
|
export { ɵ0, ɵ1, ɵ2 };
|
|
@@ -999,7 +999,7 @@ tslib_1.__decorate([
|
|
|
999
999
|
], CalendarComponent.prototype, "calendarTabIndex", null);
|
|
1000
1000
|
tslib_1.__decorate([
|
|
1001
1001
|
HostBinding('attr.aria-disabled'),
|
|
1002
|
-
HostBinding('class.k-
|
|
1002
|
+
HostBinding('class.k-disabled'),
|
|
1003
1003
|
tslib_1.__metadata("design:type", Boolean),
|
|
1004
1004
|
tslib_1.__metadata("design:paramtypes", [])
|
|
1005
1005
|
], CalendarComponent.prototype, "ariaDisabled", null);
|
|
@@ -159,7 +159,7 @@ HeaderComponent = tslib_1.__decorate([
|
|
|
159
159
|
Component({
|
|
160
160
|
selector: 'kendo-calendar-header',
|
|
161
161
|
template: `
|
|
162
|
-
<span class="k-button k-flat k-
|
|
162
|
+
<span class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-calendar-title" [class.k-disabled]="!navigate"
|
|
163
163
|
[kendoEventsOutsideAngular]="{
|
|
164
164
|
click: handleNavigation
|
|
165
165
|
}"
|
|
@@ -175,7 +175,7 @@ HeaderComponent = tslib_1.__decorate([
|
|
|
175
175
|
<span class="k-calendar-nav k-hstack">
|
|
176
176
|
<button
|
|
177
177
|
*ngIf="showNavigationButtons"
|
|
178
|
-
class="k-button k-flat k-icon-button k-prev-view"
|
|
178
|
+
class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-icon-button k-prev-view"
|
|
179
179
|
type="button"
|
|
180
180
|
[attr.aria-disabled]="isPrevDisabled"
|
|
181
181
|
[disabled]="isPrevDisabled"
|
|
@@ -186,7 +186,7 @@ HeaderComponent = tslib_1.__decorate([
|
|
|
186
186
|
</button>
|
|
187
187
|
<span
|
|
188
188
|
class="k-today k-nav-today"
|
|
189
|
-
[class.k-
|
|
189
|
+
[class.k-disabled]="!todayAvailable"
|
|
190
190
|
[kendoEventsOutsideAngular]="{
|
|
191
191
|
click: handleTodayClick
|
|
192
192
|
}"
|
|
@@ -196,7 +196,7 @@ HeaderComponent = tslib_1.__decorate([
|
|
|
196
196
|
</span>
|
|
197
197
|
<button
|
|
198
198
|
*ngIf="showNavigationButtons"
|
|
199
|
-
class="k-button k-flat k-icon-button k-next-view"
|
|
199
|
+
class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-icon-button k-next-view"
|
|
200
200
|
type="button"
|
|
201
201
|
[attr.aria-disabled]="isNextDisabled"
|
|
202
202
|
[disabled]="isNextDisabled"
|
|
@@ -904,7 +904,7 @@ tslib_1.__decorate([
|
|
|
904
904
|
], MultiViewCalendarComponent.prototype, "calendarTabIndex", null);
|
|
905
905
|
tslib_1.__decorate([
|
|
906
906
|
HostBinding('attr.aria-disabled'),
|
|
907
|
-
HostBinding('class.k-
|
|
907
|
+
HostBinding('class.k-disabled'),
|
|
908
908
|
tslib_1.__metadata("design:type", Boolean),
|
|
909
909
|
tslib_1.__metadata("design:paramtypes", [])
|
|
910
910
|
], MultiViewCalendarComponent.prototype, "ariaDisabled", null);
|
|
@@ -18,7 +18,7 @@ const tbody = containerFactory('tbody');
|
|
|
18
18
|
const thead = containerFactory('thead');
|
|
19
19
|
const table = containerFactory('table');
|
|
20
20
|
const monthHeader = () => (div(`
|
|
21
|
-
<span class="k-button k-flat k-
|
|
21
|
+
<span class="k-button k-button-md k-rounded-md k-button-flat k-button-flat-base k-calendar-title">March 2017</span>
|
|
22
22
|
<span class="k-spacer"></span>
|
|
23
23
|
<span class="k-calendar-nav k-hstack">
|
|
24
24
|
<span class="k-today k-nav-today">TODAY</span>
|
|
@@ -117,7 +117,7 @@ let ViewComponent = class ViewComponent {
|
|
|
117
117
|
'k-state-selected': !context.isOtherMonth && (context.isSelected || isRangeStart || isRangeEnd),
|
|
118
118
|
'k-today': !context.isOtherMonth && context.isToday,
|
|
119
119
|
'k-weekend': context.isWeekend,
|
|
120
|
-
'k-
|
|
120
|
+
'k-disabled': context.isDisabled,
|
|
121
121
|
'k-other-month': context.isOtherMonth
|
|
122
122
|
});
|
|
123
123
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
/**
|
|
6
|
+
* Represents the possible fillMode options of the DateInput.
|
|
7
|
+
*
|
|
8
|
+
* The possible values are:
|
|
9
|
+
* - `'solid'` (Default)
|
|
10
|
+
* - `'flat'`
|
|
11
|
+
* - `'outline'`
|
|
12
|
+
* - `null`
|
|
13
|
+
*/
|
|
14
|
+
export declare type DateInputFillMode = 'solid' | 'flat' | 'outline';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
/**
|
|
6
|
+
* Represents the possible rounded options of the DateInput.
|
|
7
|
+
*
|
|
8
|
+
* The possible values are:
|
|
9
|
+
* - `'small'`
|
|
10
|
+
* - `'medium'` (Default)
|
|
11
|
+
* - `'large'`
|
|
12
|
+
* - `'full'`
|
|
13
|
+
* - `null`
|
|
14
|
+
*/
|
|
15
|
+
export declare type DateInputRounded = 'small' | 'medium' | 'large' | 'full';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
/**
|
|
6
|
+
* Represents the possible size options of the DateInput.
|
|
7
|
+
*
|
|
8
|
+
* The possible values are:
|
|
9
|
+
* - `'small'`
|
|
10
|
+
* - `'medium'` (Default)
|
|
11
|
+
* - `'large'`
|
|
12
|
+
* - `null`
|
|
13
|
+
*/
|
|
14
|
+
export declare type DateInputSize = 'small' | 'medium' | 'large';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ChangeDetectorRef, EventEmitter, ElementRef, OnInit, OnDestroy, OnChanges, Renderer2, NgZone, Injector, SimpleChanges } from '@angular/core';
|
|
5
|
+
import { ChangeDetectorRef, EventEmitter, ElementRef, OnInit, OnDestroy, OnChanges, Renderer2, NgZone, Injector, SimpleChanges, AfterViewInit } from '@angular/core';
|
|
6
6
|
import { AbstractControl, ControlValueAccessor, Validator } from '@angular/forms';
|
|
7
7
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { IntlService } from '@progress/kendo-angular-intl';
|
|
@@ -11,14 +11,17 @@ import { DateInputFormatPlaceholder } from './models/format-placeholder.model';
|
|
|
11
11
|
import { DateInputIncrementalSteps } from './models/incremental-steps.model';
|
|
12
12
|
import { PickerService } from '../common/picker.service';
|
|
13
13
|
import { FormatSettings } from './models/format-settings.model';
|
|
14
|
+
import { DateInputSize } from '../common/models/size';
|
|
15
|
+
import { DateInputRounded } from '../common/models/rounded';
|
|
16
|
+
import { DateInputFillMode } from '../common/models/fillmode';
|
|
14
17
|
/**
|
|
15
18
|
* Represents the [Kendo UI DateInput component for Angular]({% slug overview_dateinput %}#toc-basic-usage).
|
|
16
19
|
*/
|
|
17
|
-
export declare class DateInputComponent implements OnInit, ControlValueAccessor, OnChanges, OnDestroy, Validator {
|
|
20
|
+
export declare class DateInputComponent implements OnInit, AfterViewInit, ControlValueAccessor, OnChanges, OnDestroy, Validator {
|
|
18
21
|
private cdr;
|
|
19
22
|
private intl;
|
|
20
23
|
private renderer;
|
|
21
|
-
|
|
24
|
+
wrapper: ElementRef;
|
|
22
25
|
private ngZone;
|
|
23
26
|
private injector;
|
|
24
27
|
localization: LocalizationService;
|
|
@@ -204,6 +207,40 @@ export declare class DateInputComponent implements OnInit, ControlValueAccessor,
|
|
|
204
207
|
* @hidden
|
|
205
208
|
*/
|
|
206
209
|
hasPopup: boolean;
|
|
210
|
+
/**
|
|
211
|
+
* Sets the size of the component.
|
|
212
|
+
*
|
|
213
|
+
* The possible values are:
|
|
214
|
+
* * `'small'`
|
|
215
|
+
* * `'medium'` (Default)
|
|
216
|
+
* * `'large'`
|
|
217
|
+
* * `null`
|
|
218
|
+
*
|
|
219
|
+
*/
|
|
220
|
+
size: DateInputSize;
|
|
221
|
+
/**
|
|
222
|
+
* Sets the border radius of the component.
|
|
223
|
+
*
|
|
224
|
+
* The possible values are:
|
|
225
|
+
* * `'small'`
|
|
226
|
+
* * `'medium'` (Default)
|
|
227
|
+
* * `'large'`
|
|
228
|
+
* * `'full'`
|
|
229
|
+
* * `null`
|
|
230
|
+
*
|
|
231
|
+
*/
|
|
232
|
+
rounded: DateInputRounded;
|
|
233
|
+
/**
|
|
234
|
+
* Sets the fillMode of the component.
|
|
235
|
+
*
|
|
236
|
+
* The possible values are:
|
|
237
|
+
* * `'solid'` (Default)
|
|
238
|
+
* * `'flat'`
|
|
239
|
+
* * `'outline'`
|
|
240
|
+
* * `null`
|
|
241
|
+
*
|
|
242
|
+
*/
|
|
243
|
+
fillMode: DateInputFillMode;
|
|
207
244
|
/**
|
|
208
245
|
* Fires each time the user selects a new value.
|
|
209
246
|
* For more information, refer to the section on
|
|
@@ -269,10 +306,6 @@ export declare class DateInputComponent implements OnInit, ControlValueAccessor,
|
|
|
269
306
|
* @hidden
|
|
270
307
|
*/
|
|
271
308
|
dateInput: ElementRef;
|
|
272
|
-
/**
|
|
273
|
-
* @hidden
|
|
274
|
-
*/
|
|
275
|
-
wrap: ElementRef;
|
|
276
309
|
readonly wrapperClass: boolean;
|
|
277
310
|
readonly disabledClass: boolean;
|
|
278
311
|
readonly inputElement: any;
|
|
@@ -291,6 +324,8 @@ export declare class DateInputComponent implements OnInit, ControlValueAccessor,
|
|
|
291
324
|
isDateIncomplete: boolean;
|
|
292
325
|
protected currentValue: string;
|
|
293
326
|
protected currentFormat: string;
|
|
327
|
+
private spinup;
|
|
328
|
+
private spindown;
|
|
294
329
|
private backspace;
|
|
295
330
|
private resetSegmentValue;
|
|
296
331
|
private symbolsMap;
|
|
@@ -309,7 +344,10 @@ export declare class DateInputComponent implements OnInit, ControlValueAccessor,
|
|
|
309
344
|
private onControlChange;
|
|
310
345
|
private onControlTouched;
|
|
311
346
|
private onValidatorChange;
|
|
312
|
-
|
|
347
|
+
private _size;
|
|
348
|
+
private _rounded;
|
|
349
|
+
private _fillMode;
|
|
350
|
+
constructor(cdr: ChangeDetectorRef, intl: IntlService, renderer: Renderer2, wrapper: ElementRef, ngZone: NgZone, injector: Injector, localization: LocalizationService, pickerService?: PickerService);
|
|
313
351
|
/**
|
|
314
352
|
* @hidden
|
|
315
353
|
* Used by the TextBoxContainer to determine if the component is empty
|
|
@@ -338,6 +376,7 @@ export declare class DateInputComponent implements OnInit, ControlValueAccessor,
|
|
|
338
376
|
* @hidden
|
|
339
377
|
*/
|
|
340
378
|
ngOnInit(): void;
|
|
379
|
+
ngAfterViewInit(): void;
|
|
341
380
|
/**
|
|
342
381
|
* @hidden
|
|
343
382
|
*/
|
|
@@ -437,4 +476,6 @@ export declare class DateInputComponent implements OnInit, ControlValueAccessor,
|
|
|
437
476
|
private emitFocus;
|
|
438
477
|
private emitBlur;
|
|
439
478
|
private updateIncompleteValidationStatus;
|
|
479
|
+
private setSpinnerFill;
|
|
480
|
+
private setComponentClasses;
|
|
440
481
|
}
|