@volo/abp.ng.audit-logging 10.3.0-rc.2 → 10.4.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -53,10 +53,10 @@ class EntityChangeDetailsComponent {
53
53
  const changeTypeLocalized = this.localization.instant('AbpAuditLogging::' + this.changeType);
54
54
  return [changeTypeLocalized, timeAgo, this.userName];
55
55
  }
56
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: EntityChangeDetailsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
57
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: EntityChangeDetailsComponent, isStandalone: true, selector: "abp-entity-change-details", inputs: { itemWithUserName: { classPropertyName: "itemWithUserName", publicName: "itemWithUserName", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (getEntityChangeTimeParams(); as timeParameters) {\r\n <table class=\"table\" style=\"width: 100%; table-layout: fixed\">\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 @if (entityChange.propertyChanges.length) {\r\n <tr class=\"table-active\">\r\n <td colspan=\"3\">\r\n <span class=\"text-muted\" [ngbTooltip]=\"entityChange.changeTime | shortDateTime\">\r\n @if (this.userName) {\r\n {{ 'AbpAuditLogging::DaysAgoWithUserTitle' | abpLocalization: timeParameters }}\r\n } @else {\r\n {{ 'AbpAuditLogging::DaysAgoTitle' | abpLocalization: timeParameters }}\r\n }\r\n </span>\r\n </td>\r\n </tr>\r\n @for (prop of entityChange.propertyChanges; track prop.id) {\r\n <tr>\r\n <td>{{ prop.propertyName }}</td>\r\n <td>\r\n <pre lang=\"json\">{{ prop.originalValue }}</pre>\r\n </td>\r\n <td>\r\n <pre lang=\"json\" [style.color]=\"getPropColor(prop)\">{{ prop.newValue }}</pre>\r\n </td>\r\n </tr>\r\n }\r\n } @else {\r\n <tr>\r\n <td colspan=\"3\">{{ 'AbpUi::NoDataAvailableInDatatable' | abpLocalization }}</td>\r\n </tr>\r\n }\r\n </tbody>\r\n </table>\r\n}\r\n", styles: ["th,td{text-align:left;padding:10px;word-wrap:break-word}td pre{white-space:break-spaces;background:inherit}\n"], dependencies: [{ kind: "ngmodule", type: NgbTooltipModule }, { kind: "directive", type: i1.NgbTooltip, selector: "[ngbTooltip]", inputs: ["animation", "autoClose", "placement", "popperOptions", "triggers", "positionTarget", "container", "disableTooltip", "tooltipClass", "tooltipContext", "openDelay", "closeDelay", "ngbTooltip"], outputs: ["shown", "hidden"], exportAs: ["ngbTooltip"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }, { kind: "pipe", type: ShortDateTimePipe, name: "shortDateTime" }] }); }
56
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: EntityChangeDetailsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
57
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.10", type: EntityChangeDetailsComponent, isStandalone: true, selector: "abp-entity-change-details", inputs: { itemWithUserName: { classPropertyName: "itemWithUserName", publicName: "itemWithUserName", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (getEntityChangeTimeParams(); as timeParameters) {\r\n <table class=\"table\" style=\"width: 100%; table-layout: fixed\">\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 @if (entityChange.propertyChanges.length) {\r\n <tr class=\"table-active\">\r\n <td colspan=\"3\">\r\n <span class=\"text-muted\" [ngbTooltip]=\"entityChange.changeTime | shortDateTime\">\r\n @if (this.userName) {\r\n {{ 'AbpAuditLogging::DaysAgoWithUserTitle' | abpLocalization: timeParameters }}\r\n } @else {\r\n {{ 'AbpAuditLogging::DaysAgoTitle' | abpLocalization: timeParameters }}\r\n }\r\n </span>\r\n </td>\r\n </tr>\r\n @for (prop of entityChange.propertyChanges; track prop.id) {\r\n <tr>\r\n <td>{{ prop.propertyName }}</td>\r\n <td>\r\n <pre lang=\"json\">{{ prop.originalValue }}</pre>\r\n </td>\r\n <td>\r\n <pre lang=\"json\" [style.color]=\"getPropColor(prop)\">{{ prop.newValue }}</pre>\r\n </td>\r\n </tr>\r\n }\r\n } @else {\r\n <tr>\r\n <td colspan=\"3\">{{ 'AbpUi::NoDataAvailableInDatatable' | abpLocalization }}</td>\r\n </tr>\r\n }\r\n </tbody>\r\n </table>\r\n}\r\n", styles: ["th,td{text-align:left;padding:10px;word-wrap:break-word}td pre{white-space:break-spaces;background:inherit}\n"], dependencies: [{ kind: "ngmodule", type: NgbTooltipModule }, { kind: "directive", type: i1.NgbTooltip, selector: "[ngbTooltip]", inputs: ["animation", "autoClose", "placement", "popperOptions", "triggers", "positionTarget", "container", "disableTooltip", "tooltipClass", "tooltipContext", "openDelay", "closeDelay", "ngbTooltip"], outputs: ["shown", "hidden"], exportAs: ["ngbTooltip"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }, { kind: "pipe", type: ShortDateTimePipe, name: "shortDateTime" }] }); }
58
58
  }
