@volo/abp.ng.audit-logging 8.2.0-rc.2 → 8.2.0-rc.3

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 (25) hide show
  1. package/esm2022/config/abstracts/abstract-audit-log-settings.component.mjs +4 -4
  2. package/esm2022/config/audit-logging-config.module.mjs +5 -5
  3. package/esm2022/config/components/entity-change-details.component.mjs +4 -4
  4. package/esm2022/config/components/entity-change-modal.component.mjs +4 -4
  5. package/esm2022/config/components/settings/audit-log-settings.component.mjs +4 -4
  6. package/esm2022/config/components/settings/tabs/audit-log-settings-general/audit-log-settings-general.component.mjs +4 -4
  7. package/esm2022/config/components/settings/tabs/audit-log-settings-global/audit-log-settings-global.component.mjs +4 -4
  8. package/esm2022/config/services/entity-change-modal.service.mjs +4 -4
  9. package/esm2022/lib/audit-logging-routing.module.mjs +5 -5
  10. package/esm2022/lib/audit-logging.module.mjs +5 -5
  11. package/esm2022/lib/components/audit-logs/audit-logs.component.mjs +4 -4
  12. package/esm2022/lib/components/entity-change/entity-changes.component.mjs +4 -4
  13. package/esm2022/lib/components/widgets/average-execution-duration-widget.component.mjs +4 -4
  14. package/esm2022/lib/components/widgets/error-rate-widget.component.mjs +4 -4
  15. package/esm2022/lib/guards/audit-logging.guard.mjs +4 -4
  16. package/esm2022/lib/guards/extensions.guard.mjs +4 -4
  17. package/esm2022/proxy/lib/proxy/audit-logging/audit-log-settings.service.mjs +4 -4
  18. package/esm2022/proxy/lib/proxy/audit-logging/audit-logs.service.mjs +4 -4
  19. package/fesm2022/volo-abp.ng.audit-logging-config.mjs +25 -25
  20. package/fesm2022/volo-abp.ng.audit-logging-config.mjs.map +1 -1
  21. package/fesm2022/volo-abp.ng.audit-logging-proxy.mjs +6 -6
  22. package/fesm2022/volo-abp.ng.audit-logging-proxy.mjs.map +1 -1
  23. package/fesm2022/volo-abp.ng.audit-logging.mjs +26 -26
  24. package/fesm2022/volo-abp.ng.audit-logging.mjs.map +1 -1
  25. package/package.json +4 -4
