@volo/abp.ng.audit-logging 9.0.3 → 9.1.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/common/tokens/features.token.d.ts +1 -7
  2. package/config/providers/route.provider.d.ts +2 -8
  3. package/config/providers/setting-tab.provider.d.ts +2 -6
  4. package/fesm2022/volo-abp.ng.audit-logging-common.mjs +5 -8
  5. package/fesm2022/volo-abp.ng.audit-logging-common.mjs.map +1 -1
  6. package/fesm2022/volo-abp.ng.audit-logging-config.mjs +59 -62
  7. package/fesm2022/volo-abp.ng.audit-logging-config.mjs.map +1 -1
  8. package/fesm2022/volo-abp.ng.audit-logging-proxy.mjs +6 -6
  9. package/fesm2022/volo-abp.ng.audit-logging.mjs +30 -28
  10. package/fesm2022/volo-abp.ng.audit-logging.mjs.map +1 -1
  11. package/package.json +4 -12
  12. package/esm2022/common/enums/index.mjs +0 -2
  13. package/esm2022/common/enums/route-names.mjs +0 -2
  14. package/esm2022/common/public-api.mjs +0 -3
  15. package/esm2022/common/tokens/features.token.mjs +0 -31
  16. package/esm2022/common/tokens/index.mjs +0 -2
  17. package/esm2022/common/volo-abp.ng.audit-logging-common.mjs +0 -5
  18. package/esm2022/config/abstracts/abstract-audit-log-settings.component.mjs +0 -77
  19. package/esm2022/config/abstracts/index.mjs +0 -2
  20. package/esm2022/config/audit-logging-config.module.mjs +0 -30
  21. package/esm2022/config/components/entity-change-details.component.mjs +0 -45
  22. package/esm2022/config/components/entity-change-modal.component.mjs +0 -21
  23. package/esm2022/config/components/index.mjs +0 -4
  24. package/esm2022/config/components/settings/audit-log-settings.component.mjs +0 -25
  25. package/esm2022/config/components/settings/index.mjs +0 -3
  26. package/esm2022/config/components/settings/tabs/audit-log-settings-general/audit-log-settings-general.component.mjs +0 -20
  27. package/esm2022/config/components/settings/tabs/audit-log-settings-global/audit-log-settings-global.component.mjs +0 -24
  28. package/esm2022/config/components/settings/tabs/index.mjs +0 -3
  29. package/esm2022/config/enums/index.mjs +0 -4
  30. package/esm2022/config/enums/policy-names.mjs +0 -2
  31. package/esm2022/config/enums/route-names.mjs +0 -2
  32. package/esm2022/config/enums/setting-tab-names.mjs +0 -2
  33. package/esm2022/config/providers/audit-logging-config.provider.mjs +0 -13
  34. package/esm2022/config/providers/entity-details.provider.mjs +0 -13
  35. package/esm2022/config/providers/entity-history.provider.mjs +0 -13
  36. package/esm2022/config/providers/index.mjs +0 -6
  37. package/esm2022/config/providers/route.provider.mjs +0 -21
  38. package/esm2022/config/providers/setting-tab.provider.mjs +0 -24
  39. package/esm2022/config/public-api.mjs +0 -7
  40. package/esm2022/config/services/entity-change-modal.service.mjs +0 -51
  41. package/esm2022/config/services/index.mjs +0 -2
  42. package/esm2022/config/volo-abp.ng.audit-logging-config.mjs +0 -5
  43. package/esm2022/lib/audit-logging-routing.module.mjs +0 -43
  44. package/esm2022/lib/audit-logging.module.mjs +0 -92
  45. package/esm2022/lib/components/audit-logs/audit-logs.component.mjs +0 -117
  46. package/esm2022/lib/components/audit-logs/index.mjs +0 -2
  47. package/esm2022/lib/components/entity-change/entity-changes.component.mjs +0 -81
  48. package/esm2022/lib/components/index.mjs +0 -6
  49. package/esm2022/lib/components/widgets/average-execution-duration-widget.component.mjs +0 -115
  50. package/esm2022/lib/components/widgets/error-rate-widget.component.mjs +0 -116
  51. package/esm2022/lib/constants/http.mjs +0 -64
  52. package/esm2022/lib/constants/index.mjs +0 -2
  53. package/esm2022/lib/defaults/default-audit-logs-entity-actions.mjs +0 -13
  54. package/esm2022/lib/defaults/default-audit-logs-entity-props.mjs +0 -57
  55. package/esm2022/lib/defaults/default-audit-logs-toolbar-actions.mjs +0 -3
  56. package/esm2022/lib/defaults/default-entity-changes-entity-actions.mjs +0 -22
  57. package/esm2022/lib/enums/components.mjs +0 -2
  58. package/esm2022/lib/enums/entity-change.mjs +0 -7
  59. package/esm2022/lib/enums/index.mjs +0 -3
  60. package/esm2022/lib/guards/audit-logging.guard.mjs +0 -30
  61. package/esm2022/lib/guards/extensions.guard.mjs +0 -32
  62. package/esm2022/lib/guards/index.mjs +0 -3
  63. package/esm2022/lib/models/audit-logging.mjs +0 -2
  64. package/esm2022/lib/models/config-options.mjs +0 -2
  65. package/esm2022/lib/models/index.mjs +0 -3
  66. package/esm2022/lib/resolvers/extensions.resolver.mjs +0 -19
  67. package/esm2022/lib/resolvers/index.mjs +0 -2
  68. package/esm2022/lib/tokens/entity-details.token.mjs +0 -3
  69. package/esm2022/lib/tokens/extensions.token.mjs +0 -19
  70. package/esm2022/lib/tokens/index.mjs +0 -3
  71. package/esm2022/proxy/lib/index.mjs +0 -3
  72. package/esm2022/proxy/lib/proxy/audit-logging/audit-log-settings.service.mjs +0 -37
  73. package/esm2022/proxy/lib/proxy/audit-logging/audit-logs.service.mjs +0 -83
  74. package/esm2022/proxy/lib/proxy/audit-logging/index.mjs +0 -4
  75. package/esm2022/proxy/lib/proxy/audit-logging/models.mjs +0 -2
  76. package/esm2022/proxy/lib/proxy/auditing/entity-change-type.enum.mjs +0 -9
  77. package/esm2022/proxy/lib/proxy/auditing/index.mjs +0 -2
  78. package/esm2022/proxy/public-api.mjs +0 -2
  79. package/esm2022/proxy/volo-abp.ng.audit-logging-proxy.mjs +0 -5
  80. package/esm2022/public-api.mjs +0 -9
  81. package/esm2022/volo-abp.ng.audit-logging.mjs +0 -5
@@ -1,12 +1,6 @@
1
- import { noop } from '@abp/ng.core';
2
1
  import { InjectionToken } from '@angular/core';
3
2
  import { ModuleVisibility } from '@volo/abp.commercial.ng.ui/config';
4
3
  import { Observable } from 'rxjs';
5
4
  export declare const AUDIT_LOGGING_FEATURES: InjectionToken<Observable<ModuleVisibility>>;
6
5
  export declare const SET_AUDIT_LOGGING_ROUTE_VISIBILITY: InjectionToken<void>;
7
- export declare const AUDIT_LOGGING_FEATURES_PROVIDERS: {
8
- provide: InjectionToken<readonly (() => Observable<unknown> | Promise<unknown> | void)[]>;
9
- useFactory: typeof noop;
10
- deps: InjectionToken<void>[];
11
- multi: boolean;
12
- }[];
6
+ export declare const AUDIT_LOGGING_FEATURES_PROVIDERS: import("@angular/core").EnvironmentProviders[];
@@ -1,8 +1,2 @@
1
- import { RoutesService } from '@abp/ng.core';
2
- export declare const AUDIT_LOGGING_ROUTE_PROVIDERS: {
3
- provide: import("@angular/core").InjectionToken<readonly (() => import("rxjs").Observable<unknown> | Promise<unknown> | void)[]>;
4
- useFactory: typeof configureRoutes;
5
- deps: (typeof RoutesService)[];
6
- multi: boolean;
7
- }[];
8
- export declare function configureRoutes(routes: RoutesService): () => void;
1
+ export declare const AUDIT_LOGGING_ROUTE_PROVIDERS: import("@angular/core").EnvironmentProviders[];
2
+ export declare function configureRoutes(): void;
@@ -1,6 +1,2 @@
1
- export declare const AUDIT_LOGGING_SETTING_TAB_PROVIDERS: {
2
- provide: import("@angular/core").InjectionToken<readonly (() => import("rxjs").Observable<unknown> | Promise<unknown> | void)[]>;
3
- multi: boolean;
4
- useFactory: typeof configureSettingTabs;
5
- }[];
6
- export declare function configureSettingTabs(): () => void;
1
+ export declare const AUDIT_LOGGING_SETTING_TAB_PROVIDERS: import("@angular/core").EnvironmentProviders[];
2
+ export declare function configureSettingTabs(): void;
@@ -1,5 +1,5 @@
1
- import { ConfigStateService, featuresFactory, RoutesService, noop } from '@abp/ng.core';
2
- import { InjectionToken, inject, APP_INITIALIZER } from '@angular/core';
1
+ import { ConfigStateService, featuresFactory, RoutesService } from '@abp/ng.core';
2
+ import { InjectionToken, inject, provideAppInitializer } from '@angular/core';
3
3
  import { setModuleVisibilityFactory } from '@volo/abp.commercial.ng.ui/config';
