-
+
diff --git a/npm/ng-packs/packages/account/src/lib/components/manage-profile/manage-profile.component.ts b/npm/ng-packs/packages/account/src/lib/components/manage-profile/manage-profile.component.ts
index d24c541923..d19a1dcd6a 100644
--- a/npm/ng-packs/packages/account/src/lib/components/manage-profile/manage-profile.component.ts
+++ b/npm/ng-packs/packages/account/src/lib/components/manage-profile/manage-profile.component.ts
@@ -1,13 +1,12 @@
-import { Component, OnInit } from '@angular/core';
+import { fadeIn } from '@abp/ng.theme.shared';
+import { transition, trigger, useAnimation } from '@angular/animations';
+import { Component } from '@angular/core';
@Component({
selector: 'abp-manage-profile',
templateUrl: './manage-profile.component.html',
+ animations: [trigger('fadeIn', [transition(':enter', useAnimation(fadeIn))])],
})
-export class ManageProfileComponent implements OnInit {
+export class ManageProfileComponent {
selectedTab = 0;
-
- constructor() {}
-
- ngOnInit(): void {}
}
diff --git a/npm/ng-packs/packages/theme-shared/src/lib/animations/index.ts b/npm/ng-packs/packages/theme-shared/src/lib/animations/index.ts
index 5a7009be17..816afbaaa4 100644
--- a/npm/ng-packs/packages/theme-shared/src/lib/animations/index.ts
+++ b/npm/ng-packs/packages/theme-shared/src/lib/animations/index.ts
@@ -1,4 +1,5 @@
+export * from './bounce.animations';
export * from './collapse.animations';
export * from './fade.animations';
+export * from './modal.animations';
export * from './slide.animations';
-export * from './bounce.animations';
diff --git a/npm/ng-packs/packages/theme-shared/src/lib/components/modal/modal.animations.ts b/npm/ng-packs/packages/theme-shared/src/lib/animations/modal.animations.ts
similarity index 70%
rename from npm/ng-packs/packages/theme-shared/src/lib/components/modal/modal.animations.ts
rename to npm/ng-packs/packages/theme-shared/src/lib/animations/modal.animations.ts
index 22513b0c6f..da979f331b 100644
--- a/npm/ng-packs/packages/theme-shared/src/lib/components/modal/modal.animations.ts
+++ b/npm/ng-packs/packages/theme-shared/src/lib/animations/modal.animations.ts
@@ -1,7 +1,7 @@
import { transition, trigger, useAnimation } from '@angular/animations';
-import { fadeIn, fadeInDown, fadeOut } from '../../animations/fade.animations';
+import { fadeIn, fadeInDown, fadeOut } from './fade.animations';
-export const backdropAnimation = trigger('backdrop', [
+export const fadeAnimation = trigger('fade', [
transition(':enter', useAnimation(fadeIn)),
transition(':leave', useAnimation(fadeOut)),
]);
diff --git a/npm/ng-packs/packages/theme-shared/src/lib/components/modal/modal.component.html b/npm/ng-packs/packages/theme-shared/src/lib/components/modal/modal.component.html
index 96a43f4eff..ecd2fea59e 100644
--- a/npm/ng-packs/packages/theme-shared/src/lib/components/modal/modal.component.html
+++ b/npm/ng-packs/packages/theme-shared/src/lib/components/modal/modal.component.html
@@ -1,6 +1,6 @@