@coreui/angular-pro 4.5.23 → 4.5.24
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/esm2022/lib/calendar/calendar.service.mjs +1 -2
- package/esm2022/lib/calendar/calendar.utils.mjs +6 -9
- package/esm2022/lib/date-picker/date-picker.component.mjs +6 -4
- package/esm2022/lib/date-range-picker/date-range-picker/custom-range-key.pipe.mjs +17 -0
- package/esm2022/lib/date-range-picker/date-range-picker/date-range-picker.component.mjs +24 -9
- package/fesm2022/coreui-angular-pro.mjs +47 -21
- package/fesm2022/coreui-angular-pro.mjs.map +1 -1
- package/lib/calendar/calendar.utils.d.ts +1 -1
- package/lib/date-range-picker/date-range-picker/custom-range-key.pipe.d.ts +8 -0
- package/lib/date-range-picker/date-range-picker/date-range-picker.component.d.ts +1 -0
- package/package.json +1 -1
|
@@ -21,6 +21,6 @@ export declare const isStartDate: (date: Date | null, start: Date | null, end: D
|
|
|
21
21
|
export declare const isToday: (date: Date) => boolean;
|
|
22
22
|
export declare const isThisMonth: (date: Date, index: number) => boolean;
|
|
23
23
|
export declare const isThisYear: (year: number) => boolean;
|
|
24
|
-
export declare const isValidDate: (date:
|
|
24
|
+
export declare const isValidDate: (date: number | string | Date) => boolean;
|
|
25
25
|
export declare const tryDate: (value: string | number | Date, propName?: string) => Date;
|
|
26
26
|
export declare const isDateInRangeDisabled: (startDate?: Date | null, endDate?: Date | null, dates?: (Date | Date[])[]) => boolean;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { TCustomRange } from './date-range-picker.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CustomRangeKeyPipe implements PipeTransform {
|
|
5
|
+
transform(customRange: TCustomRange, ...args: unknown[]): unknown;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomRangeKeyPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CustomRangeKeyPipe, "customRangeKey", true>;
|
|
8
|
+
}
|
|
@@ -214,6 +214,7 @@ export declare class DateRangePickerComponent implements OnInit, OnDestroy, Cont
|
|
|
214
214
|
onBlur(): void;
|
|
215
215
|
isMobile: boolean;
|
|
216
216
|
customRanges: TCustomRange[];
|
|
217
|
+
showRanges: boolean;
|
|
217
218
|
set startDateValue(value: string);
|
|
218
219
|
get startDateValue(): string;
|
|
219
220
|
private _startDateValue;
|
package/package.json
CHANGED