File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
projects/dxc-ngx-cdk/src/lib Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ import { DxcDateInputHelper } from "./dxc-date-input.helper";
19
19
import { MatCalendar } from "@angular/material/datepicker" ;
20
20
import { MdePopoverTrigger } from "@material-extended/mde" ;
21
21
import { CssUtils } from "../utils" ;
22
- import dayjs from "dayjs" ;
22
+ import { default as dayjs , Dayjs } from "dayjs" ;
23
23
import {
24
24
DateInputProperties ,
25
25
EmittedValue ,
@@ -311,7 +311,7 @@ export class DxcDateInputComponent implements OnInit {
311
311
}
312
312
}
313
313
314
- onSelectedChangeHandler ( value : dayjs . Dayjs ) {
314
+ onSelectedChangeHandler ( value : Dayjs ) {
315
315
let _stringValue = this . getDateStringValue ( value , this . format ) ;
316
316
let _dateReturn = {
317
317
value : _stringValue ,
@@ -376,7 +376,7 @@ export class DxcDateInputComponent implements OnInit {
376
376
return dayjs ( value , format . toUpperCase ( ) ) ;
377
377
}
378
378
379
- private getDateStringValue ( value : dayjs . Dayjs , format : string ) {
379
+ private getDateStringValue ( value : Dayjs , format : string ) {
380
380
return dayjs ( value ) . format ( format . toUpperCase ( ) ) ;
381
381
}
382
382
}
Original file line number Diff line number Diff line change 1
- import dayjs from "dayjs" ;
1
+ import { default as dayjs , Dayjs } from "dayjs" ;
2
2
import localeData from "dayjs/plugin/localeData" ;
3
3
import localizedFormat from "dayjs/plugin/localizedFormat" ;
4
4
import customParseFormat from "dayjs/plugin/customParseFormat" ;
You can’t perform that action at this time.
0 commit comments