59
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: EntityChangeDetailsComponent, decorators: [{
59
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: EntityChangeDetailsComponent, decorators: [{
60
60
  type: Component,
61
61
  args: [{ selector: 'abp-entity-change-details', imports: [NgbTooltipModule, LocalizationPipe, ShortDateTimePipe], template: "@if (getEntityChangeTimeParams(); as timeParameters) {\r\n <table class=\"table\" style=\"width: 100%; table-layout: fixed\">\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 @if (entityChange.propertyChanges.length) {\r\n <tr class=\"table-active\">\r\n <td colspan=\"3\">\r\n <span class=\"text-muted\" [ngbTooltip]=\"entityChange.changeTime | shortDateTime\">\r\n @if (this.userName) {\r\n {{ 'AbpAuditLogging::DaysAgoWithUserTitle' | abpLocalization: timeParameters }}\r\n } @else {\r\n {{ 'AbpAuditLogging::DaysAgoTitle' | abpLocalization: timeParameters }}\r\n }\r\n </span>\r\n </td>\r\n </tr>\r\n @for (prop of entityChange.propertyChanges; track prop.id) {\r\n <tr>\r\n <td>{{ prop.propertyName }}</td>\r\n <td>\r\n <pre lang=\"json\">{{ prop.originalValue }}</pre>\r\n </td>\r\n <td>\r\n <pre lang=\"json\" [style.color]=\"getPropColor(prop)\">{{ prop.newValue }}</pre>\r\n </td>\r\n </tr>\r\n }\r\n } @else {\r\n <tr>\r\n <td colspan=\"3\">{{ 'AbpUi::NoDataAvailableInDatatable' | abpLocalization }}</td>\r\n </tr>\r\n }\r\n </tbody>\r\n </table>\r\n}\r\n", styles: ["th,td{text-align:left;padding:10px;word-wrap:break-word}td pre{white-space:break-spaces;background:inherit}\n"] }]
62
62
  }], ctorParameters: () => [], propDecorators: { itemWithUserName: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemWithUserName", required: false }] }] } });
@@ -1 +1 @@
1
- {"version":3,"file":"volo-abp.ng.audit-logging-common.mjs","sources":["../../../../packages/audit-logging/common/src/components/entity-change-details/entity-change-details.component.ts","../../../../packages/audit-logging/common/src/components/entity-change-details/entity-change-details.component.html","../../../../packages/audit-logging/common/src/tokens/features.token.ts","../../../../packages/audit-logging/common/src/utils/export-utils.ts","../../../../packages/audit-logging/common/src/volo-abp.ng.audit-logging-common.ts"],"sourcesContent":["import { Component, effect, inject, input } from '@angular/core';\r\nimport { NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { LocalizationPipe, LocalizationService, ShortDateTimePipe } from '@abp/ng.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 imports: [NgbTooltipModule, LocalizationPipe, ShortDateTimePipe],\r\n styles: [\r\n `\r\n th,\r\n td {\r\n text-align: left;\r\n padding: 10px;\r\n word-wrap: break-word;\r\n }\r\n\r\n td pre {\r\n white-space: break-spaces;\r\n background: inherit;\r\n }\r\n `,\r\n ],\r\n})\r\nexport class EntityChangeDetailsComponent {\r\n readonly itemWithUserName = input<EntityChangeWithUsernameDto>(undefined);\r\n\r\n public readonly localization = inject(LocalizationService);\r\n\r\n entityChange: EntityChangeDto;\r\n\r\n userName: string;\r\n\r\n changeType: string;\r\n\r\n constructor() {\r\n effect(() => {\r\n const item = this.itemWithUserName();\r\n if (!item) {\r\n return;\r\n }\r\n\r\n this.changeType = EntityChangeType[item.entityChange.changeType];\r\n this.userName = item.userName;\r\n this.entityChange = item.entityChange;\r\n });\r\n }\r\n\r\n getPropColor(propertyChange: EntityPropertyChangeDto) {\r\n if (!this.entityChange || this.entityChange.changeType !== EntityChangeType.Updated) {\r\n return;\r\n }\r\n const { originalValue, newValue } = propertyChange;\r\n return newValue !== originalValue ? 'red' : undefined;\r\n }\r\n\r\n getEntityChangeTimeParams() {\r\n if (!this.entityChange || !this.entityChange.changeTime) {\r\n return;\r\n }\r\n\r\n const now = new Date();\r\n const changeDate = new Date(this.entityChange.changeTime);\r\n const timeDifference = now.getTime() - changeDate.getTime();\r\n\r\n const diffInMinutes = Math.floor(timeDifference / (1000 * 60));\r\n const diffInHours = Math.floor(diffInMinutes / 60);\r\n const diffInDays = Math.floor(diffInHours / 24);\r\n\r\n let timeAgo: string;\r\n if (diffInDays > 0) {\r\n timeAgo = this.localization.instant('AbpAuditLogging::DaysAgo', diffInDays.toString());\r\n } else if (diffInHours > 0) {\r\n timeAgo = this.localization.instant('AbpAuditLogging::HoursAgo', diffInHours.toString());\r\n } else {\r\n timeAgo = this.localization.instant('AbpAuditLogging::MinutesAgo', diffInMinutes.toString());\r\n }\r\n\r\n const changeTypeLocalized = this.localization.instant('AbpAuditLogging::' + this.changeType);\r\n\r\n return [changeTypeLocalized, timeAgo, this.userName];\r\n }\r\n}\r\n","@if (getEntityChangeTimeParams(); as timeParameters) {\r\n <table class=\"table\" style=\"width: 100%; table-layout: fixed\">\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 @if (entityChange.propertyChanges.length) {\r\n <tr class=\"table-active\">\r\n <td colspan=\"3\">\r\n <span class=\"text-muted\" [ngbTooltip]=\"entityChange.changeTime | shortDateTime\">\r\n @if (this.userName) {\r\n {{ 'AbpAuditLogging::DaysAgoWithUserTitle' | abpLocalization: timeParameters }}\r\n } @else {\r\n {{ 'AbpAuditLogging::DaysAgoTitle' | abpLocalization: timeParameters }}\r\n }\r\n </span>\r\n </td>\r\n </tr>\r\n @for (prop of entityChange.propertyChanges; track prop.id) {\r\n <tr>\r\n <td>{{ prop.propertyName }}</td>\r\n <td>\r\n <pre lang=\"json\">{{ prop.originalValue }}</pre>\r\n </td>\r\n <td>\r\n <pre lang=\"json\" [style.color]=\"getPropColor(prop)\">{{ prop.newValue }}</pre>\r\n </td>\r\n </tr>\r\n }\r\n } @else {\r\n <tr>\r\n <td colspan=\"3\">{{ 'AbpUi::NoDataAvailableInDatatable' | abpLocalization }}</td>\r\n </tr>\r\n }\r\n </tbody>\r\n </table>\r\n}\r\n","import { ConfigStateService, featuresFactory, RoutesService } from '@abp/ng.core';\r\nimport { inject, InjectionToken, provideAppInitializer } from '@angular/core';\r\nimport { ModuleVisibility, setModuleVisibilityFactory } from '@volo/abp.commercial.ng.ui/config';\r\nimport { Observable } from 'rxjs';\r\nimport { eAuditLoggingRouteNames } from '../enums/route-names';\r\n\r\nexport const AUDIT_LOGGING_FEATURES = new InjectionToken<Observable<ModuleVisibility>>(\r\n 'AUDIT_LOGGING_FEATURES',\r\n {\r\n providedIn: 'root',\r\n factory: () => {\r\n const configState = inject(ConfigStateService);\r\n const featureKey = 'AuditLogging.Enable';\r\n const mapFn = features => ({\r\n enable: features[featureKey].toLowerCase() !== 'false',\r\n });\r\n\r\n return featuresFactory(configState, [featureKey], mapFn);\r\n },\r\n },\r\n);\r\n\r\nexport const SET_AUDIT_LOGGING_ROUTE_VISIBILITY = new InjectionToken(\r\n 'SET_AUDIT_LOGGING_ROUTE_VISIBILITY',\r\n {\r\n providedIn: 'root',\r\n factory: () => {\r\n const routes = inject(RoutesService);\r\n const stream = inject(AUDIT_LOGGING_FEATURES);\r\n\r\n setModuleVisibilityFactory(stream, routes, eAuditLoggingRouteNames.AuditLogging).subscribe();\r\n },\r\n },\r\n);\r\n\r\nexport const AUDIT_LOGGING_FEATURES_PROVIDERS = [\r\n provideAppInitializer(() => {\r\n inject(SET_AUDIT_LOGGING_ROUTE_VISIBILITY);\r\n }),\r\n];\r\n","import { DestroyRef, Injector } from '@angular/core';\r\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\r\nimport { Observable, of, switchMap, tap } from 'rxjs';\r\nimport { AbpWindowService } from '@abp/ng.core';\r\nimport { ToasterService } from '@abp/ng.theme.shared';\r\nimport { ExportAuditLogsOutput, ExportEntityChangesOutput } from '@volo/abp.ng.audit-logging/proxy';\r\n\r\nexport function handleExcelExport(\r\n exportObservable: Observable<ExportAuditLogsOutput | ExportEntityChangesOutput>,\r\n injector: Injector,\r\n): void {\r\n const abpWindowService = injector.get(AbpWindowService);\r\n const toasterService = injector.get(ToasterService);\r\n const destroyRef = injector.get(DestroyRef);\r\n\r\n if (!abpWindowService || !toasterService) {\r\n toasterService.error('AbpAuditLogging::ExportFailed');\r\n return;\r\n }\r\n\r\n exportObservable\r\n .pipe(\r\n switchMap((file: ExportAuditLogsOutput | ExportEntityChangesOutput) => {\r\n const binaryString = atob(String(file.fileData));\r\n const byteArray = Uint8Array.from(binaryString, char => char.charCodeAt(0));\r\n\r\n const blob = new Blob([byteArray], {\r\n type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',\r\n });\r\n\r\n return of({\r\n blob,\r\n fileName: file.fileName,\r\n isBackgroundJob: file.isBackgroundJob,\r\n message: file.message,\r\n });\r\n }),\r\n tap(({ blob, fileName, isBackgroundJob, message }) => {\r\n if (isBackgroundJob) {\r\n toasterService.info(message);\r\n return;\r\n }\r\n try {\r\n abpWindowService.downloadBlob(blob, fileName);\r\n toasterService.success('AbpAuditLogging::ExportCompleted');\r\n } catch (error) {\r\n toasterService.error('AbpAuditLogging::ExportFailed');\r\n console.error('Download failed:', error);\r\n }\r\n }),\r\n takeUntilDestroyed(destroyRef),\r\n )\r\n .subscribe();\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;MA8Ba,4BAA4B,CAAA;AAWvC,IAAA,WAAA,GAAA;AAVS,QAAA,IAAA,CAAA,gBAAgB,GAAG,KAAK,CAA8B,SAAS,uFAAC;AAEzD,QAAA,IAAA,CAAA,YAAY,GAAG,MAAM,CAAC,mBAAmB,CAAC;QASxD,MAAM,CAAC,MAAK;AACV,YAAA,MAAM,IAAI,GAAG,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AAC;AAC7C,YAAA,cAAc,CAAC,OAAO,CAAC,kCAAkC,CAAC;QAC5D;QAAE,OAAO,KAAK,EAAE;AACd,YAAA,cAAc,CAAC,KAAK,CAAC,+BAA+B,CAAC;AACrD,YAAA,OAAO,CAAC,KAAK,CAAC,kBAAkB,EAAE,KAAK,CAAC;QAC1C;AACF,IAAA,CAAC,CAAC,EACF,kBAAkB,CAAC,UAAU,CAAC;AAE/B,SAAA,SAAS,EAAE;AAChB;;ACrDA;;AAEG;;;;"}
1
+ {"version":3,"file":"volo-abp.ng.audit-logging-common.mjs","sources":["../../../../packages/audit-logging/common/src/components/entity-change-details/entity-change-details.component.ts","../../../../packages/audit-logging/common/src/components/entity-change-details/entity-change-details.component.html","../../../../packages/audit-logging/common/src/tokens/features.token.ts","../../../../packages/audit-logging/common/src/utils/export-utils.ts","../../../../packages/audit-logging/common/src/volo-abp.ng.audit-logging-common.ts"],"sourcesContent":["import { Component, effect, inject, input } from '@angular/core';\r\nimport { NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { LocalizationPipe, LocalizationService, ShortDateTimePipe } from '@abp/ng.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 imports: [NgbTooltipModule, LocalizationPipe, ShortDateTimePipe],\r\n styles: [\r\n `\r\n th,\r\n td {\r\n text-align: left;\r\n padding: 10px;\r\n word-wrap: break-word;\r\n }\r\n\r\n td pre {\r\n white-space: break-spaces;\r\n background: inherit;\r\n }\r\n `,\r\n ],\r\n})\r\nexport class EntityChangeDetailsComponent {\r\n readonly itemWithUserName = input<EntityChangeWithUsernameDto>(undefined);\r\n\r\n public readonly localization = inject(LocalizationService);\r\n\r\n entityChange: EntityChangeDto;\r\n\r\n userName: string;\r\n\r\n changeType: string;\r\n\r\n constructor() {\r\n effect(() => {\r\n const item = this.itemWithUserName();\r\n if (!item) {\r\n return;\r\n }\r\n\r\n this.changeType = EntityChangeType[item.entityChange.changeType];\r\n this.userName = item.userName;\r\n this.entityChange = item.entityChange;\r\n });\r\n }\r\n\r\n getPropColor(propertyChange: EntityPropertyChangeDto) {\r\n if (!this.entityChange || this.entityChange.changeType !== EntityChangeType.Updated) {\r\n return;\r\n }\r\n const { originalValue, newValue } = propertyChange;\r\n return newValue !== originalValue ? 'red' : undefined;\r\n }\r\n\r\n getEntityChangeTimeParams() {\r\n if (!this.entityChange || !this.entityChange.changeTime) {\r\n return;\r\n }\r\n\r\n const now = new Date();\r\n const changeDate = new Date(this.entityChange.changeTime);\r\n const timeDifference = now.getTime() - changeDate.getTime();\r\n\r\n const diffInMinutes = Math.floor(timeDifference / (1000 * 60));\r\n const diffInHours = Math.floor(diffInMinutes / 60);\r\n const diffInDays = Math.floor(diffInHours / 24);\r\n\r\n let timeAgo: string;\r\n if (diffInDays > 0) {\r\n timeAgo = this.localization.instant('AbpAuditLogging::DaysAgo', diffInDays.toString());\r\n } else if (diffInHours > 0) {\r\n timeAgo = this.localization.instant('AbpAuditLogging::HoursAgo', diffInHours.toString());\r\n } else {\r\n timeAgo = this.localization.instant('AbpAuditLogging::MinutesAgo', diffInMinutes.toString());\r\n }\r\n\r\n const changeTypeLocalized = this.localization.instant('AbpAuditLogging::' + this.changeType);\r\n\r\n return [changeTypeLocalized, timeAgo, this.userName];\r\n }\r\n}\r\n","@if (getEntityChangeTimeParams(); as timeParameters) {\r\n <table class=\"table\" style=\"width: 100%; table-layout: fixed\">\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 @if (entityChange.propertyChanges.length) {\r\n <tr class=\"table-active\">\r\n <td colspan=\"3\">\r\n <span class=\"text-muted\" [ngbTooltip]=\"entityChange.changeTime | shortDateTime\">\r\n @if (this.userName) {\r\n {{ 'AbpAuditLogging::DaysAgoWithUserTitle' | abpLocalization: timeParameters }}\r\n } @else {\r\n {{ 'AbpAuditLogging::DaysAgoTitle' | abpLocalization: timeParameters }}\r\n }\r\n </span>\r\n </td>\r\n </tr>\r\n @for (prop of entityChange.propertyChanges; track prop.id) {\r\n <tr>\r\n <td>{{ prop.propertyName }}</td>\r\n <td>\r\n <pre lang=\"json\">{{ prop.originalValue }}</pre>\r\n </td>\r\n <td>\r\n <pre lang=\"json\" [style.color]=\"getPropColor(prop)\">{{ prop.newValue }}</pre>\r\n </td>\r\n </tr>\r\n }\r\n } @else {\r\n <tr>\r\n <td colspan=\"3\">{{ 'AbpUi::NoDataAvailableInDatatable' | abpLocalization }}</td>\r\n </tr>\r\n }\r\n </tbody>\r\n </table>\r\n}\r\n","import { ConfigStateService, featuresFactory, RoutesService } from '@abp/ng.core';\r\nimport { inject, InjectionToken, provideAppInitializer } from '@angular/core';\r\nimport { ModuleVisibility, setModuleVisibilityFactory } from '@volo/abp.commercial.ng.ui/config';\r\nimport { Observable } from 'rxjs';\r\nimport { eAuditLoggingRouteNames } from '../enums/route-names';\r\n\r\nexport const AUDIT_LOGGING_FEATURES = new InjectionToken<Observable<ModuleVisibility>>(\r\n 'AUDIT_LOGGING_FEATURES',\r\n {\r\n providedIn: 'root',\r\n factory: () => {\r\n const configState = inject(ConfigStateService);\r\n const featureKey = 'AuditLogging.Enable';\r\n const mapFn = features => ({\r\n enable: features[featureKey].toLowerCase() !== 'false',\r\n });\r\n\r\n return featuresFactory(configState, [featureKey], mapFn);\r\n },\r\n },\r\n);\r\n\r\nexport const SET_AUDIT_LOGGING_ROUTE_VISIBILITY = new InjectionToken(\r\n 'SET_AUDIT_LOGGING_ROUTE_VISIBILITY',\r\n {\r\n providedIn: 'root',\r\n factory: () => {\r\n const routes = inject(RoutesService);\r\n const stream = inject(AUDIT_LOGGING_FEATURES);\r\n\r\n setModuleVisibilityFactory(stream, routes, eAuditLoggingRouteNames.AuditLogging).subscribe();\r\n },\r\n },\r\n);\r\n\r\nexport const AUDIT_LOGGING_FEATURES_PROVIDERS = [\r\n provideAppInitializer(() => {\r\n inject(SET_AUDIT_LOGGING_ROUTE_VISIBILITY);\r\n }),\r\n];\r\n","import { DestroyRef, Injector } from '@angular/core';\r\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\r\nimport { Observable, of, switchMap, tap } from 'rxjs';\r\nimport { AbpWindowService } from '@abp/ng.core';\r\nimport { ToasterService } from '@abp/ng.theme.shared';\r\nimport { ExportAuditLogsOutput, ExportEntityChangesOutput } from '@volo/abp.ng.audit-logging/proxy';\r\n\r\nexport function handleExcelExport(\r\n exportObservable: Observable<ExportAuditLogsOutput | ExportEntityChangesOutput>,\r\n injector: Injector,\r\n): void {\r\n const abpWindowService = injector.get(AbpWindowService);\r\n const toasterService = injector.get(ToasterService);\r\n const destroyRef = injector.get(DestroyRef);\r\n\r\n if (!abpWindowService || !toasterService) {\r\n toasterService.error('AbpAuditLogging::ExportFailed');\r\n return;\r\n }\r\n\r\n exportObservable\r\n .pipe(\r\n switchMap((file: ExportAuditLogsOutput | ExportEntityChangesOutput) => {\r\n const binaryString = atob(String(file.fileData));\r\n const byteArray = Uint8Array.from(binaryString, char => char.charCodeAt(0));\r\n\r\n const blob = new Blob([byteArray], {\r\n type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',\r\n });\r\n\r\n return of({\r\n blob,\r\n fileName: file.fileName,\r\n isBackgroundJob: file.isBackgroundJob,\r\n message: file.message,\r\n });\r\n }),\r\n tap(({ blob, fileName, isBackgroundJob, message }) => {\r\n if (isBackgroundJob) {\r\n toasterService.info(message);\r\n return;\r\n }\r\n try {\r\n abpWindowService.downloadBlob(blob, fileName);\r\n toasterService.success('AbpAuditLogging::ExportCompleted');\r\n } catch (error) {\r\n toasterService.error('AbpAuditLogging::ExportFailed');\r\n console.error('Download failed:', error);\r\n }\r\n }),\r\n takeUntilDestroyed(destroyRef),\r\n )\r\n .subscribe();\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;MA8Ba,4BAA4B,CAAA;AAWvC,IAAA,WAAA,GAAA;AAVS,QAAA,IAAA,CAAA,gBAAgB,GAAG,KAAK,CAA8B,SAAS,uFAAC;AAEzD,QAAA,IAAA,CAAA,YAAY,GAAG,MAAM,CAAC,mBAAmB,CAAC;QASxD,MAAM,CAAC,MAAK;AACV,YAAA,MAAM,IAAI,GAAG,IAAI,CAAC,gBAAgB,EAAE;YACpC,IAAI,CAAC,IAAI,EAAE;gBACT;YACF;YAEA,IAAI,CAAC,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC;AAChE,YAAA,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ;AAC7B,YAAA,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,YAAY;AACvC,QAAA,CAAC,CAAC;IACJ;AAEA,IAAA,YAAY,CAAC,cAAuC,EAAA;AAClD,QAAA,IAAI,CAAC,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,YAAY,CAAC,UAAU,KAAK,gBAAgB,CAAC,OAAO,EAAE;YACnF;QACF;AACA,QAAA,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,GAAG,cAAc;QAClD,OAAO,QAAQ,KAAK,aAAa,GAAG,KAAK,GAAG,SAAS;IACvD;IAEA,yBAAyB,GAAA;AACvB,QAAA,IAAI,CAAC,IAAI,CAAC,YAAY,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,UAAU,EAAE;YACvD;QACF;AAEA,QAAA,MAAM,GAAG,GAAG,IAAI,IAAI,EAAE;QACtB,MAAM,UAAU,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,UAAU,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,EAAE,CAAC;YACR,IAAI;YACJ,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,eAAe,EAAE,IAAI,CAAC,eAAe;YACrC,OAAO,EAAE,IAAI,CAAC,OAAO;AACtB,SAAA,CAAC;AACJ,IAAA,CAAC,CAAC,EACF,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,eAAe,EAAE,OAAO,EAAE,KAAI;QACnD,IAAI,eAAe,EAAE;AACnB,YAAA,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC;YAC5B;QACF;AACA,QAAA,IAAI;AACF,YAAA,gBAAgB,CAAC,YAAY,CAAC,IAAI,EAAE,QAAQ,CAAC;AAC7C,YAAA,cAAc,CAAC,OAAO,CAAC,kCAAkC,CAAC;QAC5D;QAAE,OAAO,KAAK,EAAE;AACd,YAAA,cAAc,CAAC,KAAK,CAAC,+BAA+B,CAAC;AACrD,YAAA,OAAO,CAAC,KAAK,CAAC,kBAAkB,EAAE,KAAK,CAAC;QAC1C;AACF,IAAA,CAAC,CAAC,EACF,kBAAkB,CAAC,UAAU,CAAC;AAE/B,SAAA,SAAS,EAAE;AAChB;;ACrDA;;AAEG;;;;"}
@@ -75,18 +75,18 @@ class AbstractAuditLogSettingsComponent {
75
75
  date.setDate(date.getDate() - day);
76
76
  return date;
77
77
  }
78
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: AbstractAuditLogSettingsComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
79
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.8", type: AbstractAuditLogSettingsComponent, isStandalone: true, inputs: { isTenant: { classPropertyName: "isTenant", publicName: "isTenant", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
78
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AbstractAuditLogSettingsComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
79
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.10", type: AbstractAuditLogSettingsComponent, isStandalone: true, inputs: { isTenant: { classPropertyName: "isTenant", publicName: "isTenant", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
80
80
  }
81
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: AbstractAuditLogSettingsComponent, decorators: [{
81
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AbstractAuditLogSettingsComponent, decorators: [{
82
82
  type: Directive
83
83
  }], propDecorators: { isTenant: [{ type: i0.Input, args: [{ isSignal: true, alias: "isTenant", required: false }] }] } });
84
84
 
85
85
  class AuditLogSettingsGeneralComponent extends AbstractAuditLogSettingsComponent {
86
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: AuditLogSettingsGeneralComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
87
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: AuditLogSettingsGeneralComponent, isStandalone: true, selector: "abp-audit-log-settings-general", usesInheritance: true, ngImport: i0, template: "<div [formGroup]=\"form\" (keyup.enter)=\"submit()\">\r\n <div class=\"form-check mb-3\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"IsExpiredDeleterEnabled\"\r\n name=\"IsExpiredDeleterEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isExpiredDeleterEnabled\"\r\n />\r\n <label class=\"form-label\" for=\"IsExpiredDeleterEnabled\">\r\n {{ 'AbpAuditLogging::DisplayName:IsExpiredDeleterEnabled' | abpLocalization }}\r\n </label>\r\n <div>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpAuditLogging::Description:IsExpiredDeleterEnabled' | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n\r\n @if (form.value.isExpiredDeleterEnabled) {\r\n <div class=\"mb-3 period-group\">\r\n <div class=\"input-group w-75\">\r\n <label class=\"input-group-text\" for=\"expiredDeleterPeriod\">\r\n {{ 'AbpAuditLogging::DisplayName:ExpiredDeleterPeriod' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"expiredDeleterPeriod\"\r\n name=\"expiredDeleterPeriod\"\r\n class=\"form-control text-center valid\"\r\n formControlName=\"expiredDeleterPeriod\"\r\n />\r\n <span class=\"input-group-text\">\r\n {{ 'AbpAuditLogging::ExpiredDeleterPeriodUnit' | abpLocalization }}\r\n </span>\r\n </div>\r\n <p class=\"text-muted mt-1 ms-1 fst-italic\">\r\n {{\r\n 'AbpAuditLogging::AuditLogsBeforeXWillBeDeleted'\r\n | abpLocalization\r\n : (getDateBeforeToday(form.controls.expiredDeleterPeriod.value) | date: 'MM/dd/yyyy')\r\n }}\r\n </p>\r\n </div>\r\n }\r\n</div>\r\n\r\n<hr class=\"my-3\" />\r\n\r\n<div>\r\n <abp-button (click)=\"submit()\" iconClass=\"fa fa-save\" [loading]=\"loading\">\r\n {{ 'AbpAccount::Save' | abpLocalization }}\r\n </abp-button>\r\n</div>\r\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }, { kind: "pipe", type: DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
86
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AuditLogSettingsGeneralComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
87
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.10", type: AuditLogSettingsGeneralComponent, isStandalone: true, selector: "abp-audit-log-settings-general", usesInheritance: true, ngImport: i0, template: "<div [formGroup]=\"form\" (keyup.enter)=\"submit()\">\r\n <div class=\"form-check mb-3\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"IsExpiredDeleterEnabled\"\r\n name=\"IsExpiredDeleterEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isExpiredDeleterEnabled\"\r\n />\r\n <label class=\"form-label\" for=\"IsExpiredDeleterEnabled\">\r\n {{ 'AbpAuditLogging::DisplayName:IsExpiredDeleterEnabled' | abpLocalization }}\r\n </label>\r\n <div>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpAuditLogging::Description:IsExpiredDeleterEnabled' | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n\r\n @if (form.value.isExpiredDeleterEnabled) {\r\n <div class=\"mb-3 period-group\">\r\n <div class=\"input-group w-75\">\r\n <label class=\"input-group-text\" for=\"expiredDeleterPeriod\">\r\n {{ 'AbpAuditLogging::DisplayName:ExpiredDeleterPeriod' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"expiredDeleterPeriod\"\r\n name=\"expiredDeleterPeriod\"\r\n class=\"form-control text-center valid\"\r\n formControlName=\"expiredDeleterPeriod\"\r\n />\r\n <span class=\"input-group-text\">\r\n {{ 'AbpAuditLogging::ExpiredDeleterPeriodUnit' | abpLocalization }}\r\n </span>\r\n </div>\r\n <p class=\"text-muted mt-1 ms-1 fst-italic\">\r\n {{\r\n 'AbpAuditLogging::AuditLogsBeforeXWillBeDeleted'\r\n | abpLocalization\r\n : (getDateBeforeToday(form.controls.expiredDeleterPeriod.value) | date: 'MM/dd/yyyy')\r\n }}\r\n </p>\r\n </div>\r\n }\r\n</div>\r\n\r\n<hr class=\"my-3\" />\r\n\r\n<div>\r\n <abp-button (click)=\"submit()\" iconClass=\"fa fa-save\" [loading]=\"loading\">\r\n {{ 'AbpAccount::Save' | abpLocalization }}\r\n </abp-button>\r\n</div>\r\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }, { kind: "pipe", type: DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
88
88
  }
89
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: AuditLogSettingsGeneralComponent, decorators: [{
89
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AuditLogSettingsGeneralComponent, decorators: [{
90
90
  type: Component,
91
91
  args: [{ selector: 'abp-audit-log-settings-general', changeDetection: ChangeDetectionStrategy.OnPush, imports: [ReactiveFormsModule, LocalizationPipe, DatePipe, ButtonComponent], template: "<div [formGroup]=\"form\" (keyup.enter)=\"submit()\">\r\n <div class=\"form-check mb-3\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"IsExpiredDeleterEnabled\"\r\n name=\"IsExpiredDeleterEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isExpiredDeleterEnabled\"\r\n />\r\n <label class=\"form-label\" for=\"IsExpiredDeleterEnabled\">\r\n {{ 'AbpAuditLogging::DisplayName:IsExpiredDeleterEnabled' | abpLocalization }}\r\n </label>\r\n <div>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpAuditLogging::Description:IsExpiredDeleterEnabled' | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n\r\n @if (form.value.isExpiredDeleterEnabled) {\r\n <div class=\"mb-3 period-group\">\r\n <div class=\"input-group w-75\">\r\n <label class=\"input-group-text\" for=\"expiredDeleterPeriod\">\r\n {{ 'AbpAuditLogging::DisplayName:ExpiredDeleterPeriod' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"expiredDeleterPeriod\"\r\n name=\"expiredDeleterPeriod\"\r\n class=\"form-control text-center valid\"\r\n formControlName=\"expiredDeleterPeriod\"\r\n />\r\n <span class=\"input-group-text\">\r\n {{ 'AbpAuditLogging::ExpiredDeleterPeriodUnit' | abpLocalization }}\r\n </span>\r\n </div>\r\n <p class=\"text-muted mt-1 ms-1 fst-italic\">\r\n {{\r\n 'AbpAuditLogging::AuditLogsBeforeXWillBeDeleted'\r\n | abpLocalization\r\n : (getDateBeforeToday(form.controls.expiredDeleterPeriod.value) | date: 'MM/dd/yyyy')\r\n }}\r\n </p>\r\n </div>\r\n }\r\n</div>\r\n\r\n<hr class=\"my-3\" />\r\n\r\n<div>\r\n <abp-button (click)=\"submit()\" iconClass=\"fa fa-save\" [loading]=\"loading\">\r\n {{ 'AbpAccount::Save' | abpLocalization }}\r\n </abp-button>\r\n</div>\r\n" }]
92
92
  }] });
@@ -96,10 +96,10 @@ class AuditLogSettingsGlobalComponent extends AbstractAuditLogSettingsComponent
96
96
  super(...arguments);
97
97
  this.globalTab = true;
98
98
  }
99
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: AuditLogSettingsGlobalComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
100
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: AuditLogSettingsGlobalComponent, isStandalone: true, selector: "abp-audit-log-settings-global", usesInheritance: true, ngImport: i0, template: "<div [formGroup]=\"form\" (keyup.enter)=\"submit()\">\r\n <div class=\"mb-2 custom-checkbox custom-control form-check\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"IsPeriodicDeleterEnabled\"\r\n name=\"IsPeriodicDeleterEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isPeriodicDeleterEnabled\"\r\n />\r\n <label class=\"form-check-label\" for=\"IsPeriodicDeleterEnabled\">\r\n {{ 'AbpAuditLogging::DisplayName:IsPeriodicDeleterEnabled' | abpLocalization }}\r\n </label>\r\n\r\n <div>\r\n <span class=\"form-text text-muted mb-3\">\r\n {{ 'AbpAuditLogging::Description:IsPeriodicDeleterEnabled' | abpLocalization }}\r\n </span>\r\n </div>\r\n </div>\r\n\r\n @if (form.value.isPeriodicDeleterEnabled) {\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"IsExpiredDeleterEnabled\"\r\n name=\"IsExpiredDeleterEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isExpiredDeleterEnabled\"\r\n />\r\n <label class=\"form-label\" for=\"IsExpiredDeleterEnabled\">\r\n {{ 'AbpAuditLogging::DisplayName:GlobalIsExpiredDeleterEnabled' | abpLocalization }}\r\n </label>\r\n <div>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpAuditLogging::Description:GlobalIsExpiredDeleterEnabled' | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n\r\n @if (form.value.isExpiredDeleterEnabled) {\r\n <div class=\"mb-3 period-group\">\r\n <div class=\"input-group w-75\">\r\n <label class=\"input-group-text\" for=\"ExpiredDeleterPeriod\">\r\n {{ 'AbpAuditLogging::DisplayName:ExpiredDeleterPeriod' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"ExpiredDeleterPeriod\"\r\n name=\"ExpiredDeleterPeriod\"\r\n class=\"form-control text-center valid\"\r\n formControlName=\"expiredDeleterPeriod\"\r\n />\r\n <span class=\"input-group-text\">\r\n {{ 'AbpAuditLogging::ExpiredDeleterPeriodUnit' | abpLocalization }}\r\n </span>\r\n </div>\r\n <p class=\"text-muted mt-1 ms-1 fst-italic\">\r\n {{\r\n 'AbpAuditLogging::AuditLogsBeforeXWillBeDeleted'\r\n | abpLocalization\r\n : (getDateBeforeToday(form.controls.expiredDeleterPeriod.value)\r\n | date: 'MM/dd/yyyy')\r\n }}\r\n </p>\r\n </div>\r\n }\r\n }\r\n</div>\r\n\r\n<hr class=\"my-3\" />\r\n\r\n<div>\r\n <abp-button (click)=\"submit()\" iconClass=\"fa fa-save\" [loading]=\"loading\">\r\n {{ 'AbpAccount::Save' | abpLocalization }}\r\n </abp-button>\r\n</div>\r\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }, { kind: "pipe", type: DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
99
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AuditLogSettingsGlobalComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
100
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.10", type: AuditLogSettingsGlobalComponent, isStandalone: true, selector: "abp-audit-log-settings-global", usesInheritance: true, ngImport: i0, template: "<div [formGroup]=\"form\" (keyup.enter)=\"submit()\">\r\n <div class=\"mb-2 custom-checkbox custom-control form-check\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"IsPeriodicDeleterEnabled\"\r\n name=\"IsPeriodicDeleterEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isPeriodicDeleterEnabled\"\r\n />\r\n <label class=\"form-check-label\" for=\"IsPeriodicDeleterEnabled\">\r\n {{ 'AbpAuditLogging::DisplayName:IsPeriodicDeleterEnabled' | abpLocalization }}\r\n </label>\r\n\r\n <div>\r\n <span class=\"form-text text-muted mb-3\">\r\n {{ 'AbpAuditLogging::Description:IsPeriodicDeleterEnabled' | abpLocalization }}\r\n </span>\r\n </div>\r\n </div>\r\n\r\n @if (form.value.isPeriodicDeleterEnabled) {\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"IsExpiredDeleterEnabled\"\r\n name=\"IsExpiredDeleterEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isExpiredDeleterEnabled\"\r\n />\r\n <label class=\"form-label\" for=\"IsExpiredDeleterEnabled\">\r\n {{ 'AbpAuditLogging::DisplayName:GlobalIsExpiredDeleterEnabled' | abpLocalization }}\r\n </label>\r\n <div>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpAuditLogging::Description:GlobalIsExpiredDeleterEnabled' | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n\r\n @if (form.value.isExpiredDeleterEnabled) {\r\n <div class=\"mb-3 period-group\">\r\n <div class=\"input-group w-75\">\r\n <label class=\"input-group-text\" for=\"ExpiredDeleterPeriod\">\r\n {{ 'AbpAuditLogging::DisplayName:ExpiredDeleterPeriod' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"ExpiredDeleterPeriod\"\r\n name=\"ExpiredDeleterPeriod\"\r\n class=\"form-control text-center valid\"\r\n formControlName=\"expiredDeleterPeriod\"\r\n />\r\n <span class=\"input-group-text\">\r\n {{ 'AbpAuditLogging::ExpiredDeleterPeriodUnit' | abpLocalization }}\r\n </span>\r\n </div>\r\n <p class=\"text-muted mt-1 ms-1 fst-italic\">\r\n {{\r\n 'AbpAuditLogging::AuditLogsBeforeXWillBeDeleted'\r\n | abpLocalization\r\n : (getDateBeforeToday(form.controls.expiredDeleterPeriod.value)\r\n | date: 'MM/dd/yyyy')\r\n }}\r\n </p>\r\n </div>\r\n }\r\n }\r\n</div>\r\n\r\n<hr class=\"my-3\" />\r\n\r\n<div>\r\n <abp-button (click)=\"submit()\" iconClass=\"fa fa-save\" [loading]=\"loading\">\r\n {{ 'AbpAccount::Save' | abpLocalization }}\r\n </abp-button>\r\n</div>\r\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }, { kind: "pipe", type: DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
101
101
  }
102
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: AuditLogSettingsGlobalComponent, decorators: [{
102
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AuditLogSettingsGlobalComponent, decorators: [{
103
103
  type: Component,
104
104
  args: [{ selector: 'abp-audit-log-settings-global', changeDetection: ChangeDetectionStrategy.OnPush, imports: [ReactiveFormsModule, LocalizationPipe, DatePipe, ButtonComponent], template: "<div [formGroup]=\"form\" (keyup.enter)=\"submit()\">\r\n <div class=\"mb-2 custom-checkbox custom-control form-check\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"IsPeriodicDeleterEnabled\"\r\n name=\"IsPeriodicDeleterEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isPeriodicDeleterEnabled\"\r\n />\r\n <label class=\"form-check-label\" for=\"IsPeriodicDeleterEnabled\">\r\n {{ 'AbpAuditLogging::DisplayName:IsPeriodicDeleterEnabled' | abpLocalization }}\r\n </label>\r\n\r\n <div>\r\n <span class=\"form-text text-muted mb-3\">\r\n {{ 'AbpAuditLogging::Description:IsPeriodicDeleterEnabled' | abpLocalization }}\r\n </span>\r\n </div>\r\n </div>\r\n\r\n @if (form.value.isPeriodicDeleterEnabled) {\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"IsExpiredDeleterEnabled\"\r\n name=\"IsExpiredDeleterEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isExpiredDeleterEnabled\"\r\n />\r\n <label class=\"form-label\" for=\"IsExpiredDeleterEnabled\">\r\n {{ 'AbpAuditLogging::DisplayName:GlobalIsExpiredDeleterEnabled' | abpLocalization }}\r\n </label>\r\n <div>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpAuditLogging::Description:GlobalIsExpiredDeleterEnabled' | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n\r\n @if (form.value.isExpiredDeleterEnabled) {\r\n <div class=\"mb-3 period-group\">\r\n <div class=\"input-group w-75\">\r\n <label class=\"input-group-text\" for=\"ExpiredDeleterPeriod\">\r\n {{ 'AbpAuditLogging::DisplayName:ExpiredDeleterPeriod' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"ExpiredDeleterPeriod\"\r\n name=\"ExpiredDeleterPeriod\"\r\n class=\"form-control text-center valid\"\r\n formControlName=\"expiredDeleterPeriod\"\r\n />\r\n <span class=\"input-group-text\">\r\n {{ 'AbpAuditLogging::ExpiredDeleterPeriodUnit' | abpLocalization }}\r\n </span>\r\n </div>\r\n <p class=\"text-muted mt-1 ms-1 fst-italic\">\r\n {{\r\n 'AbpAuditLogging::AuditLogsBeforeXWillBeDeleted'\r\n | abpLocalization\r\n : (getDateBeforeToday(form.controls.expiredDeleterPeriod.value)\r\n | date: 'MM/dd/yyyy')\r\n }}\r\n </p>\r\n </div>\r\n }\r\n }\r\n</div>\r\n\r\n<hr class=\"my-3\" />\r\n\r\n<div>\r\n <abp-button (click)=\"submit()\" iconClass=\"fa fa-save\" [loading]=\"loading\">\r\n {{ 'AbpAccount::Save' | abpLocalization }}\r\n </abp-button>\r\n</div>\r\n" }]
105
105
  }] });
@@ -109,10 +109,10 @@ class AuditLogSettingsComponent {
109
109
  this.sessionStateService = inject(SessionStateService);
110
110
  this.isTenant = this.sessionStateService.getTenant()?.isAvailable;
111
111
  }
112
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: AuditLogSettingsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
113
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: AuditLogSettingsComponent, isStandalone: true, selector: "abp-audit-log-settings", ngImport: i0, template: "<div id=\"AuditLogSettingsForm\" class=\"row abp-md-form\">\r\n <div class=\"col-md-12\">\r\n <ul ngbNav #nav=\"ngbNav\" class=\"nav-tabs\">\r\n @if (!isTenant) {\r\n <li ngbNavItem>\r\n <a ngbNavLink>{{ 'AbpAuditLogging::AuditLogSettingsGlobal' | abpLocalization }}</a>\r\n\r\n <ng-template ngbNavContent>\r\n <abp-audit-log-settings-global [isTenant]=\"isTenant\" />\r\n </ng-template>\r\n </li>\r\n }\r\n\r\n <li ngbNavItem>\r\n <a ngbNavLink>{{ 'AbpAuditLogging::AuditLogSettingsGeneral' | abpLocalization }}</a>\r\n <ng-template ngbNavContent>\r\n <abp-audit-log-settings-general [isTenant]=\"isTenant\" />\r\n </ng-template>\r\n </li>\r\n </ul>\r\n <div [ngbNavOutlet]=\"nav\"></div>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "ngmodule", type: NgbNavModule }, { kind: "directive", type: i1$1.NgbNavContent, selector: "ng-template[ngbNavContent]" }, { kind: "directive", type: i1$1.NgbNav, selector: "[ngbNav]", inputs: ["activeId", "animation", "destroyOnHide", "orientation", "roles", "keyboard"], outputs: ["activeIdChange", "shown", "hidden", "navChange"], exportAs: ["ngbNav"] }, { kind: "directive", type: i1$1.NgbNavItem, selector: "[ngbNavItem]", inputs: ["destroyOnHide", "disabled", "domId", "ngbNavItem"], outputs: ["shown", "hidden"], exportAs: ["ngbNavItem"] }, { kind: "directive", type: i1$1.NgbNavItemRole, selector: "[ngbNavItem]:not(ng-container)" }, { kind: "directive", type: i1$1.NgbNavLink, selector: "a[ngbNavLink]" }, { kind: "directive", type: i1$1.NgbNavLinkBase, selector: "[ngbNavLink]" }, { kind: "component", type: i1$1.NgbNavOutlet, selector: "[ngbNavOutlet]", inputs: ["paneRole", "ngbNavOutlet"] }, { kind: "component", type: AuditLogSettingsGeneralComponent, selector: "abp-audit-log-settings-general" }, { kind: "component", type: AuditLogSettingsGlobalComponent, selector: "abp-audit-log-settings-global" }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }] }); }
112
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AuditLogSettingsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
113
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.10", type: AuditLogSettingsComponent, isStandalone: true, selector: "abp-audit-log-settings", ngImport: i0, template: "<div id=\"AuditLogSettingsForm\" class=\"row abp-md-form\">\r\n <div class=\"col-md-12\">\r\n <ul ngbNav #nav=\"ngbNav\" class=\"nav-tabs\">\r\n @if (!isTenant) {\r\n <li ngbNavItem>\r\n <a ngbNavLink>{{ 'AbpAuditLogging::AuditLogSettingsGlobal' | abpLocalization }}</a>\r\n\r\n <ng-template ngbNavContent>\r\n <abp-audit-log-settings-global [isTenant]=\"isTenant\" />\r\n </ng-template>\r\n </li>\r\n }\r\n\r\n <li ngbNavItem>\r\n <a ngbNavLink>{{ 'AbpAuditLogging::AuditLogSettingsGeneral' | abpLocalization }}</a>\r\n <ng-template ngbNavContent>\r\n <abp-audit-log-settings-general [isTenant]=\"isTenant\" />\r\n </ng-template>\r\n </li>\r\n </ul>\r\n <div [ngbNavOutlet]=\"nav\"></div>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "ngmodule", type: NgbNavModule }, { kind: "directive", type: i1$1.NgbNavContent, selector: "ng-template[ngbNavContent]" }, { kind: "directive", type: i1$1.NgbNav, selector: "[ngbNav]", inputs: ["activeId", "animation", "destroyOnHide", "orientation", "roles", "keyboard"], outputs: ["activeIdChange", "shown", "hidden", "navChange"], exportAs: ["ngbNav"] }, { kind: "directive", type: i1$1.NgbNavItem, selector: "[ngbNavItem]", inputs: ["destroyOnHide", "disabled", "domId", "ngbNavItem"], outputs: ["shown", "hidden"], exportAs: ["ngbNavItem"] }, { kind: "directive", type: i1$1.NgbNavItemRole, selector: "[ngbNavItem]:not(ng-container)" }, { kind: "directive", type: i1$1.NgbNavLink, selector: "a[ngbNavLink]" }, { kind: "directive", type: i1$1.NgbNavLinkBase, selector: "[ngbNavLink]" }, { kind: "component", type: i1$1.NgbNavOutlet, selector: "[ngbNavOutlet]", inputs: ["paneRole", "ngbNavOutlet"] }, { kind: "component", type: AuditLogSettingsGeneralComponent, selector: "abp-audit-log-settings-general" }, { kind: "component", type: AuditLogSettingsGlobalComponent, selector: "abp-audit-log-settings-global" }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }] }); }
114
114
  }
115
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: AuditLogSettingsComponent, decorators: [{
115
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AuditLogSettingsComponent, decorators: [{
116
116
  type: Component,
117
117
  args: [{ selector: 'abp-audit-log-settings', imports: [
118
118
  NgbNavModule,
@@ -128,10 +128,10 @@ class EntityChangeModalComponent {
128
128
  this.history = [];
129
129
  this.visible = false;
130
130
  }
131
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: EntityChangeModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
132
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: EntityChangeModalComponent, isStandalone: true, selector: "abp-entity-change-modal", ngImport: i0, template: "<abp-modal [(visible)]=\"visible\" [options]=\"{ size: 'lg' }\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">\r\n {{ entityTypeFullName }}\r\n <br />\r\n <span style=\"font-size: small\">({{ entityId }})</span>\r\n </h5>\r\n </ng-template>\r\n <ng-template #abpBody>\r\n @if (history.length) {\r\n @for (change of history; track $index) {\r\n <abp-entity-change-details [itemWithUserName]=\"change\" />\r\n }\r\n } @else {\r\n <div class=\"text-center\">\r\n {{ 'AbpAuditLogging::NoChanges' | abpLocalization }}\r\n </div>\r\n }\r\n </ng-template>\r\n <ng-template #abpFooter>\r\n <button class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpAuditLogging::Close' | abpLocalization }}\r\n </button>\r\n </ng-template>\r\n</abp-modal>\r\n", dependencies: [{ kind: "directive", type: ModalCloseDirective, selector: "[abpClose]" }, { kind: "component", type: EntityChangeDetailsComponent, selector: "abp-entity-change-details", inputs: ["itemWithUserName"] }, { kind: "component", type: ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
131
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: EntityChangeModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
132
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.10", type: EntityChangeModalComponent, isStandalone: true, selector: "abp-entity-change-modal", ngImport: i0, template: "<abp-modal [(visible)]=\"visible\" [options]=\"{ size: 'lg' }\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">\r\n {{ entityTypeFullName }}\r\n <br />\r\n <span style=\"font-size: small\">({{ entityId }})</span>\r\n </h5>\r\n </ng-template>\r\n <ng-template #abpBody>\r\n @if (history.length) {\r\n @for (change of history; track $index) {\r\n <abp-entity-change-details [itemWithUserName]=\"change\" />\r\n }\r\n } @else {\r\n <div class=\"text-center\">\r\n {{ 'AbpAuditLogging::NoChanges' | abpLocalization }}\r\n </div>\r\n }\r\n </ng-template>\r\n <ng-template #abpFooter>\r\n <button class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpAuditLogging::Close' | abpLocalization }}\r\n </button>\r\n </ng-template>\r\n</abp-modal>\r\n", dependencies: [{ kind: "directive", type: ModalCloseDirective, selector: "[abpClose]" }, { kind: "component", type: EntityChangeDetailsComponent, selector: "abp-entity-change-details", inputs: ["itemWithUserName"] }, { kind: "component", type: ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
133
133
  }
134
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: EntityChangeModalComponent, decorators: [{
134
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: EntityChangeModalComponent, decorators: [{
135
135
  type: Component,
136
136
  args: [{ selector: 'abp-entity-change-modal', changeDetection: ChangeDetectionStrategy.OnPush, imports: [ModalCloseDirective, LocalizationPipe, EntityChangeDetailsComponent, ModalComponent], template: "<abp-modal [(visible)]=\"visible\" [options]=\"{ size: 'lg' }\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">\r\n {{ entityTypeFullName }}\r\n <br />\r\n <span style=\"font-size: small\">({{ entityId }})</span>\r\n </h5>\r\n </ng-template>\r\n <ng-template #abpBody>\r\n @if (history.length) {\r\n @for (change of history; track $index) {\r\n <abp-entity-change-details [itemWithUserName]=\"change\" />\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" }]
137
137
  }] });
@@ -170,10 +170,10 @@ class EntityChangeModalService {
170
170
  this.detectChanges();
171
171
  });
172
172
  }
173
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: EntityChangeModalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
174
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: EntityChangeModalService, providedIn: 'root' }); }
173
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: EntityChangeModalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
174
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: EntityChangeModalService, providedIn: 'root' }); }
175
175
  }
176
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: EntityChangeModalService, decorators: [{
176
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: EntityChangeModalService, decorators: [{
177
177
  type: Injectable,
178
178
  args: [{
179
179
  providedIn: 'root',
@@ -259,17 +259,17 @@ class AuditLoggingConfigModule {
259
259
  providers: [provideAuditLoggingConfig()],
260
260
  };
261
261
  }
262
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: AuditLoggingConfigModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
263
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.8", ngImport: i0, type: AuditLoggingConfigModule, imports: [CoreModule,
262
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AuditLoggingConfigModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
263
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.10", ngImport: i0, type: AuditLoggingConfigModule, imports: [CoreModule,
264
264
  ThemeSharedModule,
265
265
  EntityChangeDetailsComponent,
266
266
  EntityChangeModalComponent], exports: [EntityChangeModalComponent] }); }
267
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: AuditLoggingConfigModule, imports: [CoreModule,
267
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AuditLoggingConfigModule, imports: [CoreModule,
268
268
  ThemeSharedModule,
269
269
  EntityChangeDetailsComponent,
270
270
  EntityChangeModalComponent] }); }
271
271
  }
