@coreui/angular-pro 4.2.36 → 4.2.37
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/calendar/calendar-month/calendar-day.directive.mjs +1 -1
- package/esm2020/lib/calendar/calendar.service.mjs +1 -1
- package/esm2020/lib/calendar/calendar.utils.mjs +1 -1
- 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 +19 -17
- package/esm2020/lib/multi-select/multi-select/multi-select.component.mjs +4 -2
- package/esm2020/lib/multi-select/multi-select.service.mjs +2 -2
- package/esm2020/lib/smart-table/smart-table.type.mjs +1 -1
- package/fesm2015/coreui-angular-pro.mjs +26 -20
- package/fesm2015/coreui-angular-pro.mjs.map +1 -1
- package/fesm2020/coreui-angular-pro.mjs +24 -20
- package/fesm2020/coreui-angular-pro.mjs.map +1 -1
- package/lib/calendar/calendar.service.d.ts +2 -2
- package/lib/calendar/calendar.utils.d.ts +2 -2
- package/lib/smart-table/smart-table-head/smart-table-head.component.d.ts +3 -1
- package/lib/smart-table/smart-table.type.d.ts +1 -0
- package/package.json +1 -1
|
@@ -11,7 +11,7 @@ export interface ICalendarState {
|
|
|
11
11
|
endDate?: Date | null;
|
|
12
12
|
maxDate?: Date | null;
|
|
13
13
|
minDate?: Date | null;
|
|
14
|
-
disabledDates?: Date
|
|
14
|
+
disabledDates?: (Date | Date[])[];
|
|
15
15
|
range?: boolean;
|
|
16
16
|
view?: string;
|
|
17
17
|
locale?: string;
|
|
@@ -23,7 +23,7 @@ export interface ICalendarState {
|
|
|
23
23
|
export declare class CalendarService {
|
|
24
24
|
private keyValueDiffers;
|
|
25
25
|
constructor(keyValueDiffers: KeyValueDiffers);
|
|
26
|
-
private differ;
|
|
26
|
+
private readonly differ;
|
|
27
27
|
calendarStateObject: ICalendarState;
|
|
28
28
|
private calendarState;
|
|
29
29
|
calendarState$: import("rxjs").Observable<ICalendarState>;
|
|
@@ -11,7 +11,7 @@ export declare const getMonthDetails: (year: number, month: number, firstDayOfWe
|
|
|
11
11
|
date: Date;
|
|
12
12
|
month: string;
|
|
13
13
|
}[][];
|
|
14
|
-
export declare const isDateDisabled: (date: Date | null, min?: Date | null, max?: Date | null, dates?: Date
|
|
14
|
+
export declare const isDateDisabled: (date: Date | null, min?: Date | null, max?: Date | null, dates?: (Date | Date[])[]) => boolean | undefined;
|
|
15
15
|
export declare const isDateInRange: (date: Date | null, start: Date | null, end: Date | null) => boolean | null;
|
|
16
16
|
export declare const isDateSelected: (date: Date | null, start: Date | null, end: Date | null) => boolean | null;
|
|
17
17
|
export declare const isEndDate: (date: Date | null, start: Date | null, end: Date | null) => boolean | null;
|
|
@@ -23,4 +23,4 @@ export declare const isThisMonth: (date: Date, index: number) => boolean;
|
|
|
23
23
|
export declare const isThisYear: (year: number) => boolean;
|
|
24
24
|
export declare const isValidDate: (date: Date | string | number) => boolean;
|
|
25
25
|
export declare const tryDate: (value: string | number | Date, propName?: string) => Date;
|
|
26
|
-
export declare const isDateInRangeDisabled: (startDate?: Date | null, endDate?: Date | null, dates?: Date
|
|
26
|
+
export declare const isDateInRangeDisabled: (startDate?: Date | null, endDate?: Date | null, dates?: (Date | Date[])[]) => boolean;
|
|
@@ -22,7 +22,9 @@ export declare class SmartTableHeadComponent implements OnInit {
|
|
|
22
22
|
tfoot: boolean;
|
|
23
23
|
};
|
|
24
24
|
ngOnInit(): void;
|
|
25
|
-
tableHeaderCellProps(column: IColumn | string): {
|
|
25
|
+
tableHeaderCellProps(column: IColumn | string): {
|
|
26
|
+
[key: string]: any;
|
|
27
|
+
};
|
|
26
28
|
tableHeaderCellColor(column: IColumn | string): string | undefined;
|
|
27
29
|
tableHeaderCellStyles(column: IColumn | string): any;
|
|
28
30
|
columnLabel(column: IColumn | string): string;
|
|
@@ -231,6 +231,7 @@ export interface ITableHeaderCellProps {
|
|
|
231
231
|
* @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string
|
|
232
232
|
*/
|
|
233
233
|
color?: Colors;
|
|
234
|
+
[key: string]: any;
|
|
234
235
|
}
|
|
235
236
|
export interface ISorter {
|
|
236
237
|
resetable?: boolean;
|