@coreui/angular-pro 4.2.23 → 4.2.25
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/esm2020/lib/date-picker/date-picker.component.mjs +3 -3
- package/esm2020/lib/date-range-picker/date-range-picker/date-range-picker.component.mjs +13 -5
- package/esm2020/lib/multi-select/multi-select/multi-select.component.mjs +12 -3
- package/esm2020/lib/sidebar/sidebar/sidebar.component.mjs +7 -7
- package/esm2020/lib/smart-table/smart-table/smart-table.component.mjs +8 -3
- package/esm2020/lib/smart-table/smart-table-column-filter/smart-table-column-filter.component.mjs +30 -0
- package/esm2020/lib/smart-table/smart-table-filter/filter-input.directive.mjs +78 -0
- package/esm2020/lib/smart-table/smart-table-filter/smart-table-filter.component.mjs +17 -67
- package/esm2020/lib/smart-table/smart-table-head/smart-table-head.component.mjs +14 -9
- package/esm2020/lib/smart-table/smart-table.module.mjs +8 -2
- package/esm2020/lib/time-picker/time-picker.component.mjs +44 -17
- package/fesm2015/coreui-angular-pro.mjs +538 -435
- package/fesm2015/coreui-angular-pro.mjs.map +1 -1
- package/fesm2020/coreui-angular-pro.mjs +534 -431
- package/fesm2020/coreui-angular-pro.mjs.map +1 -1
- package/lib/date-range-picker/date-range-picker/date-range-picker.component.d.ts +12 -2
- package/lib/multi-select/multi-select/multi-select.component.d.ts +14 -1
- package/lib/sidebar/sidebar/sidebar.component.d.ts +5 -5
- package/lib/smart-table/smart-table/smart-table.component.d.ts +5 -1
- package/lib/smart-table/smart-table-column-filter/smart-table-column-filter.component.d.ts +11 -0
- package/lib/smart-table/smart-table-filter/filter-input.directive.d.ts +24 -0
- package/lib/smart-table/smart-table-filter/smart-table-filter.component.d.ts +8 -13
- package/lib/smart-table/smart-table-head/smart-table-head.component.d.ts +6 -1
- package/lib/smart-table/smart-table.module.d.ts +13 -11
- package/lib/time-picker/time-picker.component.d.ts +18 -5
- package/package.json +1 -1
|
@@ -118,7 +118,13 @@ export declare class DateRangePickerComponent implements OnInit, OnDestroy, Cont
|
|
|
118
118
|
get timepicker(): boolean;
|
|
119
119
|
private _timepicker;
|
|
120
120
|
/**
|
|
121
|
-
* Toggle
|
|
121
|
+
* Toggle visual validation feedback.
|
|
122
|
+
* @type boolean | undefined
|
|
123
|
+
* @default undefined
|
|
124
|
+
*/
|
|
125
|
+
valid?: boolean;
|
|
126
|
+
/**
|
|
127
|
+
* Toggle the visibility of the dropdown date-picker component.
|
|
122
128
|
* @type boolean
|
|
123
129
|
* @default false
|
|
124
130
|
*/
|
|
@@ -200,6 +206,10 @@ export declare class DateRangePickerComponent implements OnInit, OnDestroy, Cont
|
|
|
200
206
|
set inputEndHoverValue(value: Date | null);
|
|
201
207
|
get inputEndHoverValue(): Date | null;
|
|
202
208
|
private _inputEndHoverValue;
|
|
209
|
+
get datePickerClasses(): {
|
|
210
|
+
'is-valid': boolean;
|
|
211
|
+
'is-invalid': boolean;
|
|
212
|
+
};
|
|
203
213
|
formatDate(date: Date): string;
|
|
204
214
|
ngOnInit(): void;
|
|
205
215
|
ngOnDestroy(): void;
|
|
@@ -226,5 +236,5 @@ export declare class DateRangePickerComponent implements OnInit, OnDestroy, Cont
|
|
|
226
236
|
handleStartTimeChange(time: Date | undefined): void;
|
|
227
237
|
handleEndTimeChange(time: Date | undefined): void;
|
|
228
238
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangePickerComponent, never>;
|
|
229
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateRangePickerComponent, "c-date-range-picker", ["cDateRangePicker"], { "dayFormat": "dayFormat"; "calendars": "calendars"; "cleaner": "cleaner"; "format": "format"; "indicator": "indicator"; "inputReadOnly": "inputReadOnly"; "navYearFirst": "navYearFirst"; "placeholder": "placeholder"; "ranges": "ranges"; "rangesButtonsColor": "rangesButtonsColor"; "rangesButtonsSize": "rangesButtonsSize"; "rangesButtonsVariant": "rangesButtonsVariant"; "separator": "separator"; "size": "size"; "timepicker": "timepicker"; "visible": "visible"; "startDate": "startDate"; "endDate": "endDate"; "calendarDate": "calendarDate"; "disabledDates": "disabledDates"; "firstDayOfWeek": "firstDayOfWeek"; "locale": "locale"; "maxDate": "maxDate"; "minDate": "minDate"; "navigation": "navigation"; "range": "range"; "dateFilter": "dateFilter"; "disabled": "disabled"; "value": "value"; "weekdayFormat": "weekdayFormat"; "popperjsOptions": "popperOptions"; }, { "valueChange": "valueChange"; "calendarCellHover": "calendarCellHover"; "calendarDateChange": "calendarDateChange"; "endDateChange": "endDateChange"; "startDateChange": "startDateChange"; }, ["contentTemplates"], ["*"], false>;
|
|
239
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateRangePickerComponent, "c-date-range-picker", ["cDateRangePicker"], { "dayFormat": "dayFormat"; "calendars": "calendars"; "cleaner": "cleaner"; "format": "format"; "indicator": "indicator"; "inputReadOnly": "inputReadOnly"; "navYearFirst": "navYearFirst"; "placeholder": "placeholder"; "ranges": "ranges"; "rangesButtonsColor": "rangesButtonsColor"; "rangesButtonsSize": "rangesButtonsSize"; "rangesButtonsVariant": "rangesButtonsVariant"; "separator": "separator"; "size": "size"; "timepicker": "timepicker"; "valid": "valid"; "visible": "visible"; "startDate": "startDate"; "endDate": "endDate"; "calendarDate": "calendarDate"; "disabledDates": "disabledDates"; "firstDayOfWeek": "firstDayOfWeek"; "locale": "locale"; "maxDate": "maxDate"; "minDate": "minDate"; "navigation": "navigation"; "range": "range"; "dateFilter": "dateFilter"; "disabled": "disabled"; "value": "value"; "weekdayFormat": "weekdayFormat"; "popperjsOptions": "popperOptions"; }, { "valueChange": "valueChange"; "calendarCellHover": "calendarCellHover"; "calendarDateChange": "calendarDateChange"; "endDateChange": "endDateChange"; "startDateChange": "startDateChange"; }, ["contentTemplates"], ["*"], false>;
|
|
230
240
|
}
|
|
@@ -60,6 +60,17 @@ export declare class MultiSelectComponent implements IMultiSelect, ControlValueA
|
|
|
60
60
|
get value(): string | string[];
|
|
61
61
|
private _value;
|
|
62
62
|
readonly valueChange: EventEmitter<string | string[]>;
|
|
63
|
+
/**
|
|
64
|
+
* Toggle visual validation feedback.
|
|
65
|
+
* @type boolean | undefined
|
|
66
|
+
* @default undefined
|
|
67
|
+
*/
|
|
68
|
+
valid?: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* Toggle the visibility of the dropdown select component.
|
|
71
|
+
* @type boolean
|
|
72
|
+
* @default false
|
|
73
|
+
*/
|
|
63
74
|
set visible(value: boolean);
|
|
64
75
|
get visible(): boolean;
|
|
65
76
|
private _visible;
|
|
@@ -96,6 +107,8 @@ export declare class MultiSelectComponent implements IMultiSelect, ControlValueA
|
|
|
96
107
|
'form-multi-select-with-cleaner': boolean;
|
|
97
108
|
show: boolean;
|
|
98
109
|
disabled: boolean;
|
|
110
|
+
'is-valid': boolean;
|
|
111
|
+
'is-invalid': boolean;
|
|
99
112
|
};
|
|
100
113
|
private get tabIndex();
|
|
101
114
|
private set tabIndex(value);
|
|
@@ -132,6 +145,6 @@ export declare class MultiSelectComponent implements IMultiSelect, ControlValueA
|
|
|
132
145
|
private selectedOptionsUpdate;
|
|
133
146
|
private setFocusMonitor;
|
|
134
147
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiSelectComponent, never>;
|
|
135
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelectComponent, "c-multi-select", ["cMultiSelect"], { "cleaner": "cleaner"; "disabled": "disabled"; "multiple": "multiple"; "nativeName": "nativeName"; "nativeId": "nativeId"; "optionsMaxHeight": "optionsMaxHeight"; "optionsStyle": "optionsStyle"; "placeholder": "placeholder"; "search": "search"; "searchNoResultsLabel": "searchNoResultsLabel"; "selectAll": "selectAll"; "selectAllLabel": "selectAllLabel"; "selectionType": "selectionType"; "selectionTypeCounterText": "selectionTypeCounterText"; "selectionTypeCounterTextPluralMap": "selectionTypeCounterTextPluralMap"; "size": "size"; "value": "value"; "visible": "visible"; "popperjsOptions": "popperOptions"; }, { "valueChange": "valueChange"; "visibleChange": "visibleChange"; }, ["multiSelectOptions"], ["*"], false>;
|
|
148
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelectComponent, "c-multi-select", ["cMultiSelect"], { "cleaner": "cleaner"; "disabled": "disabled"; "multiple": "multiple"; "nativeName": "nativeName"; "nativeId": "nativeId"; "optionsMaxHeight": "optionsMaxHeight"; "optionsStyle": "optionsStyle"; "placeholder": "placeholder"; "search": "search"; "searchNoResultsLabel": "searchNoResultsLabel"; "selectAll": "selectAll"; "selectAllLabel": "selectAllLabel"; "selectionType": "selectionType"; "selectionTypeCounterText": "selectionTypeCounterText"; "selectionTypeCounterTextPluralMap": "selectionTypeCounterTextPluralMap"; "size": "size"; "value": "value"; "valid": "valid"; "visible": "visible"; "popperjsOptions": "popperOptions"; }, { "valueChange": "valueChange"; "visibleChange": "visibleChange"; }, ["multiSelectOptions"], ["*"], false>;
|
|
136
149
|
}
|
|
137
150
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, OnDestroy, OnInit, Renderer2, SimpleChanges } from
|
|
2
|
-
import { BooleanInput } from
|
|
3
|
-
import { BreakpointObserver } from
|
|
4
|
-
import { ISidebarAction, SidebarService } from
|
|
5
|
-
import { SidebarBackdropService } from
|
|
1
|
+
import { EventEmitter, OnChanges, OnDestroy, OnInit, Renderer2, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
3
|
+
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
4
|
+
import { ISidebarAction, SidebarService } from '../sidebar.service';
|
|
5
|
+
import { SidebarBackdropService } from '../sidebar-backdrop/sidebar-backdrop.service';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class SidebarComponent implements OnChanges, OnDestroy, OnInit {
|
|
8
8
|
#private;
|
|
@@ -104,6 +104,7 @@ export declare class SmartTableComponent implements ISmartTable, AfterContentIni
|
|
|
104
104
|
get rawColumnNames(): any[];
|
|
105
105
|
get itemsDataColumns(): any[];
|
|
106
106
|
get sortedItems(): IItemInternal[];
|
|
107
|
+
get tableFilterEvent(): 'change' | 'input';
|
|
107
108
|
private _columnFiltered;
|
|
108
109
|
get columnFiltered(): IItemInternal[];
|
|
109
110
|
get tableFiltered(): IItemInternal[];
|
|
@@ -117,7 +118,10 @@ export declare class SmartTableComponent implements ISmartTable, AfterContentIni
|
|
|
117
118
|
handleSorterChange(column: string, index: number): void;
|
|
118
119
|
setActivePage($event: number): void;
|
|
119
120
|
handleColumnFilterChange($event: any): void;
|
|
120
|
-
handleTableFilterChange($event:
|
|
121
|
+
handleTableFilterChange($event: {
|
|
122
|
+
value: string;
|
|
123
|
+
type: string;
|
|
124
|
+
}): void;
|
|
121
125
|
clean($event: MouseEvent): void;
|
|
122
126
|
handleItemsPerPageChange(value: number): void;
|
|
123
127
|
handleRowChecked($event: Event, item: IItemInternal): void;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IColumn } from '../smart-table.type';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SmartTableColumnFilterComponent {
|
|
4
|
+
#private;
|
|
5
|
+
constructor();
|
|
6
|
+
readonly value$: import("rxjs").BehaviorSubject<string>;
|
|
7
|
+
set column(value: string | IColumn);
|
|
8
|
+
sizing?: 'sm' | 'lg';
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartTableColumnFilterComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartTableColumnFilterComponent, "c-smart-table-column-filter", never, { "column": "column"; "sizing": "sizing"; }, {}, never, never, false>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import { IColumn } from '../smart-table.type';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class FilterInputDirective implements AfterViewInit, OnDestroy {
|
|
6
|
+
#private;
|
|
7
|
+
private readonly elementRef;
|
|
8
|
+
constructor(elementRef: ElementRef);
|
|
9
|
+
readonly value$: BehaviorSubject<string>;
|
|
10
|
+
emitObject: {
|
|
11
|
+
value: string;
|
|
12
|
+
type?: string;
|
|
13
|
+
column?: (string | IColumn);
|
|
14
|
+
};
|
|
15
|
+
delay: number;
|
|
16
|
+
onEvent: 'change' | 'input';
|
|
17
|
+
set value(value: string);
|
|
18
|
+
readonly valueChange: EventEmitter<any>;
|
|
19
|
+
ngAfterViewInit(): void;
|
|
20
|
+
ngOnDestroy(): void;
|
|
21
|
+
private setSubscription;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterInputDirective, never>;
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FilterInputDirective, "[cFilterInput]", ["cFilterInput"], { "delay": "delay"; "onEvent": "onEvent"; "value": "value"; }, { "valueChange": "valueChange"; }, never, never, false>;
|
|
24
|
+
}
|
|
@@ -1,21 +1,16 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
-
import { BehaviorSubject } from 'rxjs';
|
|
3
|
-
import { ITableFilter } from '../smart-table.type';
|
|
4
1
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class SmartTableFilterComponent
|
|
2
|
+
export declare class SmartTableFilterComponent {
|
|
6
3
|
#private;
|
|
7
4
|
constructor();
|
|
8
|
-
readonly value$: BehaviorSubject<string>;
|
|
5
|
+
readonly value$: import("rxjs").BehaviorSubject<string>;
|
|
9
6
|
filterLabel: string;
|
|
10
7
|
filterPlaceholder: string;
|
|
11
|
-
|
|
12
|
-
set value(value: string);
|
|
13
|
-
readonly valueChange: EventEmitter<any>;
|
|
14
|
-
filterInput: ElementRef;
|
|
8
|
+
sizing?: 'sm' | 'lg';
|
|
15
9
|
get hostClasses(): any;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
10
|
+
get labelClasses(): {
|
|
11
|
+
[x: string]: boolean;
|
|
12
|
+
'col-form-label': boolean;
|
|
13
|
+
};
|
|
19
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartTableFilterComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartTableFilterComponent, "c-smart-table-filter", never, { "filterLabel": "filterLabel"; "filterPlaceholder": "filterPlaceholder"; "
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartTableFilterComponent, "c-smart-table-filter", never, { "filterLabel": "filterLabel"; "filterPlaceholder": "filterPlaceholder"; "sizing": "sizing"; }, {}, never, never, false>;
|
|
21
16
|
}
|
|
@@ -32,9 +32,14 @@ export declare class SmartTableHeadComponent implements OnInit {
|
|
|
32
32
|
handleSortClick(column: IColumn | string, i: number): void;
|
|
33
33
|
columnFilterEnabled(column: IColumn | string): boolean;
|
|
34
34
|
columnSorterEnabled(column: IColumn | string): boolean;
|
|
35
|
-
handleColumnFilterValueChange($event:
|
|
35
|
+
handleColumnFilterValueChange($event: {
|
|
36
|
+
value: string;
|
|
37
|
+
type?: string;
|
|
38
|
+
column: (IColumn | string);
|
|
39
|
+
}): void;
|
|
36
40
|
handleSelectAllChecked($event: Event): void;
|
|
37
41
|
getColumnFilter(column: IColumn | string): string;
|
|
42
|
+
get columnFilterEvent(): 'change' | 'input';
|
|
38
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartTableHeadComponent, never>;
|
|
39
44
|
static ɵcmp: i0.ɵɵComponentDeclaration<SmartTableHeadComponent, "c-smart-table-head", never, { "columnFilter": "columnFilter"; "columnFilterState": "columnFilterState"; "columnSorter": "columnSorter"; "component": "component"; "columns": "columns"; "selectable": "selectable"; "selectAll": "selectAll"; "sorterValue": "sorterValue"; "columnFilterTemplates": "columnFilterTemplates"; }, { "columnFilterStateChange": "columnFilterStateChange"; "sorterStateChange": "sorterStateChange"; "selectAllChange": "selectAllChange"; }, never, never, false>;
|
|
40
45
|
}
|
|
@@ -3,18 +3,20 @@ import * as i1 from "./smart-table/smart-table.component";
|
|
|
3
3
|
import * as i2 from "./smart-table-filter/smart-table-filter.component";
|
|
4
4
|
import * as i3 from "./smart-table-items-per-page-selector/smart-table-items-per-page-selector.component";
|
|
5
5
|
import * as i4 from "./smart-table-head/smart-table-head.component";
|
|
6
|
-
import * as i5 from "
|
|
7
|
-
import * as i6 from "
|
|
8
|
-
import * as i7 from "
|
|
9
|
-
import * as i8 from "../
|
|
10
|
-
import * as i9 from "../
|
|
11
|
-
import * as i10 from "../
|
|
12
|
-
import * as i11 from "
|
|
13
|
-
import * as i12 from "../
|
|
14
|
-
import * as i13 from "
|
|
15
|
-
import * as i14 from "../
|
|
6
|
+
import * as i5 from "./smart-table-filter/filter-input.directive";
|
|
7
|
+
import * as i6 from "./smart-table-column-filter/smart-table-column-filter.component";
|
|
8
|
+
import * as i7 from "@angular/common";
|
|
9
|
+
import * as i8 from "../element-cover/element-cover.module";
|
|
10
|
+
import * as i9 from "../table/table.module";
|
|
11
|
+
import * as i10 from "../pagination/pagination.module";
|
|
12
|
+
import * as i11 from "../smart-pagination/smart-pagination.module";
|
|
13
|
+
import * as i12 from "../form/form.module";
|
|
14
|
+
import * as i13 from "@angular/forms";
|
|
15
|
+
import * as i14 from "../button/button.module";
|
|
16
|
+
import * as i15 from "../shared/shared.module";
|
|
17
|
+
import * as i16 from "../utilities/utilities.module";
|
|
16
18
|
export declare class SmartTableModule {
|
|
17
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartTableModule, never>;
|
|
18
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartTableModule, [typeof i1.SmartTableComponent, typeof i2.SmartTableFilterComponent, typeof i3.SmartTableItemsPerPageSelectorComponent, typeof i4.SmartTableHeadComponent], [typeof
|
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartTableModule, [typeof i1.SmartTableComponent, typeof i2.SmartTableFilterComponent, typeof i3.SmartTableItemsPerPageSelectorComponent, typeof i4.SmartTableHeadComponent, typeof i5.FilterInputDirective, typeof i6.SmartTableColumnFilterComponent], [typeof i7.CommonModule, typeof i8.ElementCoverModule, typeof i9.TableModule, typeof i10.PaginationModule, typeof i11.SmartPaginationModule, typeof i12.FormModule, typeof i13.FormsModule, typeof i14.ButtonModule, typeof i15.SharedModule, typeof i13.ReactiveFormsModule, typeof i16.UtilitiesModule], [typeof i1.SmartTableComponent, typeof i2.SmartTableFilterComponent]>;
|
|
19
21
|
static ɵinj: i0.ɵɵInjectorDeclaration<SmartTableModule>;
|
|
20
22
|
}
|
|
@@ -111,7 +111,13 @@ export declare class TimePickerComponent implements OnChanges, OnInit, ControlVa
|
|
|
111
111
|
*/
|
|
112
112
|
variant: 'roll' | 'select';
|
|
113
113
|
/**
|
|
114
|
-
* Toggle
|
|
114
|
+
* Toggle visual validation feedback.
|
|
115
|
+
* @type boolean | undefined
|
|
116
|
+
* @default undefined
|
|
117
|
+
*/
|
|
118
|
+
valid?: boolean;
|
|
119
|
+
/**
|
|
120
|
+
* Toggle the visibility of dropdown timepicker menu component.
|
|
115
121
|
* @type boolean
|
|
116
122
|
* @default false
|
|
117
123
|
*/
|
|
@@ -120,7 +126,7 @@ export declare class TimePickerComponent implements OnChanges, OnInit, ControlVa
|
|
|
120
126
|
private _visible;
|
|
121
127
|
timeChange: EventEmitter<Date | undefined>;
|
|
122
128
|
onBlur(): void;
|
|
123
|
-
|
|
129
|
+
dropdownRef: ElementRef;
|
|
124
130
|
templates: any;
|
|
125
131
|
contentTemplates: QueryList<TemplateIdDirective>;
|
|
126
132
|
listOfHours: ITimeValue[];
|
|
@@ -135,11 +141,16 @@ export declare class TimePickerComponent implements OnChanges, OnInit, ControlVa
|
|
|
135
141
|
set timeInputValue(value: string);
|
|
136
142
|
get timeInputValue(): string;
|
|
137
143
|
private _timeInputValue;
|
|
144
|
+
get timePickerClasses(): {
|
|
145
|
+
'form-control': boolean;
|
|
146
|
+
'is-valid': boolean;
|
|
147
|
+
'is-invalid': boolean;
|
|
148
|
+
};
|
|
138
149
|
selectTime: FormGroup<{
|
|
139
150
|
selectHours: FormControl<number | null>;
|
|
140
151
|
selectMinutes: FormControl<number | null>;
|
|
141
|
-
selectSeconds
|
|
142
|
-
selectDayPeriod
|
|
152
|
+
selectSeconds?: FormControl<number | null> | undefined;
|
|
153
|
+
selectDayPeriod?: FormControl<"am" | "pm" | null> | undefined;
|
|
143
154
|
}>;
|
|
144
155
|
timeInput: FormControl<string | null>;
|
|
145
156
|
set hour(value: number);
|
|
@@ -178,6 +189,8 @@ export declare class TimePickerComponent implements OnChanges, OnInit, ControlVa
|
|
|
178
189
|
setDisabledState(isDisabled: boolean): void;
|
|
179
190
|
handleTimeInputChange($event: any): void;
|
|
180
191
|
handleClear($event: MouseEvent): void;
|
|
192
|
+
handleBlur($event: FocusEvent): void;
|
|
193
|
+
handleFocus($event: FocusEvent): void;
|
|
181
194
|
static ɵfac: i0.ɵɵFactoryDeclaration<TimePickerComponent, never>;
|
|
182
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TimePickerComponent, "c-time-picker", ["cTimePicker"], { "cleaner": "cleaner"; "dateTimeFormatOptions": "dateTimeFormatOptions"; "disabled": "disabled"; "filterHours": "filterHours"; "filterMinutes": "filterMinutes"; "filterSeconds": "filterSeconds"; "indicator": "indicator"; "inputReadOnly": "inputReadOnly"; "locale": "locale"; "placeholder": "placeholder"; "seconds": "seconds"; "size": "size"; "time": "time"; "variant": "variant"; "visible": "visible"; }, { "timeChange": "timeChange"; }, ["contentTemplates"], never, false>;
|
|
195
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TimePickerComponent, "c-time-picker", ["cTimePicker"], { "cleaner": "cleaner"; "dateTimeFormatOptions": "dateTimeFormatOptions"; "disabled": "disabled"; "filterHours": "filterHours"; "filterMinutes": "filterMinutes"; "filterSeconds": "filterSeconds"; "indicator": "indicator"; "inputReadOnly": "inputReadOnly"; "locale": "locale"; "placeholder": "placeholder"; "seconds": "seconds"; "size": "size"; "time": "time"; "variant": "variant"; "valid": "valid"; "visible": "visible"; }, { "timeChange": "timeChange"; }, ["contentTemplates"], never, false>;
|
|
183
196
|
}
|