mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4227] Material Dialog - change direction option based on textOrientation (#4716)
* change matDialog direction based on textOrientation * move dialog providers to material.module * extend initial options * move UserPreferencesService from factory * update module * update test * material dialog correct reference * extend default global options * tests
This commit is contained in:
committed by
Denys Vuika
parent
de0f906163
commit
164d398abc
@@ -53,6 +53,8 @@ import { SortingPickerModule } from './sorting-picker/sorting-picker.module';
|
||||
import { IconModule } from './icon/icon.module';
|
||||
import { TranslateLoaderService } from './services/translate-loader.service';
|
||||
import { ExtensionsModule } from '@alfresco/adf-extensions';
|
||||
import { dialogConfigFactory } from './services/dialog-config-factory';
|
||||
import { DialogConfigService } from './services/dialog-config.service';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
@@ -135,6 +137,12 @@ export class CoreModule {
|
||||
AlfrescoApiService
|
||||
],
|
||||
multi: true
|
||||
},
|
||||
{
|
||||
provide: APP_INITIALIZER,
|
||||
useFactory: dialogConfigFactory,
|
||||
deps: [ DialogConfigService],
|
||||
multi: true
|
||||
}
|
||||
]
|
||||
};
|
||||
|
Reference in New Issue
Block a user