@coreui/angular-pro 5.4.3 → 5.4.5
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/coreui-angular-pro.mjs +1075 -1066
- package/fesm2022/coreui-angular-pro.mjs.map +1 -1
- package/lib/calendar/calendar.utils.d.ts +2 -0
- package/lib/coreui.types.d.ts +2 -0
- package/lib/date-range-picker/date-range-picker/date-range-picker.component.d.ts +19 -1
- package/lib/time-picker/time-picker-roll-col/time-picker-roll-am-pm.component.d.ts +12 -17
- package/lib/time-picker/time-picker-roll-col/time-picker-roll-col.component.d.ts +12 -17
- package/lib/time-picker/time-picker.component.d.ts +45 -44
- package/package.json +3 -3
|
@@ -45,3 +45,5 @@ export declare const isThisYear: (year: number) => boolean;
|
|
|
45
45
|
export declare const isValidDate: (date: number | string | Date) => boolean;
|
|
46
46
|
export declare const tryDate: (value: string | number | Date, propName?: string) => Date;
|
|
47
47
|
export declare const isDateInRangeDisabled: (startDate?: Date | null, endDate?: Date | null, dates?: (Date | Date[])[], dateFilter?: DateFilterType) => boolean;
|
|
48
|
+
export declare const getUtcTime: (value: Date | null) => Record<string, number>;
|
|
49
|
+
export declare const setUtcTime: (value: Date | null, time: Record<string, number>, withTime: boolean) => Date | null;
|
package/lib/coreui.types.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { IsActiveMatchOptions } from '@angular/router';
|
|
2
|
+
export declare type BooleanInput = string | boolean | null | undefined;
|
|
3
|
+
export declare type NumberInput = string | number | null | undefined;
|
|
2
4
|
export type NgCssClass = string | string[] | Set<string> | {
|
|
3
5
|
[klass: string]: any;
|
|
4
6
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ElementRef, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor, FormGroup } from '@angular/forms';
|
|
3
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
3
4
|
import { Subscription } from 'rxjs';
|
|
4
5
|
import { Options } from '@popperjs/core';
|
|
5
6
|
import { DateFilterType, DayFormatType, DaysOfWeek, SelectionType, WeekdayFormatType } from '../../calendar/calendar.service';
|
|
@@ -12,6 +13,15 @@ export type TCustomRange = [string, Date[]];
|
|
|
12
13
|
/** Must be a valid date string */
|
|
13
14
|
export declare class DateRangePickerComponent implements OnInit, OnDestroy, ControlValueAccessor {
|
|
14
15
|
#private;
|
|
16
|
+
static ngAcceptInputType_closeOnSelect: BooleanInput;
|
|
17
|
+
static ngAcceptInputType_disabled: BooleanInput;
|
|
18
|
+
static ngAcceptInputType_inputReadOnly: BooleanInput;
|
|
19
|
+
static ngAcceptInputType_navYearFirst: BooleanInput;
|
|
20
|
+
static ngAcceptInputType_withTime: BooleanInput;
|
|
21
|
+
static ngAcceptInputType_selectAdjacentDays: BooleanInput;
|
|
22
|
+
static ngAcceptInputType_showWeekNumber: BooleanInput;
|
|
23
|
+
static ngAcceptInputType_timepicker: BooleanInput;
|
|
24
|
+
static ngAcceptInputType_visible: BooleanInput;
|
|
15
25
|
/**
|
|
16
26
|
* Set the format of day name.
|
|
17
27
|
* @default 'numeric'
|
|
@@ -110,6 +120,12 @@ export declare class DateRangePickerComponent implements OnInit, OnDestroy, Cont
|
|
|
110
120
|
* @default undefined
|
|
111
121
|
*/
|
|
112
122
|
readonly size: import("@angular/core").InputSignal<"sm" | "lg" | undefined>;
|
|
123
|
+
/**
|
|
124
|
+
* Keep track of the time with the date value.
|
|
125
|
+
* @return boolean
|
|
126
|
+
* @default false
|
|
127
|
+
*/
|
|
128
|
+
readonly withTime: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
113
129
|
/**
|
|
114
130
|
* Provide an additional time selection by adding select boxes to choose time.
|
|
115
131
|
* @return boolean
|
|
@@ -132,6 +148,8 @@ export declare class DateRangePickerComponent implements OnInit, OnDestroy, Cont
|
|
|
132
148
|
readonly visible: import("@angular/core").WritableSignal<boolean>;
|
|
133
149
|
readonly startDateModel: import("@angular/core").ModelSignal<Date | null>;
|
|
134
150
|
readonly startDate: import("@angular/core").Signal<Date | null>;
|
|
151
|
+
readonly startTime: import("@angular/core").Signal<Record<string, number>>;
|
|
152
|
+
readonly endTime: import("@angular/core").Signal<Record<string, number>>;
|
|
135
153
|
readonly startDateChange: import("rxjs").Observable<Date | null>;
|
|
136
154
|
readonly endDateModel: import("@angular/core").ModelSignal<Date | null>;
|
|
137
155
|
readonly endDate: import("@angular/core").Signal<Date | null>;
|
|
@@ -271,5 +289,5 @@ export declare class DateRangePickerComponent implements OnInit, OnDestroy, Cont
|
|
|
271
289
|
handleStartTimeChange(time: Date | undefined): void;
|
|
272
290
|
handleEndTimeChange(time: Date | undefined): void;
|
|
273
291
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangePickerComponent, never>;
|
|
274
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateRangePickerComponent, "c-date-range-picker", ["cDateRangePicker"], { "dayFormat": { "alias": "dayFormat"; "required": false; "isSignal": true; }; "calendars": { "alias": "calendars"; "required": false; "isSignal": true; }; "cleaner": { "alias": "cleaner"; "required": false; "isSignal": true; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; "indicator": { "alias": "indicator"; "required": false; "isSignal": true; }; "inputDateFormat": { "alias": "inputDateFormat"; "required": false; "isSignal": true; }; "inputDateParse": { "alias": "inputDateParse"; "required": false; "isSignal": true; }; "inputReadOnlyInput": { "alias": "inputReadOnly"; "required": false; "isSignal": true; }; "navYearFirst": { "alias": "navYearFirst"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "ranges": { "alias": "ranges"; "required": false; "isSignal": true; }; "rangesButtonsColor": { "alias": "rangesButtonsColor"; "required": false; "isSignal": true; }; "rangesButtonsSize": { "alias": "rangesButtonsSize"; "required": false; "isSignal": true; }; "rangesButtonsVariant": { "alias": "rangesButtonsVariant"; "required": false; "isSignal": true; }; "separator": { "alias": "separator"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "timepickerInput": { "alias": "timepicker"; "required": false; "isSignal": true; }; "valid": { "alias": "valid"; "required": false; "isSignal": true; }; "visibleInput": { "alias": "
|
|
292
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateRangePickerComponent, "c-date-range-picker", ["cDateRangePicker"], { "dayFormat": { "alias": "dayFormat"; "required": false; "isSignal": true; }; "calendars": { "alias": "calendars"; "required": false; "isSignal": true; }; "cleaner": { "alias": "cleaner"; "required": false; "isSignal": true; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; "indicator": { "alias": "indicator"; "required": false; "isSignal": true; }; "inputDateFormat": { "alias": "inputDateFormat"; "required": false; "isSignal": true; }; "inputDateParse": { "alias": "inputDateParse"; "required": false; "isSignal": true; }; "inputReadOnlyInput": { "alias": "inputReadOnly"; "required": false; "isSignal": true; }; "navYearFirst": { "alias": "navYearFirst"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "ranges": { "alias": "ranges"; "required": false; "isSignal": true; }; "rangesButtonsColor": { "alias": "rangesButtonsColor"; "required": false; "isSignal": true; }; "rangesButtonsSize": { "alias": "rangesButtonsSize"; "required": false; "isSignal": true; }; "rangesButtonsVariant": { "alias": "rangesButtonsVariant"; "required": false; "isSignal": true; }; "separator": { "alias": "separator"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "withTime": { "alias": "withTime"; "required": false; "isSignal": true; }; "timepickerInput": { "alias": "timepicker"; "required": false; "isSignal": true; }; "valid": { "alias": "valid"; "required": false; "isSignal": true; }; "visibleInput": { "alias": "visible"; "required": false; "isSignal": true; }; "startDateModel": { "alias": "startDate"; "required": false; "isSignal": true; }; "endDateModel": { "alias": "endDate"; "required": false; "isSignal": true; }; "calendarDateInput": { "alias": "calendarDate"; "required": false; "isSignal": true; }; "disabledDates": { "alias": "disabledDates"; "required": false; "isSignal": true; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "navigation": { "alias": "navigation"; "required": false; "isSignal": true; }; "rangeInput": { "alias": "range"; "required": false; "isSignal": true; }; "dateFilter": { "alias": "dateFilter"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; "valueModel": { "alias": "value"; "required": false; "isSignal": true; }; "weekdayFormat": { "alias": "weekdayFormat"; "required": false; "isSignal": true; }; "popperjsOptions": { "alias": "popperOptions"; "required": false; "isSignal": true; }; "selectAdjacentDays": { "alias": "selectAdjacentDays"; "required": false; "isSignal": true; }; "showAdjacentDays": { "alias": "showAdjacentDays"; "required": false; "isSignal": true; }; "selectionType": { "alias": "selectionType"; "required": false; "isSignal": true; }; "showWeekNumber": { "alias": "showWeekNumber"; "required": false; "isSignal": true; }; "weekNumbersLabel": { "alias": "weekNumbersLabel"; "required": false; "isSignal": true; }; }, { "startDateModel": "startDateChange"; "endDateModel": "endDateChange"; "valueModel": "valueChange"; "valueChange": "valueChange"; "calendarCellHover": "calendarCellHover"; "calendarDateChange": "calendarDateChange"; }, ["contentTemplates"], ["*"], true, never>;
|
|
275
293
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef,
|
|
1
|
+
import { AfterViewInit, ElementRef, OnChanges, QueryList, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { DayPeriod } from '../time.utils';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export interface IDayPeriod {
|
|
@@ -10,24 +10,21 @@ export interface IDayPeriod {
|
|
|
10
10
|
export declare class DayPeriodElementDirective {
|
|
11
11
|
elementRef: ElementRef;
|
|
12
12
|
constructor(elementRef: ElementRef);
|
|
13
|
-
cDayPeriodElement: IDayPeriod
|
|
13
|
+
readonly cDayPeriodElement: import("@angular/core").InputSignal<IDayPeriod>;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<DayPeriodElementDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DayPeriodElementDirective, "[cDayPeriodElement]", ["cDayPeriodElement"], { "cDayPeriodElement": { "alias": "cDayPeriodElement"; "required":
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DayPeriodElementDirective, "[cDayPeriodElement]", ["cDayPeriodElement"], { "cDayPeriodElement": { "alias": "cDayPeriodElement"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
16
16
|
}
|
|
17
17
|
export declare class TimePickerRollAmPmComponent implements OnChanges, AfterViewInit {
|
|
18
|
+
#private;
|
|
18
19
|
elementRef: ElementRef;
|
|
19
20
|
constructor(elementRef: ElementRef);
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
selectedChange:
|
|
27
|
-
get hostClasses(): {
|
|
28
|
-
'time-picker-roll-col': boolean;
|
|
29
|
-
disabled: boolean;
|
|
30
|
-
};
|
|
21
|
+
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
22
|
+
readonly elements: import("@angular/core").InputSignal<IDayPeriod[]>;
|
|
23
|
+
readonly onClick: import("@angular/core").InputSignal<((value: number | string) => void) | undefined>;
|
|
24
|
+
readonly refresh: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
25
|
+
readonly selectedInput: import("@angular/core").InputSignal<string | number | null>;
|
|
26
|
+
readonly selected: import("@angular/core").WritableSignal<string | number | null>;
|
|
27
|
+
readonly selectedChange: import("@angular/core").OutputEmitterRef<any>;
|
|
31
28
|
dayPeriodElements: QueryList<DayPeriodElementDirective>;
|
|
32
29
|
ngAfterViewInit(): void;
|
|
33
30
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -35,7 +32,5 @@ export declare class TimePickerRollAmPmComponent implements OnChanges, AfterView
|
|
|
35
32
|
handleElementClick($event: MouseEvent, element: any): void;
|
|
36
33
|
handleElementKeyDown($event: KeyboardEvent, element: IDayPeriod): void;
|
|
37
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<TimePickerRollAmPmComponent, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TimePickerRollAmPmComponent, "c-time-picker-roll-am-pm", never, { "disabled": { "alias": "disabled"; "required": false; }; "elements": { "alias": "elements"; "required": false; }; "onClick": { "alias": "onClick"; "required": false; }; "
|
|
39
|
-
static ngAcceptInputType_disabled: unknown;
|
|
40
|
-
static ngAcceptInputType_refresh: unknown;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TimePickerRollAmPmComponent, "c-time-picker-roll-am-pm", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "elements": { "alias": "elements"; "required": false; "isSignal": true; }; "onClick": { "alias": "onClick"; "required": false; "isSignal": true; }; "refresh": { "alias": "refresh"; "required": false; "isSignal": true; }; "selectedInput": { "alias": "selected"; "required": false; "isSignal": true; }; }, { "selectedChange": "selectedChange"; }, never, never, true, never>;
|
|
41
36
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef,
|
|
1
|
+
import { AfterViewInit, ElementRef, OnChanges, QueryList, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { ITimeValue } from '../time.utils';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export interface ITimePickerRollCol {
|
|
@@ -9,24 +9,21 @@ export interface ITimePickerRollCol {
|
|
|
9
9
|
export declare class TimeElementDirective {
|
|
10
10
|
elementRef: ElementRef;
|
|
11
11
|
constructor(elementRef: ElementRef);
|
|
12
|
-
cTimeElement: ITimeValue
|
|
12
|
+
readonly cTimeElement: import("@angular/core").InputSignal<ITimeValue>;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<TimeElementDirective, never>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TimeElementDirective, "[cTimeElement]", ["cTimeElement"], { "cTimeElement": { "alias": "cTimeElement"; "required":
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TimeElementDirective, "[cTimeElement]", ["cTimeElement"], { "cTimeElement": { "alias": "cTimeElement"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
15
15
|
}
|
|
16
|
-
export declare class TimePickerRollColComponent implements
|
|
16
|
+
export declare class TimePickerRollColComponent implements OnChanges, AfterViewInit {
|
|
17
17
|
#private;
|
|
18
18
|
elementRef: ElementRef;
|
|
19
19
|
constructor(elementRef: ElementRef);
|
|
20
|
-
disabled: boolean
|
|
21
|
-
elements: ITimeValue[]
|
|
22
|
-
onClick
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
'time-picker-roll-col': boolean;
|
|
28
|
-
disabled: boolean;
|
|
29
|
-
};
|
|
20
|
+
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
21
|
+
readonly elements: import("@angular/core").InputSignal<ITimeValue[]>;
|
|
22
|
+
readonly onClick: import("@angular/core").InputSignal<((value: number | string) => void) | undefined>;
|
|
23
|
+
readonly refresh: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
24
|
+
readonly selectedInput: import("@angular/core").InputSignal<string | number | null>;
|
|
25
|
+
readonly selected: import("@angular/core").WritableSignal<string | number | null>;
|
|
26
|
+
readonly selectedChange: import("@angular/core").OutputEmitterRef<any>;
|
|
30
27
|
timeElements: QueryList<TimeElementDirective>;
|
|
31
28
|
ngAfterViewInit(): void;
|
|
32
29
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -34,7 +31,5 @@ export declare class TimePickerRollColComponent implements ITimePickerRollCol, O
|
|
|
34
31
|
handleElementClick($event: MouseEvent, element: any): void;
|
|
35
32
|
handleElementKeyDown($event: KeyboardEvent, element: ITimeValue): void;
|
|
36
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<TimePickerRollColComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TimePickerRollColComponent, "c-time-picker-roll-col", ["cTimePickerRollCol"], { "disabled": { "alias": "disabled"; "required": false; }; "elements": { "alias": "elements"; "required": false; }; "onClick": { "alias": "onClick"; "required": false; }; "
|
|
38
|
-
static ngAcceptInputType_disabled: unknown;
|
|
39
|
-
static ngAcceptInputType_refresh: unknown;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TimePickerRollColComponent, "c-time-picker-roll-col", ["cTimePickerRollCol"], { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "elements": { "alias": "elements"; "required": false; "isSignal": true; }; "onClick": { "alias": "onClick"; "required": false; "isSignal": true; }; "refresh": { "alias": "refresh"; "required": false; "isSignal": true; }; "selectedInput": { "alias": "selected"; "required": false; "isSignal": true; }; }, { "selectedChange": "selectedChange"; }, never, never, true, never>;
|
|
40
35
|
}
|
|
@@ -1,86 +1,93 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef,
|
|
1
|
+
import { AfterViewInit, ElementRef, OnChanges, OnInit, QueryList, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor, FormControl, FormGroup } from '@angular/forms';
|
|
3
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
3
4
|
import { DateTimeFormatOptions, DayPeriod, ITimeValue } from './time.utils';
|
|
4
5
|
import { TemplateIdDirective } from '../shared';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class TimePickerComponent implements OnChanges, OnInit, ControlValueAccessor, AfterViewInit {
|
|
7
8
|
#private;
|
|
9
|
+
static ngAcceptInputType_disabled: BooleanInput;
|
|
10
|
+
static ngAcceptInputType_inputReadOnly: BooleanInput;
|
|
11
|
+
static ngAcceptInputType_seconds: BooleanInput;
|
|
12
|
+
static ngAcceptInputType_visible: BooleanInput;
|
|
8
13
|
/**
|
|
9
14
|
* Toggle visibility or set the content of the cleaner button.
|
|
10
|
-
* @
|
|
15
|
+
* @return boolean
|
|
11
16
|
* @default true
|
|
12
17
|
*/
|
|
13
|
-
cleaner: boolean
|
|
18
|
+
readonly cleaner: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
14
19
|
/**
|
|
15
20
|
* Sets DateTime format options including timeZone
|
|
16
|
-
* @
|
|
21
|
+
* @return DateTimeFormatOptions
|
|
17
22
|
* @default {}
|
|
18
23
|
* @note The date object doesn't store timeZone, it keeps the local timezone of the browser, regardless if you parsed UTC dates.
|
|
19
24
|
*/
|
|
20
|
-
dateTimeFormatOptions: DateTimeFormatOptions
|
|
25
|
+
readonly dateTimeFormatOptions: import("@angular/core").InputSignal<DateTimeFormatOptions>;
|
|
21
26
|
/**
|
|
22
27
|
* Toggle the disabled state for the component.
|
|
23
|
-
* @
|
|
28
|
+
* @return boolean
|
|
24
29
|
* @default false
|
|
25
30
|
*/
|
|
26
|
-
|
|
31
|
+
readonly disabledInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
32
|
+
readonly disabled: import("@angular/core").WritableSignal<boolean>;
|
|
33
|
+
readonly disabledEffect: import("@angular/core").EffectRef;
|
|
27
34
|
/**
|
|
28
35
|
* Filter available hours to pick.
|
|
29
|
-
* @
|
|
36
|
+
* @return (value: number) => boolean;
|
|
30
37
|
* @default undefined
|
|
31
38
|
*/
|
|
32
|
-
filterHours
|
|
39
|
+
readonly filterHours: import("@angular/core").InputSignal<((value: number) => boolean) | undefined>;
|
|
33
40
|
/**
|
|
34
41
|
* Filter available minutes to pick.
|
|
35
|
-
* @
|
|
42
|
+
* @return (value: number) => boolean;
|
|
36
43
|
* @default undefined
|
|
37
44
|
*/
|
|
38
|
-
filterMinutes
|
|
45
|
+
readonly filterMinutes: import("@angular/core").InputSignal<((value: number) => boolean) | undefined>;
|
|
39
46
|
/**
|
|
40
47
|
* Filter available seconds to pick.
|
|
41
|
-
* @
|
|
48
|
+
* @return (value: number) => boolean;
|
|
42
49
|
* @default undefined
|
|
43
50
|
*/
|
|
44
|
-
filterSeconds
|
|
51
|
+
readonly filterSeconds: import("@angular/core").InputSignal<((value: number) => boolean) | undefined>;
|
|
45
52
|
/**
|
|
46
53
|
* Toggle visibility or set the content of the input indicator.
|
|
47
|
-
* @
|
|
54
|
+
* @return boolean
|
|
48
55
|
* @default true
|
|
49
56
|
*/
|
|
50
|
-
indicator: boolean
|
|
57
|
+
readonly indicator: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
51
58
|
/**
|
|
52
59
|
* Toggle the readonly state for the component.
|
|
53
|
-
* @
|
|
60
|
+
* @return boolean
|
|
54
61
|
* @default false
|
|
55
62
|
*/
|
|
56
|
-
inputReadOnly: boolean
|
|
63
|
+
readonly inputReadOnly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
57
64
|
/**
|
|
58
65
|
* Sets the default locale for components. If not set, it is inherited from the browser.
|
|
59
|
-
* @
|
|
66
|
+
* @return string
|
|
60
67
|
* @default default
|
|
61
68
|
*/
|
|
62
|
-
locale: string
|
|
69
|
+
readonly locale: import("@angular/core").InputSignal<string>;
|
|
63
70
|
/**
|
|
64
71
|
* Specifies short hint visible in time input.
|
|
65
|
-
* @
|
|
72
|
+
* @return string
|
|
66
73
|
* @default 'Select time'
|
|
67
74
|
*/
|
|
68
|
-
placeholder: string
|
|
75
|
+
readonly placeholder: import("@angular/core").InputSignal<string>;
|
|
69
76
|
/**
|
|
70
77
|
* Toggle seconds visibility.
|
|
71
|
-
* @
|
|
78
|
+
* @return boolean
|
|
72
79
|
* @default false
|
|
73
80
|
*/
|
|
74
|
-
seconds: boolean
|
|
81
|
+
readonly seconds: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
75
82
|
/**
|
|
76
83
|
* Size the component small or large.
|
|
77
|
-
* @
|
|
84
|
+
* @return 'sm' | 'lg' | undefined
|
|
78
85
|
* @default undefined
|
|
79
86
|
*/
|
|
80
|
-
size
|
|
87
|
+
readonly size: import("@angular/core").InputSignal<"sm" | "lg" | undefined>;
|
|
81
88
|
/**
|
|
82
89
|
* Initial selected time.
|
|
83
|
-
* @
|
|
90
|
+
* @return Date | string | null | number
|
|
84
91
|
* @default undefined
|
|
85
92
|
*/
|
|
86
93
|
set time(value: Date | string | undefined);
|
|
@@ -89,23 +96,23 @@ export declare class TimePickerComponent implements OnChanges, OnInit, ControlVa
|
|
|
89
96
|
private _timeInternal?;
|
|
90
97
|
/**
|
|
91
98
|
* Set the time picker variant to a roll or select.
|
|
92
|
-
* @
|
|
99
|
+
* @return 'roll' | 'select'
|
|
93
100
|
* @default 'roll'
|
|
94
101
|
*/
|
|
95
|
-
variant:
|
|
102
|
+
readonly variant: import("@angular/core").InputSignal<"select" | "roll">;
|
|
96
103
|
/**
|
|
97
104
|
* Toggle visual validation feedback.
|
|
98
|
-
* @
|
|
105
|
+
* @return boolean | undefined
|
|
99
106
|
* @default undefined
|
|
100
107
|
*/
|
|
101
|
-
valid
|
|
108
|
+
readonly valid: import("@angular/core").InputSignal<boolean | undefined>;
|
|
102
109
|
/**
|
|
103
110
|
* Toggle the visibility of dropdown timepicker menu component.
|
|
104
|
-
* @
|
|
111
|
+
* @return boolean
|
|
105
112
|
* @default false
|
|
106
113
|
*/
|
|
107
|
-
visible: boolean
|
|
108
|
-
timeChange:
|
|
114
|
+
readonly visible: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
115
|
+
readonly timeChange: import("@angular/core").OutputEmitterRef<Date | undefined>;
|
|
109
116
|
onBlur(): void;
|
|
110
117
|
dropdownRef: ElementRef;
|
|
111
118
|
templates: any;
|
|
@@ -123,21 +130,21 @@ export declare class TimePickerComponent implements OnChanges, OnInit, ControlVa
|
|
|
123
130
|
set timeInputValue(value: string);
|
|
124
131
|
get timeInputValue(): string;
|
|
125
132
|
private _timeInputValue;
|
|
126
|
-
|
|
133
|
+
readonly timePickerClasses: import("@angular/core").Signal<{
|
|
127
134
|
[x: string]: boolean;
|
|
128
135
|
'time-picker': boolean;
|
|
129
136
|
'form-control': boolean;
|
|
130
137
|
'is-valid': boolean;
|
|
131
138
|
'is-invalid': boolean;
|
|
132
139
|
disabled: boolean;
|
|
133
|
-
}
|
|
134
|
-
selectTime: FormGroup<{
|
|
140
|
+
}>;
|
|
141
|
+
readonly selectTime: FormGroup<{
|
|
135
142
|
selectHours: FormControl<number | null>;
|
|
136
143
|
selectMinutes: FormControl<number | null>;
|
|
137
144
|
selectSeconds?: FormControl<number | null>;
|
|
138
145
|
selectDayPeriod?: FormControl<"am" | "pm" | null>;
|
|
139
146
|
}>;
|
|
140
|
-
|
|
147
|
+
readonly timeInputCtrl: FormControl<string | null>;
|
|
141
148
|
set hour(value: number);
|
|
142
149
|
get hour(): number;
|
|
143
150
|
private _hour;
|
|
@@ -176,11 +183,5 @@ export declare class TimePickerComponent implements OnChanges, OnInit, ControlVa
|
|
|
176
183
|
handleFocus($event: FocusEvent): void;
|
|
177
184
|
setChangeHandlers(): void;
|
|
178
185
|
static ɵfac: i0.ɵɵFactoryDeclaration<TimePickerComponent, never>;
|
|
179
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TimePickerComponent, "c-time-picker", ["cTimePicker"], { "cleaner": { "alias": "cleaner"; "required": false; }; "dateTimeFormatOptions": { "alias": "dateTimeFormatOptions"; "required": false; }; "
|
|
180
|
-
static ngAcceptInputType_cleaner: unknown;
|
|
181
|
-
static ngAcceptInputType_disabled: unknown;
|
|
182
|
-
static ngAcceptInputType_indicator: unknown;
|
|
183
|
-
static ngAcceptInputType_inputReadOnly: unknown;
|
|
184
|
-
static ngAcceptInputType_seconds: unknown;
|
|
185
|
-
static ngAcceptInputType_visible: unknown;
|
|
186
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TimePickerComponent, "c-time-picker", ["cTimePicker"], { "cleaner": { "alias": "cleaner"; "required": false; "isSignal": true; }; "dateTimeFormatOptions": { "alias": "dateTimeFormatOptions"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; "filterHours": { "alias": "filterHours"; "required": false; "isSignal": true; }; "filterMinutes": { "alias": "filterMinutes"; "required": false; "isSignal": true; }; "filterSeconds": { "alias": "filterSeconds"; "required": false; "isSignal": true; }; "indicator": { "alias": "indicator"; "required": false; "isSignal": true; }; "inputReadOnly": { "alias": "inputReadOnly"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "seconds": { "alias": "seconds"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "time": { "alias": "time"; "required": false; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "valid": { "alias": "valid"; "required": false; "isSignal": true; }; "visible": { "alias": "visible"; "required": false; "isSignal": true; }; }, { "timeChange": "timeChange"; }, ["contentTemplates"], never, true, never>;
|
|
186
187
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coreui/angular-pro",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.5",
|
|
4
4
|
"description": "CoreUI Pro Components Library for Angular",
|
|
5
5
|
"copyright": "Copyright 2025 creativeLabs Łukasz Holeczek",
|
|
6
6
|
"homepage": "https://coreui.io/angular",
|
|
@@ -23,13 +23,13 @@
|
|
|
23
23
|
"sideEffects": false,
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"@angular/animations": "^19.2.0",
|
|
26
|
-
"@angular/cdk": "^19.2.
|
|
26
|
+
"@angular/cdk": "^19.2.0",
|
|
27
27
|
"@angular/common": "^19.2.0",
|
|
28
28
|
"@angular/core": "^19.2.0",
|
|
29
29
|
"@angular/forms": "^19.2.0",
|
|
30
30
|
"@angular/router": "^19.2.0",
|
|
31
31
|
"@coreui/coreui-pro": "~5.10.0",
|
|
32
|
-
"@coreui/icons-angular": "~5.4.
|
|
32
|
+
"@coreui/icons-angular": "~5.4.5",
|
|
33
33
|
"rxjs": "^7.8.2"
|
|
34
34
|
},
|
|
35
35
|
"repository": {
|