@volo/abp.ng.audit-logging 10.0.2 → 10.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/fesm2022/volo-abp.ng.audit-logging-common.mjs +14 -5
- package/fesm2022/volo-abp.ng.audit-logging-common.mjs.map +1 -1
- package/fesm2022/volo-abp.ng.audit-logging-config.mjs +23 -23
- package/fesm2022/volo-abp.ng.audit-logging-config.mjs.map +1 -1
- package/fesm2022/volo-abp.ng.audit-logging-proxy.mjs +6 -6
- package/fesm2022/volo-abp.ng.audit-logging-proxy.mjs.map +1 -1
- package/fesm2022/volo-abp.ng.audit-logging.mjs +29 -28
- package/fesm2022/volo-abp.ng.audit-logging.mjs.map +1 -1
- package/package.json +12 -12
- /package/{common/index.d.ts → types/volo-abp.ng.audit-logging-common.d.ts} +0 -0
- /package/{config/index.d.ts → types/volo-abp.ng.audit-logging-config.d.ts} +0 -0
- /package/{proxy/index.d.ts → types/volo-abp.ng.audit-logging-proxy.d.ts} +0 -0
- /package/{index.d.ts → types/volo-abp.ng.audit-logging.d.ts} +0 -0
|
@@ -48,10 +48,10 @@ class EntityChangeDetailsComponent {
|
|
|
48
48
|
const changeTypeLocalized = this.localization.instant('AbpAuditLogging::' + this.changeType);
|
|
49
49
|
return [changeTypeLocalized, timeAgo, this.userName];
|
|
50
50
|
}
|
|
51
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
52
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
51
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: EntityChangeDetailsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
52
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.9", type: EntityChangeDetailsComponent, isStandalone: true, selector: "abp-entity-change-details", inputs: { itemWithUserName: "itemWithUserName" }, ngImport: i0, template: "@if (getEntityChangeTimeParams(); as timeParameters) {\r\n <table class=\"table\" style=\"width: 100%; table-layout: fixed\">\r\n <thead>\r\n <tr>\r\n <th>{{ 'AbpAuditLogging::PropertyName' | abpLocalization }}</th>\r\n <th>{{ 'AbpAuditLogging::OriginalValue' | abpLocalization }}</th>\r\n <th>{{ 'AbpAuditLogging::NewValue' | abpLocalization }}</th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n @if (entityChange.propertyChanges.length) {\r\n <tr class=\"table-active\">\r\n <td colspan=\"3\">\r\n <span class=\"text-muted\" [ngbTooltip]=\"entityChange.changeTime | shortDateTime\">\r\n @if (this.userName) {\r\n {{ 'AbpAuditLogging::DaysAgoWithUserTitle' | abpLocalization: timeParameters }}\r\n } @else {\r\n {{ 'AbpAuditLogging::DaysAgoTitle' | abpLocalization: timeParameters }}\r\n }\r\n </span>\r\n </td>\r\n </tr>\r\n @for (prop of entityChange.propertyChanges; track prop.id) {\r\n <tr>\r\n <td>{{ prop.propertyName }}</td>\r\n <td>\r\n <pre lang=\"json\">{{ prop.originalValue }}</pre>\r\n </td>\r\n <td>\r\n <pre lang=\"json\" [style.color]=\"getPropColor(prop)\">{{ prop.newValue }}</pre>\r\n </td>\r\n </tr>\r\n }\r\n } @else {\r\n <tr>\r\n <td colspan=\"3\">{{ 'AbpUi::NoDataAvailableInDatatable' | abpLocalization }}</td>\r\n </tr>\r\n }\r\n </tbody>\r\n </table>\r\n}\r\n", styles: ["th,td{text-align:left;padding:10px;word-wrap:break-word}td pre{white-space:break-spaces;background:inherit}\n"], dependencies: [{ kind: "ngmodule", type: NgbTooltipModule }, { kind: "directive", type: i1.NgbTooltip, selector: "[ngbTooltip]", inputs: ["animation", "autoClose", "placement", "popperOptions", "triggers", "positionTarget", "container", "disableTooltip", "tooltipClass", "tooltipContext", "openDelay", "closeDelay", "ngbTooltip"], outputs: ["shown", "hidden"], exportAs: ["ngbTooltip"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }, { kind: "pipe", type: ShortDateTimePipe, name: "shortDateTime" }] }); }
|
|
53
53
|
}
|
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
54
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: EntityChangeDetailsComponent, decorators: [{
|
|
55
55
|
type: Component,
|
|
56
56
|
args: [{ selector: 'abp-entity-change-details', imports: [NgbTooltipModule, LocalizationPipe, ShortDateTimePipe], template: "@if (getEntityChangeTimeParams(); as timeParameters) {\r\n <table class=\"table\" style=\"width: 100%; table-layout: fixed\">\r\n <thead>\r\n <tr>\r\n <th>{{ 'AbpAuditLogging::PropertyName' | abpLocalization }}</th>\r\n <th>{{ 'AbpAuditLogging::OriginalValue' | abpLocalization }}</th>\r\n <th>{{ 'AbpAuditLogging::NewValue' | abpLocalization }}</th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n @if (entityChange.propertyChanges.length) {\r\n <tr class=\"table-active\">\r\n <td colspan=\"3\">\r\n <span class=\"text-muted\" [ngbTooltip]=\"entityChange.changeTime | shortDateTime\">\r\n @if (this.userName) {\r\n {{ 'AbpAuditLogging::DaysAgoWithUserTitle' | abpLocalization: timeParameters }}\r\n } @else {\r\n {{ 'AbpAuditLogging::DaysAgoTitle' | abpLocalization: timeParameters }}\r\n }\r\n </span>\r\n </td>\r\n </tr>\r\n @for (prop of entityChange.propertyChanges; track prop.id) {\r\n <tr>\r\n <td>{{ prop.propertyName }}</td>\r\n <td>\r\n <pre lang=\"json\">{{ prop.originalValue }}</pre>\r\n </td>\r\n <td>\r\n <pre lang=\"json\" [style.color]=\"getPropColor(prop)\">{{ prop.newValue }}</pre>\r\n </td>\r\n </tr>\r\n }\r\n } @else {\r\n <tr>\r\n <td colspan=\"3\">{{ 'AbpUi::NoDataAvailableInDatatable' | abpLocalization }}</td>\r\n </tr>\r\n }\r\n </tbody>\r\n </table>\r\n}\r\n", styles: ["th,td{text-align:left;padding:10px;word-wrap:break-word}td pre{white-space:break-spaces;background:inherit}\n"] }]
|
|
57
57
|
}], propDecorators: { itemWithUserName: [{
|
|
@@ -98,8 +98,17 @@ function handleExcelExport(exportObservable, injector) {
|
|
|
98
98
|
const blob = new Blob([byteArray], {
|
|
99
99
|
type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
|
100
100
|
});
|
|
101
|
-
return of({
|
|
102
|
-
|
|
101
|
+
return of({
|
|
102
|
+
blob,
|
|
103
|
+
fileName: file.fileName,
|
|
104
|
+
isBackgroundJob: file.isBackgroundJob,
|
|
105
|
+
message: file.message,
|
|
106
|
+
});
|
|
107
|
+
}), tap(({ blob, fileName, isBackgroundJob, message }) => {
|
|
108
|
+
if (isBackgroundJob) {
|
|
109
|
+
toasterService.info(message);
|
|
110
|
+
return;
|
|
111
|
+
}
|
|
103
112
|
try {
|
|
104
113
|
abpWindowService.downloadBlob(blob, fileName);
|
|
105
114
|
toasterService.success('AbpAuditLogging::ExportCompleted');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"volo-abp.ng.audit-logging-common.mjs","sources":["../tmp-esm2022/common/components/entity-change-details/entity-change-details.component.js","../tmp-esm2022/common/tokens/features.token.js","../tmp-esm2022/common/utils/export-utils.js","../tmp-esm2022/common/volo-abp.ng.audit-logging-common.js"],"sourcesContent":["import { Component, inject, Input } from '@angular/core';\nimport { NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap';\nimport { LocalizationPipe, LocalizationService, ShortDateTimePipe } from '@abp/ng.core';\nimport { EntityChangeType, } from '@volo/abp.ng.audit-logging/proxy';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@ng-bootstrap/ng-bootstrap\";\nexport class EntityChangeDetailsComponent {\n constructor() {\n this.localization = inject(LocalizationService);\n }\n set itemWithUserName(item) {\n this.changeType = EntityChangeType[item.entityChange.changeType];\n this.userName = item.userName;\n this.entityChange = item.entityChange;\n }\n getPropColor(propertyChange) {\n if (this.entityChange.changeType !== EntityChangeType.Updated) {\n return;\n }\n const { originalValue, newValue } = propertyChange;\n return newValue !== originalValue ? 'red' : undefined;\n }\n getEntityChangeTimeParams() {\n if (!this.entityChange.changeTime) {\n return;\n }\n const now = new Date();\n const changeDate = new Date(this.entityChange.changeTime);\n const timeDifference = now.getTime() - changeDate.getTime();\n const diffInMinutes = Math.floor(timeDifference / (1000 * 60));\n const diffInHours = Math.floor(diffInMinutes / 60);\n const diffInDays = Math.floor(diffInHours / 24);\n let timeAgo;\n if (diffInDays > 0) {\n timeAgo = this.localization.instant('AbpAuditLogging::DaysAgo', diffInDays.toString());\n }\n else if (diffInHours > 0) {\n timeAgo = this.localization.instant('AbpAuditLogging::HoursAgo', diffInHours.toString());\n }\n else {\n timeAgo = this.localization.instant('AbpAuditLogging::MinutesAgo', diffInMinutes.toString());\n }\n const changeTypeLocalized = this.localization.instant('AbpAuditLogging::' + this.changeType);\n return [changeTypeLocalized, timeAgo, this.userName];\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.0.7\", ngImport: i0, type: EntityChangeDetailsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.0.0\", version: \"20.0.7\", type: EntityChangeDetailsComponent, isStandalone: true, selector: \"abp-entity-change-details\", inputs: { itemWithUserName: \"itemWithUserName\" }, ngImport: i0, template: \"@if (getEntityChangeTimeParams(); as timeParameters) {\\r\\n <table class=\\\"table\\\" style=\\\"width: 100%; table-layout: fixed\\\">\\r\\n <thead>\\r\\n <tr>\\r\\n <th>{{ 'AbpAuditLogging::PropertyName' | abpLocalization }}</th>\\r\\n <th>{{ 'AbpAuditLogging::OriginalValue' | abpLocalization }}</th>\\r\\n <th>{{ 'AbpAuditLogging::NewValue' | abpLocalization }}</th>\\r\\n </tr>\\r\\n </thead>\\r\\n <tbody>\\r\\n @if (entityChange.propertyChanges.length) {\\r\\n <tr class=\\\"table-active\\\">\\r\\n <td colspan=\\\"3\\\">\\r\\n <span class=\\\"text-muted\\\" [ngbTooltip]=\\\"entityChange.changeTime | shortDateTime\\\">\\r\\n @if (this.userName) {\\r\\n {{ 'AbpAuditLogging::DaysAgoWithUserTitle' | abpLocalization: timeParameters }}\\r\\n } @else {\\r\\n {{ 'AbpAuditLogging::DaysAgoTitle' | abpLocalization: timeParameters }}\\r\\n }\\r\\n </span>\\r\\n </td>\\r\\n </tr>\\r\\n @for (prop of entityChange.propertyChanges; track prop.id) {\\r\\n <tr>\\r\\n <td>{{ prop.propertyName }}</td>\\r\\n <td>\\r\\n <pre lang=\\\"json\\\">{{ prop.originalValue }}</pre>\\r\\n </td>\\r\\n <td>\\r\\n <pre lang=\\\"json\\\" [style.color]=\\\"getPropColor(prop)\\\">{{ prop.newValue }}</pre>\\r\\n </td>\\r\\n </tr>\\r\\n }\\r\\n } @else {\\r\\n <tr>\\r\\n <td colspan=\\\"3\\\">{{ 'AbpUi::NoDataAvailableInDatatable' | abpLocalization }}</td>\\r\\n </tr>\\r\\n }\\r\\n </tbody>\\r\\n </table>\\r\\n}\\r\\n\", styles: [\"th,td{text-align:left;padding:10px;word-wrap:break-word}td pre{white-space:break-spaces;background:inherit}\\n\"], dependencies: [{ kind: \"ngmodule\", type: NgbTooltipModule }, { kind: \"directive\", type: i1.NgbTooltip, selector: \"[ngbTooltip]\", inputs: [\"animation\", \"autoClose\", \"placement\", \"popperOptions\", \"triggers\", \"positionTarget\", \"container\", \"disableTooltip\", \"tooltipClass\", \"tooltipContext\", \"openDelay\", \"closeDelay\", \"ngbTooltip\"], outputs: [\"shown\", \"hidden\"], exportAs: [\"ngbTooltip\"] }, { kind: \"pipe\", type: LocalizationPipe, name: \"abpLocalization\" }, { kind: \"pipe\", type: ShortDateTimePipe, name: \"shortDateTime\" }] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.0.7\", ngImport: i0, type: EntityChangeDetailsComponent, decorators: [{\n type: Component,\n args: [{ selector: 'abp-entity-change-details', imports: [NgbTooltipModule, LocalizationPipe, ShortDateTimePipe], template: \"@if (getEntityChangeTimeParams(); as timeParameters) {\\r\\n <table class=\\\"table\\\" style=\\\"width: 100%; table-layout: fixed\\\">\\r\\n <thead>\\r\\n <tr>\\r\\n <th>{{ 'AbpAuditLogging::PropertyName' | abpLocalization }}</th>\\r\\n <th>{{ 'AbpAuditLogging::OriginalValue' | abpLocalization }}</th>\\r\\n <th>{{ 'AbpAuditLogging::NewValue' | abpLocalization }}</th>\\r\\n </tr>\\r\\n </thead>\\r\\n <tbody>\\r\\n @if (entityChange.propertyChanges.length) {\\r\\n <tr class=\\\"table-active\\\">\\r\\n <td colspan=\\\"3\\\">\\r\\n <span class=\\\"text-muted\\\" [ngbTooltip]=\\\"entityChange.changeTime | shortDateTime\\\">\\r\\n @if (this.userName) {\\r\\n {{ 'AbpAuditLogging::DaysAgoWithUserTitle' | abpLocalization: timeParameters }}\\r\\n } @else {\\r\\n {{ 'AbpAuditLogging::DaysAgoTitle' | abpLocalization: timeParameters }}\\r\\n }\\r\\n </span>\\r\\n </td>\\r\\n </tr>\\r\\n @for (prop of entityChange.propertyChanges; track prop.id) {\\r\\n <tr>\\r\\n <td>{{ prop.propertyName }}</td>\\r\\n <td>\\r\\n <pre lang=\\\"json\\\">{{ prop.originalValue }}</pre>\\r\\n </td>\\r\\n <td>\\r\\n <pre lang=\\\"json\\\" [style.color]=\\\"getPropColor(prop)\\\">{{ prop.newValue }}</pre>\\r\\n </td>\\r\\n </tr>\\r\\n }\\r\\n } @else {\\r\\n <tr>\\r\\n <td colspan=\\\"3\\\">{{ 'AbpUi::NoDataAvailableInDatatable' | abpLocalization }}</td>\\r\\n </tr>\\r\\n }\\r\\n </tbody>\\r\\n </table>\\r\\n}\\r\\n\", styles: [\"th,td{text-align:left;padding:10px;word-wrap:break-word}td pre{white-space:break-spaces;background:inherit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cbiAgICAgICAgICAgIDxzcGFuIGNsYXNzPVwidGV4dC1tdXRlZFwiIFtuZ2JUb29sdGlwXT1cImVudGl0eUNoYW5nZS5jaGFuZ2VUaW1lIHwgc2hvcnREYXRlVGltZVwiPlxyXG4gICAgICAgICAgICAgIEBpZiAodGhpcy51c2VyTmFtZSkge1xyXG4gICAgICAgICAgICAgICAge3sgJ0FicEF1ZGl0TG9nZ2luZzo6RGF5c0Fnb1dpdGhVc2VyVGl0bGUnIHwgYWJwTG9jYWxpemF0aW9uOiB0aW1lUGFyYW1ldGVycyB9fVxyXG4gICAgICAgICAgICAgIH0gQGVsc2Uge1xyXG4gICAgICAgICAgICAgICAge3sgJ0FicEF1ZGl0TG9nZ2luZzo6RGF5c0Fnb1RpdGxlJyB8IGFicExvY2FsaXphdGlvbjogdGltZVBhcmFtZXRlcnMgfX1cclxuICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIDwvc3Bhbj5cclxuICAgICAgICAgIDwvdGQ+XHJcbiAgICAgICAgPC90cj5cclxuICAgICAgICBAZm9yIChwcm9wIG9mIGVudGl0eUNoYW5nZS5wcm9wZXJ0eUNoYW5nZXM7IHRyYWNrIHByb3AuaWQpIHtcclxuICAgICAgICAgIDx0cj5cclxuICAgICAgICAgICAgPHRkPnt7IHByb3AucHJvcGVydHlOYW1lIH19PC90ZD5cclxuICAgICAgICAgICAgPHRkPlxyXG4gICAgICAgICAgICAgIDxwcmUgbGFuZz1cImpzb25cIj57eyBwcm9wLm9yaWdpbmFsVmFsdWUgfX08L3ByZT5cclxuICAgICAgICAgICAgPC90ZD5cclxuICAgICAgICAgICAgPHRkPlxyXG4gICAgICAgICAgICAgIDxwcmUgbGFuZz1cImpzb25cIiBbc3R5bGUuY29sb3JdPVwiZ2V0UHJvcENvbG9yKHByb3ApXCI+e3sgcHJvcC5uZXdWYWx1ZSB9fTwvcHJlPlxyXG4gICAgICAgICAgICA8L3RkPlxyXG4gICAgICAgICAgPC90cj5cclxuICAgICAgICB9XHJcbiAgICAgIH0gQGVsc2Uge1xyXG4gICAgICAgIDx0cj5cclxuICAgICAgICAgIDx0ZCBjb2xzcGFuPVwiM1wiPnt7ICdBYnBVaTo6Tm9EYXRhQXZhaWxhYmxlSW5EYXRhdGFibGUnIHwgYWJwTG9jYWxpemF0aW9uIH19PC90ZD5cclxuICAgICAgICA8L3RyPlxyXG4gICAgICB9XHJcbiAgICA8L3Rib2R5PlxyXG4gIDwvdGFibGU+XHJcbn1cclxuIl19","import { ConfigStateService, featuresFactory, RoutesService } from '@abp/ng.core';\nimport { inject, InjectionToken, provideAppInitializer } from '@angular/core';\nimport { setModuleVisibilityFactory } from '@volo/abp.commercial.ng.ui/config';\nexport const AUDIT_LOGGING_FEATURES = new InjectionToken('AUDIT_LOGGING_FEATURES', {\n providedIn: 'root',\n factory: () => {\n const configState = inject(ConfigStateService);\n const featureKey = 'AuditLogging.Enable';\n const mapFn = features => ({\n enable: features[featureKey].toLowerCase() !== 'false',\n });\n return featuresFactory(configState, [featureKey], mapFn);\n },\n});\nexport const SET_AUDIT_LOGGING_ROUTE_VISIBILITY = new InjectionToken('SET_AUDIT_LOGGING_ROUTE_VISIBILITY', {\n providedIn: 'root',\n factory: () => {\n const routes = inject(RoutesService);\n const stream = inject(AUDIT_LOGGING_FEATURES);\n setModuleVisibilityFactory(stream, routes, \"AbpAuditLogging::Menu:AuditLogging\" /* eAuditLoggingRouteNames.AuditLogging */).subscribe();\n },\n});\nexport const AUDIT_LOGGING_FEATURES_PROVIDERS = [\n provideAppInitializer(() => {\n inject(SET_AUDIT_LOGGING_ROUTE_VISIBILITY);\n }),\n];\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmVhdHVyZXMudG9rZW4uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9hdWRpdC1sb2dnaW5nL2NvbW1vbi9zcmMvdG9rZW5zL2ZlY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xyXG4gIHByb3ZpZGVBcHBJbml0aWFsaXplcigoKSA9PiB7XHJcbiAgICBpbmplY3QoU0VUX0FVRElUX0xPR0dJTkdfUk9VVEVfVklTSUJJTElUWSk7XHJcbiAgfSksXHJcbl07XHJcbiJdfQ==","import { DestroyRef } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { of, switchMap, tap } from 'rxjs';\nimport { AbpWindowService } from '@abp/ng.core';\nimport { ToasterService } from '@abp/ng.theme.shared';\nexport function handleExcelExport(exportObservable, injector) {\n const abpWindowService = injector.get(AbpWindowService);\n const toasterService = injector.get(ToasterService);\n const destroyRef = injector.get(DestroyRef);\n if (!abpWindowService || !toasterService) {\n toasterService.error('AbpAuditLogging::ExportFailed');\n return;\n }\n exportObservable\n .pipe(switchMap((file) => {\n const binaryString = atob(String(file.fileData));\n const byteArray = Uint8Array.from(binaryString, char => char.charCodeAt(0));\n const blob = new Blob([byteArray], {\n type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',\n });\n return of({ blob, fileName: file.fileName });\n }), tap(({ blob, fileName }) => {\n try {\n abpWindowService.downloadBlob(blob, fileName);\n toasterService.success('AbpAuditLogging::ExportCompleted');\n }\n catch (error) {\n toasterService.error('AbpAuditLogging::ExportFailed');\n console.error('Download failed:', error);\n }\n }), takeUntilDestroyed(destroyRef))\n .subscribe();\n}\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhwb3J0LXV0aWxzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYXVkaXQtbG9nZ2luZy9jb21tb24vc3JjL3V0aWxzL2V4cG9ydC11dGlscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFZLE1BQU0sZUFBZSxDQUFDO0FBQ3JELE9BQU8sRUFBRSxrQkFBa0Is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yXG4gICAgICAgIGNvbnN0IGJ5dGVBcnJheSA9IFVpbnQ4QXJyYXkuZnJvbShiaW5hcnlTdHJpbmcsIGNoYXIgPT4gY2hhci5jaGFyQ29kZUF0KDApKTtcclxuXHJcbiAgICAgICAgY29uc3QgYmxvYiA9IG5ldyBCbG9iKFtieXRlQXJyYXldLCB7XHJcbiAgICAgICAgICB0eXBlOiAnYXBwbGljYXRpb24vdm5kLm9wZW54bWxmb3JtYXRzLW9mZmljZWRvY3VtZW50LnNwcmVhZHNoZWV0bWwuc2hlZXQnLFxyXG4gICAgICAgIH0pO1xyXG5cclxuICAgICAgICByZXR1cm4gb2YoeyBibG9iLCBmaWxlTmFtZTogZmlsZS5maWxlTmFtZSB9KTtcclxuICAgICAgfSksXHJcbiAgICAgIHRhcCgoeyBibG9iLCBmaWxlTmFtZSB9KSA9PiB7XHJcbiAgICAgICAgdHJ5IHtcclxuICAgICAgICAgIGFicFdpbmRvd1NlcnZpY2UuZG93bmxvYWRCbG9iKGJsb2IsIGZpbGVOYW1lKTtcclxuICAgICAgICAgIHRvYXN0ZXJTZXJ2aWNlLnN1Y2Nlc3MoJ0FicEF1ZGl0TG9nZ2luZzo6RXhwb3J0Q29tcGxldGVkJyk7XHJcbiAgICAgICAgfSBjYXRjaCAoZXJyb3IpIHtcclxuICAgICAgICAgIHRvYXN0ZXJTZXJ2aWNlLmVycm9yKCdBYnBBdWRpdExvZ2dpbmc6OkV4cG9ydEZhaWxlZCcpO1xyXG4gICAgICAgICAgY29uc29sZS5lcnJvcignRG93bmxvYWQgZmFpbGVkOicsIGVycm9yKTtcclxuICAgICAgICB9XHJcbiAgICAgIH0pLFxyXG4gICAgICB0YWtlVW50aWxEZXN0cm95ZWQoZGVzdHJveVJlZiksXHJcbiAgICApXHJcbiAgICAuc3Vic2NyaWJlKCk7XHJcbn1cclxuIl19","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './public-api';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozL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QAAQ,IAAI;AACZ,YAAY,gBAAgB,CAAC,YAAY,CAAC,IAAI,EAAE,QAAQ,CAAC;AACzD,YAAY,cAAc,CAAC,OAAO,CAAC,kCAAkC,CAAC;AACtE,QAAQ;AACR,QAAQ,OAAO,KAAK,EAAE;AACtB,YAAY,cAAc,CAAC,KAAK,CAAC,+BAA+B,CAAC;AACjE,YAAY,OAAO,CAAC,KAAK,CAAC,kBAAkB,EAAE,KAAK,CAAC;AACpD,QAAQ;AACR,IAAI,CAAC,CAAC,EAAE,kBAAkB,CAAC,UAAU,CAAC;AACtC,SAAS,SAAS,EAAE;AACpB;;AChCA;AACA;AACA;;;;"}
|
|
1
|
+
{"version":3,"file":"volo-abp.ng.audit-logging-common.mjs","sources":["../../../../packages/audit-logging/common/src/components/entity-change-details/entity-change-details.component.ts","../../../../packages/audit-logging/common/src/components/entity-change-details/entity-change-details.component.html","../../../../packages/audit-logging/common/src/tokens/features.token.ts","../../../../packages/audit-logging/common/src/utils/export-utils.ts","../../../../packages/audit-logging/common/src/volo-abp.ng.audit-logging-common.ts"],"sourcesContent":["import { Component, inject, Input } from '@angular/core';\r\nimport { NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { LocalizationPipe, LocalizationService, ShortDateTimePipe } from '@abp/ng.core';\r\nimport {\r\n EntityChangeDto,\r\n EntityChangeType,\r\n EntityChangeWithUsernameDto,\r\n EntityPropertyChangeDto,\r\n} from '@volo/abp.ng.audit-logging/proxy';\r\n\r\n@Component({\r\n selector: 'abp-entity-change-details',\r\n templateUrl: './entity-change-details.component.html',\r\n imports: [NgbTooltipModule, LocalizationPipe, ShortDateTimePipe],\r\n styles: [\r\n `\r\n th,\r\n td {\r\n text-align: left;\r\n padding: 10px;\r\n word-wrap: break-word;\r\n }\r\n\r\n td pre {\r\n white-space: break-spaces;\r\n background: inherit;\r\n }\r\n `,\r\n ],\r\n})\r\nexport class EntityChangeDetailsComponent {\r\n @Input() set itemWithUserName(item: EntityChangeWithUsernameDto) {\r\n this.changeType = EntityChangeType[item.entityChange.changeType];\r\n this.userName = item.userName;\r\n this.entityChange = item.entityChange;\r\n }\r\n\r\n public readonly localization = inject(LocalizationService);\r\n\r\n entityChange: EntityChangeDto;\r\n\r\n userName: string;\r\n\r\n changeType: string;\r\n\r\n getPropColor(propertyChange: EntityPropertyChangeDto) {\r\n if (this.entityChange.changeType !== EntityChangeType.Updated) {\r\n return;\r\n }\r\n const { originalValue, newValue } = propertyChange;\r\n return newValue !== originalValue ? 'red' : undefined;\r\n }\r\n\r\n getEntityChangeTimeParams() {\r\n if (!this.entityChange.changeTime) {\r\n return;\r\n }\r\n\r\n const now = new Date();\r\n const changeDate = new Date(this.entityChange.changeTime);\r\n const timeDifference = now.getTime() - changeDate.getTime();\r\n\r\n const diffInMinutes = Math.floor(timeDifference / (1000 * 60));\r\n const diffInHours = Math.floor(diffInMinutes / 60);\r\n const diffInDays = Math.floor(diffInHours / 24);\r\n\r\n let timeAgo: string;\r\n if (diffInDays > 0) {\r\n timeAgo = this.localization.instant('AbpAuditLogging::DaysAgo', diffInDays.toString());\r\n } else if (diffInHours > 0) {\r\n timeAgo = this.localization.instant('AbpAuditLogging::HoursAgo', diffInHours.toString());\r\n } else {\r\n timeAgo = this.localization.instant('AbpAuditLogging::MinutesAgo', diffInMinutes.toString());\r\n }\r\n\r\n const changeTypeLocalized = this.localization.instant('AbpAuditLogging::' + this.changeType);\r\n\r\n return [changeTypeLocalized, timeAgo, this.userName];\r\n }\r\n}\r\n","@if (getEntityChangeTimeParams(); as timeParameters) {\r\n <table class=\"table\" style=\"width: 100%; table-layout: fixed\">\r\n <thead>\r\n <tr>\r\n <th>{{ 'AbpAuditLogging::PropertyName' | abpLocalization }}</th>\r\n <th>{{ 'AbpAuditLogging::OriginalValue' | abpLocalization }}</th>\r\n <th>{{ 'AbpAuditLogging::NewValue' | abpLocalization }}</th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n @if (entityChange.propertyChanges.length) {\r\n <tr class=\"table-active\">\r\n <td colspan=\"3\">\r\n <span class=\"text-muted\" [ngbTooltip]=\"entityChange.changeTime | shortDateTime\">\r\n @if (this.userName) {\r\n {{ 'AbpAuditLogging::DaysAgoWithUserTitle' | abpLocalization: timeParameters }}\r\n } @else {\r\n {{ 'AbpAuditLogging::DaysAgoTitle' | abpLocalization: timeParameters }}\r\n }\r\n </span>\r\n </td>\r\n </tr>\r\n @for (prop of entityChange.propertyChanges; track prop.id) {\r\n <tr>\r\n <td>{{ prop.propertyName }}</td>\r\n <td>\r\n <pre lang=\"json\">{{ prop.originalValue }}</pre>\r\n </td>\r\n <td>\r\n <pre lang=\"json\" [style.color]=\"getPropColor(prop)\">{{ prop.newValue }}</pre>\r\n </td>\r\n </tr>\r\n }\r\n } @else {\r\n <tr>\r\n <td colspan=\"3\">{{ 'AbpUi::NoDataAvailableInDatatable' | abpLocalization }}</td>\r\n </tr>\r\n }\r\n </tbody>\r\n </table>\r\n}\r\n","import { ConfigStateService, featuresFactory, RoutesService } from '@abp/ng.core';\r\nimport { inject, InjectionToken, provideAppInitializer } from '@angular/core';\r\nimport { ModuleVisibility, setModuleVisibilityFactory } from '@volo/abp.commercial.ng.ui/config';\r\nimport { Observable } from 'rxjs';\r\nimport { eAuditLoggingRouteNames } from '../enums/route-names';\r\n\r\nexport const AUDIT_LOGGING_FEATURES = new InjectionToken<Observable<ModuleVisibility>>(\r\n 'AUDIT_LOGGING_FEATURES',\r\n {\r\n providedIn: 'root',\r\n factory: () => {\r\n const configState = inject(ConfigStateService);\r\n const featureKey = 'AuditLogging.Enable';\r\n const mapFn = features => ({\r\n enable: features[featureKey].toLowerCase() !== 'false',\r\n });\r\n\r\n return featuresFactory(configState, [featureKey], mapFn);\r\n },\r\n },\r\n);\r\n\r\nexport const SET_AUDIT_LOGGING_ROUTE_VISIBILITY = new InjectionToken(\r\n 'SET_AUDIT_LOGGING_ROUTE_VISIBILITY',\r\n {\r\n providedIn: 'root',\r\n factory: () => {\r\n const routes = inject(RoutesService);\r\n const stream = inject(AUDIT_LOGGING_FEATURES);\r\n\r\n setModuleVisibilityFactory(stream, routes, eAuditLoggingRouteNames.AuditLogging).subscribe();\r\n },\r\n },\r\n);\r\n\r\nexport const AUDIT_LOGGING_FEATURES_PROVIDERS = [\r\n provideAppInitializer(() => {\r\n inject(SET_AUDIT_LOGGING_ROUTE_VISIBILITY);\r\n }),\r\n];\r\n","import { DestroyRef, Injector } from '@angular/core';\r\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\r\nimport { Observable, of, switchMap, tap } from 'rxjs';\r\nimport { AbpWindowService } from '@abp/ng.core';\r\nimport { ToasterService } from '@abp/ng.theme.shared';\r\nimport { ExportAuditLogsOutput, ExportEntityChangesOutput } from '@volo/abp.ng.audit-logging/proxy';\r\n\r\nexport function handleExcelExport(\r\n exportObservable: Observable<ExportAuditLogsOutput | ExportEntityChangesOutput>,\r\n injector: Injector,\r\n): void {\r\n const abpWindowService = injector.get(AbpWindowService);\r\n const toasterService = injector.get(ToasterService);\r\n const destroyRef = injector.get(DestroyRef);\r\n\r\n if (!abpWindowService || !toasterService) {\r\n toasterService.error('AbpAuditLogging::ExportFailed');\r\n return;\r\n }\r\n\r\n exportObservable\r\n .pipe(\r\n switchMap((file: ExportAuditLogsOutput | ExportEntityChangesOutput) => {\r\n const binaryString = atob(String(file.fileData));\r\n const byteArray = Uint8Array.from(binaryString, char => char.charCodeAt(0));\r\n\r\n const blob = new Blob([byteArray], {\r\n type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',\r\n });\r\n\r\n return of({\r\n blob,\r\n fileName: file.fileName,\r\n isBackgroundJob: file.isBackgroundJob,\r\n message: file.message,\r\n });\r\n }),\r\n tap(({ blob, fileName, isBackgroundJob, message }) => {\r\n if (isBackgroundJob) {\r\n toasterService.info(message);\r\n return;\r\n }\r\n try {\r\n abpWindowService.downloadBlob(blob, fileName);\r\n toasterService.success('AbpAuditLogging::ExportCompleted');\r\n } catch (error) {\r\n toasterService.error('AbpAuditLogging::ExportFailed');\r\n console.error('Download failed:', error);\r\n }\r\n }),\r\n takeUntilDestroyed(destroyRef),\r\n )\r\n .subscribe();\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;MA8Ba,4BAA4B,CAAA;AApBzC,IAAA,WAAA,GAAA;AA2BkB,QAAA,IAAA,CAAA,YAAY,GAAG,MAAM,CAAC,mBAAmB,CAAC;AA0C3D,IAAA;IAhDC,IAAa,gBAAgB,CAAC,IAAiC,EAAA;QAC7D,IAAI,CAAC,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC;AAChE,QAAA,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ;AAC7B,QAAA,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,YAAY;IACvC;AAUA,IAAA,YAAY,CAAC,cAAuC,EAAA;QAClD,IAAI,IAAI,CAAC,YAAY,CAAC,UAAU,KAAK,gBAAgB,CAAC,OAAO,EAAE;YAC7D;QACF;AACA,QAAA,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,GAAG,cAAc;QAClD,OAAO,QAAQ,KAAK,aAAa,GAAG,KAAK,GAAG,SAAS;IACvD;IAEA,yBAAyB,GAAA;AACvB,QAAA,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,UAAU,EAAE;YACjC;QACF;AAEA,QAAA,MAAM,GAAG,GAAG,IAAI,IAAI,EAAE;QACtB,MAAM,UAAU,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC;QACzD,MAAM,cAAc,GAAG,GAAG,CAAC,OAAO,EAAE,GAAG,UAAU,CAAC,OAAO,EAAE;AAE3D,QAAA,MAAM,aAAa,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,IAAI,IAAI,GAAG,EAAE,CAAC,CAAC;QAC9D,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,C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E,QAAQ,EAAE,eAAe,EAAE,OAAO,EAAE,KAAI;QACnD,IAAI,eAAe,EAAE;AACnB,YAAA,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC;YAC5B;QACF;AACA,QAAA,IAAI;AACF,YAAA,gBAAgB,CAAC,YAAY,CAAC,IAAI,EAAE,QAAQ,CAAC;AAC7C,YAAA,cAAc,CAAC,OAAO,CAAC,kCAAkC,CAAC;QAC5D;QAAE,OAAO,KAAK,EAAE;AACd,YAAA,cAAc,CAAC,KAAK,CAAC,+BAA+B,CAAC;AACrD,YAAA,OAAO,CAAC,KAAK,CAAC,kBAAkB,EAAE,KAAK,CAAC;QAC1C;AACF,IAAA,CAAC,CAAC,EACF,kBAAkB,CAAC,UAAU,CAAC;AAE/B,SAAA,SAAS,EAAE;AAChB;;ACrDA;;AAEG;;;;"}
|
|
@@ -74,20 +74,20 @@ class AbstractAuditLogSettingsComponent {
|
|
|
74
74
|
date.setDate(date.getDate() - day);
|
|
75
75
|
return date;
|
|
76
76
|
}
|
|
77
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
78
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
77
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AbstractAuditLogSettingsComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
78
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.9", type: AbstractAuditLogSettingsComponent, isStandalone: true, inputs: { isTenant: "isTenant" }, ngImport: i0 }); }
|
|
79
79
|
}
|
|
80
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
80
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AbstractAuditLogSettingsComponent, decorators: [{
|
|
81
81
|
type: Directive
|
|
82
82
|
}], propDecorators: { isTenant: [{
|
|
83
83
|
type: Input
|
|
84
84
|
}] } });
|
|
85
85
|
|
|
86
86
|
class AuditLogSettingsGeneralComponent extends AbstractAuditLogSettingsComponent {
|
|
87
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
88
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
87
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AuditLogSettingsGeneralComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
88
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.9", type: AuditLogSettingsGeneralComponent, isStandalone: true, selector: "abp-audit-log-settings-general", usesInheritance: true, ngImport: i0, template: "<div [formGroup]=\"form\" (keyup.enter)=\"submit()\">\r\n <div class=\"form-check mb-3\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"IsExpiredDeleterEnabled\"\r\n name=\"IsExpiredDeleterEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isExpiredDeleterEnabled\"\r\n />\r\n <label class=\"form-label\" for=\"IsExpiredDeleterEnabled\">\r\n {{ 'AbpAuditLogging::DisplayName:IsExpiredDeleterEnabled' | abpLocalization }}\r\n </label>\r\n <div>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpAuditLogging::Description:IsExpiredDeleterEnabled' | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n\r\n @if (form.value.isExpiredDeleterEnabled) {\r\n <div class=\"mb-3 period-group\">\r\n <div class=\"input-group w-75\">\r\n <label class=\"input-group-text\" for=\"expiredDeleterPeriod\">\r\n {{ 'AbpAuditLogging::DisplayName:ExpiredDeleterPeriod' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"expiredDeleterPeriod\"\r\n name=\"expiredDeleterPeriod\"\r\n class=\"form-control text-center valid\"\r\n formControlName=\"expiredDeleterPeriod\"\r\n />\r\n <span class=\"input-group-text\">\r\n {{ 'AbpAuditLogging::ExpiredDeleterPeriodUnit' | abpLocalization }}\r\n </span>\r\n </div>\r\n <p class=\"text-muted mt-1 ms-1 fst-italic\">\r\n {{\r\n 'AbpAuditLogging::AuditLogsBeforeXWillBeDeleted'\r\n | abpLocalization\r\n : (getDateBeforeToday(form.controls.expiredDeleterPeriod.value) | date: 'MM/dd/yyyy')\r\n }}\r\n </p>\r\n </div>\r\n }\r\n</div>\r\n\r\n<hr class=\"my-3\" />\r\n\r\n<div>\r\n <abp-button (click)=\"submit()\" iconClass=\"fa fa-save\" [loading]=\"loading\">\r\n {{ 'AbpAccount::Save' | abpLocalization }}\r\n </abp-button>\r\n</div>\r\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }, { kind: "pipe", type: DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
89
89
|
}
|
|
90
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
90
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AuditLogSettingsGeneralComponent, decorators: [{
|
|
91
91
|
type: Component,
|
|
92
92
|
args: [{ selector: 'abp-audit-log-settings-general', changeDetection: ChangeDetectionStrategy.OnPush, imports: [ReactiveFormsModule, LocalizationPipe, DatePipe, ButtonComponent], template: "<div [formGroup]=\"form\" (keyup.enter)=\"submit()\">\r\n <div class=\"form-check mb-3\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"IsExpiredDeleterEnabled\"\r\n name=\"IsExpiredDeleterEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isExpiredDeleterEnabled\"\r\n />\r\n <label class=\"form-label\" for=\"IsExpiredDeleterEnabled\">\r\n {{ 'AbpAuditLogging::DisplayName:IsExpiredDeleterEnabled' | abpLocalization }}\r\n </label>\r\n <div>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpAuditLogging::Description:IsExpiredDeleterEnabled' | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n\r\n @if (form.value.isExpiredDeleterEnabled) {\r\n <div class=\"mb-3 period-group\">\r\n <div class=\"input-group w-75\">\r\n <label class=\"input-group-text\" for=\"expiredDeleterPeriod\">\r\n {{ 'AbpAuditLogging::DisplayName:ExpiredDeleterPeriod' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"expiredDeleterPeriod\"\r\n name=\"expiredDeleterPeriod\"\r\n class=\"form-control text-center valid\"\r\n formControlName=\"expiredDeleterPeriod\"\r\n />\r\n <span class=\"input-group-text\">\r\n {{ 'AbpAuditLogging::ExpiredDeleterPeriodUnit' | abpLocalization }}\r\n </span>\r\n </div>\r\n <p class=\"text-muted mt-1 ms-1 fst-italic\">\r\n {{\r\n 'AbpAuditLogging::AuditLogsBeforeXWillBeDeleted'\r\n | abpLocalization\r\n : (getDateBeforeToday(form.controls.expiredDeleterPeriod.value) | date: 'MM/dd/yyyy')\r\n }}\r\n </p>\r\n </div>\r\n }\r\n</div>\r\n\r\n<hr class=\"my-3\" />\r\n\r\n<div>\r\n <abp-button (click)=\"submit()\" iconClass=\"fa fa-save\" [loading]=\"loading\">\r\n {{ 'AbpAccount::Save' | abpLocalization }}\r\n </abp-button>\r\n</div>\r\n" }]
|
|
93
93
|
}] });
|
|
@@ -97,10 +97,10 @@ class AuditLogSettingsGlobalComponent extends AbstractAuditLogSettingsComponent
|
|
|
97
97
|
super(...arguments);
|
|
98
98
|
this.globalTab = true;
|
|
99
99
|
}
|
|
100
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
101
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
100
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AuditLogSettingsGlobalComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
101
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.9", type: AuditLogSettingsGlobalComponent, isStandalone: true, selector: "abp-audit-log-settings-global", usesInheritance: true, ngImport: i0, template: "<div [formGroup]=\"form\" (keyup.enter)=\"submit()\">\r\n <div class=\"mb-2 custom-checkbox custom-control form-check\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"IsPeriodicDeleterEnabled\"\r\n name=\"IsPeriodicDeleterEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isPeriodicDeleterEnabled\"\r\n />\r\n <label class=\"form-check-label\" for=\"IsPeriodicDeleterEnabled\">\r\n {{ 'AbpAuditLogging::DisplayName:IsPeriodicDeleterEnabled' | abpLocalization }}\r\n </label>\r\n\r\n <div>\r\n <span class=\"form-text text-muted mb-3\">\r\n {{ 'AbpAuditLogging::Description:IsPeriodicDeleterEnabled' | abpLocalization }}\r\n </span>\r\n </div>\r\n </div>\r\n\r\n @if (form.value.isPeriodicDeleterEnabled) {\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"IsExpiredDeleterEnabled\"\r\n name=\"IsExpiredDeleterEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isExpiredDeleterEnabled\"\r\n />\r\n <label class=\"form-label\" for=\"IsExpiredDeleterEnabled\">\r\n {{ 'AbpAuditLogging::DisplayName:GlobalIsExpiredDeleterEnabled' | abpLocalization }}\r\n </label>\r\n <div>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpAuditLogging::Description:GlobalIsExpiredDeleterEnabled' | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n\r\n @if (form.value.isExpiredDeleterEnabled) {\r\n <div class=\"mb-3 period-group\">\r\n <div class=\"input-group w-75\">\r\n <label class=\"input-group-text\" for=\"ExpiredDeleterPeriod\">\r\n {{ 'AbpAuditLogging::DisplayName:ExpiredDeleterPeriod' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"ExpiredDeleterPeriod\"\r\n name=\"ExpiredDeleterPeriod\"\r\n class=\"form-control text-center valid\"\r\n formControlName=\"expiredDeleterPeriod\"\r\n />\r\n <span class=\"input-group-text\">\r\n {{ 'AbpAuditLogging::ExpiredDeleterPeriodUnit' | abpLocalization }}\r\n </span>\r\n </div>\r\n <p class=\"text-muted mt-1 ms-1 fst-italic\">\r\n {{\r\n 'AbpAuditLogging::AuditLogsBeforeXWillBeDeleted'\r\n | abpLocalization\r\n : (getDateBeforeToday(form.controls.expiredDeleterPeriod.value)\r\n | date: 'MM/dd/yyyy')\r\n }}\r\n </p>\r\n </div>\r\n }\r\n }\r\n</div>\r\n\r\n<hr class=\"my-3\" />\r\n\r\n<div>\r\n <abp-button (click)=\"submit()\" iconClass=\"fa fa-save\" [loading]=\"loading\">\r\n {{ 'AbpAccount::Save' | abpLocalization }}\r\n </abp-button>\r\n</div>\r\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }, { kind: "pipe", type: DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
102
102
|
}
|
|
103
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
103
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AuditLogSettingsGlobalComponent, decorators: [{
|
|
104
104
|
type: Component,
|
|
105
105
|
args: [{ selector: 'abp-audit-log-settings-global', changeDetection: ChangeDetectionStrategy.OnPush, imports: [ReactiveFormsModule, LocalizationPipe, DatePipe, ButtonComponent], template: "<div [formGroup]=\"form\" (keyup.enter)=\"submit()\">\r\n <div class=\"mb-2 custom-checkbox custom-control form-check\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"IsPeriodicDeleterEnabled\"\r\n name=\"IsPeriodicDeleterEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isPeriodicDeleterEnabled\"\r\n />\r\n <label class=\"form-check-label\" for=\"IsPeriodicDeleterEnabled\">\r\n {{ 'AbpAuditLogging::DisplayName:IsPeriodicDeleterEnabled' | abpLocalization }}\r\n </label>\r\n\r\n <div>\r\n <span class=\"form-text text-muted mb-3\">\r\n {{ 'AbpAuditLogging::Description:IsPeriodicDeleterEnabled' | abpLocalization }}\r\n </span>\r\n </div>\r\n </div>\r\n\r\n @if (form.value.isPeriodicDeleterEnabled) {\r\n <div class=\"form-check mb-2\">\r\n <input\r\n type=\"checkbox\"\r\n id=\"IsExpiredDeleterEnabled\"\r\n name=\"IsExpiredDeleterEnabled\"\r\n class=\"form-check-input\"\r\n formControlName=\"isExpiredDeleterEnabled\"\r\n />\r\n <label class=\"form-label\" for=\"IsExpiredDeleterEnabled\">\r\n {{ 'AbpAuditLogging::DisplayName:GlobalIsExpiredDeleterEnabled' | abpLocalization }}\r\n </label>\r\n <div>\r\n <small class=\"form-text text-muted\">{{\r\n 'AbpAuditLogging::Description:GlobalIsExpiredDeleterEnabled' | abpLocalization\r\n }}</small>\r\n </div>\r\n </div>\r\n\r\n @if (form.value.isExpiredDeleterEnabled) {\r\n <div class=\"mb-3 period-group\">\r\n <div class=\"input-group w-75\">\r\n <label class=\"input-group-text\" for=\"ExpiredDeleterPeriod\">\r\n {{ 'AbpAuditLogging::DisplayName:ExpiredDeleterPeriod' | abpLocalization }}\r\n </label>\r\n <input\r\n type=\"number\"\r\n id=\"ExpiredDeleterPeriod\"\r\n name=\"ExpiredDeleterPeriod\"\r\n class=\"form-control text-center valid\"\r\n formControlName=\"expiredDeleterPeriod\"\r\n />\r\n <span class=\"input-group-text\">\r\n {{ 'AbpAuditLogging::ExpiredDeleterPeriodUnit' | abpLocalization }}\r\n </span>\r\n </div>\r\n <p class=\"text-muted mt-1 ms-1 fst-italic\">\r\n {{\r\n 'AbpAuditLogging::AuditLogsBeforeXWillBeDeleted'\r\n | abpLocalization\r\n : (getDateBeforeToday(form.controls.expiredDeleterPeriod.value)\r\n | date: 'MM/dd/yyyy')\r\n }}\r\n </p>\r\n </div>\r\n }\r\n }\r\n</div>\r\n\r\n<hr class=\"my-3\" />\r\n\r\n<div>\r\n <abp-button (click)=\"submit()\" iconClass=\"fa fa-save\" [loading]=\"loading\">\r\n {{ 'AbpAccount::Save' | abpLocalization }}\r\n </abp-button>\r\n</div>\r\n" }]
|
|
106
106
|
}] });
|
|
@@ -110,10 +110,10 @@ class AuditLogSettingsComponent {
|
|
|
110
110
|
this.sessionStateService = inject(SessionStateService);
|
|
111
111
|
this.isTenant = this.sessionStateService.getTenant()?.isAvailable;
|
|
112
112
|
}
|
|
113
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
114
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
113
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AuditLogSettingsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
114
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.9", type: AuditLogSettingsComponent, isStandalone: true, selector: "abp-audit-log-settings", ngImport: i0, template: "<div id=\"AuditLogSettingsForm\" class=\"row abp-md-form\">\r\n <div class=\"col-md-12\">\r\n <ul ngbNav #nav=\"ngbNav\" class=\"nav-tabs\">\r\n @if (!isTenant) {\r\n <li ngbNavItem>\r\n <a ngbNavLink>{{ 'AbpAuditLogging::AuditLogSettingsGlobal' | abpLocalization }}</a>\r\n\r\n <ng-template ngbNavContent>\r\n <abp-audit-log-settings-global [isTenant]=\"isTenant\" />\r\n </ng-template>\r\n </li>\r\n }\r\n\r\n <li ngbNavItem>\r\n <a ngbNavLink>{{ 'AbpAuditLogging::AuditLogSettingsGeneral' | abpLocalization }}</a>\r\n <ng-template ngbNavContent>\r\n <abp-audit-log-settings-general [isTenant]=\"isTenant\" />\r\n </ng-template>\r\n </li>\r\n </ul>\r\n <div [ngbNavOutlet]=\"nav\"></div>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "ngmodule", type: NgbNavModule }, { kind: "directive", type: i1$1.NgbNavContent, selector: "ng-template[ngbNavContent]" }, { kind: "directive", type: i1$1.NgbNav, selector: "[ngbNav]", inputs: ["activeId", "animation", "destroyOnHide", "orientation", "roles", "keyboard"], outputs: ["activeIdChange", "shown", "hidden", "navChange"], exportAs: ["ngbNav"] }, { kind: "directive", type: i1$1.NgbNavItem, selector: "[ngbNavItem]", inputs: ["destroyOnHide", "disabled", "domId", "ngbNavItem"], outputs: ["shown", "hidden"], exportAs: ["ngbNavItem"] }, { kind: "directive", type: i1$1.NgbNavItemRole, selector: "[ngbNavItem]:not(ng-container)" }, { kind: "directive", type: i1$1.NgbNavLink, selector: "a[ngbNavLink]" }, { kind: "directive", type: i1$1.NgbNavLinkBase, selector: "[ngbNavLink]" }, { kind: "component", type: i1$1.NgbNavOutlet, selector: "[ngbNavOutlet]", inputs: ["paneRole", "ngbNavOutlet"] }, { kind: "component", type: AuditLogSettingsGeneralComponent, selector: "abp-audit-log-settings-general" }, { kind: "component", type: AuditLogSettingsGlobalComponent, selector: "abp-audit-log-settings-global" }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }] }); }
|
|
115
115
|
}
|
|
116
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
116
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AuditLogSettingsComponent, decorators: [{
|
|
117
117
|
type: Component,
|
|
118
118
|
args: [{ selector: 'abp-audit-log-settings', imports: [
|
|
119
119
|
NgbNavModule,
|
|
@@ -129,10 +129,10 @@ class EntityChangeModalComponent {
|
|
|
129
129
|
this.history = [];
|
|
130
130
|
this.visible = false;
|
|
131
131
|
}
|
|
132
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
133
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
132
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: EntityChangeModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
133
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.9", type: EntityChangeModalComponent, isStandalone: true, selector: "abp-entity-change-modal", ngImport: i0, template: "<abp-modal [(visible)]=\"visible\" [options]=\"{ size: 'lg' }\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">\r\n {{ entityTypeFullName }}\r\n <br />\r\n <span style=\"font-size: small\">({{ entityId }})</span>\r\n </h5>\r\n </ng-template>\r\n <ng-template #abpBody>\r\n @if (history.length) {\r\n @for (change of history; track $index) {\r\n <abp-entity-change-details [itemWithUserName]=\"change\" />\r\n }\r\n } @else {\r\n <div class=\"text-center\">\r\n {{ 'AbpAuditLogging::NoChanges' | abpLocalization }}\r\n </div>\r\n }\r\n </ng-template>\r\n <ng-template #abpFooter>\r\n <button class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpAuditLogging::Close' | abpLocalization }}\r\n </button>\r\n </ng-template>\r\n</abp-modal>\r\n", dependencies: [{ kind: "directive", type: ModalCloseDirective, selector: "[abpClose]" }, { kind: "component", type: EntityChangeDetailsComponent, selector: "abp-entity-change-details", inputs: ["itemWithUserName"] }, { kind: "component", type: ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
134
134
|
}
|
|
135
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
135
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: EntityChangeModalComponent, decorators: [{
|
|
136
136
|
type: Component,
|
|
137
137
|
args: [{ selector: 'abp-entity-change-modal', changeDetection: ChangeDetectionStrategy.OnPush, imports: [ModalCloseDirective, LocalizationPipe, EntityChangeDetailsComponent, ModalComponent], template: "<abp-modal [(visible)]=\"visible\" [options]=\"{ size: 'lg' }\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">\r\n {{ entityTypeFullName }}\r\n <br />\r\n <span style=\"font-size: small\">({{ entityId }})</span>\r\n </h5>\r\n </ng-template>\r\n <ng-template #abpBody>\r\n @if (history.length) {\r\n @for (change of history; track $index) {\r\n <abp-entity-change-details [itemWithUserName]=\"change\" />\r\n }\r\n } @else {\r\n <div class=\"text-center\">\r\n {{ 'AbpAuditLogging::NoChanges' | abpLocalization }}\r\n </div>\r\n }\r\n </ng-template>\r\n <ng-template #abpFooter>\r\n <button class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpAuditLogging::Close' | abpLocalization }}\r\n </button>\r\n </ng-template>\r\n</abp-modal>\r\n" }]
|
|
138
138
|
}] });
|
|
@@ -171,10 +171,10 @@ class EntityChangeModalService {
|
|
|
171
171
|
this.detectChanges();
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
175
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
174
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: EntityChangeModalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
175
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: EntityChangeModalService, providedIn: 'root' }); }
|
|
176
176
|
}
|
|
177
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
177
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: EntityChangeModalService, decorators: [{
|
|
178
178
|
type: Injectable,
|
|
179
179
|
args: [{
|
|
180
180
|
providedIn: 'root',
|
|
@@ -217,7 +217,7 @@ function configureRoutes() {
|
|
|
217
217
|
parentName: "AbpUiNavigation::Menu:Administration" /* eThemeSharedRouteNames.Administration */,
|
|
218
218
|
layout: "application" /* eLayoutType.application */,
|
|
219
219
|
iconClass: 'fa fa-file-text',
|
|
220
|
-
order:
|
|
220
|
+
order: 7,
|
|
221
221
|
requiredPolicy: "AuditLogging.AuditLogs" /* eAuditLoggingPolicyNames.AuditLogging */,
|
|
222
222
|
},
|
|
223
223
|
]);
|
|
@@ -260,17 +260,17 @@ class AuditLoggingConfigModule {
|
|
|
260
260
|
providers: [provideAuditLoggingConfig()],
|
|
261
261
|
};
|
|
262
262
|
}
|
|
263
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
264
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
263
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AuditLoggingConfigModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
264
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.9", ngImport: i0, type: AuditLoggingConfigModule, imports: [CoreModule,
|
|
265
265
|
ThemeSharedModule,
|
|
266
266
|
EntityChangeDetailsComponent,
|
|
267
267
|
EntityChangeModalComponent], exports: [EntityChangeModalComponent] }); }
|
|
268
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
268
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AuditLoggingConfigModule, imports: [CoreModule,
|
|
269
269
|
ThemeSharedModule,
|
|
270
270
|
EntityChangeDetailsComponent,
|
|
271
271
|
EntityChangeModalComponent] }); }
|
|
272
272
|
}
|
|
273
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
273
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AuditLoggingConfigModule, decorators: [{
|
|
274
274
|
type: NgModule,
|
|
275
275
|
args: [{
|
|
276
276
|
exports: [EntityChangeModalComponent],
|