Skip to content

Commit 9704b9b

Browse files
committed
SQ forms 1
1 parent 31c5965 commit 9704b9b

8 files changed

Lines changed: 22 additions & 24 deletions

File tree

src/app/core/core.module.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { CommonModule } from '@angular/common';
22
import { HttpClient } from '@angular/common/http';
33
import { ModuleWithProviders, NgModule, Optional, SkipSelf } from '@angular/core';
44

5-
import { DynamicFormLayoutService, DynamicFormService, DynamicFormValidationService } from '@ng-dynamic-forms/core';
65
import { EffectsModule } from '@ngrx/effects';
76

87
import { Action, StoreConfig, StoreModule } from '@ngrx/store';
@@ -22,7 +21,6 @@ import { SelectableListService } from '../shared/object-list/selectable-list/sel
2221
import { ObjectSelectService } from '../shared/object-select/object-select.service';
2322
import { PaginationComponentOptions } from '../shared/pagination/pagination-component-options.model';
2423
import { SidebarService } from '../shared/sidebar/sidebar.service';
25-
import { SectionFormOperationsService } from '../submission/sections/form/section-form-operations.service';
2624
import { AuthenticatedGuard } from './auth/authenticated.guard';
2725
import { AuthStatus } from './auth/models/auth-status.model';
2826
import { BrowseService } from './browse/browse.service';

src/app/shared/form/builder/ds-dynamic-form-ui/models/relation-group/dynamic-relation-group.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { FormFieldModel } from '../../../models/form-field.model';
1616
import { FormBuilderService } from '../../../form-builder.service';
1717
import { FormService } from '../../../../form.service';
1818
import { FormComponent } from '../../../../form.component';
19-
import { Chips } from '../../../../../chips/models/chips.model';
19+
import { Chips } from '../../../../chips/models/chips.model';
2020
import { FormFieldMetadataValueObject } from '../../../models/form-field-metadata-value.model';
2121
import { DsDynamicInputModel } from '../ds-dynamic-input.model';
2222
import { createTestComponent } from '../../../../../testing/utils.test';

src/app/shared/form/builder/ds-dynamic-form-ui/models/tag/dynamic-tag.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { VocabularyService } from '../../../../../../core/submission/vocabularie
1313
import { VocabularyServiceStub } from '../../../../../testing/vocabulary-service.stub';
1414
import { DsDynamicTagComponent } from './dynamic-tag.component';
1515
import { DynamicTagModel } from './dynamic-tag.model';
16-
import { Chips } from '../../../../../chips/models/chips.model';
16+
import { Chips } from '../../../../chips/models/chips.model';
1717
import { FormFieldMetadataValueObject } from '../../../models/form-field-metadata-value.model';
1818
import { VocabularyEntry } from '../../../../../../core/submission/vocabularies/models/vocabulary-entry.model';
1919
import { createTestComponent } from '../../../../../testing/utils.test';

src/app/shared/form/chips/chips.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
88
import { By } from '@angular/platform-browser';
99
import { FormFieldMetadataValueObject } from '../builder/models/form-field-metadata-value.model';
1010
import { createTestComponent } from '../../testing/utils.test';
11-
import { AuthorityConfidenceStateDirective } from '../../authority-confidence/authority-confidence-state.directive';
11+
import { AuthorityConfidenceStateDirective } from '../directives/authority-confidence-state.directive';
1212
import { TranslateModule } from '@ngx-translate/core';
1313
import { ConfidenceType } from '../../../core/shared/confidence-type';
1414
import { SortablejsModule } from 'ngx-sortablejs';

src/app/shared/form/chips/models/chips-item.model.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { ChipsItem, ChipsItemIcon } from './chips-item.model';
2-
import { FormFieldMetadataValueObject } from '../../form/builder/models/form-field-metadata-value.model';
2+
import { FormFieldMetadataValueObject } from '../../builder/models/form-field-metadata-value.model';
33