@@ -1 +1 @@
1
- {"version":3,"file":"volo-abp.ng.audit-logging-config.mjs","sources":["../../../../packages/audit-logging/config/src/abstracts/abstract-audit-log-settings.component.ts","../../../../packages/audit-logging/config/src/components/settings/tabs/audit-log-settings-general/audit-log-settings-general.component.ts","../../../../packages/audit-logging/config/src/components/settings/tabs/audit-log-settings-general/audit-log-settings-general.component.html","../../../../packages/audit-logging/config/src/components/settings/tabs/audit-log-settings-global/audit-log-settings-global.component.ts","../../../../packages/audit-logging/config/src/components/settings/tabs/audit-log-settings-global/audit-log-settings-global.component.html","../../../../packages/audit-logging/config/src/components/settings/audit-log-settings.component.ts","../../../../packages/audit-logging/config/src/components/settings/audit-log-settings.component.html","../../../../packages/audit-logging/config/src/components/entity-change-details.component.ts","../../../../packages/audit-logging/config/src/components/entity-change-details.component.html","../../../../packages/audit-logging/config/src/components/entity-change-modal.component.ts","../../../../packages/audit-logging/config/src/components/entity-change-modal.component.html","../../../../packages/audit-logging/config/src/services/entity-change-modal.service.ts","../../../../packages/audit-logging/config/src/providers/entity-details.provider.ts","../../../../packages/audit-logging/config/src/providers/entity-history.provider.ts","../../../../packages/audit-logging/config/src/providers/route.provider.ts","../../../../packages/audit-logging/config/src/providers/setting-tab.provider.ts","../../../../packages/audit-logging/config/src/audit-logging-config.module.ts","../../../../packages/audit-logging/config/src/volo-abp.ng.audit-logging-config.ts"],"sourcesContent":["import { ChangeDetectorRef, Directive, Input, OnInit, inject } from '@angular/core';\r\nimport { FormBuilder, FormGroup } from '@angular/forms';\r\nimport { finalize, switchMap } from 'rxjs/operators';\r\nimport { ConfigStateService } from '@abp/ng.core';\r\nimport { ToasterService } from '@abp/ng.theme.shared';\r\nimport { AuditLogSettingsService } from '@volo/abp.ng.audit-logging/proxy';\r\n\r\n@Directive({ standalone: true })\r\nexport abstract class AbstractAuditLogSettingsComponent implements OnInit {\r\n protected readonly cdr = inject(ChangeDetectorRef);\r\n protected readonly fb = inject(FormBuilder);\r\n protected readonly toasterService = inject(ToasterService);\r\n protected readonly configState = inject(ConfigStateService);\r\n protected readonly settingsService = inject(AuditLogSettingsService);\r\n\r\n globalTab = false;\r\n\r\n today = new Date();\r\n\r\n //TODO: make it a signal input\r\n @Input() isTenant: boolean;\r\n\r\n //TODO: Try to use type safety\r\n form: FormGroup = this.fb.group({\r\n isExpiredDeleterEnabled: false,\r\n expiredDeleterPeriod: 0,\r\n });\r\n\r\n private _loading: boolean;\r\n set loading(value: boolean) {\r\n this._loading = value;\r\n this.cdr.markForCheck();\r\n }\r\n\r\n get loading() {\r\n return this._loading;\r\n }\r\n\r\n protected buildForm() {\r\n let req = this.settingsService.get();\r\n if (this.globalTab && !this.isTenant) {\r\n req = this.settingsService.getGlobal();\r\n this.form.addControl('isPeriodicDeleterEnabled', this.fb.control(false));\r\n }\r\n\r\n req.subscribe(settings => this.form.setValue(settings));\r\n }\r\n\r\n protected adjustFormValues() {\r\n const controls = this.form.controls;\r\n if (!controls.isExpiredDeleterEnabled.value) {\r\n controls.expiredDeleterPeriod.setValue(0);\r\n }\r\n }\r\n\r\n ngOnInit() {\r\n this.buildForm();\r\n }\r\n\r\n submit() {\r\n this.loading = true;\r\n this.adjustFormValues();\r\n\r\n const input = this.form.value;\r\n\r\n //TODO: Improve this logic, we should not need this check\r\n if (!input.expiredDeleterPeriod) {\r\n input.expiredDeleterPeriod = 0;\r\n }\r\n\r\n let req = this.settingsService.update(input);\r\n if (this.globalTab && !this.isTenant) {\r\n req = this.settingsService.updateGlobal(input);\r\n }\r\n\r\n req\r\n .pipe(\r\n switchMap(() => this.configState.refreshAppState()),\r\n finalize(() => (this.loading = false)),\r\n )\r\n .subscribe(() => this.toasterService.success('AbpUi::SavedSuccessfully'));\r\n }\r\n\r\n getDateBeforeToday(day: number) {\r\n const date = new Date(this.today);\r\n date.setDate(date.getDate() - day);\r\n return date;\r\n }\r\n}\r\n","import { Component, ChangeDetectionStrategy } from '@angular/core';\r\nimport { AsyncPipe, DatePipe } from '@angular/common';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { LocalizationModule } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { AbstractAuditLogSettingsComponent } from '../../../../abstracts';\r\n\r\n@Component({\r\n standalone: true,\r\n selector: 'abp-audit-log-settings-general',\r\n templateUrl: './audit-log-settings-general.component.html',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n imports: [AsyncPipe, ReactiveFormsModule, LocalizationModule, ThemeSharedModule, DatePipe],\r\n})\r\nexport class AuditLogSettingsGeneralComponent extends AbstractAuditLogSettingsComponent {}\r\n","<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","import { Component, ChangeDetectionStrategy } from '@angular/core';\r\nimport { AsyncPipe, DatePipe } from '@angular/common';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { LocalizationModule } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { AbstractAuditLogSettingsComponent } from '../../../../abstracts';\r\n\r\n@Component({\r\n standalone: true,\r\n selector: 'abp-audit-log-settings-global',\r\n templateUrl: './audit-log-settings-global.component.html',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n imports: [AsyncPipe, ReactiveFormsModule, LocalizationModule, ThemeSharedModule, DatePipe],\r\n})\r\nexport class AuditLogSettingsGlobalComponent extends AbstractAuditLogSettingsComponent {\r\n globalTab = true;\r\n}\r\n","<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","import { Component, inject } from '@angular/core';\r\nimport { NgbNavModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { LocalizationModule, SessionStateService } from '@abp/ng.core';\r\nimport { AuditLogSettingsGeneralComponent, AuditLogSettingsGlobalComponent } from './tabs';\r\n\r\n@Component({\r\n standalone: true,\r\n selector: 'abp-audit-log-settings',\r\n templateUrl: './audit-log-settings.component.html',\r\n imports: [\r\n NgbNavModule,\r\n LocalizationModule,\r\n AuditLogSettingsGeneralComponent,\r\n AuditLogSettingsGlobalComponent,\r\n ],\r\n})\r\nexport class AuditLogSettingsComponent {\r\n protected readonly sessionStateService = inject(SessionStateService);\r\n\r\n isTenant = this.sessionStateService.getTenant()?.isAvailable;\r\n}\r\n","<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","import { TrackByService, uuid } from '@abp/ng.core';\r\nimport { collapse } from '@abp/ng.theme.shared';\r\nimport { Component, Input } from '@angular/core';\r\nimport {\r\n EntityChangeDto,\r\n EntityChangeType,\r\n EntityChangeWithUsernameDto,\r\n EntityPropertyChangeDto,\r\n} from '@volo/abp.ng.audit-logging/proxy';\r\n\r\n@Component({\r\n selector: 'abp-entity-change-details',\r\n templateUrl: './entity-change-details.component.html',\r\n animations: [collapse],\r\n})\r\nexport class EntityChangeDetailsComponent {\r\n @Input() set itemWithUserName(item: EntityChangeWithUsernameDto) {\r\n this.changeType = EntityChangeType[item.entityChange.changeType];\r\n this.color = this.colors[item.entityChange.changeType];\r\n this.userName = item.userName;\r\n this.entityChange = item.entityChange;\r\n }\r\n\r\n @Input() isCollapsed = false;\r\n\r\n entityChange: EntityChangeDto;\r\n\r\n userName: string;\r\n\r\n changeType: string;\r\n\r\n color: 'success' | 'info' | 'danger';\r\n\r\n private colors = {\r\n [EntityChangeType.Created]: 'success',\r\n [EntityChangeType.Updated]: 'info',\r\n [EntityChangeType.Deleted]: 'danger',\r\n } as const;\r\n\r\n uuid = uuid();\r\n\r\n constructor(public readonly track: TrackByService<EntityPropertyChangeDto>) {}\r\n\r\n getPropColor(propertyChange: EntityPropertyChangeDto): 'red' | undefined {\r\n return this.entityChange.changeType === EntityChangeType.Updated &&\r\n propertyChange.newValue !== propertyChange.originalValue\r\n ? 'red'\r\n : undefined;\r\n }\r\n\r\n getInterpolationParams(changeTime: string): string[] {\r\n return [this.changeType, changeTime, this.userName];\r\n }\r\n}\r\n","@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","import { TrackByService } from '@abp/ng.core';\r\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component } from '@angular/core';\r\nimport { EntityChangeWithUsernameDto } from '@volo/abp.ng.audit-logging/proxy';\r\n\r\n@Component({\r\n selector: 'abp-entity-change-modal',\r\n templateUrl: './entity-change-modal.component.html',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class EntityChangeModalComponent {\r\n history: EntityChangeWithUsernameDto[] = [];\r\n\r\n entityId: string;\r\n\r\n entityTypeFullName: string;\r\n\r\n visible = false;\r\n\r\n constructor(public readonly cdRef: ChangeDetectorRef, public readonly track: TrackByService) {}\r\n}\r\n","<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","import { ContentProjectionService, PROJECTION_STRATEGY } from '@abp/ng.core';\r\nimport { ComponentRef, Injectable } from '@angular/core';\r\nimport { AuditLogsService } from '@volo/abp.ng.audit-logging/proxy';\r\nimport { EntityChangeModalComponent } from '../components/entity-change-modal.component';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class EntityChangeModalService {\r\n private modalRef: ComponentRef<EntityChangeModalComponent>;\r\n\r\n constructor(\r\n private auditLogsService: AuditLogsService,\r\n private contentProjectionService: ContentProjectionService,\r\n ) {\r\n this.projectModal();\r\n }\r\n\r\n private projectModal() {\r\n this.modalRef = this.contentProjectionService.projectContent(\r\n PROJECTION_STRATEGY.AppendComponentToBody(EntityChangeModalComponent),\r\n );\r\n\r\n this.modalRef.changeDetectorRef.detectChanges();\r\n }\r\n\r\n detectChanges() {\r\n this.modalRef.changeDetectorRef.detectChanges();\r\n this.modalRef.instance.cdRef.detectChanges();\r\n }\r\n\r\n showDetails(entityChangeId: string) {\r\n this.auditLogsService.getEntityChangeWithUsername(entityChangeId).subscribe(change => {\r\n this.modalRef.instance.entityId = change.entityChange.entityId;\r\n this.modalRef.instance.entityTypeFullName = change.entityChange.entityTypeFullName;\r\n this.modalRef.instance.history = [change].filter(Boolean);\r\n this.modalRef.instance.visible = true;\r\n this.detectChanges();\r\n });\r\n }\r\n\r\n showHistory(entityId: string, entityTypeFullName: string) {\r\n this.auditLogsService\r\n .getEntityChangesWithUsername({ entityId, entityTypeFullName })\r\n .subscribe(changes => {\r\n this.modalRef.instance.entityId = entityId;\r\n this.modalRef.instance.entityTypeFullName = entityTypeFullName;\r\n this.modalRef.instance.history = changes;\r\n this.modalRef.instance.visible = true;\r\n this.detectChanges();\r\n });\r\n }\r\n}\r\n","import { SHOW_ENTITY_DETAILS } from '@volo/abp.ng.audit-logging';\r\nimport { EntityChangeModalService } from '../services/entity-change-modal.service';\r\n\r\nexport const ENTITY_DETAILS_PROVIDERS = [\r\n {\r\n provide: SHOW_ENTITY_DETAILS,\r\n useFactory: bindShowDetails,\r\n deps: [EntityChangeModalService],\r\n },\r\n];\r\n\r\nexport function bindShowDetails(service: EntityChangeModalService) {\r\n return service.showDetails.bind(service);\r\n}\r\n","import { SHOW_ENTITY_HISTORY } from '@volo/abp.commercial.ng.ui';\r\nimport { EntityChangeModalService } from '../services/entity-change-modal.service';\r\n\r\nexport const ENTITY_HISTORY_PROVIDERS = [\r\n {\r\n provide: SHOW_ENTITY_HISTORY,\r\n useFactory: bindShowHistory,\r\n deps: [EntityChangeModalService],\r\n },\r\n];\r\n\r\nexport function bindShowHistory(service: EntityChangeModalService) {\r\n return service.showHistory.bind(service);\r\n}\r\n","import { eLayoutType, RoutesService } from '@abp/ng.core';\r\nimport { eThemeSharedRouteNames } from '@abp/ng.theme.shared';\r\nimport { APP_INITIALIZER } from '@angular/core';\r\nimport { eAuditLoggingPolicyNames } from '../enums/policy-names';\r\nimport { eAuditLoggingRouteNames } from '../enums/route-names';\r\n\r\nexport const AUDIT_LOGGING_ROUTE_PROVIDERS = [\r\n { provide: APP_INITIALIZER, useFactory: configureRoutes, deps: [RoutesService], multi: true },\r\n];\r\n\r\nexport function configureRoutes(routes: RoutesService) {\r\n return () => {\r\n routes.add([\r\n {\r\n name: eAuditLoggingRouteNames.AuditLogging,\r\n path: '/audit-logs',\r\n parentName: eThemeSharedRouteNames.Administration,\r\n layout: eLayoutType.application,\r\n iconClass: 'fa fa-file-text',\r\n order: 6,\r\n requiredPolicy: eAuditLoggingPolicyNames.AuditLogging,\r\n },\r\n ]);\r\n };\r\n}\r\n","import { APP_INITIALIZER, inject } from '@angular/core';\r\nimport { SettingTabsService } from '@abp/ng.setting-management/config';\r\nimport { eAuditLoggingSettingTabNames } from '../enums/setting-tab-names';\r\nimport { AuditLogSettingsComponent } from '../components/settings';\r\n\r\nexport const AUDIT_LOGGING_SETTING_TAB_PROVIDERS = [\r\n {\r\n provide: APP_INITIALIZER,\r\n multi: true,\r\n useFactory: configureSettingTabs,\r\n },\r\n];\r\n\r\nexport function configureSettingTabs() {\r\n const settingTabsService = inject(SettingTabsService);\r\n\r\n return () => {\r\n settingTabsService.add([\r\n {\r\n order: 100,\r\n name: eAuditLoggingSettingTabNames.AuditLogging,\r\n requiredPolicy: 'AuditLogging.AuditLogs.SettingManagement',\r\n component: AuditLogSettingsComponent,\r\n },\r\n ]);\r\n };\r\n}\r\n","import { CoreModule } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { ModuleWithProviders, NgModule } from '@angular/core';\r\nimport { EntityChangeDetailsComponent } from './components/entity-change-details.component';\r\nimport { EntityChangeModalComponent } from './components/entity-change-modal.component';\r\nimport { ENTITY_DETAILS_PROVIDERS, ENTITY_HISTORY_PROVIDERS } from './providers';\r\nimport { AUDIT_LOGGING_ROUTE_PROVIDERS } from './providers/route.provider';\r\nimport { AUDIT_LOGGING_FEATURES_PROVIDERS } from '@volo/abp.ng.audit-logging/common';\r\nimport { AUDIT_LOGGING_SETTING_TAB_PROVIDERS } from './providers/setting-tab.provider';\r\n\r\n@NgModule({\r\n declarations: [EntityChangeDetailsComponent, EntityChangeModalComponent],\r\n exports: [EntityChangeDetailsComponent, EntityChangeModalComponent],\r\n imports: [CoreModule, ThemeSharedModule],\r\n})\r\nexport class AuditLoggingConfigModule {\r\n static forRoot(): ModuleWithProviders<AuditLoggingConfigModule> {\r\n return {\r\n ngModule: AuditLoggingConfigModule,\r\n providers: [\r\n AUDIT_LOGGING_ROUTE_PROVIDERS,\r\n ENTITY_DETAILS_PROVIDERS,\r\n ENTITY_HISTORY_PROVIDERS,\r\n AUDIT_LOGGING_FEATURES_PROVIDERS,\r\n AUDIT_LOGGING_SETTING_TAB_PROVIDERS,\r\n ],\r\n };\r\n }\r\n}\r\n","/**\n * Generated bundle index.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it-log-settings.component.ts","../../../../packages/audit-logging/config/src/components/settings/tabs/audit-log-settings-general/audit-log-settings-general.component.ts","../../../../packages/audit-logging/config/src/components/settings/tabs/audit-log-settings-general/audit-log-settings-general.component.html","../../../../packages/audit-logging/config/src/components/settings/tabs/audit-log-settings-global/audit-log-settings-global.component.ts","../../../../packages/audit-logging/config/src/components/settings/tabs/audit-log-settings-global/audit-log-settings-global.component.html","../../../../packages/audit-logging/config/src/components/settings/audit-log-settings.component.ts","../../../../packages/audit-logging/config/src/components/settings/audit-log-settings.component.html","../../../../packages/audit-logging/config/src/components/entity-change-details.component.ts","../../../../packages/audit-logging/config/src/components/entity-change-details.component.html","../../../../packages/audit-logging/config/src/components/entity-change-modal.component.ts","../../../../packages/audit-logging/config/src/components/entity-change-modal.component.html","../../../../packages/audit-logging/config/src/services/entity-change-modal.service.ts","../../../../packages/audit-logging/config/src/providers/entity-details.provider.ts","../../../../packages/audit-logging/config/src/providers/entity-history.provider.ts","../../../../packages/audit-logging/config/src/providers/route.provider.ts","../../../../packages/audit-logging/config/src/providers/setting-tab.provider.ts","../../../../packages/audit-logging/config/src/audit-logging-config.module.ts","../../../../packages/audit-logging/config/src/volo-abp.ng.audit-logging-config.ts"],"sourcesContent":["import { ChangeDetectorRef, Directive, Input, OnInit, inject } from '@angular/core';\r\nimport { FormBuilder, FormGroup } from '@angular/forms';\r\nimport { finalize, switchMap } from 'rxjs/operators';\r\nimport { ConfigStateService } from '@abp/ng.core';\r\nimport { ToasterService } from '@abp/ng.theme.shared';\r\nimport { AuditLogSettingsService } from '@volo/abp.ng.audit-logging/proxy';\r\n\r\n@Directive({ standalone: true })\r\nexport abstract class AbstractAuditLogSettingsComponent implements OnInit {\r\n protected readonly cdr = inject(ChangeDetectorRef);\r\n protected readonly fb = inject(FormBuilder);\r\n protected readonly toasterService = inject(ToasterService);\r\n protected readonly configState = inject(ConfigStateService);\r\n protected readonly settingsService = inject(AuditLogSettingsService);\r\n\r\n globalTab = false;\r\n\r\n today = new Date();\r\n\r\n //TODO: make it a signal input\r\n @Input() isTenant: boolean;\r\n\r\n //TODO: Try to use type safety\r\n form: FormGroup = this.fb.group({\r\n isExpiredDeleterEnabled: false,\r\n expiredDeleterPeriod: 0,\r\n });\r\n\r\n private _loading: boolean;\r\n set loading(value: boolean) {\r\n this._loading = value;\r\n this.cdr.markForCheck();\r\n }\r\n\r\n get loading() {\r\n return this._loading;\r\n }\r\n\r\n protected buildForm() {\r\n let req = this.settingsService.get();\r\n if (this.globalTab && !this.isTenant) {\r\n req = this.settingsService.getGlobal();\r\n this.form.addControl('isPeriodicDeleterEnabled', this.fb.control(false));\r\n }\r\n\r\n req.subscribe(settings => this.form.setValue(settings));\r\n }\r\n\r\n protected adjustFormValues() {\r\n const controls = this.form.controls;\r\n if (!controls.isExpiredDeleterEnabled.value) {\r\n controls.expiredDeleterPeriod.setValue(0);\r\n }\r\n }\r\n\r\n ngOnInit() {\r\n this.buildForm();\r\n }\r\n\r\n submit() {\r\n this.loading = true;\r\n this.adjustFormValues();\r\n\r\n const input = this.form.value;\r\n\r\n //TODO: Improve this logic, we should not need this check\r\n if (!input.expiredDeleterPeriod) {\r\n input.expiredDeleterPeriod = 0;\r\n }\r\n\r\n let req = this.settingsService.update(input);\r\n if (this.globalTab && !this.isTenant) {\r\n req = this.settingsService.updateGlobal(input);\r\n }\r\n\r\n req\r\n .pipe(\r\n switchMap(() => this.configState.refreshAppState()),\r\n finalize(() => (this.loading = false)),\r\n )\r\n .subscribe(() => this.toasterService.success('AbpUi::SavedSuccessfully'));\r\n }\r\n\r\n getDateBeforeToday(day: number) {\r\n const date = new Date(this.today);\r\n date.setDate(date.getDate() - day);\r\n return date;\r\n }\r\n}\r\n","import { Component, ChangeDetectionStrategy } from '@angular/core';\r\nimport { AsyncPipe, DatePipe } from '@angular/common';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { LocalizationModule } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { AbstractAuditLogSettingsComponent } from '../../../../abstracts';\r\n\r\n@Component({\r\n standalone: true,\r\n selector: 'abp-audit-log-settings-general',\r\n templateUrl: './audit-log-settings-general.component.html',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n imports: [AsyncPipe, ReactiveFormsModule, LocalizationModule, ThemeSharedModule, DatePipe],\r\n})\r\nexport class AuditLogSettingsGeneralComponent extends AbstractAuditLogSettingsComponent {}\r\n","<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","import { Component, ChangeDetectionStrategy } from '@angular/core';\r\nimport { AsyncPipe, DatePipe } from '@angular/common';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { LocalizationModule } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { AbstractAuditLogSettingsComponent } from '../../../../abstracts';\r\n\r\n@Component({\r\n standalone: true,\r\n selector: 'abp-audit-log-settings-global',\r\n templateUrl: './audit-log-settings-global.component.html',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n imports: [AsyncPipe, ReactiveFormsModule, LocalizationModule, ThemeSharedModule, DatePipe],\r\n})\r\nexport class AuditLogSettingsGlobalComponent extends AbstractAuditLogSettingsComponent {\r\n globalTab = true;\r\n}\r\n","<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","import { Component, inject } from '@angular/core';\r\nimport { NgbNavModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { LocalizationModule, SessionStateService } from '@abp/ng.core';\r\nimport { AuditLogSettingsGeneralComponent, AuditLogSettingsGlobalComponent } from './tabs';\r\n\r\n@Component({\r\n standalone: true,\r\n selector: 'abp-audit-log-settings',\r\n templateUrl: './audit-log-settings.component.html',\r\n imports: [\r\n NgbNavModule,\r\n LocalizationModule,\r\n AuditLogSettingsGeneralComponent,\r\n AuditLogSettingsGlobalComponent,\r\n ],\r\n})\r\nexport class AuditLogSettingsComponent {\r\n protected readonly sessionStateService = inject(SessionStateService);\r\n\r\n isTenant = this.sessionStateService.getTenant()?.isAvailable;\r\n}\r\n","<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","import { TrackByService, uuid } from '@abp/ng.core';\r\nimport { collapse } from '@abp/ng.theme.shared';\r\nimport { Component, Input } from '@angular/core';\r\nimport {\r\n EntityChangeDto,\r\n EntityChangeType,\r\n EntityChangeWithUsernameDto,\r\n EntityPropertyChangeDto,\r\n} from '@volo/abp.ng.audit-logging/proxy';\r\n\r\n@Component({\r\n selector: 'abp-entity-change-details',\r\n templateUrl: './entity-change-details.component.html',\r\n animations: [collapse],\r\n})\r\nexport class EntityChangeDetailsComponent {\r\n @Input() set itemWithUserName(item: EntityChangeWithUsernameDto) {\r\n this.changeType = EntityChangeType[item.entityChange.changeType];\r\n this.color = this.colors[item.entityChange.changeType];\r\n this.userName = item.userName;\r\n this.entityChange = item.entityChange;\r\n }\r\n\r\n @Input() isCollapsed = false;\r\n\r\n entityChange: EntityChangeDto;\r\n\r\n userName: string;\r\n\r\n changeType: string;\r\n\r\n color: 'success' | 'info' | 'danger';\r\n\r\n private colors = {\r\n [EntityChangeType.Created]: 'success',\r\n [EntityChangeType.Updated]: 'info',\r\n [EntityChangeType.Deleted]: 'danger',\r\n } as const;\r\n\r\n uuid = uuid();\r\n\r\n constructor(public readonly track: TrackByService<EntityPropertyChangeDto>) {}\r\n\r\n getPropColor(propertyChange: EntityPropertyChangeDto): 'red' | undefined {\r\n return this.entityChange.changeType === EntityChangeType.Updated &&\r\n propertyChange.newValue !== propertyChange.originalValue\r\n ? 'red'\r\n : undefined;\r\n }\r\n\r\n getInterpolationParams(changeTime: string): string[] {\r\n return [this.changeType, changeTime, this.userName];\r\n }\r\n}\r\n","@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","import { TrackByService } from '@abp/ng.core';\r\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component } from '@angular/core';\r\nimport { EntityChangeWithUsernameDto } from '@volo/abp.ng.audit-logging/proxy';\r\n\r\n@Component({\r\n selector: 'abp-entity-change-modal',\r\n templateUrl: './entity-change-modal.component.html',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class EntityChangeModalComponent {\r\n history: EntityChangeWithUsernameDto[] = [];\r\n\r\n entityId: string;\r\n\r\n entityTypeFullName: string;\r\n\r\n visible = false;\r\n\r\n constructor(public readonly cdRef: ChangeDetectorRef, public readonly track: TrackByService) {}\r\n}\r\n","<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","import { ContentProjectionService, PROJECTION_STRATEGY } from '@abp/ng.core';\r\nimport { ComponentRef, Injectable } from '@angular/core';\r\nimport { AuditLogsService } from '@volo/abp.ng.audit-logging/proxy';\r\nimport { EntityChangeModalComponent } from '../components/entity-change-modal.component';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class EntityChangeModalService {\r\n private modalRef: ComponentRef<EntityChangeModalComponent>;\r\n\r\n constructor(\r\n private auditLogsService: AuditLogsService,\r\n private contentProjectionService: ContentProjectionService,\r\n ) {\r\n this.projectModal();\r\n }\r\n\r\n private projectModal() {\r\n this.modalRef = this.contentProjectionService.projectContent(\r\n PROJECTION_STRATEGY.AppendComponentToBody(EntityChangeModalComponent),\r\n );\r\n\r\n this.modalRef.changeDetectorRef.detectChanges();\r\n }\r\n\r\n detectChanges() {\r\n this.modalRef.changeDetectorRef.detectChanges();\r\n this.modalRef.instance.cdRef.detectChanges();\r\n }\r\n\r\n showDetails(entityChangeId: string) {\r\n this.auditLogsService.getEntityChangeWithUsername(entityChangeId).subscribe(change => {\r\n this.modalRef.instance.entityId = change.entityChange.entityId;\r\n this.modalRef.instance.entityTypeFullName = change.entityChange.entityTypeFullName;\r\n this.modalRef.instance.history = [change].filter(Boolean);\r\n this.modalRef.instance.visible = true;\r\n this.detectChanges();\r\n });\r\n }\r\n\r\n showHistory(entityId: string, entityTypeFullName: string) {\r\n this.auditLogsService\r\n .getEntityChangesWithUsername({ entityId, entityTypeFullName })\r\n .subscribe(changes => {\r\n this.modalRef.instance.entityId = entityId;\r\n this.modalRef.instance.entityTypeFullName = entityTypeFullName;\r\n this.modalRef.instance.history = changes;\r\n this.modalRef.instance.visible = true;\r\n this.detectChanges();\r\n });\r\n }\r\n}\r\n","import { SHOW_ENTITY_DETAILS } from '@volo/abp.ng.audit-logging';\r\nimport { EntityChangeModalService } from '../services/entity-change-modal.service';\r\n\r\nexport const ENTITY_DETAILS_PROVIDERS = [\r\n {\r\n provide: SHOW_ENTITY_DETAILS,\r\n useFactory: bindShowDetails,\r\n deps: [EntityChangeModalService],\r\n },\r\n];\r\n\r\nexport function bindShowDetails(service: EntityChangeModalService) {\r\n return service.showDetails.bind(service);\r\n}\r\n","import { SHOW_ENTITY_HISTORY } from '@volo/abp.commercial.ng.ui';\r\nimport { EntityChangeModalService } from '../services/entity-change-modal.service';\r\n\r\nexport const ENTITY_HISTORY_PROVIDERS = [\r\n {\r\n provide: SHOW_ENTITY_HISTORY,\r\n useFactory: bindShowHistory,\r\n deps: [EntityChangeModalService],\r\n },\r\n];\r\n\r\nexport function bindShowHistory(service: EntityChangeModalService) {\r\n return service.showHistory.bind(service);\r\n}\r\n","import { eLayoutType, RoutesService } from '@abp/ng.core';\r\nimport { eThemeSharedRouteNames } from '@abp/ng.theme.shared';\r\nimport { APP_INITIALIZER } from '@angular/core';\r\nimport { eAuditLoggingPolicyNames } from '../enums/policy-names';\r\nimport { eAuditLoggingRouteNames } from '../enums/route-names';\r\n\r\nexport const AUDIT_LOGGING_ROUTE_PROVIDERS = [\r\n { provide: APP_INITIALIZER, useFactory: configureRoutes, deps: [RoutesService], multi: true },\r\n];\r\n\r\nexport function configureRoutes(routes: RoutesService) {\r\n return () => {\r\n routes.add([\r\n {\r\n name: eAuditLoggingRouteNames.AuditLogging,\r\n path: '/audit-logs',\r\n parentName: eThemeSharedRouteNames.Administration,\r\n layout: eLayoutType.application,\r\n iconClass: 'fa fa-file-text',\r\n order: 6,\r\n requiredPolicy: eAuditLoggingPolicyNames.AuditLogging,\r\n },\r\n ]);\r\n };\r\n}\r\n","import { APP_INITIALIZER, inject } from '@angular/core';\r\nimport { SettingTabsService } from '@abp/ng.setting-management/config';\r\nimport { eAuditLoggingSettingTabNames } from '../enums/setting-tab-names';\r\nimport { AuditLogSettingsComponent } from '../components/settings';\r\n\r\nexport const AUDIT_LOGGING_SETTING_TAB_PROVIDERS = [\r\n {\r\n provide: APP_INITIALIZER,\r\n multi: true,\r\n useFactory: configureSettingTabs,\r\n },\r\n];\r\n\r\nexport function configureSettingTabs() {\r\n const settingTabsService = inject(SettingTabsService);\r\n\r\n return () => {\r\n settingTabsService.add([\r\n {\r\n order: 100,\r\n name: eAuditLoggingSettingTabNames.AuditLogging,\r\n requiredPolicy: 'AuditLogging.AuditLogs.SettingManagement',\r\n component: AuditLogSettingsComponent,\r\n },\r\n ]);\r\n };\r\n}\r\n","import { CoreModule } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { ModuleWithProviders, NgModule } from '@angular/core';\r\nimport { EntityChangeDetailsComponent } from './components/entity-change-details.component';\r\nimport { EntityChangeModalComponent } from './components/entity-change-modal.component';\r\nimport { ENTITY_DETAILS_PROVIDERS, ENTITY_HISTORY_PROVIDERS } from './providers';\r\nimport { AUDIT_LOGGING_ROUTE_PROVIDERS } from './providers/route.provider';\r\nimport { AUDIT_LOGGING_FEATURES_PROVIDERS } from '@volo/abp.ng.audit-logging/common';\r\nimport { AUDIT_LOGGING_SETTING_TAB_PROVIDERS } from './providers/setting-tab.provider';\r\n\r\n@NgModule({\r\n declarations: [EntityChangeDetailsComponent, EntityChangeModalComponent],\r\n exports: [EntityChangeDetailsComponent, EntityChangeModalComponent],\r\n imports: [CoreModule, ThemeSharedModule],\r\n})\r\nexport class AuditLoggingConfigModule {\r\n static forRoot(): ModuleWithProviders<AuditLoggingConfigModule> {\r\n return {\r\n ngModule: AuditLoggingConfigModule,\r\n providers: [\r\n AUDIT_LOGGING_ROUTE_PROVIDERS,\r\n ENTITY_DETAILS_PROVIDERS,\r\n ENTITY_HISTORY_PROVIDERS,\r\n AUDIT_LOGGING_FEATURES_PROVIDERS,\r\n AUDIT_LOGGING_SETTING_TAB_PROVIDERS,\r\n ],\r\n };\r\n }\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i2","i1","i3.EntityChangeDetailsComponent"],"mappings":";;;;;;;;;;;;;;;;;;;;;MAQsB,iCAAiC,CAAA;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AA0C;AAC1D,gBAAA,SAAS,EAAE,yBAAyB;AACrC,aAAA;AACF,SAAA,CAAC,CAAC;AACL,KAAC,CAAC;AACJ;;MCXa,wBAAwB,CAAA;AACnC,IAAA,OAAO,OAAO,GAAA;QACZ,OAAO;AACL,YAAA,QAAQ,EAAE,wBAAwB;AAClC,YAAA,SAAS,EAAE;gBACT,6BAA6B;gBAC7B,wBAAwB;gBACxB,wBAAwB;gBACxB,gCAAgC;gBAChC,mCAAmC;AACpC,aAAA;SACF,CAAC;KACH;+GAZU,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;gHAAxB,wBAAwB,EAAA,YAAA,EAAA,CAJpB,4BAA4B,EAAE,0BAA0B,CAAA,EAAA,OAAA,EAAA,CAE7D,UAAU,EAAE,iBAAiB,CAAA,EAAA,OAAA,EAAA,CAD7B,4BAA4B,EAAE,0BAA0B,CAAA,EAAA,CAAA,CAAA,EAAA;gHAGvD,wBAAwB,EAAA,OAAA,EAAA,CAFzB,UAAU,EAAE,iBAAiB,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAE5B,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBALpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,CAAC,4BAA4B,EAAE,0BAA0B,CAAC;AACxE,oBAAA,OAAO,EAAE,CAAC,4BAA4B,EAAE,0BAA0B,CAAC;AACnE,oBAAA,OAAO,EAAE,CAAC,UAAU,EAAE,iBAAiB,CAAC;AACzC,iBAAA,CAAA;;;ACdD;;AAEG;;;;"}
@@ -26,10 +26,10 @@ class AuditLogSettingsService {
26
26
  body: input,
27
27
  }, { apiName: this.apiName, ...config });