4
4
 
5
5
  const AUDIT_LOGGING_FEATURES = new InjectionToken('AUDIT_LOGGING_FEATURES', {
@@ -22,12 +22,9 @@ const SET_AUDIT_LOGGING_ROUTE_VISIBILITY = new InjectionToken('SET_AUDIT_LOGGING
22
22
  },
23
23
  });
24
24
  const AUDIT_LOGGING_FEATURES_PROVIDERS = [
25
- {
26
- provide: APP_INITIALIZER,
27
- useFactory: noop,
28
- deps: [SET_AUDIT_LOGGING_ROUTE_VISIBILITY],
29
- multi: true,
30
- },
25
+ provideAppInitializer(() => {
26
+ inject(SET_AUDIT_LOGGING_ROUTE_VISIBILITY);
27
+ }),
31
28
  ];
32
29
 
33
30
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"volo-abp.ng.audit-logging-common.mjs","sources":["../../../../packages/audit-logging/common/src/tokens/features.token.ts","../../../../packages/audit-logging/common/src/volo-abp.ng.audit-logging-common.ts"],"sourcesContent":["import { ConfigStateService, featuresFactory, noop, RoutesService } from '@abp/ng.core';\r\nimport { APP_INITIALIZER, inject, InjectionToken } from '@angular/core';\r\nimport { ModuleVisibility, setModuleVisibilityFactory } from '@volo/abp.commercial.ng.ui/config';\r\nimport { Observable } from 'rxjs';\r\nimport { eAuditLoggingRouteNames } from '../enums/route-names';\r\n\r\nexport const AUDIT_LOGGING_FEATURES = new InjectionToken<Observable<ModuleVisibility>>(\r\n 'AUDIT_LOGGING_FEATURES',\r\n {\r\n providedIn: 'root',\r\n factory: () => {\r\n const configState = inject(ConfigStateService);\r\n const featureKey = 'AuditLogging.Enable';\r\n const mapFn = features => ({\r\n enable: features[featureKey].toLowerCase() !== 'false',\r\n });\r\n\r\n return featuresFactory(configState, [featureKey], mapFn);\r\n },\r\n },\r\n);\r\n\r\nexport const SET_AUDIT_LOGGING_ROUTE_VISIBILITY = new InjectionToken(\r\n 'SET_AUDIT_LOGGING_ROUTE_VISIBILITY',\r\n {\r\n providedIn: 'root',\r\n factory: () => {\r\n const routes = inject(RoutesService);\r\n const stream = inject(AUDIT_LOGGING_FEATURES);\r\n\r\n setModuleVisibilityFactory(stream, routes, eAuditLoggingRouteNames.AuditLogging).subscribe();\r\n },\r\n },\r\n);\r\n\r\nexport const AUDIT_LOGGING_FEATURES_PROVIDERS = [\r\n {\r\n provide: APP_INITIALIZER,\r\n useFactory: noop,\r\n deps: [SET_AUDIT_LOGGING_ROUTE_VISIBILITY],\r\n multi: true,\r\n },\r\n];\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAMa,sBAAsB,GAAG,IAAI,cAAc,CACtD,wBAAwB,EACxB;AACE,IAAA,UAAU,EAAE,MAAM;IAClB,OAAO,EAAE,MAAK;AACZ,QAAA,MAAM,WAAW,GAAG,MAAM,CAAC,kBAAkB,CAAC;QAC9C,MAAM,UAAU,GAAG,qBAAqB;AACxC,QAAA,MAAM,KAAK,GAAG,QAAQ,KAAK;YACzB,MAAM,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAC,WAAW,EAAE,KAAK,OAAO;AACvD,SAAA,CAAC;QAEF,OAAO,eAAe,CAAC,WAAW,EAAE,CAAC,UAAU,CAAC,EAAE,KAAK,CAAC;KACzD;AACF,CAAA;MAGU,kCAAkC,GAAG,IAAI,cAAc,CAClE,oCAAoC,EACpC;AACE,IAAA,UAAU,EAAE,MAAM;IAClB,OAAO,EAAE,MAAK;AACZ,QAAA,MAAM,MAAM,GAAG,MAAM,CAAC,aAAa,CAAC;AACpC,QAAA,MAAM,MAAM,GAAG,MAAM,CAAC,sBAAsB,CAAC;QAE7C,0BAA0B,CAAC,MAAM,EAAE,MAAM,kFAAuC,CAAC,SAAS,EAAE;KAC7F;AACF,CAAA;AAGU,MAAA,gCAAgC,GAAG;AAC9C,IAAA;AACE,QAAA,OAAO,EAAE,eAAe;AACxB,QAAA,UAAU,EAAE,IAAI;QAChB,IAAI,EAAE,CAAC,kCAAkC,CAAC;AAC1C,QAAA,KAAK,EAAE,IAAI;AACZ,KAAA;;;ACzCH;;AAEG;;;;"}
1
+ {"version":3,"file":"volo-abp.ng.audit-logging-common.mjs","sources":["../../../../packages/audit-logging/common/src/tokens/features.token.ts","../../../../packages/audit-logging/common/src/volo-abp.ng.audit-logging-common.ts"],"sourcesContent":["import { ConfigStateService, featuresFactory, RoutesService } from '@abp/ng.core';\r\nimport { inject, InjectionToken, provideAppInitializer } from '@angular/core';\r\nimport { ModuleVisibility, setModuleVisibilityFactory } from '@volo/abp.commercial.ng.ui/config';\r\nimport { Observable } from 'rxjs';\r\nimport { eAuditLoggingRouteNames } from '../enums/route-names';\r\n\r\nexport const AUDIT_LOGGING_FEATURES = new InjectionToken<Observable<ModuleVisibility>>(\r\n 'AUDIT_LOGGING_FEATURES',\r\n {\r\n providedIn: 'root',\r\n factory: () => {\r\n const configState = inject(ConfigStateService);\r\n const featureKey = 'AuditLogging.Enable';\r\n const mapFn = features => ({\r\n enable: features[featureKey].toLowerCase() !== 'false',\r\n });\r\n\r\n return featuresFactory(configState, [featureKey], mapFn);\r\n },\r\n },\r\n);\r\n\r\nexport const SET_AUDIT_LOGGING_ROUTE_VISIBILITY = new InjectionToken(\r\n 'SET_AUDIT_LOGGING_ROUTE_VISIBILITY',\r\n {\r\n providedIn: 'root',\r\n factory: () => {\r\n const routes = inject(RoutesService);\r\n const stream = inject(AUDIT_LOGGING_FEATURES);\r\n\r\n setModuleVisibilityFactory(stream, routes, eAuditLoggingRouteNames.AuditLogging).subscribe();\r\n },\r\n },\r\n);\r\n\r\nexport const AUDIT_LOGGING_FEATURES_PROVIDERS = [\r\n provideAppInitializer(() => {\r\n inject(SET_AUDIT_LOGGING_ROUTE_VISIBILITY);\r\n }),\r\n];\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAMa,sBAAsB,GAAG,IAAI,cAAc,CACtD,wBAAwB,EACxB;AACE,IAAA,UAAU,EAAE,MAAM;IAClB,OAAO,EAAE,MAAK;AACZ,QAAA,MAAM,WAAW,GAAG,MAAM,CAAC,kBAAkB,CAAC;QAC9C,MAAM,UAAU,GAAG,qBAAqB;AACxC,QAAA,MAAM,KAAK,GAAG,QAAQ,KAAK;YACzB,MAAM,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAC,WAAW,EAAE,KAAK,OAAO;AACvD,SAAA,CAAC;QAEF,OAAO,eAAe,CAAC,WAAW,EAAE,CAAC,UAAU,CAAC,EAAE,KAAK,CAAC;KACzD;AACF,CAAA;MAGU,kCAAkC,GAAG,IAAI,cAAc,CAClE,oCAAoC,EACpC;AACE,IAAA,UAAU,EAAE,MAAM;IAClB,OAAO,EAAE,MAAK;AACZ,QAAA,MAAM,MAAM,GAAG,MAAM,CAAC,aAAa,CAAC;AACpC,QAAA,MAAM,MAAM,GAAG,MAAM,CAAC,sBAAsB,CAAC;QAE7C,0BAA0B,CAAC,MAAM,EAAE,MAAM,kFAAuC,CAAC,SAAS,EAAE;KAC7F;AACF,CAAA;AAGU,MAAA,gCAAgC,GAAG;IAC9C,qBAAqB,CAAC,MAAK;QACzB,MAAM,CAAC,kCAAkC,CAAC;AAC5C,KAAC,CAAC;;;ACtCJ;;AAEG;;;;"}
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, ChangeDetectorRef, Directive, Input, Component, ChangeDetectionStrategy, Injectable, APP_INITIALIZER, makeEnvironmentProviders, NgModule } from '@angular/core';
2
+ import { inject, ChangeDetectorRef, Directive, Input, Component, ChangeDetectionStrategy, Injectable, provideAppInitializer, makeEnvironmentProviders, NgModule } from '@angular/core';
3
3
  import * as i1 from '@angular/forms';
