mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACS-9602] resolve issue for upgrading prettier (#4554)
* Build(deps-dev): Bump prettier from 2.8.8 to 3.5.3 Bumps [prettier](https://github.com/prettier/prettier) from 2.8.8 to 3.5.3. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/2.8.8...3.5.3) --- updated-dependencies: - dependency-name: prettier dependency-version: 3.5.3 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Resolve issue for upgrading prettier * Update ADF --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
325d072c4d
commit
bf909d9a5b
@@ -41,7 +41,11 @@ import { CustomContextMenuComponent } from './custom-context-menu.component';
|
||||
export class ContextMenuService {
|
||||
private direction: Directionality;
|
||||
|
||||
constructor(private injector: Injector, private overlay: Overlay, private userPreferenceService: UserPreferencesService) {
|
||||
constructor(
|
||||
private readonly injector: Injector,
|
||||
private readonly overlay: Overlay,
|
||||
private readonly userPreferenceService: UserPreferencesService
|
||||
) {
|
||||
this.userPreferenceService.select('textOrientation').subscribe((textOrientation) => {
|
||||
this.direction = textOrientation;
|
||||
});
|
||||
|
@@ -60,7 +60,12 @@ export class CustomNameColumnComponent extends NameColumnComponent implements On
|
||||
|
||||
private readonly destroy = inject(DestroyRef);
|
||||
|
||||
constructor(element: ElementRef, private cd: ChangeDetectorRef, private actions$: Actions, private nodesService: NodesApiService) {
|
||||
constructor(
|
||||
element: ElementRef,
|
||||
private readonly cd: ChangeDetectorRef,
|
||||
private readonly actions$: Actions,
|
||||
private readonly nodesService: NodesApiService
|
||||
) {
|
||||
super(element, nodesService);
|
||||
}
|
||||
|
||||
|
@@ -106,7 +106,11 @@ export class FilesComponent extends PageComponent implements OnInit, OnDestroy {
|
||||
return this._errorTranslationKey;
|
||||
}
|
||||
|
||||
constructor(private contentApi: ContentApiService, private nodeActionsService: NodeActionsService, private route: ActivatedRoute) {
|
||||
constructor(
|
||||
private readonly contentApi: ContentApiService,
|
||||
private readonly nodeActionsService: NodeActionsService,
|
||||
private readonly route: ActivatedRoute
|
||||
) {
|
||||
super();
|
||||
}
|
||||
|
||||
|
@@ -124,7 +124,11 @@ export class LibraryMetadataFormComponent implements OnInit, OnChanges {
|
||||
|
||||
private readonly destroyRef = inject(DestroyRef);
|
||||
|
||||
constructor(private alfrescoApiService: AlfrescoApiService, protected store: Store<AppStore>, private actions$: Actions) {}
|
||||
constructor(
|
||||
private readonly alfrescoApiService: AlfrescoApiService,
|
||||
protected readonly store: Store<AppStore>,
|
||||
private readonly actions$: Actions
|
||||
) {}
|
||||
|
||||
toggleEdit() {
|
||||
if (this.form.enabled) {
|
||||
|
@@ -53,7 +53,11 @@ export class SearchAiInputContainerComponent implements OnInit {
|
||||
inputState$: Observable<SearchAiInputState>;
|
||||
isKnowledgeRetrievalPage = false;
|
||||
|
||||
constructor(private searchAiService: SearchAiService, private searchNavigationService: SearchAiNavigationService, private router: Router) {}
|
||||
constructor(
|
||||
private readonly searchAiService: SearchAiService,
|
||||
private searchNavigationService: SearchAiNavigationService,
|
||||
private router: Router
|
||||
) {}
|
||||
|
||||
ngOnInit(): void {
|
||||
this.isKnowledgeRetrievalPage = this.router.url.startsWith('/knowledge-retrieval');
|
||||
|
@@ -46,7 +46,10 @@ export class ButtonMenuComponent implements OnInit {
|
||||
@Input({ required: true })
|
||||
item: NavBarLinkRef;
|
||||
|
||||
constructor(private cd: ChangeDetectorRef, private overlayContainer: OverlayContainer) {
|
||||
constructor(
|
||||
private readonly cd: ChangeDetectorRef,
|
||||
private readonly overlayContainer: OverlayContainer
|
||||
) {
|
||||
this.overlayContainer.getContainerElement().classList.add('aca-menu-panel');
|
||||
}
|
||||
|
||||
|
@@ -52,7 +52,10 @@ export class ActionDirective {
|
||||
this.actionClicked.next(this.action);
|
||||
}
|
||||
|
||||
constructor(private router: Router, private store: Store<AppStore>) {}
|
||||
constructor(
|
||||
private router: Router,
|
||||
private store: Store<AppStore>
|
||||
) {}
|
||||
private getNavigationCommands(url: string): any[] {
|
||||
const urlTree = this.router.parseUrl(url);
|
||||
const urlSegmentGroup = urlTree.root.children[PRIMARY_OUTLET];
|
||||
|
@@ -53,7 +53,12 @@ export class ActiveLinkDirective implements OnInit, AfterContentInit {
|
||||
|
||||
private readonly destroyRef = inject(DestroyRef);
|
||||
|
||||
constructor(private router: Router, private element: ElementRef, private renderer: Renderer2, @Optional() private action?: ActionDirective) {}
|
||||
constructor(
|
||||
private router: Router,
|
||||
private element: ElementRef,
|
||||
private renderer: Renderer2,
|
||||
@Optional() private action?: ActionDirective
|
||||
) {}
|
||||
|
||||
ngOnInit() {
|
||||
this.router.events
|
||||
|
@@ -55,7 +55,11 @@ export class ExpansionPanelDirective implements OnInit {
|
||||
|
||||
private readonly destroyRef = inject(DestroyRef);
|
||||
|
||||
constructor(private store: Store<any>, private router: Router, private expansionPanel: MatExpansionPanel) {}
|
||||
constructor(
|
||||
private store: Store<any>,
|
||||
private router: Router,
|
||||
private expansionPanel: MatExpansionPanel
|
||||
) {}
|
||||
|
||||
hasActiveLinks() {
|
||||
if (this.acaExpansionPanel?.children) {
|
||||
|
@@ -54,7 +54,10 @@ export class MenuPanelDirective implements OnInit {
|
||||
|
||||
private readonly destroyRef = inject(DestroyRef);
|
||||
|
||||
constructor(private store: Store<any>, private router: Router) {}
|
||||
constructor(
|
||||
private store: Store<any>,
|
||||
private router: Router
|
||||
) {}
|
||||
|
||||
hasActiveLinks() {
|
||||
if (this.acaMenuPanel?.children) {
|
||||
|
@@ -55,7 +55,11 @@ export class ToggleEditOfflineComponent implements OnInit {
|
||||
nodeTitle = '';
|
||||
isNodeLocked = false;
|
||||
|
||||
constructor(private store: Store<AppStore>, private alfrescoApiService: AlfrescoApiService, private extensions: AppExtensionService) {
|
||||
constructor(
|
||||
private store: Store<AppStore>,
|
||||
private alfrescoApiService: AlfrescoApiService,
|
||||
private extensions: AppExtensionService
|
||||
) {
|
||||
this.nodesApi = new NodesApi(this.alfrescoApiService.getInstance());
|
||||
}
|
||||
|
||||
|
@@ -60,7 +60,11 @@ export class ToggleFavoriteLibraryComponent implements OnInit {
|
||||
|
||||
private readonly destroyRef = inject(DestroyRef);
|
||||
|
||||
constructor(private store: Store<AppStore>, private appHookService: AppHookService, private router: Router) {}
|
||||
constructor(
|
||||
private store: Store<AppStore>,
|
||||
private appHookService: AppHookService,
|
||||
private router: Router
|
||||
) {}
|
||||
|
||||
ngOnInit() {
|
||||
const isFavoriteLibraries = this.router.url.startsWith('/favorite/libraries');
|
||||
|
@@ -55,7 +55,10 @@ export class ToggleFavoriteComponent implements OnInit {
|
||||
selection$: Observable<SelectionState>;
|
||||
private reloadOnRoutes: string[] = [];
|
||||
|
||||
constructor(private store: Store<AppStore>, private router: Router) {
|
||||
constructor(
|
||||
private store: Store<AppStore>,
|
||||
private router: Router
|
||||
) {
|
||||
this.selection$ = this.store.select(getAppSelection);
|
||||
}
|
||||
|
||||
|
@@ -62,7 +62,11 @@ export class ViewProfileComponent implements OnInit {
|
||||
contactSectionButtonsToggle = true;
|
||||
appNavNarMode$: Observable<'collapsed' | 'expanded'>;
|
||||
|
||||
constructor(private router: Router, apiService: AlfrescoApiService, private appService: AppService) {
|
||||
constructor(
|
||||
private router: Router,
|
||||
apiService: AlfrescoApiService,
|
||||
private appService: AppService
|
||||
) {
|
||||
this.peopleApi = new PeopleApi(apiService.getInstance());
|
||||
this.appNavNarMode$ = appService.appNavNarMode$.pipe(takeUntilDestroyed());
|
||||
}
|
||||
|
Reference in New Issue
Block a user