28
28
  }
29
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AuditLogSettingsService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable }); }
30
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AuditLogSettingsService, providedIn: 'root' }); }
29
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: AuditLogSettingsService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable }); }
30
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: AuditLogSettingsService, providedIn: 'root' }); }
31
31
  }
32
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AuditLogSettingsService, decorators: [{
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: AuditLogSettingsService, decorators: [{
33
33
  type: Injectable,
34
34
  args: [{
35
35
  providedIn: 'root',
@@ -105,10 +105,10 @@ class AuditLogsService {
105
105
  },
106
106
  }, { apiName: this.apiName, ...config });
107
107
  }
108
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AuditLogsService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable }); }
109
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AuditLogsService, providedIn: 'root' }); }
108
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: AuditLogsService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable }); }
109
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: AuditLogsService, providedIn: 'root' }); }
110
110
  }
111
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AuditLogsService, decorators: [{
111
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: AuditLogsService, decorators: [{
112
112
  type: Injectable,
113
113
  args: [{
114
114
  providedIn: 'root',
@@ -1 +1 @@
1
- {"version":3,"file":"volo-abp.ng.audit-logging-proxy.mjs","sources":["../../../../packages/audit-logging/proxy/src/lib/proxy/audit-logging/audit-log-settings.service.ts","../../../../packages/audit-logging/proxy/src/lib/proxy/audit-logging/audit-logs.service.ts","../../../../packages/audit-logging/proxy/src/lib/proxy/auditing/entity-change-type.enum.ts","../../../../packages/audit-logging/proxy/src/volo-abp.ng.audit-logging-proxy.ts"],"sourcesContent":["import type { AuditLogGlobalSettingsDto, AuditLogSettingsDto } from './models';\r\nimport { RestService, Rest } from '@abp/ng.core';\r\nimport { Injectable } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class AuditLogSettingsService {\r\n apiName = 'AbpAuditLogging';\r\n\r\n get = (config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, AuditLogSettingsDto>(\r\n {\r\n method: 'GET',\r\n url: '/api/audit-logging/settings',\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n getGlobal = (config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, AuditLogGlobalSettingsDto>(\r\n {\r\n method: 'GET',\r\n url: '/api/audit-logging/settings/global',\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n update = (input: AuditLogSettingsDto, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, void>(\r\n {\r\n method: 'PUT',\r\n url: '/api/audit-logging/settings',\r\n body: input,\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n updateGlobal = (input: AuditLogGlobalSettingsDto, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, void>(\r\n {\r\n method: 'PUT',\r\n url: '/api/audit-logging/settings/global',\r\n body: input,\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n constructor(private restService: RestService) {}\r\n}\r\n","import type {\r\n AuditLogDto,\r\n EntityChangeDto,\r\n EntityChangeFilter,\r\n EntityChangeWithUsernameDto,\r\n GetAuditLogListDto,\r\n GetAverageExecutionDurationPerDayInput,\r\n GetAverageExecutionDurationPerDayOutput,\r\n GetEntityChangesDto,\r\n GetErrorRateFilter,\r\n GetErrorRateOutput,\r\n} from './models';\r\nimport { RestService, Rest } from '@abp/ng.core';\r\nimport type { PagedResultDto } from '@abp/ng.core';\r\nimport { Injectable } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class AuditLogsService {\r\n apiName = 'AbpAuditLogging';\r\n\r\n get = (id: string, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, AuditLogDto>(\r\n {\r\n method: 'GET',\r\n url: `/api/audit-logging/audit-logs/${id}`,\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n getAverageExecutionDurationPerDay = (\r\n filter: GetAverageExecutionDurationPerDayInput,\r\n config?: Partial<Rest.Config>,\r\n ) =>\r\n this.restService.request<any, GetAverageExecutionDurationPerDayOutput>(\r\n {\r\n method: 'GET',\r\n url: '/api/audit-logging/audit-logs/statistics/average-execution-duration-per-day',\r\n params: { startDate: filter.startDate, endDate: filter.endDate },\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n getEntityChange = (entityChangeId: string, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, EntityChangeDto>(\r\n {\r\n method: 'GET',\r\n url: `/api/audit-logging/audit-logs/entity-changes/${entityChangeId}`,\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n getEntityChangeWithUsername = (entityChangeId: string, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, EntityChangeWithUsernameDto>(\r\n {\r\n method: 'GET',\r\n url: `/api/audit-logging/audit-logs/entity-change-with-username/${entityChangeId}`,\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n getEntityChanges = (input: GetEntityChangesDto, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, PagedResultDto<EntityChangeDto>>(\r\n {\r\n method: 'GET',\r\n url: '/api/audit-logging/audit-logs/entity-changes',\r\n params: {\r\n auditLogId: input.auditLogId,\r\n entityChangeType: input.entityChangeType,\r\n entityId: input.entityId,\r\n entityTypeFullName: input.entityTypeFullName,\r\n startDate: input.startDate,\r\n endDate: input.endDate,\r\n sorting: input.sorting,\r\n skipCount: input.skipCount,\r\n maxResultCount: input.maxResultCount,\r\n },\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n getEntityChangesWithUsername = (input: EntityChangeFilter, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, EntityChangeWithUsernameDto[]>(\r\n {\r\n method: 'GET',\r\n url: '/api/audit-logging/audit-logs/entity-changes-with-username',\r\n params: { entityId: input.entityId, entityTypeFullName: input.entityTypeFullName },\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n getErrorRate = (filter: GetErrorRateFilter, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, GetErrorRateOutput>(\r\n {\r\n method: 'GET',\r\n url: '/api/audit-logging/audit-logs/statistics/error-rate',\r\n params: { startDate: filter.startDate, endDate: filter.endDate },\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n getList = (input: GetAuditLogListDto, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, PagedResultDto<AuditLogDto>>(\r\n {\r\n method: 'GET',\r\n url: '/api/audit-logging/audit-logs',\r\n params: {\r\n startTime: input.startTime,\r\n endTime: input.endTime,\r\n url: input.url,\r\n clientId: input.clientId,\r\n userName: input.userName,\r\n applicationName: input.applicationName,\r\n clientIpAddress: input.clientIpAddress,\r\n correlationId: input.correlationId,\r\n httpMethod: input.httpMethod,\r\n httpStatusCode: input.httpStatusCode,\r\n maxExecutionDuration: input.maxExecutionDuration,\r\n minExecutionDuration: input.minExecutionDuration,\r\n hasException: input.hasException,\r\n sorting: input.sorting,\r\n skipCount: input.skipCount,\r\n maxResultCount: input.maxResultCount,\r\n },\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n constructor(private restService: RestService) {}\r\n}\r\n","import { mapEnumToOptions } from '@abp/ng.core';\r\n\r\nexport enum EntityChangeType {\r\n Created = 0,\r\n Updated = 1,\r\n Deleted = 2,\r\n}\r\n\r\nexport const entityChangeTypeOptions = mapEnumToOptions(EntityChangeType);\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAOa,uBAAuB,CAAA;AAyClC,IAAA,WAAA,CAAoB,WAAwB,EAAA;QAAxB,IAAW,CAAA,WAAA,GAAX,WAAW,CAAa;QAxC5C,IAAO,CAAA,OAAA,GAAG,iBAAiB,CAAC;QAE5B,IAAG,CAAA,GAAA,GAAG,CAAC,MAA6B,KAClC,IAAI,CAAC,WAAW,CAAC,OAAO,CACtB;AACE,YAAA,MAAM,EAAE,KAAK;AACb,YAAA,GAAG,EAAE,6BAA6B;SACnC,EACD,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,GAAG,MAAM,EAAE,CACrC,CAAC;QAEJ,IAAS,CAAA,SAAA,GAAG,CAAC,MAA6B,KACxC,IAAI,CAAC,WAAW,CAAC,OAAO,CACtB;AACE,YAAA,MAAM,EAAE,KAAK;AACb,YAAA,GAAG,EAAE,oCAAoC;SAC1C,EACD,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,GAAG,MAAM,EAAE,CACrC,CAAC;AAEJ,QAAA,IAAA,CAAA,MAAM,GAAG,CAAC,KAA0B,EAAE,MAA6B,KACjE,IAAI,CAAC,WAAW,CAAC,OAAO,CACtB;AACE,YAAA,MAAM,EAAE,KAAK;AACb,YAAA,GAAG,EAAE,6BAA6B;AAClC,YAAA,IAAI,EAAE,KAAK;SACZ,EACD,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,GAAG,MAAM,EAAE,C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gB,EAAA;AAC1B,IAAA,gBAAA,CAAA,gBAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAW,CAAA;AACX,IAAA,gBAAA,CAAA,gBAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAW,CAAA;AACX,IAAA,gBAAA,CAAA,gBAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAW,CAAA;AACb,CAAC,EAJW,gBAAgB,KAAhB,gBAAgB,GAI3B,EAAA,CAAA,CAAA,CAAA;MAEY,uBAAuB,GAAG,gBAAgB,CAAC,gBAAgB;;ACRxE;;AAEG;;;;"}
1
+ {"version":3,"file":"volo-abp.ng.audit-logging-proxy.mjs","sources":["../../../../packages/audit-logging/proxy/src/lib/proxy/audit-logging/audit-log-settings.service.ts","../../../../packages/audit-logging/proxy/src/lib/proxy/audit-logging/audit-logs.service.ts","../../../../packages/audit-logging/proxy/src/lib/proxy/auditing/entity-change-type.enum.ts","../../../../packages/audit-logging/proxy/src/volo-abp.ng.audit-logging-proxy.ts"],"sourcesContent":["import type { AuditLogGlobalSettingsDto, AuditLogSettingsDto } from './models';\r\nimport { RestService, Rest } from '@abp/ng.core';\r\nimport { Injectable } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class AuditLogSettingsService {\r\n apiName = 'AbpAuditLogging';\r\n\r\n get = (config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, AuditLogSettingsDto>(\r\n {\r\n method: 'GET',\r\n url: '/api/audit-logging/settings',\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n getGlobal = (config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, AuditLogGlobalSettingsDto>(\r\n {\r\n method: 'GET',\r\n url: '/api/audit-logging/settings/global',\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n update = (input: AuditLogSettingsDto, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, void>(\r\n {\r\n method: 'PUT',\r\n url: '/api/audit-logging/settings',\r\n body: input,\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n updateGlobal = (input: AuditLogGlobalSettingsDto, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, void>(\r\n {\r\n method: 'PUT',\r\n url: '/api/audit-logging/settings/global',\r\n body: input,\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n constructor(private restService: RestService) {}\r\n}\r\n","import type {\r\n AuditLogDto,\r\n EntityChangeDto,\r\n EntityChangeFilter,\r\n EntityChangeWithUsernameDto,\r\n GetAuditLogListDto,\r\n GetAverageExecutionDurationPerDayInput,\r\n GetAverageExecutionDurationPerDayOutput,\r\n GetEntityChangesDto,\r\n GetErrorRateFilter,\r\n GetErrorRateOutput,\r\n} from './models';\r\nimport { RestService, Rest } from '@abp/ng.core';\r\nimport type { PagedResultDto } from '@abp/ng.core';\r\nimport { Injectable } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class AuditLogsService {\r\n apiName = 'AbpAuditLogging';\r\n\r\n get = (id: string, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, AuditLogDto>(\r\n {\r\n method: 'GET',\r\n url: `/api/audit-logging/audit-logs/${id}`,\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n getAverageExecutionDurationPerDay = (\r\n filter: GetAverageExecutionDurationPerDayInput,\r\n config?: Partial<Rest.Config>,\r\n ) =>\r\n this.restService.request<any, GetAverageExecutionDurationPerDayOutput>(\r\n {\r\n method: 'GET',\r\n url: '/api/audit-logging/audit-logs/statistics/average-execution-duration-per-day',\r\n params: { startDate: filter.startDate, endDate: filter.endDate },\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n getEntityChange = (entityChangeId: string, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, EntityChangeDto>(\r\n {\r\n method: 'GET',\r\n url: `/api/audit-logging/audit-logs/entity-changes/${entityChangeId}`,\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n getEntityChangeWithUsername = (entityChangeId: string, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, EntityChangeWithUsernameDto>(\r\n {\r\n method: 'GET',\r\n url: `/api/audit-logging/audit-logs/entity-change-with-username/${entityChangeId}`,\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n getEntityChanges = (input: GetEntityChangesDto, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, PagedResultDto<EntityChangeDto>>(\r\n {\r\n method: 'GET',\r\n url: '/api/audit-logging/audit-logs/entity-changes',\r\n params: {\r\n auditLogId: input.auditLogId,\r\n entityChangeType: input.entityChangeType,\r\n entityId: input.entityId,\r\n entityTypeFullName: input.entityTypeFullName,\r\n startDate: input.startDate,\r\n endDate: input.endDate,\r\n sorting: input.sorting,\r\n skipCount: input.skipCount,\r\n maxResultCount: input.maxResultCount,\r\n },\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n getEntityChangesWithUsername = (input: EntityChangeFilter, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, EntityChangeWithUsernameDto[]>(\r\n {\r\n method: 'GET',\r\n url: '/api/audit-logging/audit-logs/entity-changes-with-username',\r\n params: { entityId: input.entityId, entityTypeFullName: input.entityTypeFullName },\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n getErrorRate = (filter: GetErrorRateFilter, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, GetErrorRateOutput>(\r\n {\r\n method: 'GET',\r\n url: '/api/audit-logging/audit-logs/statistics/error-rate',\r\n params: { startDate: filter.startDate, endDate: filter.endDate },\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n getList = (input: GetAuditLogListDto, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, PagedResultDto<AuditLogDto>>(\r\n {\r\n method: 'GET',\r\n url: '/api/audit-logging/audit-logs',\r\n params: {\r\n startTime: input.startTime,\r\n endTime: input.endTime,\r\n url: input.url,\r\n clientId: input.clientId,\r\n userName: input.userName,\r\n applicationName: input.applicationName,\r\n clientIpAddress: input.clientIpAddress,\r\n correlationId: input.correlationId,\r\n httpMethod: input.httpMethod,\r\n httpStatusCode: input.httpStatusCode,\r\n maxExecutionDuration: input.maxExecutionDuration,\r\n minExecutionDuration: input.minExecutionDuration,\r\n hasException: input.hasException,\r\n sorting: input.sorting,\r\n skipCount: input.skipCount,\r\n maxResultCount: input.maxResultCount,\r\n },\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n constructor(private restService: RestService) {}\r\n}\r\n","import { mapEnumToOptions } from '@abp/ng.core';\r\n\r\nexport enum EntityChangeType {\r\n Created = 0,\r\n Updated = 1,\r\n Deleted = 2,\r\n}\r\n\r\nexport const entityChangeTypeOptions = mapEnumToOptions(EntityChangeType);\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAOa,uBAAuB,CAAA;AAyClC,IAAA,WAAA,CAAoB,WAAwB,EAAA;QAAxB,IAAW,CAAA,WAAA,GAAX,WAAW,CAAa;QAxC5C,IAAO,CAAA,OAAA,GAAG,iBAAiB,CAAC;QAE5B,IAAG,CAAA,GAAA,GAAG,CAAC,MAA6B,KAClC,IAAI,CAAC,WAAW,CAAC,OAAO,CACtB;AACE,YAAA,MAAM,EAAE,KAAK;AACb,YAAA,GAAG,EAAE,6BAA6B;SACnC,EACD,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,GAAG,MAAM,EAAE,CACrC,CAAC;QAEJ,IAAS,CAAA,SAAA,GAAG,CAAC,MAA6B,KACxC,IAAI,CAAC,WAAW,CAAC,OAAO,CACtB;AACE,YAAA,MAAM,EAAE,KAAK;AACb,YAAA,GAAG,EAAE,oCAAoC;SAC1C,EACD,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,GAAG,MAAM,EAAE,CACrC,CAAC;AAEJ,QAAA,IAAA,CAA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AA,EAAA,EAAA,IAAA,EAAA,gBAAgB,cAFf,MAAM,EAAA,CAAA,CAAA,EAAA;;4FAEP,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAH5B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA,CAAA;;;IChBW,iBAIX;AAJD,CAAA,UAAY,gBAAgB,EAAA;AAC1B,IAAA,gBAAA,CAAA,gBAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAW,CAAA;AACX,IAAA,gBAAA,CAAA,gBAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAW,CAAA;AACX,IAAA,gBAAA,CAAA,gBAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAW,CAAA;AACb,CAAC,EAJW,gBAAgB,KAAhB,gBAAgB,GAI3B,EAAA,CAAA,CAAA,CAAA;MAEY,uBAAuB,GAAG,gBAAgB,CAAC,gBAAgB;;ACRxE;;AAEG;;;;"}
@@ -135,8 +135,8 @@ class EntityChangesComponent {
135
135
  handleSubmit() {
136
136
  this.list.get();
137
137
  }
138
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: EntityChangesComponent, deps: [{ token: i1.ListService }, { token: i2.UntypedFormBuilder }, { token: i2$1.AuditLogsService }, { token: i1.TrackByService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
139
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.9", type: EntityChangesComponent, selector: "abp-entity-changes", providers: [
138
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: EntityChangesComponent, deps: [{ token: i1.ListService }, { token: i2.UntypedFormBuilder }, { token: i2$1.AuditLogsService }, { token: i1.TrackByService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
139
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.10", type: EntityChangesComponent, selector: "abp-entity-changes", providers: [
140
140
  ListService,
141
141
  {
142
142
  provide: EXTENSIONS_IDENTIFIER,
@@ -145,7 +145,7 @@ class EntityChangesComponent {
145
145
  { provide: NgbDateAdapter, useClass: DateAdapter },
146
146
  ], ngImport: i0, template: "<div class=\"card\">\r\n <div class=\"card-body pb-lg-3 px-0\">\r\n <form [formGroup]=\"form\" (ngSubmit)=\"handleSubmit()\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12 col-lg-4 col-xxl-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpAuditLogging::ChangeTime' | abpLocalization }}</label>\r\n <abp-date-range-picker\r\n formControlName=\"times\"\r\n startDateProp=\"startDate\"\r\n endDateProp=\"endDate\"\r\n >\r\n </abp-date-range-picker>\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"change-type\">{{\r\n 'AbpAuditLogging::ChangeType' | abpLocalization\r\n }}</label\r\n ><select\r\n id=\"change-type\"\r\n class=\"form-select form-control\"\r\n formControlName=\"entityChangeType\"\r\n (change)=\"handleSubmit()\"\r\n >\r\n <option [ngValue]=\"\"></option>\r\n @for (type of changeTypes; track type.key) {\r\n <option [ngValue]=\"type.value\">\r\n {{ 'AbpAuditLogging::' + type.key | abpLocalization }}\r\n </option>\r\n }\r\n </select>\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"entity-type-full-name\">{{\r\n 'AbpAuditLogging::EntityTypeFullName' | abpLocalization\r\n }}</label\r\n ><input\r\n id=\"entity-type-full-name\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n formControlName=\"entityTypeFullName\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-md-12 col-lg-2\">\r\n <div class=\"mt-3\">\r\n <div class=\"col-6 d-grid text-end\">\r\n <button type=\"submit\" class=\"btn btn-primary\">\r\n <span>\r\n {{ 'AbpAuditLogging::Refresh' | abpLocalization }}\r\n </span>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </form>\r\n </div>\r\n</div>\r\n<div class=\"card m-0\">\r\n <div class=\"card-body p-0\">\r\n <ngx-datatable default [rows]=\"data\" [count]=\"count\" [list]=\"list\">\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::Detail' | abpLocalization\"\r\n [maxWidth]=\"150\"\r\n [width]=\"150\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" let-i=\"rowIndex\" ngx-datatable-cell-template>\r\n <abp-grid-actions\r\n [index]=\"i\"\r\n [record]=\"row\"\r\n text=\"AbpAuditLogging::Actions\"\r\n ></abp-grid-actions>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::Time' | abpLocalization\"\r\n [width]=\"230\"\r\n prop=\"changeTime\"\r\n >\r\n <ng-template ngx-datatable-cell-template let-value=\"value\">\r\n {{ value | shortDateTime }}\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::ChangeType' | abpLocalization\"\r\n [width]=\"140\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n {{ 'AbpAuditLogging::' + changeType[row.changeType] | abpLocalization }}\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column name=\"TenantId\" [width]=\"150\" [sortable]=\"false\">\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <div abpEllipsis>{{ row.tenantId }}</div>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::EntityTypeFullName' | abpLocalization\"\r\n [width]=\"150\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <div abpEllipsis>{{ row.entityTypeFullName }}</div>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n </ngx-datatable>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.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: i2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i1.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }, { kind: "component", type: i4.DateRangePickerComponent, selector: "abp-date-range-picker", inputs: ["startDateProp", "endDateProp", "labelText"] }, { kind: "component", type: i5.GridActionsComponent, selector: "abp-grid-actions", inputs: ["icon", "index", "text"], exportAs: ["abpGridActions"] }, { kind: "component", type: i6.DatatableComponent, selector: "ngx-datatable", inputs: ["targetMarkerTemplate", "rows", "groupRowsBy", "groupedRows", "columns", "selected", "scrollbarV", "scrollbarH", "rowHeight", "columnMode", "headerHeight", "footerHeight", "externalPaging", "externalSorting", "limit", "count", "offset", "loadingIndicator", "selectionType", "reorderable", "swapColumns", "sortType", "sorts", "cssClasses", "messages", "rowClass", "selectCheck", "displayCheck", "groupExpansionDefault", "trackByProp", "selectAllRowsOnPage", "virtualization", "treeFromRelation", "treeToRelation", "summaryRow", "summaryHeight", "summaryPosition", "rowIdentity"], outputs: ["scroll", "activate", "select", "sort", "page", "reorder", "resize", "tableContextmenu", "treeAction"] }, { kind: "directive", type: i6.DataTableColumnDirective, selector: "ngx-datatable-column", inputs: ["name", "prop", "frozenLeft", "frozenRight", "flexGrow", "resizeable", "comparator", "pipe", "sortable", "draggable", "canAutoResize", "minWidth", "width", "maxWidth", "checkboxable", "headerCheckboxable", "headerClass", "cellClass", "isTreeColumn", "treeLevelIndent", "summaryFunc", "summaryTemplate", "cellTemplate", "headerTemplate", "treeToggleTemplate"] }, { kind: "directive", type: i6.DataTableColumnCellDirective, selector: "[ngx-datatable-cell-template]" }, { kind: "directive", type: i7.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i7.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "directive", type: i8.NgxDatatableListDirective, selector: "ngx-datatable[list]", inputs: ["list"], exportAs: ["ngxDatatableList"] }, { kind: "directive", type: i8.NgxDatatableDefaultDirective, selector: "ngx-datatable[default]", inputs: ["class"], exportAs: ["ngxDatatableDefault"] }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }, { kind: "pipe", type: i1.ShortDateTimePipe, name: "shortDateTime" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
147
147
  }
148
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: EntityChangesComponent, decorators: [{
148
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: EntityChangesComponent, decorators: [{
149
149
  type: Component,
150
150
  args: [{ selector: 'abp-entity-changes', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
151
151
  ListService,
@@ -232,8 +232,8 @@ class AuditLogsComponent {
232
232
  return '';
233
233
  }
234
234
  }
235
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AuditLogsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
236
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.9", type: AuditLogsComponent, selector: "abp-audit-logs", providers: [
235
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: AuditLogsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
236
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.10", type: AuditLogsComponent, selector: "abp-audit-logs", providers: [
237
237
  ListService,
238
238
  {
239
239
  provide: EXTENSIONS_IDENTIFIER,
@@ -242,7 +242,7 @@ class AuditLogsComponent {
242
242
  { provide: NgbDateAdapter, useClass: DateAdapter },
243
243
  ], ngImport: i0, template: "<div id=\"wrapper\">\r\n <abp-page [title]=\"'AbpAuditLogging::AuditLogs' | abpLocalization\" [toolbar]=\"data.items\">\r\n <ul class=\"nav nav-tabs\">\r\n <li class=\"nav-item\">\r\n <a\r\n class=\"nav-link pointer\"\r\n [class.active]=\"selectedTab === 'audit-logs'\"\r\n (click)=\"selectedTab = 'audit-logs'\"\r\n >{{ 'AbpAuditLogging::AuditLogs' | abpLocalization }}</a\r\n >\r\n </li>\r\n <li class=\"nav-item\">\r\n <a\r\n class=\"nav-link pointer\"\r\n [class.active]=\"selectedTab === 'entity-changes'\"\r\n (click)=\"selectedTab = 'entity-changes'\"\r\n >{{ 'AbpAuditLogging::EntityChanges' | abpLocalization }}</a\r\n >\r\n </li>\r\n </ul>\r\n <div class=\"tab-content\" [class.p-0]=\"selectedTab !== 'audit-logs'\">\r\n <div class=\"tab-pane\" [class.active]=\"selectedTab === 'audit-logs'\" [@fadeIn]=\"selectedTab\">\r\n <div class=\"card mb-0\">\r\n <div class=\"card-body pb-lg-3 px-0\">\r\n <form (keyup.enter)=\"list.get()\">\r\n <div class=\"row\">\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{\r\n 'AbpAuditLogging::StartDate' | abpLocalization\r\n }}</label>\r\n <abp-datetime-picker\r\n [(ngModel)]=\"pageQuery.startTime\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n ></abp-datetime-picker>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{\r\n 'AbpAuditLogging::EndDate' | abpLocalization\r\n }}</label>\r\n <abp-datetime-picker\r\n [(ngModel)]=\"pageQuery.endTime\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n ></abp-datetime-picker>\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3\">\r\n <label for=\"userName\" class=\"form-label\">{{\r\n 'AbpAuditLogging::UserName' | abpLocalization\r\n }}</label\r\n ><input\r\n id=\"userName\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"pageQuery.userName\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"url\">{{\r\n 'AbpAuditLogging::Url' | abpLocalization\r\n }}</label\r\n ><input\r\n id=\"url\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"pageQuery.url\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3\">\r\n <label for=\"minDuration\" class=\"form-label\">{{\r\n 'AbpAuditLogging::MinMaxDuration' | abpLocalization\r\n }}</label>\r\n <div class=\"input-group\">\r\n <input\r\n id=\"minDuration\"\r\n type=\"number\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"pageQuery.minExecutionDuration\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n <span class=\"input-group-text px-1\">-</span>\r\n <input\r\n id=\"maxDuration\"\r\n type=\"number\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"pageQuery.maxExecutionDuration\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3\">\r\n <label for=\"httpMethod\" class=\"form-label\">{{\r\n 'AbpAuditLogging::HttpMethod' | abpLocalization\r\n }}</label\r\n ><select\r\n id=\"httpMethod\"\r\n class=\"form-select form-control\"\r\n [(ngModel)]=\"pageQuery.httpMethod\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n (change)=\"list.get()\"\r\n >\r\n <option [ngValue]=\"null\">-</option>\r\n @for (method of httpMethods; track $index) {\r\n <option [ngValue]=\"method\">\r\n {{ method }}\r\n </option>\r\n }\r\n </select>\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3\">\r\n <label for=\"httpStatusCode\" class=\"form-label\">{{\r\n 'AbpAuditLogging::HttpStatusCode' | abpLocalization\r\n }}</label\r\n ><select\r\n id=\"httpStatusCode\"\r\n class=\"form-select form-control\"\r\n [(ngModel)]=\"pageQuery.httpStatusCode\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n (change)=\"list.get()\"\r\n >\r\n <option [ngValue]=\"null\">-</option>\r\n @for (h of httpStatusCodes; track $index) {\r\n <option [ngValue]=\"h.code\">{{ h.code }} - {{ h.message }}</option>\r\n }\r\n </select>\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3 mb-lg-0\">\r\n <label for=\"applicationName\" class=\"form-label\">{{\r\n 'AbpAuditLogging::ApplicationName' | abpLocalization\r\n }}</label\r\n ><input\r\n id=\"applicationName\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"pageQuery.applicationName\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3 mb-lg-0\">\r\n <label for=\"correlationId\" class=\"form-label\">{{\r\n 'AbpAuditLogging::ClientIpAddress' | abpLocalization\r\n }}</label\r\n ><input\r\n id=\"clientIpAddress\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"pageQuery.clientIpAddress\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3 mb-lg-0\">\r\n <label for=\"correlationId\" class=\"form-label\">{{\r\n 'AbpAuditLogging::CorrelationId' | abpLocalization\r\n }}</label\r\n ><input\r\n id=\"correlationId\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"pageQuery.correlationId\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3 mb-lg-0\">\r\n <label for=\"hasException\" class=\"form-label\">{{\r\n 'AbpAuditLogging::HasException' | abpLocalization\r\n }}</label>\r\n <select\r\n name=\"hasException\"\r\n id=\"hasException\"\r\n class=\"form-select form-control\"\r\n [(ngModel)]=\"pageQuery.hasException\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n (change)=\"list.get()\"\r\n >\r\n <option [ngValue]=\"null\">-</option>\r\n <option [ngValue]=\"true\">\r\n {{ 'AbpAuditLogging::Yes' | abpLocalization }}\r\n </option>\r\n <option [ngValue]=\"false\">\r\n {{ 'AbpAuditLogging::No' | abpLocalization }}\r\n </option>\r\n </select>\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mt-3 mb-lg-0 d-grid\">\r\n <button type=\"button\" class=\"btn btn-primary\" (click)=\"list.get()\">\r\n <span>\r\n {{ 'AbpAuditLogging::Refresh' | abpLocalization }}\r\n </span>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </form>\r\n </div>\r\n </div>\r\n <div class=\"card mb-0\">\r\n <div class=\"card-body p-0\">\r\n <abp-extensible-table\r\n [data]=\"data.items\"\r\n [recordsTotal]=\"data.totalCount\"\r\n [list]=\"list\"\r\n ></abp-extensible-table>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"tab-content\" [class.p-0]=\"selectedTab !== 'entity-changes'\">\r\n <div\r\n class=\"tab-pane\"\r\n [class.active]=\"selectedTab === 'entity-changes'\"\r\n [@fadeIn]=\"selectedTab\"\r\n >\r\n @if (selectedTab === 'entity-changes') {\r\n <abp-entity-changes></abp-entity-changes>\r\n }\r\n </div>\r\n </div>\r\n </abp-page>\r\n</div>\r\n\r\n@if (selected) {\r\n <abp-modal [(visible)]=\"modalVisible\" [options]=\"{ size: 'lg' }\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">\r\n {{ 'AbpAuditLogging::Detail' | abpLocalization }}\r\n </h5>\r\n </ng-template>\r\n <ng-template #abpBody>\r\n <ul ngbNav #nav=\"ngbNav\" class=\"nav-tabs\">\r\n <li ngbNavItem>\r\n <a ngbNavLink>{{ 'AbpAuditLogging::Overall' | abpLocalization }}</a>\r\n <ng-template ngbNavContent>\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::HttpStatusCode' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n <span class=\"badge\" [ngClass]=\"httpCodeClass(selected.httpStatusCode)\">{{\r\n selected.httpStatusCode\r\n }}</span>\r\n </div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::HttpMethod' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n <span class=\"badge\" [ngClass]=\"httpMethodClass(selected.httpMethod)\">{{\r\n selected.httpMethod\r\n }}</span>\r\n </div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::Url' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.url }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::ClientIpAddress' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.clientIpAddress }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::ClientName' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.clientName }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::Exceptions' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n @if (selected.exceptions) {\r\n <pre lang=\"c-sharp\">\r\n {{ selected.exceptions }}\r\n </pre>\r\n }\r\n </div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::UserName' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.userName }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n @if (selected.impersonatorTenantId) {\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::TenantImpersonator' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n {{ selected.impersonatorTenantName || selected.impersonatorTenantId }}\r\n </div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n }\r\n @if (selected.impersonatorUserId) {\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::UserImpersonator' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n @if (selected.impersonatorUserName) {\r\n {{ selected.impersonatorUserName }} ({{ selected.impersonatorUserId }})\r\n } @else {\r\n {{ selected.impersonatorUserId }}\r\n }\r\n </div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n }\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::Time' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n {{ selected.executionTime | shortDateTime }}\r\n </div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::Duration' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.executionDuration }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::BrowserInfo' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.browserInfo }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::ApplicationName' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.applicationName }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::CorrelationId' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.correlationId }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::Comments' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.comments }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::ExtraProperties' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n <pre lang=\"json\" class=\"p-2\">\r\n {{ selected.extraProperties | json }}\r\n </pre>\r\n </div>\r\n </div>\r\n </ng-template>\r\n </li>\r\n <li ngbNavItem>\r\n <a ngbNavLink\r\n >{{ 'AbpAuditLogging::Actions' | abpLocalization }} ({{ selected.actions.length }})</a\r\n >\r\n <ng-template ngbNavContent>\r\n @for (action of selected.actions; track $index; let i = $index) {\r\n <div class=\"mb-3 border border-dark rounded\">\r\n <div class=\"d-grid\">\r\n <button\r\n class=\"btn btn-primary d-flex justify-content-between text-break\"\r\n type=\"button\"\r\n (click)=\"collapseActionStates[i] = !collapseActionStates[i]\"\r\n >\r\n {{ action.serviceName }} - {{ action.methodName }}\r\n <i\r\n class=\"fa align-self-center\"\r\n [ngClass]=\"collapseActionStates[i] ? 'fa-chevron-up' : 'fa-chevron-down'\"\r\n ></i>\r\n </button>\r\n </div>\r\n <div [@collapse]=\"collapseActionStates[i] ? 'expanded' : 'collapsed'\">\r\n <div class=\"m-3\">\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::Duration' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n {{ action.executionDuration ? action.executionDuration + ' ms' : '' }}\r\n </div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::Parameters' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n <pre lang=\"json\" class=\"p-2\">{{ action.parameters }}</pre>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n }\r\n </ng-template>\r\n </li>\r\n </ul>\r\n <div [ngbNavOutlet]=\"nav\"></div>\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}\r\n", dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.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: i2.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: i5.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], outputs: ["tableActivate"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: i8.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i8.ModalCloseDirective, selector: "[abpClose]" }, { kind: "directive", type: i5$1.NgbNavContent, selector: "ng-template[ngbNavContent]" }, { kind: "directive", type: i5$1.NgbNav, selector: "[ngbNav]", inputs: ["activeId", "animation", "destroyOnHide", "orientation", "roles", "keyboard"], outputs: ["activeIdChange", "shown", "hidden", "navChange"], exportAs: ["ngbNav"] }, { kind: "directive", type: i5$1.NgbNavItem, selector: "[ngbNavItem]", inputs: ["destroyOnHide", "disabled", "domId", "ngbNavItem"], outputs: ["shown", "hidden"], exportAs: ["ngbNavItem"] }, { kind: "directive", type: i5$1.NgbNavItemRole, selector: "[ngbNavItem]:not(ng-container)" }, { kind: "directive", type: i5$1.NgbNavLink, selector: "a[ngbNavLink]" }, { kind: "directive", type: i5$1.NgbNavLinkBase, selector: "[ngbNavLink]" }, { kind: "component", type: i5$1.NgbNavOutlet, selector: "[ngbNavOutlet]", inputs: ["paneRole", "ngbNavOutlet"] }, { kind: "component", type: i6$1.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "component", type: i4.DatetimePickerComponent, selector: "abp-datetime-picker" }, { kind: "component", type: EntityChangesComponent, selector: "abp-entity-changes" }, { kind: "pipe", type: i1$1.JsonPipe, name: "json" }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }, { kind: "pipe", type: i1.ShortDateTimePipe, name: "shortDateTime" }], animations: [collapse, trigger('fadeIn', [transition('* <=> *', useAnimation(fadeIn))])] }); }
244
244
  }
245
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AuditLogsComponent, decorators: [{
245
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: AuditLogsComponent, decorators: [{
246
246
  type: Component,
247
247
  args: [{ selector: 'abp-audit-logs', animations: [collapse, trigger('fadeIn', [transition('* <=> *', useAnimation(fadeIn))])], providers: [
248
248
  ListService,
@@ -264,10 +264,10 @@ class AuditLoggingGuard {
264
264
  canActivate() {
265
265
  return this.auditLoggingFeatures.pipe(map(features => features.enable));
266
266
  }
267
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AuditLoggingGuard, deps: [{ token: AUDIT_LOGGING_FEATURES }], target: i0.ɵɵFactoryTarget.Injectable }); }
268
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AuditLoggingGuard }); }
267
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: AuditLoggingGuard, deps: [{ token: AUDIT_LOGGING_FEATURES }], target: i0.ɵɵFactoryTarget.Injectable }); }
268
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: AuditLoggingGuard }); }
269
269
  }
270
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AuditLoggingGuard, decorators: [{
270
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: AuditLoggingGuard, decorators: [{
271
271
  type: Injectable
272
272
  }], ctorParameters: () => [{ type: i1$2.Observable, decorators: [{
273
273
  type: Inject,
@@ -419,11 +419,11 @@ const routes = [
419
419
  },
420
420
  ];
421
421
  class AuditLoggingRoutingModule {
422
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AuditLoggingRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
423
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: AuditLoggingRoutingModule, imports: [i1$3.RouterModule], exports: [RouterModule] }); }
424
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AuditLoggingRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] }); }
422
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: AuditLoggingRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
423
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: AuditLoggingRoutingModule, imports: [i1$3.RouterModule], exports: [RouterModule] }); }
424
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: AuditLoggingRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] }); }
425
425
  }
426
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AuditLoggingRoutingModule, decorators: [{
426
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: AuditLoggingRoutingModule, decorators: [{
427
427
  type: NgModule,
428
428
  args: [{
429
429
  imports: [RouterModule.forChild(routes)],
@@ -473,8 +473,8 @@ class AverageExecutionDurationWidgetComponent {
473
473
  this.chart.refresh();
474
474
  }, 0);
475
475
  }
476
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AverageExecutionDurationWidgetComponent, deps: [{ token: i1.LocalizationService }, { token: i1.PermissionService }, { token: i2$1.AuditLogsService }], target: i0.ɵɵFactoryTarget.Component }); }
477
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: AverageExecutionDurationWidgetComponent, selector: "abp-average-execution-duration-widget", inputs: { width: "width", height: "height" }, outputs: { initialized: "initialized" }, viewQueries: [{ propertyName: "chart", first: true, predicate: ChartComponent, descendants: true }], ngImport: i0, template: `
476
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: AverageExecutionDurationWidgetComponent, deps: [{ token: i1.LocalizationService }, { token: i1.PermissionService }, { token: i2$1.AuditLogsService }], target: i0.ɵɵFactoryTarget.Component }); }
477
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: AverageExecutionDurationWidgetComponent, selector: "abp-average-execution-duration-widget", inputs: { width: "width", height: "height" }, outputs: { initialized: "initialized" }, viewQueries: [{ propertyName: "chart", first: true, predicate: ChartComponent, descendants: true }], ngImport: i0, template: `
478
478
  <div *abpPermission="'AuditLogging.AuditLogs'" class="abp-widget-wrapper">
479
479
  <div class="card">
480
480
  <div class="card-header">
@@ -498,7 +498,7 @@ class AverageExecutionDurationWidgetComponent {
498
498
  </div>
499
499
  `, isInline: true, dependencies: [{ kind: "directive", type: i1.PermissionDirective, selector: "[abpPermission]", inputs: ["abpPermission", "abpPermissionRunChangeDetection"] }, { kind: "component", type: i3.ChartComponent, selector: "abp-chart", inputs: ["type", "data", "options", "plugins", "width", "height", "responsive"], outputs: ["dataSelect", "initialized"], exportAs: ["abpChart"] }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }] }); }
500
500
  }
501
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AverageExecutionDurationWidgetComponent, decorators: [{
501
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: AverageExecutionDurationWidgetComponent, decorators: [{
502
502
  type: Component,
503
503
  args: [{
504
504
  selector: 'abp-average-execution-duration-widget',
@@ -580,8 +580,8 @@ class ErrorRateWidgetComponent {
580
580
  this.chart.refresh();
581
581
  }, 0);
582
582
  }
583
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ErrorRateWidgetComponent, deps: [{ token: i1.PermissionService }, { token: i2$1.AuditLogsService }], target: i0.ɵɵFactoryTarget.Component }); }
584
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.9", type: ErrorRateWidgetComponent, selector: "abp-error-rate-widget", inputs: { width: "width", height: "height" }, outputs: { initialized: "initialized" }, viewQueries: [{ propertyName: "chart", first: true, predicate: ChartComponent, descendants: true }], ngImport: i0, template: `
583
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ErrorRateWidgetComponent, deps: [{ token: i1.PermissionService }, { token: i2$1.AuditLogsService }], target: i0.ɵɵFactoryTarget.Component }); }
584
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: ErrorRateWidgetComponent, selector: "abp-error-rate-widget", inputs: { width: "width", height: "height" }, outputs: { initialized: "initialized" }, viewQueries: [{ propertyName: "chart", first: true, predicate: ChartComponent, descendants: true }], ngImport: i0, template: `
585
585
  <div *abpPermission="'AuditLogging.AuditLogs'" class="abp-widget-wrapper">
586
586
  <div class="card">
587
587
  <div class="card-header">
@@ -605,7 +605,7 @@ class ErrorRateWidgetComponent {
605
605
  </div>
606
606
  `, isInline: true, dependencies: [{ kind: "directive", type: i1.PermissionDirective, selector: "[abpPermission]", inputs: ["abpPermission", "abpPermissionRunChangeDetection"] }, { kind: "component", type: i3.ChartComponent, selector: "abp-chart", inputs: ["type", "data", "options", "plugins", "width", "height", "responsive"], outputs: ["dataSelect", "initialized"], exportAs: ["abpChart"] }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }] }); }