4
4
  import { FormBuilder, ReactiveFormsModule } from '@angular/forms';
5
5
  import { switchMap, finalize } from 'rxjs/operators';
@@ -12,7 +12,7 @@ import { AuditLogSettingsService, EntityChangeType } from '@volo/abp.ng.audit-lo
12
12
  import * as i1$2 from '@ng-bootstrap/ng-bootstrap';
13
13
  import { NgbNavModule } from '@ng-bootstrap/ng-bootstrap';
14
14
  import * as i2 from '@angular/common';
15
- import { DatePipe, AsyncPipe } from '@angular/common';
15
+ import { DatePipe } from '@angular/common';
16
16
  import * as i3 from '@ngx-validate/core';
17
17
  import { SHOW_ENTITY_DETAILS } from '@volo/abp.ng.audit-logging';
18
18
  import { SHOW_ENTITY_HISTORY } from '@volo/abp.commercial.ng.ui';
@@ -79,10 +79,10 @@ class AbstractAuditLogSettingsComponent {
79
79
  date.setDate(date.getDate() - day);
80
80
  return date;
81
81
  }
82
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: AbstractAuditLogSettingsComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
83
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.5", type: AbstractAuditLogSettingsComponent, isStandalone: true, inputs: { isTenant: "isTenant" }, ngImport: i0 }); }
82
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: AbstractAuditLogSettingsComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
83
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.7", type: AbstractAuditLogSettingsComponent, isStandalone: true, inputs: { isTenant: "isTenant" }, ngImport: i0 }); }
84
84
  }
85
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: AbstractAuditLogSettingsComponent, decorators: [{
85
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: AbstractAuditLogSettingsComponent, decorators: [{
86
86
  type: Directive,
87
87
  args: [{ standalone: true }]
88
88
  }], propDecorators: { isTenant: [{
@@ -90,12 +90,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImpor
90
90
  }] } });
91
91
 
92
92
  class AuditLogSettingsGeneralComponent extends AbstractAuditLogSettingsComponent {
93
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: AuditLogSettingsGeneralComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
94
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.5", type: AuditLogSettingsGeneralComponent, isStandalone: true, selector: "abp-audit-log-settings-general", usesInheritance: true, ngImport: i0, template: "<div [formGroup]=\"form\" (keyup.enter)=\"submit()\">\r\n <div class=\"form-check mb-3\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"IsExpiredDeleterEnabled\"\r\n name=\"IsExpiredDeleterEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isExpiredDeleterEnabled\"\r\n />\r\n <label class=\"form-label\" for=\"IsExpiredDeleterEnabled\">\r\n {{ 'AbpAuditLogging::DisplayName:IsExpiredDeleterEnabled' | abpLocalization }}\r\n </label>\r\n <div>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpAuditLogging::Description:IsExpiredDeleterEnabled' | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n\r\n @if (form.value.isExpiredDeleterEnabled) {\r\n <div class=\"mb-3 period-group\">\r\n <div class=\"input-group w-75\">\r\n <label class=\"input-group-text\" for=\"expiredDeleterPeriod\">\r\n {{ 'AbpAuditLogging::DisplayName:ExpiredDeleterPeriod' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"expiredDeleterPeriod\"\r\n name=\"expiredDeleterPeriod\"\r\n class=\"form-control text-center valid\"\r\n formControlName=\"expiredDeleterPeriod\"\r\n />\r\n <span class=\"input-group-text\">\r\n {{ 'AbpAuditLogging::ExpiredDeleterPeriodUnit' | abpLocalization }}\r\n </span>\r\n </div>\r\n <p class=\"text-muted mt-1 ms-1 fst-italic\">\r\n {{\r\n 'AbpAuditLogging::AuditLogsBeforeXWillBeDeleted'\r\n | abpLocalization\r\n : (getDateBeforeToday(form.controls.expiredDeleterPeriod.value) | date: 'MM/dd/yyyy')\r\n }}\r\n </p>\r\n </div>\r\n }\r\n</div>\r\n\r\n<hr class=\"my-3\" />\r\n\r\n<div>\r\n <abp-button (click)=\"submit()\" iconClass=\"fa fa-save\" [loading]=\"loading\">\r\n {{ 'AbpAccount::Save' | abpLocalization }}\r\n </abp-button>\r\n</div>\r\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: LocalizationModule }, { kind: "pipe", type: i1$1.LocalizationPipe, name: "abpLocalization" }, { kind: "ngmodule", type: ThemeSharedModule }, { kind: "directive", type: i3.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i3.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "component", type: i4.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "pipe", type: DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
93
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: AuditLogSettingsGeneralComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
94
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.7", type: AuditLogSettingsGeneralComponent, isStandalone: true, selector: "abp-audit-log-settings-general", usesInheritance: true, ngImport: i0, template: "<div [formGroup]=\"form\" (keyup.enter)=\"submit()\">\r\n <div class=\"form-check mb-3\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"IsExpiredDeleterEnabled\"\r\n name=\"IsExpiredDeleterEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isExpiredDeleterEnabled\"\r\n />\r\n <label class=\"form-label\" for=\"IsExpiredDeleterEnabled\">\r\n {{ 'AbpAuditLogging::DisplayName:IsExpiredDeleterEnabled' | abpLocalization }}\r\n </label>\r\n <div>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpAuditLogging::Description:IsExpiredDeleterEnabled' | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n\r\n @if (form.value.isExpiredDeleterEnabled) {\r\n <div class=\"mb-3 period-group\">\r\n <div class=\"input-group w-75\">\r\n <label class=\"input-group-text\" for=\"expiredDeleterPeriod\">\r\n {{ 'AbpAuditLogging::DisplayName:ExpiredDeleterPeriod' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"expiredDeleterPeriod\"\r\n name=\"expiredDeleterPeriod\"\r\n class=\"form-control text-center valid\"\r\n formControlName=\"expiredDeleterPeriod\"\r\n />\r\n <span class=\"input-group-text\">\r\n {{ 'AbpAuditLogging::ExpiredDeleterPeriodUnit' | abpLocalization }}\r\n </span>\r\n </div>\r\n <p class=\"text-muted mt-1 ms-1 fst-italic\">\r\n {{\r\n 'AbpAuditLogging::AuditLogsBeforeXWillBeDeleted'\r\n | abpLocalization\r\n : (getDateBeforeToday(form.controls.expiredDeleterPeriod.value) | date: 'MM/dd/yyyy')\r\n }}\r\n </p>\r\n </div>\r\n }\r\n</div>\r\n\r\n<hr class=\"my-3\" />\r\n\r\n<div>\r\n <abp-button (click)=\"submit()\" iconClass=\"fa fa-save\" [loading]=\"loading\">\r\n {{ 'AbpAccount::Save' | abpLocalization }}\r\n </abp-button>\r\n</div>\r\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: LocalizationModule }, { kind: "pipe", type: i1$1.LocalizationPipe, name: "abpLocalization" }, { kind: "ngmodule", type: ThemeSharedModule }, { kind: "directive", type: i3.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i3.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "component", type: i4.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "pipe", type: DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
95
95
  }
