diff --git a/src/app/components/accordion/accordion.ts b/src/app/components/accordion/accordion.ts
index b2d9921213f..447dbf88104 100755
--- a/src/app/components/accordion/accordion.ts
+++ b/src/app/components/accordion/accordion.ts
@@ -230,7 +230,11 @@ export class AccordionTab implements AfterContentInit, OnDestroy {
accordion: Accordion;
- constructor(@Inject(forwardRef(() => Accordion)) accordion: Accordion, public el: ElementRef, public changeDetector: ChangeDetectorRef) {
+ constructor(
+ @Inject(forwardRef(() => Accordion)) accordion: Accordion,
+ public el: ElementRef,
+ public changeDetector: ChangeDetectorRef
+ ) {
this.accordion = accordion as Accordion;
this.id = UniqueComponentId();
}
@@ -439,7 +443,10 @@ export class Accordion implements BlockableUI, AfterContentInit, OnDestroy {
public tabs: AccordionTab[] = [];
- constructor(public el: ElementRef, public changeDetector: ChangeDetectorRef) {}
+ constructor(
+ public el: ElementRef,
+ public changeDetector: ChangeDetectorRef
+ ) {}
@HostListener('keydown', ['$event'])
onKeydown(event) {
diff --git a/src/app/components/button/button.ts b/src/app/components/button/button.ts
index a47284d7231..ffe988140a4 100755
--- a/src/app/components/button/button.ts
+++ b/src/app/components/button/button.ts
@@ -169,7 +169,10 @@ export class ButtonDirective implements AfterViewInit, OnDestroy {
`;
- constructor(public el: ElementRef, @Inject(DOCUMENT) private document: Document) {}
+ constructor(
+ public el: ElementRef,
+ @Inject(DOCUMENT) private document: Document
+ ) {}
ngAfterViewInit() {
DomHandler.addMultipleClasses(this.htmlElement, this.getStyleClass().join(' '));
diff --git a/src/app/components/dropdown/dropdown.ts b/src/app/components/dropdown/dropdown.ts
index ffedb786adc..cdc9379fcdf 100755
--- a/src/app/components/dropdown/dropdown.ts
+++ b/src/app/components/dropdown/dropdown.ts
@@ -1011,7 +1011,14 @@ export class Dropdown implements OnInit, AfterViewInit, AfterContentInit, AfterV
editableInputValue = computed(() => this.getOptionLabel(this.selectedOption) || this.modelValue() || '');
- constructor(public el: ElementRef, public renderer: Renderer2, public cd: ChangeDetectorRef, public zone: NgZone, public filterService: FilterService, public config: PrimeNGConfig) {
+ constructor(
+ public el: ElementRef,
+ public renderer: Renderer2,
+ public cd: ChangeDetectorRef,
+ public zone: NgZone,
+ public filterService: FilterService,
+ public config: PrimeNGConfig
+ ) {
effect(() => {
const modelValue = this.modelValue();
const visibleOptions = this.visibleOptions();
diff --git a/src/app/components/dynamicdialog/dynamicdialog.spec.ts b/src/app/components/dynamicdialog/dynamicdialog.spec.ts
index 8fff5dd5143..e113f47afd7 100755
--- a/src/app/components/dynamicdialog/dynamicdialog.spec.ts
+++ b/src/app/components/dynamicdialog/dynamicdialog.spec.ts
@@ -12,7 +12,10 @@ import { DynamicDialogRef } from './dynamicdialog-ref';
template: `
PrimeNG ROCKS!
`
})
export class TestComponent {
- constructor(public ref: DynamicDialogRef, public config: DynamicDialogConfig) {}
+ constructor(
+ public ref: DynamicDialogRef,
+ public config: DynamicDialogConfig
+ ) {}
}
@Component({
diff --git a/src/app/components/multiselect/multiselect.ts b/src/app/components/multiselect/multiselect.ts
index 3c85dbb5b3a..818404a25dc 100755
--- a/src/app/components/multiselect/multiselect.ts
+++ b/src/app/components/multiselect/multiselect.ts
@@ -1464,7 +1464,7 @@ export class MultiSelect implements OnInit, AfterViewInit, AfterContentInit, Aft
}
isSelectionAllDisabled() {
- return this.showToggleAll && ObjectUtils.isEmpty(this.selectionLimit)
+ return this.showToggleAll && ObjectUtils.isEmpty(this.selectionLimit);
}
isValidSelectedOption(option) {
@@ -2004,7 +2004,7 @@ export class MultiSelect implements OnInit, AfterViewInit, AfterContentInit, Aft
} else {
this.modelValue.set(this.value);
}
-
+
this.cd.markForCheck();
}
diff --git a/src/app/components/tree/tree.spec.ts b/src/app/components/tree/tree.spec.ts
index dc8d0b08168..cd911bbda4d 100755
--- a/src/app/components/tree/tree.spec.ts
+++ b/src/app/components/tree/tree.spec.ts
@@ -254,20 +254,20 @@ describe('Tree', () => {
const onKeyDownSpy = spyOn(documentsNode, 'onKeyDown').and.callThrough();
const firstEl = contentEls[0];
- firstEl.nativeElement.dispatchEvent(new KeyboardEvent('keydown', { code: 'ArrowRight'}));
+ firstEl.nativeElement.dispatchEvent(new KeyboardEvent('keydown', { code: 'ArrowRight' }));
fixture.detectChanges();
expect(onKeyDownSpy).toHaveBeenCalled();
expect(documentsNode.node.expanded).toBeTruthy();
- firstEl.nativeElement.dispatchEvent(new KeyboardEvent('keydown', { code: 'ArrowLeft'}));
+ firstEl.nativeElement.dispatchEvent(new KeyboardEvent('keydown', { code: 'ArrowLeft' }));
fixture.detectChanges();
expect(documentsNode.node.expanded).toBeFalsy();
- firstEl.nativeElement.dispatchEvent(new KeyboardEvent('keydown', { code: 'Enter'}));
+ firstEl.nativeElement.dispatchEvent(new KeyboardEvent('keydown', { code: 'Enter' }));
fixture.detectChanges();
expect(documentsNode.node.expanded).toBeFalsy();
- firstEl.nativeElement.dispatchEvent(new KeyboardEvent('keydown', { code: 'Enter'}));
+ firstEl.nativeElement.dispatchEvent(new KeyboardEvent('keydown', { code: 'Enter' }));
fixture.detectChanges();
expect(documentsNode.node.expanded).toBeFalsy();
diff --git a/src/app/components/tree/tree.ts b/src/app/components/tree/tree.ts
index 8d86a8ba8f4..7ab4a17a4ca 100755
--- a/src/app/components/tree/tree.ts
+++ b/src/app/components/tree/tree.ts
@@ -1157,7 +1157,12 @@ export class Tree implements OnInit, AfterContentInit, OnChanges, OnDestroy, Blo
public dragStopSubscription: Subscription | undefined | null;
- constructor(public el: ElementRef, @Optional() public dragDropService: TreeDragDropService, public config: PrimeNGConfig, private cd: ChangeDetectorRef) {}
+ constructor(
+ public el: ElementRef,
+ @Optional() public dragDropService: TreeDragDropService,
+ public config: PrimeNGConfig,
+ private cd: ChangeDetectorRef
+ ) {}
ngOnInit() {
if (this.droppableNodes) {
diff --git a/src/app/showcase/doc/slider/reactiveformsdoc.ts b/src/app/showcase/doc/slider/reactiveformsdoc.ts
index 57056ffbfd2..13e361f9883 100644
--- a/src/app/showcase/doc/slider/reactiveformsdoc.ts
+++ b/src/app/showcase/doc/slider/reactiveformsdoc.ts
@@ -10,7 +10,7 @@ import { Code } from '@domain/code';