607
607
  }
608
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: ErrorRateWidgetComponent, decorators: [{
608
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ErrorRateWidgetComponent, decorators: [{
609
609
  type: Component,
610
610
  args: [{
611
611
  selector: 'abp-error-rate-widget',
@@ -667,8 +667,8 @@ class AuditLoggingModule {
667
667
  static forLazy(options = {}) {
668
668
  return new LazyModuleFactory(AuditLoggingModule.forChild(options));
669
669
  }
670
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AuditLoggingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
671
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.9", ngImport: i0, type: AuditLoggingModule, declarations: [AuditLogsComponent,
670
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: AuditLoggingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
671
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.10", ngImport: i0, type: AuditLoggingModule, declarations: [AuditLogsComponent,
672
672
  EntityChangesComponent,
673
673
  ErrorRateWidgetComponent,
674
674
  AverageExecutionDurationWidgetComponent], imports: [AuditLoggingRoutingModule,
@@ -683,7 +683,7 @@ class AuditLoggingModule {
683
683
  EntityChangesComponent,
684
684
  ErrorRateWidgetComponent,
685
685
  AverageExecutionDurationWidgetComponent] }); }
686
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AuditLoggingModule, imports: [AuditLoggingRoutingModule,
686
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: AuditLoggingModule, imports: [AuditLoggingRoutingModule,
687
687
  CoreModule,
688
688
  CommercialUiModule,
689
689
  ThemeSharedModule,
@@ -693,7 +693,7 @@ class AuditLoggingModule {
693
693
  ChartModule,
694
694
  DatetimePickerComponent] }); }
695
695
  }
696
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AuditLoggingModule, decorators: [{
696
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: AuditLoggingModule, decorators: [{
697
697
  type: NgModule,
698
698
  args: [{
699
699
  declarations: [
@@ -750,10 +750,10 @@ class AuditLoggingExtensionsGuard {
750
750
  mergeWithDefaultProps(extensions.entityProps, DEFAULT_AUDIT_LOGGING_ENTITY_PROPS, objectExtensionContributors.prop, propContributors);
751
751
  }), map(() => true));
752
752
  }
753
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AuditLoggingExtensionsGuard, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
754
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AuditLoggingExtensionsGuard }); }
753
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: AuditLoggingExtensionsGuard, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
754
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: AuditLoggingExtensionsGuard }); }
755
755
  }
756
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.9", ngImport: i0, type: AuditLoggingExtensionsGuard, decorators: [{
756
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: AuditLoggingExtensionsGuard, decorators: [{
757
757
  type: Injectable
758
758
  }], ctorParameters: () => [{ type: i0.Injector }] });
759
759