Skip to content

Commit

Permalink
task form components
Browse files Browse the repository at this point in the history
  • Loading branch information
DenysVuika committed Jan 7, 2025
1 parent ce4f534 commit 721a823
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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']
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 721a823

Please sign in to comment.