From 16605d736d84cebe3670b4e14ac89c2181c4caca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=87etin?=
<69278826+cetincakiroglu@users.noreply.github.com>
Date: Tue, 17 Dec 2024 15:05:29 +0300
Subject: [PATCH] Fix typo
---
packages/primeng/src/dynamicdialog/dynamicdialog.ts | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/packages/primeng/src/dynamicdialog/dynamicdialog.ts b/packages/primeng/src/dynamicdialog/dynamicdialog.ts
index b6db915e53c..0884ef6056c 100755
--- a/packages/primeng/src/dynamicdialog/dynamicdialog.ts
+++ b/packages/primeng/src/dynamicdialog/dynamicdialog.ts
@@ -1,6 +1,6 @@
import { animate, animation, AnimationEvent, style, transition, trigger, useAnimation } from '@angular/animations';
import { CommonModule, isPlatformBrowser } from '@angular/common';
-import { AfterViewInit, ChangeDetectionStrategy, Component, ComponentRef, ElementRef, inject, NgModule, NgZone, OnDestroy, Optional, Renderer2, SkipSelf, Type, ViewChild, ViewEncapsulation, ViewRef } from '@angular/core';
+import { AfterViewInit, ChangeDetectionStrategy, Component, ComponentRef, ElementRef, inject, NgModule, NgZone, OnDestroy, Optional, Renderer2, SkipSelf, TemplateRef, Type, ViewChild, ViewEncapsulation, ViewRef } from '@angular/core';
import { addClass, getOuterHeight, getOuterWidth, getViewport, hasClass, removeClass, setAttribute, uuid } from '@primeuix/utils';
import { SharedModule, TranslationKeys } from 'primeng/api';
import { BaseComponent } from 'primeng/basecomponent';
@@ -77,10 +77,10 @@ const hideAnimation = animation([animate('{{transition}}', style({ transform: '{
-
+
-
+
@@ -259,11 +259,11 @@ export class DynamicDialogComponent extends BaseComponent implements AfterViewIn
return this.ddconfig?.templates?.content;
}
- get minimizeIconTemplate() {
+ get minimizeIconTemplate(): any {
return this.ddconfig?.templates?.minimizeicon;
}
- get maximizeIconTemplate() {
+ get maximizeIconTemplate(): any {
return this.ddconfig?.templates?.maximizeicon;
}