WEB-215 Merge angular-update-19 into dev to upgrade Angular from v18 to v19 (#2530)
This commit is contained in:
@@ -3,7 +3,16 @@ import { Component, OnInit } from '@angular/core';
|
||||
|
||||
/** Custom Service */
|
||||
import { SettingsService } from './settings.service';
|
||||
import { UntypedFormControl } from '@angular/forms';
|
||||
import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms';
|
||||
import {
|
||||
MatAccordion,
|
||||
MatExpansionPanel,
|
||||
MatExpansionPanelHeader,
|
||||
MatExpansionPanelTitle
|
||||
} from '@angular/material/expansion';
|
||||
import { FileUploadComponent } from '../shared/file-upload/file-upload.component';
|
||||
import { ThemePickerComponent } from '../shared/theme-picker/theme-picker.component';
|
||||
import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module';
|
||||
|
||||
/**
|
||||
* Settings component.
|
||||
@@ -11,7 +20,16 @@ import { UntypedFormControl } from '@angular/forms';
|
||||
@Component({
|
||||
selector: 'mifosx-settings',
|
||||
templateUrl: './settings.component.html',
|
||||
styleUrls: ['./settings.component.scss']
|
||||
styleUrls: ['./settings.component.scss'],
|
||||
imports: [
|
||||
...STANDALONE_SHARED_IMPORTS,
|
||||
MatAccordion,
|
||||
MatExpansionPanel,
|
||||
MatExpansionPanelHeader,
|
||||
MatExpansionPanelTitle,
|
||||
FileUploadComponent,
|
||||
ThemePickerComponent
|
||||
]
|
||||
})
|
||||
export class SettingsComponent implements OnInit {
|
||||
/** Placeholder for languages. update once translations are set up */
|
||||
|
||||
@@ -16,8 +16,8 @@ import { SettingsComponent } from './settings.component';
|
||||
@NgModule({
|
||||
imports: [
|
||||
SharedModule,
|
||||
SettingsRoutingModule
|
||||
],
|
||||
declarations: [SettingsComponent]
|
||||
SettingsRoutingModule,
|
||||
SettingsComponent
|
||||
]
|
||||
})
|
||||
export class SettingsModule {}
|
||||
|
||||
Reference in New Issue
Block a user