96
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: AuditLogSettingsGeneralComponent, decorators: [{
96
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: AuditLogSettingsGeneralComponent, decorators: [{
97
97
  type: Component,
98
- args: [{ standalone: true, selector: 'abp-audit-log-settings-general', changeDetection: ChangeDetectionStrategy.OnPush, imports: [AsyncPipe, ReactiveFormsModule, LocalizationModule, ThemeSharedModule, DatePipe], template: "<div [formGroup]=\"form\" (keyup.enter)=\"submit()\">\r\n <div class=\"form-check mb-3\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"IsExpiredDeleterEnabled\"\r\n name=\"IsExpiredDeleterEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isExpiredDeleterEnabled\"\r\n />\r\n <label class=\"form-label\" for=\"IsExpiredDeleterEnabled\">\r\n {{ 'AbpAuditLogging::DisplayName:IsExpiredDeleterEnabled' | abpLocalization }}\r\n </label>\r\n <div>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpAuditLogging::Description:IsExpiredDeleterEnabled' | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n\r\n @if (form.value.isExpiredDeleterEnabled) {\r\n <div class=\"mb-3 period-group\">\r\n <div class=\"input-group w-75\">\r\n <label class=\"input-group-text\" for=\"expiredDeleterPeriod\">\r\n {{ 'AbpAuditLogging::DisplayName:ExpiredDeleterPeriod' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"expiredDeleterPeriod\"\r\n name=\"expiredDeleterPeriod\"\r\n class=\"form-control text-center valid\"\r\n formControlName=\"expiredDeleterPeriod\"\r\n />\r\n <span class=\"input-group-text\">\r\n {{ 'AbpAuditLogging::ExpiredDeleterPeriodUnit' | abpLocalization }}\r\n </span>\r\n </div>\r\n <p class=\"text-muted mt-1 ms-1 fst-italic\">\r\n {{\r\n 'AbpAuditLogging::AuditLogsBeforeXWillBeDeleted'\r\n | abpLocalization\r\n : (getDateBeforeToday(form.controls.expiredDeleterPeriod.value) | date: 'MM/dd/yyyy')\r\n }}\r\n </p>\r\n </div>\r\n }\r\n</div>\r\n\r\n<hr class=\"my-3\" />\r\n\r\n<div>\r\n <abp-button (click)=\"submit()\" iconClass=\"fa fa-save\" [loading]=\"loading\">\r\n {{ 'AbpAccount::Save' | abpLocalization }}\r\n </abp-button>\r\n</div>\r\n" }]
98
+ args: [{ selector: 'abp-audit-log-settings-general', changeDetection: ChangeDetectionStrategy.OnPush, imports: [ReactiveFormsModule, LocalizationModule, ThemeSharedModule, DatePipe], template: "<div [formGroup]=\"form\" (keyup.enter)=\"submit()\">\r\n <div class=\"form-check mb-3\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"IsExpiredDeleterEnabled\"\r\n name=\"IsExpiredDeleterEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isExpiredDeleterEnabled\"\r\n />\r\n <label class=\"form-label\" for=\"IsExpiredDeleterEnabled\">\r\n {{ 'AbpAuditLogging::DisplayName:IsExpiredDeleterEnabled' | abpLocalization }}\r\n </label>\r\n <div>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpAuditLogging::Description:IsExpiredDeleterEnabled' | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n\r\n @if (form.value.isExpiredDeleterEnabled) {\r\n <div class=\"mb-3 period-group\">\r\n <div class=\"input-group w-75\">\r\n <label class=\"input-group-text\" for=\"expiredDeleterPeriod\">\r\n {{ 'AbpAuditLogging::DisplayName:ExpiredDeleterPeriod' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"expiredDeleterPeriod\"\r\n name=\"expiredDeleterPeriod\"\r\n class=\"form-control text-center valid\"\r\n formControlName=\"expiredDeleterPeriod\"\r\n />\r\n <span class=\"input-group-text\">\r\n {{ 'AbpAuditLogging::ExpiredDeleterPeriodUnit' | abpLocalization }}\r\n </span>\r\n </div>\r\n <p class=\"text-muted mt-1 ms-1 fst-italic\">\r\n {{\r\n 'AbpAuditLogging::AuditLogsBeforeXWillBeDeleted'\r\n | abpLocalization\r\n : (getDateBeforeToday(form.controls.expiredDeleterPeriod.value) | date: 'MM/dd/yyyy')\r\n }}\r\n </p>\r\n </div>\r\n }\r\n</div>\r\n\r\n<hr class=\"my-3\" />\r\n\r\n<div>\r\n <abp-button (click)=\"submit()\" iconClass=\"fa fa-save\" [loading]=\"loading\">\r\n {{ 'AbpAccount::Save' | abpLocalization }}\r\n </abp-button>\r\n</div>\r\n" }]
99
99
  }] });
100
100
 
101
101
  class AuditLogSettingsGlobalComponent extends AbstractAuditLogSettingsComponent {
@@ -103,12 +103,12 @@ class AuditLogSettingsGlobalComponent extends AbstractAuditLogSettingsComponent
103
103
  super(...arguments);
104
104
  this.globalTab = true;
105
105
  }
106
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: AuditLogSettingsGlobalComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
107
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.5", type: AuditLogSettingsGlobalComponent, isStandalone: true, selector: "abp-audit-log-settings-global", usesInheritance: true, ngImport: i0, template: "<div [formGroup]=\"form\" (keyup.enter)=\"submit()\">\r\n <div class=\"mb-2 custom-checkbox custom-control form-check\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"IsPeriodicDeleterEnabled\"\r\n name=\"IsPeriodicDeleterEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isPeriodicDeleterEnabled\"\r\n />\r\n <label class=\"form-check-label\" for=\"IsPeriodicDeleterEnabled\">\r\n {{ 'AbpAuditLogging::DisplayName:IsPeriodicDeleterEnabled' | abpLocalization }}\r\n </label>\r\n\r\n <div>\r\n <span class=\"form-text text-muted mb-3\">\r\n {{ 'AbpAuditLogging::Description:IsPeriodicDeleterEnabled' | abpLocalization }}\r\n </span>\r\n </div>\r\n </div>\r\n\r\n @if (form.value.isPeriodicDeleterEnabled) {\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"IsExpiredDeleterEnabled\"\r\n name=\"IsExpiredDeleterEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isExpiredDeleterEnabled\"\r\n />\r\n <label class=\"form-label\" for=\"IsExpiredDeleterEnabled\">\r\n {{ 'AbpAuditLogging::DisplayName:GlobalIsExpiredDeleterEnabled' | abpLocalization }}\r\n </label>\r\n <div>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpAuditLogging::Description:GlobalIsExpiredDeleterEnabled' | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n\r\n @if (form.value.isExpiredDeleterEnabled) {\r\n <div class=\"mb-3 period-group\">\r\n <div class=\"input-group w-75\">\r\n <label class=\"input-group-text\" for=\"ExpiredDeleterPeriod\">\r\n {{ 'AbpAuditLogging::DisplayName:ExpiredDeleterPeriod' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"ExpiredDeleterPeriod\"\r\n name=\"ExpiredDeleterPeriod\"\r\n class=\"form-control text-center valid\"\r\n formControlName=\"expiredDeleterPeriod\"\r\n />\r\n <span class=\"input-group-text\">\r\n {{ 'AbpAuditLogging::ExpiredDeleterPeriodUnit' | abpLocalization }}\r\n </span>\r\n </div>\r\n <p class=\"text-muted mt-1 ms-1 fst-italic\">\r\n {{\r\n 'AbpAuditLogging::AuditLogsBeforeXWillBeDeleted'\r\n | abpLocalization\r\n : (getDateBeforeToday(form.controls.expiredDeleterPeriod.value)\r\n | date: 'MM/dd/yyyy')\r\n }}\r\n </p>\r\n </div>\r\n }\r\n }\r\n</div>\r\n\r\n<hr class=\"my-3\" />\r\n\r\n<div>\r\n <abp-button (click)=\"submit()\" iconClass=\"fa fa-save\" [loading]=\"loading\">\r\n {{ 'AbpAccount::Save' | abpLocalization }}\r\n </abp-button>\r\n</div>\r\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: LocalizationModule }, { kind: "pipe", type: i1$1.LocalizationPipe, name: "abpLocalization" }, { kind: "ngmodule", type: ThemeSharedModule }, { kind: "directive", type: i3.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i3.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "component", type: i4.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "pipe", type: DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
106
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: AuditLogSettingsGlobalComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
107
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.7", type: AuditLogSettingsGlobalComponent, isStandalone: true, selector: "abp-audit-log-settings-global", usesInheritance: true, ngImport: i0, template: "<div [formGroup]=\"form\" (keyup.enter)=\"submit()\">\r\n <div class=\"mb-2 custom-checkbox custom-control form-check\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"IsPeriodicDeleterEnabled\"\r\n name=\"IsPeriodicDeleterEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isPeriodicDeleterEnabled\"\r\n />\r\n <label class=\"form-check-label\" for=\"IsPeriodicDeleterEnabled\">\r\n {{ 'AbpAuditLogging::DisplayName:IsPeriodicDeleterEnabled' | abpLocalization }}\r\n </label>\r\n\r\n <div>\r\n <span class=\"form-text text-muted mb-3\">\r\n {{ 'AbpAuditLogging::Description:IsPeriodicDeleterEnabled' | abpLocalization }}\r\n </span>\r\n </div>\r\n </div>\r\n\r\n @if (form.value.isPeriodicDeleterEnabled) {\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"IsExpiredDeleterEnabled\"\r\n name=\"IsExpiredDeleterEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isExpiredDeleterEnabled\"\r\n />\r\n <label class=\"form-label\" for=\"IsExpiredDeleterEnabled\">\r\n {{ 'AbpAuditLogging::DisplayName:GlobalIsExpiredDeleterEnabled' | abpLocalization }}\r\n </label>\r\n <div>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpAuditLogging::Description:GlobalIsExpiredDeleterEnabled' | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n\r\n @if (form.value.isExpiredDeleterEnabled) {\r\n <div class=\"mb-3 period-group\">\r\n <div class=\"input-group w-75\">\r\n <label class=\"input-group-text\" for=\"ExpiredDeleterPeriod\">\r\n {{ 'AbpAuditLogging::DisplayName:ExpiredDeleterPeriod' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"ExpiredDeleterPeriod\"\r\n name=\"ExpiredDeleterPeriod\"\r\n class=\"form-control text-center valid\"\r\n formControlName=\"expiredDeleterPeriod\"\r\n />\r\n <span class=\"input-group-text\">\r\n {{ 'AbpAuditLogging::ExpiredDeleterPeriodUnit' | abpLocalization }}\r\n </span>\r\n </div>\r\n <p class=\"text-muted mt-1 ms-1 fst-italic\">\r\n {{\r\n 'AbpAuditLogging::AuditLogsBeforeXWillBeDeleted'\r\n | abpLocalization\r\n : (getDateBeforeToday(form.controls.expiredDeleterPeriod.value)\r\n | date: 'MM/dd/yyyy')\r\n }}\r\n </p>\r\n </div>\r\n }\r\n }\r\n</div>\r\n\r\n<hr class=\"my-3\" />\r\n\r\n<div>\r\n <abp-button (click)=\"submit()\" iconClass=\"fa fa-save\" [loading]=\"loading\">\r\n {{ 'AbpAccount::Save' | abpLocalization }}\r\n </abp-button>\r\n</div>\r\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: LocalizationModule }, { kind: "pipe", type: i1$1.LocalizationPipe, name: "abpLocalization" }, { kind: "ngmodule", type: ThemeSharedModule }, { kind: "directive", type: i3.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i3.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "component", type: i4.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "pipe", type: DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
108
108
  }