44
describe('ChipsItem model test suite', () => {
55
let item: ChipsItem;

src/app/shared/form/form.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const COMPONENTS = [
6868

6969
const DIRECTIVES = [
7070
AuthorityConfidenceStateDirective,
71-
]
71+
];
7272

7373
@NgModule({
7474
declarations: [

src/app/shared/form/vocabulary-treeview/vocabulary-treeview.component.spec.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ import { TranslateModule } from '@ngx-translate/core';
88
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
99
import { provideMockStore } from '@ngrx/store/testing';
1010

11-
import { createTestComponent } from '../testing/utils.test';
11+
import { createTestComponent } from '../../testing/utils.test';
1212
import { VocabularyTreeviewComponent } from './vocabulary-treeview.component';
1313
import { VocabularyTreeviewService } from './vocabulary-treeview.service';
14-
import { VocabularyEntryDetail } from '../../core/submission/vocabularies/models/vocabulary-entry-detail.model';
14+
import { VocabularyEntryDetail } from '../../../core/submission/vocabularies/models/vocabulary-entry-detail.model';
1515
import { TreeviewFlatNode } from './vocabulary-treeview-node.model';
16-
import { FormFieldMetadataValueObject } from '../form/builder/models/form-field-metadata-value.model';
17-
import { VocabularyOptions } from '../../core/submission/vocabularies/models/vocabulary-options.model';
18-
import { PageInfo } from '../../core/shared/page-info.model';
19-
import { VocabularyEntry } from '../../core/submission/vocabularies/models/vocabulary-entry.model';
20-
import { AuthTokenInfo } from '../../core/auth/models/auth-token-info.model';
21-
import { authReducer } from '../../core/auth/auth.reducer';
22-
import { storeModuleConfig } from '../../app.reducer';
16+
import { FormFieldMetadataValueObject } from '../builder/models/form-field-metadata-value.model';
17+
import { VocabularyOptions } from '../../../core/submission/vocabularies/models/vocabulary-options.model';
18+
import { PageInfo } from '../../../core/shared/page-info.model';
19+
import { VocabularyEntry } from '../../../core/submission/vocabularies/models/vocabulary-entry.model';
20+
import { AuthTokenInfo } from '../../../core/auth/models/auth-token-info.model';
21+
import { authReducer } from '../../../core/auth/auth.reducer';
22+
import { storeModuleConfig } from '../../../app.reducer';
2323

2424
describe('VocabularyTreeviewComponent test suite', () => {
2525

src/app/shared/form/vocabulary-treeview/vocabulary-treeview.service.spec.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ import { TranslateLoader, TranslateModule, TranslateService } from '@ngx-transla
55
import { cold, getTestScheduler, hot } from 'jasmine-marbles';
66

77
import { VocabularyTreeviewService } from './vocabulary-treeview.service';
8-
import { VocabularyService } from '../../core/submission/vocabularies/vocabulary.service';
9-
import { TranslateLoaderMock } from '../mocks/translate-loader.mock';
10-
import { VocabularyOptions } from '../../core/submission/vocabularies/models/vocabulary-options.model';
8+
import { VocabularyService } from '../../../core/submission/vocabularies/vocabulary.service';
9+
import { TranslateLoaderMock } from '../../mocks/translate-loader.mock';
10+
import { VocabularyOptions } from '../../../core/submission/vocabularies/models/vocabulary-options.model';
1111
import { LOAD_MORE_NODE, LOAD_MORE_ROOT_NODE, TreeviewFlatNode, TreeviewNode } from './vocabulary-treeview-node.model';
12-
import { PageInfo } from '../../core/shared/page-info.model';
13-
import { VocabularyEntryDetail } from '../../core/submission/vocabularies/models/vocabulary-entry-detail.model';
14-
import { buildPaginatedList } from '../../core/data/paginated-list.model';
15-
import { createSuccessfulRemoteDataObject } from '../remote-data.utils';
16-
import { VocabularyEntry } from '../../core/submission/vocabularies/models/vocabulary-entry.model';
12+
import { PageInfo } from '../../../core/shared/page-info.model';
13+
import { VocabularyEntryDetail } from '../../../core/submission/vocabularies/models/vocabulary-entry-detail.model';
14+
import { buildPaginatedList } from '../../../core/data/paginated-list.model';
15+
import { createSuccessfulRemoteDataObject } from '../../remote-data.utils';
16+
import { VocabularyEntry } from '../../../core/submission/vocabularies/models/vocabulary-entry.model';
1717
import { expand, map, switchMap } from 'rxjs/operators';
1818
import { from as observableFrom } from 'rxjs';
1919

0 commit comments

Comments
 (0)