272
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: AuditLoggingConfigModule, decorators: [{
272
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AuditLoggingConfigModule, decorators: [{
273
273
  type: NgModule,
274
274
  args: [{
275
275
  exports: [EntityChangeModalComponent],
@@ -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-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/providers/audit-logging-config.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, OnInit, inject, input } 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()\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 readonly isTenant = input<boolean>(undefined);\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 { DatePipe } from '@angular/common';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { LocalizationPipe } from '@abp/ng.core';\r\nimport { ButtonComponent } from '@abp/ng.theme.shared';\r\nimport { AbstractAuditLogSettingsComponent } from '../../../../abstracts';\r\n\r\n@Component({\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: [ReactiveFormsModule, LocalizationPipe, DatePipe, ButtonComponent],\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 { DatePipe } from '@angular/common';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { LocalizationPipe } from '@abp/ng.core';\r\nimport { ButtonComponent } from '@abp/ng.theme.shared';\r\nimport { AbstractAuditLogSettingsComponent } from '../../../../abstracts';\r\n\r\n@Component({\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: [ReactiveFormsModule, LocalizationPipe, DatePipe, ButtonComponent],\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 { LocalizationPipe, SessionStateService } from '@abp/ng.core';\r\nimport { AuditLogSettingsGeneralComponent, AuditLogSettingsGlobalComponent } from './tabs';\r\n\r\n@Component({\r\n selector: 'abp-audit-log-settings',\r\n templateUrl: './audit-log-settings.component.html',\r\n imports: [\r\n NgbNavModule,\r\n LocalizationPipe,\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 { ChangeDetectionStrategy, ChangeDetectorRef, Component, inject } from '@angular/core';\r\nimport { LocalizationPipe } from '@abp/ng.core';\r\nimport { ModalCloseDirective, ModalComponent } from '@abp/ng.theme.shared';\r\nimport { EntityChangeWithUsernameDto } from '@volo/abp.ng.audit-logging/proxy';\r\nimport { EntityChangeDetailsComponent } from '@volo/abp.ng.audit-logging/common';\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 imports: [ModalCloseDirective, LocalizationPipe, EntityChangeDetailsComponent, ModalComponent],\r\n})\r\nexport class EntityChangeModalComponent {\r\n public readonly cdRef = inject(ChangeDetectorRef);\r\n\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","<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 $index) {\r\n <abp-entity-change-details [itemWithUserName]=\"change\" />\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, inject } 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 auditLogsService = inject(AuditLogsService);\r\n private contentProjectionService = inject(ContentProjectionService);\r\n\r\n private modalRef: ComponentRef<EntityChangeModalComponent>;\r\n\r\n constructor() {\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 { inject, provideAppInitializer } 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 provideAppInitializer(() => {\r\n configureRoutes();\r\n }),\r\n];\r\n\r\nexport function configureRoutes() {\r\n const routes = inject(RoutesService);\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: 7,\r\n requiredPolicy: eAuditLoggingPolicyNames.AuditLogging,\r\n },\r\n ]);\r\n}\r\n","import { inject, provideAppInitializer } 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 provideAppInitializer(() => {\r\n configureSettingTabs();\r\n }),\r\n];\r\n\r\nexport function configureSettingTabs() {\r\n const settingTabsService = inject(SettingTabsService);\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","import { makeEnvironmentProviders } from '@angular/core';\r\nimport { AUDIT_LOGGING_FEATURES_PROVIDERS } from '@volo/abp.ng.audit-logging/common';\r\nimport {\r\n AUDIT_LOGGING_ROUTE_PROVIDERS,\r\n AUDIT_LOGGING_SETTING_TAB_PROVIDERS,\r\n ENTITY_HISTORY_PROVIDERS,\r\n ENTITY_DETAILS_PROVIDERS,\r\n} from './';\r\n\r\nexport function provideAuditLoggingConfig() {\r\n return makeEnvironmentProviders([\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","import { CoreModule } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { ModuleWithProviders, NgModule } from '@angular/core';\r\nimport { EntityChangeModalComponent } from './components/entity-change-modal.component';\r\nimport { provideAuditLoggingConfig } from './providers';\r\nimport { EntityChangeDetailsComponent } from '@volo/abp.ng.audit-logging/common';\r\n\r\n@NgModule({\r\n exports: [EntityChangeModalComponent],\r\n imports: [\r\n CoreModule,\r\n ThemeSharedModule,\r\n EntityChangeDetailsComponent,\r\n EntityChangeModalComponent,\r\n ],\r\n})\r\nexport class AuditLoggingConfigModule {\r\n /**\r\n * @deprecated forRoot method is deprecated, use `provideAuditLoggingConfig` *function* for config settings.\r\n */\r\n static forRoot(): ModuleWithProviders<AuditLoggingConfigModule> {\r\n return {\r\n ngModule: AuditLoggingConfigModule,\r\n providers: [provideAuditLoggingConfig()],\r\n };\r\n }\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;MAQsB,iCAAiC,CAAA;AADvD,IAAA,WAAA,GAAA;AAEqB,QAAA,IAAA,CAAA,GAAG,GAAG,MAAM,CAAC,iBAAiB,CAAC;AAC/B,QAAA,IAAA,CAAA,EAAE,GAAG,MAAM,CAAC,WAAW,CAAC;AACxB,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,cAAc,CAAC;AACvC,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAC,kBAAkB,CAAC;AACxC,QAAA,IAAA,CAAA,eAAe,GAAG,MAAM,CAAC,uBAAuB,CAAC;QAEpE,IAAA,CAAA,SAAS,GAAG,KAAK;AAEjB,QAAA,IAAA,CAAA,KAAK,GAAG,IAAI,IAAI,EAAE;AAET,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAU,SAAS,+EAAC;;AAG7C,QAAA,IAAA,CAAA,IAAI,GAAc,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC;AAC9B,YAAA,uBAAuB,EAAE,KAAK;AAC9B,YAAA,oBAAoB,EAAE,CAAC;AACxB,SAAA,CAAC;AA8DH,IAAA;IA3DC,IAAI,OAAO,CAAC,KAAc,EAAA;AACxB,QAAA,IAAI,CAAC,QAAQ,GAAG,KAAK;AACrB,QAAA,IAAI,CAAC,GAAG,CAAC,YAAY,EAAE;IACzB;AAEA,IAAA,IAAI,OAAO,GAAA;QACT,OAAO,IAAI,CAAC,QAAQ;IACtB;IAEU,SAAS,GAAA;QACjB,IAAI,GAAG,GAAG,IAAI,CAAC,eAAe,CAAC,GAAG,EAAE;QACpC,IAAI,IAAI,CAAC,SAAS,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE;AACtC,YAAA,GAAG,GAAG,IAAI,CAAC,eAAe,CAAC,SAAS,EAAE;A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,"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-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/providers/audit-logging-config.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, OnInit, inject, input } 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()\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 readonly isTenant = input<boolean>(undefined);\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 { DatePipe } from '@angular/common';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { LocalizationPipe } from '@abp/ng.core';\r\nimport { ButtonComponent } from '@abp/ng.theme.shared';\r\nimport { AbstractAuditLogSettingsComponent } from '../../../../abstracts';\r\n\r\n@Component({\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: [ReactiveFormsModule, LocalizationPipe, DatePipe, ButtonComponent],\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 { DatePipe } from '@angular/common';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { LocalizationPipe } from '@abp/ng.core';\r\nimport { ButtonComponent } from '@abp/ng.theme.shared';\r\nimport { AbstractAuditLogSettingsComponent } from '../../../../abstracts';\r\n\r\n@Component({\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: [ReactiveFormsModule, LocalizationPipe, DatePipe, ButtonComponent],\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 { LocalizationPipe, SessionStateService } from '@abp/ng.core';\r\nimport { AuditLogSettingsGeneralComponent, AuditLogSettingsGlobalComponent } from './tabs';\r\n\r\n@Component({\r\n selector: 'abp-audit-log-settings',\r\n templateUrl: './audit-log-settings.component.html',\r\n imports: [\r\n NgbNavModule,\r\n LocalizationPipe,\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 { ChangeDetectionStrategy, ChangeDetectorRef, Component, inject } from '@angular/core';\r\nimport { LocalizationPipe } from '@abp/ng.core';\r\nimport { ModalCloseDirective, ModalComponent } from '@abp/ng.theme.shared';\r\nimport { EntityChangeWithUsernameDto } from '@volo/abp.ng.audit-logging/proxy';\r\nimport { EntityChangeDetailsComponent } from '@volo/abp.ng.audit-logging/common';\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 imports: [ModalCloseDirective, LocalizationPipe, EntityChangeDetailsComponent, ModalComponent],\r\n})\r\nexport class EntityChangeModalComponent {\r\n public readonly cdRef = inject(ChangeDetectorRef);\r\n\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","<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 $index) {\r\n <abp-entity-change-details [itemWithUserName]=\"change\" />\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, inject } 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 auditLogsService = inject(AuditLogsService);\r\n private contentProjectionService = inject(ContentProjectionService);\r\n\r\n private modalRef: ComponentRef<EntityChangeModalComponent>;\r\n\r\n constructor() {\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 { inject, provideAppInitializer } 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 provideAppInitializer(() => {\r\n configureRoutes();\r\n }),\r\n];\r\n\r\nexport function configureRoutes() {\r\n const routes = inject(RoutesService);\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: 7,\r\n requiredPolicy: eAuditLoggingPolicyNames.AuditLogging,\r\n },\r\n ]);\r\n}\r\n","import { inject, provideAppInitializer } 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 provideAppInitializer(() => {\r\n configureSettingTabs();\r\n }),\r\n];\r\n\r\nexport function configureSettingTabs() {\r\n const settingTabsService = inject(SettingTabsService);\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","import { makeEnvironmentProviders } from '@angular/core';\r\nimport { AUDIT_LOGGING_FEATURES_PROVIDERS } from '@volo/abp.ng.audit-logging/common';\r\nimport {\r\n AUDIT_LOGGING_ROUTE_PROVIDERS,\r\n AUDIT_LOGGING_SETTING_TAB_PROVIDERS,\r\n ENTITY_HISTORY_PROVIDERS,\r\n ENTITY_DETAILS_PROVIDERS,\r\n} from './';\r\n\r\nexport function provideAuditLoggingConfig() {\r\n return makeEnvironmentProviders([\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","import { CoreModule } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { ModuleWithProviders, NgModule } from '@angular/core';\r\nimport { EntityChangeModalComponent } from './components/entity-change-modal.component';\r\nimport { provideAuditLoggingConfig } from './providers';\r\nimport { EntityChangeDetailsComponent } from '@volo/abp.ng.audit-logging/common';\r\n\r\n@NgModule({\r\n exports: [EntityChangeModalComponent],\r\n imports: [\r\n CoreModule,\r\n ThemeSharedModule,\r\n EntityChangeDetailsComponent,\r\n EntityChangeModalComponent,\r\n ],\r\n})\r\nexport class AuditLoggingConfigModule {\r\n /**\r\n * @deprecated forRoot method is deprecated, use `provideAuditLoggingConfig` *function* for config settings.\r\n */\r\n static forRoot(): ModuleWithProviders<AuditLoggingConfigModule> {\r\n return {\r\n ngModule: AuditLoggingConfigModule,\r\n providers: [provideAuditLoggingConfig()],\r\n };\r\n }\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;MAQsB,iCAAiC,CAAA;AADvD,IAAA,WAAA,GAAA;AAEqB,QAAA,IAAA,CAAA,GAAG,GAAG,MAAM,CAAC,iBAAiB,CAAC;AAC/B,QAAA,IAAA,CAAA,EAAE,GAAG,MAAM,CAAC,WAAW,CAAC;AACxB,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,cAAc,CAAC;AACvC,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAC,kBAAkB,CAAC;AACxC,QAAA,IAAA,CAAA,eAAe,GAAG,MAAM,CAAC,uBAAuB,CAAC;QAEpE,IAAA,CAAA,SAAS,GAAG,KAAK;AAEjB,QAAA,IAAA,CAAA,KAAK,GAAG,IAAI,IAAI,EAAE;AAET,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAU,SAAS,+EAAC;;AAG7C,QAAA,IAAA,CAAA,IAAI,GAAc,IAA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A0B,CAAA,EAAA,CAAA,CAAA;AAQzB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,wBAAwB,YANjC,UAAU;YACV,iBAAiB;YACjB,4BAA4B;YAC5B,0BAA0B,CAAA,EAAA,CAAA,CAAA;;4FAGjB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBATpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,0BAA0B,CAAC;AACrC,oBAAA,OAAO,EAAE;wBACP,UAAU;wBACV,iBAAiB;wBACjB,4BAA4B;wBAC5B,0BAA0B;AAC3B,qBAAA;AACF,iBAAA;;;ACfD;;AAEG;;;;"}
@@ -25,10 +25,10 @@ class AuditLogSettingsService {
25
25
  body: input,
26
26
  }, { apiName: this.apiName, ...config });
27
27
  }
28
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: AuditLogSettingsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
29
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: AuditLogSettingsService, providedIn: 'root' }); }
28
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AuditLogSettingsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
29
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AuditLogSettingsService, providedIn: 'root' }); }
30
30
  }
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: AuditLogSettingsService, decorators: [{
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AuditLogSettingsService, decorators: [{
32
32
  type: Injectable,
33
33
  args: [{
34
34
  providedIn: 'root',
@@ -141,10 +141,10 @@ class AuditLogsService {
141
141
  },
142
142
  }, { apiName: this.apiName, ...config });
143
143
  }
144
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: AuditLogsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
145
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: AuditLogsService, providedIn: 'root' }); }
144
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AuditLogsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
145
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AuditLogsService, providedIn: 'root' }); }
146
146
  }
147
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: AuditLogsService, decorators: [{
147
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: AuditLogsService, decorators: [{
148
148
  type: Injectable,
149
149
  args: [{
150
150
  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, inject } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class AuditLogSettingsService {\r\n private restService = inject(RestService);\r\n\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","import type {\r\n AuditLogDto,\r\n EntityChangeDto,\r\n EntityChangeFilter,\r\n EntityChangeWithUsernameDto,\r\n ExportAuditLogsInput,\r\n ExportAuditLogsOutput,\r\n ExportEntityChangesInput,\r\n ExportEntityChangesOutput,\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, inject } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class AuditLogsService {\r\n private restService = inject(RestService);\r\n\r\n apiName = 'AbpAuditLogging';\r\n\r\n downloadExcel = (fileName: string, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, Blob>(\r\n {\r\n method: 'GET',\r\n responseType: 'blob',\r\n url: `/api/audit-logging/audit-logs/download-excel/${fileName}`,\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n exportEntityChangesToExcel = (input: ExportEntityChangesInput, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, ExportEntityChangesOutput>(\r\n {\r\n method: 'GET',\r\n url: '/api/audit-logging/audit-logs/export-entity-changes-to-excel',\r\n params: {\r\n startDate: input.startDate,\r\n endDate: input.endDate,\r\n entityChangeType: input.entityChangeType,\r\n entityId: input.entityId,\r\n entityTypeFullName: input.entityTypeFullName,\r\n sorting: input.sorting,\r\n },\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n exportToExcel = (input: ExportAuditLogsInput, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, ExportAuditLogsOutput>(\r\n {\r\n method: 'GET',\r\n url: '/api/audit-logging/audit-logs/export-to-excel',\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 },\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\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","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;AAHpC,IAAA,WAAA,GAAA;AAIU,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;QAEzC,IAAA,CAAA,OAAO,GAAG,iBAAiB;QAE3B,IAAA,CAAA,GAAG,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;QAE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gBAChC,OAAO,EAAE,KAAK,CAAC,OAAO;gBACtB,SAAS,EAAE,KAAK,CAAC,SAAS;gBAC1B,cAAc,EAAE,KAAK,CAAC,cAAc;AACrC,aAAA;SACF,EACD,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,GAAG,MAAM,EAAE,CACrC;AACJ,IAAA;8GAnKY,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAhB,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,cAFf,MAAM,EAAA,CAAA,CAAA;;2FAEP,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAH5B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA;;;ICpBW;AAAZ,CAAA,UAAY,gBAAgB,EAAA;AAC1B,IAAA,gBAAA,CAAA,gBAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAW;AACX,IAAA,gBAAA,CAAA,gBAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAW;AACX,IAAA,gBAAA,CAAA,gBAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAW;AACb,CAAC,EAJW,gBAAgB,KAAhB,gBAAgB,GAAA,EAAA,CAAA,CAAA;MAMf,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, inject } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class AuditLogSettingsService {\r\n private restService = inject(RestService);\r\n\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","import type {\r\n AuditLogDto,\r\n EntityChangeDto,\r\n EntityChangeFilter,\r\n EntityChangeWithUsernameDto,\r\n ExportAuditLogsInput,\r\n ExportAuditLogsOutput,\r\n ExportEntityChangesInput,\r\n ExportEntityChangesOutput,\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, inject } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class AuditLogsService {\r\n private restService = inject(RestService);\r\n\r\n apiName = 'AbpAuditLogging';\r\n\r\n downloadExcel = (fileName: string, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, Blob>(\r\n {\r\n method: 'GET',\r\n responseType: 'blob',\r\n url: `/api/audit-logging/audit-logs/download-excel/${fileName}`,\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n exportEntityChangesToExcel = (input: ExportEntityChangesInput, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, ExportEntityChangesOutput>(\r\n {\r\n method: 'GET',\r\n url: '/api/audit-logging/audit-logs/export-entity-changes-to-excel',\r\n params: {\r\n startDate: input.startDate,\r\n endDate: input.endDate,\r\n entityChangeType: input.entityChangeType,\r\n entityId: input.entityId,\r\n entityTypeFullName: input.entityTypeFullName,\r\n sorting: input.sorting,\r\n },\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\r\n\r\n exportToExcel = (input: ExportAuditLogsInput, config?: Partial<Rest.Config>) =>\r\n this.restService.request<any, ExportAuditLogsOutput>(\r\n {\r\n method: 'GET',\r\n url: '/api/audit-logging/audit-logs/export-to-excel',\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 },\r\n },\r\n { apiName: this.apiName, ...config },\r\n );\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","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;AAHpC,IAAA,WAAA,GAAA;AAIU,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;QAEzC,IAAA,CAAA,OAAO,GAAG,iBAAiB;QAE3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