- @switch (feature.valueType?.name) {
- @case (valueTypes.ToggleStringValueType) {
-
-
+
+ @switch (feature.valueType?.name) {
+ @case (valueTypes.ToggleStringValueType) {
+
+
-
- {{ feature.displayName }}
- @if (isFeatureDisabled) {
- ({{ provider }})
- }
-
-
+ {{ feature.displayName }}
+ @if (isFeatureDisabled) {
+ ({{ provider }})
+ }
+
+
-
- }
- @case (valueTypes.FreeTextStringValueType) {
-
-
- {{ feature.displayName }}
- @if (isFeatureDisabled) {
- ({{ provider }})
- }
-
-
+ ">
+
+ }
+ @case (valueTypes.FreeTextStringValueType) {
+
+
+ {{ feature.displayName }}
+ @if (isFeatureDisabled) {
+ ({{ provider }})
+ }
+
+
-
-
- }
- @case (valueTypes.SelectionStringValueType) {
- @if (feature.valueType.itemSource?.items?.length) {
-
-
- {{ feature.displayName }}
- @if (isFeatureDisabled) {
- ({{ provider }})
- }
-
-
- @for (
- item of feature.valueType.itemSource?.items;
- track item.value
- ) {
-
- {{
- item.displayText?.resourceName +
- '::' +
- item.displayText?.name | abpLocalization
- }}
-
- }
-
-
+
+ }
+ @case (valueTypes.SelectionStringValueType) {
+ @if (feature.valueType.itemSource?.items?.length) {
+
+
+ {{ feature.displayName }}
+ @if (isFeatureDisabled) {
+ ({{ provider }})
+ }
+
+
+ @for (
+ item of feature.valueType.itemSource?.items;
+ track item.value
+ ) {
+
+ {{
+ item.displayText?.resourceName +
+ '::' +
+ item.displayText?.name | abpLocalization
+ }}
+
+ }
+
+
}
-
-
-
- {{ 'AbpFeatureManagement::Cancel' | abpLocalization }}
-
+
+ @if (description) {
+ {{ description }}
+ }
+
- @if (groups.length) {
-
- {{ 'AbpFeatureManagement::ResetToDefault' | abpLocalization }}
-
+
}
- @if (groups.length) {
-
- {{ 'AbpFeatureManagement::Save' | abpLocalization }}
-
+ @if (!groups.length) {
+
+ {{ 'AbpFeatureManagement::NoFeatureFoundMessage' | abpLocalization }}
+
}
-
-
-}
+
+
+
+
+
+ {{ 'AbpFeatureManagement::Cancel' | abpLocalization }}
+
+
+ @if (groups.length) {
+
+ {{ 'AbpFeatureManagement::ResetToDefault' | abpLocalization }}
+
+ }
+
+ @if (groups.length) {
+
+ {{ 'AbpFeatureManagement::Save' | abpLocalization }}
+
+ }
+
+
+}
\ No newline at end of file
diff --git a/npm/ng-packs/packages/permission-management/src/lib/components/permission-management.component.ts b/npm/ng-packs/packages/permission-management/src/lib/components/permission-management.component.ts
index 3dd427df84..b2612e9aaf 100644
--- a/npm/ng-packs/packages/permission-management/src/lib/components/permission-management.component.ts
+++ b/npm/ng-packs/packages/permission-management/src/lib/components/permission-management.component.ts
@@ -31,7 +31,7 @@ import {
import { concat, of } from 'rxjs';
import { finalize, switchMap, take, tap } from 'rxjs/operators';
import { PermissionManagement } from '../models';
-import { NgStyle } from '@angular/common';
+
import { FormsModule } from '@angular/forms';
import { Tabs, TabList, Tab, TabPanel, TabContent } from '@angular/aria/tabs';
@@ -97,7 +97,6 @@ type PermissionWithGroupName = PermissionGrantInfoDto & {
],
imports: [
FormsModule,
- NgStyle,
ModalComponent,
LocalizationPipe,
ButtonComponent,
diff --git a/npm/ng-packs/packages/setting-management/config/src/lib/components/email-setting-group/email-setting-group.component.ts b/npm/ng-packs/packages/setting-management/config/src/lib/components/email-setting-group/email-setting-group.component.ts
index bb5f6fe6ee..d2e1dae003 100644
--- a/npm/ng-packs/packages/setting-management/config/src/lib/components/email-setting-group/email-setting-group.component.ts
+++ b/npm/ng-packs/packages/setting-management/config/src/lib/components/email-setting-group/email-setting-group.component.ts
@@ -25,7 +25,7 @@ import {
PermissionDirective
} from '@abp/ng.core';
import { NgxValidateCoreModule } from '@ngx-validate/core';
-import { CommonModule } from '@angular/common';
+
const { required, email } = Validators;
@@ -35,14 +35,13 @@ const { required, email } = Validators;
animations: [collapse],
imports: [
ReactiveFormsModule,
- CommonModule,
LocalizationPipe,
ButtonComponent,
ModalComponent,
ModalCloseDirective,
NgxValidateCoreModule,
- PermissionDirective,
- ],
+ PermissionDirective
+],
})
export class EmailSettingGroupComponent implements OnInit {
private emailSettingsService = inject(EmailSettingsService);
diff --git a/npm/ng-packs/packages/theme-basic/src/lib/components/page-alert-container/page-alert-container.component.html b/npm/ng-packs/packages/theme-basic/src/lib/components/page-alert-container/page-alert-container.component.html
index 86e9d40177..daaa6c48ec 100644
--- a/npm/ng-packs/packages/theme-basic/src/lib/components/page-alert-container/page-alert-container.component.html
+++ b/npm/ng-packs/packages/theme-basic/src/lib/components/page-alert-container/page-alert-container.component.html
@@ -1,26 +1,12 @@
@for (alert of service.alerts$ | async; track i; let i = $index) {
-
- @if (alert.title) {
-
- }
-
- @if (alert.dismissible) {
-
- }
-
-}
+
+ @if (alert.title) {
+
+
+ }
+
+ @if (alert.dismissible) {
+
+ }
+
+}
\ No newline at end of file
diff --git a/npm/ng-packs/packages/theme-basic/src/lib/components/page-alert-container/page-alert-container.component.ts b/npm/ng-packs/packages/theme-basic/src/lib/components/page-alert-container/page-alert-container.component.ts
index f40ba2cd91..3e5aa72d8a 100644
--- a/npm/ng-packs/packages/theme-basic/src/lib/components/page-alert-container/page-alert-container.component.ts
+++ b/npm/ng-packs/packages/theme-basic/src/lib/components/page-alert-container/page-alert-container.component.ts
@@ -1,13 +1,13 @@
import { Component, ViewEncapsulation, inject } from '@angular/core';
import { PageAlertService } from '@abp/ng.theme.shared';
-import { NgClass, AsyncPipe } from '@angular/common';
+import { AsyncPipe } from '@angular/common';
import { LocalizationPipe, SafeHtmlPipe } from '@abp/ng.core';
@Component({
selector: 'abp-page-alert-container',
templateUrl: './page-alert-container.component.html',
encapsulation: ViewEncapsulation.None,
- imports: [NgClass, AsyncPipe, LocalizationPipe, SafeHtmlPipe],
+ imports: [AsyncPipe, LocalizationPipe, SafeHtmlPipe],
})
export class PageAlertContainerComponent {
service = inject(PageAlertService);
diff --git a/npm/ng-packs/packages/theme-basic/src/lib/components/routes/routes.component.html b/npm/ng-packs/packages/theme-basic/src/lib/components/routes/routes.component.html
index 28e408655d..a29fb3323e 100644
--- a/npm/ng-packs/packages/theme-basic/src/lib/components/routes/routes.component.html
+++ b/npm/ng-packs/packages/theme-basic/src/lib/components/routes/routes.component.html
@@ -1,16 +1,14 @@