96252: Extract form-specific code from SharedModule

This commit is contained in:
Yury Bondarenko
2022-11-23 19:38:37 +01:00
parent ca864379c8
commit 8341882b0f
35 changed files with 122 additions and 111 deletions

View File

@@ -63,6 +63,7 @@ import {
import {
MetadataInformationComponent
} from './sections/sherpa-policies/metadata-information/metadata-information.component';
import { SectionFormOperationsService } from './sections/form/section-form-operations.service';
const ENTRY_COMPONENTS = [
// put only entry components that use custom decorator
@@ -117,13 +118,17 @@ const DECLARATIONS = [
NgbAccordionModule
],
declarations: DECLARATIONS,
exports: DECLARATIONS,
exports: [
...DECLARATIONS,
FormModule,
],
providers: [
SectionUploadService,
SectionsService,
SubmissionUploadsConfigDataService,
SubmissionAccessesConfigDataService,
SectionAccessesService,
SectionFormOperationsService,
]
})