[AAE-10777] Move services from Core in Content the right place (#8242)

Clean core services and directive
This commit is contained in:
Eugenio Romano
2023-03-10 09:28:24 +01:00
committed by GitHub
parent 112e272ce7
commit 2590e7d0a9
263 changed files with 884 additions and 3393 deletions

View File

@@ -15,7 +15,7 @@
* limitations under the License.
*/
import { ContentService, LogService } from '@alfresco/adf-core';
import { DownloadService, LogService } from '@alfresco/adf-core';
import {
AfterContentChecked,
Component,
@@ -106,7 +106,7 @@ export class AnalyticsReportParametersComponent implements OnInit, OnChanges, On
constructor(private analyticsService: AnalyticsService,
private formBuilder: UntypedFormBuilder,
private logService: LogService,
private contentService: ContentService,
private downloadService: DownloadService,
private dialog: MatDialog) {
}
@@ -296,7 +296,7 @@ export class AnalyticsReportParametersComponent implements OnInit, OnChanges, On
this.analyticsService.exportReportToCsv(this.reportId, paramQuery).subscribe(
(data: any) => {
const blob: Blob = new Blob([data], { type: 'text/csv' });
this.contentService.downloadBlob(blob, paramQuery.reportName + '.csv');
this.downloadService.downloadBlob(blob, paramQuery.reportName + '.csv');
});
}