@volo/abp.ng.audit-logging 8.0.4 → 8.1.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +6 -5
- package/esm2022/lib/audit-logging.module.mjs +4 -4
- package/esm2022/lib/components/audit-log-datetime-picker/audit-log-datetime-picker.component.mjs +4 -4
- package/esm2022/lib/components/audit-logs/audit-logs.component.mjs +4 -4
- package/esm2022/lib/components/entity-change/entity-changes.component.mjs +3 -3
- package/esm2022/lib/components/widgets/average-execution-duration-widget.component.mjs +4 -4
- package/esm2022/lib/components/widgets/error-rate-widget.component.mjs +4 -4
- package/esm2022/lib/constants/http.mjs +49 -49
- package/esm2022/lib/defaults/default-audit-logs-entity-props.mjs +2 -2
- 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 +79 -78
- package/fesm2022/volo-abp.ng.audit-logging.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -33,65 +33,65 @@ import { of, map as map$1, tap, BehaviorSubject } from 'rxjs';
|
|
|
33
33
|
const HTTP_METHODS = ['GET', 'POST', 'DELETE', 'PUT', 'HEAD', 'CONNECT', 'OPTIONS', 'TRACE'];
|
|
34
34
|
const HTTP_STATUS_CODES = [
|
|
35
35
|
{ code: 100, message: 'Continue' },
|
|
36
|
-
{ code: 101, message: 'Switching
|
|
36
|
+
{ code: 101, message: 'Switching protocols' },
|
|
37
37
|
{ code: 102, message: 'Processing' },
|
|
38
|
-
{ code: 103, message: 'Early
|
|
38
|
+
{ code: 103, message: 'Early hints' },
|
|
39
39
|
{ code: 200, message: 'OK' },
|
|
40
40
|
{ code: 201, message: 'Created' },
|
|
41
41
|
{ code: 202, message: 'Accepted' },
|
|
42
|
-
{ code: 203, message: 'Non-authoritative
|
|
43
|
-
{ code: 204, message: 'No
|
|
44
|
-
{ code: 205, message: 'Reset
|
|
45
|
-
{ code: 206, message: 'Partial
|
|
46
|
-
{ code: 207, message: 'Multi-
|
|
47
|
-
{ code: 208, message: 'Already
|
|
48
|
-
{ code: 226, message: '
|
|
49
|
-
{ code: 300, message: 'Multiple
|
|
50
|
-
{ code: 301, message: 'Moved
|
|
42
|
+
{ code: 203, message: 'Non-authoritative information' },
|
|
43
|
+
{ code: 204, message: 'No content' },
|
|
44
|
+
{ code: 205, message: 'Reset content' },
|
|
45
|
+
{ code: 206, message: 'Partial content' },
|
|
46
|
+
{ code: 207, message: 'Multi-status' },
|
|
47
|
+
{ code: 208, message: 'Already registered' },
|
|
48
|
+
{ code: 226, message: 'I am used' },
|
|
49
|
+
{ code: 300, message: 'Multiple choices' },
|
|
50
|
+
{ code: 301, message: 'Moved permanently' },
|
|
51
51
|
{ code: 302, message: 'Found' },
|
|
52
|
-
{ code: 303, message: 'See
|
|
53
|
-
{ code: 304, message: 'Not
|
|
54
|
-
{ code: 305, message: 'Use
|
|
55
|
-
{ code: 306, message: 'Switch
|
|
56
|
-
{ code: 307, message: 'Temporary
|
|
57
|
-
{ code: 308, message: 'Permanent
|
|
58
|
-
{ code: 400, message: 'Bad
|
|
52
|
+
{ code: 303, message: 'See other' },
|
|
53
|
+
{ code: 304, message: 'Not modified' },
|
|
54
|
+
{ code: 305, message: 'Use proxy' },
|
|
55
|
+
{ code: 306, message: 'Switch proxy' },
|
|
56
|
+
{ code: 307, message: 'Temporary redirect' },
|
|
57
|
+
{ code: 308, message: 'Permanent redirect' },
|
|
58
|
+
{ code: 400, message: 'Bad request' },
|
|
59
59
|
{ code: 401, message: 'Unauthorized' },
|
|
60
|
-
{ code: 402, message: 'Payment
|
|
60
|
+
{ code: 402, message: 'Payment required' },
|
|
61
61
|
{ code: 403, message: 'Forbidden' },
|
|
62
62
|
{ code: 404, message: 'Not Found' },
|
|
63
|
-
{ code: 405, message: 'Method
|
|
64
|
-
{ code: 406, message: 'Not
|
|
65
|
-
{ code: 407, message: 'Proxy
|
|
66
|
-
{ code: 408, message: 'Request
|
|
63
|
+
{ code: 405, message: 'Method not allowed' },
|
|
64
|
+
{ code: 406, message: 'Not acceptable' },
|
|
65
|
+
{ code: 407, message: 'Proxy authentication required' },
|
|
66
|
+
{ code: 408, message: 'Request timeout' },
|
|
67
67
|
{ code: 409, message: 'Conflict' },
|
|
68
68
|
{ code: 410, message: 'Gone' },
|
|
69
|
-
{ code: 411, message: 'Length
|
|
70
|
-
{ code: 412, message: 'Precondition
|
|
71
|
-
{ code: 413, message: 'Payload
|
|
72
|
-
{ code: 414, message: 'Request-URI
|
|
73
|
-
{ code: 415, message: 'Unsupported
|
|
74
|
-
{ code: 416, message: 'Requested
|
|
75
|
-
{ code: 417, message: 'Expectation
|
|
76
|
-
{ code: 421, message: 'Misdirected
|
|
69
|
+
{ code: 411, message: 'Length required' },
|
|
70
|
+
{ code: 412, message: 'Precondition failed' },
|
|
71
|
+
{ code: 413, message: 'Payload too large' },
|
|
72
|
+
{ code: 414, message: 'Request-URI too long' },
|
|
73
|
+
{ code: 415, message: 'Unsupported media type' },
|
|
74
|
+
{ code: 416, message: 'Requested range not satisfiable' },
|
|
75
|
+
{ code: 417, message: 'Expectation failed' },
|
|
76
|
+
{ code: 421, message: 'Misdirected request' },
|
|
77
77
|
{ code: 423, message: 'Locked' },
|
|
78
|
-
{ code: 424, message: 'Failed
|
|
79
|
-
{ code: 426, message: 'Upgrade
|
|
80
|
-
{ code: 428, message: 'Precondition
|
|
81
|
-
{ code: 429, message: 'Too
|
|
82
|
-
{ code: 431, message: 'Request
|
|
83
|
-
{ code: 451, message: 'Unavailable
|
|
84
|
-
{ code: 500, message: 'Internal
|
|
85
|
-
{ code: 501, message: 'Not
|
|
86
|
-
{ code: 502, message: 'Bad
|
|
87
|
-
{ code: 503, message: 'Service
|
|
88
|
-
{ code: 504, message: 'Gateway
|
|
89
|
-
{ code: 505, message: 'HTTP
|
|
90
|
-
{ code: 506, message: 'Variant
|
|
91
|
-
{ code: 507, message: 'Insufficient
|
|
92
|
-
{ code: 508, message: 'Loop
|
|
93
|
-
{ code: 510, message: 'Not
|
|
94
|
-
{ code: 511, message: 'Network
|
|
78
|
+
{ code: 424, message: 'Failed dependency' },
|
|
79
|
+
{ code: 426, message: 'Upgrade required' },
|
|
80
|
+
{ code: 428, message: 'Precondition required' },
|
|
81
|
+
{ code: 429, message: 'Too many requests' },
|
|
82
|
+
{ code: 431, message: 'Request header fields too large' },
|
|
83
|
+
{ code: 451, message: 'Unavailable for legal reasons' },
|
|
84
|
+
{ code: 500, message: 'Internal server error' },
|
|
85
|
+
{ code: 501, message: 'Not implemented' },
|
|
86
|
+
{ code: 502, message: 'Bad gateway' },
|
|
87
|
+
{ code: 503, message: 'Service unavailable' },
|
|
88
|
+
{ code: 504, message: 'Gateway timeout' },
|
|
89
|
+
{ code: 505, message: 'HTTP version not supported' },
|
|
90
|
+
{ code: 506, message: 'Variant also negotiates' },
|
|
91
|
+
{ code: 507, message: 'Insufficient storage' },
|
|
92
|
+
{ code: 508, message: 'Loop detected' },
|
|
93
|
+
{ code: 510, message: 'Not extended' },
|
|
94
|
+
{ code: 511, message: 'Network authentication required' },
|
|
95
95
|
];
|
|
96
96
|
|
|
97
97
|
class AuditLogDatetimePickerComponent extends AbstractNgModelComponent {
|
|
@@ -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.
|
|
124
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.
|
|
123
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: AuditLogDatetimePickerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
124
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.3", 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 ngbDatepicker\r\n #datepicker=\"ngbDatepicker\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [value]=\"formattedValue\"\r\n [autoClose]=\"'outside'\"\r\n [footerTemplate]=\"footer\"\r\n (click)=\"datepicker.open()\"\r\n (change)=\"onChange($event.target.value)\"\r\n (dateSelect)=\"setDate($event)\"\r\n (keyup.space)=\"datepicker.open()\"\r\n/>\r\n<ng-template #footer>\r\n <div class=\"d-flex justify-content-center\">\r\n <ngb-timepicker [ngModel]=\"time\" (ngModelChange)=\"setTime($event)\"></ngb-timepicker>\r\n </div>\r\n</ng-template>\r\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: NgbDatepickerModule }, { kind: "directive", type: i5.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.
|
|
135
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", 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.
|
|
193
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.
|
|
192
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", 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.1.3", 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 m-0\">\r\n <div class=\"card-body p-0\">\r\n <ngx-datatable default [rows]=\"data\" [count]=\"count\" [list]=\"list\">\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::Detail' | abpLocalization\"\r\n [maxWidth]=\"150\"\r\n [width]=\"150\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" let-i=\"rowIndex\" ngx-datatable-cell-template>\r\n <abp-grid-actions\r\n [index]=\"i\"\r\n [record]=\"row\"\r\n text=\"AbpAuditLogging::Actions\"\r\n ></abp-grid-actions>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::Time' | abpLocalization\"\r\n [width]=\"230\"\r\n prop=\"changeTime\"\r\n >\r\n <ng-template ngx-datatable-cell-template let-value=\"value\">\r\n {{value | shortDateTime}}\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::ChangeType' | abpLocalization\"\r\n [width]=\"140\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n {{ 'AbpAuditLogging::' + changeType[row.changeType] | abpLocalization }}\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column name=\"TenantId\" [width]=\"150\" [sortable]=\"false\">\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <div abpEllipsis>{{ row.tenantId }}</div>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n <ngx-datatable-column\r\n [name]=\"'AbpAuditLogging::EntityTypeFullName' | abpLocalization\"\r\n [width]=\"150\"\r\n [sortable]=\"false\"\r\n >\r\n <ng-template let-row=\"row\" ngx-datatable-cell-template>\r\n <div abpEllipsis>{{ row.entityTypeFullName }}</div>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n </ngx-datatable>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i1$1.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$1.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 }); }
|
|
201
201
|
}
|
|
202
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
202
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", 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.
|
|
290
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.
|
|
289
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: AuditLogsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
290
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.3", 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 mb-0\">\r\n <div class=\"card-body p-0\">\r\n <abp-extensible-table\r\n [data]=\"data.items\"\r\n [recordsTotal]=\"data.totalCount\"\r\n [list]=\"list\"\r\n ></abp-extensible-table>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"tab-content\" [class.p-0]=\"selectedTab !== 'entity-changes'\">\r\n <div\r\n class=\"tab-pane\"\r\n [class.active]=\"selectedTab === 'entity-changes'\"\r\n [@fadeIn]=\"selectedTab\"\r\n >\r\n <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: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.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: i5.NgbNavContent, selector: "ng-template[ngbNavContent]" }, { kind: "directive", type: i5.NgbNav, selector: "[ngbNav]", inputs: ["activeId", "animation", "destroyOnHide", "orientation", "roles", "keyboard"], outputs: ["activeIdChange", "shown", "hidden", "navChange"], exportAs: ["ngbNav"] }, { kind: "directive", type: i5.NgbNavItem, selector: "[ngbNavItem]", inputs: ["destroyOnHide", "disabled", "domId", "ngbNavItem"], outputs: ["shown", "hidden"], exportAs: ["ngbNavItem"] }, { kind: "directive", type: i5.NgbNavItemRole, selector: "[ngbNavItem]:not(ng-container)" }, { kind: "directive", type: i5.NgbNavLink, selector: "a[ngbNavLink]" }, { kind: "directive", type: i5.NgbNavLinkBase, selector: "[ngbNavLink]" }, { kind: "component", type: i5.NgbNavOutlet, selector: "[ngbNavOutlet]", inputs: ["paneRole", "ngbNavOutlet"] }, { kind: "component", type: i6$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: i1$1.JsonPipe, name: "json" }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }, { kind: "pipe", type: i1.ShortDateTimePipe, name: "shortDateTime" }], animations: [collapse, trigger('fadeIn', [transition('* <=> *', useAnimation(fadeIn))])] }); }
|
|
298
298
|
}
|
|
299
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
299
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", 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.
|
|
322
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.
|
|
321
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", 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.1.3", ngImport: i0, type: AuditLoggingGuard }); }
|
|
323
323
|
}
|
|
324
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
324
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: AuditLoggingGuard, decorators: [{
|
|
325
325
|
type: Injectable
|
|
326
326
|
}], ctorParameters: () => [{ type: i1$2.Observable, decorators: [{
|
|
327
327
|
type: Inject,
|
|
@@ -379,7 +379,7 @@ const DEFAULT_AUDIT_LOGS_ENTITY_PROPS = EntityProp.createMany([
|
|
|
379
379
|
{
|
|
380
380
|
type: "datetime" /* ePropType.DateTime */,
|
|
381
381
|
name: 'executionTime',
|
|
382
|
-
displayName: '::Date',
|
|
382
|
+
displayName: 'AbpIdentity::Date',
|
|
383
383
|
sortable: true,
|
|
384
384
|
columnWidth: 150,
|
|
385
385
|
},
|
|
@@ -467,16 +467,17 @@ const routes = [
|
|
|
467
467
|
defaultComponent: AuditLogsComponent,
|
|
468
468
|
},
|
|
469
469
|
},
|
|
470
|
+
title: 'AbpAuditLogging::Menu:AuditLogging',
|
|
470
471
|
},
|
|
471
472
|
],
|
|
472
473
|
},
|
|
473
474
|
];
|
|
474
475
|
class AuditLoggingRoutingModule {
|
|
475
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
476
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.
|
|
477
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.
|
|
476
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: AuditLoggingRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
477
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.3", ngImport: i0, type: AuditLoggingRoutingModule, imports: [i1$3.RouterModule], exports: [RouterModule] }); }
|
|
478
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: AuditLoggingRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] }); }
|
|
478
479
|
}
|
|
479
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
480
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: AuditLoggingRoutingModule, decorators: [{
|
|
480
481
|
type: NgModule,
|
|
481
482
|
args: [{
|
|
482
483
|
imports: [RouterModule.forChild(routes)],
|
|
@@ -526,8 +527,8 @@ class AverageExecutionDurationWidgetComponent {
|
|
|
526
527
|
this.chart.refresh();
|
|
527
528
|
}, 0);
|
|
528
529
|
}
|
|
529
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
530
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.
|
|
530
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: AverageExecutionDurationWidgetComponent, deps: [{ token: i1.LocalizationService }, { token: i1.PermissionService }, { token: i2$1.AuditLogsService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
531
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.3", 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
532
|
<div *abpPermission="'AuditLogging.AuditLogs'" class="abp-widget-wrapper">
|
|
532
533
|
<div class="card">
|
|
533
534
|
<div class="card-header">
|
|
@@ -551,7 +552,7 @@ class AverageExecutionDurationWidgetComponent {
|
|
|
551
552
|
</div>
|
|
552
553
|
`, 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" }] }); }
|
|
553
554
|
}
|
|
554
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
555
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: AverageExecutionDurationWidgetComponent, decorators: [{
|
|
555
556
|
type: Component,
|
|
556
557
|
args: [{
|
|
557
558
|
selector: 'abp-average-execution-duration-widget',
|
|
@@ -633,8 +634,8 @@ class ErrorRateWidgetComponent {
|
|
|
633
634
|
this.chart.refresh();
|
|
634
635
|
}, 0);
|
|
635
636
|
}
|
|
636
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
637
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.
|
|
637
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: ErrorRateWidgetComponent, deps: [{ token: i1.PermissionService }, { token: i2$1.AuditLogsService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
638
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.3", 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
639
|
<div *abpPermission="'AuditLogging.AuditLogs'" class="abp-widget-wrapper">
|
|
639
640
|
<div class="card">
|
|
640
641
|
<div class="card-header">
|
|
@@ -658,7 +659,7 @@ class ErrorRateWidgetComponent {
|
|
|
658
659
|
</div>
|
|
659
660
|
`, 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" }] }); }
|
|
660
661
|
}
|
|
661
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
662
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: ErrorRateWidgetComponent, decorators: [{
|
|
662
663
|
type: Component,
|
|
663
664
|
args: [{
|
|
664
665
|
selector: 'abp-error-rate-widget',
|
|
@@ -720,8 +721,8 @@ class AuditLoggingModule {
|
|
|
720
721
|
static forLazy(options = {}) {
|
|
721
722
|
return new LazyModuleFactory(AuditLoggingModule.forChild(options));
|
|
722
723
|
}
|
|
723
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
724
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.
|
|
724
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: AuditLoggingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
725
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.3", ngImport: i0, type: AuditLoggingModule, declarations: [AuditLogsComponent,
|
|
725
726
|
EntityChangesComponent,
|
|
726
727
|
ErrorRateWidgetComponent,
|
|
727
728
|
AverageExecutionDurationWidgetComponent], imports: [AuditLoggingRoutingModule,
|
|
@@ -736,7 +737,7 @@ class AuditLoggingModule {
|
|
|
736
737
|
EntityChangesComponent,
|
|
737
738
|
ErrorRateWidgetComponent,
|
|
738
739
|
AverageExecutionDurationWidgetComponent] }); }
|
|
739
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.
|
|
740
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: AuditLoggingModule, imports: [AuditLoggingRoutingModule,
|
|
740
741
|
CoreModule,
|
|
741
742
|
CommercialUiModule,
|
|
742
743
|
ThemeSharedModule,
|
|
@@ -746,7 +747,7 @@ class AuditLoggingModule {
|
|
|
746
747
|
ChartModule,
|
|
747
748
|
AuditLogDatetimePickerComponent] }); }
|
|
748
749
|
}
|
|
749
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
750
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: AuditLoggingModule, decorators: [{
|
|
750
751
|
type: NgModule,
|
|
751
752
|
args: [{
|
|
752
753
|
declarations: [
|
|
@@ -803,10 +804,10 @@ class AuditLoggingExtensionsGuard {
|
|
|
803
804
|
mergeWithDefaultProps(extensions.entityProps, DEFAULT_AUDIT_LOGGING_ENTITY_PROPS, objectExtensionContributors.prop, propContributors);
|
|
804
805
|
}), map(() => true));
|
|
805
806
|
}
|
|
806
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
807
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.
|
|
807
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: AuditLoggingExtensionsGuard, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
808
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: AuditLoggingExtensionsGuard }); }
|
|
808
809
|
}
|
|
809
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
810
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.3", ngImport: i0, type: AuditLoggingExtensionsGuard, decorators: [{
|
|
810
811
|
type: Injectable
|
|
811
812
|
}], ctorParameters: () => [{ type: i0.Injector }] });
|
|
812
813
|
|