@volo/abp.ng.audit-logging 10.7.1 → 11.0.0-rc.2
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.
- package/fesm2022/volo-abp.ng.audit-logging-common.mjs +3 -3
- package/fesm2022/volo-abp.ng.audit-logging-config.mjs +22 -22
- package/fesm2022/volo-abp.ng.audit-logging-proxy.mjs +6 -6
- package/fesm2022/volo-abp.ng.audit-logging.mjs +27 -27
- package/fesm2022/volo-abp.ng.audit-logging.mjs.map +1 -1
- package/package.json +5 -5
- package/types/volo-abp.ng.audit-logging-config.d.ts +1 -1
- package/types/volo-abp.ng.audit-logging-proxy.d.ts +2 -2
- package/types/volo-abp.ng.audit-logging.d.ts +2 -2
|
@@ -54,10 +54,10 @@ class EntityChangeDetailsComponent {
|
|
|
54
54
|
const changeTypeLocalized = this.localization.instant('AbpAuditLogging::' + this.changeType);
|
|
55
55
|
return [changeTypeLocalized, timeAgo, this.userName];
|
|
56
56
|
}
|
|
57
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
58
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
57
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: EntityChangeDetailsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
58
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.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" }] }); }
|
|
59
59
|
}
|
|
60
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
60
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: EntityChangeDetailsComponent, decorators: [{
|
|
61
61
|
type: Component,
|
|
62
62
|
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"] }]
|
|
63
63
|
}], ctorParameters: () => [], propDecorators: { itemWithUserName: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemWithUserName", required: false }] }] } });
|
|
@@ -76,18 +76,18 @@ class AbstractAuditLogSettingsComponent {
|
|
|
76
76
|
date.setDate(date.getDate() - day);
|
|
77
77
|
return date;
|
|
78
78
|
}
|
|
79
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
80
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.
|
|
79
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: AbstractAuditLogSettingsComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
80
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.8", type: AbstractAuditLogSettingsComponent, isStandalone: true, inputs: { isTenant: { classPropertyName: "isTenant", publicName: "isTenant", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
|
|
81
81
|
}
|
|
82
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
82
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: AbstractAuditLogSettingsComponent, decorators: [{
|
|
83
83
|
type: Directive
|
|
84
84
|
}], propDecorators: { isTenant: [{ type: i0.Input, args: [{ isSignal: true, alias: "isTenant", required: false }] }] } });
|
|
85
85
|
|
|
86
86
|
class AuditLogSettingsGeneralComponent extends AbstractAuditLogSettingsComponent {
|
|
87
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
88
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
87
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: AuditLogSettingsGeneralComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
88
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.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]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NumberValueAccessor, selector: "input[type=number]:not([ngNoCva])[formControlName],input[type=number]:not([ngNoCva])[formControl],input[type=number]:not([ngNoCva])[ngModel]" }, { kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox]:not([ngNoCva])[formControlName],input[type=checkbox]:not([ngNoCva])[formControl],input[type=checkbox]:not([ngNoCva])[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 }); }
|
|
89
89
|
}
|
|
90
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
90
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: AuditLogSettingsGeneralComponent, decorators: [{
|
|
91
91
|
type: Component,
|
|
92
92
|
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" }]
|
|
93
93
|
}] });
|
|
@@ -97,10 +97,10 @@ class AuditLogSettingsGlobalComponent extends AbstractAuditLogSettingsComponent
|
|
|
97
97
|
super(...arguments);
|
|
98
98
|
this.globalTab = true;
|
|
99
99
|
}
|
|
100
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
101
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
100
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: AuditLogSettingsGlobalComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
101
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.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]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NumberValueAccessor, selector: "input[type=number]:not([ngNoCva])[formControlName],input[type=number]:not([ngNoCva])[formControl],input[type=number]:not([ngNoCva])[ngModel]" }, { kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox]:not([ngNoCva])[formControlName],input[type=checkbox]:not([ngNoCva])[formControl],input[type=checkbox]:not([ngNoCva])[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 }); }
|
|
102
102
|
}
|
|
103
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
103
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: AuditLogSettingsGlobalComponent, decorators: [{
|
|
104
104
|
type: Component,
|
|
105
105
|
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" }]
|
|
106
106
|
}] });
|
|
@@ -110,10 +110,10 @@ class AuditLogSettingsComponent {
|
|
|
110
110
|
this.sessionStateService = inject(SessionStateService);
|
|
111
111
|
this.isTenant = this.sessionStateService.getTenant()?.isAvailable;
|
|
112
112
|
}
|
|
113
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
114
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
113
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: AuditLogSettingsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
114
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.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" }] }); }
|
|
115
115
|
}
|
|
116
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
116
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: AuditLogSettingsComponent, decorators: [{
|
|
117
117
|
type: Component,
|
|
118
118
|
args: [{ selector: 'abp-audit-log-settings', imports: [
|
|
119
119
|
NgbNavModule,
|
|
@@ -129,10 +129,10 @@ class EntityChangeModalComponent {
|
|
|
129
129
|
this.history = [];
|
|
130
130
|
this.visible = false;
|
|
131
131
|
}
|
|
132
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
133
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
132
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: EntityChangeModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
133
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.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 }); }
|
|
134
134
|
}
|
|
135
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
135
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: EntityChangeModalComponent, decorators: [{
|
|
136
136
|
type: Component,
|
|
137
137
|
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" }]
|
|
138
138
|
}] });
|
|
@@ -171,10 +171,10 @@ class EntityChangeModalService {
|
|
|
171
171
|
this.detectChanges();
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
175
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.
|
|
174
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: EntityChangeModalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
175
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: EntityChangeModalService, providedIn: 'root' }); }
|
|
176
176
|
}
|
|
177
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
177
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: EntityChangeModalService, decorators: [{
|
|
178
178
|
type: Injectable,
|
|
179
179
|
args: [{
|
|
180
180
|
providedIn: 'root',
|
|
@@ -260,17 +260,17 @@ class AuditLoggingConfigModule {
|
|
|
260
260
|
providers: [provideAuditLoggingConfig()],
|
|
261
261
|
};
|
|
262
262
|
}
|
|
263
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
264
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.
|
|
263
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: AuditLoggingConfigModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
264
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.8", ngImport: i0, type: AuditLoggingConfigModule, imports: [CoreModule,
|
|
265
265
|
ThemeSharedModule,
|
|
266
266
|
EntityChangeDetailsComponent,
|
|
267
267
|
EntityChangeModalComponent], exports: [EntityChangeModalComponent] }); }
|
|
268
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.
|
|
268
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: AuditLoggingConfigModule, imports: [CoreModule,
|
|
269
269
|
ThemeSharedModule,
|
|
270
270
|
EntityChangeDetailsComponent,
|
|
271
271
|
EntityChangeModalComponent] }); }
|
|
272
272
|
}
|
|
273
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
273
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: AuditLoggingConfigModule, decorators: [{
|
|
274
274
|
type: NgModule,
|
|
275
275
|
args: [{
|
|
276
276
|
exports: [EntityChangeModalComponent],
|
|
@@ -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: "22.
|
|
29
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.
|
|
28
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: AuditLogSettingsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
29
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: AuditLogSettingsService, providedIn: 'root' }); }
|
|
30
30
|
}
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", 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: "22.
|
|
145
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.
|
|
144
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: AuditLogsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
145
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: AuditLogsService, providedIn: 'root' }); }
|
|
146
146
|
}
|
|
147
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
147
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: AuditLogsService, decorators: [{
|
|
148
148
|
type: Injectable,
|
|
149
149
|
args: [{
|
|
150
150
|
providedIn: 'root',
|
|
@@ -121,17 +121,17 @@ class EntityChangesComponent {
|
|
|
121
121
|
exportToExcel() {
|
|
122
122
|
handleExcelExport(this.auditLogsService.exportEntityChangesToExcel(this.form.value), this.injector);
|
|
123
123
|
}
|
|
124
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
125
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
124
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: EntityChangesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
125
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.8", type: EntityChangesComponent, isStandalone: true, selector: "abp-entity-changes", providers: [
|
|
126
126
|
ListService,
|
|
127
127
|
{
|
|
128
128
|
provide: EXTENSIONS_IDENTIFIER,
|
|
129
129
|
useValue: "AuditLogging.EntityChangesComponent" /* eAuditLoggingComponents.EntityChanges */,
|
|
130
130
|
},
|
|
131
131
|
{ provide: NgbDateAdapter, useClass: DateAdapter },
|
|
132
|
-
], ngImport: i0, template: "<div class=\"card\">\r\n <div class=\"card-body pb-lg-3\">\r\n <form [formGroup]=\"form\" (ngSubmit)=\"handleSubmit()\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12 col-lg-4 col-xxl-3\">\r\n <label class=\"form-label\">{{ 'AbpAuditLogging::ChangeTime' | abpLocalization }}</label>\r\n <abp-date-range-picker\r\n formControlName=\"times\"\r\n startDateProp=\"startDate\"\r\n endDateProp=\"endDate\"\r\n />\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <label class=\"form-label\" for=\"change-type\">{{\r\n 'AbpAuditLogging::ChangeType' | abpLocalization\r\n }}</label>\r\n <select\r\n id=\"change-type\"\r\n class=\"form-select form-control\"\r\n formControlName=\"entityChangeType\"\r\n (change)=\"handleSubmit()\"\r\n >\r\n <option [ngValue]=\"\"></option>\r\n @for (type of changeTypes; track type.key) {\r\n <option [ngValue]=\"type.value\">\r\n {{ 'AbpAuditLogging::' + type.key | abpLocalization }}\r\n </option>\r\n }\r\n </select>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <label class=\"form-label\" for=\"entity-type-full-name\">{{\r\n 'AbpAuditLogging::EntityId' | abpLocalization\r\n }}</label>\r\n <input id=\"entity-id\" type=\"text\" class=\"form-control\" formControlName=\"entityId\" />\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <label class=\"form-label\" for=\"entity-type-full-name\">{{\r\n 'AbpAuditLogging::EntityTypeFullName' | abpLocalization\r\n }}</label>\r\n <input\r\n id=\"entity-type-full-name\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n formControlName=\"entityTypeFullName\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"row justify-content-end\">\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mt-3 mb-lg-0 d-grid\">\r\n <button type=\"submit\" class=\"btn btn-primary\">\r\n <span>\r\n {{ 'AbpAuditLogging::Refresh' | abpLocalization }}\r\n </span>\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mt-3 mb-lg-0 d-grid\">\r\n <button\r\n type=\"button\"\r\n class=\"text-nowrap btn btn-outline-success\"\r\n (click)=\"exportToExcel()\"\r\n >\r\n <i class=\"fa fa-file-excel-o\" aria-hidden=\"true\"></i>\r\n <span>\r\n {{ 'AbpAuditLogging::ExportToExcel' | abpLocalization }}\r\n </span>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </form>\r\n </div>\r\n</div>\r\n<div class=\"card m-0\">\r\n <div class=\"card-body p-0\">\r\n <ngx-datatable default [rows]=\"data().items\" [count]=\"data().totalCount\" [list]=\"list\">\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::Detail' | abpLocalization\"\r\n [maxWidth]=\"150\"\r\n [width]=\"150\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" let-i=\"rowIndex\" ngx-datatable-cell-template>\r\n <abp-grid-actions [index]=\"i\" [record]=\"row\" text=\"AbpAuditLogging::Actions\" />\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::Time' | abpLocalization\"\r\n [width]=\"230\"\r\n prop=\"changeTime\"\r\n >\r\n <ng-template ngx-datatable-cell-template let-value=\"value\">\r\n {{ value | shortDateTime }}\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::ChangeType' | abpLocalization\"\r\n [width]=\"140\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n {{ 'AbpAuditLogging::' + changeType[row.changeType] | abpLocalization }}\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::TenantId' | abpLocalization\"\r\n [width]=\"150\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <div abpEllipsis>{{ row.tenantId }}</div>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::EntityId' | abpLocalization\"\r\n [width]=\"150\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <div abpEllipsis>{{ row.entityId }}</div>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::EntityTypeFullName' | abpLocalization\"\r\n [width]=\"150\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <div abpEllipsis>{{ row.entityTypeFullName }}</div>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n </ngx-datatable>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.SelectControlValueAccessor, selector: "select:not([multiple]):not([ngNoCva])[formControlName],select:not([multiple]):not([ngNoCva])[formControl],select:not([multiple]):not([ngNoCva])[ngModel]", inputs: ["compareWith"] }, { 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: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: NgxValidateCoreModule }, { kind: "directive", type: i2.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i2.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "ngmodule", type: NgxDatatableModule }, { kind: "component", type: i3.DatatableComponent, selector: "ngx-datatable", inputs: ["targetMarkerTemplate", "rows", "groupRowsBy", "groupedRows", "columns", "selected", "scrollbarV", "scrollbarVDynamic", "scrollbarH", "rowHeight", "columnMode", "headerHeight", "footerHeight", "externalPaging", "externalSorting", "limit", "count", "offset", "loadingIndicator", "ghostLoadingIndicator", "selectionType", "reorderable", "swapColumns", "sortType", "sorts", "cssClasses", "messages", "rowClass", "selectCheck", "displayCheck", "groupExpansionDefault", "trackByProp", "selectAllRowsOnPage", "virtualization", "treeFromRelation", "treeToRelation", "summaryRow", "summaryHeight", "summaryPosition", "disableRowCheck", "rowDraggable", "enableClearingSortState", "rowIdentity"], outputs: ["
|
|
132
|
+
], ngImport: i0, template: "<div class=\"card\">\r\n <div class=\"card-body pb-lg-3\">\r\n <form [formGroup]=\"form\" (ngSubmit)=\"handleSubmit()\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12 col-lg-4 col-xxl-3\">\r\n <label class=\"form-label\">{{ 'AbpAuditLogging::ChangeTime' | abpLocalization }}</label>\r\n <abp-date-range-picker\r\n formControlName=\"times\"\r\n startDateProp=\"startDate\"\r\n endDateProp=\"endDate\"\r\n />\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <label class=\"form-label\" for=\"change-type\">{{\r\n 'AbpAuditLogging::ChangeType' | abpLocalization\r\n }}</label>\r\n <select\r\n id=\"change-type\"\r\n class=\"form-select form-control\"\r\n formControlName=\"entityChangeType\"\r\n (change)=\"handleSubmit()\"\r\n >\r\n <option [ngValue]=\"\"></option>\r\n @for (type of changeTypes; track type.key) {\r\n <option [ngValue]=\"type.value\">\r\n {{ 'AbpAuditLogging::' + type.key | abpLocalization }}\r\n </option>\r\n }\r\n </select>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <label class=\"form-label\" for=\"entity-type-full-name\">{{\r\n 'AbpAuditLogging::EntityId' | abpLocalization\r\n }}</label>\r\n <input id=\"entity-id\" type=\"text\" class=\"form-control\" formControlName=\"entityId\" />\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <label class=\"form-label\" for=\"entity-type-full-name\">{{\r\n 'AbpAuditLogging::EntityTypeFullName' | abpLocalization\r\n }}</label>\r\n <input\r\n id=\"entity-type-full-name\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n formControlName=\"entityTypeFullName\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"row justify-content-end\">\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mt-3 mb-lg-0 d-grid\">\r\n <button type=\"submit\" class=\"btn btn-primary\">\r\n <span>\r\n {{ 'AbpAuditLogging::Refresh' | abpLocalization }}\r\n </span>\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mt-3 mb-lg-0 d-grid\">\r\n <button\r\n type=\"button\"\r\n class=\"text-nowrap btn btn-outline-success\"\r\n (click)=\"exportToExcel()\"\r\n >\r\n <i class=\"fa fa-file-excel-o\" aria-hidden=\"true\"></i>\r\n <span>\r\n {{ 'AbpAuditLogging::ExportToExcel' | abpLocalization }}\r\n </span>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </form>\r\n </div>\r\n</div>\r\n<div class=\"card m-0\">\r\n <div class=\"card-body p-0\">\r\n <ngx-datatable default [rows]=\"data().items\" [count]=\"data().totalCount\" [list]=\"list\">\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::Detail' | abpLocalization\"\r\n [maxWidth]=\"150\"\r\n [width]=\"150\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" let-i=\"rowIndex\" ngx-datatable-cell-template>\r\n <abp-grid-actions [index]=\"i\" [record]=\"row\" text=\"AbpAuditLogging::Actions\" />\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::Time' | abpLocalization\"\r\n [width]=\"230\"\r\n prop=\"changeTime\"\r\n >\r\n <ng-template ngx-datatable-cell-template let-value=\"value\">\r\n {{ value | shortDateTime }}\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::ChangeType' | abpLocalization\"\r\n [width]=\"140\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n {{ 'AbpAuditLogging::' + changeType[row.changeType] | abpLocalization }}\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::TenantId' | abpLocalization\"\r\n [width]=\"150\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <div abpEllipsis>{{ row.tenantId }}</div>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::EntityId' | abpLocalization\"\r\n [width]=\"150\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <div abpEllipsis>{{ row.entityId }}</div>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::EntityTypeFullName' | abpLocalization\"\r\n [width]=\"150\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <div abpEllipsis>{{ row.entityTypeFullName }}</div>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n </ngx-datatable>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.SelectControlValueAccessor, selector: "select:not([multiple]):not([ngNoCva])[formControlName],select:not([multiple]):not([ngNoCva])[formControl],select:not([multiple]):not([ngNoCva])[ngModel]", inputs: ["compareWith"] }, { 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: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: NgxValidateCoreModule }, { kind: "directive", type: i2.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i2.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "ngmodule", type: NgxDatatableModule }, { kind: "component", type: i3.DatatableComponent, selector: "ngx-datatable", inputs: ["targetMarkerTemplate", "rows", "groupRowsBy", "groupedRows", "columns", "selected", "scrollbarV", "scrollbarVDynamic", "scrollbarH", "rowHeight", "columnMode", "headerHeight", "footerHeight", "externalPaging", "externalSorting", "limit", "count", "offset", "loadingIndicator", "ghostLoadingIndicator", "selectionType", "reorderable", "swapColumns", "sortType", "sorts", "cssClasses", "messages", "rowClass", "selectCheck", "displayCheck", "groupExpansionDefault", "trackByProp", "selectAllRowsOnPage", "virtualization", "treeFromRelation", "treeToRelation", "summaryRow", "summaryHeight", "summaryPosition", "disableRowCheck", "rowDraggable", "enableClearingSortState", "checkRowListChanges", "checkRowPropertyChanges", "rowIdentity"], outputs: ["selectedChange", "offsetChange", "sortsChange", "scroll", "activate", "page", "reorder", "resize", "tableContextmenu", "treeAction", "rowDragEvents"] }, { kind: "directive", type: i3.DataTableColumnDirective, selector: "ngx-datatable-column", inputs: ["name", "prop", "bindAsUnsafeHtml", "frozenLeft", "frozenRight", "flexGrow", "resizeable", "comparator", "pipe", "sortable", "draggable", "canAutoResize", "minWidth", "width", "maxWidth", "checkboxable", "headerCheckboxable", "headerClass", "cellClass", "isTreeColumn", "treeLevelIndent", "summaryFunc", "summaryTemplate", "cellTemplate", "headerTemplate", "treeToggleTemplate", "ghostCellTemplate"] }, { kind: "directive", type: i3.DataTableColumnCellDirective, selector: "[ngx-datatable-cell-template]" }, { kind: "directive", type: EllipsisDirective, selector: "[abpEllipsis]", inputs: ["abpEllipsis", "title", "abpEllipsisEnabled"] }, { kind: "directive", type: NgxDatatableDefaultDirective, selector: "ngx-datatable[default]", inputs: ["class"], exportAs: ["ngxDatatableDefault"] }, { kind: "directive", type: NgxDatatableListDirective, selector: "ngx-datatable[list]", inputs: ["list"], exportAs: ["ngxDatatableList"] }, { kind: "component", type: DateRangePickerComponent, selector: "abp-date-range-picker", inputs: ["startDateProp", "endDateProp", "labelText"] }, { kind: "component", type: GridActionsComponent, selector: "abp-grid-actions", inputs: ["icon", "index", "text"], exportAs: ["abpGridActions"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }, { kind: "pipe", type: ShortDateTimePipe, name: "shortDateTime" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
133
133
|
}
|
|
134
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
134
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: EntityChangesComponent, decorators: [{
|
|
135
135
|
type: Component,
|
|
136
136
|
args: [{ selector: 'abp-entity-changes', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
137
137
|
ListService,
|
|
@@ -245,8 +245,8 @@ class AuditLogsComponent {
|
|
|
245
245
|
exportToExcel() {
|
|
246
246
|
handleExcelExport(this.service.exportToExcel(this.pageQuery), this.injector);
|
|
247
247
|
}
|
|
248
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
249
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
248
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: AuditLogsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
249
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.8", type: AuditLogsComponent, isStandalone: true, selector: "abp-audit-logs", providers: [
|
|
250
250
|
ListService,
|
|
251
251
|
{
|
|
252
252
|
provide: EXTENSIONS_IDENTIFIER,
|
|
@@ -255,7 +255,7 @@ class AuditLogsComponent {
|
|
|
255
255
|
{ provide: NgbDateAdapter, useClass: DateAdapter },
|
|
256
256
|
], ngImport: i0, template: "<div id=\"wrapper\">\r\n <abp-page [title]=\"'AbpAuditLogging::AuditLogs' | abpLocalization\" [toolbar]=\"data().items\">\r\n <div ngTabs>\r\n <ul ngTabList class=\"nav nav-tabs\" [(selectedTab)]=\"selectedTab\">\r\n <li class=\"nav-item\">\r\n <button\r\n ngTab\r\n value=\"audit-logs\"\r\n class=\"nav-link\"\r\n [class.active]=\"selectedTab === 'audit-logs'\"\r\n >\r\n {{ 'AbpAuditLogging::AuditLogs' | abpLocalization }}\r\n </button>\r\n </li>\r\n <li class=\"nav-item\">\r\n <button\r\n ngTab\r\n value=\"entity-changes\"\r\n class=\"nav-link\"\r\n [class.active]=\"selectedTab === 'entity-changes'\"\r\n >\r\n {{ 'AbpAuditLogging::EntityChanges' | abpLocalization }}\r\n </button>\r\n </li>\r\n </ul>\r\n <div\r\n ngTabPanel\r\n value=\"audit-logs\"\r\n class=\"tab-content\"\r\n [class.p-0]=\"selectedTab !== 'audit-logs'\"\r\n >\r\n <div class=\"tab-pane fade-in\" [class.active]=\"selectedTab === 'audit-logs'\">\r\n <div class=\"card mb-0\">\r\n <div class=\"card-body pb-lg-3\">\r\n <form (keyup.enter)=\"list.get()\">\r\n <div class=\"row\">\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{\r\n 'AbpAuditLogging::StartDate' | abpLocalization\r\n }}</label>\r\n <abp-datetime-picker\r\n [(ngModel)]=\"pageQuery.startTime\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{\r\n 'AbpAuditLogging::EndDate' | abpLocalization\r\n }}</label>\r\n <abp-datetime-picker\r\n [(ngModel)]=\"pageQuery.endTime\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3\">\r\n <label for=\"userName\" class=\"form-label\">{{\r\n 'AbpAuditLogging::UserName' | abpLocalization\r\n }}</label>\r\n <input\r\n id=\"userName\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"pageQuery.userName\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"url\">{{\r\n 'AbpAuditLogging::Url' | abpLocalization\r\n }}</label>\r\n <input\r\n id=\"url\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"pageQuery.url\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3\">\r\n <label for=\"minDuration\" class=\"form-label\">{{\r\n 'AbpAuditLogging::MinDuration' | abpLocalization\r\n }}</label>\r\n <input\r\n id=\"minDuration\"\r\n type=\"number\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"pageQuery.minExecutionDuration\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3\">\r\n <label for=\"maxDuration\" class=\"form-label\">{{\r\n 'AbpAuditLogging::MaxDuration' | abpLocalization\r\n }}</label>\r\n <input\r\n id=\"maxDuration\"\r\n type=\"number\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"pageQuery.maxExecutionDuration\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3\">\r\n <label for=\"httpMethod\" class=\"form-label\">{{\r\n 'AbpAuditLogging::HttpMethod' | abpLocalization\r\n }}</label>\r\n <select\r\n id=\"httpMethod\"\r\n class=\"form-select form-control\"\r\n [(ngModel)]=\"pageQuery.httpMethod\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n (change)=\"list.get()\"\r\n >\r\n <option [ngValue]=\"null\">-</option>\r\n @for (method of httpMethods; track $index) {\r\n <option [ngValue]=\"method\">\r\n {{ method }}\r\n </option>\r\n }\r\n </select>\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3\">\r\n <label for=\"httpStatusCode\" class=\"form-label\">{{\r\n 'AbpAuditLogging::HttpStatusCode' | abpLocalization\r\n }}</label>\r\n <select\r\n id=\"httpStatusCode\"\r\n class=\"form-select form-control\"\r\n [(ngModel)]=\"pageQuery.httpStatusCode\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n (change)=\"list.get()\"\r\n >\r\n <option [ngValue]=\"null\">-</option>\r\n @for (h of httpStatusCodes; track $index) {\r\n <option [ngValue]=\"h.code\">{{ h.code }} - {{ h.message }}</option>\r\n }\r\n </select>\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3 mb-lg-0\">\r\n <label for=\"applicationName\" class=\"form-label\">{{\r\n 'AbpAuditLogging::ApplicationName' | abpLocalization\r\n }}</label>\r\n <input\r\n id=\"applicationName\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"pageQuery.applicationName\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3 mb-lg-0\">\r\n <label for=\"correlationId\" class=\"form-label\">{{\r\n 'AbpAuditLogging::ClientIpAddress' | abpLocalization\r\n }}</label>\r\n <input\r\n id=\"clientIpAddress\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"pageQuery.clientIpAddress\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3 mb-lg-0\">\r\n <label for=\"correlationId\" class=\"form-label\">{{\r\n 'AbpAuditLogging::CorrelationId' | abpLocalization\r\n }}</label>\r\n <input\r\n id=\"correlationId\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"pageQuery.correlationId\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3 mb-lg-0\">\r\n <label for=\"hasException\" class=\"form-label\">{{\r\n 'AbpAuditLogging::HasException' | abpLocalization\r\n }}</label>\r\n <select\r\n name=\"hasException\"\r\n id=\"hasException\"\r\n class=\"form-select form-control\"\r\n [(ngModel)]=\"pageQuery.hasException\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n (change)=\"list.get()\"\r\n >\r\n <option [ngValue]=\"null\">-</option>\r\n <option [ngValue]=\"true\">\r\n {{ 'AbpAuditLogging::Yes' | abpLocalization }}\r\n </option>\r\n <option [ngValue]=\"false\">\r\n {{ 'AbpAuditLogging::No' | abpLocalization }}\r\n </option>\r\n </select>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row justify-content-end\">\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mt-3 mb-lg-0 d-grid\">\r\n <button type=\"button\" class=\"btn btn-primary\" (click)=\"list.get()\">\r\n <span>\r\n {{ 'AbpAuditLogging::Refresh' | abpLocalization }}\r\n </span>\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mt-3 mb-lg-0 d-grid\">\r\n <button\r\n type=\"button\"\r\n class=\"text-nowrap btn btn-outline-success\"\r\n (click)=\"exportToExcel()\"\r\n >\r\n <i class=\"fa fa-file-excel-o\" aria-hidden=\"true\"></i>\r\n <span>\r\n {{ 'AbpAuditLogging::ExportToExcel' | abpLocalization }}\r\n </span>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </form>\r\n </div>\r\n </div>\r\n <div class=\"card mb-0\">\r\n <div class=\"card-body p-0\">\r\n <abp-extensible-table\r\n [data]=\"data().items\"\r\n [recordsTotal]=\"data().totalCount\"\r\n [list]=\"list\"\r\n />\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div\r\n ngTabPanel\r\n value=\"entity-changes\"\r\n class=\"tab-content\"\r\n [class.p-0]=\"selectedTab !== 'entity-changes'\"\r\n >\r\n <div class=\"tab-pane fade-in\" [class.active]=\"selectedTab === 'entity-changes'\">\r\n @if (selectedTab === 'entity-changes') {\r\n <abp-entity-changes />\r\n }\r\n </div>\r\n </div>\r\n </div>\r\n </abp-page>\r\n</div>\r\n\r\n@if (selected) {\r\n <abp-modal [(visible)]=\"modalVisible\" [options]=\"{ size: 'xl' }\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">\r\n {{ 'AbpAuditLogging::Detail' | abpLocalization }}\r\n </h5>\r\n </ng-template>\r\n <ng-template #abpBody>\r\n <ul ngbNav #nav=\"ngbNav\" class=\"nav-tabs\">\r\n <li ngbNavItem>\r\n <a ngbNavLink>{{ 'AbpAuditLogging::Overall' | abpLocalization }}</a>\r\n <ng-template ngbNavContent>\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::HttpStatusCode' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n <span class=\"badge\" [class]=\"httpCodeClass(selected.httpStatusCode)\">{{\r\n selected.httpStatusCode\r\n }}</span>\r\n </div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::HttpMethod' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n <span class=\"badge\" [class]=\"httpMethodClass(selected.httpMethod)\">{{\r\n selected.httpMethod\r\n }}</span>\r\n </div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::Url' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.url }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::ClientIpAddress' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.clientIpAddress }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::ClientName' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.clientName }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::Exceptions' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n @if (selected.exceptions) {\r\n <pre lang=\"c-sharp\">\r\n {{ selected.exceptions }}\r\n </pre>\r\n }\r\n </div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::UserName' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.userName }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n @if (selected.impersonatorTenantId) {\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::TenantImpersonator' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n {{ selected.impersonatorTenantName || selected.impersonatorTenantId }}\r\n </div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n }\r\n @if (selected.impersonatorUserId) {\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::UserImpersonator' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n @if (selected.impersonatorUserName) {\r\n {{ selected.impersonatorUserName }} ({{ selected.impersonatorUserId }})\r\n } @else {\r\n {{ selected.impersonatorUserId }}\r\n }\r\n </div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n }\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::Time' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n {{ selected.executionTime | shortDateTime }}\r\n </div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::Duration' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.executionDuration }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::BrowserInfo' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.browserInfo }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::ApplicationName' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.applicationName }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::CorrelationId' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.correlationId }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::Comments' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.comments }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::ExtraProperties' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n <pre lang=\"json\" class=\"p-2\">\r\n {{ selected.extraProperties | json }}\r\n </pre>\r\n </div>\r\n </div>\r\n </ng-template>\r\n </li>\r\n <li ngbNavItem>\r\n <a ngbNavLink>\r\n {{ 'AbpAuditLogging::Actions' | abpLocalization }} ({{ selected.actions.length }})\r\n </a>\r\n <ng-template ngbNavContent>\r\n <div class=\"table-responsive\">\r\n <table class=\"table table-striped\">\r\n <thead>\r\n <tr>\r\n <th>{{ 'AbpAuditLogging::Actions' | abpLocalization }}</th>\r\n <th>{{ 'AbpAuditLogging::Duration' | abpLocalization }}</th>\r\n <th>{{ 'AbpAuditLogging::Parameters' | abpLocalization }}</th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n @for (action of selected.actions; track action.id) {\r\n <tr>\r\n <td>\r\n <span\r\n class=\"text-truncate d-block\"\r\n [title]=\"action.serviceName + ' - ' + action.methodName\"\r\n >\r\n {{ action.serviceName }} - {{ action.methodName }}\r\n </span>\r\n </td>\r\n <td>{{ action.executionDuration }}</td>\r\n <td>\r\n <pre lang=\"json\" class=\"p-2\">{{ action.parameters }}</pre>\r\n </td>\r\n </tr>\r\n }\r\n </tbody>\r\n </table>\r\n </div>\r\n </ng-template>\r\n </li>\r\n @if (selected.entityChanges.length) {\r\n <li ngbNavItem>\r\n <a ngbNavLink>\r\n {{ 'AbpAuditLogging::Changes' | abpLocalization }} ({{\r\n selected.entityChanges.length\r\n }})\r\n </a>\r\n <ng-template ngbNavContent>\r\n @for (change of selected.entityChanges; track change.id) {\r\n <abp-entity-change-details [itemWithUserName]=\"getEntityChangeDetails(change)\" />\r\n }\r\n </ng-template>\r\n </li>\r\n }\r\n </ul>\r\n <div [ngbNavOutlet]=\"nav\"></div>\r\n </ng-template>\r\n <ng-template #abpFooter>\r\n <button class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpAuditLogging::Close' | abpLocalization }}\r\n </button>\r\n </ng-template>\r\n </abp-modal>\r\n}\r\n", styles: [".fade-in{animation:fadeIn .35s ease both}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NumberValueAccessor, selector: "input[type=number]:not([ngNoCva])[formControlName],input[type=number]:not([ngNoCva])[formControl],input[type=number]:not([ngNoCva])[ngModel]" }, { kind: "directive", type: i1.SelectControlValueAccessor, selector: "select:not([multiple]):not([ngNoCva])[formControlName],select:not([multiple]):not([ngNoCva])[formControl],select:not([multiple]):not([ngNoCva])[ngModel]", inputs: ["compareWith"] }, { 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.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i1.NgForm, selector: "form:not([ngNoForm]):not([formGroup]):not([formArray]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: NgbNav, selector: "[ngbNav]", inputs: ["activeId", "animation", "destroyOnHide", "orientation", "roles", "keyboard"], outputs: ["activeIdChange", "shown", "hidden", "navChange"], exportAs: ["ngbNav"] }, { kind: "directive", type: NgbNavItem, selector: "[ngbNavItem]", inputs: ["destroyOnHide", "disabled", "domId", "ngbNavItem"], outputs: ["shown", "hidden"], exportAs: ["ngbNavItem"] }, { kind: "directive", type: NgbNavItemRole, selector: "[ngbNavItem]:not(ng-container)" }, { kind: "directive", type: NgbNavLink, selector: "a[ngbNavLink]" }, { kind: "directive", type: NgbNavLinkBase, selector: "[ngbNavLink]" }, { kind: "directive", type: NgbNavContent, selector: "ng-template[ngbNavContent]" }, { kind: "component", type: NgbNavOutlet, selector: "[ngbNavOutlet]", inputs: ["paneRole", "ngbNavOutlet"] }, { kind: "directive", type: ModalCloseDirective, selector: "[abpClose]" }, { kind: "component", type: DatetimePickerComponent, selector: "abp-datetime-picker" }, { kind: "component", type: ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate", "selectable", "selectionType", "selected", "infiniteScroll", "isLoading", "scrollThreshold", "tableHeight", "rowDetailTemplate", "rowDetailHeight"], outputs: ["tableActivate", "selectionChange", "loadMore", "rowDetailToggle"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: EntityChangesComponent, selector: "abp-entity-changes" }, { kind: "component", type: EntityChangeDetailsComponent, selector: "abp-entity-change-details", inputs: ["itemWithUserName"] }, { kind: "component", type: PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "component", type: ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: Tabs, selector: "[ngTabs]", exportAs: ["ngTabs"] }, { kind: "directive", type: TabList, selector: "[ngTabList]", inputs: ["orientation", "wrap", "softDisabled", "focusMode", "selectionMode", "selectedTab", "disabled"], outputs: ["selectedTabChange"], exportAs: ["ngTabList"] }, { kind: "directive", type: Tab, selector: "[ngTab]", inputs: ["id", "disabled", "value"], exportAs: ["ngTab"] }, { kind: "directive", type: TabPanel, selector: "[ngTabPanel]", inputs: ["id", "value"], exportAs: ["ngTabPanel"] }, { kind: "pipe", type: JsonPipe, name: "json" }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }, { kind: "pipe", type: ShortDateTimePipe, name: "shortDateTime" }] }); }
|
|
257
257
|
}
|
|
258
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
258
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: AuditLogsComponent, decorators: [{
|
|
259
259
|
type: Component,
|
|
260
260
|
args: [{ selector: 'abp-audit-logs', providers: [
|
|
261
261
|
ListService,
|
|
@@ -300,10 +300,10 @@ class AuditLoggingGuard {
|
|
|
300
300
|
canActivate() {
|
|
301
301
|
return this.auditLoggingFeatures.pipe(map(features => features.enable));
|
|
302
302
|
}
|
|
303
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
304
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.
|
|
303
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: AuditLoggingGuard, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
304
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: AuditLoggingGuard }); }
|
|
305
305
|
}
|
|
306
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
306
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: AuditLoggingGuard, decorators: [{
|
|
307
307
|
type: Injectable
|
|
308
308
|
}] });
|
|
309
309
|
const auditLoggingGuard = () => {
|
|
@@ -451,11 +451,11 @@ const routes = [
|
|
|
451
451
|
},
|
|
452
452
|
];
|
|
453
453
|
class AuditLoggingRoutingModule {
|
|
454
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
455
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.
|
|
456
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.
|
|
454
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: AuditLoggingRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
455
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.8", ngImport: i0, type: AuditLoggingRoutingModule, imports: [i1$1.RouterModule], exports: [RouterModule] }); }
|
|
456
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: AuditLoggingRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] }); }
|
|
457
457
|
}
|
|
458
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
458
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: AuditLoggingRoutingModule, decorators: [{
|
|
459
459
|
type: NgModule,
|
|
460
460
|
args: [{
|
|
461
461
|
imports: [RouterModule.forChild(routes)],
|
|
@@ -508,8 +508,8 @@ class AverageExecutionDurationWidgetComponent {
|
|
|
508
508
|
});
|
|
509
509
|
this.chart()?.reinit();
|
|
510
510
|
}
|
|
511
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
512
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.
|
|
511
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: AverageExecutionDurationWidgetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
512
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.8", type: AverageExecutionDurationWidgetComponent, isStandalone: true, selector: "abp-average-execution-duration-widget", inputs: { width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { initialized: "initialized" }, viewQueries: [{ propertyName: "chart", first: true, predicate: ChartComponent, descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
513
513
|
<div *abpPermission="'AuditLogging.AuditLogs'" class="abp-widget-wrapper">
|
|
514
514
|
<div class="card">
|
|
515
515
|
<div class="card-header">
|
|
@@ -533,7 +533,7 @@ class AverageExecutionDurationWidgetComponent {
|
|
|
533
533
|
</div>
|
|
534
534
|
`, isInline: true, dependencies: [{ kind: "component", type: ChartComponent, selector: "abp-chart", inputs: ["type", "data", "options", "plugins", "width", "height", "responsive"], outputs: ["dataSelect", "initialized"], exportAs: ["abpChart"] }, { kind: "directive", type: PermissionDirective, selector: "[abpPermission]", inputs: ["abpPermission", "abpPermissionRunChangeDetection"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }, { kind: "pipe", type: FormatValuePipe, name: "formatValue" }] }); }
|
|
535
535
|
}
|
|
536
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
536
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: AverageExecutionDurationWidgetComponent, decorators: [{
|
|
537
537
|
type: Component,
|
|
538
538
|
args: [{
|
|
539
539
|
selector: 'abp-average-execution-duration-widget',
|
|
@@ -610,8 +610,8 @@ class ErrorRateWidgetComponent {
|
|
|
610
610
|
});
|
|
611
611
|
this.chart()?.reinit();
|
|
612
612
|
}
|
|
613
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
614
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.
|
|
613
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: ErrorRateWidgetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
614
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.8", type: ErrorRateWidgetComponent, isStandalone: true, selector: "abp-error-rate-widget", inputs: { width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { initialized: "initialized" }, viewQueries: [{ propertyName: "chart", first: true, predicate: ChartComponent, descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
615
615
|
<div *abpPermission="'AuditLogging.AuditLogs'" class="abp-widget-wrapper">
|
|
616
616
|
<div class="card">
|
|
617
617
|
<div class="card-header">
|
|
@@ -635,7 +635,7 @@ class ErrorRateWidgetComponent {
|
|
|
635
635
|
</div>
|
|
636
636
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ChartModule }, { kind: "component", type: i1$2.ChartComponent, selector: "abp-chart", inputs: ["type", "data", "options", "plugins", "width", "height", "responsive"], outputs: ["dataSelect", "initialized"], exportAs: ["abpChart"] }, { kind: "directive", type: PermissionDirective, selector: "[abpPermission]", inputs: ["abpPermission", "abpPermissionRunChangeDetection"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }, { kind: "pipe", type: FormatValuePipe, name: "formatValue" }] }); }
|
|
637
637
|
}
|
|
638
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
638
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: ErrorRateWidgetComponent, decorators: [{
|
|
639
639
|
type: Component,
|
|
640
640
|
args: [{
|
|
641
641
|
selector: 'abp-error-rate-widget',
|
|
@@ -698,8 +698,8 @@ class AuditLoggingModule {
|
|
|
698
698
|
static forLazy(options = {}) {
|
|
699
699
|
return new LazyModuleFactory(AuditLoggingModule.forChild(options));
|
|
700
700
|
}
|
|
701
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
702
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.
|
|
701
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: AuditLoggingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
702
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.8", ngImport: i0, type: AuditLoggingModule, imports: [AuditLoggingRoutingModule,
|
|
703
703
|
CoreModule,
|
|
704
704
|
CommercialUiModule,
|
|
705
705
|
ThemeSharedModule,
|
|
@@ -715,7 +715,7 @@ class AuditLoggingModule {
|
|
|
715
715
|
EntityChangesComponent,
|
|
716
716
|
ErrorRateWidgetComponent,
|
|
717
717
|
AverageExecutionDurationWidgetComponent] }); }
|
|
718
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.
|
|
718
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: AuditLoggingModule, imports: [AuditLoggingRoutingModule,
|
|
719
719
|
CoreModule,
|
|
720
720
|
CommercialUiModule,
|
|
721
721
|
ThemeSharedModule,
|
|
@@ -726,7 +726,7 @@ class AuditLoggingModule {
|
|
|
726
726
|
DatetimePickerComponent,
|
|
727
727
|
EntityChangeDetailsComponent, declarations] }); }
|
|
728
728
|
}
|
|
729
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
729
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: AuditLoggingModule, decorators: [{
|
|
730
730
|
type: NgModule,
|
|
731
731
|
args: [{
|
|
732
732
|
exports: [...declarations],
|
|
@@ -766,10 +766,10 @@ class AuditLoggingExtensionsGuard {
|
|
|
766
766
|
mergeWithDefaultProps(extensions.entityProps, DEFAULT_AUDIT_LOGGING_ENTITY_PROPS, objectExtensionContributors.prop, propContributors);
|
|
767
767
|
}), map(() => true));
|
|
768
768
|
}
|
|
769
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
770
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.
|
|
769
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: AuditLoggingExtensionsGuard, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
770
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: AuditLoggingExtensionsGuard }); }
|
|
771
771
|
}
|
|
772
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
772
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.8", ngImport: i0, type: AuditLoggingExtensionsGuard, decorators: [{
|
|
773
773
|
type: Injectable
|
|
774
774
|
}] });
|
|
775
775
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"volo-abp.ng.audit-logging.mjs","sources":["../../../../packages/audit-logging/src/lib/constants/http.ts","../../../../packages/audit-logging/src/lib/components/entity-change/entity-changes.component.ts","../../../../packages/audit-logging/src/lib/components/entity-change/entity-changes.component.html","../../../../packages/audit-logging/src/lib/components/audit-logs/audit-logs.component.ts","../../../../packages/audit-logging/src/lib/components/audit-logs/audit-logs.component.html","../../../../packages/audit-logging/src/lib/guards/audit-logging.guard.ts","../../../../packages/audit-logging/src/lib/tokens/entity-details.token.ts","../../../../packages/audit-logging/src/lib/defaults/default-audit-logs-entity-actions.ts","../../../../packages/audit-logging/src/lib/defaults/default-audit-logs-entity-props.ts","../../../../packages/audit-logging/src/lib/defaults/default-audit-logs-toolbar-actions.ts","../../../../packages/audit-logging/src/lib/defaults/default-entity-changes-entity-actions.ts","../../../../packages/audit-logging/src/lib/tokens/extensions.token.ts","../../../../packages/audit-logging/src/lib/resolvers/extensions.resolver.ts","../../../../packages/audit-logging/src/lib/audit-logging-routing.module.ts","../../../../packages/audit-logging/src/lib/components/widgets/average-execution-duration-widget.component.ts","../../../../packages/audit-logging/src/lib/components/widgets/error-rate-widget.component.ts","../../../../packages/audit-logging/src/lib/audit-logging.module.ts","../../../../packages/audit-logging/src/lib/guards/extensions.guard.ts","../../../../packages/audit-logging/src/lib/audit-logging.routes.ts","../../../../packages/audit-logging/src/lib/enums/entity-change.ts","../../../../packages/audit-logging/src/volo-abp.ng.audit-logging.ts"],"sourcesContent":["export const HTTP_METHODS = ['GET', 'POST', 'DELETE', 'PUT', 'HEAD', 'CONNECT', 'OPTIONS', 'TRACE'];\r\n\r\nexport const HTTP_STATUS_CODES = [\r\n { code: 100, message: 'Continue' },\r\n { code: 101, message: 'Switching protocols' },\r\n { code: 102, message: 'Processing' },\r\n { code: 103, message: 'Early hints' },\r\n { code: 200, message: 'OK' },\r\n { code: 201, message: 'Created' },\r\n { code: 202, message: 'Accepted' },\r\n { code: 203, message: 'Non-authoritative information' },\r\n { code: 204, message: 'No content' },\r\n { code: 205, message: 'Reset content' },\r\n { code: 206, message: 'Partial content' },\r\n { code: 207, message: 'Multi-status' },\r\n { code: 208, message: 'Already registered' },\r\n { code: 226, message: 'I am used' },\r\n { code: 300, message: 'Multiple choices' },\r\n { code: 301, message: 'Moved permanently' },\r\n { code: 302, message: 'Found' },\r\n { code: 303, message: 'See other' },\r\n { code: 304, message: 'Not modified' },\r\n { code: 305, message: 'Use proxy' },\r\n { code: 306, message: 'Switch proxy' },\r\n { code: 307, message: 'Temporary redirect' },\r\n { code: 308, message: 'Permanent redirect' },\r\n { code: 400, message: 'Bad request' },\r\n { code: 401, message: 'Unauthorized' },\r\n { code: 402, message: 'Payment required' },\r\n { code: 403, message: 'Forbidden' },\r\n { code: 404, message: 'Not Found' },\r\n { code: 405, message: 'Method not allowed' },\r\n { code: 406, message: 'Not acceptable' },\r\n { code: 407, message: 'Proxy authentication required' },\r\n { code: 408, message: 'Request timeout' },\r\n { code: 409, message: 'Conflict' },\r\n { code: 410, message: 'Gone' },\r\n { code: 411, message: 'Length required' },\r\n { code: 412, message: 'Precondition failed' },\r\n { code: 413, message: 'Payload too large' },\r\n { code: 414, message: 'Request-URI too long' },\r\n { code: 415, message: 'Unsupported media type' },\r\n { code: 416, message: 'Requested range not satisfiable' },\r\n { code: 417, message: 'Expectation failed' },\r\n { code: 421, message: 'Misdirected request' },\r\n { code: 423, message: 'Locked' },\r\n { code: 424, message: 'Failed dependency' },\r\n { code: 426, message: 'Upgrade required' },\r\n { code: 428, message: 'Precondition required' },\r\n { code: 429, message: 'Too many requests' },\r\n { code: 431, message: 'Request header fields too large' },\r\n { code: 451, message: 'Unavailable for legal reasons' },\r\n { code: 500, message: 'Internal server error' },\r\n { code: 501, message: 'Not implemented' },\r\n { code: 502, message: 'Bad gateway' },\r\n { code: 503, message: 'Service unavailable' },\r\n { code: 504, message: 'Gateway timeout' },\r\n { code: 505, message: 'HTTP version not supported' },\r\n { code: 506, message: 'Variant also negotiates' },\r\n { code: 507, message: 'Insufficient storage' },\r\n { code: 508, message: 'Loop detected' },\r\n { code: 510, message: 'Not extended' },\r\n { code: 511, message: 'Network authentication required' },\r\n];\r\n","import { AfterViewInit, ChangeDetectionStrategy, Component, inject, Injector } from '@angular/core';\r\nimport { toSignal } from '@angular/core/rxjs-interop';\r\nimport { UntypedFormBuilder, FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { NgbDateAdapter } from '@ng-bootstrap/ng-bootstrap';\r\nimport { NgxValidateCoreModule } from '@ngx-validate/core';\r\nimport { NgxDatatableModule } from '@swimlane/ngx-datatable';\r\nimport {\r\n ListService,\r\n LocalizationPipe,\r\n mapEnumToOptions,\r\n PagedResultDto,\r\n ShortDateTimePipe,\r\n} from '@abp/ng.core';\r\nimport { EXTENSIONS_IDENTIFIER, GridActionsComponent } from '@abp/ng.components/extensible';\r\nimport {\r\n DateAdapter,\r\n EllipsisDirective,\r\n NgxDatatableDefaultDirective,\r\n NgxDatatableListDirective,\r\n} from '@abp/ng.theme.shared';\r\nimport { DateRangePickerComponent } from '@volo/abp.commercial.ng.ui';\r\nimport {\r\n AuditLogsService,\r\n EntityChangeDto,\r\n EntityChangeType,\r\n} from '@volo/abp.ng.audit-logging/proxy';\r\nimport { handleExcelExport } from '@volo/abp.ng.audit-logging/common';\r\nimport { eAuditLoggingComponents } from '../../enums/components';\r\n\r\n@Component({\r\n selector: 'abp-entity-changes',\r\n templateUrl: './entity-changes.component.html',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n providers: [\r\n ListService,\r\n {\r\n provide: EXTENSIONS_IDENTIFIER,\r\n useValue: eAuditLoggingComponents.EntityChanges,\r\n },\r\n { provide: NgbDateAdapter, useClass: DateAdapter },\r\n ],\r\n imports: [\r\n FormsModule,\r\n ReactiveFormsModule,\r\n NgxValidateCoreModule,\r\n NgxDatatableModule,\r\n EllipsisDirective,\r\n NgxDatatableDefaultDirective,\r\n NgxDatatableListDirective,\r\n LocalizationPipe,\r\n ShortDateTimePipe,\r\n DateRangePickerComponent,\r\n GridActionsComponent,\r\n ],\r\n})\r\nexport class EntityChangesComponent implements AfterViewInit {\r\n protected readonly fb = inject(UntypedFormBuilder);\r\n protected readonly auditLogsService = inject(AuditLogsService);\r\n public readonly list = inject(ListService);\r\n public readonly injector = inject(Injector);\r\n\r\n readonly data = toSignal(\r\n this.list.hookToQuery(query => {\r\n const value = {\r\n ...this.form.value,\r\n ...this.form.value.times,\r\n };\r\n return this.auditLogsService.getEntityChanges({ ...value, ...query });\r\n }),\r\n {\r\n initialValue: { items: [], totalCount: 0 } as PagedResultDto<EntityChangeDto>,\r\n },\r\n );\r\n changeType = EntityChangeType;\r\n changeTypes = mapEnumToOptions(EntityChangeType);\r\n form = this.fb.group({\r\n entityChangeType: [''],\r\n entityTypeFullName: [''],\r\n times: [{}],\r\n entityId: [''],\r\n });\r\n\r\n ngAfterViewInit() {\r\n this.list.get();\r\n }\r\n\r\n handleSubmit() {\r\n this.list.get();\r\n }\r\n\r\n exportToExcel() {\r\n handleExcelExport(\r\n this.auditLogsService.exportEntityChangesToExcel(this.form.value),\r\n this.injector,\r\n );\r\n }\r\n}\r\n","<div class=\"card\">\r\n <div class=\"card-body pb-lg-3\">\r\n <form [formGroup]=\"form\" (ngSubmit)=\"handleSubmit()\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12 col-lg-4 col-xxl-3\">\r\n <label class=\"form-label\">{{ 'AbpAuditLogging::ChangeTime' | abpLocalization }}</label>\r\n <abp-date-range-picker\r\n formControlName=\"times\"\r\n startDateProp=\"startDate\"\r\n endDateProp=\"endDate\"\r\n />\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <label class=\"form-label\" for=\"change-type\">{{\r\n 'AbpAuditLogging::ChangeType' | abpLocalization\r\n }}</label>\r\n <select\r\n id=\"change-type\"\r\n class=\"form-select form-control\"\r\n formControlName=\"entityChangeType\"\r\n (change)=\"handleSubmit()\"\r\n >\r\n <option [ngValue]=\"\"></option>\r\n @for (type of changeTypes; track type.key) {\r\n <option [ngValue]=\"type.value\">\r\n {{ 'AbpAuditLogging::' + type.key | abpLocalization }}\r\n </option>\r\n }\r\n </select>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <label class=\"form-label\" for=\"entity-type-full-name\">{{\r\n 'AbpAuditLogging::EntityId' | abpLocalization\r\n }}</label>\r\n <input id=\"entity-id\" type=\"text\" class=\"form-control\" formControlName=\"entityId\" />\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <label class=\"form-label\" for=\"entity-type-full-name\">{{\r\n 'AbpAuditLogging::EntityTypeFullName' | abpLocalization\r\n }}</label>\r\n <input\r\n id=\"entity-type-full-name\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n formControlName=\"entityTypeFullName\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"row justify-content-end\">\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mt-3 mb-lg-0 d-grid\">\r\n <button type=\"submit\" class=\"btn btn-primary\">\r\n <span>\r\n {{ 'AbpAuditLogging::Refresh' | abpLocalization }}\r\n </span>\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mt-3 mb-lg-0 d-grid\">\r\n <button\r\n type=\"button\"\r\n class=\"text-nowrap btn btn-outline-success\"\r\n (click)=\"exportToExcel()\"\r\n >\r\n <i class=\"fa fa-file-excel-o\" aria-hidden=\"true\"></i>\r\n <span>\r\n {{ 'AbpAuditLogging::ExportToExcel' | abpLocalization }}\r\n </span>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </form>\r\n </div>\r\n</div>\r\n<div class=\"card m-0\">\r\n <div class=\"card-body p-0\">\r\n <ngx-datatable default [rows]=\"data().items\" [count]=\"data().totalCount\" [list]=\"list\">\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::Detail' | abpLocalization\"\r\n [maxWidth]=\"150\"\r\n [width]=\"150\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" let-i=\"rowIndex\" ngx-datatable-cell-template>\r\n <abp-grid-actions [index]=\"i\" [record]=\"row\" text=\"AbpAuditLogging::Actions\" />\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::Time' | abpLocalization\"\r\n [width]=\"230\"\r\n prop=\"changeTime\"\r\n >\r\n <ng-template ngx-datatable-cell-template let-value=\"value\">\r\n {{ value | shortDateTime }}\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::ChangeType' | abpLocalization\"\r\n [width]=\"140\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n {{ 'AbpAuditLogging::' + changeType[row.changeType] | abpLocalization }}\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::TenantId' | abpLocalization\"\r\n [width]=\"150\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <div abpEllipsis>{{ row.tenantId }}</div>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::EntityId' | abpLocalization\"\r\n [width]=\"150\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <div abpEllipsis>{{ row.entityId }}</div>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::EntityTypeFullName' | abpLocalization\"\r\n [width]=\"150\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <div abpEllipsis>{{ row.entityTypeFullName }}</div>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n </ngx-datatable>\r\n </div>\r\n</div>\r\n","import { Component, DestroyRef, Injector, inject } from '@angular/core';\r\nimport { takeUntilDestroyed, toSignal } from '@angular/core/rxjs-interop';\r\nimport { JsonPipe } from '@angular/common';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { Tab, TabList, TabPanel, Tabs } from '@angular/aria/tabs';\r\nimport {\r\n NgbDateAdapter,\r\n NgbNav,\r\n NgbNavItem,\r\n NgbNavItemRole,\r\n NgbNavLink,\r\n NgbNavLinkBase,\r\n NgbNavContent,\r\n NgbNavOutlet,\r\n} from '@ng-bootstrap/ng-bootstrap';\r\nimport { take } from 'rxjs/operators';\r\nimport { ListService, LocalizationPipe, PagedResultDto, ShortDateTimePipe } from '@abp/ng.core';\r\nimport { ExtensibleTableComponent, EXTENSIONS_IDENTIFIER } from '@abp/ng.components/extensible';\r\nimport { PageComponent } from '@abp/ng.components/page';\r\nimport { DateAdapter, ModalCloseDirective, ModalComponent } from '@abp/ng.theme.shared';\r\nimport { DatetimePickerComponent } from '@volo/abp.commercial.ng.ui';\r\nimport {\r\n AuditLogDto,\r\n AuditLogsService,\r\n EntityChangeDto,\r\n EntityChangeWithUsernameDto,\r\n GetAuditLogListDto,\r\n} from '@volo/abp.ng.audit-logging/proxy';\r\nimport { EntityChangeDetailsComponent, handleExcelExport } from '@volo/abp.ng.audit-logging/common';\r\nimport { HTTP_METHODS, HTTP_STATUS_CODES } from '../../constants/http';\r\nimport { eAuditLoggingComponents } from '../../enums/components';\r\nimport { EntityChangesComponent } from '../entity-change/entity-changes.component';\r\n\r\n@Component({\r\n selector: 'abp-audit-logs',\r\n templateUrl: './audit-logs.component.html',\r\n styles: [\r\n `\r\n .fade-in {\r\n animation: fadeIn 350ms ease both;\r\n }\r\n\r\n @keyframes fadeIn {\r\n from {\r\n opacity: 0;\r\n }\r\n to {\r\n opacity: 1;\r\n }\r\n }\r\n `,\r\n ],\r\n providers: [\r\n ListService,\r\n {\r\n provide: EXTENSIONS_IDENTIFIER,\r\n useValue: eAuditLoggingComponents.AuditLogs,\r\n },\r\n { provide: NgbDateAdapter, useClass: DateAdapter },\r\n ],\r\n imports: [\r\n FormsModule,\r\n NgbNav,\r\n NgbNavItem,\r\n NgbNavItemRole,\r\n NgbNavLink,\r\n NgbNavLinkBase,\r\n NgbNavContent,\r\n NgbNavOutlet,\r\n ModalCloseDirective,\r\n JsonPipe,\r\n LocalizationPipe,\r\n ShortDateTimePipe,\r\n DatetimePickerComponent,\r\n ExtensibleTableComponent,\r\n EntityChangesComponent,\r\n EntityChangeDetailsComponent,\r\n PageComponent,\r\n ModalComponent,\r\n Tabs,\r\n TabList,\r\n Tab,\r\n TabPanel,\r\n ],\r\n})\r\nexport class AuditLogsComponent {\r\n protected readonly service = inject(AuditLogsService);\r\n protected readonly injector = inject(Injector);\r\n protected readonly list = inject(ListService<GetAuditLogListDto>);\r\n protected readonly destroyRef = inject(DestroyRef);\r\n\r\n readonly data = toSignal(\r\n this.list.hookToQuery(query =>\r\n this.service.getList({\r\n ...this.pageQuery,\r\n ...(this.pageQuery.minExecutionDuration === null && {\r\n minExecutionDuration: undefined,\r\n }),\r\n ...(this.pageQuery.maxExecutionDuration === null && {\r\n maxExecutionDuration: undefined,\r\n }),\r\n ...query,\r\n }),\r\n ),\r\n {\r\n initialValue: { items: [], totalCount: 0 } as PagedResultDto<AuditLogDto>,\r\n },\r\n );\r\n\r\n selected = {} as AuditLogDto;\r\n\r\n pageQuery = {\r\n maxResultCount: 10,\r\n skipCount: 0,\r\n httpMethod: null,\r\n httpStatusCode: null,\r\n hasException: null,\r\n } as GetAuditLogListDto;\r\n\r\n httpMethods = HTTP_METHODS;\r\n\r\n httpStatusCodes = HTTP_STATUS_CODES;\r\n\r\n modalVisible = false;\r\n\r\n sortOrder = '';\r\n\r\n sortKey = '';\r\n\r\n selectedTab = 'audit-logs';\r\n\r\n openModal(id: string) {\r\n const selected = this.data().items.find(log => log.id === id);\r\n if (!selected) {\r\n return;\r\n }\r\n\r\n this.selected = {\r\n ...selected,\r\n actions: selected.actions ?? [],\r\n entityChanges: selected.entityChanges ?? [],\r\n };\r\n this.modalVisible = true;\r\n\r\n this.service\r\n .get(id)\r\n .pipe(take(1), takeUntilDestroyed(this.destroyRef))\r\n .subscribe(log => {\r\n if (!this.modalVisible || this.selected?.id !== id) {\r\n return;\r\n }\r\n\r\n this.selected = log;\r\n });\r\n }\r\n\r\n httpCodeClass(httpStatusCode: number): string {\r\n switch (httpStatusCode?.toString()[0]) {\r\n case '2':\r\n return 'bg-success';\r\n case '3':\r\n return 'bg-warning';\r\n case '4':\r\n case '5':\r\n return 'bg-danger';\r\n default:\r\n return 'bg-light';\r\n }\r\n }\r\n\r\n httpMethodClass(httpMethod: string): string {\r\n switch (httpMethod) {\r\n case 'GET':\r\n return 'bg-info';\r\n case 'POST':\r\n return 'bg-success';\r\n case 'DELETE':\r\n return 'bg-danger';\r\n case 'PUT':\r\n return 'bg-warning';\r\n default:\r\n return '';\r\n }\r\n }\r\n\r\n getEntityChangeDetails(change: EntityChangeDto): EntityChangeWithUsernameDto {\r\n return {\r\n entityChange: change,\r\n userName: this.selected.userName,\r\n };\r\n }\r\n\r\n exportToExcel() {\r\n handleExcelExport(this.service.exportToExcel(this.pageQuery), this.injector);\r\n }\r\n}\r\n","<div id=\"wrapper\">\r\n <abp-page [title]=\"'AbpAuditLogging::AuditLogs' | abpLocalization\" [toolbar]=\"data().items\">\r\n <div ngTabs>\r\n <ul ngTabList class=\"nav nav-tabs\" [(selectedTab)]=\"selectedTab\">\r\n <li class=\"nav-item\">\r\n <button\r\n ngTab\r\n value=\"audit-logs\"\r\n class=\"nav-link\"\r\n [class.active]=\"selectedTab === 'audit-logs'\"\r\n >\r\n {{ 'AbpAuditLogging::AuditLogs' | abpLocalization }}\r\n </button>\r\n </li>\r\n <li class=\"nav-item\">\r\n <button\r\n ngTab\r\n value=\"entity-changes\"\r\n class=\"nav-link\"\r\n [class.active]=\"selectedTab === 'entity-changes'\"\r\n >\r\n {{ 'AbpAuditLogging::EntityChanges' | abpLocalization }}\r\n </button>\r\n </li>\r\n </ul>\r\n <div\r\n ngTabPanel\r\n value=\"audit-logs\"\r\n class=\"tab-content\"\r\n [class.p-0]=\"selectedTab !== 'audit-logs'\"\r\n >\r\n <div class=\"tab-pane fade-in\" [class.active]=\"selectedTab === 'audit-logs'\">\r\n <div class=\"card mb-0\">\r\n <div class=\"card-body pb-lg-3\">\r\n <form (keyup.enter)=\"list.get()\">\r\n <div class=\"row\">\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{\r\n 'AbpAuditLogging::StartDate' | abpLocalization\r\n }}</label>\r\n <abp-datetime-picker\r\n [(ngModel)]=\"pageQuery.startTime\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{\r\n 'AbpAuditLogging::EndDate' | abpLocalization\r\n }}</label>\r\n <abp-datetime-picker\r\n [(ngModel)]=\"pageQuery.endTime\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3\">\r\n <label for=\"userName\" class=\"form-label\">{{\r\n 'AbpAuditLogging::UserName' | abpLocalization\r\n }}</label>\r\n <input\r\n id=\"userName\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"pageQuery.userName\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"url\">{{\r\n 'AbpAuditLogging::Url' | abpLocalization\r\n }}</label>\r\n <input\r\n id=\"url\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"pageQuery.url\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3\">\r\n <label for=\"minDuration\" class=\"form-label\">{{\r\n 'AbpAuditLogging::MinDuration' | abpLocalization\r\n }}</label>\r\n <input\r\n id=\"minDuration\"\r\n type=\"number\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"pageQuery.minExecutionDuration\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3\">\r\n <label for=\"maxDuration\" class=\"form-label\">{{\r\n 'AbpAuditLogging::MaxDuration' | abpLocalization\r\n }}</label>\r\n <input\r\n id=\"maxDuration\"\r\n type=\"number\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"pageQuery.maxExecutionDuration\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3\">\r\n <label for=\"httpMethod\" class=\"form-label\">{{\r\n 'AbpAuditLogging::HttpMethod' | abpLocalization\r\n }}</label>\r\n <select\r\n id=\"httpMethod\"\r\n class=\"form-select form-control\"\r\n [(ngModel)]=\"pageQuery.httpMethod\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n (change)=\"list.get()\"\r\n >\r\n <option [ngValue]=\"null\">-</option>\r\n @for (method of httpMethods; track $index) {\r\n <option [ngValue]=\"method\">\r\n {{ method }}\r\n </option>\r\n }\r\n </select>\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3\">\r\n <label for=\"httpStatusCode\" class=\"form-label\">{{\r\n 'AbpAuditLogging::HttpStatusCode' | abpLocalization\r\n }}</label>\r\n <select\r\n id=\"httpStatusCode\"\r\n class=\"form-select form-control\"\r\n [(ngModel)]=\"pageQuery.httpStatusCode\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n (change)=\"list.get()\"\r\n >\r\n <option [ngValue]=\"null\">-</option>\r\n @for (h of httpStatusCodes; track $index) {\r\n <option [ngValue]=\"h.code\">{{ h.code }} - {{ h.message }}</option>\r\n }\r\n </select>\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3 mb-lg-0\">\r\n <label for=\"applicationName\" class=\"form-label\">{{\r\n 'AbpAuditLogging::ApplicationName' | abpLocalization\r\n }}</label>\r\n <input\r\n id=\"applicationName\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"pageQuery.applicationName\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3 mb-lg-0\">\r\n <label for=\"correlationId\" class=\"form-label\">{{\r\n 'AbpAuditLogging::ClientIpAddress' | abpLocalization\r\n }}</label>\r\n <input\r\n id=\"clientIpAddress\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"pageQuery.clientIpAddress\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3 mb-lg-0\">\r\n <label for=\"correlationId\" class=\"form-label\">{{\r\n 'AbpAuditLogging::CorrelationId' | abpLocalization\r\n }}</label>\r\n <input\r\n id=\"correlationId\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"pageQuery.correlationId\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3 mb-lg-0\">\r\n <label for=\"hasException\" class=\"form-label\">{{\r\n 'AbpAuditLogging::HasException' | abpLocalization\r\n }}</label>\r\n <select\r\n name=\"hasException\"\r\n id=\"hasException\"\r\n class=\"form-select form-control\"\r\n [(ngModel)]=\"pageQuery.hasException\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n (change)=\"list.get()\"\r\n >\r\n <option [ngValue]=\"null\">-</option>\r\n <option [ngValue]=\"true\">\r\n {{ 'AbpAuditLogging::Yes' | abpLocalization }}\r\n </option>\r\n <option [ngValue]=\"false\">\r\n {{ 'AbpAuditLogging::No' | abpLocalization }}\r\n </option>\r\n </select>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row justify-content-end\">\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mt-3 mb-lg-0 d-grid\">\r\n <button type=\"button\" class=\"btn btn-primary\" (click)=\"list.get()\">\r\n <span>\r\n {{ 'AbpAuditLogging::Refresh' | abpLocalization }}\r\n </span>\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mt-3 mb-lg-0 d-grid\">\r\n <button\r\n type=\"button\"\r\n class=\"text-nowrap btn btn-outline-success\"\r\n (click)=\"exportToExcel()\"\r\n >\r\n <i class=\"fa fa-file-excel-o\" aria-hidden=\"true\"></i>\r\n <span>\r\n {{ 'AbpAuditLogging::ExportToExcel' | abpLocalization }}\r\n </span>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </form>\r\n </div>\r\n </div>\r\n <div class=\"card mb-0\">\r\n <div class=\"card-body p-0\">\r\n <abp-extensible-table\r\n [data]=\"data().items\"\r\n [recordsTotal]=\"data().totalCount\"\r\n [list]=\"list\"\r\n />\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div\r\n ngTabPanel\r\n value=\"entity-changes\"\r\n class=\"tab-content\"\r\n [class.p-0]=\"selectedTab !== 'entity-changes'\"\r\n >\r\n <div class=\"tab-pane fade-in\" [class.active]=\"selectedTab === 'entity-changes'\">\r\n @if (selectedTab === 'entity-changes') {\r\n <abp-entity-changes />\r\n }\r\n </div>\r\n </div>\r\n </div>\r\n </abp-page>\r\n</div>\r\n\r\n@if (selected) {\r\n <abp-modal [(visible)]=\"modalVisible\" [options]=\"{ size: 'xl' }\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">\r\n {{ 'AbpAuditLogging::Detail' | abpLocalization }}\r\n </h5>\r\n </ng-template>\r\n <ng-template #abpBody>\r\n <ul ngbNav #nav=\"ngbNav\" class=\"nav-tabs\">\r\n <li ngbNavItem>\r\n <a ngbNavLink>{{ 'AbpAuditLogging::Overall' | abpLocalization }}</a>\r\n <ng-template ngbNavContent>\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::HttpStatusCode' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n <span class=\"badge\" [class]=\"httpCodeClass(selected.httpStatusCode)\">{{\r\n selected.httpStatusCode\r\n }}</span>\r\n </div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::HttpMethod' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n <span class=\"badge\" [class]=\"httpMethodClass(selected.httpMethod)\">{{\r\n selected.httpMethod\r\n }}</span>\r\n </div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::Url' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.url }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::ClientIpAddress' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.clientIpAddress }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::ClientName' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.clientName }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::Exceptions' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n @if (selected.exceptions) {\r\n <pre lang=\"c-sharp\">\r\n {{ selected.exceptions }}\r\n </pre>\r\n }\r\n </div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::UserName' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.userName }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n @if (selected.impersonatorTenantId) {\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::TenantImpersonator' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n {{ selected.impersonatorTenantName || selected.impersonatorTenantId }}\r\n </div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n }\r\n @if (selected.impersonatorUserId) {\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::UserImpersonator' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n @if (selected.impersonatorUserName) {\r\n {{ selected.impersonatorUserName }} ({{ selected.impersonatorUserId }})\r\n } @else {\r\n {{ selected.impersonatorUserId }}\r\n }\r\n </div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n }\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::Time' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n {{ selected.executionTime | shortDateTime }}\r\n </div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::Duration' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.executionDuration }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::BrowserInfo' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.browserInfo }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::ApplicationName' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.applicationName }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::CorrelationId' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.correlationId }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::Comments' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.comments }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::ExtraProperties' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n <pre lang=\"json\" class=\"p-2\">\r\n {{ selected.extraProperties | json }}\r\n </pre>\r\n </div>\r\n </div>\r\n </ng-template>\r\n </li>\r\n <li ngbNavItem>\r\n <a ngbNavLink>\r\n {{ 'AbpAuditLogging::Actions' | abpLocalization }} ({{ selected.actions.length }})\r\n </a>\r\n <ng-template ngbNavContent>\r\n <div class=\"table-responsive\">\r\n <table class=\"table table-striped\">\r\n <thead>\r\n <tr>\r\n <th>{{ 'AbpAuditLogging::Actions' | abpLocalization }}</th>\r\n <th>{{ 'AbpAuditLogging::Duration' | abpLocalization }}</th>\r\n <th>{{ 'AbpAuditLogging::Parameters' | abpLocalization }}</th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n @for (action of selected.actions; track action.id) {\r\n <tr>\r\n <td>\r\n <span\r\n class=\"text-truncate d-block\"\r\n [title]=\"action.serviceName + ' - ' + action.methodName\"\r\n >\r\n {{ action.serviceName }} - {{ action.methodName }}\r\n </span>\r\n </td>\r\n <td>{{ action.executionDuration }}</td>\r\n <td>\r\n <pre lang=\"json\" class=\"p-2\">{{ action.parameters }}</pre>\r\n </td>\r\n </tr>\r\n }\r\n </tbody>\r\n </table>\r\n </div>\r\n </ng-template>\r\n </li>\r\n @if (selected.entityChanges.length) {\r\n <li ngbNavItem>\r\n <a ngbNavLink>\r\n {{ 'AbpAuditLogging::Changes' | abpLocalization }} ({{\r\n selected.entityChanges.length\r\n }})\r\n </a>\r\n <ng-template ngbNavContent>\r\n @for (change of selected.entityChanges; track change.id) {\r\n <abp-entity-change-details [itemWithUserName]=\"getEntityChangeDetails(change)\" />\r\n }\r\n </ng-template>\r\n </li>\r\n }\r\n </ul>\r\n <div [ngbNavOutlet]=\"nav\"></div>\r\n </ng-template>\r\n <ng-template #abpFooter>\r\n <button class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpAuditLogging::Close' | abpLocalization }}\r\n </button>\r\n </ng-template>\r\n </abp-modal>\r\n}\r\n","import { Injectable, inject } from '@angular/core';\r\n\r\nimport { AUDIT_LOGGING_FEATURES } from '@volo/abp.ng.audit-logging/common';\r\nimport { Observable } from 'rxjs';\r\nimport { map } from 'rxjs/operators';\r\nimport { ModuleVisibility } from '@volo/abp.commercial.ng.ui/config';\r\n\r\n/**\r\n * @deprecated Use `auditLoggingGuard` *function* instead.\r\n */\r\n@Injectable()\r\nexport class AuditLoggingGuard {\r\n private auditLoggingFeatures = inject<Observable<ModuleVisibility>>(AUDIT_LOGGING_FEATURES);\r\n\r\n\r\n canActivate() {\r\n return this.auditLoggingFeatures.pipe(map(features => features.enable));\r\n }\r\n}\r\n\r\nexport const auditLoggingGuard = () => {\r\n const auditLoggingFeatures = inject(AUDIT_LOGGING_FEATURES);\r\n\r\n return auditLoggingFeatures.pipe(map(features => features.enable));\r\n};\r\n","import { InjectionToken } from '@angular/core';\r\n\r\nexport const SHOW_ENTITY_DETAILS = new InjectionToken<(entityChangeId: string) => void>(\r\n 'SHOW_ENTITY_DETAILS',\r\n);\r\n","import { EntityAction } from '@abp/ng.components/extensible';\r\nimport { AuditLogDto } from '@volo/abp.ng.audit-logging/proxy';\r\nimport { AuditLogsComponent } from '../components/audit-logs/audit-logs.component';\r\n\r\nexport const DEFAULT_AUDIT_LOGS_ENTITY_ACTIONS = EntityAction.createMany<AuditLogDto>([\r\n {\r\n text: 'AbpAuditLogging::Detail',\r\n action: data => {\r\n const component = data.getInjected(AuditLogsComponent);\r\n component.openModal(data.record.id);\r\n },\r\n icon: 'fa fa-eye',\r\n },\r\n]);\r\n","import { EntityProp, ePropType } from '@abp/ng.components/extensible';\r\nimport { AuditLogDto } from '@volo/abp.ng.audit-logging/proxy';\r\nimport { of } from 'rxjs';\r\nimport { AuditLogsComponent } from '../components/audit-logs/audit-logs.component';\r\n\r\nexport const DEFAULT_AUDIT_LOGS_ENTITY_PROPS = EntityProp.createMany<AuditLogDto>([\r\n {\r\n type: ePropType.String,\r\n name: 'url',\r\n displayName: 'AbpAuditLogging::HttpRequest',\r\n sortable: true,\r\n columnWidth: 600,\r\n valueResolver: data => {\r\n const component = data.getInjected(AuditLogsComponent);\r\n const { httpMethod, httpStatusCode, url } = data.record;\r\n const methodClass = component.httpMethodClass(httpMethod);\r\n const statusClass = component.httpCodeClass(httpStatusCode);\r\n\r\n return of(\r\n `<span class=\"badge ${statusClass} me-1\">${httpStatusCode}</span>` +\r\n `<span class=\"badge ${methodClass} me-1\">${httpMethod}</span>` +\r\n (url || ''),\r\n );\r\n },\r\n },\r\n {\r\n type: ePropType.String,\r\n name: 'userName',\r\n displayName: 'AbpAuditLogging::User',\r\n sortable: true,\r\n columnWidth: 150,\r\n },\r\n {\r\n type: ePropType.String,\r\n name: 'clientIpAddress',\r\n displayName: 'AbpAuditLogging::IpAddress',\r\n sortable: true,\r\n columnWidth: 150,\r\n },\r\n {\r\n type: ePropType.DateTime,\r\n name: 'executionTime',\r\n displayName: 'AbpIdentity::Date',\r\n sortable: true,\r\n columnWidth: 150,\r\n },\r\n {\r\n type: ePropType.Number,\r\n name: 'executionDuration',\r\n displayName: 'AbpAuditLogging::Duration',\r\n sortable: true,\r\n columnWidth: 150,\r\n },\r\n {\r\n type: ePropType.String,\r\n name: 'applicationName',\r\n displayName: 'AbpAuditLogging::ApplicationName',\r\n sortable: true,\r\n columnWidth: 200,\r\n },\r\n]);\r\n","import { ToolbarAction } from '@abp/ng.components/extensible';\r\nimport { AuditLogDto } from '@volo/abp.ng.audit-logging/proxy';\r\n\r\nexport const DEFAULT_AUDIT_LOGS_TOOLBAR_ACTIONS = ToolbarAction.createMany<AuditLogDto[]>([]);\r\n","import { EntityAction } from '@abp/ng.components/extensible';\r\nimport { SHOW_ENTITY_HISTORY } from '@volo/abp.commercial.ng.ui';\r\nimport { EntityChangeDto } from '@volo/abp.ng.audit-logging/proxy';\r\nimport { SHOW_ENTITY_DETAILS } from '../tokens/entity-details.token';\r\n\r\nexport const DEFAULT_ENTITY_CHANGES_ENTITY_ACTIONS = EntityAction.createMany<EntityChangeDto>([\r\n {\r\n text: 'AbpAuditLogging::ChangeDetails',\r\n action: data => {\r\n const showDetails = data.getInjected(SHOW_ENTITY_DETAILS);\r\n showDetails(data.record.id);\r\n },\r\n icon: 'fa fa-search',\r\n },\r\n {\r\n text: 'AbpAuditLogging::FullChangeHistory',\r\n action: data => {\r\n const showHistory = data.getInjected(SHOW_ENTITY_HISTORY);\r\n showHistory(data.record.entityId, data.record.entityTypeFullName);\r\n },\r\n icon: 'fa fa-history',\r\n },\r\n]);\r\n","import {\r\n EntityActionContributorCallback,\r\n EntityPropContributorCallback,\r\n ToolbarActionContributorCallback,\r\n} from '@abp/ng.components/extensible';\r\nimport { InjectionToken } from '@angular/core';\r\nimport { AuditLogDto, EntityChangeDto } from '@volo/abp.ng.audit-logging/proxy';\r\nimport { DEFAULT_AUDIT_LOGS_ENTITY_ACTIONS } from '../defaults/default-audit-logs-entity-actions';\r\nimport { DEFAULT_AUDIT_LOGS_ENTITY_PROPS } from '../defaults/default-audit-logs-entity-props';\r\nimport { DEFAULT_AUDIT_LOGS_TOOLBAR_ACTIONS } from '../defaults/default-audit-logs-toolbar-actions';\r\nimport { DEFAULT_ENTITY_CHANGES_ENTITY_ACTIONS } from '../defaults/default-entity-changes-entity-actions';\r\nimport { eAuditLoggingComponents } from '../enums/components';\r\n\r\nexport const DEFAULT_AUDIT_LOGGING_ENTITY_ACTIONS = {\r\n [eAuditLoggingComponents.AuditLogs]: DEFAULT_AUDIT_LOGS_ENTITY_ACTIONS,\r\n [eAuditLoggingComponents.EntityChanges]: DEFAULT_ENTITY_CHANGES_ENTITY_ACTIONS,\r\n};\r\n\r\nexport const DEFAULT_AUDIT_LOGGING_TOOLBAR_ACTIONS = {\r\n [eAuditLoggingComponents.AuditLogs]: DEFAULT_AUDIT_LOGS_TOOLBAR_ACTIONS,\r\n};\r\nexport const DEFAULT_AUDIT_LOGGING_ENTITY_PROPS = {\r\n [eAuditLoggingComponents.AuditLogs]: DEFAULT_AUDIT_LOGS_ENTITY_PROPS,\r\n};\r\n\r\nexport const AUDIT_LOGGING_ENTITY_ACTION_CONTRIBUTORS =\r\n new InjectionToken<EntityActionContributors>('AUDIT_LOGGING_ENTITY_ACTION_CONTRIBUTORS');\r\n\r\nexport const AUDIT_LOGGING_TOOLBAR_ACTION_CONTRIBUTORS =\r\n new InjectionToken<ToolbarActionContributors>('AUDIT_LOGGING_TOOLBAR_ACTION_CONTRIBUTORS');\r\n\r\nexport const AUDIT_LOGGING_ENTITY_PROP_CONTRIBUTORS = new InjectionToken<EntityPropContributors>(\r\n 'AUDIT_LOGGING_ENTITY_PROP_CONTRIBUTORS',\r\n);\r\n\r\n// https://github.com/microsoft/TypeScript/issues/9944#issuecomment-254693497\r\ntype EntityActionContributors = Partial<{\r\n [eAuditLoggingComponents.AuditLogs]: EntityActionContributorCallback<AuditLogDto>[];\r\n [eAuditLoggingComponents.EntityChanges]: EntityActionContributorCallback<EntityChangeDto>[];\r\n}>;\r\ntype ToolbarActionContributors = Partial<{\r\n [eAuditLoggingComponents.AuditLogs]: ToolbarActionContributorCallback<AuditLogDto[]>[];\r\n}>;\r\ntype EntityPropContributors = Partial<{\r\n [eAuditLoggingComponents.AuditLogs]: EntityPropContributorCallback<AuditLogDto>[];\r\n}>;\r\n","import {\r\n ExtensionsService,\r\n getObjectExtensionEntitiesFromStore,\r\n mapEntitiesToContributors,\r\n mergeWithDefaultActions,\r\n mergeWithDefaultProps,\r\n} from '@abp/ng.components/extensible';\r\nimport { Injector, inject } from '@angular/core';\r\nimport { ResolveFn } from '@angular/router';\r\nimport { map, tap } from 'rxjs';\r\nimport { eAuditLoggingComponents } from '../enums';\r\nimport {\r\n AuditLoggingEntityActionContributors,\r\n AuditLoggingToolbarActionContributors,\r\n AuditLoggingEntityPropContributors,\r\n} from '../models';\r\nimport {\r\n AUDIT_LOGGING_ENTITY_ACTION_CONTRIBUTORS,\r\n AUDIT_LOGGING_TOOLBAR_ACTION_CONTRIBUTORS,\r\n AUDIT_LOGGING_ENTITY_PROP_CONTRIBUTORS,\r\n DEFAULT_AUDIT_LOGGING_ENTITY_ACTIONS,\r\n DEFAULT_AUDIT_LOGGING_TOOLBAR_ACTIONS,\r\n DEFAULT_AUDIT_LOGGING_ENTITY_PROPS,\r\n} from '../tokens';\r\n\r\nexport const auditLoggingExtensionsResolver: ResolveFn<any> = () => {\r\n const injector = inject(Injector);\r\n\r\n const extensions: ExtensionsService = injector.get(ExtensionsService);\r\n const actionContributors: AuditLoggingEntityActionContributors =\r\n injector.get(AUDIT_LOGGING_ENTITY_ACTION_CONTRIBUTORS, null) || {};\r\n const toolbarContributors: AuditLoggingToolbarActionContributors =\r\n injector.get(AUDIT_LOGGING_TOOLBAR_ACTION_CONTRIBUTORS, null) || {};\r\n const propContributors: AuditLoggingEntityPropContributors =\r\n injector.get(AUDIT_LOGGING_ENTITY_PROP_CONTRIBUTORS, null) || {};\r\n\r\n return getObjectExtensionEntitiesFromStore(injector, 'AuditLogging').pipe(\r\n map(entities => ({\r\n [eAuditLoggingComponents.AuditLogs]: entities.AuditLog,\r\n })),\r\n mapEntitiesToContributors(injector, 'AuditLogging'),\r\n tap(objectExtensionContributors => {\r\n mergeWithDefaultActions(\r\n extensions.entityActions,\r\n DEFAULT_AUDIT_LOGGING_ENTITY_ACTIONS,\r\n actionContributors,\r\n );\r\n mergeWithDefaultActions(\r\n extensions.toolbarActions,\r\n DEFAULT_AUDIT_LOGGING_TOOLBAR_ACTIONS,\r\n toolbarContributors,\r\n );\r\n mergeWithDefaultProps(\r\n extensions.entityProps,\r\n DEFAULT_AUDIT_LOGGING_ENTITY_PROPS,\r\n objectExtensionContributors.prop,\r\n propContributors,\r\n );\r\n }),\r\n );\r\n};\r\n","import {\r\n authGuard,\r\n permissionGuard,\r\n ReplaceableComponents,\r\n ReplaceableRouteContainerComponent,\r\n RouterOutletComponent,\r\n} from '@abp/ng.core';\r\nimport { NgModule } from '@angular/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\nimport { AuditLogsComponent } from './components/audit-logs/audit-logs.component';\r\nimport { eAuditLoggingComponents } from './enums/components';\r\nimport { auditLoggingGuard } from './guards/audit-logging.guard';\r\nimport { auditLoggingExtensionsResolver } from './resolvers/extensions.resolver';\r\n\r\nconst routes: Routes = [\r\n {\r\n path: '',\r\n component: RouterOutletComponent,\r\n canActivate: [authGuard, permissionGuard, auditLoggingGuard],\r\n resolve: [auditLoggingExtensionsResolver],\r\n children: [\r\n {\r\n path: '',\r\n component: ReplaceableRouteContainerComponent,\r\n data: {\r\n requiredPolicy: 'AuditLogging.AuditLogs',\r\n replaceableComponent: {\r\n key: eAuditLoggingComponents.AuditLogs,\r\n defaultComponent: AuditLogsComponent,\r\n } as ReplaceableComponents.RouteData<AuditLogsComponent>,\r\n },\r\n title: 'AbpAuditLogging::Menu:AuditLogging',\r\n },\r\n ],\r\n },\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule],\r\n})\r\nexport class AuditLoggingRoutingModule {}\r\n","import { Component, inject, viewChild, input, signal } from '@angular/core';\r\nimport { outputFromObservable } from '@angular/core/rxjs-interop';\r\nimport { BehaviorSubject } from 'rxjs';\r\nimport { ChartComponent } from '@abp/ng.components/chart.js';\r\nimport {\r\n LocalizationPipe,\r\n LocalizationService,\r\n PermissionDirective,\r\n PermissionService,\r\n} from '@abp/ng.core';\r\nimport { Statistics } from '@abp/ng.theme.shared';\r\nimport { FormatValuePipe } from '@volo/abp.commercial.ng.ui';\r\nimport { AuditLogsService } from '@volo/abp.ng.audit-logging/proxy';\r\n\r\n@Component({\r\n selector: 'abp-average-execution-duration-widget',\r\n template: `\r\n <div *abpPermission=\"'AuditLogging.AuditLogs'\" class=\"abp-widget-wrapper\">\r\n <div class=\"card\">\r\n <div class=\"card-header\">\r\n <h5 class=\"card-title\">\r\n {{ 'AbpAuditLogging::AverageExecutionDurationInLogsPerDay' | abpLocalization }}\r\n </h5>\r\n </div>\r\n <div class=\"card-body\">\r\n <div class=\"row\">\r\n <abp-chart\r\n #chart\r\n class=\"w-100\"\r\n type=\"bar\"\r\n [data]=\"chartData()\"\r\n [width]=\"width() | formatValue: 'cssSize'\"\r\n [height]=\"height() | formatValue: 'cssSize'\"\r\n />\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n `,\r\n imports: [ChartComponent, PermissionDirective, LocalizationPipe, FormatValuePipe],\r\n})\r\nexport class AverageExecutionDurationWidgetComponent {\r\n protected localizationService = inject(LocalizationService);\r\n protected permissionService = inject(PermissionService);\r\n protected service = inject(AuditLogsService);\r\n\r\n data: Statistics.Data = {};\r\n\r\n readonly initialized = outputFromObservable(new BehaviorSubject(this));\r\n\r\n readonly width = input(312);\r\n\r\n readonly height = input(136);\r\n\r\n readonly chart = viewChild(ChartComponent);\r\n\r\n readonly chartData = signal<Record<string, unknown>>({});\r\n\r\n draw = (filter: { startDate: string; endDate: string }) => {\r\n if (!this.permissionService.getGrantedPolicy('AuditLogging.AuditLogs')) {\r\n return;\r\n }\r\n\r\n this.service\r\n .getAverageExecutionDurationPerDay({ startDate: filter.startDate, endDate: filter.endDate })\r\n .subscribe(res => {\r\n this.data = res.data;\r\n this.setChartData();\r\n });\r\n };\r\n\r\n private setChartData() {\r\n if (!this.data || JSON.stringify(this.data) === '{}') {\r\n this.chartData.set({});\r\n return;\r\n }\r\n const dataKeys = Object.keys(this.data);\r\n\r\n this.chartData.set({\r\n labels: dataKeys,\r\n datasets: [\r\n {\r\n label: this.localizationService.instant(\r\n 'AbpAuditLogging::AverageExecutionDurationInMilliseconds',\r\n ),\r\n backgroundColor: '#fa6e6e',\r\n data: dataKeys.map(key => this.data[key]),\r\n },\r\n ],\r\n });\r\n\r\n this.chart()?.reinit();\r\n }\r\n}\r\n","import { Component, inject, viewChild, input, signal } from '@angular/core';\r\nimport { outputFromObservable } from '@angular/core/rxjs-interop';\r\nimport { BehaviorSubject } from 'rxjs';\r\nimport { LocalizationPipe, PermissionDirective, PermissionService } from '@abp/ng.core';\r\nimport { Statistics } from '@abp/ng.theme.shared';\r\nimport { ChartComponent, ChartModule } from '@abp/ng.components/chart.js';\r\nimport { FormatValuePipe } from '@volo/abp.commercial.ng.ui';\r\nimport { AuditLogsService } from '@volo/abp.ng.audit-logging/proxy';\r\n\r\n@Component({\r\n selector: 'abp-error-rate-widget',\r\n template: `\r\n <div *abpPermission=\"'AuditLogging.AuditLogs'\" class=\"abp-widget-wrapper\">\r\n <div class=\"card\">\r\n <div class=\"card-header\">\r\n <h5 class=\"card-title\">\r\n {{ 'AbpAuditLogging::ErrorRateInLogs' | abpLocalization }}\r\n </h5>\r\n </div>\r\n <div class=\"card-body\">\r\n <div class=\"row\">\r\n <abp-chart\r\n #chart\r\n class=\"w-100\"\r\n type=\"pie\"\r\n [data]=\"chartData()\"\r\n [width]=\"width() | formatValue:'cssSize'\"\r\n [height]=\"height() | formatValue:'cssSize'\"\r\n />\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n `,\r\n imports: [ChartModule, PermissionDirective, LocalizationPipe, FormatValuePipe],\r\n})\r\nexport class ErrorRateWidgetComponent {\r\n protected permissionService = inject(PermissionService);\r\n protected service = inject(AuditLogsService);\r\n\r\n data: Statistics.Data = {};\r\n\r\n readonly initialized = outputFromObservable(new BehaviorSubject(this));\r\n\r\n readonly width = input(273);\r\n\r\n readonly height = input(136);\r\n\r\n readonly chart = viewChild(ChartComponent);\r\n\r\n readonly chartData = signal<Record<string, unknown>>({});\r\n\r\n draw = (filter: { startDate: string; endDate: string }) => {\r\n if (!this.permissionService.getGrantedPolicy('AuditLogging.AuditLogs')) {\r\n return;\r\n }\r\n\r\n this.service\r\n .getErrorRate({\r\n startDate: filter.startDate,\r\n endDate: filter.endDate,\r\n })\r\n .subscribe(res => {\r\n this.data = res.data;\r\n this.setChartData();\r\n });\r\n };\r\n\r\n private setChartData() {\r\n if (!this.data || JSON.stringify(this.data) === '{}') {\r\n this.chartData.set({});\r\n return;\r\n }\r\n const dataKeys = Object.keys(this.data);\r\n\r\n this.chartData.set({\r\n labels: dataKeys,\r\n datasets: [\r\n {\r\n data: dataKeys.map(key => this.data[key]),\r\n backgroundColor: ['#d76e6e', '#63ac44'],\r\n },\r\n ],\r\n });\r\n\r\n this.chart()?.reinit();\r\n }\r\n}\r\n","import { ChartModule } from '@abp/ng.components/chart.js';\r\nimport { PageModule } from '@abp/ng.components/page';\r\nimport { CoreModule, LazyModuleFactory } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { ModuleWithProviders, NgModule, NgModuleFactory } from '@angular/core';\r\nimport { NgbDatepickerModule, NgbNavModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { CommercialUiModule, DatetimePickerComponent } from '@volo/abp.commercial.ng.ui';\r\nimport { EntityChangeDetailsComponent } from '@volo/abp.ng.audit-logging/common';\r\nimport { AuditLoggingRoutingModule } from './audit-logging-routing.module';\r\nimport { AuditLogsComponent } from './components/audit-logs/audit-logs.component';\r\nimport { EntityChangesComponent } from './components/entity-change/entity-changes.component';\r\nimport { AverageExecutionDurationWidgetComponent } from './components/widgets/average-execution-duration-widget.component';\r\nimport { ErrorRateWidgetComponent } from './components/widgets/error-rate-widget.component';\r\nimport { AuditLoggingConfigOptions } from './models/config-options';\r\nimport {\r\n AUDIT_LOGGING_ENTITY_ACTION_CONTRIBUTORS,\r\n AUDIT_LOGGING_ENTITY_PROP_CONTRIBUTORS,\r\n AUDIT_LOGGING_TOOLBAR_ACTION_CONTRIBUTORS,\r\n} from './tokens/extensions.token';\r\n\r\nconst declarations = [\r\n AuditLogsComponent,\r\n EntityChangesComponent,\r\n ErrorRateWidgetComponent,\r\n AverageExecutionDurationWidgetComponent,\r\n];\r\n@NgModule({\r\n exports: [...declarations],\r\n imports: [\r\n AuditLoggingRoutingModule,\r\n CoreModule,\r\n CommercialUiModule,\r\n ThemeSharedModule,\r\n NgbNavModule,\r\n NgbDatepickerModule,\r\n PageModule,\r\n ChartModule,\r\n DatetimePickerComponent,\r\n EntityChangeDetailsComponent,\r\n ...declarations,\r\n ],\r\n})\r\nexport class AuditLoggingModule {\r\n static forChild(\r\n options: AuditLoggingConfigOptions = {},\r\n ): ModuleWithProviders<AuditLoggingModule> {\r\n return {\r\n ngModule: AuditLoggingModule,\r\n providers: [\r\n {\r\n provide: AUDIT_LOGGING_ENTITY_ACTION_CONTRIBUTORS,\r\n useValue: options.entityActionContributors,\r\n },\r\n {\r\n provide: AUDIT_LOGGING_TOOLBAR_ACTION_CONTRIBUTORS,\r\n useValue: options.toolbarActionContributors,\r\n },\r\n {\r\n provide: AUDIT_LOGGING_ENTITY_PROP_CONTRIBUTORS,\r\n useValue: options.entityPropContributors,\r\n },\r\n ],\r\n };\r\n }\r\n /**\r\n * @deprecated `AuditLoggingModule.forLazy()` is deprecated. You can use `createRoutes` **function** instead.\r\n */\r\n static forLazy(options: AuditLoggingConfigOptions = {}): NgModuleFactory<AuditLoggingModule> {\r\n return new LazyModuleFactory(AuditLoggingModule.forChild(options));\r\n }\r\n}\r\n","import {\r\n ExtensionsService,\r\n getObjectExtensionEntitiesFromStore,\r\n mapEntitiesToContributors,\r\n mergeWithDefaultActions,\r\n mergeWithDefaultProps,\r\n} from '@abp/ng.components/extensible';\r\nimport { inject, Injectable, Injector } from '@angular/core';\r\n\r\nimport { Observable } from 'rxjs';\r\nimport { map, tap } from 'rxjs/operators';\r\nimport { eAuditLoggingComponents } from '../enums/components';\r\nimport {\r\n AuditLoggingEntityActionContributors,\r\n AuditLoggingEntityPropContributors,\r\n AuditLoggingToolbarActionContributors,\r\n} from '../models/config-options';\r\nimport {\r\n AUDIT_LOGGING_ENTITY_ACTION_CONTRIBUTORS,\r\n AUDIT_LOGGING_ENTITY_PROP_CONTRIBUTORS,\r\n AUDIT_LOGGING_TOOLBAR_ACTION_CONTRIBUTORS,\r\n DEFAULT_AUDIT_LOGGING_ENTITY_ACTIONS,\r\n DEFAULT_AUDIT_LOGGING_ENTITY_PROPS,\r\n DEFAULT_AUDIT_LOGGING_TOOLBAR_ACTIONS,\r\n} from '../tokens/extensions.token';\r\n\r\n/**\r\n * @deprecated Use `auditLoggingExtensionsResolver` *function* instead.\r\n */\r\n@Injectable()\r\nexport class AuditLoggingExtensionsGuard {\r\n private readonly injector = inject(Injector);\r\n\r\n canActivate(): Observable<boolean> {\r\n const extensions: ExtensionsService = this.injector.get(ExtensionsService);\r\n const actionContributors: AuditLoggingEntityActionContributors =\r\n this.injector.get(AUDIT_LOGGING_ENTITY_ACTION_CONTRIBUTORS, null) || {};\r\n const toolbarContributors: AuditLoggingToolbarActionContributors =\r\n this.injector.get(AUDIT_LOGGING_TOOLBAR_ACTION_CONTRIBUTORS, null) || {};\r\n const propContributors: AuditLoggingEntityPropContributors =\r\n this.injector.get(AUDIT_LOGGING_ENTITY_PROP_CONTRIBUTORS, null) || {};\r\n\r\n return getObjectExtensionEntitiesFromStore(this.injector, 'AuditLogging').pipe(\r\n map(entities => ({\r\n [eAuditLoggingComponents.AuditLogs]: entities.AuditLog,\r\n })),\r\n mapEntitiesToContributors(this.injector, 'AuditLogging'),\r\n tap(objectExtensionContributors => {\r\n mergeWithDefaultActions(\r\n extensions.entityActions,\r\n DEFAULT_AUDIT_LOGGING_ENTITY_ACTIONS,\r\n actionContributors,\r\n );\r\n mergeWithDefaultActions(\r\n extensions.toolbarActions,\r\n DEFAULT_AUDIT_LOGGING_TOOLBAR_ACTIONS,\r\n toolbarContributors,\r\n );\r\n mergeWithDefaultProps(\r\n extensions.entityProps,\r\n DEFAULT_AUDIT_LOGGING_ENTITY_PROPS,\r\n objectExtensionContributors.prop,\r\n propContributors,\r\n );\r\n }),\r\n map(() => true),\r\n );\r\n }\r\n}\r\n","import { Provider } from '@angular/core';\r\nimport { Routes } from '@angular/router';\r\nimport {\r\n RouterOutletComponent,\r\n authGuard,\r\n permissionGuard,\r\n ReplaceableRouteContainerComponent,\r\n ReplaceableComponents,\r\n} from '@abp/ng.core';\r\nimport { AuditLogsComponent } from './components';\r\nimport { eAuditLoggingComponents } from './enums';\r\nimport { auditLoggingGuard } from './guards';\r\nimport { AuditLoggingConfigOptions } from './models';\r\nimport { auditLoggingExtensionsResolver } from './resolvers';\r\nimport {\r\n AUDIT_LOGGING_ENTITY_ACTION_CONTRIBUTORS,\r\n AUDIT_LOGGING_TOOLBAR_ACTION_CONTRIBUTORS,\r\n AUDIT_LOGGING_ENTITY_PROP_CONTRIBUTORS,\r\n} from './tokens';\r\n\r\nexport function createRoutes(config: AuditLoggingConfigOptions = {}): Routes {\r\n return [\r\n {\r\n path: '',\r\n component: RouterOutletComponent,\r\n providers: provideAuditLoggingContributors(config),\r\n canActivate: [authGuard, permissionGuard, auditLoggingGuard],\r\n resolve: [auditLoggingExtensionsResolver],\r\n children: [\r\n {\r\n path: '',\r\n component: ReplaceableRouteContainerComponent,\r\n data: {\r\n requiredPolicy: 'AuditLogging.AuditLogs',\r\n replaceableComponent: {\r\n key: eAuditLoggingComponents.AuditLogs,\r\n defaultComponent: AuditLogsComponent,\r\n } as ReplaceableComponents.RouteData<AuditLogsComponent>,\r\n },\r\n title: 'AbpAuditLogging::Menu:AuditLogging',\r\n },\r\n ],\r\n },\r\n ];\r\n}\r\n\r\nfunction provideAuditLoggingContributors(options: AuditLoggingConfigOptions = {}): Provider[] {\r\n return [\r\n {\r\n provide: AUDIT_LOGGING_ENTITY_ACTION_CONTRIBUTORS,\r\n useValue: options.entityActionContributors,\r\n },\r\n {\r\n provide: AUDIT_LOGGING_TOOLBAR_ACTION_CONTRIBUTORS,\r\n useValue: options.toolbarActionContributors,\r\n },\r\n {\r\n provide: AUDIT_LOGGING_ENTITY_PROP_CONTRIBUTORS,\r\n useValue: options.entityPropContributors,\r\n },\r\n ];\r\n}\r\n","export enum eEntityChangeType {\r\n Created = 0,\r\n Updated = 1,\r\n Deleted = 2,\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["map","i1","tap"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;MAAa,YAAY,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO;AAE3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iBAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAW;AACX,IAAA,iBAAA,CAAA,iBAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAW;AACb,CAAC,EAJW,iBAAiB,KAAjB,iBAAiB,GAAA,EAAA,CAAA,CAAA;;ACA7B;;AAEG;;"}
|
|
1
|
+
{"version":3,"file":"volo-abp.ng.audit-logging.mjs","sources":["../../../../packages/audit-logging/src/lib/constants/http.ts","../../../../packages/audit-logging/src/lib/components/entity-change/entity-changes.component.ts","../../../../packages/audit-logging/src/lib/components/entity-change/entity-changes.component.html","../../../../packages/audit-logging/src/lib/components/audit-logs/audit-logs.component.ts","../../../../packages/audit-logging/src/lib/components/audit-logs/audit-logs.component.html","../../../../packages/audit-logging/src/lib/guards/audit-logging.guard.ts","../../../../packages/audit-logging/src/lib/tokens/entity-details.token.ts","../../../../packages/audit-logging/src/lib/defaults/default-audit-logs-entity-actions.ts","../../../../packages/audit-logging/src/lib/defaults/default-audit-logs-entity-props.ts","../../../../packages/audit-logging/src/lib/defaults/default-audit-logs-toolbar-actions.ts","../../../../packages/audit-logging/src/lib/defaults/default-entity-changes-entity-actions.ts","../../../../packages/audit-logging/src/lib/tokens/extensions.token.ts","../../../../packages/audit-logging/src/lib/resolvers/extensions.resolver.ts","../../../../packages/audit-logging/src/lib/audit-logging-routing.module.ts","../../../../packages/audit-logging/src/lib/components/widgets/average-execution-duration-widget.component.ts","../../../../packages/audit-logging/src/lib/components/widgets/error-rate-widget.component.ts","../../../../packages/audit-logging/src/lib/audit-logging.module.ts","../../../../packages/audit-logging/src/lib/guards/extensions.guard.ts","../../../../packages/audit-logging/src/lib/audit-logging.routes.ts","../../../../packages/audit-logging/src/lib/enums/entity-change.ts","../../../../packages/audit-logging/src/volo-abp.ng.audit-logging.ts"],"sourcesContent":["export const HTTP_METHODS = ['GET', 'POST', 'DELETE', 'PUT', 'HEAD', 'CONNECT', 'OPTIONS', 'TRACE'];\r\n\r\nexport const HTTP_STATUS_CODES = [\r\n { code: 100, message: 'Continue' },\r\n { code: 101, message: 'Switching protocols' },\r\n { code: 102, message: 'Processing' },\r\n { code: 103, message: 'Early hints' },\r\n { code: 200, message: 'OK' },\r\n { code: 201, message: 'Created' },\r\n { code: 202, message: 'Accepted' },\r\n { code: 203, message: 'Non-authoritative information' },\r\n { code: 204, message: 'No content' },\r\n { code: 205, message: 'Reset content' },\r\n { code: 206, message: 'Partial content' },\r\n { code: 207, message: 'Multi-status' },\r\n { code: 208, message: 'Already registered' },\r\n { code: 226, message: 'I am used' },\r\n { code: 300, message: 'Multiple choices' },\r\n { code: 301, message: 'Moved permanently' },\r\n { code: 302, message: 'Found' },\r\n { code: 303, message: 'See other' },\r\n { code: 304, message: 'Not modified' },\r\n { code: 305, message: 'Use proxy' },\r\n { code: 306, message: 'Switch proxy' },\r\n { code: 307, message: 'Temporary redirect' },\r\n { code: 308, message: 'Permanent redirect' },\r\n { code: 400, message: 'Bad request' },\r\n { code: 401, message: 'Unauthorized' },\r\n { code: 402, message: 'Payment required' },\r\n { code: 403, message: 'Forbidden' },\r\n { code: 404, message: 'Not Found' },\r\n { code: 405, message: 'Method not allowed' },\r\n { code: 406, message: 'Not acceptable' },\r\n { code: 407, message: 'Proxy authentication required' },\r\n { code: 408, message: 'Request timeout' },\r\n { code: 409, message: 'Conflict' },\r\n { code: 410, message: 'Gone' },\r\n { code: 411, message: 'Length required' },\r\n { code: 412, message: 'Precondition failed' },\r\n { code: 413, message: 'Payload too large' },\r\n { code: 414, message: 'Request-URI too long' },\r\n { code: 415, message: 'Unsupported media type' },\r\n { code: 416, message: 'Requested range not satisfiable' },\r\n { code: 417, message: 'Expectation failed' },\r\n { code: 421, message: 'Misdirected request' },\r\n { code: 423, message: 'Locked' },\r\n { code: 424, message: 'Failed dependency' },\r\n { code: 426, message: 'Upgrade required' },\r\n { code: 428, message: 'Precondition required' },\r\n { code: 429, message: 'Too many requests' },\r\n { code: 431, message: 'Request header fields too large' },\r\n { code: 451, message: 'Unavailable for legal reasons' },\r\n { code: 500, message: 'Internal server error' },\r\n { code: 501, message: 'Not implemented' },\r\n { code: 502, message: 'Bad gateway' },\r\n { code: 503, message: 'Service unavailable' },\r\n { code: 504, message: 'Gateway timeout' },\r\n { code: 505, message: 'HTTP version not supported' },\r\n { code: 506, message: 'Variant also negotiates' },\r\n { code: 507, message: 'Insufficient storage' },\r\n { code: 508, message: 'Loop detected' },\r\n { code: 510, message: 'Not extended' },\r\n { code: 511, message: 'Network authentication required' },\r\n];\r\n","import { AfterViewInit, ChangeDetectionStrategy, Component, inject, Injector } from '@angular/core';\r\nimport { toSignal } from '@angular/core/rxjs-interop';\r\nimport { UntypedFormBuilder, FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { NgbDateAdapter } from '@ng-bootstrap/ng-bootstrap';\r\nimport { NgxValidateCoreModule } from '@ngx-validate/core';\r\nimport { NgxDatatableModule } from '@swimlane/ngx-datatable';\r\nimport {\r\n ListService,\r\n LocalizationPipe,\r\n mapEnumToOptions,\r\n PagedResultDto,\r\n ShortDateTimePipe,\r\n} from '@abp/ng.core';\r\nimport { EXTENSIONS_IDENTIFIER, GridActionsComponent } from '@abp/ng.components/extensible';\r\nimport {\r\n DateAdapter,\r\n EllipsisDirective,\r\n NgxDatatableDefaultDirective,\r\n NgxDatatableListDirective,\r\n} from '@abp/ng.theme.shared';\r\nimport { DateRangePickerComponent } from '@volo/abp.commercial.ng.ui';\r\nimport {\r\n AuditLogsService,\r\n EntityChangeDto,\r\n EntityChangeType,\r\n} from '@volo/abp.ng.audit-logging/proxy';\r\nimport { handleExcelExport } from '@volo/abp.ng.audit-logging/common';\r\nimport { eAuditLoggingComponents } from '../../enums/components';\r\n\r\n@Component({\r\n selector: 'abp-entity-changes',\r\n templateUrl: './entity-changes.component.html',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n providers: [\r\n ListService,\r\n {\r\n provide: EXTENSIONS_IDENTIFIER,\r\n useValue: eAuditLoggingComponents.EntityChanges,\r\n },\r\n { provide: NgbDateAdapter, useClass: DateAdapter },\r\n ],\r\n imports: [\r\n FormsModule,\r\n ReactiveFormsModule,\r\n NgxValidateCoreModule,\r\n NgxDatatableModule,\r\n EllipsisDirective,\r\n NgxDatatableDefaultDirective,\r\n NgxDatatableListDirective,\r\n LocalizationPipe,\r\n ShortDateTimePipe,\r\n DateRangePickerComponent,\r\n GridActionsComponent,\r\n ],\r\n})\r\nexport class EntityChangesComponent implements AfterViewInit {\r\n protected readonly fb = inject(UntypedFormBuilder);\r\n protected readonly auditLogsService = inject(AuditLogsService);\r\n public readonly list = inject(ListService);\r\n public readonly injector = inject(Injector);\r\n\r\n readonly data = toSignal(\r\n this.list.hookToQuery(query => {\r\n const value = {\r\n ...this.form.value,\r\n ...this.form.value.times,\r\n };\r\n return this.auditLogsService.getEntityChanges({ ...value, ...query });\r\n }),\r\n {\r\n initialValue: { items: [], totalCount: 0 } as PagedResultDto<EntityChangeDto>,\r\n },\r\n );\r\n changeType = EntityChangeType;\r\n changeTypes = mapEnumToOptions(EntityChangeType);\r\n form = this.fb.group({\r\n entityChangeType: [''],\r\n entityTypeFullName: [''],\r\n times: [{}],\r\n entityId: [''],\r\n });\r\n\r\n ngAfterViewInit() {\r\n this.list.get();\r\n }\r\n\r\n handleSubmit() {\r\n this.list.get();\r\n }\r\n\r\n exportToExcel() {\r\n handleExcelExport(\r\n this.auditLogsService.exportEntityChangesToExcel(this.form.value),\r\n this.injector,\r\n );\r\n }\r\n}\r\n","<div class=\"card\">\r\n <div class=\"card-body pb-lg-3\">\r\n <form [formGroup]=\"form\" (ngSubmit)=\"handleSubmit()\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12 col-lg-4 col-xxl-3\">\r\n <label class=\"form-label\">{{ 'AbpAuditLogging::ChangeTime' | abpLocalization }}</label>\r\n <abp-date-range-picker\r\n formControlName=\"times\"\r\n startDateProp=\"startDate\"\r\n endDateProp=\"endDate\"\r\n />\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <label class=\"form-label\" for=\"change-type\">{{\r\n 'AbpAuditLogging::ChangeType' | abpLocalization\r\n }}</label>\r\n <select\r\n id=\"change-type\"\r\n class=\"form-select form-control\"\r\n formControlName=\"entityChangeType\"\r\n (change)=\"handleSubmit()\"\r\n >\r\n <option [ngValue]=\"\"></option>\r\n @for (type of changeTypes; track type.key) {\r\n <option [ngValue]=\"type.value\">\r\n {{ 'AbpAuditLogging::' + type.key | abpLocalization }}\r\n </option>\r\n }\r\n </select>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <label class=\"form-label\" for=\"entity-type-full-name\">{{\r\n 'AbpAuditLogging::EntityId' | abpLocalization\r\n }}</label>\r\n <input id=\"entity-id\" type=\"text\" class=\"form-control\" formControlName=\"entityId\" />\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <label class=\"form-label\" for=\"entity-type-full-name\">{{\r\n 'AbpAuditLogging::EntityTypeFullName' | abpLocalization\r\n }}</label>\r\n <input\r\n id=\"entity-type-full-name\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n formControlName=\"entityTypeFullName\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"row justify-content-end\">\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mt-3 mb-lg-0 d-grid\">\r\n <button type=\"submit\" class=\"btn btn-primary\">\r\n <span>\r\n {{ 'AbpAuditLogging::Refresh' | abpLocalization }}\r\n </span>\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mt-3 mb-lg-0 d-grid\">\r\n <button\r\n type=\"button\"\r\n class=\"text-nowrap btn btn-outline-success\"\r\n (click)=\"exportToExcel()\"\r\n >\r\n <i class=\"fa fa-file-excel-o\" aria-hidden=\"true\"></i>\r\n <span>\r\n {{ 'AbpAuditLogging::ExportToExcel' | abpLocalization }}\r\n </span>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </form>\r\n </div>\r\n</div>\r\n<div class=\"card m-0\">\r\n <div class=\"card-body p-0\">\r\n <ngx-datatable default [rows]=\"data().items\" [count]=\"data().totalCount\" [list]=\"list\">\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::Detail' | abpLocalization\"\r\n [maxWidth]=\"150\"\r\n [width]=\"150\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" let-i=\"rowIndex\" ngx-datatable-cell-template>\r\n <abp-grid-actions [index]=\"i\" [record]=\"row\" text=\"AbpAuditLogging::Actions\" />\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::Time' | abpLocalization\"\r\n [width]=\"230\"\r\n prop=\"changeTime\"\r\n >\r\n <ng-template ngx-datatable-cell-template let-value=\"value\">\r\n {{ value | shortDateTime }}\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::ChangeType' | abpLocalization\"\r\n [width]=\"140\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n {{ 'AbpAuditLogging::' + changeType[row.changeType] | abpLocalization }}\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::TenantId' | abpLocalization\"\r\n [width]=\"150\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <div abpEllipsis>{{ row.tenantId }}</div>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::EntityId' | abpLocalization\"\r\n [width]=\"150\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <div abpEllipsis>{{ row.entityId }}</div>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::EntityTypeFullName' | abpLocalization\"\r\n [width]=\"150\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <div abpEllipsis>{{ row.entityTypeFullName }}</div>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n </ngx-datatable>\r\n </div>\r\n</div>\r\n","import { Component, DestroyRef, Injector, inject } from '@angular/core';\r\nimport { takeUntilDestroyed, toSignal } from '@angular/core/rxjs-interop';\r\nimport { JsonPipe } from '@angular/common';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { Tab, TabList, TabPanel, Tabs } from '@angular/aria/tabs';\r\nimport {\r\n NgbDateAdapter,\r\n NgbNav,\r\n NgbNavItem,\r\n NgbNavItemRole,\r\n NgbNavLink,\r\n NgbNavLinkBase,\r\n NgbNavContent,\r\n NgbNavOutlet,\r\n} from '@ng-bootstrap/ng-bootstrap';\r\nimport { take } from 'rxjs/operators';\r\nimport { ListService, LocalizationPipe, PagedResultDto, ShortDateTimePipe } from '@abp/ng.core';\r\nimport { ExtensibleTableComponent, EXTENSIONS_IDENTIFIER } from '@abp/ng.components/extensible';\r\nimport { PageComponent } from '@abp/ng.components/page';\r\nimport { DateAdapter, ModalCloseDirective, ModalComponent } from '@abp/ng.theme.shared';\r\nimport { DatetimePickerComponent } from '@volo/abp.commercial.ng.ui';\r\nimport {\r\n AuditLogDto,\r\n AuditLogsService,\r\n EntityChangeDto,\r\n EntityChangeWithUsernameDto,\r\n GetAuditLogListDto,\r\n} from '@volo/abp.ng.audit-logging/proxy';\r\nimport { EntityChangeDetailsComponent, handleExcelExport } from '@volo/abp.ng.audit-logging/common';\r\nimport { HTTP_METHODS, HTTP_STATUS_CODES } from '../../constants/http';\r\nimport { eAuditLoggingComponents } from '../../enums/components';\r\nimport { EntityChangesComponent } from '../entity-change/entity-changes.component';\r\n\r\n@Component({\r\n selector: 'abp-audit-logs',\r\n templateUrl: './audit-logs.component.html',\r\n styles: [\r\n `\r\n .fade-in {\r\n animation: fadeIn 350ms ease both;\r\n }\r\n\r\n @keyframes fadeIn {\r\n from {\r\n opacity: 0;\r\n }\r\n to {\r\n opacity: 1;\r\n }\r\n }\r\n `,\r\n ],\r\n providers: [\r\n ListService,\r\n {\r\n provide: EXTENSIONS_IDENTIFIER,\r\n useValue: eAuditLoggingComponents.AuditLogs,\r\n },\r\n { provide: NgbDateAdapter, useClass: DateAdapter },\r\n ],\r\n imports: [\r\n FormsModule,\r\n NgbNav,\r\n NgbNavItem,\r\n NgbNavItemRole,\r\n NgbNavLink,\r\n NgbNavLinkBase,\r\n NgbNavContent,\r\n NgbNavOutlet,\r\n ModalCloseDirective,\r\n JsonPipe,\r\n LocalizationPipe,\r\n ShortDateTimePipe,\r\n DatetimePickerComponent,\r\n ExtensibleTableComponent,\r\n EntityChangesComponent,\r\n EntityChangeDetailsComponent,\r\n PageComponent,\r\n ModalComponent,\r\n Tabs,\r\n TabList,\r\n Tab,\r\n TabPanel,\r\n ],\r\n})\r\nexport class AuditLogsComponent {\r\n protected readonly service = inject(AuditLogsService);\r\n protected readonly injector = inject(Injector);\r\n protected readonly list = inject(ListService<GetAuditLogListDto>);\r\n protected readonly destroyRef = inject(DestroyRef);\r\n\r\n readonly data = toSignal(\r\n this.list.hookToQuery(query =>\r\n this.service.getList({\r\n ...this.pageQuery,\r\n ...(this.pageQuery.minExecutionDuration === null && {\r\n minExecutionDuration: undefined,\r\n }),\r\n ...(this.pageQuery.maxExecutionDuration === null && {\r\n maxExecutionDuration: undefined,\r\n }),\r\n ...query,\r\n }),\r\n ),\r\n {\r\n initialValue: { items: [], totalCount: 0 } as PagedResultDto<AuditLogDto>,\r\n },\r\n );\r\n\r\n selected = {} as AuditLogDto;\r\n\r\n pageQuery = {\r\n maxResultCount: 10,\r\n skipCount: 0,\r\n httpMethod: null,\r\n httpStatusCode: null,\r\n hasException: null,\r\n } as GetAuditLogListDto;\r\n\r\n httpMethods = HTTP_METHODS;\r\n\r\n httpStatusCodes = HTTP_STATUS_CODES;\r\n\r\n modalVisible = false;\r\n\r\n sortOrder = '';\r\n\r\n sortKey = '';\r\n\r\n selectedTab = 'audit-logs';\r\n\r\n openModal(id: string) {\r\n const selected = this.data().items.find(log => log.id === id);\r\n if (!selected) {\r\n return;\r\n }\r\n\r\n this.selected = {\r\n ...selected,\r\n actions: selected.actions ?? [],\r\n entityChanges: selected.entityChanges ?? [],\r\n };\r\n this.modalVisible = true;\r\n\r\n this.service\r\n .get(id)\r\n .pipe(take(1), takeUntilDestroyed(this.destroyRef))\r\n .subscribe(log => {\r\n if (!this.modalVisible || this.selected?.id !== id) {\r\n return;\r\n }\r\n\r\n this.selected = log;\r\n });\r\n }\r\n\r\n httpCodeClass(httpStatusCode: number): string {\r\n switch (httpStatusCode?.toString()[0]) {\r\n case '2':\r\n return 'bg-success';\r\n case '3':\r\n return 'bg-warning';\r\n case '4':\r\n case '5':\r\n return 'bg-danger';\r\n default:\r\n return 'bg-light';\r\n }\r\n }\r\n\r\n httpMethodClass(httpMethod: string): string {\r\n switch (httpMethod) {\r\n case 'GET':\r\n return 'bg-info';\r\n case 'POST':\r\n return 'bg-success';\r\n case 'DELETE':\r\n return 'bg-danger';\r\n case 'PUT':\r\n return 'bg-warning';\r\n default:\r\n return '';\r\n }\r\n }\r\n\r\n getEntityChangeDetails(change: EntityChangeDto): EntityChangeWithUsernameDto {\r\n return {\r\n entityChange: change,\r\n userName: this.selected.userName,\r\n };\r\n }\r\n\r\n exportToExcel() {\r\n handleExcelExport(this.service.exportToExcel(this.pageQuery), this.injector);\r\n }\r\n}\r\n","<div id=\"wrapper\">\r\n <abp-page [title]=\"'AbpAuditLogging::AuditLogs' | abpLocalization\" [toolbar]=\"data().items\">\r\n <div ngTabs>\r\n <ul ngTabList class=\"nav nav-tabs\" [(selectedTab)]=\"selectedTab\">\r\n <li class=\"nav-item\">\r\n <button\r\n ngTab\r\n value=\"audit-logs\"\r\n class=\"nav-link\"\r\n [class.active]=\"selectedTab === 'audit-logs'\"\r\n >\r\n {{ 'AbpAuditLogging::AuditLogs' | abpLocalization }}\r\n </button>\r\n </li>\r\n <li class=\"nav-item\">\r\n <button\r\n ngTab\r\n value=\"entity-changes\"\r\n class=\"nav-link\"\r\n [class.active]=\"selectedTab === 'entity-changes'\"\r\n >\r\n {{ 'AbpAuditLogging::EntityChanges' | abpLocalization }}\r\n </button>\r\n </li>\r\n </ul>\r\n <div\r\n ngTabPanel\r\n value=\"audit-logs\"\r\n class=\"tab-content\"\r\n [class.p-0]=\"selectedTab !== 'audit-logs'\"\r\n >\r\n <div class=\"tab-pane fade-in\" [class.active]=\"selectedTab === 'audit-logs'\">\r\n <div class=\"card mb-0\">\r\n <div class=\"card-body pb-lg-3\">\r\n <form (keyup.enter)=\"list.get()\">\r\n <div class=\"row\">\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{\r\n 'AbpAuditLogging::StartDate' | abpLocalization\r\n }}</label>\r\n <abp-datetime-picker\r\n [(ngModel)]=\"pageQuery.startTime\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{\r\n 'AbpAuditLogging::EndDate' | abpLocalization\r\n }}</label>\r\n <abp-datetime-picker\r\n [(ngModel)]=\"pageQuery.endTime\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3\">\r\n <label for=\"userName\" class=\"form-label\">{{\r\n 'AbpAuditLogging::UserName' | abpLocalization\r\n }}</label>\r\n <input\r\n id=\"userName\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"pageQuery.userName\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"url\">{{\r\n 'AbpAuditLogging::Url' | abpLocalization\r\n }}</label>\r\n <input\r\n id=\"url\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"pageQuery.url\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3\">\r\n <label for=\"minDuration\" class=\"form-label\">{{\r\n 'AbpAuditLogging::MinDuration' | abpLocalization\r\n }}</label>\r\n <input\r\n id=\"minDuration\"\r\n type=\"number\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"pageQuery.minExecutionDuration\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3\">\r\n <label for=\"maxDuration\" class=\"form-label\">{{\r\n 'AbpAuditLogging::MaxDuration' | abpLocalization\r\n }}</label>\r\n <input\r\n id=\"maxDuration\"\r\n type=\"number\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"pageQuery.maxExecutionDuration\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3\">\r\n <label for=\"httpMethod\" class=\"form-label\">{{\r\n 'AbpAuditLogging::HttpMethod' | abpLocalization\r\n }}</label>\r\n <select\r\n id=\"httpMethod\"\r\n class=\"form-select form-control\"\r\n [(ngModel)]=\"pageQuery.httpMethod\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n (change)=\"list.get()\"\r\n >\r\n <option [ngValue]=\"null\">-</option>\r\n @for (method of httpMethods; track $index) {\r\n <option [ngValue]=\"method\">\r\n {{ method }}\r\n </option>\r\n }\r\n </select>\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3\">\r\n <label for=\"httpStatusCode\" class=\"form-label\">{{\r\n 'AbpAuditLogging::HttpStatusCode' | abpLocalization\r\n }}</label>\r\n <select\r\n id=\"httpStatusCode\"\r\n class=\"form-select form-control\"\r\n [(ngModel)]=\"pageQuery.httpStatusCode\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n (change)=\"list.get()\"\r\n >\r\n <option [ngValue]=\"null\">-</option>\r\n @for (h of httpStatusCodes; track $index) {\r\n <option [ngValue]=\"h.code\">{{ h.code }} - {{ h.message }}</option>\r\n }\r\n </select>\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3 mb-lg-0\">\r\n <label for=\"applicationName\" class=\"form-label\">{{\r\n 'AbpAuditLogging::ApplicationName' | abpLocalization\r\n }}</label>\r\n <input\r\n id=\"applicationName\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"pageQuery.applicationName\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3 mb-lg-0\">\r\n <label for=\"correlationId\" class=\"form-label\">{{\r\n 'AbpAuditLogging::ClientIpAddress' | abpLocalization\r\n }}</label>\r\n <input\r\n id=\"clientIpAddress\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"pageQuery.clientIpAddress\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3 mb-lg-0\">\r\n <label for=\"correlationId\" class=\"form-label\">{{\r\n 'AbpAuditLogging::CorrelationId' | abpLocalization\r\n }}</label>\r\n <input\r\n id=\"correlationId\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"pageQuery.correlationId\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3 mb-lg-0\">\r\n <label for=\"hasException\" class=\"form-label\">{{\r\n 'AbpAuditLogging::HasException' | abpLocalization\r\n }}</label>\r\n <select\r\n name=\"hasException\"\r\n id=\"hasException\"\r\n class=\"form-select form-control\"\r\n [(ngModel)]=\"pageQuery.hasException\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n (change)=\"list.get()\"\r\n >\r\n <option [ngValue]=\"null\">-</option>\r\n <option [ngValue]=\"true\">\r\n {{ 'AbpAuditLogging::Yes' | abpLocalization }}\r\n </option>\r\n <option [ngValue]=\"false\">\r\n {{ 'AbpAuditLogging::No' | abpLocalization }}\r\n </option>\r\n </select>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row justify-content-end\">\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mt-3 mb-lg-0 d-grid\">\r\n <button type=\"button\" class=\"btn btn-primary\" (click)=\"list.get()\">\r\n <span>\r\n {{ 'AbpAuditLogging::Refresh' | abpLocalization }}\r\n </span>\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mt-3 mb-lg-0 d-grid\">\r\n <button\r\n type=\"button\"\r\n class=\"text-nowrap btn btn-outline-success\"\r\n (click)=\"exportToExcel()\"\r\n >\r\n <i class=\"fa fa-file-excel-o\" aria-hidden=\"true\"></i>\r\n <span>\r\n {{ 'AbpAuditLogging::ExportToExcel' | abpLocalization }}\r\n </span>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </form>\r\n </div>\r\n </div>\r\n <div class=\"card mb-0\">\r\n <div class=\"card-body p-0\">\r\n <abp-extensible-table\r\n [data]=\"data().items\"\r\n [recordsTotal]=\"data().totalCount\"\r\n [list]=\"list\"\r\n />\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div\r\n ngTabPanel\r\n value=\"entity-changes\"\r\n class=\"tab-content\"\r\n [class.p-0]=\"selectedTab !== 'entity-changes'\"\r\n >\r\n <div class=\"tab-pane fade-in\" [class.active]=\"selectedTab === 'entity-changes'\">\r\n @if (selectedTab === 'entity-changes') {\r\n <abp-entity-changes />\r\n }\r\n </div>\r\n </div>\r\n </div>\r\n </abp-page>\r\n</div>\r\n\r\n@if (selected) {\r\n <abp-modal [(visible)]=\"modalVisible\" [options]=\"{ size: 'xl' }\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">\r\n {{ 'AbpAuditLogging::Detail' | abpLocalization }}\r\n </h5>\r\n </ng-template>\r\n <ng-template #abpBody>\r\n <ul ngbNav #nav=\"ngbNav\" class=\"nav-tabs\">\r\n <li ngbNavItem>\r\n <a ngbNavLink>{{ 'AbpAuditLogging::Overall' | abpLocalization }}</a>\r\n <ng-template ngbNavContent>\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::HttpStatusCode' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n <span class=\"badge\" [class]=\"httpCodeClass(selected.httpStatusCode)\">{{\r\n selected.httpStatusCode\r\n }}</span>\r\n </div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::HttpMethod' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n <span class=\"badge\" [class]=\"httpMethodClass(selected.httpMethod)\">{{\r\n selected.httpMethod\r\n }}</span>\r\n </div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::Url' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.url }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::ClientIpAddress' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.clientIpAddress }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::ClientName' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.clientName }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::Exceptions' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n @if (selected.exceptions) {\r\n <pre lang=\"c-sharp\">\r\n {{ selected.exceptions }}\r\n </pre>\r\n }\r\n </div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::UserName' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.userName }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n @if (selected.impersonatorTenantId) {\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::TenantImpersonator' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n {{ selected.impersonatorTenantName || selected.impersonatorTenantId }}\r\n </div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n }\r\n @if (selected.impersonatorUserId) {\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::UserImpersonator' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n @if (selected.impersonatorUserName) {\r\n {{ selected.impersonatorUserName }} ({{ selected.impersonatorUserId }})\r\n } @else {\r\n {{ selected.impersonatorUserId }}\r\n }\r\n </div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n }\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::Time' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n {{ selected.executionTime | shortDateTime }}\r\n </div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::Duration' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.executionDuration }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::BrowserInfo' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.browserInfo }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::ApplicationName' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.applicationName }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::CorrelationId' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.correlationId }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::Comments' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.comments }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::ExtraProperties' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n <pre lang=\"json\" class=\"p-2\">\r\n {{ selected.extraProperties | json }}\r\n </pre>\r\n </div>\r\n </div>\r\n </ng-template>\r\n </li>\r\n <li ngbNavItem>\r\n <a ngbNavLink>\r\n {{ 'AbpAuditLogging::Actions' | abpLocalization }} ({{ selected.actions.length }})\r\n </a>\r\n <ng-template ngbNavContent>\r\n <div class=\"table-responsive\">\r\n <table class=\"table table-striped\">\r\n <thead>\r\n <tr>\r\n <th>{{ 'AbpAuditLogging::Actions' | abpLocalization }}</th>\r\n <th>{{ 'AbpAuditLogging::Duration' | abpLocalization }}</th>\r\n <th>{{ 'AbpAuditLogging::Parameters' | abpLocalization }}</th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n @for (action of selected.actions; track action.id) {\r\n <tr>\r\n <td>\r\n <span\r\n class=\"text-truncate d-block\"\r\n [title]=\"action.serviceName + ' - ' + action.methodName\"\r\n >\r\n {{ action.serviceName }} - {{ action.methodName }}\r\n </span>\r\n </td>\r\n <td>{{ action.executionDuration }}</td>\r\n <td>\r\n <pre lang=\"json\" class=\"p-2\">{{ action.parameters }}</pre>\r\n </td>\r\n </tr>\r\n }\r\n </tbody>\r\n </table>\r\n </div>\r\n </ng-template>\r\n </li>\r\n @if (selected.entityChanges.length) {\r\n <li ngbNavItem>\r\n <a ngbNavLink>\r\n {{ 'AbpAuditLogging::Changes' | abpLocalization }} ({{\r\n selected.entityChanges.length\r\n }})\r\n </a>\r\n <ng-template ngbNavContent>\r\n @for (change of selected.entityChanges; track change.id) {\r\n <abp-entity-change-details [itemWithUserName]=\"getEntityChangeDetails(change)\" />\r\n }\r\n </ng-template>\r\n </li>\r\n }\r\n </ul>\r\n <div [ngbNavOutlet]=\"nav\"></div>\r\n </ng-template>\r\n <ng-template #abpFooter>\r\n <button class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpAuditLogging::Close' | abpLocalization }}\r\n </button>\r\n </ng-template>\r\n </abp-modal>\r\n}\r\n","import { Injectable, inject } from '@angular/core';\r\n\r\nimport { AUDIT_LOGGING_FEATURES } from '@volo/abp.ng.audit-logging/common';\r\nimport { Observable } from 'rxjs';\r\nimport { map } from 'rxjs/operators';\r\nimport { ModuleVisibility } from '@volo/abp.commercial.ng.ui/config';\r\n\r\n/**\r\n * @deprecated Use `auditLoggingGuard` *function* instead.\r\n */\r\n@Injectable()\r\nexport class AuditLoggingGuard {\r\n private auditLoggingFeatures = inject<Observable<ModuleVisibility>>(AUDIT_LOGGING_FEATURES);\r\n\r\n\r\n canActivate() {\r\n return this.auditLoggingFeatures.pipe(map(features => features.enable));\r\n }\r\n}\r\n\r\nexport const auditLoggingGuard = () => {\r\n const auditLoggingFeatures = inject(AUDIT_LOGGING_FEATURES);\r\n\r\n return auditLoggingFeatures.pipe(map(features => features.enable));\r\n};\r\n","import { InjectionToken } from '@angular/core';\r\n\r\nexport const SHOW_ENTITY_DETAILS = new InjectionToken<(entityChangeId: string) => void>(\r\n 'SHOW_ENTITY_DETAILS',\r\n);\r\n","import { EntityAction } from '@abp/ng.components/extensible';\r\nimport { AuditLogDto } from '@volo/abp.ng.audit-logging/proxy';\r\nimport { AuditLogsComponent } from '../components/audit-logs/audit-logs.component';\r\n\r\nexport const DEFAULT_AUDIT_LOGS_ENTITY_ACTIONS = EntityAction.createMany<AuditLogDto>([\r\n {\r\n text: 'AbpAuditLogging::Detail',\r\n action: data => {\r\n const component = data.getInjected(AuditLogsComponent);\r\n component.openModal(data.record.id);\r\n },\r\n icon: 'fa fa-eye',\r\n },\r\n]);\r\n","import { EntityProp, ePropType } from '@abp/ng.components/extensible';\r\nimport { AuditLogDto } from '@volo/abp.ng.audit-logging/proxy';\r\nimport { of } from 'rxjs';\r\nimport { AuditLogsComponent } from '../components/audit-logs/audit-logs.component';\r\n\r\nexport const DEFAULT_AUDIT_LOGS_ENTITY_PROPS = EntityProp.createMany<AuditLogDto>([\r\n {\r\n type: ePropType.String,\r\n name: 'url',\r\n displayName: 'AbpAuditLogging::HttpRequest',\r\n sortable: true,\r\n columnWidth: 600,\r\n valueResolver: data => {\r\n const component = data.getInjected(AuditLogsComponent);\r\n const { httpMethod, httpStatusCode, url } = data.record;\r\n const methodClass = component.httpMethodClass(httpMethod);\r\n const statusClass = component.httpCodeClass(httpStatusCode);\r\n\r\n return of(\r\n `<span class=\"badge ${statusClass} me-1\">${httpStatusCode}</span>` +\r\n `<span class=\"badge ${methodClass} me-1\">${httpMethod}</span>` +\r\n (url || ''),\r\n );\r\n },\r\n },\r\n {\r\n type: ePropType.String,\r\n name: 'userName',\r\n displayName: 'AbpAuditLogging::User',\r\n sortable: true,\r\n columnWidth: 150,\r\n },\r\n {\r\n type: ePropType.String,\r\n name: 'clientIpAddress',\r\n displayName: 'AbpAuditLogging::IpAddress',\r\n sortable: true,\r\n columnWidth: 150,\r\n },\r\n {\r\n type: ePropType.DateTime,\r\n name: 'executionTime',\r\n displayName: 'AbpIdentity::Date',\r\n sortable: true,\r\n columnWidth: 150,\r\n },\r\n {\r\n type: ePropType.Number,\r\n name: 'executionDuration',\r\n displayName: 'AbpAuditLogging::Duration',\r\n sortable: true,\r\n columnWidth: 150,\r\n },\r\n {\r\n type: ePropType.String,\r\n name: 'applicationName',\r\n displayName: 'AbpAuditLogging::ApplicationName',\r\n sortable: true,\r\n columnWidth: 200,\r\n },\r\n]);\r\n","import { ToolbarAction } from '@abp/ng.components/extensible';\r\nimport { AuditLogDto } from '@volo/abp.ng.audit-logging/proxy';\r\n\r\nexport const DEFAULT_AUDIT_LOGS_TOOLBAR_ACTIONS = ToolbarAction.createMany<AuditLogDto[]>([]);\r\n","import { EntityAction } from '@abp/ng.components/extensible';\r\nimport { SHOW_ENTITY_HISTORY } from '@volo/abp.commercial.ng.ui';\r\nimport { EntityChangeDto } from '@volo/abp.ng.audit-logging/proxy';\r\nimport { SHOW_ENTITY_DETAILS } from '../tokens/entity-details.token';\r\n\r\nexport const DEFAULT_ENTITY_CHANGES_ENTITY_ACTIONS = EntityAction.createMany<EntityChangeDto>([\r\n {\r\n text: 'AbpAuditLogging::ChangeDetails',\r\n action: data => {\r\n const showDetails = data.getInjected(SHOW_ENTITY_DETAILS);\r\n showDetails(data.record.id);\r\n },\r\n icon: 'fa fa-search',\r\n },\r\n {\r\n text: 'AbpAuditLogging::FullChangeHistory',\r\n action: data => {\r\n const showHistory = data.getInjected(SHOW_ENTITY_HISTORY);\r\n showHistory(data.record.entityId, data.record.entityTypeFullName);\r\n },\r\n icon: 'fa fa-history',\r\n },\r\n]);\r\n","import {\r\n EntityActionContributorCallback,\r\n EntityPropContributorCallback,\r\n ToolbarActionContributorCallback,\r\n} from '@abp/ng.components/extensible';\r\nimport { InjectionToken } from '@angular/core';\r\nimport { AuditLogDto, EntityChangeDto } from '@volo/abp.ng.audit-logging/proxy';\r\nimport { DEFAULT_AUDIT_LOGS_ENTITY_ACTIONS } from '../defaults/default-audit-logs-entity-actions';\r\nimport { DEFAULT_AUDIT_LOGS_ENTITY_PROPS } from '../defaults/default-audit-logs-entity-props';\r\nimport { DEFAULT_AUDIT_LOGS_TOOLBAR_ACTIONS } from '../defaults/default-audit-logs-toolbar-actions';\r\nimport { DEFAULT_ENTITY_CHANGES_ENTITY_ACTIONS } from '../defaults/default-entity-changes-entity-actions';\r\nimport { eAuditLoggingComponents } from '../enums/components';\r\n\r\nexport const DEFAULT_AUDIT_LOGGING_ENTITY_ACTIONS = {\r\n [eAuditLoggingComponents.AuditLogs]: DEFAULT_AUDIT_LOGS_ENTITY_ACTIONS,\r\n [eAuditLoggingComponents.EntityChanges]: DEFAULT_ENTITY_CHANGES_ENTITY_ACTIONS,\r\n};\r\n\r\nexport const DEFAULT_AUDIT_LOGGING_TOOLBAR_ACTIONS = {\r\n [eAuditLoggingComponents.AuditLogs]: DEFAULT_AUDIT_LOGS_TOOLBAR_ACTIONS,\r\n};\r\nexport const DEFAULT_AUDIT_LOGGING_ENTITY_PROPS = {\r\n [eAuditLoggingComponents.AuditLogs]: DEFAULT_AUDIT_LOGS_ENTITY_PROPS,\r\n};\r\n\r\nexport const AUDIT_LOGGING_ENTITY_ACTION_CONTRIBUTORS =\r\n new InjectionToken<EntityActionContributors>('AUDIT_LOGGING_ENTITY_ACTION_CONTRIBUTORS');\r\n\r\nexport const AUDIT_LOGGING_TOOLBAR_ACTION_CONTRIBUTORS =\r\n new InjectionToken<ToolbarActionContributors>('AUDIT_LOGGING_TOOLBAR_ACTION_CONTRIBUTORS');\r\n\r\nexport const AUDIT_LOGGING_ENTITY_PROP_CONTRIBUTORS = new InjectionToken<EntityPropContributors>(\r\n 'AUDIT_LOGGING_ENTITY_PROP_CONTRIBUTORS',\r\n);\r\n\r\n// https://github.com/microsoft/TypeScript/issues/9944#issuecomment-254693497\r\ntype EntityActionContributors = Partial<{\r\n [eAuditLoggingComponents.AuditLogs]: EntityActionContributorCallback<AuditLogDto>[];\r\n [eAuditLoggingComponents.EntityChanges]: EntityActionContributorCallback<EntityChangeDto>[];\r\n}>;\r\ntype ToolbarActionContributors = Partial<{\r\n [eAuditLoggingComponents.AuditLogs]: ToolbarActionContributorCallback<AuditLogDto[]>[];\r\n}>;\r\ntype EntityPropContributors = Partial<{\r\n [eAuditLoggingComponents.AuditLogs]: EntityPropContributorCallback<AuditLogDto>[];\r\n}>;\r\n","import {\r\n ExtensionsService,\r\n getObjectExtensionEntitiesFromStore,\r\n mapEntitiesToContributors,\r\n mergeWithDefaultActions,\r\n mergeWithDefaultProps,\r\n} from '@abp/ng.components/extensible';\r\nimport { Injector, inject } from '@angular/core';\r\nimport { ResolveFn } from '@angular/router';\r\nimport { map, tap } from 'rxjs';\r\nimport { eAuditLoggingComponents } from '../enums';\r\nimport {\r\n AuditLoggingEntityActionContributors,\r\n AuditLoggingToolbarActionContributors,\r\n AuditLoggingEntityPropContributors,\r\n} from '../models';\r\nimport {\r\n AUDIT_LOGGING_ENTITY_ACTION_CONTRIBUTORS,\r\n AUDIT_LOGGING_TOOLBAR_ACTION_CONTRIBUTORS,\r\n AUDIT_LOGGING_ENTITY_PROP_CONTRIBUTORS,\r\n DEFAULT_AUDIT_LOGGING_ENTITY_ACTIONS,\r\n DEFAULT_AUDIT_LOGGING_TOOLBAR_ACTIONS,\r\n DEFAULT_AUDIT_LOGGING_ENTITY_PROPS,\r\n} from '../tokens';\r\n\r\nexport const auditLoggingExtensionsResolver: ResolveFn<any> = () => {\r\n const injector = inject(Injector);\r\n\r\n const extensions: ExtensionsService = injector.get(ExtensionsService);\r\n const actionContributors: AuditLoggingEntityActionContributors =\r\n injector.get(AUDIT_LOGGING_ENTITY_ACTION_CONTRIBUTORS, null) || {};\r\n const toolbarContributors: AuditLoggingToolbarActionContributors =\r\n injector.get(AUDIT_LOGGING_TOOLBAR_ACTION_CONTRIBUTORS, null) || {};\r\n const propContributors: AuditLoggingEntityPropContributors =\r\n injector.get(AUDIT_LOGGING_ENTITY_PROP_CONTRIBUTORS, null) || {};\r\n\r\n return getObjectExtensionEntitiesFromStore(injector, 'AuditLogging').pipe(\r\n map(entities => ({\r\n [eAuditLoggingComponents.AuditLogs]: entities.AuditLog,\r\n })),\r\n mapEntitiesToContributors(injector, 'AuditLogging'),\r\n tap(objectExtensionContributors => {\r\n mergeWithDefaultActions(\r\n extensions.entityActions,\r\n DEFAULT_AUDIT_LOGGING_ENTITY_ACTIONS,\r\n actionContributors,\r\n );\r\n mergeWithDefaultActions(\r\n extensions.toolbarActions,\r\n DEFAULT_AUDIT_LOGGING_TOOLBAR_ACTIONS,\r\n toolbarContributors,\r\n );\r\n mergeWithDefaultProps(\r\n extensions.entityProps,\r\n DEFAULT_AUDIT_LOGGING_ENTITY_PROPS,\r\n objectExtensionContributors.prop,\r\n propContributors,\r\n );\r\n }),\r\n );\r\n};\r\n","import {\r\n authGuard,\r\n permissionGuard,\r\n ReplaceableComponents,\r\n ReplaceableRouteContainerComponent,\r\n RouterOutletComponent,\r\n} from '@abp/ng.core';\r\nimport { NgModule } from '@angular/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\nimport { AuditLogsComponent } from './components/audit-logs/audit-logs.component';\r\nimport { eAuditLoggingComponents } from './enums/components';\r\nimport { auditLoggingGuard } from './guards/audit-logging.guard';\r\nimport { auditLoggingExtensionsResolver } from './resolvers/extensions.resolver';\r\n\r\nconst routes: Routes = [\r\n {\r\n path: '',\r\n component: RouterOutletComponent,\r\n canActivate: [authGuard, permissionGuard, auditLoggingGuard],\r\n resolve: [auditLoggingExtensionsResolver],\r\n children: [\r\n {\r\n path: '',\r\n component: ReplaceableRouteContainerComponent,\r\n data: {\r\n requiredPolicy: 'AuditLogging.AuditLogs',\r\n replaceableComponent: {\r\n key: eAuditLoggingComponents.AuditLogs,\r\n defaultComponent: AuditLogsComponent,\r\n } as ReplaceableComponents.RouteData<AuditLogsComponent>,\r\n },\r\n title: 'AbpAuditLogging::Menu:AuditLogging',\r\n },\r\n ],\r\n },\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule],\r\n})\r\nexport class AuditLoggingRoutingModule {}\r\n","import { Component, inject, viewChild, input, signal } from '@angular/core';\r\nimport { outputFromObservable } from '@angular/core/rxjs-interop';\r\nimport { BehaviorSubject } from 'rxjs';\r\nimport { ChartComponent } from '@abp/ng.components/chart.js';\r\nimport {\r\n LocalizationPipe,\r\n LocalizationService,\r\n PermissionDirective,\r\n PermissionService,\r\n} from '@abp/ng.core';\r\nimport { Statistics } from '@abp/ng.theme.shared';\r\nimport { FormatValuePipe } from '@volo/abp.commercial.ng.ui';\r\nimport { AuditLogsService } from '@volo/abp.ng.audit-logging/proxy';\r\n\r\n@Component({\r\n selector: 'abp-average-execution-duration-widget',\r\n template: `\r\n <div *abpPermission=\"'AuditLogging.AuditLogs'\" class=\"abp-widget-wrapper\">\r\n <div class=\"card\">\r\n <div class=\"card-header\">\r\n <h5 class=\"card-title\">\r\n {{ 'AbpAuditLogging::AverageExecutionDurationInLogsPerDay' | abpLocalization }}\r\n </h5>\r\n </div>\r\n <div class=\"card-body\">\r\n <div class=\"row\">\r\n <abp-chart\r\n #chart\r\n class=\"w-100\"\r\n type=\"bar\"\r\n [data]=\"chartData()\"\r\n [width]=\"width() | formatValue: 'cssSize'\"\r\n [height]=\"height() | formatValue: 'cssSize'\"\r\n />\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n `,\r\n imports: [ChartComponent, PermissionDirective, LocalizationPipe, FormatValuePipe],\r\n})\r\nexport class AverageExecutionDurationWidgetComponent {\r\n protected localizationService = inject(LocalizationService);\r\n protected permissionService = inject(PermissionService);\r\n protected service = inject(AuditLogsService);\r\n\r\n data: Statistics.Data = {};\r\n\r\n readonly initialized = outputFromObservable(new BehaviorSubject(this));\r\n\r\n readonly width = input(312);\r\n\r\n readonly height = input(136);\r\n\r\n readonly chart = viewChild(ChartComponent);\r\n\r\n readonly chartData = signal<Record<string, unknown>>({});\r\n\r\n draw = (filter: { startDate: string; endDate: string }) => {\r\n if (!this.permissionService.getGrantedPolicy('AuditLogging.AuditLogs')) {\r\n return;\r\n }\r\n\r\n this.service\r\n .getAverageExecutionDurationPerDay({ startDate: filter.startDate, endDate: filter.endDate })\r\n .subscribe(res => {\r\n this.data = res.data;\r\n this.setChartData();\r\n });\r\n };\r\n\r\n private setChartData() {\r\n if (!this.data || JSON.stringify(this.data) === '{}') {\r\n this.chartData.set({});\r\n return;\r\n }\r\n const dataKeys = Object.keys(this.data);\r\n\r\n this.chartData.set({\r\n labels: dataKeys,\r\n datasets: [\r\n {\r\n label: this.localizationService.instant(\r\n 'AbpAuditLogging::AverageExecutionDurationInMilliseconds',\r\n ),\r\n backgroundColor: '#fa6e6e',\r\n data: dataKeys.map(key => this.data[key]),\r\n },\r\n ],\r\n });\r\n\r\n this.chart()?.reinit();\r\n }\r\n}\r\n","import { Component, inject, viewChild, input, signal } from '@angular/core';\r\nimport { outputFromObservable } from '@angular/core/rxjs-interop';\r\nimport { BehaviorSubject } from 'rxjs';\r\nimport { LocalizationPipe, PermissionDirective, PermissionService } from '@abp/ng.core';\r\nimport { Statistics } from '@abp/ng.theme.shared';\r\nimport { ChartComponent, ChartModule } from '@abp/ng.components/chart.js';\r\nimport { FormatValuePipe } from '@volo/abp.commercial.ng.ui';\r\nimport { AuditLogsService } from '@volo/abp.ng.audit-logging/proxy';\r\n\r\n@Component({\r\n selector: 'abp-error-rate-widget',\r\n template: `\r\n <div *abpPermission=\"'AuditLogging.AuditLogs'\" class=\"abp-widget-wrapper\">\r\n <div class=\"card\">\r\n <div class=\"card-header\">\r\n <h5 class=\"card-title\">\r\n {{ 'AbpAuditLogging::ErrorRateInLogs' | abpLocalization }}\r\n </h5>\r\n </div>\r\n <div class=\"card-body\">\r\n <div class=\"row\">\r\n <abp-chart\r\n #chart\r\n class=\"w-100\"\r\n type=\"pie\"\r\n [data]=\"chartData()\"\r\n [width]=\"width() | formatValue:'cssSize'\"\r\n [height]=\"height() | formatValue:'cssSize'\"\r\n />\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n `,\r\n imports: [ChartModule, PermissionDirective, LocalizationPipe, FormatValuePipe],\r\n})\r\nexport class ErrorRateWidgetComponent {\r\n protected permissionService = inject(PermissionService);\r\n protected service = inject(AuditLogsService);\r\n\r\n data: Statistics.Data = {};\r\n\r\n readonly initialized = outputFromObservable(new BehaviorSubject(this));\r\n\r\n readonly width = input(273);\r\n\r\n readonly height = input(136);\r\n\r\n readonly chart = viewChild(ChartComponent);\r\n\r\n readonly chartData = signal<Record<string, unknown>>({});\r\n\r\n draw = (filter: { startDate: string; endDate: string }) => {\r\n if (!this.permissionService.getGrantedPolicy('AuditLogging.AuditLogs')) {\r\n return;\r\n }\r\n\r\n this.service\r\n .getErrorRate({\r\n startDate: filter.startDate,\r\n endDate: filter.endDate,\r\n })\r\n .subscribe(res => {\r\n this.data = res.data;\r\n this.setChartData();\r\n });\r\n };\r\n\r\n private setChartData() {\r\n if (!this.data || JSON.stringify(this.data) === '{}') {\r\n this.chartData.set({});\r\n return;\r\n }\r\n const dataKeys = Object.keys(this.data);\r\n\r\n this.chartData.set({\r\n labels: dataKeys,\r\n datasets: [\r\n {\r\n data: dataKeys.map(key => this.data[key]),\r\n backgroundColor: ['#d76e6e', '#63ac44'],\r\n },\r\n ],\r\n });\r\n\r\n this.chart()?.reinit();\r\n }\r\n}\r\n","import { ChartModule } from '@abp/ng.components/chart.js';\r\nimport { PageModule } from '@abp/ng.components/page';\r\nimport { CoreModule, LazyModuleFactory } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { ModuleWithProviders, NgModule, NgModuleFactory } from '@angular/core';\r\nimport { NgbDatepickerModule, NgbNavModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { CommercialUiModule, DatetimePickerComponent } from '@volo/abp.commercial.ng.ui';\r\nimport { EntityChangeDetailsComponent } from '@volo/abp.ng.audit-logging/common';\r\nimport { AuditLoggingRoutingModule } from './audit-logging-routing.module';\r\nimport { AuditLogsComponent } from './components/audit-logs/audit-logs.component';\r\nimport { EntityChangesComponent } from './components/entity-change/entity-changes.component';\r\nimport { AverageExecutionDurationWidgetComponent } from './components/widgets/average-execution-duration-widget.component';\r\nimport { ErrorRateWidgetComponent } from './components/widgets/error-rate-widget.component';\r\nimport { AuditLoggingConfigOptions } from './models/config-options';\r\nimport {\r\n AUDIT_LOGGING_ENTITY_ACTION_CONTRIBUTORS,\r\n AUDIT_LOGGING_ENTITY_PROP_CONTRIBUTORS,\r\n AUDIT_LOGGING_TOOLBAR_ACTION_CONTRIBUTORS,\r\n} from './tokens/extensions.token';\r\n\r\nconst declarations = [\r\n AuditLogsComponent,\r\n EntityChangesComponent,\r\n ErrorRateWidgetComponent,\r\n AverageExecutionDurationWidgetComponent,\r\n];\r\n@NgModule({\r\n exports: [...declarations],\r\n imports: [\r\n AuditLoggingRoutingModule,\r\n CoreModule,\r\n CommercialUiModule,\r\n ThemeSharedModule,\r\n NgbNavModule,\r\n NgbDatepickerModule,\r\n PageModule,\r\n ChartModule,\r\n DatetimePickerComponent,\r\n EntityChangeDetailsComponent,\r\n ...declarations,\r\n ],\r\n})\r\nexport class AuditLoggingModule {\r\n static forChild(\r\n options: AuditLoggingConfigOptions = {},\r\n ): ModuleWithProviders<AuditLoggingModule> {\r\n return {\r\n ngModule: AuditLoggingModule,\r\n providers: [\r\n {\r\n provide: AUDIT_LOGGING_ENTITY_ACTION_CONTRIBUTORS,\r\n useValue: options.entityActionContributors,\r\n },\r\n {\r\n provide: AUDIT_LOGGING_TOOLBAR_ACTION_CONTRIBUTORS,\r\n useValue: options.toolbarActionContributors,\r\n },\r\n {\r\n provide: AUDIT_LOGGING_ENTITY_PROP_CONTRIBUTORS,\r\n useValue: options.entityPropContributors,\r\n },\r\n ],\r\n };\r\n }\r\n /**\r\n * @deprecated `AuditLoggingModule.forLazy()` is deprecated. You can use `createRoutes` **function** instead.\r\n */\r\n static forLazy(options: AuditLoggingConfigOptions = {}): NgModuleFactory<AuditLoggingModule> {\r\n return new LazyModuleFactory(AuditLoggingModule.forChild(options));\r\n }\r\n}\r\n","import {\r\n ExtensionsService,\r\n getObjectExtensionEntitiesFromStore,\r\n mapEntitiesToContributors,\r\n mergeWithDefaultActions,\r\n mergeWithDefaultProps,\r\n} from '@abp/ng.components/extensible';\r\nimport { inject, Injectable, Injector } from '@angular/core';\r\n\r\nimport { Observable } from 'rxjs';\r\nimport { map, tap } from 'rxjs/operators';\r\nimport { eAuditLoggingComponents } from '../enums/components';\r\nimport {\r\n AuditLoggingEntityActionContributors,\r\n AuditLoggingEntityPropContributors,\r\n AuditLoggingToolbarActionContributors,\r\n} from '../models/config-options';\r\nimport {\r\n AUDIT_LOGGING_ENTITY_ACTION_CONTRIBUTORS,\r\n AUDIT_LOGGING_ENTITY_PROP_CONTRIBUTORS,\r\n AUDIT_LOGGING_TOOLBAR_ACTION_CONTRIBUTORS,\r\n DEFAULT_AUDIT_LOGGING_ENTITY_ACTIONS,\r\n DEFAULT_AUDIT_LOGGING_ENTITY_PROPS,\r\n DEFAULT_AUDIT_LOGGING_TOOLBAR_ACTIONS,\r\n} from '../tokens/extensions.token';\r\n\r\n/**\r\n * @deprecated Use `auditLoggingExtensionsResolver` *function* instead.\r\n */\r\n@Injectable()\r\nexport class AuditLoggingExtensionsGuard {\r\n private readonly injector = inject(Injector);\r\n\r\n canActivate(): Observable<boolean> {\r\n const extensions: ExtensionsService = this.injector.get(ExtensionsService);\r\n const actionContributors: AuditLoggingEntityActionContributors =\r\n this.injector.get(AUDIT_LOGGING_ENTITY_ACTION_CONTRIBUTORS, null) || {};\r\n const toolbarContributors: AuditLoggingToolbarActionContributors =\r\n this.injector.get(AUDIT_LOGGING_TOOLBAR_ACTION_CONTRIBUTORS, null) || {};\r\n const propContributors: AuditLoggingEntityPropContributors =\r\n this.injector.get(AUDIT_LOGGING_ENTITY_PROP_CONTRIBUTORS, null) || {};\r\n\r\n return getObjectExtensionEntitiesFromStore(this.injector, 'AuditLogging').pipe(\r\n map(entities => ({\r\n [eAuditLoggingComponents.AuditLogs]: entities.AuditLog,\r\n })),\r\n mapEntitiesToContributors(this.injector, 'AuditLogging'),\r\n tap(objectExtensionContributors => {\r\n mergeWithDefaultActions(\r\n extensions.entityActions,\r\n DEFAULT_AUDIT_LOGGING_ENTITY_ACTIONS,\r\n actionContributors,\r\n );\r\n mergeWithDefaultActions(\r\n extensions.toolbarActions,\r\n DEFAULT_AUDIT_LOGGING_TOOLBAR_ACTIONS,\r\n toolbarContributors,\r\n );\r\n mergeWithDefaultProps(\r\n extensions.entityProps,\r\n DEFAULT_AUDIT_LOGGING_ENTITY_PROPS,\r\n objectExtensionContributors.prop,\r\n propContributors,\r\n );\r\n }),\r\n map(() => true),\r\n );\r\n }\r\n}\r\n","import { Provider } from '@angular/core';\r\nimport { Routes } from '@angular/router';\r\nimport {\r\n RouterOutletComponent,\r\n authGuard,\r\n permissionGuard,\r\n ReplaceableRouteContainerComponent,\r\n ReplaceableComponents,\r\n} from '@abp/ng.core';\r\nimport { AuditLogsComponent } from './components';\r\nimport { eAuditLoggingComponents } from './enums';\r\nimport { auditLoggingGuard } from './guards';\r\nimport { AuditLoggingConfigOptions } from './models';\r\nimport { auditLoggingExtensionsResolver } from './resolvers';\r\nimport {\r\n AUDIT_LOGGING_ENTITY_ACTION_CONTRIBUTORS,\r\n AUDIT_LOGGING_TOOLBAR_ACTION_CONTRIBUTORS,\r\n AUDIT_LOGGING_ENTITY_PROP_CONTRIBUTORS,\r\n} from './tokens';\r\n\r\nexport function createRoutes(config: AuditLoggingConfigOptions = {}): Routes {\r\n return [\r\n {\r\n path: '',\r\n component: RouterOutletComponent,\r\n providers: provideAuditLoggingContributors(config),\r\n canActivate: [authGuard, permissionGuard, auditLoggingGuard],\r\n resolve: [auditLoggingExtensionsResolver],\r\n children: [\r\n {\r\n path: '',\r\n component: ReplaceableRouteContainerComponent,\r\n data: {\r\n requiredPolicy: 'AuditLogging.AuditLogs',\r\n replaceableComponent: {\r\n key: eAuditLoggingComponents.AuditLogs,\r\n defaultComponent: AuditLogsComponent,\r\n } as ReplaceableComponents.RouteData<AuditLogsComponent>,\r\n },\r\n title: 'AbpAuditLogging::Menu:AuditLogging',\r\n },\r\n ],\r\n },\r\n ];\r\n}\r\n\r\nfunction provideAuditLoggingContributors(options: AuditLoggingConfigOptions = {}): Provider[] {\r\n return [\r\n {\r\n provide: AUDIT_LOGGING_ENTITY_ACTION_CONTRIBUTORS,\r\n useValue: options.entityActionContributors,\r\n },\r\n {\r\n provide: AUDIT_LOGGING_TOOLBAR_ACTION_CONTRIBUTORS,\r\n useValue: options.toolbarActionContributors,\r\n },\r\n {\r\n provide: AUDIT_LOGGING_ENTITY_PROP_CONTRIBUTORS,\r\n useValue: options.entityPropContributors,\r\n },\r\n ];\r\n}\r\n","export enum eEntityChangeType {\r\n Created = 0,\r\n Updated = 1,\r\n Deleted = 2,\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from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AAE,sCAAsC;YAC/C,QAAQ,EAAE,OAAO,CAAC,sBAAsB;AACzC,SAAA;KACF;AACH;;IC7DY;AAAZ,CAAA,UAAY,iBAAiB,EAAA;AAC3B,IAAA,iBAAA,CAAA,iBAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAW;AACX,IAAA,iBAAA,CAAA,iBAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAW;AACX,IAAA,iBAAA,CAAA,iBAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAW;AACb,CAAC,EAJW,iBAAiB,KAAjB,iBAAiB,GAAA,EAAA,CAAA,CAAA;;ACA7B;;AAEG;;"}
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volo/abp.ng.audit-logging",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "11.0.0-rc.2",
|
|
4
4
|
"homepage": "https://abp.io",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@abp/ng.components": "~
|
|
7
|
-
"@abp/ng.theme.shared": "~
|
|
8
|
-
"@volo/abp.commercial.ng.ui": "~
|
|
6
|
+
"@abp/ng.components": "~11.0.0-rc.2",
|
|
7
|
+
"@abp/ng.theme.shared": "~11.0.0-rc.2",
|
|
8
|
+
"@volo/abp.commercial.ng.ui": "~11.0.0-rc.2",
|
|
9
9
|
"tslib": "^2.0.0"
|
|
10
10
|
},
|
|
11
11
|
"peerDependencies": {
|
|
12
|
-
"@angular/aria": "~
|
|
12
|
+
"@angular/aria": "~22.0.0"
|
|
13
13
|
},
|
|
14
14
|
"publishConfig": {
|
|
15
15
|
"access": "public"
|
|
@@ -77,7 +77,7 @@ declare class EntityChangeModalService {
|
|
|
77
77
|
showDetails(entityChangeId: string): void;
|
|
78
78
|
showHistory(entityId: string, entityTypeFullName: string): void;
|
|
79
79
|
static ɵfac: i0.ɵɵFactoryDeclaration<EntityChangeModalService, never>;
|
|
80
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
80
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
declare const ENTITY_DETAILS_PROVIDERS: {
|
|
@@ -160,7 +160,7 @@ declare class AuditLogSettingsService {
|
|
|
160
160
|
update: (input: AuditLogSettingsDto, config?: Partial<Rest.Config>) => rxjs.Observable<void>;
|
|
161
161
|
updateGlobal: (input: AuditLogGlobalSettingsDto, config?: Partial<Rest.Config>) => rxjs.Observable<void>;
|
|
162
162
|
static ɵfac: i0.ɵɵFactoryDeclaration<AuditLogSettingsService, never>;
|
|
163
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
163
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
declare class AuditLogsService {
|
|
@@ -178,7 +178,7 @@ declare class AuditLogsService {
|
|
|
178
178
|
getErrorRate: (filter: GetErrorRateFilter, config?: Partial<Rest.Config>) => rxjs.Observable<GetErrorRateOutput>;
|
|
179
179
|
getList: (input: GetAuditLogListDto, config?: Partial<Rest.Config>) => rxjs.Observable<PagedResultDto<AuditLogDto>>;
|
|
180
180
|
static ɵfac: i0.ɵɵFactoryDeclaration<AuditLogsService, never>;
|
|
181
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
181
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
export { AuditLogSettingsService, AuditLogsService, EntityChangeType, entityChangeTypeOptions };
|
|
@@ -165,7 +165,7 @@ declare class AuditLoggingGuard {
|
|
|
165
165
|
private auditLoggingFeatures;
|
|
166
166
|
canActivate(): Observable<boolean>;
|
|
167
167
|
static ɵfac: i0.ɵɵFactoryDeclaration<AuditLoggingGuard, never>;
|
|
168
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
168
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
169
169
|
}
|
|
170
170
|
declare const auditLoggingGuard: () => Observable<boolean>;
|
|
171
171
|
|
|
@@ -176,7 +176,7 @@ declare class AuditLoggingExtensionsGuard {
|
|
|
176
176
|
private readonly injector;
|
|
177
177
|
canActivate(): Observable<boolean>;
|
|
178
178
|
static ɵfac: i0.ɵɵFactoryDeclaration<AuditLoggingExtensionsGuard, never>;
|
|
179
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
179
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
180
180
|
}
|
|
181
181
|
|
|
182
182
|
declare const SHOW_ENTITY_DETAILS: InjectionToken<(entityChangeId: string) => void>;
|