109
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: AuditLogSettingsGlobalComponent, decorators: [{
109
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: AuditLogSettingsGlobalComponent, decorators: [{
110
110
  type: Component,
111
- args: [{ standalone: true, selector: 'abp-audit-log-settings-global', changeDetection: ChangeDetectionStrategy.OnPush, imports: [AsyncPipe, ReactiveFormsModule, LocalizationModule, ThemeSharedModule, DatePipe], template: "<div [formGroup]=\"form\" (keyup.enter)=\"submit()\">\r\n <div class=\"mb-2 custom-checkbox custom-control form-check\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"IsPeriodicDeleterEnabled\"\r\n name=\"IsPeriodicDeleterEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isPeriodicDeleterEnabled\"\r\n />\r\n <label class=\"form-check-label\" for=\"IsPeriodicDeleterEnabled\">\r\n {{ 'AbpAuditLogging::DisplayName:IsPeriodicDeleterEnabled' | abpLocalization }}\r\n </label>\r\n\r\n <div>\r\n <span class=\"form-text text-muted mb-3\">\r\n {{ 'AbpAuditLogging::Description:IsPeriodicDeleterEnabled' | abpLocalization }}\r\n </span>\r\n </div>\r\n </div>\r\n\r\n @if (form.value.isPeriodicDeleterEnabled) {\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"IsExpiredDeleterEnabled\"\r\n name=\"IsExpiredDeleterEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isExpiredDeleterEnabled\"\r\n />\r\n <label class=\"form-label\" for=\"IsExpiredDeleterEnabled\">\r\n {{ 'AbpAuditLogging::DisplayName:GlobalIsExpiredDeleterEnabled' | abpLocalization }}\r\n </label>\r\n <div>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpAuditLogging::Description:GlobalIsExpiredDeleterEnabled' | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n\r\n @if (form.value.isExpiredDeleterEnabled) {\r\n <div class=\"mb-3 period-group\">\r\n <div class=\"input-group w-75\">\r\n <label class=\"input-group-text\" for=\"ExpiredDeleterPeriod\">\r\n {{ 'AbpAuditLogging::DisplayName:ExpiredDeleterPeriod' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"ExpiredDeleterPeriod\"\r\n name=\"ExpiredDeleterPeriod\"\r\n class=\"form-control text-center valid\"\r\n formControlName=\"expiredDeleterPeriod\"\r\n />\r\n <span class=\"input-group-text\">\r\n {{ 'AbpAuditLogging::ExpiredDeleterPeriodUnit' | abpLocalization }}\r\n </span>\r\n </div>\r\n <p class=\"text-muted mt-1 ms-1 fst-italic\">\r\n {{\r\n 'AbpAuditLogging::AuditLogsBeforeXWillBeDeleted'\r\n | abpLocalization\r\n : (getDateBeforeToday(form.controls.expiredDeleterPeriod.value)\r\n | date: 'MM/dd/yyyy')\r\n }}\r\n </p>\r\n </div>\r\n }\r\n }\r\n</div>\r\n\r\n<hr class=\"my-3\" />\r\n\r\n<div>\r\n <abp-button (click)=\"submit()\" iconClass=\"fa fa-save\" [loading]=\"loading\">\r\n {{ 'AbpAccount::Save' | abpLocalization }}\r\n </abp-button>\r\n</div>\r\n" }]
111
+ args: [{ selector: 'abp-audit-log-settings-global', changeDetection: ChangeDetectionStrategy.OnPush, imports: [ReactiveFormsModule, LocalizationModule, ThemeSharedModule, DatePipe], template: "<div [formGroup]=\"form\" (keyup.enter)=\"submit()\">\r\n <div class=\"mb-2 custom-checkbox custom-control form-check\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"IsPeriodicDeleterEnabled\"\r\n name=\"IsPeriodicDeleterEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isPeriodicDeleterEnabled\"\r\n />\r\n <label class=\"form-check-label\" for=\"IsPeriodicDeleterEnabled\">\r\n {{ 'AbpAuditLogging::DisplayName:IsPeriodicDeleterEnabled' | abpLocalization }}\r\n </label>\r\n\r\n <div>\r\n <span class=\"form-text text-muted mb-3\">\r\n {{ 'AbpAuditLogging::Description:IsPeriodicDeleterEnabled' | abpLocalization }}\r\n </span>\r\n </div>\r\n </div>\r\n\r\n @if (form.value.isPeriodicDeleterEnabled) {\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"IsExpiredDeleterEnabled\"\r\n name=\"IsExpiredDeleterEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isExpiredDeleterEnabled\"\r\n />\r\n <label class=\"form-label\" for=\"IsExpiredDeleterEnabled\">\r\n {{ 'AbpAuditLogging::DisplayName:GlobalIsExpiredDeleterEnabled' | abpLocalization }}\r\n </label>\r\n <div>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpAuditLogging::Description:GlobalIsExpiredDeleterEnabled' | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n\r\n @if (form.value.isExpiredDeleterEnabled) {\r\n <div class=\"mb-3 period-group\">\r\n <div class=\"input-group w-75\">\r\n <label class=\"input-group-text\" for=\"ExpiredDeleterPeriod\">\r\n {{ 'AbpAuditLogging::DisplayName:ExpiredDeleterPeriod' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"ExpiredDeleterPeriod\"\r\n name=\"ExpiredDeleterPeriod\"\r\n class=\"form-control text-center valid\"\r\n formControlName=\"expiredDeleterPeriod\"\r\n />\r\n <span class=\"input-group-text\">\r\n {{ 'AbpAuditLogging::ExpiredDeleterPeriodUnit' | abpLocalization }}\r\n </span>\r\n </div>\r\n <p class=\"text-muted mt-1 ms-1 fst-italic\">\r\n {{\r\n 'AbpAuditLogging::AuditLogsBeforeXWillBeDeleted'\r\n | abpLocalization\r\n : (getDateBeforeToday(form.controls.expiredDeleterPeriod.value)\r\n | date: 'MM/dd/yyyy')\r\n }}\r\n </p>\r\n </div>\r\n }\r\n }\r\n</div>\r\n\r\n<hr class=\"my-3\" />\r\n\r\n<div>\r\n <abp-button (click)=\"submit()\" iconClass=\"fa fa-save\" [loading]=\"loading\">\r\n {{ 'AbpAccount::Save' | abpLocalization }}\r\n </abp-button>\r\n</div>\r\n" }]
112
112
  }] });
113
113
 
