diff --git a/src/app/components/accordion/accordion.ts b/src/app/components/accordion/accordion.ts index 7b46b274d8e..140c529e14a 100755 --- a/src/app/components/accordion/accordion.ts +++ b/src/app/components/accordion/accordion.ts @@ -40,7 +40,7 @@ import { UniqueComponentId } from 'primeng/utils';
-
+
- +
+
`, changeDetection: ChangeDetectionStrategy.OnPush, @@ -92,7 +107,11 @@ export class UIChart implements AfterViewInit, OnDestroy { chart: any; - constructor(@Inject(PLATFORM_ID) private platformId: any, public el: ElementRef, private zone: NgZone) {} + constructor( + @Inject(PLATFORM_ID) private platformId: any, + public el: ElementRef, + private zone: NgZone + ) {} ngAfterViewInit() { this.initChart(); diff --git a/src/app/components/contextmenu/contextmenu.ts b/src/app/components/contextmenu/contextmenu.ts index 963b9f9182f..616d1205004 100755 --- a/src/app/components/contextmenu/contextmenu.ts +++ b/src/app/components/contextmenu/contextmenu.ts @@ -62,7 +62,7 @@ import { ObjectUtils, UniqueComponentId, ZIndexUtils } from 'primeng/utils';
  • +
    -
      +
      • @@ -1012,7 +1018,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.ts b/src/app/components/dynamicdialog/dynamicdialog.ts index 3dd07d191ca..2a7b1158967 100755 --- a/src/app/components/dynamicdialog/dynamicdialog.ts +++ b/src/app/components/dynamicdialog/dynamicdialog.ts @@ -58,7 +58,7 @@ const hideAnimation = animation([animate('{{transition}}', style({ transform: '{
        @@ -274,6 +272,14 @@ export class DynamicDialogComponent implements AfterViewInit, OnDestroy { return dynamicDialogCount; } + get containerStyle() { + return { + ...this.config.style, + 'width': this.config.width, + 'height': this.config.height + }; + } + constructor( @Inject(DOCUMENT) private document: Document, @Inject(PLATFORM_ID) private platformId: any, diff --git a/src/app/components/listbox/listbox.ts b/src/app/components/listbox/listbox.ts index 9ca43b9f911..22213e59284 100755 --- a/src/app/components/listbox/listbox.ts +++ b/src/app/components/listbox/listbox.ts @@ -117,7 +117,14 @@ export const LISTBOX_VALUE_ACCESSOR: any = {
        -
        +
        -
      • {{ getItemLabel(submenu) }}
      • +
      • {{ getItemLabel(submenu) }}
    -
    +
    -
    - +
    @@ -807,7 +822,7 @@ export class UITreeNode implements OnInit { -
    +
    - -