diff --git a/lib/process-services-cloud/src/lib/form/components/widgets/attach-file/file-properties-table/file-properties-table-cloud.component.ts b/lib/process-services-cloud/src/lib/form/components/widgets/attach-file/file-properties-table/file-properties-table-cloud.component.ts index e59f79c303..552ac567aa 100644 --- a/lib/process-services-cloud/src/lib/form/components/widgets/attach-file/file-properties-table/file-properties-table-cloud.component.ts +++ b/lib/process-services-cloud/src/lib/form/components/widgets/attach-file/file-properties-table/file-properties-table-cloud.component.ts @@ -46,6 +46,7 @@ const RETRIEVE_METADATA_OPTION = 'retrieveMetadata'; MatLineModule, MatListModule ], + providers: [LocalizedDatePipe], templateUrl: './file-properties-table-cloud.component.html', styleUrls: ['./file-properties-table-cloud.component.scss'] }) diff --git a/lib/process-services-cloud/src/lib/process/process-cloud.module.ts b/lib/process-services-cloud/src/lib/process/process-cloud.module.ts index 4537dc6027..5487d76494 100644 --- a/lib/process-services-cloud/src/lib/process/process-cloud.module.ts +++ b/lib/process-services-cloud/src/lib/process/process-cloud.module.ts @@ -18,13 +18,12 @@ import { NgModule } from '@angular/core'; import { ProcessFiltersCloudModule } from './process-filters/process-filters-cloud.module'; import { ProcessListCloudModule } from './process-list/process-list-cloud.module'; -import { CoreModule, LocalizedDatePipe } from '@alfresco/adf-core'; +import { CoreModule } from '@alfresco/adf-core'; import { StartProcessCloudComponent } from './start-process/components/start-process-cloud.component'; import { ProcessHeaderCloudComponent } from './process-header/components/process-header-cloud.component'; @NgModule({ imports: [CoreModule, ProcessFiltersCloudModule, ProcessListCloudModule, StartProcessCloudComponent, ProcessHeaderCloudComponent], - exports: [ProcessFiltersCloudModule, ProcessListCloudModule, StartProcessCloudComponent, ProcessHeaderCloudComponent], - providers: [LocalizedDatePipe] + exports: [ProcessFiltersCloudModule, ProcessListCloudModule, StartProcessCloudComponent, ProcessHeaderCloudComponent] }) export class ProcessCloudModule {} diff --git a/lib/process-services-cloud/src/lib/process/process-list/process-list-cloud.module.ts b/lib/process-services-cloud/src/lib/process/process-list/process-list-cloud.module.ts index 28d5de3e25..98e72af6b4 100644 --- a/lib/process-services-cloud/src/lib/process/process-list/process-list-cloud.module.ts +++ b/lib/process-services-cloud/src/lib/process/process-list/process-list-cloud.module.ts @@ -24,17 +24,14 @@ import { LocalPreferenceCloudService } from '../../services/local-preference-clo import { PROCESS_LISTS_PREFERENCES_SERVICE_TOKEN } from '../../services/cloud-token.service'; @NgModule({ - imports: [ - CommonModule, - MaterialModule, - CoreModule - + imports: [CommonModule, MaterialModule, CoreModule], + providers: [ + { + provide: PROCESS_LISTS_PREFERENCES_SERVICE_TOKEN, + useClass: LocalPreferenceCloudService + } ], - providers: [{ - provide: PROCESS_LISTS_PREFERENCES_SERVICE_TOKEN, - useClass: LocalPreferenceCloudService - }], declarations: [ProcessListCloudComponent], exports: [ProcessListCloudComponent] }) -export class ProcessListCloudModule { } +export class ProcessListCloudModule {} diff --git a/lib/process-services-cloud/src/lib/process/start-process/components/start-process-cloud.component.ts b/lib/process-services-cloud/src/lib/process/start-process/components/start-process-cloud.component.ts index 813aff3604..eb75b1dfce 100755 --- a/lib/process-services-cloud/src/lib/process/start-process/components/start-process-cloud.component.ts +++ b/lib/process-services-cloud/src/lib/process/start-process/components/start-process-cloud.component.ts @@ -85,6 +85,7 @@ const PROCESS_DEFINITION_IDENTIFIER_REG_EXP = new RegExp('%{processdefinition}', FormCloudComponent, FormCustomOutcomesComponent ], + providers: [LocalizedDatePipe], templateUrl: './start-process-cloud.component.html', styleUrls: ['./start-process-cloud.component.scss'], encapsulation: ViewEncapsulation.None