114
114
  class AuditLogSettingsComponent {
@@ -116,12 +116,12 @@ class AuditLogSettingsComponent {
116
116
  this.sessionStateService = inject(SessionStateService);
117
117
  this.isTenant = this.sessionStateService.getTenant()?.isAvailable;
118
118
  }
119
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: AuditLogSettingsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
120
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.5", type: AuditLogSettingsComponent, isStandalone: true, selector: "abp-audit-log-settings", ngImport: i0, template: "<div id=\"AuditLogSettingsForm\" class=\"row abp-md-form\">\r\n <div class=\"col-md-12\">\r\n <ul ngbNav #nav=\"ngbNav\" class=\"nav-tabs\">\r\n @if (!isTenant) {\r\n <li ngbNavItem>\r\n <a ngbNavLink>{{ 'AbpAuditLogging::AuditLogSettingsGlobal' | abpLocalization }}</a>\r\n\r\n <ng-template ngbNavContent>\r\n <abp-audit-log-settings-global [isTenant]=\"isTenant\" />\r\n </ng-template>\r\n </li>\r\n }\r\n\r\n <li ngbNavItem>\r\n <a ngbNavLink>{{ 'AbpAuditLogging::AuditLogSettingsGeneral' | abpLocalization }}</a>\r\n <ng-template ngbNavContent>\r\n <abp-audit-log-settings-general [isTenant]=\"isTenant\" />\r\n </ng-template>\r\n </li>\r\n </ul>\r\n <div [ngbNavOutlet]=\"nav\"></div>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "ngmodule", type: NgbNavModule }, { kind: "directive", type: i1$2.NgbNavContent, selector: "ng-template[ngbNavContent]" }, { kind: "directive", type: i1$2.NgbNav, selector: "[ngbNav]", inputs: ["activeId", "animation", "destroyOnHide", "orientation", "roles", "keyboard"], outputs: ["activeIdChange", "shown", "hidden", "navChange"], exportAs: ["ngbNav"] }, { kind: "directive", type: i1$2.NgbNavItem, selector: "[ngbNavItem]", inputs: ["destroyOnHide", "disabled", "domId", "ngbNavItem"], outputs: ["shown", "hidden"], exportAs: ["ngbNavItem"] }, { kind: "directive", type: i1$2.NgbNavItemRole, selector: "[ngbNavItem]:not(ng-container)" }, { kind: "directive", type: i1$2.NgbNavLink, selector: "a[ngbNavLink]" }, { kind: "directive", type: i1$2.NgbNavLinkBase, selector: "[ngbNavLink]" }, { kind: "component", type: i1$2.NgbNavOutlet, selector: "[ngbNavOutlet]", inputs: ["paneRole", "ngbNavOutlet"] }, { kind: "ngmodule", type: LocalizationModule }, { kind: "pipe", type: i1$1.LocalizationPipe, name: "abpLocalization" }, { kind: "component", type: AuditLogSettingsGeneralComponent, selector: "abp-audit-log-settings-general" }, { kind: "component", type: AuditLogSettingsGlobalComponent, selector: "abp-audit-log-settings-global" }] }); }
119
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: AuditLogSettingsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
120
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.7", type: AuditLogSettingsComponent, isStandalone: true, selector: "abp-audit-log-settings", ngImport: i0, template: "<div id=\"AuditLogSettingsForm\" class=\"row abp-md-form\">\r\n <div class=\"col-md-12\">\r\n <ul ngbNav #nav=\"ngbNav\" class=\"nav-tabs\">\r\n @if (!isTenant) {\r\n <li ngbNavItem>\r\n <a ngbNavLink>{{ 'AbpAuditLogging::AuditLogSettingsGlobal' | abpLocalization }}</a>\r\n\r\n <ng-template ngbNavContent>\r\n <abp-audit-log-settings-global [isTenant]=\"isTenant\" />\r\n </ng-template>\r\n </li>\r\n }\r\n\r\n <li ngbNavItem>\r\n <a ngbNavLink>{{ 'AbpAuditLogging::AuditLogSettingsGeneral' | abpLocalization }}</a>\r\n <ng-template ngbNavContent>\r\n <abp-audit-log-settings-general [isTenant]=\"isTenant\" />\r\n </ng-template>\r\n </li>\r\n </ul>\r\n <div [ngbNavOutlet]=\"nav\"></div>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "ngmodule", type: NgbNavModule }, { kind: "directive", type: i1$2.NgbNavContent, selector: "ng-template[ngbNavContent]" }, { kind: "directive", type: i1$2.NgbNav, selector: "[ngbNav]", inputs: ["activeId", "animation", "destroyOnHide", "orientation", "roles", "keyboard"], outputs: ["activeIdChange", "shown", "hidden", "navChange"], exportAs: ["ngbNav"] }, { kind: "directive", type: i1$2.NgbNavItem, selector: "[ngbNavItem]", inputs: ["destroyOnHide", "disabled", "domId", "ngbNavItem"], outputs: ["shown", "hidden"], exportAs: ["ngbNavItem"] }, { kind: "directive", type: i1$2.NgbNavItemRole, selector: "[ngbNavItem]:not(ng-container)" }, { kind: "directive", type: i1$2.NgbNavLink, selector: "a[ngbNavLink]" }, { kind: "directive", type: i1$2.NgbNavLinkBase, selector: "[ngbNavLink]" }, { kind: "component", type: i1$2.NgbNavOutlet, selector: "[ngbNavOutlet]", inputs: ["paneRole", "ngbNavOutlet"] }, { kind: "ngmodule", type: LocalizationModule }, { kind: "pipe", type: i1$1.LocalizationPipe, name: "abpLocalization" }, { kind: "component", type: AuditLogSettingsGeneralComponent, selector: "abp-audit-log-settings-general" }, { kind: "component", type: AuditLogSettingsGlobalComponent, selector: "abp-audit-log-settings-global" }] }); }
121
121
  }
122
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: AuditLogSettingsComponent, decorators: [{
122
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: AuditLogSettingsComponent, decorators: [{
123
123
  type: Component,
124
- args: [{ standalone: true, selector: 'abp-audit-log-settings', imports: [
124
+ args: [{ selector: 'abp-audit-log-settings', imports: [
125
125
  NgbNavModule,
126
126
  LocalizationModule,
127
127
  AuditLogSettingsGeneralComponent,
@@ -155,12 +155,12 @@ class EntityChangeDetailsComponent {
155
155
  getInterpolationParams(changeTime) {
156
156
  return [this.changeType, changeTime, this.userName];
157
157
  }
158
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: EntityChangeDetailsComponent, deps: [{ token: i1$1.TrackByService }], target: i0.ɵɵFactoryTarget.Component }); }
159
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.5", type: EntityChangeDetailsComponent, selector: "abp-entity-change-details", inputs: { itemWithUserName: "itemWithUserName", isCollapsed: "isCollapsed" }, ngImport: i0, template: "@if (getInterpolationParams(entityChange.changeTime | date: 'medium'); as params) {\r\n <div class=\"mb-3 border border-dark rounded\">\r\n <div class=\"d-grid\">\r\n <button\r\n class=\"btn btn-{{ color }} d-flex justify-content-between text-break\"\r\n type=\"button\"\r\n (click)=\"isCollapsed = !isCollapsed\"\r\n [attr.aria-expanded]=\"!isCollapsed\"\r\n [attr.aria-controls]=\"uuid\"\r\n >\r\n {{ 'AbpAuditLogging::DaysAgoWithUserTitle' | abpLocalization: params }}\r\n <i\r\n class=\"fa align-self-center\"\r\n [ngClass]=\"isCollapsed ? 'fa-chevron-down' : 'fa-chevron-up'\"\r\n ></i>\r\n </button>\r\n </div>\r\n <div [id]=\"uuid\" [@collapse]=\"isCollapsed ? 'collapsed' : 'expanded'\">\r\n <div class=\"m-3\">\r\n <table class=\"table table-striped\">\r\n <thead>\r\n <tr>\r\n <th>{{ 'AbpAuditLogging::PropertyName' | abpLocalization }}</th>\r\n <th>{{ 'AbpAuditLogging::OriginalValue' | abpLocalization }}</th>\r\n <th>{{ 'AbpAuditLogging::NewValue' | abpLocalization }}</th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n @for (prop of entityChange.propertyChanges; track prop.id) {\r\n <tr>\r\n <td>{{ prop.propertyName }}</td>\r\n <td>{{ prop.originalValue }}</td>\r\n <td [style.color]=\"getPropColor(prop)\">{{ prop.newValue }}</td>\r\n </tr>\r\n }\r\n </tbody>\r\n </table>\r\n </div>\r\n </div>\r\n </div>\r\n}\r\n", dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: i2.DatePipe, name: "date" }, { kind: "pipe", type: i1$1.LocalizationPipe, name: "abpLocalization" }], animations: [collapse] }); }
158
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: EntityChangeDetailsComponent, deps: [{ token: i1$1.TrackByService }], target: i0.ɵɵFactoryTarget.Component }); }
159
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.7", type: EntityChangeDetailsComponent, isStandalone: false, selector: "abp-entity-change-details", inputs: { itemWithUserName: "itemWithUserName", isCollapsed: "isCollapsed" }, ngImport: i0, template: "@if (getInterpolationParams(entityChange.changeTime | date: 'medium'); as params) {\r\n <div class=\"mb-3 border border-dark rounded\">\r\n <div class=\"d-grid\">\r\n <button\r\n class=\"btn btn-{{ color }} d-flex justify-content-between text-break\"\r\n type=\"button\"\r\n (click)=\"isCollapsed = !isCollapsed\"\r\n [attr.aria-expanded]=\"!isCollapsed\"\r\n [attr.aria-controls]=\"uuid\"\r\n >\r\n {{ 'AbpAuditLogging::DaysAgoWithUserTitle' | abpLocalization: params }}\r\n <i\r\n class=\"fa align-self-center\"\r\n [ngClass]=\"isCollapsed ? 'fa-chevron-down' : 'fa-chevron-up'\"\r\n ></i>\r\n </button>\r\n </div>\r\n <div [id]=\"uuid\" [@collapse]=\"isCollapsed ? 'collapsed' : 'expanded'\">\r\n <div class=\"m-3\">\r\n <table class=\"table table-striped\">\r\n <thead>\r\n <tr>\r\n <th>{{ 'AbpAuditLogging::PropertyName' | abpLocalization }}</th>\r\n <th>{{ 'AbpAuditLogging::OriginalValue' | abpLocalization }}</th>\r\n <th>{{ 'AbpAuditLogging::NewValue' | abpLocalization }}</th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n @for (prop of entityChange.propertyChanges; track prop.id) {\r\n <tr>\r\n <td>{{ prop.propertyName }}</td>\r\n <td>{{ prop.originalValue }}</td>\r\n <td [style.color]=\"getPropColor(prop)\">{{ prop.newValue }}</td>\r\n </tr>\r\n }\r\n </tbody>\r\n </table>\r\n </div>\r\n </div>\r\n </div>\r\n}\r\n", dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: i2.DatePipe, name: "date" }, { kind: "pipe", type: i1$1.LocalizationPipe, name: "abpLocalization" }], animations: [collapse] }); }
160
160
  }
