mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3088] move sorting picker to a separate module (#3396)
* move sorting picker to a separate module * update translation mock
This commit is contained in:
@@ -81,7 +81,7 @@ import { UploadService } from './services/upload.service';
|
||||
import { UserPreferencesService } from './services/user-preferences.service';
|
||||
import { SearchConfigurationService } from './services/search-configuration.service';
|
||||
import { startupServiceFactory } from './services/startup-service-factory';
|
||||
import { SortingPickerComponent } from './components/sorting-picker/sorting-picker.component';
|
||||
import { SortingPickerModule } from './sorting-picker/sorting-picker.module';
|
||||
|
||||
export function createTranslateLoader(http: HttpClient, logService: LogService) {
|
||||
return new TranslateLoaderService(http, logService);
|
||||
@@ -162,7 +162,8 @@ export function providers() {
|
||||
useFactory: (createTranslateLoader),
|
||||
deps: [HttpClient, LogService]
|
||||
}
|
||||
})
|
||||
}),
|
||||
SortingPickerModule
|
||||
],
|
||||
exports: [
|
||||
AboutModule,
|
||||
@@ -192,7 +193,8 @@ export function providers() {
|
||||
DataTableModule,
|
||||
TranslateModule,
|
||||
ButtonsMenuModule,
|
||||
TemplatetModule
|
||||
TemplatetModule,
|
||||
SortingPickerModule
|
||||
]
|
||||
})
|
||||
export class CoreModuleLazy {
|
||||
@@ -233,10 +235,8 @@ export class CoreModuleLazy {
|
||||
useFactory: (createTranslateLoader),
|
||||
deps: [HttpClient, LogService]
|
||||
}
|
||||
})
|
||||
],
|
||||
declarations: [
|
||||
SortingPickerComponent
|
||||
}),
|
||||
SortingPickerModule
|
||||
],
|
||||
exports: [
|
||||
AboutModule,
|
||||
@@ -267,7 +267,7 @@ export class CoreModuleLazy {
|
||||
TranslateModule,
|
||||
ButtonsMenuModule,
|
||||
TemplatetModule,
|
||||
SortingPickerComponent
|
||||
SortingPickerModule
|
||||
],
|
||||
providers: [
|
||||
...providers(),
|
||||
|
Reference in New Issue
Block a user