@volo/abp.ng.audit-logging 10.4.0-rc.2 → 10.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -53,10 +53,10 @@ class EntityChangeDetailsComponent {
|
|
|
53
53
|
const changeTypeLocalized = this.localization.instant('AbpAuditLogging::' + this.changeType);
|
|
54
54
|
return [changeTypeLocalized, timeAgo, this.userName];
|
|
55
55
|
}
|
|
56
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
57
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
56
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: EntityChangeDetailsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
57
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: EntityChangeDetailsComponent, isStandalone: true, selector: "abp-entity-change-details", inputs: { itemWithUserName: { classPropertyName: "itemWithUserName", publicName: "itemWithUserName", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (getEntityChangeTimeParams(); as timeParameters) {\r\n <table class=\"table\" style=\"width: 100%; table-layout: fixed\">\r\n <thead>\r\n <tr>\r\n <th>{{ 'AbpAuditLogging::PropertyName' | abpLocalization }}</th>\r\n <th>{{ 'AbpAuditLogging::OriginalValue' | abpLocalization }}</th>\r\n <th>{{ 'AbpAuditLogging::NewValue' | abpLocalization }}</th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n @if (entityChange.propertyChanges.length) {\r\n <tr class=\"table-active\">\r\n <td colspan=\"3\">\r\n <span class=\"text-muted\" [ngbTooltip]=\"entityChange.changeTime | shortDateTime\">\r\n @if (this.userName) {\r\n {{ 'AbpAuditLogging::DaysAgoWithUserTitle' | abpLocalization: timeParameters }}\r\n } @else {\r\n {{ 'AbpAuditLogging::DaysAgoTitle' | abpLocalization: timeParameters }}\r\n }\r\n </span>\r\n </td>\r\n </tr>\r\n @for (prop of entityChange.propertyChanges; track prop.id) {\r\n <tr>\r\n <td>{{ prop.propertyName }}</td>\r\n <td>\r\n <pre lang=\"json\">{{ prop.originalValue }}</pre>\r\n </td>\r\n <td>\r\n <pre lang=\"json\" [style.color]=\"getPropColor(prop)\">{{ prop.newValue }}</pre>\r\n </td>\r\n </tr>\r\n }\r\n } @else {\r\n <tr>\r\n <td colspan=\"3\">{{ 'AbpUi::NoDataAvailableInDatatable' | abpLocalization }}</td>\r\n </tr>\r\n }\r\n </tbody>\r\n </table>\r\n}\r\n", styles: ["th,td{text-align:left;padding:10px;word-wrap:break-word}td pre{white-space:break-spaces;background:inherit}\n"], dependencies: [{ kind: "ngmodule", type: NgbTooltipModule }, { kind: "directive", type: i1.NgbTooltip, selector: "[ngbTooltip]", inputs: ["animation", "autoClose", "placement", "popperOptions", "triggers", "positionTarget", "container", "disableTooltip", "tooltipClass", "tooltipContext", "openDelay", "closeDelay", "ngbTooltip"], outputs: ["shown", "hidden"], exportAs: ["ngbTooltip"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }, { kind: "pipe", type: ShortDateTimePipe, name: "shortDateTime" }] }); }
|
|
58
58
|
}
|
|
59
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
59
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: EntityChangeDetailsComponent, decorators: [{
|
|
60
60
|
type: Component,
|
|
61
61
|
args: [{ selector: 'abp-entity-change-details', imports: [NgbTooltipModule, LocalizationPipe, ShortDateTimePipe], template: "@if (getEntityChangeTimeParams(); as timeParameters) {\r\n <table class=\"table\" style=\"width: 100%; table-layout: fixed\">\r\n <thead>\r\n <tr>\r\n <th>{{ 'AbpAuditLogging::PropertyName' | abpLocalization }}</th>\r\n <th>{{ 'AbpAuditLogging::OriginalValue' | abpLocalization }}</th>\r\n <th>{{ 'AbpAuditLogging::NewValue' | abpLocalization }}</th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n @if (entityChange.propertyChanges.length) {\r\n <tr class=\"table-active\">\r\n <td colspan=\"3\">\r\n <span class=\"text-muted\" [ngbTooltip]=\"entityChange.changeTime | shortDateTime\">\r\n @if (this.userName) {\r\n {{ 'AbpAuditLogging::DaysAgoWithUserTitle' | abpLocalization: timeParameters }}\r\n } @else {\r\n {{ 'AbpAuditLogging::DaysAgoTitle' | abpLocalization: timeParameters }}\r\n }\r\n </span>\r\n </td>\r\n </tr>\r\n @for (prop of entityChange.propertyChanges; track prop.id) {\r\n <tr>\r\n <td>{{ prop.propertyName }}</td>\r\n <td>\r\n <pre lang=\"json\">{{ prop.originalValue }}</pre>\r\n </td>\r\n <td>\r\n <pre lang=\"json\" [style.color]=\"getPropColor(prop)\">{{ prop.newValue }}</pre>\r\n </td>\r\n </tr>\r\n }\r\n } @else {\r\n <tr>\r\n <td colspan=\"3\">{{ 'AbpUi::NoDataAvailableInDatatable' | abpLocalization }}</td>\r\n </tr>\r\n }\r\n </tbody>\r\n </table>\r\n}\r\n", styles: ["th,td{text-align:left;padding:10px;word-wrap:break-word}td pre{white-space:break-spaces;background:inherit}\n"] }]
|
|
62
62
|
}], ctorParameters: () => [], propDecorators: { itemWithUserName: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemWithUserName", required: false }] }] } });
|
|
@@ -75,18 +75,18 @@ class AbstractAuditLogSettingsComponent {
|
|
|
75
75
|
date.setDate(date.getDate() - day);
|
|
76
76
|
return date;
|
|
77
77
|
}
|
|
78
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
79
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
78
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: AbstractAuditLogSettingsComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
79
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.15", type: AbstractAuditLogSettingsComponent, isStandalone: true, inputs: { isTenant: { classPropertyName: "isTenant", publicName: "isTenant", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
|
|
80
80
|
}
|
|
81
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
81
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: AbstractAuditLogSettingsComponent, decorators: [{
|
|
82
82
|
type: Directive
|
|
83
83
|
}], propDecorators: { isTenant: [{ type: i0.Input, args: [{ isSignal: true, alias: "isTenant", required: false }] }] } });
|
|
84
84
|
|
|
85
85
|
class AuditLogSettingsGeneralComponent extends AbstractAuditLogSettingsComponent {
|
|
86
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
87
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
86
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: AuditLogSettingsGeneralComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
87
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: AuditLogSettingsGeneralComponent, isStandalone: true, selector: "abp-audit-log-settings-general", usesInheritance: true, ngImport: i0, template: "<div [formGroup]=\"form\" (keyup.enter)=\"submit()\">\r\n <div class=\"form-check mb-3\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"IsExpiredDeleterEnabled\"\r\n name=\"IsExpiredDeleterEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isExpiredDeleterEnabled\"\r\n />\r\n <label class=\"form-label\" for=\"IsExpiredDeleterEnabled\">\r\n {{ 'AbpAuditLogging::DisplayName:IsExpiredDeleterEnabled' | abpLocalization }}\r\n </label>\r\n <div>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpAuditLogging::Description:IsExpiredDeleterEnabled' | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n\r\n @if (form.value.isExpiredDeleterEnabled) {\r\n <div class=\"mb-3 period-group\">\r\n <div class=\"input-group w-75\">\r\n <label class=\"input-group-text\" for=\"expiredDeleterPeriod\">\r\n {{ 'AbpAuditLogging::DisplayName:ExpiredDeleterPeriod' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"expiredDeleterPeriod\"\r\n name=\"expiredDeleterPeriod\"\r\n class=\"form-control text-center valid\"\r\n formControlName=\"expiredDeleterPeriod\"\r\n />\r\n <span class=\"input-group-text\">\r\n {{ 'AbpAuditLogging::ExpiredDeleterPeriodUnit' | abpLocalization }}\r\n </span>\r\n </div>\r\n <p class=\"text-muted mt-1 ms-1 fst-italic\">\r\n {{\r\n 'AbpAuditLogging::AuditLogsBeforeXWillBeDeleted'\r\n | abpLocalization\r\n : (getDateBeforeToday(form.controls.expiredDeleterPeriod.value) | date: 'MM/dd/yyyy')\r\n }}\r\n </p>\r\n </div>\r\n }\r\n</div>\r\n\r\n<hr class=\"my-3\" />\r\n\r\n<div>\r\n <abp-button (click)=\"submit()\" iconClass=\"fa fa-save\" [loading]=\"loading\">\r\n {{ 'AbpAccount::Save' | abpLocalization }}\r\n </abp-button>\r\n</div>\r\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }, { kind: "pipe", type: DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
88
88
|
}
|
|
89
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
89
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: AuditLogSettingsGeneralComponent, decorators: [{
|
|
90
90
|
type: Component,
|
|
91
91
|
args: [{ selector: 'abp-audit-log-settings-general', changeDetection: ChangeDetectionStrategy.OnPush, imports: [ReactiveFormsModule, LocalizationPipe, DatePipe, ButtonComponent], template: "<div [formGroup]=\"form\" (keyup.enter)=\"submit()\">\r\n <div class=\"form-check mb-3\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"IsExpiredDeleterEnabled\"\r\n name=\"IsExpiredDeleterEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isExpiredDeleterEnabled\"\r\n />\r\n <label class=\"form-label\" for=\"IsExpiredDeleterEnabled\">\r\n {{ 'AbpAuditLogging::DisplayName:IsExpiredDeleterEnabled' | abpLocalization }}\r\n </label>\r\n <div>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpAuditLogging::Description:IsExpiredDeleterEnabled' | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n\r\n @if (form.value.isExpiredDeleterEnabled) {\r\n <div class=\"mb-3 period-group\">\r\n <div class=\"input-group w-75\">\r\n <label class=\"input-group-text\" for=\"expiredDeleterPeriod\">\r\n {{ 'AbpAuditLogging::DisplayName:ExpiredDeleterPeriod' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"expiredDeleterPeriod\"\r\n name=\"expiredDeleterPeriod\"\r\n class=\"form-control text-center valid\"\r\n formControlName=\"expiredDeleterPeriod\"\r\n />\r\n <span class=\"input-group-text\">\r\n {{ 'AbpAuditLogging::ExpiredDeleterPeriodUnit' | abpLocalization }}\r\n </span>\r\n </div>\r\n <p class=\"text-muted mt-1 ms-1 fst-italic\">\r\n {{\r\n 'AbpAuditLogging::AuditLogsBeforeXWillBeDeleted'\r\n | abpLocalization\r\n : (getDateBeforeToday(form.controls.expiredDeleterPeriod.value) | date: 'MM/dd/yyyy')\r\n }}\r\n </p>\r\n </div>\r\n }\r\n</div>\r\n\r\n<hr class=\"my-3\" />\r\n\r\n<div>\r\n <abp-button (click)=\"submit()\" iconClass=\"fa fa-save\" [loading]=\"loading\">\r\n {{ 'AbpAccount::Save' | abpLocalization }}\r\n </abp-button>\r\n</div>\r\n" }]
|
|
92
92
|
}] });
|
|
@@ -96,10 +96,10 @@ class AuditLogSettingsGlobalComponent extends AbstractAuditLogSettingsComponent
|
|
|
96
96
|
super(...arguments);
|
|
97
97
|
this.globalTab = true;
|
|
98
98
|
}
|
|
99
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
100
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
99
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: AuditLogSettingsGlobalComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
100
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: AuditLogSettingsGlobalComponent, isStandalone: true, selector: "abp-audit-log-settings-global", usesInheritance: true, ngImport: i0, template: "<div [formGroup]=\"form\" (keyup.enter)=\"submit()\">\r\n <div class=\"mb-2 custom-checkbox custom-control form-check\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"IsPeriodicDeleterEnabled\"\r\n name=\"IsPeriodicDeleterEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isPeriodicDeleterEnabled\"\r\n />\r\n <label class=\"form-check-label\" for=\"IsPeriodicDeleterEnabled\">\r\n {{ 'AbpAuditLogging::DisplayName:IsPeriodicDeleterEnabled' | abpLocalization }}\r\n </label>\r\n\r\n <div>\r\n <span class=\"form-text text-muted mb-3\">\r\n {{ 'AbpAuditLogging::Description:IsPeriodicDeleterEnabled' | abpLocalization }}\r\n </span>\r\n </div>\r\n </div>\r\n\r\n @if (form.value.isPeriodicDeleterEnabled) {\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"IsExpiredDeleterEnabled\"\r\n name=\"IsExpiredDeleterEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isExpiredDeleterEnabled\"\r\n />\r\n <label class=\"form-label\" for=\"IsExpiredDeleterEnabled\">\r\n {{ 'AbpAuditLogging::DisplayName:GlobalIsExpiredDeleterEnabled' | abpLocalization }}\r\n </label>\r\n <div>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpAuditLogging::Description:GlobalIsExpiredDeleterEnabled' | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n\r\n @if (form.value.isExpiredDeleterEnabled) {\r\n <div class=\"mb-3 period-group\">\r\n <div class=\"input-group w-75\">\r\n <label class=\"input-group-text\" for=\"ExpiredDeleterPeriod\">\r\n {{ 'AbpAuditLogging::DisplayName:ExpiredDeleterPeriod' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"ExpiredDeleterPeriod\"\r\n name=\"ExpiredDeleterPeriod\"\r\n class=\"form-control text-center valid\"\r\n formControlName=\"expiredDeleterPeriod\"\r\n />\r\n <span class=\"input-group-text\">\r\n {{ 'AbpAuditLogging::ExpiredDeleterPeriodUnit' | abpLocalization }}\r\n </span>\r\n </div>\r\n <p class=\"text-muted mt-1 ms-1 fst-italic\">\r\n {{\r\n 'AbpAuditLogging::AuditLogsBeforeXWillBeDeleted'\r\n | abpLocalization\r\n : (getDateBeforeToday(form.controls.expiredDeleterPeriod.value)\r\n | date: 'MM/dd/yyyy')\r\n }}\r\n </p>\r\n </div>\r\n }\r\n }\r\n</div>\r\n\r\n<hr class=\"my-3\" />\r\n\r\n<div>\r\n <abp-button (click)=\"submit()\" iconClass=\"fa fa-save\" [loading]=\"loading\">\r\n {{ 'AbpAccount::Save' | abpLocalization }}\r\n </abp-button>\r\n</div>\r\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }, { kind: "pipe", type: DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
101
101
|
}
|
|
102
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
102
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: AuditLogSettingsGlobalComponent, decorators: [{
|
|
103
103
|
type: Component,
|
|
104
104
|
args: [{ selector: 'abp-audit-log-settings-global', changeDetection: ChangeDetectionStrategy.OnPush, imports: [ReactiveFormsModule, LocalizationPipe, DatePipe, ButtonComponent], template: "<div [formGroup]=\"form\" (keyup.enter)=\"submit()\">\r\n <div class=\"mb-2 custom-checkbox custom-control form-check\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"IsPeriodicDeleterEnabled\"\r\n name=\"IsPeriodicDeleterEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isPeriodicDeleterEnabled\"\r\n />\r\n <label class=\"form-check-label\" for=\"IsPeriodicDeleterEnabled\">\r\n {{ 'AbpAuditLogging::DisplayName:IsPeriodicDeleterEnabled' | abpLocalization }}\r\n </label>\r\n\r\n <div>\r\n <span class=\"form-text text-muted mb-3\">\r\n {{ 'AbpAuditLogging::Description:IsPeriodicDeleterEnabled' | abpLocalization }}\r\n </span>\r\n </div>\r\n </div>\r\n\r\n @if (form.value.isPeriodicDeleterEnabled) {\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"IsExpiredDeleterEnabled\"\r\n name=\"IsExpiredDeleterEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isExpiredDeleterEnabled\"\r\n />\r\n <label class=\"form-label\" for=\"IsExpiredDeleterEnabled\">\r\n {{ 'AbpAuditLogging::DisplayName:GlobalIsExpiredDeleterEnabled' | abpLocalization }}\r\n </label>\r\n <div>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpAuditLogging::Description:GlobalIsExpiredDeleterEnabled' | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n\r\n @if (form.value.isExpiredDeleterEnabled) {\r\n <div class=\"mb-3 period-group\">\r\n <div class=\"input-group w-75\">\r\n <label class=\"input-group-text\" for=\"ExpiredDeleterPeriod\">\r\n {{ 'AbpAuditLogging::DisplayName:ExpiredDeleterPeriod' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"ExpiredDeleterPeriod\"\r\n name=\"ExpiredDeleterPeriod\"\r\n class=\"form-control text-center valid\"\r\n formControlName=\"expiredDeleterPeriod\"\r\n />\r\n <span class=\"input-group-text\">\r\n {{ 'AbpAuditLogging::ExpiredDeleterPeriodUnit' | abpLocalization }}\r\n </span>\r\n </div>\r\n <p class=\"text-muted mt-1 ms-1 fst-italic\">\r\n {{\r\n 'AbpAuditLogging::AuditLogsBeforeXWillBeDeleted'\r\n | abpLocalization\r\n : (getDateBeforeToday(form.controls.expiredDeleterPeriod.value)\r\n | date: 'MM/dd/yyyy')\r\n }}\r\n </p>\r\n </div>\r\n }\r\n }\r\n</div>\r\n\r\n<hr class=\"my-3\" />\r\n\r\n<div>\r\n <abp-button (click)=\"submit()\" iconClass=\"fa fa-save\" [loading]=\"loading\">\r\n {{ 'AbpAccount::Save' | abpLocalization }}\r\n </abp-button>\r\n</div>\r\n" }]
|
|
105
105
|
}] });
|
|
@@ -109,10 +109,10 @@ class AuditLogSettingsComponent {
|
|
|
109
109
|
this.sessionStateService = inject(SessionStateService);
|
|
110
110
|
this.isTenant = this.sessionStateService.getTenant()?.isAvailable;
|
|
111
111
|
}
|
|
112
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
113
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
112
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: AuditLogSettingsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
113
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: AuditLogSettingsComponent, isStandalone: true, selector: "abp-audit-log-settings", ngImport: i0, template: "<div id=\"AuditLogSettingsForm\" class=\"row abp-md-form\">\r\n <div class=\"col-md-12\">\r\n <ul ngbNav #nav=\"ngbNav\" class=\"nav-tabs\">\r\n @if (!isTenant) {\r\n <li ngbNavItem>\r\n <a ngbNavLink>{{ 'AbpAuditLogging::AuditLogSettingsGlobal' | abpLocalization }}</a>\r\n\r\n <ng-template ngbNavContent>\r\n <abp-audit-log-settings-global [isTenant]=\"isTenant\" />\r\n </ng-template>\r\n </li>\r\n }\r\n\r\n <li ngbNavItem>\r\n <a ngbNavLink>{{ 'AbpAuditLogging::AuditLogSettingsGeneral' | abpLocalization }}</a>\r\n <ng-template ngbNavContent>\r\n <abp-audit-log-settings-general [isTenant]=\"isTenant\" />\r\n </ng-template>\r\n </li>\r\n </ul>\r\n <div [ngbNavOutlet]=\"nav\"></div>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "ngmodule", type: NgbNavModule }, { kind: "directive", type: i1$1.NgbNavContent, selector: "ng-template[ngbNavContent]" }, { kind: "directive", type: i1$1.NgbNav, selector: "[ngbNav]", inputs: ["activeId", "animation", "destroyOnHide", "orientation", "roles", "keyboard"], outputs: ["activeIdChange", "shown", "hidden", "navChange"], exportAs: ["ngbNav"] }, { kind: "directive", type: i1$1.NgbNavItem, selector: "[ngbNavItem]", inputs: ["destroyOnHide", "disabled", "domId", "ngbNavItem"], outputs: ["shown", "hidden"], exportAs: ["ngbNavItem"] }, { kind: "directive", type: i1$1.NgbNavItemRole, selector: "[ngbNavItem]:not(ng-container)" }, { kind: "directive", type: i1$1.NgbNavLink, selector: "a[ngbNavLink]" }, { kind: "directive", type: i1$1.NgbNavLinkBase, selector: "[ngbNavLink]" }, { kind: "component", type: i1$1.NgbNavOutlet, selector: "[ngbNavOutlet]", inputs: ["paneRole", "ngbNavOutlet"] }, { kind: "component", type: AuditLogSettingsGeneralComponent, selector: "abp-audit-log-settings-general" }, { kind: "component", type: AuditLogSettingsGlobalComponent, selector: "abp-audit-log-settings-global" }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }] }); }
|
|
114
114
|
}
|
|
115
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: AuditLogSettingsComponent, decorators: [{
|
|
116
116
|
type: Component,
|
|
117
117
|
args: [{ selector: 'abp-audit-log-settings', imports: [
|
|
118
118
|
NgbNavModule,
|
|
@@ -128,10 +128,10 @@ class EntityChangeModalComponent {
|
|
|
128
128
|
this.history = [];
|
|
129
129
|
this.visible = false;
|
|
130
130
|
}
|
|
131
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
132
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
131
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: EntityChangeModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
132
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: EntityChangeModalComponent, isStandalone: true, selector: "abp-entity-change-modal", ngImport: i0, template: "<abp-modal [(visible)]=\"visible\" [options]=\"{ size: 'lg' }\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">\r\n {{ entityTypeFullName }}\r\n <br />\r\n <span style=\"font-size: small\">({{ entityId }})</span>\r\n </h5>\r\n </ng-template>\r\n <ng-template #abpBody>\r\n @if (history.length) {\r\n @for (change of history; track $index) {\r\n <abp-entity-change-details [itemWithUserName]=\"change\" />\r\n }\r\n } @else {\r\n <div class=\"text-center\">\r\n {{ 'AbpAuditLogging::NoChanges' | abpLocalization }}\r\n </div>\r\n }\r\n </ng-template>\r\n <ng-template #abpFooter>\r\n <button class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpAuditLogging::Close' | abpLocalization }}\r\n </button>\r\n </ng-template>\r\n</abp-modal>\r\n", dependencies: [{ kind: "directive", type: ModalCloseDirective, selector: "[abpClose]" }, { kind: "component", type: EntityChangeDetailsComponent, selector: "abp-entity-change-details", inputs: ["itemWithUserName"] }, { kind: "component", type: ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
133
133
|
}
|
|
134
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
134
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: EntityChangeModalComponent, decorators: [{
|
|
135
135
|
type: Component,
|
|
136
136
|
args: [{ selector: 'abp-entity-change-modal', changeDetection: ChangeDetectionStrategy.OnPush, imports: [ModalCloseDirective, LocalizationPipe, EntityChangeDetailsComponent, ModalComponent], template: "<abp-modal [(visible)]=\"visible\" [options]=\"{ size: 'lg' }\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">\r\n {{ entityTypeFullName }}\r\n <br />\r\n <span style=\"font-size: small\">({{ entityId }})</span>\r\n </h5>\r\n </ng-template>\r\n <ng-template #abpBody>\r\n @if (history.length) {\r\n @for (change of history; track $index) {\r\n <abp-entity-change-details [itemWithUserName]=\"change\" />\r\n }\r\n } @else {\r\n <div class=\"text-center\">\r\n {{ 'AbpAuditLogging::NoChanges' | abpLocalization }}\r\n </div>\r\n }\r\n </ng-template>\r\n <ng-template #abpFooter>\r\n <button class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpAuditLogging::Close' | abpLocalization }}\r\n </button>\r\n </ng-template>\r\n</abp-modal>\r\n" }]
|
|
137
137
|
}] });
|
|
@@ -170,10 +170,10 @@ class EntityChangeModalService {
|
|
|
170
170
|
this.detectChanges();
|
|
171
171
|
});
|
|
172
172
|
}
|
|
173
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
174
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
173
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: EntityChangeModalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
174
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: EntityChangeModalService, providedIn: 'root' }); }
|
|
175
175
|
}
|
|
176
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
176
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: EntityChangeModalService, decorators: [{
|
|
177
177
|
type: Injectable,
|
|
178
178
|
args: [{
|
|
179
179
|
providedIn: 'root',
|
|
@@ -259,17 +259,17 @@ class AuditLoggingConfigModule {
|
|
|
259
259
|
providers: [provideAuditLoggingConfig()],
|
|
260
260
|
};
|
|
261
261
|
}
|
|
262
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
263
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
262
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: AuditLoggingConfigModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
263
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.15", ngImport: i0, type: AuditLoggingConfigModule, imports: [CoreModule,
|
|
264
264
|
ThemeSharedModule,
|
|
265
265
|
EntityChangeDetailsComponent,
|
|
266
266
|
EntityChangeModalComponent], exports: [EntityChangeModalComponent] }); }
|
|
267
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
267
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: AuditLoggingConfigModule, imports: [CoreModule,
|
|
268
268
|
ThemeSharedModule,
|
|
269
269
|
EntityChangeDetailsComponent,
|
|
270
270
|
EntityChangeModalComponent] }); }
|
|
271
271
|
}
|
|
272
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
272
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: AuditLoggingConfigModule, decorators: [{
|
|
273
273
|
type: NgModule,
|
|
274
274
|
args: [{
|
|
275
275
|
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: "21.2.
|
|
29
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
28
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: AuditLogSettingsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
29
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: AuditLogSettingsService, providedIn: 'root' }); }
|
|
30
30
|
}
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: AuditLogSettingsService, decorators: [{
|
|
32
32
|
type: Injectable,
|
|
33
33
|
args: [{
|
|
34
34
|
providedIn: 'root',
|
|
@@ -141,10 +141,10 @@ class AuditLogsService {
|
|
|
141
141
|
},
|
|
142
142
|
}, { apiName: this.apiName, ...config });
|
|
143
143
|
}
|
|
144
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
145
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
144
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: AuditLogsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
145
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: AuditLogsService, providedIn: 'root' }); }
|
|
146
146
|
}
|
|
147
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
147
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: AuditLogsService, decorators: [{
|
|
148
148
|
type: Injectable,
|
|
149
149
|
args: [{
|
|
150
150
|
providedIn: 'root',
|
|
@@ -135,8 +135,8 @@ class EntityChangesComponent {
|
|
|
135
135
|
exportToExcel() {
|
|
136
136
|
handleExcelExport(this.auditLogsService.exportEntityChangesToExcel(this.form.value), this.injector);
|
|
137
137
|
}
|
|
138
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
139
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
138
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: EntityChangesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
139
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: EntityChangesComponent, isStandalone: true, selector: "abp-entity-changes", providers: [
|
|
140
140
|
ListService,
|
|
141
141
|
{
|
|
142
142
|
provide: EXTENSIONS_IDENTIFIER,
|
|
@@ -145,7 +145,7 @@ class EntityChangesComponent {
|
|
|
145
145
|
{ provide: NgbDateAdapter, useClass: DateAdapter },
|
|
146
146
|
], ngImport: i0, template: "<div class=\"card\">\r\n <div class=\"card-body pb-lg-3\">\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\" [count]=\"count\" [list]=\"list\">\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::Detail' | abpLocalization\"\r\n [maxWidth]=\"150\"\r\n [width]=\"150\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" let-i=\"rowIndex\" ngx-datatable-cell-template>\r\n <abp-grid-actions [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])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[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: ["scroll", "activate", "select", "sort", "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 }); }
|
|
147
147
|
}
|
|
148
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
148
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: EntityChangesComponent, decorators: [{
|
|
149
149
|
type: Component,
|
|
150
150
|
args: [{ selector: 'abp-entity-changes', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
151
151
|
ListService,
|
|
@@ -252,8 +252,8 @@ class AuditLogsComponent {
|
|
|
252
252
|
exportToExcel() {
|
|
253
253
|
handleExcelExport(this.service.exportToExcel(this.pageQuery), this.injector);
|
|
254
254
|
}
|
|
255
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
256
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
255
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: AuditLogsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
256
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: AuditLogsComponent, isStandalone: true, selector: "abp-audit-logs", providers: [
|
|
257
257
|
ListService,
|
|
258
258
|
{
|
|
259
259
|
provide: EXTENSIONS_IDENTIFIER,
|
|
@@ -262,7 +262,7 @@ class AuditLogsComponent {
|
|
|
262
262
|
{ provide: NgbDateAdapter, useClass: DateAdapter },
|
|
263
263
|
], 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])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i1.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[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" }] }); }
|
|
264
264
|
}
|
|
265
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
265
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: AuditLogsComponent, decorators: [{
|
|
266
266
|
type: Component,
|
|
267
267
|
args: [{ selector: 'abp-audit-logs', providers: [
|
|
268
268
|
ListService,
|
|
@@ -307,10 +307,10 @@ class AuditLoggingGuard {
|
|
|
307
307
|
canActivate() {
|
|
308
308
|
return this.auditLoggingFeatures.pipe(map(features => features.enable));
|
|
309
309
|
}
|
|
310
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
311
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
310
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: AuditLoggingGuard, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
311
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: AuditLoggingGuard }); }
|
|
312
312
|
}
|
|
313
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
313
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: AuditLoggingGuard, decorators: [{
|
|
314
314
|
type: Injectable
|
|
315
315
|
}] });
|
|
316
316
|
const auditLoggingGuard = () => {
|
|
@@ -458,11 +458,11 @@ const routes = [
|
|
|
458
458
|
},
|
|
459
459
|
];
|
|
460
460
|
class AuditLoggingRoutingModule {
|
|
461
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
462
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
463
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
461
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: AuditLoggingRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
462
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.15", ngImport: i0, type: AuditLoggingRoutingModule, imports: [i1$1.RouterModule], exports: [RouterModule] }); }
|
|
463
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: AuditLoggingRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] }); }
|
|
464
464
|
}
|
|
465
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
465
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: AuditLoggingRoutingModule, decorators: [{
|
|
466
466
|
type: NgModule,
|
|
467
467
|
args: [{
|
|
468
468
|
imports: [RouterModule.forChild(routes)],
|
|
@@ -513,8 +513,8 @@ class AverageExecutionDurationWidgetComponent {
|
|
|
513
513
|
this.chart().refresh();
|
|
514
514
|
}, 0);
|
|
515
515
|
}
|
|
516
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
517
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.
|
|
516
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: AverageExecutionDurationWidgetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
517
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.15", 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: `
|
|
518
518
|
<div *abpPermission="'AuditLogging.AuditLogs'" class="abp-widget-wrapper">
|
|
519
519
|
<div class="card">
|
|
520
520
|
<div class="card-header">
|
|
@@ -538,7 +538,7 @@ class AverageExecutionDurationWidgetComponent {
|
|
|
538
538
|
</div>
|
|
539
539
|
`, 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" }] }); }
|
|
540
540
|
}
|
|
541
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
541
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: AverageExecutionDurationWidgetComponent, decorators: [{
|
|
542
542
|
type: Component,
|
|
543
543
|
args: [{
|
|
544
544
|
selector: 'abp-average-execution-duration-widget',
|
|
@@ -613,8 +613,8 @@ class ErrorRateWidgetComponent {
|
|
|
613
613
|
this.chart().refresh();
|
|
614
614
|
}, 0);
|
|
615
615
|
}
|
|
616
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
617
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.
|
|
616
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ErrorRateWidgetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
617
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.15", 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: `
|
|
618
618
|
<div *abpPermission="'AuditLogging.AuditLogs'" class="abp-widget-wrapper">
|
|
619
619
|
<div class="card">
|
|
620
620
|
<div class="card-header">
|
|
@@ -638,7 +638,7 @@ class ErrorRateWidgetComponent {
|
|
|
638
638
|
</div>
|
|
639
639
|
`, 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" }] }); }
|
|
640
640
|
}
|
|
641
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
641
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ErrorRateWidgetComponent, decorators: [{
|
|
642
642
|
type: Component,
|
|
643
643
|
args: [{
|
|
644
644
|
selector: 'abp-error-rate-widget',
|
|
@@ -701,8 +701,8 @@ class AuditLoggingModule {
|
|
|
701
701
|
static forLazy(options = {}) {
|
|
702
702
|
return new LazyModuleFactory(AuditLoggingModule.forChild(options));
|
|
703
703
|
}
|
|
704
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
705
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
704
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: AuditLoggingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
705
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.15", ngImport: i0, type: AuditLoggingModule, imports: [AuditLoggingRoutingModule,
|
|
706
706
|
CoreModule,
|
|
707
707
|
CommercialUiModule,
|
|
708
708
|
ThemeSharedModule,
|
|
@@ -718,7 +718,7 @@ class AuditLoggingModule {
|
|
|
718
718
|
EntityChangesComponent,
|
|
719
719
|
ErrorRateWidgetComponent,
|
|
720
720
|
AverageExecutionDurationWidgetComponent] }); }
|
|
721
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
721
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: AuditLoggingModule, imports: [AuditLoggingRoutingModule,
|
|
722
722
|
CoreModule,
|
|
723
723
|
CommercialUiModule,
|
|
724
724
|
ThemeSharedModule,
|
|
@@ -729,7 +729,7 @@ class AuditLoggingModule {
|
|
|
729
729
|
DatetimePickerComponent,
|
|
730
730
|
EntityChangeDetailsComponent, declarations] }); }
|
|
731
731
|
}
|
|
732
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
732
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: AuditLoggingModule, decorators: [{
|
|
733
733
|
type: NgModule,
|
|
734
734
|
args: [{
|
|
735
735
|
exports: [...declarations],
|
|
@@ -769,10 +769,10 @@ class AuditLoggingExtensionsGuard {
|
|
|
769
769
|
mergeWithDefaultProps(extensions.entityProps, DEFAULT_AUDIT_LOGGING_ENTITY_PROPS, objectExtensionContributors.prop, propContributors);
|
|
770
770
|
}), map(() => true));
|
|
771
771
|
}
|
|
772
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
773
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
772
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: AuditLoggingExtensionsGuard, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
773
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: AuditLoggingExtensionsGuard }); }
|
|
774
774
|
}
|
|
775
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
775
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: AuditLoggingExtensionsGuard, decorators: [{
|
|
776
776
|
type: Injectable
|
|
777
777
|
}] });
|
|
778
778
|
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volo/abp.ng.audit-logging",
|
|
3
|
-
"version": "10.4.
|
|
3
|
+
"version": "10.4.1",
|
|
4
4
|
"homepage": "https://abp.io",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@abp/ng.components": "~10.4.
|
|
7
|
-
"@abp/ng.theme.shared": "~10.4.
|
|
8
|
-
"@volo/abp.commercial.ng.ui": "
|
|
6
|
+
"@abp/ng.components": "~10.4.1",
|
|
7
|
+
"@abp/ng.theme.shared": "~10.4.1",
|
|
8
|
+
"@volo/abp.commercial.ng.ui": "~10.4.1",
|
|
9
9
|
"tslib": "^2.0.0"
|
|
10
10
|
},
|
|
11
11
|
"peerDependencies": {
|