mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2849] Search Date Range - Set the format of the date from config (#3288)
* format date chosen from the datePicker's calendar * format date on focusout event * fix tests & some code refactoring * more validation messages * unit tests * fix typecast error * move "dateFormat" to be part of the "date range" widget settings block * fix error on Moment "...Type 'moment.Moment' is not assignable to type 'moment.Moment'. Two different types with this name exist, but they are unrelated. Property 'isLocal' is missing in type 'Moment'..." * moment - use old version * change script - use recent version of moment
This commit is contained in:
committed by
Eugenio Romano
parent
b66154773a
commit
5f004c9972
@@ -8,6 +8,7 @@ ADF_VERSION=$(npm view @alfresco/adf-core version)
|
||||
ANGULAR_VERSION="5.1.1"
|
||||
MATERIAL_VERSION="5.0.1"
|
||||
NGX_TRANSLATE_VERSION="9.1.1"
|
||||
MOMENT_VERSION="2.20.1"
|
||||
|
||||
npm install
|
||||
|
||||
@@ -21,5 +22,6 @@ npm install --save @mat-datetimepicker/core @mat-datetimepicker/moment
|
||||
npm install --save-exact --save @angular/animations@${ANGULAR_VERSION} @angular/common@${ANGULAR_VERSION} @angular/compiler@${ANGULAR_VERSION} @angular/core@${ANGULAR_VERSION} @angular/platform-browser@${ANGULAR_VERSION} @angular/router@${ANGULAR_VERSION} @angular/flex-layout@2.0.0-beta.12 @angular/forms@${ANGULAR_VERSION} @angular/forms@${ANGULAR_VERSION} @angular/http@${ANGULAR_VERSION} @angular/platform-browser-dynamic@${ANGULAR_VERSION}
|
||||
npm install --save-exact --save @angular/cdk@${MATERIAL_VERSION} @angular/material@${MATERIAL_VERSION}
|
||||
npm install --save-exact --save @ngx-translate/core@${NGX_TRANSLATE_VERSION}
|
||||
npm install --save-exact --save moment@${MOMENT_VERSION}
|
||||
|
||||
npm run e2e
|
||||
|
Reference in New Issue
Block a user