Skip to content

Commit fa8ffae

Browse files
author
Zahraa Chreim
committed
127047: Fix imports
1 parent da2c98a commit fa8ffae

4 files changed

Lines changed: 39 additions & 143 deletions

File tree

src/app/submission/submission.module.ts

Lines changed: 0 additions & 143 deletions
This file was deleted.

src/themes/custom/app/submission/form/footer/submission-form-footer.component.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
import { CommonModule } from '@angular/common';
12
import { Component } from '@angular/core';
3+
import { TranslateModule } from '@ngx-translate/core';
24

5+
import { BtnDisabledDirective } from '../../../../../../app/shared/btn-disabled.directive';
6+
import { BrowserOnlyPipe } from '../../../../../../app/shared/utils/browser-only.pipe';
37
import { SubmissionFormFooterComponent as BaseComponent } from '../../../../../../app/submission/form/footer/submission-form-footer.component';
48

59
@Component({
@@ -9,6 +13,7 @@ import { SubmissionFormFooterComponent as BaseComponent } from '../../../../../.
913
// templateUrl: './submission-form-footer.component.html'
1014
templateUrl: '../../../../../../app/submission/form/footer/submission-form-footer.component.html',
1115
standalone: true,
16+
imports: [CommonModule, BrowserOnlyPipe, TranslateModule, BtnDisabledDirective],
1217
})
1318
export class SubmissionFormFooterComponent extends BaseComponent {
1419

src/themes/custom/app/submission/form/submission-form.component.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
1+
import { CommonModule } from '@angular/common';
12
import { Component } from '@angular/core';
23

4+
import { ThemedLoadingComponent } from '../../../../../app/shared/loading/themed-loading.component';
5+
import { SubmissionFormCollectionComponent } from '../../../../../app/submission/form/collection/submission-form-collection.component';
6+
import { ThemedSubmissionFormFooterComponent } from '../../../../../app/submission/form/footer/themed-submission-form-footer.component';
7+
import { SubmissionFormSectionAddComponent } from '../../../../../app/submission/form/section-add/submission-form-section-add.component';
38
import { SubmissionFormComponent as BaseComponent } from '../../../../../app/submission/form/submission-form.component';
9+
import { ThemedSubmissionUploadFilesComponent } from '../../../../../app/submission/form/submission-upload-files/themed-submission-upload-files.component';
10+
import { ThemedSubmissionSectionContainerComponent } from '../../../../../app/submission/sections/container/themed-section-container.component';
411

512
@Component({
613
selector: 'ds-themed-submission-form',
@@ -9,6 +16,15 @@ import { SubmissionFormComponent as BaseComponent } from '../../../../../app/sub
916
// templateUrl: './submission-form.component.html'
1017
templateUrl: '../../../../../app/submission/form/submission-form.component.html',
1118
standalone: true,
19+
imports: [
20+
CommonModule,
21+
ThemedLoadingComponent,
22+
ThemedSubmissionSectionContainerComponent,
23+
ThemedSubmissionFormFooterComponent,
24+
ThemedSubmissionUploadFilesComponent,
25+
SubmissionFormCollectionComponent,
26+
SubmissionFormSectionAddComponent,
27+
],
1228
})
1329
export class SubmissionFormComponent extends BaseComponent {
1430

src/themes/custom/app/submission/sections/container/section-container.component.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
1+
import {
2+
AsyncPipe,
3+
NgClass,
4+
NgComponentOutlet,
5+
} from '@angular/common';
16
import { Component } from '@angular/core';
7+
import { NgbAccordionModule } from '@ng-bootstrap/ng-bootstrap';
8+
import { TranslateModule } from '@ngx-translate/core';
29

10+
import { AlertComponent } from '../../../../../../app/shared/alert/alert.component';
311
import { SubmissionSectionContainerComponent as BaseComponent } from '../../../../../../app/submission/sections/container/section-container.component';
12+
import { SectionsDirective } from '../../../../../../app/submission/sections/sections.directive';
413

514
@Component({
615
selector: 'ds-themed-submission-upload-section-file',
@@ -9,6 +18,15 @@ import { SubmissionSectionContainerComponent as BaseComponent } from '../../../.
918
// templateUrl: './section-container.component.html'
1019
templateUrl: '../../../../../../app/submission/sections/container/section-container.component.html',
1120
standalone: true,
21+
imports: [
22+
AlertComponent,
23+
NgbAccordionModule,
24+
NgComponentOutlet,
25+
TranslateModule,
26+
NgClass,
27+
AsyncPipe,
28+
SectionsDirective,
29+
],
1230
})
1331
export class SubmissionSectionContainerComponent extends BaseComponent {
1432

0 commit comments

Comments
 (0)