@volo/abp.ng.audit-logging 8.0.0-rc.1 → 8.0.0-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/config/audit-logging-config.module.mjs +4 -4
- package/esm2022/config/components/entity-change-details.component.mjs +3 -3
- package/esm2022/config/components/entity-change-modal.component.mjs +3 -3
- package/esm2022/config/services/entity-change-modal.service.mjs +3 -3
- package/esm2022/lib/audit-logging-routing.module.mjs +4 -4
- package/esm2022/lib/audit-logging.module.mjs +4 -4
- package/esm2022/lib/components/audit-log-datetime-picker/audit-log-datetime-picker.component.mjs +3 -3
- package/esm2022/lib/components/audit-logs/audit-logs.component.mjs +3 -3
- package/esm2022/lib/components/entity-change/entity-changes.component.mjs +3 -3
- package/esm2022/lib/components/widgets/average-execution-duration-widget.component.mjs +3 -3
- package/esm2022/lib/components/widgets/error-rate-widget.component.mjs +3 -3
- package/esm2022/lib/guards/audit-logging.guard.mjs +3 -3
- package/esm2022/lib/guards/extensions.guard.mjs +3 -3
- package/esm2022/proxy/lib/proxy/audit-logging/audit-logs.service.mjs +3 -3
- package/fesm2022/volo-abp.ng.audit-logging-config.mjs +13 -13
- package/fesm2022/volo-abp.ng.audit-logging-proxy.mjs +3 -3
- package/fesm2022/volo-abp.ng.audit-logging.mjs +29 -29
- package/package.json +4 -4
|
@@ -19,11 +19,11 @@ export class AuditLoggingConfigModule {
|
|
|
19
19
|
],
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
23
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.
|
|
24
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.
|
|
22
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLoggingConfigModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
23
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.6", ngImport: i0, type: AuditLoggingConfigModule, declarations: [EntityChangeDetailsComponent, EntityChangeModalComponent], imports: [CoreModule, ThemeSharedModule], exports: [EntityChangeDetailsComponent, EntityChangeModalComponent] }); }
|
|
24
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLoggingConfigModule, imports: [CoreModule, ThemeSharedModule] }); }
|
|
25
25
|
}
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLoggingConfigModule, decorators: [{
|
|
27
27
|
type: NgModule,
|
|
28
28
|
args: [{
|
|
29
29
|
declarations: [EntityChangeDetailsComponent, EntityChangeModalComponent],
|
|
@@ -31,10 +31,10 @@ export class EntityChangeDetailsComponent {
|
|
|
31
31
|
getInterpolationParams(changeTime) {
|
|
32
32
|
return [this.changeType, changeTime, this.userName];
|
|
33
33
|
}
|
|
34
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
35
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.
|
|
34
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: EntityChangeDetailsComponent, deps: [{ token: i1.TrackByService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
35
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.6", type: EntityChangeDetailsComponent, selector: "abp-entity-change-details", inputs: { itemWithUserName: "itemWithUserName", isCollapsed: "isCollapsed" }, ngImport: i0, template: "<div\r\n class=\"mb-3 border border-dark rounded\"\r\n *ngIf=\"getInterpolationParams(entityChange.changeTime | date: 'medium') as params\"\r\n>\r\n <div class=\"d-grid\">\r\n <button\r\n type=\"button\"\r\n class=\"btn btn-{{ color }}\"\r\n (click)=\"isCollapsed = !isCollapsed\"\r\n [attr.aria-expanded]=\"!isCollapsed\"\r\n [attr.aria-controls]=\"uuid\"\r\n >\r\n {{ 'AbpAuditLogging::DaysAgoWithUserTitle' | abpLocalization: params }}\r\n </button>\r\n </div>\r\n <div [id]=\"uuid\" [@collapse]=\"isCollapsed ? 'collapsed' : 'expanded'\">\r\n <div class=\"m-3\">\r\n <table class=\"table table-striped\">\r\n <thead>\r\n <tr>\r\n <th>{{ 'AbpAuditLogging::PropertyName' | abpLocalization }}</th>\r\n <th>{{ 'AbpAuditLogging::OriginalValue' | abpLocalization }}</th>\r\n <th>{{ 'AbpAuditLogging::NewValue' | abpLocalization }}</th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <tr *ngFor=\"let prop of entityChange.propertyChanges; trackBy: track.by('id')\">\r\n <td>{{ prop.propertyName }}</td>\r\n <td>{{ prop.originalValue }}</td>\r\n <td [style.color]=\"getPropColor(prop)\">{{ prop.newValue }}</td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </div>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.DatePipe, name: "date" }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }], animations: [collapse] }); }
|
|
36
36
|
}
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: EntityChangeDetailsComponent, decorators: [{
|
|
38
38
|
type: Component,
|
|
39
39
|
args: [{ selector: 'abp-entity-change-details', animations: [collapse], template: "<div\r\n class=\"mb-3 border border-dark rounded\"\r\n *ngIf=\"getInterpolationParams(entityChange.changeTime | date: 'medium') as params\"\r\n>\r\n <div class=\"d-grid\">\r\n <button\r\n type=\"button\"\r\n class=\"btn btn-{{ color }}\"\r\n (click)=\"isCollapsed = !isCollapsed\"\r\n [attr.aria-expanded]=\"!isCollapsed\"\r\n [attr.aria-controls]=\"uuid\"\r\n >\r\n {{ 'AbpAuditLogging::DaysAgoWithUserTitle' | abpLocalization: params }}\r\n </button>\r\n </div>\r\n <div [id]=\"uuid\" [@collapse]=\"isCollapsed ? 'collapsed' : 'expanded'\">\r\n <div class=\"m-3\">\r\n <table class=\"table table-striped\">\r\n <thead>\r\n <tr>\r\n <th>{{ 'AbpAuditLogging::PropertyName' | abpLocalization }}</th>\r\n <th>{{ 'AbpAuditLogging::OriginalValue' | abpLocalization }}</th>\r\n <th>{{ 'AbpAuditLogging::NewValue' | abpLocalization }}</th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <tr *ngFor=\"let prop of entityChange.propertyChanges; trackBy: track.by('id')\">\r\n <td>{{ prop.propertyName }}</td>\r\n <td>{{ prop.originalValue }}</td>\r\n <td [style.color]=\"getPropColor(prop)\">{{ prop.newValue }}</td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </div>\r\n </div>\r\n</div>\r\n" }]
|
|
40
40
|
}], ctorParameters: () => [{ type: i1.TrackByService }], propDecorators: { itemWithUserName: [{
|
|
@@ -12,10 +12,10 @@ export class EntityChangeModalComponent {
|
|
|
12
12
|
this.history = [];
|
|
13
13
|
this.visible = false;
|
|
14
14
|
}
|
|
15
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
16
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.
|
|
15
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: EntityChangeModalComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.TrackByService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
16
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.6", type: EntityChangeModalComponent, selector: "abp-entity-change-modal", ngImport: i0, template: "<abp-modal [(visible)]=\"visible\" [options]=\"{ size: 'lg' }\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">\r\n {{ entityTypeFullName }}\r\n <br />\r\n <span style=\"font-size: small\">({{ entityId }})</span>\r\n </h5>\r\n </ng-template>\r\n <ng-template #abpBody>\r\n <ng-container *ngIf=\"history.length; else noChanges\">\r\n <abp-entity-change-details\r\n *ngFor=\"let change of history; first as f; trackBy: track.byDeep('entityChange', 'id')\"\r\n [itemWithUserName]=\"change\"\r\n [isCollapsed]=\"!f\"\r\n ></abp-entity-change-details>\r\n </ng-container>\r\n\r\n <ng-template #noChanges\r\n ><div class=\"text-center\">\r\n {{ 'AbpAuditLogging::NoChanges' | abpLocalization }}\r\n </div></ng-template\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: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i3.ModalCloseDirective, selector: "[abpClose]" }, { kind: "component", type: i4.EntityChangeDetailsComponent, selector: "abp-entity-change-details", inputs: ["itemWithUserName", "isCollapsed"] }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
17
17
|
}
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: EntityChangeModalComponent, decorators: [{
|
|
19
19
|
type: Component,
|
|
20
20
|
args: [{ selector: 'abp-entity-change-modal', changeDetection: ChangeDetectionStrategy.OnPush, template: "<abp-modal [(visible)]=\"visible\" [options]=\"{ size: 'lg' }\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">\r\n {{ entityTypeFullName }}\r\n <br />\r\n <span style=\"font-size: small\">({{ entityId }})</span>\r\n </h5>\r\n </ng-template>\r\n <ng-template #abpBody>\r\n <ng-container *ngIf=\"history.length; else noChanges\">\r\n <abp-entity-change-details\r\n *ngFor=\"let change of history; first as f; trackBy: track.byDeep('entityChange', 'id')\"\r\n [itemWithUserName]=\"change\"\r\n [isCollapsed]=\"!f\"\r\n ></abp-entity-change-details>\r\n </ng-container>\r\n\r\n <ng-template #noChanges\r\n ><div class=\"text-center\">\r\n {{ 'AbpAuditLogging::NoChanges' | abpLocalization }}\r\n </div></ng-template\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" }]
|
|
21
21
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1.TrackByService }] });
|
|
@@ -39,10 +39,10 @@ export class EntityChangeModalService {
|
|
|
39
39
|
this.detectChanges();
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
43
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
42
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: EntityChangeModalService, deps: [{ token: i1.AuditLogsService }, { token: i2.ContentProjectionService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
43
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: EntityChangeModalService, providedIn: 'root' }); }
|
|
44
44
|
}
|
|
45
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: EntityChangeModalService, decorators: [{
|
|
46
46
|
type: Injectable,
|
|
47
47
|
args: [{
|
|
48
48
|
providedIn: 'root',
|
|
@@ -28,11 +28,11 @@ const routes = [
|
|
|
28
28
|
},
|
|
29
29
|
];
|
|
30
30
|
export class AuditLoggingRoutingModule {
|
|
31
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
32
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.
|
|
33
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.
|
|
31
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLoggingRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
32
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.6", ngImport: i0, type: AuditLoggingRoutingModule, imports: [i1.RouterModule], exports: [RouterModule] }); }
|
|
33
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLoggingRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] }); }
|
|
34
34
|
}
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLoggingRoutingModule, decorators: [{
|
|
36
36
|
type: NgModule,
|
|
37
37
|
args: [{
|
|
38
38
|
imports: [RouterModule.forChild(routes)],
|
|
@@ -36,8 +36,8 @@ export class AuditLoggingModule {
|
|
|
36
36
|
static forLazy(options = {}) {
|
|
37
37
|
return new LazyModuleFactory(AuditLoggingModule.forChild(options));
|
|
38
38
|
}
|
|
39
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
40
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.
|
|
39
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLoggingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
40
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.6", ngImport: i0, type: AuditLoggingModule, declarations: [AuditLogsComponent,
|
|
41
41
|
EntityChangesComponent,
|
|
42
42
|
ErrorRateWidgetComponent,
|
|
43
43
|
AverageExecutionDurationWidgetComponent], imports: [AuditLoggingRoutingModule,
|
|
@@ -52,7 +52,7 @@ export class AuditLoggingModule {
|
|
|
52
52
|
EntityChangesComponent,
|
|
53
53
|
ErrorRateWidgetComponent,
|
|
54
54
|
AverageExecutionDurationWidgetComponent] }); }
|
|
55
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.
|
|
55
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLoggingModule, imports: [AuditLoggingRoutingModule,
|
|
56
56
|
CoreModule,
|
|
57
57
|
CommercialUiModule,
|
|
58
58
|
ThemeSharedModule,
|
|
@@ -62,7 +62,7 @@ export class AuditLoggingModule {
|
|
|
62
62
|
ChartModule,
|
|
63
63
|
AuditLogDatetimePickerComponent] }); }
|
|
64
64
|
}
|
|
65
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
65
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLoggingModule, decorators: [{
|
|
66
66
|
type: NgModule,
|
|
67
67
|
args: [{
|
|
68
68
|
declarations: [
|
package/esm2022/lib/components/audit-log-datetime-picker/audit-log-datetime-picker.component.mjs
CHANGED
|
@@ -33,8 +33,8 @@ export class AuditLogDatetimePickerComponent extends AbstractNgModelComponent {
|
|
|
33
33
|
const time = this.timeAdapter.toModel(this.time);
|
|
34
34
|
this.formattedValue = [date, time].filter(x => !!x).join(this.separator);
|
|
35
35
|
}
|
|
36
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
37
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.
|
|
36
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLogDatetimePickerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
37
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.6", type: AuditLogDatetimePickerComponent, isStandalone: true, selector: "abp-audit-log-datetime-picker", providers: [
|
|
38
38
|
{
|
|
39
39
|
provide: NG_VALUE_ACCESSOR,
|
|
40
40
|
useExisting: forwardRef(() => AuditLogDatetimePickerComponent),
|
|
@@ -45,7 +45,7 @@ export class AuditLogDatetimePickerComponent extends AbstractNgModelComponent {
|
|
|
45
45
|
{ provide: NgbDateAdapter, useClass: NgbDateStructAdapter },
|
|
46
46
|
], usesInheritance: true, ngImport: i0, template: "<input\r\n [value]=\"formattedValue\"\r\n (dateSelect)=\"setDate($event)\"\r\n (click)=\"datepicker.open()\"\r\n (keyup.space)=\"datepicker.open()\"\r\n ngbDatepicker\r\n [autoClose]=\"'outside'\"\r\n #datepicker=\"ngbDatepicker\"\r\n [footerTemplate]=\"footer\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n/>\r\n<ng-template #footer>\r\n <div class=\"d-flex justify-content-center\">\r\n <ngb-timepicker\r\n [ngModel]=\"time\"\r\n (ngModelChange)=\"setTime($event)\"\r\n ></ngb-timepicker>\r\n </div>\r\n</ng-template>\r\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: NgbDatepickerModule }, { kind: "directive", type: i1.NgbInputDatepicker, selector: "input[ngbDatepicker]", inputs: ["autoClose", "contentTemplate", "datepickerClass", "dayTemplate", "dayTemplateData", "displayMonths", "firstDayOfWeek", "footerTemplate", "markDisabled", "minDate", "maxDate", "navigation", "outsideDays", "placement", "popperOptions", "restoreFocus", "showWeekNumbers", "startDate", "container", "positionTarget", "weekdays", "disabled"], outputs: ["dateSelect", "navigate", "closed"], exportAs: ["ngbDatepicker"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: NgbTimepicker, selector: "ngb-timepicker", inputs: ["meridian", "spinners", "seconds", "hourStep", "minuteStep", "secondStep", "readonlyInputs", "size"], exportAs: ["ngbTimepicker"] }, { kind: "ngmodule", type: NgbPopoverModule }] }); }
|
|
47
47
|
}
|
|
48
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
48
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLogDatetimePickerComponent, decorators: [{
|
|
49
49
|
type: Component,
|
|
50
50
|
args: [{ selector: 'abp-audit-log-datetime-picker', standalone: true, imports: [CommonModule, NgbDatepickerModule, FormsModule, NgbTimepicker, NgbPopoverModule], providers: [
|
|
51
51
|
{
|
|
@@ -94,8 +94,8 @@ export class AuditLogsComponent {
|
|
|
94
94
|
return '';
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
98
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.
|
|
97
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLogsComponent, deps: [{ token: i1.ListService }, { token: i2.AuditLogsService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
98
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.6", type: AuditLogsComponent, selector: "abp-audit-logs", providers: [
|
|
99
99
|
ListService,
|
|
100
100
|
{
|
|
101
101
|
provide: EXTENSIONS_IDENTIFIER,
|
|
@@ -104,7 +104,7 @@ export class AuditLogsComponent {
|
|
|
104
104
|
{ provide: NgbDateAdapter, useClass: DateAdapter },
|
|
105
105
|
], ngImport: i0, template: "<div id=\"wrapper\">\r\n <abp-page [title]=\"'AbpAuditLogging::AuditLogs' | abpLocalization\" [toolbar]=\"data.items\">\r\n <ul class=\"nav nav-tabs\">\r\n <li class=\"nav-item\">\r\n <a\r\n class=\"nav-link pointer\"\r\n [class.active]=\"selectedTab === 'audit-logs'\"\r\n (click)=\"selectedTab = 'audit-logs'\"\r\n >{{ 'AbpAuditLogging::AuditLogs' | abpLocalization }}</a\r\n >\r\n </li>\r\n <li class=\"nav-item\">\r\n <a\r\n class=\"nav-link pointer\"\r\n [class.active]=\"selectedTab === 'entity-changes'\"\r\n (click)=\"selectedTab = 'entity-changes'\"\r\n >{{ 'AbpAuditLogging::EntityChanges' | abpLocalization }}</a\r\n >\r\n </li>\r\n </ul>\r\n <div class=\"tab-content\" [class.p-0]=\"selectedTab !== 'audit-logs'\">\r\n <div class=\"tab-pane\" [class.active]=\"selectedTab === 'audit-logs'\" [@fadeIn]=\"selectedTab\">\r\n <div class=\"card mb-0\">\r\n <div class=\"card-body pb-lg-3 px-0\">\r\n <form (keyup.enter)=\"list.get()\">\r\n <div class=\"row\">\r\n <div class=\"col-md-6 col-lg-2 col-xxl-2\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{\r\n 'AbpAuditLogging::StartDate' | abpLocalization\r\n }}</label>\r\n <abp-audit-log-datetime-picker\r\n [(ngModel)]=\"this.pageQuery.startTime\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n ></abp-audit-log-datetime-picker>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-6 col-lg-2 col-xxl-2\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{\r\n 'AbpAuditLogging::EndDate' | abpLocalization\r\n }}</label>\r\n <abp-audit-log-datetime-picker\r\n [(ngModel)]=\"this.pageQuery.endTime\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n ></abp-audit-log-datetime-picker>\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-2\">\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-2\">\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-2 col-xxl-2\">\r\n <div class=\"mb-3\">\r\n <label for=\"minDuration\" class=\"form-label\">{{\r\n 'AbpAuditLogging::MinMaxDuration' | abpLocalization\r\n }}</label>\r\n <div class=\"input-group\">\r\n <input\r\n id=\"minDuration\"\r\n type=\"number\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"pageQuery.minExecutionDuration\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n <span class=\"input-group-text px-1\">-</span>\r\n <input\r\n id=\"maxDuration\"\r\n type=\"number\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"pageQuery.maxExecutionDuration\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-2\">\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 <option *ngFor=\"let method of httpMethods\" [ngValue]=\"method\">\r\n {{ method }}\r\n </option>\r\n </select>\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-2\">\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 <option *ngFor=\"let h of httpStatusCodes\" [ngValue]=\"h.code\">\r\n {{ h.code }} - {{ h.message }}\r\n </option>\r\n </select>\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-2\">\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-2\">\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-2\">\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-2\">\r\n <div class=\"mb-3 mb-lg-0\">\r\n <label for=\"hasException\" class=\"form-label\">{{\r\n 'AbpAuditLogging::HasException' | abpLocalization\r\n }}</label>\r\n <select\r\n name=\"hasException\"\r\n id=\"hasException\"\r\n class=\"form-select form-control\"\r\n [(ngModel)]=\"pageQuery.hasException\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n (change)=\"list.get()\"\r\n >\r\n <option [ngValue]=\"null\">-</option>\r\n <option [ngValue]=\"true\">\r\n {{ 'AbpAuditLogging::Yes' | abpLocalization }}\r\n </option>\r\n <option [ngValue]=\"false\">\r\n {{ 'AbpAuditLogging::No' | abpLocalization }}\r\n </option>\r\n </select>\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-2\">\r\n <div class=\"mt-3 mb-lg-0 d-grid\">\r\n <button type=\"button\" class=\"btn btn-primary\" (click)=\"list.get()\">\r\n <span>\r\n {{ 'AbpAuditLogging::Refresh' | abpLocalization }}\r\n </span>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </form>\r\n </div>\r\n </div>\r\n <div class=\"card\">\r\n <div class=\"card-body p-0\">\r\n <abp-extensible-table\r\n [data]=\"data.items\"\r\n [recordsTotal]=\"data.totalCount\"\r\n [list]=\"list\"\r\n ></abp-extensible-table>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"tab-content\" [class.p-0]=\"selectedTab !== 'entity-changes'\">\r\n <div\r\n class=\"tab-pane\"\r\n [class.active]=\"selectedTab === 'entity-changes'\"\r\n [@fadeIn]=\"selectedTab\"\r\n >\r\n <abp-entity-changes *ngIf=\"selectedTab === 'entity-changes'\"></abp-entity-changes>\r\n </div>\r\n </div>\r\n </abp-page>\r\n</div>\r\n\r\n<abp-modal *ngIf=\"selected\" [(visible)]=\"modalVisible\" [options]=\"{ size: 'lg' }\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">\r\n {{ 'AbpAuditLogging::Detail' | abpLocalization }}\r\n </h5>\r\n </ng-template>\r\n <ng-template #abpBody>\r\n <ul ngbNav #nav=\"ngbNav\" class=\"nav-tabs\">\r\n <li ngbNavItem>\r\n <a ngbNavLink>{{ 'AbpAuditLogging::Overall' | abpLocalization }}</a>\r\n <ng-template ngbNavContent>\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::HttpStatusCode' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n <span class=\"badge\" [ngClass]=\"httpCodeClass(selected.httpStatusCode)\">{{\r\n selected.httpStatusCode\r\n }}</span>\r\n </div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::HttpMethod' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n <span class=\"badge\" [ngClass]=\"httpMethodClass(selected.httpMethod)\">{{\r\n selected.httpMethod\r\n }}</span>\r\n </div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::Url' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.url }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::ClientIpAddress' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.clientIpAddress }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::ClientName' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.clientName }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::Exceptions' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n <pre lang=\"c-sharp\" *ngIf=\"selected.exceptions\">\r\n {{ selected.exceptions }}\r\n </pre>\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 <ng-container *ngIf=\"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 </ng-container>\r\n <ng-container *ngIf=\"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 <ng-container *ngIf=\"selected.impersonatorUserName; else onlyImpersonatorUserId\">\r\n {{ selected.impersonatorUserName }} ({{ selected.impersonatorUserId }})\r\n </ng-container>\r\n <ng-template #onlyImpersonatorUserId>\r\n {{ selected.impersonatorUserId }}\r\n </ng-template>\r\n </div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n </ng-container>\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::Time' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n {{ selected.executionTime | shortDateTime }}\r\n </div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::Duration' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.executionDuration }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::BrowserInfo' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.browserInfo }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::ApplicationName' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.applicationName }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::CorrelationId' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.correlationId }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::Comments' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.comments }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::ExtraProperties' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n <pre lang=\"json\" class=\"p-2\">\r\n {{ selected.extraProperties | json }}\r\n </pre>\r\n </div>\r\n </div>\r\n </ng-template>\r\n </li>\r\n <li ngbNavItem>\r\n <a ngbNavLink\r\n >{{ 'AbpAuditLogging::Actions' | abpLocalization }} ({{ selected.actions.length }})</a\r\n >\r\n <ng-template ngbNavContent>\r\n <div\r\n class=\"mb-3 border border-dark rounded\"\r\n *ngFor=\"let action of selected.actions; let i = index\"\r\n >\r\n <div class=\"d-grid\">\r\n <button\r\n class=\"btn btn-primary d-flex justify-content-between text-break\"\r\n type=\"button\"\r\n (click)=\"collapseActionStates[i] = !collapseActionStates[i]\"\r\n >\r\n {{ action.serviceName }} - {{ action.methodName }}\r\n <i\r\n class=\"fa align-self-center\"\r\n [ngClass]=\"collapseActionStates[i] ? 'fa-chevron-up' : 'fa-chevron-down'\"\r\n ></i>\r\n </button>\r\n </div>\r\n <div [@collapse]=\"collapseActionStates[i] ? 'expanded' : 'collapsed'\">\r\n <div class=\"m-3\">\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::Duration' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n {{ action.executionDuration ? action.executionDuration + ' ms' : '' }}\r\n </div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::Parameters' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n <pre lang=\"json\" class=\"p-2\">{{ action.parameters }}</pre>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-template>\r\n </li>\r\n </ul>\r\n <div [ngbNavOutlet]=\"nav\"></div>\r\n </ng-template>\r\n <ng-template #abpFooter>\r\n <button class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpAuditLogging::Close' | abpLocalization }}\r\n </button>\r\n </ng-template>\r\n</abp-modal>\r\n", dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i4.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i4.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i4.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: i4.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i4.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i4.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: i5.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], outputs: ["tableActivate"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: i6.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i6.ModalCloseDirective, selector: "[abpClose]" }, { kind: "directive", type: i7.NgbNavContent, selector: "ng-template[ngbNavContent]" }, { kind: "directive", type: i7.NgbNav, selector: "[ngbNav]", inputs: ["activeId", "animation", "destroyOnHide", "orientation", "roles", "keyboard"], outputs: ["activeIdChange", "shown", "hidden", "navChange"], exportAs: ["ngbNav"] }, { kind: "directive", type: i7.NgbNavItem, selector: "[ngbNavItem]", inputs: ["destroyOnHide", "disabled", "domId", "ngbNavItem"], outputs: ["shown", "hidden"], exportAs: ["ngbNavItem"] }, { kind: "directive", type: i7.NgbNavItemRole, selector: "[ngbNavItem]:not(ng-container)" }, { kind: "directive", type: i7.NgbNavLink, selector: "a[ngbNavLink]" }, { kind: "directive", type: i7.NgbNavLinkBase, selector: "[ngbNavLink]" }, { kind: "component", type: i7.NgbNavOutlet, selector: "[ngbNavOutlet]", inputs: ["paneRole", "ngbNavOutlet"] }, { kind: "component", type: i8.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "component", type: i9.AuditLogDatetimePickerComponent, selector: "abp-audit-log-datetime-picker" }, { kind: "component", type: i10.EntityChangesComponent, selector: "abp-entity-changes" }, { kind: "pipe", type: i3.JsonPipe, name: "json" }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }, { kind: "pipe", type: i1.ShortDateTimePipe, name: "shortDateTime" }], animations: [collapse, trigger('fadeIn', [transition('* <=> *', useAnimation(fadeIn))])] }); }
|
|
106
106
|
}
|
|
107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
107
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLogsComponent, decorators: [{
|
|
108
108
|
type: Component,
|
|
109
109
|
args: [{ selector: 'abp-audit-logs', animations: [collapse, trigger('fadeIn', [transition('* <=> *', useAnimation(fadeIn))])], providers: [
|
|
110
110
|
ListService,
|
|
@@ -58,8 +58,8 @@ export class EntityChangesComponent {
|
|
|
58
58
|
handleSubmit() {
|
|
59
59
|
this.list.get();
|
|
60
60
|
}
|
|
61
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
62
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.
|
|
61
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: EntityChangesComponent, deps: [{ token: i1.ListService }, { token: i2.UntypedFormBuilder }, { token: i3.AuditLogsService }, { token: i1.TrackByService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
62
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.6", type: EntityChangesComponent, selector: "abp-entity-changes", providers: [
|
|
63
63
|
ListService,
|
|
64
64
|
{
|
|
65
65
|
provide: EXTENSIONS_IDENTIFIER,
|
|
@@ -68,7 +68,7 @@ export class EntityChangesComponent {
|
|
|
68
68
|
{ provide: NgbDateAdapter, useClass: DateAdapter },
|
|
69
69
|
], ngImport: i0, template: "<div class=\"card\">\r\n <div class=\"card-body pb-lg-3 px-0\">\r\n <form [formGroup]=\"form\" (ngSubmit)=\"handleSubmit()\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12 col-lg-4 col-xxl-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpAuditLogging::ChangeTime' | abpLocalization }}</label>\r\n <abp-date-range-picker\r\n formControlName=\"times\"\r\n startDateProp=\"startDate\"\r\n endDateProp=\"endDate\"\r\n >\r\n </abp-date-range-picker>\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"change-type\">{{\r\n 'AbpAuditLogging::ChangeType' | abpLocalization\r\n }}</label\r\n ><select\r\n id=\"change-type\"\r\n class=\"form-select form-control\"\r\n formControlName=\"entityChangeType\"\r\n (change)=\"handleSubmit()\"\r\n >\r\n <option [ngValue]=\"\"></option>\r\n <option\r\n *ngFor=\"let type of changeTypes; trackBy: track.by('id')\"\r\n [ngValue]=\"type.value\"\r\n >\r\n {{ 'AbpAuditLogging::' + type.key | abpLocalization }}\r\n </option>\r\n </select>\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"entity-type-full-name\">{{\r\n 'AbpAuditLogging::EntityTypeFullName' | abpLocalization\r\n }}</label\r\n ><input\r\n id=\"entity-type-full-name\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n formControlName=\"entityTypeFullName\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-md-12 col-lg-2\">\r\n <div class=\"mt-3\">\r\n <div class=\"col-6 d-grid text-end\">\r\n <button type=\"submit\" class=\"btn btn-primary\">\r\n <span>\r\n {{ 'AbpAuditLogging::Refresh' | abpLocalization }}\r\n </span>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </form>\r\n </div>\r\n</div>\r\n<div class=\"card\">\r\n <div class=\"card-body p-0\">\r\n <ngx-datatable default [rows]=\"data\" [count]=\"count\" [list]=\"list\">\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::Detail' | abpLocalization\"\r\n [maxWidth]=\"150\"\r\n [width]=\"150\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" let-i=\"rowIndex\" ngx-datatable-cell-template>\r\n <abp-grid-actions\r\n [index]=\"i\"\r\n [record]=\"row\"\r\n text=\"AbpAuditLogging::Actions\"\r\n ></abp-grid-actions>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::Time' | abpLocalization\"\r\n [width]=\"230\"\r\n prop=\"changeTime\"\r\n >\r\n <ng-template ngx-datatable-cell-template let-value=\"value\">\r\n {{value | shortDateTime}}\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::ChangeType' | abpLocalization\"\r\n [width]=\"140\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n {{ 'AbpAuditLogging::' + changeType[row.changeType] | abpLocalization }}\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column name=\"TenantId\" [width]=\"150\" [sortable]=\"false\">\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <div abpEllipsis>{{ row.tenantId }}</div>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::EntityTypeFullName' | abpLocalization\"\r\n [width]=\"150\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <div abpEllipsis>{{ row.entityTypeFullName }}</div>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n </ngx-datatable>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i1.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }, { kind: "component", type: i5.DateRangePickerComponent, selector: "abp-date-range-picker", inputs: ["startDateProp", "endDateProp", "labelText"] }, { kind: "component", type: i6.GridActionsComponent, selector: "abp-grid-actions", inputs: ["icon", "index", "text"], exportAs: ["abpGridActions"] }, { kind: "component", type: i7.DatatableComponent, selector: "ngx-datatable", inputs: ["targetMarkerTemplate", "rows", "groupRowsBy", "groupedRows", "columns", "selected", "scrollbarV", "scrollbarH", "rowHeight", "columnMode", "headerHeight", "footerHeight", "externalPaging", "externalSorting", "limit", "count", "offset", "loadingIndicator", "selectionType", "reorderable", "swapColumns", "sortType", "sorts", "cssClasses", "messages", "rowClass", "selectCheck", "displayCheck", "groupExpansionDefault", "trackByProp", "selectAllRowsOnPage", "virtualization", "treeFromRelation", "treeToRelation", "summaryRow", "summaryHeight", "summaryPosition", "rowIdentity"], outputs: ["scroll", "activate", "select", "sort", "page", "reorder", "resize", "tableContextmenu", "treeAction"] }, { kind: "directive", type: i7.DataTableColumnDirective, selector: "ngx-datatable-column", inputs: ["name", "prop", "frozenLeft", "frozenRight", "flexGrow", "resizeable", "comparator", "pipe", "sortable", "draggable", "canAutoResize", "minWidth", "width", "maxWidth", "checkboxable", "headerCheckboxable", "headerClass", "cellClass", "isTreeColumn", "treeLevelIndent", "summaryFunc", "summaryTemplate", "cellTemplate", "headerTemplate", "treeToggleTemplate"] }, { kind: "directive", type: i7.DataTableColumnCellDirective, selector: "[ngx-datatable-cell-template]" }, { kind: "directive", type: i8.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i8.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "directive", type: i9.NgxDatatableListDirective, selector: "ngx-datatable[list]", inputs: ["list"], exportAs: ["ngxDatatableList"] }, { kind: "directive", type: i9.NgxDatatableDefaultDirective, selector: "ngx-datatable[default]", inputs: ["class"], exportAs: ["ngxDatatableDefault"] }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }, { kind: "pipe", type: i1.ShortDateTimePipe, name: "shortDateTime" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
70
70
|
}
|
|
71
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
71
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: EntityChangesComponent, decorators: [{
|
|
72
72
|
type: Component,
|
|
73
73
|
args: [{ selector: 'abp-entity-changes', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
74
74
|
ListService,
|
|
@@ -49,8 +49,8 @@ export class AverageExecutionDurationWidgetComponent {
|
|
|
49
49
|
this.chart.refresh();
|
|
50
50
|
}, 0);
|
|
51
51
|
}
|
|
52
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
53
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.
|
|
52
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AverageExecutionDurationWidgetComponent, deps: [{ token: i1.LocalizationService }, { token: i1.PermissionService }, { token: i2.AuditLogsService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
53
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.6", type: AverageExecutionDurationWidgetComponent, selector: "abp-average-execution-duration-widget", inputs: { width: "width", height: "height" }, outputs: { initialized: "initialized" }, viewQueries: [{ propertyName: "chart", first: true, predicate: ChartComponent, descendants: true }], ngImport: i0, template: `
|
|
54
54
|
<div *abpPermission="'AuditLogging.AuditLogs'" class="abp-widget-wrapper">
|
|
55
55
|
<div class="card">
|
|
56
56
|
<div class="card-header">
|
|
@@ -74,7 +74,7 @@ export class AverageExecutionDurationWidgetComponent {
|
|
|
74
74
|
</div>
|
|
75
75
|
`, isInline: true, dependencies: [{ kind: "directive", type: i1.PermissionDirective, selector: "[abpPermission]", inputs: ["abpPermission", "abpPermissionRunChangeDetection"] }, { kind: "component", type: i3.ChartComponent, selector: "abp-chart", inputs: ["type", "data", "options", "plugins", "width", "height", "responsive"], outputs: ["dataSelect", "initialized"], exportAs: ["abpChart"] }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }] }); }
|
|
76
76
|
}
|
|
77
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
77
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AverageExecutionDurationWidgetComponent, decorators: [{
|
|
78
78
|
type: Component,
|
|
79
79
|
args: [{
|
|
80
80
|
selector: 'abp-average-execution-duration-widget',
|
|
@@ -50,8 +50,8 @@ export class ErrorRateWidgetComponent {
|
|
|
50
50
|
this.chart.refresh();
|
|
51
51
|
}, 0);
|
|
52
52
|
}
|
|
53
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
54
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.
|
|
53
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: ErrorRateWidgetComponent, deps: [{ token: i1.PermissionService }, { token: i2.AuditLogsService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
54
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.6", type: ErrorRateWidgetComponent, selector: "abp-error-rate-widget", inputs: { width: "width", height: "height" }, outputs: { initialized: "initialized" }, viewQueries: [{ propertyName: "chart", first: true, predicate: ChartComponent, descendants: true }], ngImport: i0, template: `
|
|
55
55
|
<div *abpPermission="'AuditLogging.AuditLogs'" class="abp-widget-wrapper">
|
|
56
56
|
<div class="card">
|
|
57
57
|
<div class="card-header">
|
|
@@ -75,7 +75,7 @@ export class ErrorRateWidgetComponent {
|
|
|
75
75
|
</div>
|
|
76
76
|
`, isInline: true, dependencies: [{ kind: "directive", type: i1.PermissionDirective, selector: "[abpPermission]", inputs: ["abpPermission", "abpPermissionRunChangeDetection"] }, { kind: "component", type: i3.ChartComponent, selector: "abp-chart", inputs: ["type", "data", "options", "plugins", "width", "height", "responsive"], outputs: ["dataSelect", "initialized"], exportAs: ["abpChart"] }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }] }); }
|
|
77
77
|
}
|
|
78
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
78
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: ErrorRateWidgetComponent, decorators: [{
|
|
79
79
|
type: Component,
|
|
80
80
|
args: [{
|
|
81
81
|
selector: 'abp-error-rate-widget',
|
|
@@ -14,10 +14,10 @@ export class AuditLoggingGuard {
|
|
|
14
14
|
canActivate() {
|
|
15
15
|
return this.auditLoggingFeatures.pipe(map(features => features.enable));
|
|
16
16
|
}
|
|
17
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
18
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
17
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLoggingGuard, deps: [{ token: AUDIT_LOGGING_FEATURES }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
18
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLoggingGuard }); }
|
|
19
19
|
}
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLoggingGuard, decorators: [{
|
|
21
21
|
type: Injectable
|
|
22
22
|
}], ctorParameters: () => [{ type: i1.Observable, decorators: [{
|
|
23
23
|
type: Inject,
|
|
@@ -25,10 +25,10 @@ export class AuditLoggingExtensionsGuard {
|
|
|
25
25
|
mergeWithDefaultProps(extensions.entityProps, DEFAULT_AUDIT_LOGGING_ENTITY_PROPS, objectExtensionContributors.prop, propContributors);
|
|
26
26
|
}), map(() => true));
|
|
27
27
|
}
|
|
28
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
29
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
28
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLoggingExtensionsGuard, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
29
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLoggingExtensionsGuard }); }
|
|
30
30
|
}
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLoggingExtensionsGuard, decorators: [{
|
|
32
32
|
type: Injectable
|
|
33
33
|
}], ctorParameters: () => [{ type: i0.Injector }] });
|
|
34
34
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXh0ZW5zaW9ucy5ndWFyZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2F1ZGl0LWxvZ2dpbmcvc3JjL2xpYi9ndWFyZHMvZXh0ZW5zaW9ucy5ndWFyZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsa0JBQWtCLEVBQWEsTUFBTSxjQUFjLENBQUM7QUFDN0QsT0FBTyxFQUNMLGlCQUFpQixFQUNqQixtQ0FBbUMsRUFDbkMseUJBQXlCLEVBQ3pCLHVCQUF1QixFQUN2QixxQkFBcUIsR0FDdEIsTUFBTSwrQkFBK0IsQ0FBQztBQUN2QyxPQUFPLEVBQUUsVUFBVSxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUdyRCxPQUFPLEVBQUUsR0FBRyxFQUFFLEdBQUcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBTzFDLE9BQU8sRUFDTCx3Q0FBd0MsRUFDeEMsc0NBQXNDLEVBQ3RDLHlDQUF5QyxFQUN6QyxvQ0FBb0MsRUFDcEMsa0NBQWtDLEVBQ2xDLHFDQUFxQyxHQUN0QyxNQUFNLDRCQUE0QixDQUFDOztBQUVwQzs7R0FFRztBQUVILE1BQU0sT0FBTywyQkFBMkI7SUFDdEMsWUFBb0IsUUFBa0I7UUFBbEIsYUFBUSxHQUFSLFFBQVEsQ0FBVTtJQUFHLENBQUM7SUFFMUMsV0FBVztRQUNULE1BQU0sVUFBVSxHQUFzQixJQUFJLENBQUMsUUFBUSxDQUFDLEdBQUcsQ0FBQyxpQkFBaUIsQ0FBQyxDQUFDO1FBQzNFLE1BQU0sa0JBQWtCLEdBQ3RCLElBQUksQ0FBQyxRQUFRLENBQUMsR0FBRyxDQUFDLHdDQUF3QyxFQUFFLElBQUksQ0FBQyxJQUFJLEVBQUUsQ0FBQztRQUMxRSxNQUFNLG1CQUFtQixHQUN2QixJQUFJLENBQUMsUUFBUSxDQUFDLEdBQUcsQ0FBQyx5Q0FBeUMsRUFBRSxJQUFJLENBQUMsSUFBSSxFQUFFLENBQUM7UUFDM0UsTUFBTSxnQkFBZ0IsR0FDcEIsSUFBSSxDQUFDLFFBQVEsQ0FBQyxHQUFHLENBQUMsc0NBQXNDLEVBQUUsSUFBSSxDQUFDLElBQUksRUFBRSxDQUFDO1FBRXhFLE1BQU0sV0FBVyxHQUFHLElBQUksQ0FBQyxRQUFRLENBQUMsR0FBRyxDQUFDLGtCQUFrQixDQUFDLENBQUM7UUFDMUQsT0FBTyxtQ0FBbUMsQ0FBQyxXQUFXLEVBQUUsY0FBYyxDQUFDLENBQUMsSUFBSSxDQUMxRSxHQUFHLENBQUMsUUFBUSxDQUFDLEVBQUUsQ0FBQyxDQUFDO1lBQ2YsMkVBQW1DLEVBQUUsUUFBUSxDQUFDLFFBQVE7U0FDdkQsQ0FBQyxDQUFDLEVBQ0gseUJBQXlCLENBQUMsV0FBVyxFQUFFLGNBQWMsQ0FBQyxFQUN0RCxHQUFHLENBQUMsMkJBQTJCLENBQUMsRUFBRTtZQUNoQyx1QkFBdUIsQ0FDckIsVUFBVSxDQUFDLGFBQWEsRUFDeEIsb0NBQW9DLEVBQ3BDLGtCQUFrQixDQUNuQixDQUFDO1lBQ0YsdUJBQXVCLENBQ3JCLFVBQVUsQ0FBQyxjQUFjLEVBQ3pCLHFDQUFxQyxFQUNyQyxtQkFBbUIsQ0FDcEIsQ0FBQztZQUNGLHFCQUFxQixDQUNuQixVQUFVLENBQUMsV0FBVyxFQUN0QixrQ0FBa0MsRUFDbEMsMkJBQTJCLENBQUMsSUFBSSxFQUNoQyxnQkFBZ0IsQ0FDakIsQ0FBQztRQUNKLENBQUMsQ0FBQyxFQUNGLEdBQUcsQ0FBQyxHQUFHLEVBQUUsQ0FBQyxJQUFJLENBQUMsQ0FDaEIsQ0FBQztJQUNKLENBQUM7OEdBdENVLDJCQUEyQjtrSEFBM0IsMkJBQTJCOzsyRkFBM0IsMkJBQTJCO2tCQUR2QyxVQUFVIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29uZmlnU3RhdGVTZXJ2aWNlLCBJQWJwR3VhcmQgfSBmcm9tICdAYWJwL25nLmNvcmUnO1xyXG5pbXBvcnQge1xyXG4gIEV4dGVuc2lvbnNTZXJ2aWNlLFxyXG4gIGdldE9iamVjdEV4dGVuc2lvbkVudGl0aWVzRnJvbVN0b3JlLFxyXG4gIG1hcEVudGl0aWVzVG9Db250cmlidXRvcnMsXHJcbiAgbWVyZ2VXaXRoRGVmYXVsdEFjdGlvbnMsXHJcbiAgbWVyZ2VXaXRoRGVmYXVsdFByb3BzLFxyXG59IGZyb20gJ0BhYnAvbmcuY29tcG9uZW50cy9leHRlbnNpYmxlJztcclxuaW1wb3J0IHsgSW5qZWN0YWJsZSwgSW5qZWN0b3IgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuXHJcbmltcG9ydCB7IE9ic2VydmFibGUgfSBmcm9tICdyeGpzJztcclxuaW1wb3J0IHsgbWFwLCB0YXAgfSBmcm9tICdyeGpzL29wZXJhdG9ycyc7XHJcbmltcG9ydCB7IGVBdWRpdExvZ2dpbmdDb21wb25lbnRzIH0gZnJvbSAnLi4vZW51bXMvY29tcG9uZW50cyc7XHJcbmltcG9ydCB7XHJcbiAgQXVkaXRMb2dnaW5nRW50aXR5QWN0aW9uQ29udHJpYnV0b3JzLFxyXG4gIEF1ZGl0TG9nZ2luZ0VudGl0eVByb3BDb250cmlidXRvcnMsXHJcbiAgQXVkaXRMb2dnaW5nVG9vbGJhckFjdGlvbkNvbnRyaWJ1dG9ycyxcclxufSBmcm9tICcuLi9tb2RlbHMvY29uZmlnLW9wdGlvbnMnO1xyXG5pbXBvcnQge1xyXG4gIEFVRElUX0xPR0dJTkdfRU5USVRZX0FDVElPTl9DT05UUklCVVRPUlMsXHJcbiAgQVVESVRfTE9HR0lOR19FTlRJVFlfUFJPUF9DT05UUklCVVRPUlMsXHJcbiAgQVVESVRfTE9HR0lOR19UT09MQkFSX0FDVElPTl9DT05UUklCVVRPUlMsXHJcbiAgREVGQVVMVF9BVURJVF9MT0dHSU5HX0VOVElUWV9BQ1RJT05TLFxyXG4gIERFRkFVTFRfQVVESVRfTE9HR0lOR19FTlRJVFlfUFJPUFMsXHJcbiAgREVGQVVMVF9BVURJVF9MT0dHSU5HX1RPT0xCQVJfQUNUSU9OUyxcclxufSBmcm9tICcuLi90b2tlbnMvZXh0ZW5zaW9ucy50b2tlbic7XHJcblxyXG4vKipcclxuICogQGRlcHJlY2F0ZWQgVXNlIGBhdWRpdExvZ2dpbmdFeHRlbnNpb25zUmVzb2x2ZXJgICpmdW5jdGlvbiogaW5zdGVhZC5cclxuICovXHJcbkBJbmplY3RhYmxlKClcclxuZXhwb3J0IGNsYXNzIEF1ZGl0TG9nZ2luZ0V4dGVuc2lvbnNHdWFyZCB7XHJcbiAgY29uc3RydWN0b3IocHJpdmF0ZSBpbmplY3RvcjogSW5qZWN0b3IpIHt9XHJcblxyXG4gIGNhbkFjdGl2YXRlKCk6IE9ic2VydmFibGU8Ym9vbGVhbj4ge1xyXG4gICAgY29uc3QgZXh0ZW5zaW9uczogRXh0ZW5zaW9uc1NlcnZpY2UgPSB0aGlzLmluamVjdG9yLmdldChFeHRlbnNpb25zU2VydmljZSk7XHJcbiAgICBjb25zdCBhY3Rpb25Db250cmlidXRvcnM6IEF1ZGl0TG9nZ2luZ0VudGl0eUFjdGlvbkNvbnRyaWJ1dG9ycyA9XHJcbiAgICAgIHRoaXMuaW5qZWN0b3IuZ2V0KEFVRElUX0xPR0dJTkdfRU5USVRZX0FDVElPTl9DT05UUklCVVRPUlMsIG51bGwpIHx8IHt9O1xyXG4gICAgY29uc3QgdG9vbGJhckNvbnRyaWJ1dG9yczogQXVkaXRMb2dnaW5nVG9vbGJhckFjdGlvbkNvbnRyaWJ1dG9ycyA9XHJcbiAgICAgIHRoaXMuaW5qZWN0b3IuZ2V0KEFVRElUX0xPR0dJTkdfVE9PTEJBUl9BQ1RJT05fQ09OVFJJQlVUT1JTLCBudWxsKSB8fCB7fTtcclxuICAgIGNvbnN0IHByb3BDb250cmlidXRvcnM6IEF1ZGl0TG9nZ2luZ0VudGl0eVByb3BDb250cmlidXRvcnMgPVxyXG4gICAgICB0aGlzLmluamVjdG9yLmdldChBVURJVF9MT0dHSU5HX0VOVElUWV9QUk9QX0NPTlRSSUJVVE9SUywgbnVsbCkgfHwge307XHJcblxyXG4gICAgY29uc3QgY29uZmlnU3RhdGUgPSB0aGlzLmluamVjdG9yLmdldChDb25maWdTdGF0ZVNlcnZpY2UpO1xyXG4gICAgcmV0dXJuIGdldE9iamVjdEV4dGVuc2lvbkVudGl0aWVzRnJvbVN0b3JlKGNvbmZpZ1N0YXRlLCAnQXVkaXRMb2dnaW5nJykucGlwZShcclxuICAgICAgbWFwKGVudGl0aWVzID0+ICh7XHJcbiAgICAgICAgW2VBdWRpdExvZ2dpbmdDb21wb25lbnRzLkF1ZGl0TG9nc106IGVudGl0aWVzLkF1ZGl0TG9nLFxyXG4gICAgICB9KSksXHJcbiAgICAgIG1hcEVudGl0aWVzVG9Db250cmlidXRvcnMoY29uZmlnU3RhdGUsICdBdWRpdExvZ2dpbmcnKSxcclxuICAgICAgdGFwKG9iamVjdEV4dGVuc2lvbkNvbnRyaWJ1dG9ycyA9PiB7XHJcbiAgICAgICAgbWVyZ2VXaXRoRGVmYXVsdEFjdGlvbnMoXHJcbiAgICAgICAgICBleHRlbnNpb25zLmVudGl0eUFjdGlvbnMsXHJcbiAgICAgICAgICBERUZBVUxUX0FVRElUX0xPR0dJTkdfRU5USVRZX0FDVElPTlMsXHJcbiAgICAgICAgICBhY3Rpb25Db250cmlidXRvcnMsXHJcbiAgICAgICAgKTtcclxuICAgICAgICBtZXJnZVdpdGhEZWZhdWx0QWN0aW9ucyhcclxuICAgICAgICAgIGV4dGVuc2lvbnMudG9vbGJhckFjdGlvbnMsXHJcbiAgICAgICAgICBERUZBVUxUX0FVRElUX0xPR0dJTkdfVE9PTEJBUl9BQ1RJT05TLFxyXG4gICAgICAgICAgdG9vbGJhckNvbnRyaWJ1dG9ycyxcclxuICAgICAgICApO1xyXG4gICAgICAgIG1lcmdlV2l0aERlZmF1bHRQcm9wcyhcclxuICAgICAgICAgIGV4dGVuc2lvbnMuZW50aXR5UHJvcHMsXHJcbiAgICAgICAgICBERUZBVUxUX0FVRElUX0xPR0dJTkdfRU5USVRZX1BST1BTLFxyXG4gICAgICAgICAgb2JqZWN0RXh0ZW5zaW9uQ29udHJpYnV0b3JzLnByb3AsXHJcbiAgICAgICAgICBwcm9wQ29udHJpYnV0b3JzLFxyXG4gICAgICAgICk7XHJcbiAgICAgIH0pLFxyXG4gICAgICBtYXAoKCkgPT4gdHJ1ZSksXHJcbiAgICApO1xyXG4gIH1cclxufVxyXG4iXX0=
|
|
@@ -44,10 +44,10 @@ export class AuditLogsService {
|
|
|
44
44
|
params: { startTime: input.startTime, endTime: input.endTime, url: input.url, userName: input.userName, applicationName: input.applicationName, clientIpAddress: input.clientIpAddress, correlationId: input.correlationId, httpMethod: input.httpMethod, httpStatusCode: input.httpStatusCode, maxExecutionDuration: input.maxExecutionDuration, minExecutionDuration: input.minExecutionDuration, hasException: input.hasException, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
|
|
45
45
|
}, { apiName: this.apiName });
|
|
46
46
|
}
|
|
47
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
48
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
47
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLogsService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
48
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLogsService, providedIn: 'root' }); }
|
|
49
49
|
}
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLogsService, decorators: [{
|
|
51
51
|
type: Injectable,
|
|
52
52
|
args: [{
|
|
53
53
|
providedIn: 'root',
|
|
@@ -37,10 +37,10 @@ class EntityChangeDetailsComponent {
|
|
|
37
37
|
getInterpolationParams(changeTime) {
|
|
38
38
|
return [this.changeType, changeTime, this.userName];
|
|
39
39
|
}
|
|
40
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
41
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.
|
|
40
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: EntityChangeDetailsComponent, deps: [{ token: i1.TrackByService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
41
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.6", type: EntityChangeDetailsComponent, selector: "abp-entity-change-details", inputs: { itemWithUserName: "itemWithUserName", isCollapsed: "isCollapsed" }, ngImport: i0, template: "<div\r\n class=\"mb-3 border border-dark rounded\"\r\n *ngIf=\"getInterpolationParams(entityChange.changeTime | date: 'medium') as params\"\r\n>\r\n <div class=\"d-grid\">\r\n <button\r\n type=\"button\"\r\n class=\"btn btn-{{ color }}\"\r\n (click)=\"isCollapsed = !isCollapsed\"\r\n [attr.aria-expanded]=\"!isCollapsed\"\r\n [attr.aria-controls]=\"uuid\"\r\n >\r\n {{ 'AbpAuditLogging::DaysAgoWithUserTitle' | abpLocalization: params }}\r\n </button>\r\n </div>\r\n <div [id]=\"uuid\" [@collapse]=\"isCollapsed ? 'collapsed' : 'expanded'\">\r\n <div class=\"m-3\">\r\n <table class=\"table table-striped\">\r\n <thead>\r\n <tr>\r\n <th>{{ 'AbpAuditLogging::PropertyName' | abpLocalization }}</th>\r\n <th>{{ 'AbpAuditLogging::OriginalValue' | abpLocalization }}</th>\r\n <th>{{ 'AbpAuditLogging::NewValue' | abpLocalization }}</th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <tr *ngFor=\"let prop of entityChange.propertyChanges; trackBy: track.by('id')\">\r\n <td>{{ prop.propertyName }}</td>\r\n <td>{{ prop.originalValue }}</td>\r\n <td [style.color]=\"getPropColor(prop)\">{{ prop.newValue }}</td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </div>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.DatePipe, name: "date" }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }], animations: [collapse] }); }
|
|
42
42
|
}
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: EntityChangeDetailsComponent, decorators: [{
|
|
44
44
|
type: Component,
|
|
45
45
|
args: [{ selector: 'abp-entity-change-details', animations: [collapse], template: "<div\r\n class=\"mb-3 border border-dark rounded\"\r\n *ngIf=\"getInterpolationParams(entityChange.changeTime | date: 'medium') as params\"\r\n>\r\n <div class=\"d-grid\">\r\n <button\r\n type=\"button\"\r\n class=\"btn btn-{{ color }}\"\r\n (click)=\"isCollapsed = !isCollapsed\"\r\n [attr.aria-expanded]=\"!isCollapsed\"\r\n [attr.aria-controls]=\"uuid\"\r\n >\r\n {{ 'AbpAuditLogging::DaysAgoWithUserTitle' | abpLocalization: params }}\r\n </button>\r\n </div>\r\n <div [id]=\"uuid\" [@collapse]=\"isCollapsed ? 'collapsed' : 'expanded'\">\r\n <div class=\"m-3\">\r\n <table class=\"table table-striped\">\r\n <thead>\r\n <tr>\r\n <th>{{ 'AbpAuditLogging::PropertyName' | abpLocalization }}</th>\r\n <th>{{ 'AbpAuditLogging::OriginalValue' | abpLocalization }}</th>\r\n <th>{{ 'AbpAuditLogging::NewValue' | abpLocalization }}</th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <tr *ngFor=\"let prop of entityChange.propertyChanges; trackBy: track.by('id')\">\r\n <td>{{ prop.propertyName }}</td>\r\n <td>{{ prop.originalValue }}</td>\r\n <td [style.color]=\"getPropColor(prop)\">{{ prop.newValue }}</td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </div>\r\n </div>\r\n</div>\r\n" }]
|
|
46
46
|
}], ctorParameters: () => [{ type: i1.TrackByService }], propDecorators: { itemWithUserName: [{
|
|
@@ -56,10 +56,10 @@ class EntityChangeModalComponent {
|
|
|
56
56
|
this.history = [];
|
|
57
57
|
this.visible = false;
|
|
58
58
|
}
|
|
59
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
60
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.
|
|
59
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: EntityChangeModalComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.TrackByService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
60
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.6", type: EntityChangeModalComponent, selector: "abp-entity-change-modal", ngImport: i0, template: "<abp-modal [(visible)]=\"visible\" [options]=\"{ size: 'lg' }\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">\r\n {{ entityTypeFullName }}\r\n <br />\r\n <span style=\"font-size: small\">({{ entityId }})</span>\r\n </h5>\r\n </ng-template>\r\n <ng-template #abpBody>\r\n <ng-container *ngIf=\"history.length; else noChanges\">\r\n <abp-entity-change-details\r\n *ngFor=\"let change of history; first as f; trackBy: track.byDeep('entityChange', 'id')\"\r\n [itemWithUserName]=\"change\"\r\n [isCollapsed]=\"!f\"\r\n ></abp-entity-change-details>\r\n </ng-container>\r\n\r\n <ng-template #noChanges\r\n ><div class=\"text-center\">\r\n {{ 'AbpAuditLogging::NoChanges' | abpLocalization }}\r\n </div></ng-template\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: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i3.ModalCloseDirective, selector: "[abpClose]" }, { kind: "component", type: EntityChangeDetailsComponent, selector: "abp-entity-change-details", inputs: ["itemWithUserName", "isCollapsed"] }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
61
61
|
}
|
|
62
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
62
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: EntityChangeModalComponent, decorators: [{
|
|
63
63
|
type: Component,
|
|
64
64
|
args: [{ selector: 'abp-entity-change-modal', changeDetection: ChangeDetectionStrategy.OnPush, template: "<abp-modal [(visible)]=\"visible\" [options]=\"{ size: 'lg' }\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">\r\n {{ entityTypeFullName }}\r\n <br />\r\n <span style=\"font-size: small\">({{ entityId }})</span>\r\n </h5>\r\n </ng-template>\r\n <ng-template #abpBody>\r\n <ng-container *ngIf=\"history.length; else noChanges\">\r\n <abp-entity-change-details\r\n *ngFor=\"let change of history; first as f; trackBy: track.byDeep('entityChange', 'id')\"\r\n [itemWithUserName]=\"change\"\r\n [isCollapsed]=\"!f\"\r\n ></abp-entity-change-details>\r\n </ng-container>\r\n\r\n <ng-template #noChanges\r\n ><div class=\"text-center\">\r\n {{ 'AbpAuditLogging::NoChanges' | abpLocalization }}\r\n </div></ng-template\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" }]
|
|
65
65
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1.TrackByService }] });
|
|
@@ -98,10 +98,10 @@ class EntityChangeModalService {
|
|
|
98
98
|
this.detectChanges();
|
|
99
99
|
});
|
|
100
100
|
}
|
|
101
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
102
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
101
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: EntityChangeModalService, deps: [{ token: i1$1.AuditLogsService }, { token: i1.ContentProjectionService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
102
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: EntityChangeModalService, providedIn: 'root' }); }
|
|
103
103
|
}
|
|
104
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
104
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: EntityChangeModalService, decorators: [{
|
|
105
105
|
type: Injectable,
|
|
106
106
|
args: [{
|
|
107
107
|
providedIn: 'root',
|
|
@@ -161,11 +161,11 @@ class AuditLoggingConfigModule {
|
|
|
161
161
|
],
|
|
162
162
|
};
|
|
163
163
|
}
|
|
164
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
165
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.
|
|
166
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.
|
|
164
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLoggingConfigModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
165
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.6", ngImport: i0, type: AuditLoggingConfigModule, declarations: [EntityChangeDetailsComponent, EntityChangeModalComponent], imports: [CoreModule, ThemeSharedModule], exports: [EntityChangeDetailsComponent, EntityChangeModalComponent] }); }
|
|
166
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLoggingConfigModule, imports: [CoreModule, ThemeSharedModule] }); }
|
|
167
167
|
}
|
|
168
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
168
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLoggingConfigModule, decorators: [{
|
|
169
169
|
type: NgModule,
|
|
170
170
|
args: [{
|
|
171
171
|
declarations: [EntityChangeDetailsComponent, EntityChangeModalComponent],
|
|
@@ -45,10 +45,10 @@ class AuditLogsService {
|
|
|
45
45
|
params: { startTime: input.startTime, endTime: input.endTime, url: input.url, userName: input.userName, applicationName: input.applicationName, clientIpAddress: input.clientIpAddress, correlationId: input.correlationId, httpMethod: input.httpMethod, httpStatusCode: input.httpStatusCode, maxExecutionDuration: input.maxExecutionDuration, minExecutionDuration: input.minExecutionDuration, hasException: input.hasException, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },
|
|
46
46
|
}, { apiName: this.apiName });
|
|
47
47
|
}
|
|
48
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
49
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
48
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLogsService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
49
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLogsService, providedIn: 'root' }); }
|
|
50
50
|
}
|
|
51
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLogsService, decorators: [{
|
|
52
52
|
type: Injectable,
|
|
53
53
|
args: [{
|
|
54
54
|
providedIn: 'root',
|
|
@@ -120,8 +120,8 @@ class AuditLogDatetimePickerComponent extends AbstractNgModelComponent {
|
|
|
120
120
|
const time = this.timeAdapter.toModel(this.time);
|
|
121
121
|
this.formattedValue = [date, time].filter(x => !!x).join(this.separator);
|
|
122
122
|
}
|
|
123
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
124
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.
|
|
123
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLogDatetimePickerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
124
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.6", type: AuditLogDatetimePickerComponent, isStandalone: true, selector: "abp-audit-log-datetime-picker", providers: [
|
|
125
125
|
{
|
|
126
126
|
provide: NG_VALUE_ACCESSOR,
|
|
127
127
|
useExisting: forwardRef(() => AuditLogDatetimePickerComponent),
|
|
@@ -132,7 +132,7 @@ class AuditLogDatetimePickerComponent extends AbstractNgModelComponent {
|
|
|
132
132
|
{ provide: NgbDateAdapter, useClass: NgbDateStructAdapter },
|
|
133
133
|
], usesInheritance: true, ngImport: i0, template: "<input\r\n [value]=\"formattedValue\"\r\n (dateSelect)=\"setDate($event)\"\r\n (click)=\"datepicker.open()\"\r\n (keyup.space)=\"datepicker.open()\"\r\n ngbDatepicker\r\n [autoClose]=\"'outside'\"\r\n #datepicker=\"ngbDatepicker\"\r\n [footerTemplate]=\"footer\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n/>\r\n<ng-template #footer>\r\n <div class=\"d-flex justify-content-center\">\r\n <ngb-timepicker\r\n [ngModel]=\"time\"\r\n (ngModelChange)=\"setTime($event)\"\r\n ></ngb-timepicker>\r\n </div>\r\n</ng-template>\r\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: NgbDatepickerModule }, { kind: "directive", type: i7.NgbInputDatepicker, selector: "input[ngbDatepicker]", inputs: ["autoClose", "contentTemplate", "datepickerClass", "dayTemplate", "dayTemplateData", "displayMonths", "firstDayOfWeek", "footerTemplate", "markDisabled", "minDate", "maxDate", "navigation", "outsideDays", "placement", "popperOptions", "restoreFocus", "showWeekNumbers", "startDate", "container", "positionTarget", "weekdays", "disabled"], outputs: ["dateSelect", "navigate", "closed"], exportAs: ["ngbDatepicker"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: NgbTimepicker, selector: "ngb-timepicker", inputs: ["meridian", "spinners", "seconds", "hourStep", "minuteStep", "secondStep", "readonlyInputs", "size"], exportAs: ["ngbTimepicker"] }, { kind: "ngmodule", type: NgbPopoverModule }] }); }
|
|
134
134
|
}
|
|
135
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
135
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLogDatetimePickerComponent, decorators: [{
|
|
136
136
|
type: Component,
|
|
137
137
|
args: [{ selector: 'abp-audit-log-datetime-picker', standalone: true, imports: [CommonModule, NgbDatepickerModule, FormsModule, NgbTimepicker, NgbPopoverModule], providers: [
|
|
138
138
|
{
|
|
@@ -189,8 +189,8 @@ class EntityChangesComponent {
|
|
|
189
189
|
handleSubmit() {
|
|
190
190
|
this.list.get();
|
|
191
191
|
}
|
|
192
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
193
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.
|
|
192
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: EntityChangesComponent, deps: [{ token: i1.ListService }, { token: i2.UntypedFormBuilder }, { token: i2$1.AuditLogsService }, { token: i1.TrackByService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
193
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.6", type: EntityChangesComponent, selector: "abp-entity-changes", providers: [
|
|
194
194
|
ListService,
|
|
195
195
|
{
|
|
196
196
|
provide: EXTENSIONS_IDENTIFIER,
|
|
@@ -199,7 +199,7 @@ class EntityChangesComponent {
|
|
|
199
199
|
{ provide: NgbDateAdapter, useClass: DateAdapter },
|
|
200
200
|
], ngImport: i0, template: "<div class=\"card\">\r\n <div class=\"card-body pb-lg-3 px-0\">\r\n <form [formGroup]=\"form\" (ngSubmit)=\"handleSubmit()\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12 col-lg-4 col-xxl-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{ 'AbpAuditLogging::ChangeTime' | abpLocalization }}</label>\r\n <abp-date-range-picker\r\n formControlName=\"times\"\r\n startDateProp=\"startDate\"\r\n endDateProp=\"endDate\"\r\n >\r\n </abp-date-range-picker>\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"change-type\">{{\r\n 'AbpAuditLogging::ChangeType' | abpLocalization\r\n }}</label\r\n ><select\r\n id=\"change-type\"\r\n class=\"form-select form-control\"\r\n formControlName=\"entityChangeType\"\r\n (change)=\"handleSubmit()\"\r\n >\r\n <option [ngValue]=\"\"></option>\r\n <option\r\n *ngFor=\"let type of changeTypes; trackBy: track.by('id')\"\r\n [ngValue]=\"type.value\"\r\n >\r\n {{ 'AbpAuditLogging::' + type.key | abpLocalization }}\r\n </option>\r\n </select>\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-3\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\" for=\"entity-type-full-name\">{{\r\n 'AbpAuditLogging::EntityTypeFullName' | abpLocalization\r\n }}</label\r\n ><input\r\n id=\"entity-type-full-name\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n formControlName=\"entityTypeFullName\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"col-md-12 col-lg-2\">\r\n <div class=\"mt-3\">\r\n <div class=\"col-6 d-grid text-end\">\r\n <button type=\"submit\" class=\"btn btn-primary\">\r\n <span>\r\n {{ 'AbpAuditLogging::Refresh' | abpLocalization }}\r\n </span>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </form>\r\n </div>\r\n</div>\r\n<div class=\"card\">\r\n <div class=\"card-body p-0\">\r\n <ngx-datatable default [rows]=\"data\" [count]=\"count\" [list]=\"list\">\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::Detail' | abpLocalization\"\r\n [maxWidth]=\"150\"\r\n [width]=\"150\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" let-i=\"rowIndex\" ngx-datatable-cell-template>\r\n <abp-grid-actions\r\n [index]=\"i\"\r\n [record]=\"row\"\r\n text=\"AbpAuditLogging::Actions\"\r\n ></abp-grid-actions>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::Time' | abpLocalization\"\r\n [width]=\"230\"\r\n prop=\"changeTime\"\r\n >\r\n <ng-template ngx-datatable-cell-template let-value=\"value\">\r\n {{value | shortDateTime}}\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::ChangeType' | abpLocalization\"\r\n [width]=\"140\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n {{ 'AbpAuditLogging::' + changeType[row.changeType] | abpLocalization }}\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column name=\"TenantId\" [width]=\"150\" [sortable]=\"false\">\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <div abpEllipsis>{{ row.tenantId }}</div>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::EntityTypeFullName' | abpLocalization\"\r\n [width]=\"150\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <div abpEllipsis>{{ row.entityTypeFullName }}</div>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n </ngx-datatable>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i1.FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: ["debounce", "notValidateOnSubmit", "markAsDirtyWhenSubmit"], outputs: ["ngSubmit"] }, { kind: "component", type: i5.DateRangePickerComponent, selector: "abp-date-range-picker", inputs: ["startDateProp", "endDateProp", "labelText"] }, { kind: "component", type: i6.GridActionsComponent, selector: "abp-grid-actions", inputs: ["icon", "index", "text"], exportAs: ["abpGridActions"] }, { kind: "component", type: i7$1.DatatableComponent, selector: "ngx-datatable", inputs: ["targetMarkerTemplate", "rows", "groupRowsBy", "groupedRows", "columns", "selected", "scrollbarV", "scrollbarH", "rowHeight", "columnMode", "headerHeight", "footerHeight", "externalPaging", "externalSorting", "limit", "count", "offset", "loadingIndicator", "selectionType", "reorderable", "swapColumns", "sortType", "sorts", "cssClasses", "messages", "rowClass", "selectCheck", "displayCheck", "groupExpansionDefault", "trackByProp", "selectAllRowsOnPage", "virtualization", "treeFromRelation", "treeToRelation", "summaryRow", "summaryHeight", "summaryPosition", "rowIdentity"], outputs: ["scroll", "activate", "select", "sort", "page", "reorder", "resize", "tableContextmenu", "treeAction"] }, { kind: "directive", type: i7$1.DataTableColumnDirective, selector: "ngx-datatable-column", inputs: ["name", "prop", "frozenLeft", "frozenRight", "flexGrow", "resizeable", "comparator", "pipe", "sortable", "draggable", "canAutoResize", "minWidth", "width", "maxWidth", "checkboxable", "headerCheckboxable", "headerClass", "cellClass", "isTreeColumn", "treeLevelIndent", "summaryFunc", "summaryTemplate", "cellTemplate", "headerTemplate", "treeToggleTemplate"] }, { kind: "directive", type: i7$1.DataTableColumnCellDirective, selector: "[ngx-datatable-cell-template]" }, { kind: "directive", type: i8.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i8.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "directive", type: i9.NgxDatatableListDirective, selector: "ngx-datatable[list]", inputs: ["list"], exportAs: ["ngxDatatableList"] }, { kind: "directive", type: i9.NgxDatatableDefaultDirective, selector: "ngx-datatable[default]", inputs: ["class"], exportAs: ["ngxDatatableDefault"] }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }, { kind: "pipe", type: i1.ShortDateTimePipe, name: "shortDateTime" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
201
201
|
}
|
|
202
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
202
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: EntityChangesComponent, decorators: [{
|
|
203
203
|
type: Component,
|
|
204
204
|
args: [{ selector: 'abp-entity-changes', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
205
205
|
ListService,
|
|
@@ -286,8 +286,8 @@ class AuditLogsComponent {
|
|
|
286
286
|
return '';
|
|
287
287
|
}
|
|
288
288
|
}
|
|
289
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
290
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.
|
|
289
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLogsComponent, deps: [{ token: i1.ListService }, { token: i2$1.AuditLogsService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
290
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.6", type: AuditLogsComponent, selector: "abp-audit-logs", providers: [
|
|
291
291
|
ListService,
|
|
292
292
|
{
|
|
293
293
|
provide: EXTENSIONS_IDENTIFIER,
|
|
@@ -296,7 +296,7 @@ class AuditLogsComponent {
|
|
|
296
296
|
{ provide: NgbDateAdapter, useClass: DateAdapter },
|
|
297
297
|
], ngImport: i0, template: "<div id=\"wrapper\">\r\n <abp-page [title]=\"'AbpAuditLogging::AuditLogs' | abpLocalization\" [toolbar]=\"data.items\">\r\n <ul class=\"nav nav-tabs\">\r\n <li class=\"nav-item\">\r\n <a\r\n class=\"nav-link pointer\"\r\n [class.active]=\"selectedTab === 'audit-logs'\"\r\n (click)=\"selectedTab = 'audit-logs'\"\r\n >{{ 'AbpAuditLogging::AuditLogs' | abpLocalization }}</a\r\n >\r\n </li>\r\n <li class=\"nav-item\">\r\n <a\r\n class=\"nav-link pointer\"\r\n [class.active]=\"selectedTab === 'entity-changes'\"\r\n (click)=\"selectedTab = 'entity-changes'\"\r\n >{{ 'AbpAuditLogging::EntityChanges' | abpLocalization }}</a\r\n >\r\n </li>\r\n </ul>\r\n <div class=\"tab-content\" [class.p-0]=\"selectedTab !== 'audit-logs'\">\r\n <div class=\"tab-pane\" [class.active]=\"selectedTab === 'audit-logs'\" [@fadeIn]=\"selectedTab\">\r\n <div class=\"card mb-0\">\r\n <div class=\"card-body pb-lg-3 px-0\">\r\n <form (keyup.enter)=\"list.get()\">\r\n <div class=\"row\">\r\n <div class=\"col-md-6 col-lg-2 col-xxl-2\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{\r\n 'AbpAuditLogging::StartDate' | abpLocalization\r\n }}</label>\r\n <abp-audit-log-datetime-picker\r\n [(ngModel)]=\"this.pageQuery.startTime\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n ></abp-audit-log-datetime-picker>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-6 col-lg-2 col-xxl-2\">\r\n <div class=\"mb-3\">\r\n <label class=\"form-label\">{{\r\n 'AbpAuditLogging::EndDate' | abpLocalization\r\n }}</label>\r\n <abp-audit-log-datetime-picker\r\n [(ngModel)]=\"this.pageQuery.endTime\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n ></abp-audit-log-datetime-picker>\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-2\">\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-2\">\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-2 col-xxl-2\">\r\n <div class=\"mb-3\">\r\n <label for=\"minDuration\" class=\"form-label\">{{\r\n 'AbpAuditLogging::MinMaxDuration' | abpLocalization\r\n }}</label>\r\n <div class=\"input-group\">\r\n <input\r\n id=\"minDuration\"\r\n type=\"number\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"pageQuery.minExecutionDuration\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n <span class=\"input-group-text px-1\">-</span>\r\n <input\r\n id=\"maxDuration\"\r\n type=\"number\"\r\n class=\"form-control\"\r\n [(ngModel)]=\"pageQuery.maxExecutionDuration\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n />\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-2\">\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 <option *ngFor=\"let method of httpMethods\" [ngValue]=\"method\">\r\n {{ method }}\r\n </option>\r\n </select>\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-2\">\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 <option *ngFor=\"let h of httpStatusCodes\" [ngValue]=\"h.code\">\r\n {{ h.code }} - {{ h.message }}\r\n </option>\r\n </select>\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-2\">\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-2\">\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-2\">\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-2\">\r\n <div class=\"mb-3 mb-lg-0\">\r\n <label for=\"hasException\" class=\"form-label\">{{\r\n 'AbpAuditLogging::HasException' | abpLocalization\r\n }}</label>\r\n <select\r\n name=\"hasException\"\r\n id=\"hasException\"\r\n class=\"form-select form-control\"\r\n [(ngModel)]=\"pageQuery.hasException\"\r\n [ngModelOptions]=\"{ standalone: true }\"\r\n (change)=\"list.get()\"\r\n >\r\n <option [ngValue]=\"null\">-</option>\r\n <option [ngValue]=\"true\">\r\n {{ 'AbpAuditLogging::Yes' | abpLocalization }}\r\n </option>\r\n <option [ngValue]=\"false\">\r\n {{ 'AbpAuditLogging::No' | abpLocalization }}\r\n </option>\r\n </select>\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 col-lg-3 col-xxl-2\">\r\n <div class=\"mt-3 mb-lg-0 d-grid\">\r\n <button type=\"button\" class=\"btn btn-primary\" (click)=\"list.get()\">\r\n <span>\r\n {{ 'AbpAuditLogging::Refresh' | abpLocalization }}\r\n </span>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </form>\r\n </div>\r\n </div>\r\n <div class=\"card\">\r\n <div class=\"card-body p-0\">\r\n <abp-extensible-table\r\n [data]=\"data.items\"\r\n [recordsTotal]=\"data.totalCount\"\r\n [list]=\"list\"\r\n ></abp-extensible-table>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"tab-content\" [class.p-0]=\"selectedTab !== 'entity-changes'\">\r\n <div\r\n class=\"tab-pane\"\r\n [class.active]=\"selectedTab === 'entity-changes'\"\r\n [@fadeIn]=\"selectedTab\"\r\n >\r\n <abp-entity-changes *ngIf=\"selectedTab === 'entity-changes'\"></abp-entity-changes>\r\n </div>\r\n </div>\r\n </abp-page>\r\n</div>\r\n\r\n<abp-modal *ngIf=\"selected\" [(visible)]=\"modalVisible\" [options]=\"{ size: 'lg' }\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">\r\n {{ 'AbpAuditLogging::Detail' | abpLocalization }}\r\n </h5>\r\n </ng-template>\r\n <ng-template #abpBody>\r\n <ul ngbNav #nav=\"ngbNav\" class=\"nav-tabs\">\r\n <li ngbNavItem>\r\n <a ngbNavLink>{{ 'AbpAuditLogging::Overall' | abpLocalization }}</a>\r\n <ng-template ngbNavContent>\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::HttpStatusCode' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n <span class=\"badge\" [ngClass]=\"httpCodeClass(selected.httpStatusCode)\">{{\r\n selected.httpStatusCode\r\n }}</span>\r\n </div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::HttpMethod' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n <span class=\"badge\" [ngClass]=\"httpMethodClass(selected.httpMethod)\">{{\r\n selected.httpMethod\r\n }}</span>\r\n </div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::Url' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.url }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::ClientIpAddress' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.clientIpAddress }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::ClientName' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.clientName }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::Exceptions' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n <pre lang=\"c-sharp\" *ngIf=\"selected.exceptions\">\r\n {{ selected.exceptions }}\r\n </pre>\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 <ng-container *ngIf=\"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 </ng-container>\r\n <ng-container *ngIf=\"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 <ng-container *ngIf=\"selected.impersonatorUserName; else onlyImpersonatorUserId\">\r\n {{ selected.impersonatorUserName }} ({{ selected.impersonatorUserId }})\r\n </ng-container>\r\n <ng-template #onlyImpersonatorUserId>\r\n {{ selected.impersonatorUserId }}\r\n </ng-template>\r\n </div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n </ng-container>\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::Time' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n {{ selected.executionTime | shortDateTime }}\r\n </div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::Duration' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.executionDuration }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::BrowserInfo' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.browserInfo }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::ApplicationName' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.applicationName }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::CorrelationId' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.correlationId }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::Comments' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">{{ selected.comments }}</div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::ExtraProperties' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n <pre lang=\"json\" class=\"p-2\">\r\n {{ selected.extraProperties | json }}\r\n </pre>\r\n </div>\r\n </div>\r\n </ng-template>\r\n </li>\r\n <li ngbNavItem>\r\n <a ngbNavLink\r\n >{{ 'AbpAuditLogging::Actions' | abpLocalization }} ({{ selected.actions.length }})</a\r\n >\r\n <ng-template ngbNavContent>\r\n <div\r\n class=\"mb-3 border border-dark rounded\"\r\n *ngFor=\"let action of selected.actions; let i = index\"\r\n >\r\n <div class=\"d-grid\">\r\n <button\r\n class=\"btn btn-primary d-flex justify-content-between text-break\"\r\n type=\"button\"\r\n (click)=\"collapseActionStates[i] = !collapseActionStates[i]\"\r\n >\r\n {{ action.serviceName }} - {{ action.methodName }}\r\n <i\r\n class=\"fa align-self-center\"\r\n [ngClass]=\"collapseActionStates[i] ? 'fa-chevron-up' : 'fa-chevron-down'\"\r\n ></i>\r\n </button>\r\n </div>\r\n <div [@collapse]=\"collapseActionStates[i] ? 'expanded' : 'collapsed'\">\r\n <div class=\"m-3\">\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::Duration' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n {{ action.executionDuration ? action.executionDuration + ' ms' : '' }}\r\n </div>\r\n </div>\r\n <hr class=\"m-0\" />\r\n <div class=\"row\">\r\n <div class=\"col-form-label col col-lg-3\">\r\n <strong>{{ 'AbpAuditLogging::Parameters' | abpLocalization }}</strong>\r\n </div>\r\n <div class=\"col-form-label col col-lg-9\">\r\n <pre lang=\"json\" class=\"p-2\">{{ action.parameters }}</pre>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-template>\r\n </li>\r\n </ul>\r\n <div [ngbNavOutlet]=\"nav\"></div>\r\n </ng-template>\r\n <ng-template #abpFooter>\r\n <button class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpAuditLogging::Close' | abpLocalization }}\r\n </button>\r\n </ng-template>\r\n</abp-modal>\r\n", dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: i6.ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate"], outputs: ["tableActivate"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: i9.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "directive", type: i9.ModalCloseDirective, selector: "[abpClose]" }, { kind: "directive", type: i7.NgbNavContent, selector: "ng-template[ngbNavContent]" }, { kind: "directive", type: i7.NgbNav, selector: "[ngbNav]", inputs: ["activeId", "animation", "destroyOnHide", "orientation", "roles", "keyboard"], outputs: ["activeIdChange", "shown", "hidden", "navChange"], exportAs: ["ngbNav"] }, { kind: "directive", type: i7.NgbNavItem, selector: "[ngbNavItem]", inputs: ["destroyOnHide", "disabled", "domId", "ngbNavItem"], outputs: ["shown", "hidden"], exportAs: ["ngbNavItem"] }, { kind: "directive", type: i7.NgbNavItemRole, selector: "[ngbNavItem]:not(ng-container)" }, { kind: "directive", type: i7.NgbNavLink, selector: "a[ngbNavLink]" }, { kind: "directive", type: i7.NgbNavLinkBase, selector: "[ngbNavLink]" }, { kind: "component", type: i7.NgbNavOutlet, selector: "[ngbNavOutlet]", inputs: ["paneRole", "ngbNavOutlet"] }, { kind: "component", type: i8$1.PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "component", type: AuditLogDatetimePickerComponent, selector: "abp-audit-log-datetime-picker" }, { kind: "component", type: EntityChangesComponent, selector: "abp-entity-changes" }, { kind: "pipe", type: i3.JsonPipe, name: "json" }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }, { kind: "pipe", type: i1.ShortDateTimePipe, name: "shortDateTime" }], animations: [collapse, trigger('fadeIn', [transition('* <=> *', useAnimation(fadeIn))])] }); }
|
|
298
298
|
}
|
|
299
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
299
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLogsComponent, decorators: [{
|
|
300
300
|
type: Component,
|
|
301
301
|
args: [{ selector: 'abp-audit-logs', animations: [collapse, trigger('fadeIn', [transition('* <=> *', useAnimation(fadeIn))])], providers: [
|
|
302
302
|
ListService,
|
|
@@ -318,10 +318,10 @@ class AuditLoggingGuard {
|
|
|
318
318
|
canActivate() {
|
|
319
319
|
return this.auditLoggingFeatures.pipe(map(features => features.enable));
|
|
320
320
|
}
|
|
321
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
322
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
321
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLoggingGuard, deps: [{ token: AUDIT_LOGGING_FEATURES }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
322
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLoggingGuard }); }
|
|
323
323
|
}
|
|
324
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
324
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLoggingGuard, decorators: [{
|
|
325
325
|
type: Injectable
|
|
326
326
|
}], ctorParameters: () => [{ type: i1$1.Observable, decorators: [{
|
|
327
327
|
type: Inject,
|
|
@@ -472,11 +472,11 @@ const routes = [
|
|
|
472
472
|
},
|
|
473
473
|
];
|
|
474
474
|
class AuditLoggingRoutingModule {
|
|
475
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
476
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.
|
|
477
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.
|
|
475
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLoggingRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
476
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.6", ngImport: i0, type: AuditLoggingRoutingModule, imports: [i1$2.RouterModule], exports: [RouterModule] }); }
|
|
477
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLoggingRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] }); }
|
|
478
478
|
}
|
|
479
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
479
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLoggingRoutingModule, decorators: [{
|
|
480
480
|
type: NgModule,
|
|
481
481
|
args: [{
|
|
482
482
|
imports: [RouterModule.forChild(routes)],
|
|
@@ -526,8 +526,8 @@ class AverageExecutionDurationWidgetComponent {
|
|
|
526
526
|
this.chart.refresh();
|
|
527
527
|
}, 0);
|
|
528
528
|
}
|
|
529
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
530
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.
|
|
529
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AverageExecutionDurationWidgetComponent, deps: [{ token: i1.LocalizationService }, { token: i1.PermissionService }, { token: i2$1.AuditLogsService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
530
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.6", type: AverageExecutionDurationWidgetComponent, selector: "abp-average-execution-duration-widget", inputs: { width: "width", height: "height" }, outputs: { initialized: "initialized" }, viewQueries: [{ propertyName: "chart", first: true, predicate: ChartComponent, descendants: true }], ngImport: i0, template: `
|
|
531
531
|
<div *abpPermission="'AuditLogging.AuditLogs'" class="abp-widget-wrapper">
|
|
532
532
|
<div class="card">
|
|
533
533
|
<div class="card-header">
|
|
@@ -551,7 +551,7 @@ class AverageExecutionDurationWidgetComponent {
|
|
|
551
551
|
</div>
|
|
552
552
|
`, isInline: true, dependencies: [{ kind: "directive", type: i1.PermissionDirective, selector: "[abpPermission]", inputs: ["abpPermission", "abpPermissionRunChangeDetection"] }, { kind: "component", type: i3$1.ChartComponent, selector: "abp-chart", inputs: ["type", "data", "options", "plugins", "width", "height", "responsive"], outputs: ["dataSelect", "initialized"], exportAs: ["abpChart"] }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }] }); }
|
|
553
553
|
}
|
|
554
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
554
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AverageExecutionDurationWidgetComponent, decorators: [{
|
|
555
555
|
type: Component,
|
|
556
556
|
args: [{
|
|
557
557
|
selector: 'abp-average-execution-duration-widget',
|
|
@@ -633,8 +633,8 @@ class ErrorRateWidgetComponent {
|
|
|
633
633
|
this.chart.refresh();
|
|
634
634
|
}, 0);
|
|
635
635
|
}
|
|
636
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
637
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.
|
|
636
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: ErrorRateWidgetComponent, deps: [{ token: i1.PermissionService }, { token: i2$1.AuditLogsService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
637
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.6", type: ErrorRateWidgetComponent, selector: "abp-error-rate-widget", inputs: { width: "width", height: "height" }, outputs: { initialized: "initialized" }, viewQueries: [{ propertyName: "chart", first: true, predicate: ChartComponent, descendants: true }], ngImport: i0, template: `
|
|
638
638
|
<div *abpPermission="'AuditLogging.AuditLogs'" class="abp-widget-wrapper">
|
|
639
639
|
<div class="card">
|
|
640
640
|
<div class="card-header">
|
|
@@ -658,7 +658,7 @@ class ErrorRateWidgetComponent {
|
|
|
658
658
|
</div>
|
|
659
659
|
`, isInline: true, dependencies: [{ kind: "directive", type: i1.PermissionDirective, selector: "[abpPermission]", inputs: ["abpPermission", "abpPermissionRunChangeDetection"] }, { kind: "component", type: i3$1.ChartComponent, selector: "abp-chart", inputs: ["type", "data", "options", "plugins", "width", "height", "responsive"], outputs: ["dataSelect", "initialized"], exportAs: ["abpChart"] }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }] }); }
|
|
660
660
|
}
|
|
661
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
661
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: ErrorRateWidgetComponent, decorators: [{
|
|
662
662
|
type: Component,
|
|
663
663
|
args: [{
|
|
664
664
|
selector: 'abp-error-rate-widget',
|
|
@@ -720,8 +720,8 @@ class AuditLoggingModule {
|
|
|
720
720
|
static forLazy(options = {}) {
|
|
721
721
|
return new LazyModuleFactory(AuditLoggingModule.forChild(options));
|
|
722
722
|
}
|
|
723
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
724
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.
|
|
723
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLoggingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
724
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.6", ngImport: i0, type: AuditLoggingModule, declarations: [AuditLogsComponent,
|
|
725
725
|
EntityChangesComponent,
|
|
726
726
|
ErrorRateWidgetComponent,
|
|
727
727
|
AverageExecutionDurationWidgetComponent], imports: [AuditLoggingRoutingModule,
|
|
@@ -736,7 +736,7 @@ class AuditLoggingModule {
|
|
|
736
736
|
EntityChangesComponent,
|
|
737
737
|
ErrorRateWidgetComponent,
|
|
738
738
|
AverageExecutionDurationWidgetComponent] }); }
|
|
739
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.
|
|
739
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLoggingModule, imports: [AuditLoggingRoutingModule,
|
|
740
740
|
CoreModule,
|
|
741
741
|
CommercialUiModule,
|
|
742
742
|
ThemeSharedModule,
|
|
@@ -746,7 +746,7 @@ class AuditLoggingModule {
|
|
|
746
746
|
ChartModule,
|
|
747
747
|
AuditLogDatetimePickerComponent] }); }
|
|
748
748
|
}
|
|
749
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
749
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLoggingModule, decorators: [{
|
|
750
750
|
type: NgModule,
|
|
751
751
|
args: [{
|
|
752
752
|
declarations: [
|
|
@@ -803,10 +803,10 @@ class AuditLoggingExtensionsGuard {
|
|
|
803
803
|
mergeWithDefaultProps(extensions.entityProps, DEFAULT_AUDIT_LOGGING_ENTITY_PROPS, objectExtensionContributors.prop, propContributors);
|
|
804
804
|
}), map(() => true));
|
|
805
805
|
}
|
|
806
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
807
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
806
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLoggingExtensionsGuard, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
807
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLoggingExtensionsGuard }); }
|
|
808
808
|
}
|
|
809
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
809
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuditLoggingExtensionsGuard, decorators: [{
|
|
810
810
|
type: Injectable
|
|
811
811
|
}], ctorParameters: () => [{ type: i0.Injector }] });
|
|
812
812
|
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volo/abp.ng.audit-logging",
|
|
3
|
-
"version": "8.0.0-rc.
|
|
3
|
+
"version": "8.0.0-rc.3",
|
|
4
4
|
"homepage": "https://abp.io",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@abp/ng.components": "~8.0.0-rc.
|
|
7
|
-
"@abp/ng.theme.shared": "~8.0.0-rc.
|
|
8
|
-
"@volo/abp.commercial.ng.ui": "~8.0.0-rc.
|
|
6
|
+
"@abp/ng.components": "~8.0.0-rc.3",
|
|
7
|
+
"@abp/ng.theme.shared": "~8.0.0-rc.3",
|
|
8
|
+
"@volo/abp.commercial.ng.ui": "~8.0.0-rc.3",
|
|
9
9
|
"tslib": "^2.0.0"
|
|
10
10
|
},
|
|
11
11
|
"publishConfig": {
|