161
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: EntityChangeDetailsComponent, decorators: [{
161
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: EntityChangeDetailsComponent, decorators: [{
162
162
  type: Component,
163
- args: [{ selector: 'abp-entity-change-details', animations: [collapse], template: "@if (getInterpolationParams(entityChange.changeTime | date: 'medium'); as params) {\r\n <div class=\"mb-3 border border-dark rounded\">\r\n <div class=\"d-grid\">\r\n <button\r\n class=\"btn btn-{{ color }} d-flex justify-content-between text-break\"\r\n type=\"button\"\r\n (click)=\"isCollapsed = !isCollapsed\"\r\n [attr.aria-expanded]=\"!isCollapsed\"\r\n [attr.aria-controls]=\"uuid\"\r\n >\r\n {{ 'AbpAuditLogging::DaysAgoWithUserTitle' | abpLocalization: params }}\r\n <i\r\n class=\"fa align-self-center\"\r\n [ngClass]=\"isCollapsed ? 'fa-chevron-down' : 'fa-chevron-up'\"\r\n ></i>\r\n </button>\r\n </div>\r\n <div [id]=\"uuid\" [@collapse]=\"isCollapsed ? 'collapsed' : 'expanded'\">\r\n <div class=\"m-3\">\r\n <table class=\"table table-striped\">\r\n <thead>\r\n <tr>\r\n <th>{{ 'AbpAuditLogging::PropertyName' | abpLocalization }}</th>\r\n <th>{{ 'AbpAuditLogging::OriginalValue' | abpLocalization }}</th>\r\n <th>{{ 'AbpAuditLogging::NewValue' | abpLocalization }}</th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n @for (prop of entityChange.propertyChanges; track prop.id) {\r\n <tr>\r\n <td>{{ prop.propertyName }}</td>\r\n <td>{{ prop.originalValue }}</td>\r\n <td [style.color]=\"getPropColor(prop)\">{{ prop.newValue }}</td>\r\n </tr>\r\n }\r\n </tbody>\r\n </table>\r\n </div>\r\n </div>\r\n </div>\r\n}\r\n" }]
163
+ args: [{ standalone: false, selector: 'abp-entity-change-details', animations: [collapse], template: "@if (getInterpolationParams(entityChange.changeTime | date: 'medium'); as params) {\r\n <div class=\"mb-3 border border-dark rounded\">\r\n <div class=\"d-grid\">\r\n <button\r\n class=\"btn btn-{{ color }} d-flex justify-content-between text-break\"\r\n type=\"button\"\r\n (click)=\"isCollapsed = !isCollapsed\"\r\n [attr.aria-expanded]=\"!isCollapsed\"\r\n [attr.aria-controls]=\"uuid\"\r\n >\r\n {{ 'AbpAuditLogging::DaysAgoWithUserTitle' | abpLocalization: params }}\r\n <i\r\n class=\"fa align-self-center\"\r\n [ngClass]=\"isCollapsed ? 'fa-chevron-down' : 'fa-chevron-up'\"\r\n ></i>\r\n </button>\r\n </div>\r\n <div [id]=\"uuid\" [@collapse]=\"isCollapsed ? 'collapsed' : 'expanded'\">\r\n <div class=\"m-3\">\r\n <table class=\"table table-striped\">\r\n <thead>\r\n <tr>\r\n <th>{{ 'AbpAuditLogging::PropertyName' | abpLocalization }}</th>\r\n <th>{{ 'AbpAuditLogging::OriginalValue' | abpLocalization }}</th>\r\n <th>{{ 'AbpAuditLogging::NewValue' | abpLocalization }}</th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n @for (prop of entityChange.propertyChanges; track prop.id) {\r\n <tr>\r\n <td>{{ prop.propertyName }}</td>\r\n <td>{{ prop.originalValue }}</td>\r\n <td [style.color]=\"getPropColor(prop)\">{{ prop.newValue }}</td>\r\n </tr>\r\n }\r\n </tbody>\r\n </table>\r\n </div>\r\n </div>\r\n </div>\r\n}\r\n" }]
164
164
  }], ctorParameters: () => [{ type: i1$1.TrackByService }], propDecorators: { itemWithUserName: [{
165
165
  type: Input
166
166
  }], isCollapsed: [{
@@ -174,12 +174,12 @@ class EntityChangeModalComponent {
174
174
  this.history = [];
175
175
  this.visible = false;
176
176
  }
177
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: EntityChangeModalComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$1.TrackByService }], target: i0.ɵɵFactoryTarget.Component }); }
178
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.5", type: EntityChangeModalComponent, selector: "abp-entity-change-modal", ngImport: i0, template: "<abp-modal [(visible)]=\"visible\" [options]=\"{ size: 'lg' }\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">\r\n {{ entityTypeFullName }}\r\n <br />\r\n <span style=\"font-size: small\">({{ entityId }})</span>\r\n </h5>\r\n </ng-template>\r\n <ng-template #abpBody>\r\n @if (history.length) {\r\n @for (change of history; track change.id; let f = $first) {\r\n <abp-entity-change-details\r\n [itemWithUserName]=\"change\"\r\n [isCollapsed]=\"!f\"\r\n ></abp-entity-change-details>\r\n }\r\n } @else {\r\n <div class=\"text-center\">\r\n {{ 'AbpAuditLogging::NoChanges' | abpLocalization }}\r\n </div>\r\n }\r\n </ng-template>\r\n <ng-template #abpFooter>\r\n <button class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpAuditLogging::Close' | abpLocalization }}\r\n </button>\r\n </ng-template>\r\n</abp-modal>\r\n", dependencies: [{ kind: "component", type: i4.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i4.ModalCloseDirective, selector: "[abpClose]" }, { kind: "component", type: EntityChangeDetailsComponent, selector: "abp-entity-change-details", inputs: ["itemWithUserName", "isCollapsed"] }, { kind: "pipe", type: i1$1.LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
177
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: EntityChangeModalComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$1.TrackByService }], target: i0.ɵɵFactoryTarget.Component }); }
178
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.7", type: EntityChangeModalComponent, isStandalone: false, selector: "abp-entity-change-modal", ngImport: i0, template: "<abp-modal [(visible)]=\"visible\" [options]=\"{ size: 'lg' }\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">\r\n {{ entityTypeFullName }}\r\n <br />\r\n <span style=\"font-size: small\">({{ entityId }})</span>\r\n </h5>\r\n </ng-template>\r\n <ng-template #abpBody>\r\n @if (history.length) {\r\n @for (change of history; track change.id; let f = $first) {\r\n <abp-entity-change-details\r\n [itemWithUserName]=\"change\"\r\n [isCollapsed]=\"!f\"\r\n ></abp-entity-change-details>\r\n }\r\n } @else {\r\n <div class=\"text-center\">\r\n {{ 'AbpAuditLogging::NoChanges' | abpLocalization }}\r\n </div>\r\n }\r\n </ng-template>\r\n <ng-template #abpFooter>\r\n <button class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpAuditLogging::Close' | abpLocalization }}\r\n </button>\r\n </ng-template>\r\n</abp-modal>\r\n", dependencies: [{ kind: "component", type: i4.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i4.ModalCloseDirective, selector: "[abpClose]" }, { kind: "component", type: EntityChangeDetailsComponent, selector: "abp-entity-change-details", inputs: ["itemWithUserName", "isCollapsed"] }, { kind: "pipe", type: i1$1.LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
179
179
  }
180
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: EntityChangeModalComponent, decorators: [{
180
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: EntityChangeModalComponent, decorators: [{
181
181
  type: Component,
182
- args: [{ selector: 'abp-entity-change-modal', changeDetection: ChangeDetectionStrategy.OnPush, template: "<abp-modal [(visible)]=\"visible\" [options]=\"{ size: 'lg' }\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">\r\n {{ entityTypeFullName }}\r\n <br />\r\n <span style=\"font-size: small\">({{ entityId }})</span>\r\n </h5>\r\n </ng-template>\r\n <ng-template #abpBody>\r\n @if (history.length) {\r\n @for (change of history; track change.id; let f = $first) {\r\n <abp-entity-change-details\r\n [itemWithUserName]=\"change\"\r\n [isCollapsed]=\"!f\"\r\n ></abp-entity-change-details>\r\n }\r\n } @else {\r\n <div class=\"text-center\">\r\n {{ 'AbpAuditLogging::NoChanges' | abpLocalization }}\r\n </div>\r\n }\r\n </ng-template>\r\n <ng-template #abpFooter>\r\n <button class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpAuditLogging::Close' | abpLocalization }}\r\n </button>\r\n </ng-template>\r\n</abp-modal>\r\n" }]
182
+ args: [{ standalone: false, selector: 'abp-entity-change-modal', changeDetection: ChangeDetectionStrategy.OnPush, template: "<abp-modal [(visible)]=\"visible\" [options]=\"{ size: 'lg' }\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">\r\n {{ entityTypeFullName }}\r\n <br />\r\n <span style=\"font-size: small\">({{ entityId }})</span>\r\n </h5>\r\n </ng-template>\r\n <ng-template #abpBody>\r\n @if (history.length) {\r\n @for (change of history; track change.id; let f = $first) {\r\n <abp-entity-change-details\r\n [itemWithUserName]=\"change\"\r\n [isCollapsed]=\"!f\"\r\n ></abp-entity-change-details>\r\n }\r\n } @else {\r\n <div class=\"text-center\">\r\n {{ 'AbpAuditLogging::NoChanges' | abpLocalization }}\r\n </div>\r\n }\r\n </ng-template>\r\n <ng-template #abpFooter>\r\n <button class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpAuditLogging::Close' | abpLocalization }}\r\n </button>\r\n </ng-template>\r\n</abp-modal>\r\n" }]
183
183
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1$1.TrackByService }] });
184
184
 
185
185
  class EntityChangeModalService {
@@ -216,10 +216,10 @@ class EntityChangeModalService {
216
216
  this.detectChanges();
217
217
  });
218
218
  }
219
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: EntityChangeModalService, deps: [{ token: i1$3.AuditLogsService }, { token: i1$1.ContentProjectionService }], target: i0.ɵɵFactoryTarget.Injectable }); }
220
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: EntityChangeModalService, providedIn: 'root' }); }
219
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: EntityChangeModalService, deps: [{ token: i1$3.AuditLogsService }, { token: i1$1.ContentProjectionService }], target: i0.ɵɵFactoryTarget.Injectable }); }
220
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: EntityChangeModalService, providedIn: 'root' }); }
221
221
  }
222
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: EntityChangeModalService, decorators: [{
222
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: EntityChangeModalService, decorators: [{
223
223
  type: Injectable,
224
224
  args: [{
225
225
  providedIn: 'root',
@@ -249,43 +249,40 @@ function bindShowHistory(service) {
249
249
  }
250
250
 
251
251
  const AUDIT_LOGGING_ROUTE_PROVIDERS = [
252
- { provide: APP_INITIALIZER, useFactory: configureRoutes, deps: [RoutesService], multi: true },
252
+ provideAppInitializer(() => {
253
+ configureRoutes();
254
+ }),
253
255
  ];
254
- function configureRoutes(routes) {
255
- return () => {
256
- routes.add([
257
- {
258
- name: "AbpAuditLogging::Menu:AuditLogging" /* eAuditLoggingRouteNames.AuditLogging */,
259
- path: '/audit-logs',
260
- parentName: "AbpUiNavigation::Menu:Administration" /* eThemeSharedRouteNames.Administration */,
261
- layout: "application" /* eLayoutType.application */,
262
- iconClass: 'fa fa-file-text',
263
- order: 6,
264
- requiredPolicy: "AuditLogging.AuditLogs" /* eAuditLoggingPolicyNames.AuditLogging */,
265
- },
266
- ]);
267
- };
256
+ function configureRoutes() {
257
+ const routes = inject(RoutesService);
258
+ routes.add([
259
+ {
260
+ name: "AbpAuditLogging::Menu:AuditLogging" /* eAuditLoggingRouteNames.AuditLogging */,
261
+ path: '/audit-logs',
262
+ parentName: "AbpUiNavigation::Menu:Administration" /* eThemeSharedRouteNames.Administration */,
263
+ layout: "application" /* eLayoutType.application */,
264
+ iconClass: 'fa fa-file-text',
265
+ order: 6,
266
+ requiredPolicy: "AuditLogging.AuditLogs" /* eAuditLoggingPolicyNames.AuditLogging */,
267
+ },
268
+ ]);
268
269
  }
269
270
 
270
271
  const AUDIT_LOGGING_SETTING_TAB_PROVIDERS = [
271
- {
272
- provide: APP_INITIALIZER,
273
- multi: true,
274
- useFactory: configureSettingTabs,
275
- },
272
+ provideAppInitializer(() => {
273
+ configureSettingTabs();
274
+ }),
276
275
  ];
277
276
  function configureSettingTabs() {
278
277
  const settingTabsService = inject(SettingTabsService);
279
- return () => {
280
- settingTabsService.add([
281
- {
282
- order: 100,
283
- name: "AbpAuditLogging::Menu:AuditLogging" /* eAuditLoggingSettingTabNames.AuditLogging */,
284
- requiredPolicy: 'AuditLogging.AuditLogs.SettingManagement',
285
- component: AuditLogSettingsComponent,
286
- },
287
- ]);
288
- };
278
+ settingTabsService.add([
279
+ {
280
+ order: 100,
281
+ name: "AbpAuditLogging::Menu:AuditLogging" /* eAuditLoggingSettingTabNames.AuditLogging */,
282
+ requiredPolicy: 'AuditLogging.AuditLogs.SettingManagement',
283
+ component: AuditLogSettingsComponent,
284
+ },
285
+ ]);
289
286
  }
290
287
 
291
288
  function provideAuditLoggingConfig() {
@@ -308,11 +305,11 @@ class AuditLoggingConfigModule {
308
305
  providers: [provideAuditLoggingConfig()],
309
306
  };
310
307
  }
311
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: AuditLoggingConfigModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
312
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.5", ngImport: i0, type: AuditLoggingConfigModule, declarations: [EntityChangeDetailsComponent, EntityChangeModalComponent], imports: [CoreModule, ThemeSharedModule], exports: [EntityChangeDetailsComponent, EntityChangeModalComponent] }); }
313
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: AuditLoggingConfigModule, imports: [CoreModule, ThemeSharedModule] }); }
308
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: AuditLoggingConfigModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
309
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.7", ngImport: i0, type: AuditLoggingConfigModule, declarations: [EntityChangeDetailsComponent, EntityChangeModalComponent], imports: [CoreModule, ThemeSharedModule], exports: [EntityChangeDetailsComponent, EntityChangeModalComponent] }); }
310
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: AuditLoggingConfigModule, imports: [CoreModule, ThemeSharedModule] }); }
314
311
  }
315
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.5", ngImport: i0, type: AuditLoggingConfigModule, decorators: [{
312
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImport: i0, type: AuditLoggingConfigModule, decorators: [{
316
313
  type: NgModule,
317
314
  args: [{
318
315
  declarations: [EntityChangeDetailsComponent, EntityChangeModalComponent],