@volo/abp.ng.audit-logging 5.3.0-rc.3 → 5.3.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/esm2020/lib/components/widgets/average-execution-duration-widget.component.mjs +1 -1
- package/esm2020/lib/components/widgets/error-rate-widget.component.mjs +1 -1
- package/fesm2015/volo-abp.ng.audit-logging-common.mjs.map +1 -1
- package/fesm2015/volo-abp.ng.audit-logging-config.mjs.map +1 -1
- package/fesm2015/volo-abp.ng.audit-logging-proxy.mjs.map +1 -1
- package/fesm2015/volo-abp.ng.audit-logging.mjs +2 -2
- package/fesm2015/volo-abp.ng.audit-logging.mjs.map +1 -1
- package/fesm2020/volo-abp.ng.audit-logging-common.mjs.map +1 -1
- package/fesm2020/volo-abp.ng.audit-logging-config.mjs.map +1 -1
- package/fesm2020/volo-abp.ng.audit-logging-proxy.mjs.map +1 -1
- package/fesm2020/volo-abp.ng.audit-logging.mjs +2 -2
- package/fesm2020/volo-abp.ng.audit-logging.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -73,7 +73,7 @@ AverageExecutionDurationWidgetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minV
|
|
|
73
73
|
</div>
|
|
74
74
|
</div>
|
|
75
75
|
</div>
|
|
76
|
-
`, isInline: true, components: [{ type: i3.ChartComponent, selector: "abp-chart", inputs: ["type", "data", "options", "plugins", "width", "height", "responsive"], outputs: ["dataSelect", "initialized"], exportAs: ["abpChart"] }], directives: [{ type: i1.PermissionDirective, selector: "[abpPermission]", inputs: ["abpPermission"] }], pipes: { "abpLocalization": i1.LocalizationPipe } });
|
|
76
|
+
`, isInline: true, components: [{ type: i3.ChartComponent, selector: "abp-chart", inputs: ["type", "data", "options", "plugins", "width", "height", "responsive"], outputs: ["dataSelect", "initialized"], exportAs: ["abpChart"] }], directives: [{ type: i1.PermissionDirective, selector: "[abpPermission]", inputs: ["abpPermission", "abpPermissionRunChangeDetection"] }], pipes: { "abpLocalization": i1.LocalizationPipe } });
|
|
77
77
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AverageExecutionDurationWidgetComponent, decorators: [{
|
|
78
78
|
type: Component,
|
|
79
79
|
args: [{
|
|
@@ -74,7 +74,7 @@ ErrorRateWidgetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
74
74
|
</div>
|
|
75
75
|
</div>
|
|
76
76
|
</div>
|
|
77
|
-
`, isInline: true, components: [{ type: i3.ChartComponent, selector: "abp-chart", inputs: ["type", "data", "options", "plugins", "width", "height", "responsive"], outputs: ["dataSelect", "initialized"], exportAs: ["abpChart"] }], directives: [{ type: i1.PermissionDirective, selector: "[abpPermission]", inputs: ["abpPermission"] }], pipes: { "abpLocalization": i1.LocalizationPipe } });
|
|
77
|
+
`, isInline: true, components: [{ type: i3.ChartComponent, selector: "abp-chart", inputs: ["type", "data", "options", "plugins", "width", "height", "responsive"], outputs: ["dataSelect", "initialized"], exportAs: ["abpChart"] }], directives: [{ type: i1.PermissionDirective, selector: "[abpPermission]", inputs: ["abpPermission", "abpPermissionRunChangeDetection"] }], pipes: { "abpLocalization": i1.LocalizationPipe } });
|
|
78
78
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ErrorRateWidgetComponent, decorators: [{
|
|
79
79
|
type: Component,
|
|
80
80
|
args: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"volo-abp.ng.audit-logging-common.mjs","sources":["../../../../packages/audit-logging/common/src/tokens/features.token.ts","../../../../packages/audit-logging/common/src/volo-abp.ng.audit-logging-common.ts"],"sourcesContent":["import { ConfigStateService, featuresFactory, noop, RoutesService } from '@abp/ng.core';\r\nimport { APP_INITIALIZER, inject, InjectionToken } 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 {\r\n provide: APP_INITIALIZER,\r\n useFactory: noop,\r\n deps: [SET_AUDIT_LOGGING_ROUTE_VISIBILITY],\r\n multi: true,\r\n },\r\n];\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAMa,sBAAsB,GAAG,IAAI,cAAc,CACtD,wBAAwB,EACxB;
|
|
1
|
+
{"version":3,"file":"volo-abp.ng.audit-logging-common.mjs","sources":["../../../../packages/audit-logging/common/src/tokens/features.token.ts","../../../../packages/audit-logging/common/src/volo-abp.ng.audit-logging-common.ts"],"sourcesContent":["import { ConfigStateService, featuresFactory, noop, RoutesService } from '@abp/ng.core';\r\nimport { APP_INITIALIZER, inject, InjectionToken } 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 {\r\n provide: APP_INITIALIZER,\r\n useFactory: noop,\r\n deps: [SET_AUDIT_LOGGING_ROUTE_VISIBILITY],\r\n multi: true,\r\n },\r\n];\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAMa,sBAAsB,GAAG,IAAI,cAAc,CACtD,wBAAwB,EACxB;AACE,IAAA,UAAU,EAAE,MAAM;IAClB,OAAO,EAAE,MAAK;AACZ,QAAA,MAAM,WAAW,GAAG,MAAM,CAAC,kBAAkB,CAAC,CAAC;QAC/C,MAAM,UAAU,GAAG,qBAAqB,CAAC;AACzC,QAAA,MAAM,KAAK,GAAG,QAAQ,KAAK;YACzB,MAAM,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAC,WAAW,EAAE,KAAK,OAAO;AACvD,SAAA,CAAC,CAAC;QAEH,OAAO,eAAe,CAAC,WAAW,EAAE,CAAC,UAAU,CAAC,EAAE,KAAK,CAAC,CAAC;KAC1D;AACF,CAAA,EACD;MAEW,kCAAkC,GAAG,IAAI,cAAc,CAClE,oCAAoC,EACpC;AACE,IAAA,UAAU,EAAE,MAAM;IAClB,OAAO,EAAE,MAAK;AACZ,QAAA,MAAM,MAAM,GAAG,MAAM,CAAC,aAAa,CAAC,CAAC;AACrC,QAAA,MAAM,MAAM,GAAG,MAAM,CAAC,sBAAsB,CAAC,CAAC;AAE9C,QAAA,0BAA0B,CAAC,MAAM,EAAE,MAAM,0DAAuC,CAAC,SAAS,EAAE,CAAC;KAC9F;AACF,CAAA,EACD;AAEW,MAAA,gCAAgC,GAAG;AAC9C,IAAA;AACE,QAAA,OAAO,EAAE,eAAe;AACxB,QAAA,UAAU,EAAE,IAAI;QAChB,IAAI,EAAE,CAAC,kCAAkC,CAAC;AAC1C,QAAA,KAAK,EAAE,IAAI;AACZ,KAAA;;;ACzCH;;AAEG;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"volo-abp.ng.audit-logging-config.mjs","sources":["../../../../packages/audit-logging/config/src/components/entity-change-details.component.ts","../../../../packages/audit-logging/config/src/components/entity-change-details.component.html","../../../../packages/audit-logging/config/src/components/entity-change-modal.component.ts","../../../../packages/audit-logging/config/src/components/entity-change-modal.component.html","../../../../packages/audit-logging/config/src/services/entity-change-modal.service.ts","../../../../packages/audit-logging/config/src/providers/entity-details.provider.ts","../../../../packages/audit-logging/config/src/providers/entity-history.provider.ts","../../../../packages/audit-logging/config/src/providers/route.provider.ts","../../../../packages/audit-logging/config/src/audit-logging-config.module.ts","../../../../packages/audit-logging/config/src/volo-abp.ng.audit-logging-config.ts"],"sourcesContent":["import { TrackByService, uuid } from '@abp/ng.core';\r\nimport { collapse } from '@abp/ng.theme.shared';\r\nimport { Component, Input } from '@angular/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 animations: [collapse],\r\n})\r\nexport class EntityChangeDetailsComponent {\r\n @Input() set itemWithUserName(item: EntityChangeWithUsernameDto) {\r\n this.changeType = EntityChangeType[item.entityChange.changeType];\r\n this.color = this.colors[item.entityChange.changeType];\r\n this.userName = item.userName;\r\n this.entityChange = item.entityChange;\r\n }\r\n\r\n @Input() isCollapsed = false;\r\n\r\n entityChange: EntityChangeDto;\r\n\r\n userName: string;\r\n\r\n changeType: string;\r\n\r\n color: 'success' | 'info' | 'danger';\r\n\r\n private colors = {\r\n [EntityChangeType.Created]: 'success',\r\n [EntityChangeType.Updated]: 'info',\r\n [EntityChangeType.Deleted]: 'danger',\r\n } as const;\r\n\r\n uuid = uuid();\r\n\r\n constructor(public readonly track: TrackByService<EntityPropertyChangeDto>) {}\r\n\r\n getPropColor(propertyChange: EntityPropertyChangeDto): 'red' | undefined {\r\n return this.entityChange.changeType === EntityChangeType.Updated &&\r\n propertyChange.newValue !== propertyChange.originalValue\r\n ? 'red'\r\n : undefined;\r\n }\r\n\r\n getInterpolationParams(changeTime: string): string[] {\r\n return [this.changeType, changeTime, this.userName];\r\n }\r\n}\r\n","<div\r\n class=\"mb-3 border border-dark rounded\"\r\n *ngIf=\"getInterpolationParams(entityChange.changeTime | date: 'medium') as params\"\r\n>\r\n <div class=\"d-grid\">\r\n <button\r\n type=\"button\"\r\n class=\"btn btn-{{ color }}\"\r\n (click)=\"isCollapsed = !isCollapsed\"\r\n [attr.aria-expanded]=\"!isCollapsed\"\r\n [attr.aria-controls]=\"uuid\"\r\n >\r\n {{ 'AbpAuditLogging::DaysAgoWithUserTitle' | abpLocalization: params }}\r\n </button>\r\n </div>\r\n <div [id]=\"uuid\" [@collapse]=\"isCollapsed ? 'collapsed' : 'expanded'\">\r\n <div class=\"m-3\">\r\n <table class=\"table table-striped\">\r\n <thead>\r\n <tr>\r\n <th>{{ 'AbpAuditLogging::PropertyName' | abpLocalization }}</th>\r\n <th>{{ 'AbpAuditLogging::OriginalValue' | abpLocalization }}</th>\r\n <th>{{ 'AbpAuditLogging::NewValue' | abpLocalization }}</th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <tr *ngFor=\"let prop of entityChange.propertyChanges; trackBy: track.by('id')\">\r\n <td>{{ prop.propertyName }}</td>\r\n <td>{{ prop.originalValue }}</td>\r\n <td [style.color]=\"getPropColor(prop)\">{{ prop.newValue }}</td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </div>\r\n </div>\r\n</div>\r\n","import { TrackByService } from '@abp/ng.core';\r\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component } from '@angular/core';\r\nimport { EntityChangeWithUsernameDto } from '@volo/abp.ng.audit-logging/proxy';\r\n\r\n@Component({\r\n selector: 'abp-entity-change-modal',\r\n templateUrl: './entity-change-modal.component.html',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class EntityChangeModalComponent {\r\n history: EntityChangeWithUsernameDto[] = [];\r\n\r\n entityId: string;\r\n\r\n entityTypeFullName: string;\r\n\r\n visible = false;\r\n\r\n constructor(public readonly cdRef: ChangeDetectorRef, public readonly track: TrackByService) {}\r\n}\r\n","<abp-modal [(visible)]=\"visible\" [options]=\"{ size: 'lg' }\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">\r\n {{ entityTypeFullName }}\r\n <br />\r\n <span style=\"font-size: small\">({{ entityId }})</span>\r\n </h5>\r\n </ng-template>\r\n <ng-template #abpBody>\r\n <ng-container *ngIf=\"history.length; else noChanges\">\r\n <abp-entity-change-details\r\n *ngFor=\"let change of history; first as f; trackBy: track.byDeep('entityChange', 'id')\"\r\n [itemWithUserName]=\"change\"\r\n [isCollapsed]=\"!f\"\r\n ></abp-entity-change-details>\r\n </ng-container>\r\n\r\n <ng-template #noChanges\r\n ><div class=\"text-center\">\r\n {{ 'AbpAuditLogging::NoChanges' | abpLocalization }}\r\n </div></ng-template\r\n >\r\n </ng-template>\r\n <ng-template #abpFooter>\r\n <button class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpAuditLogging::Close' | abpLocalization }}\r\n </button>\r\n </ng-template>\r\n</abp-modal>\r\n","import { ContentProjectionService, PROJECTION_STRATEGY } from '@abp/ng.core';\r\nimport { ComponentRef, Injectable } from '@angular/core';\r\nimport { AuditLogsService } from '@volo/abp.ng.audit-logging/proxy';\r\nimport { EntityChangeModalComponent } from '../components/entity-change-modal.component';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class EntityChangeModalService {\r\n private modalRef: ComponentRef<EntityChangeModalComponent>;\r\n\r\n constructor(\r\n private auditLogsService: AuditLogsService,\r\n private contentProjectionService: ContentProjectionService,\r\n ) {\r\n this.projectModal();\r\n }\r\n\r\n private projectModal() {\r\n this.modalRef = this.contentProjectionService.projectContent(\r\n PROJECTION_STRATEGY.AppendComponentToBody(EntityChangeModalComponent),\r\n );\r\n\r\n this.modalRef.changeDetectorRef.detectChanges();\r\n }\r\n\r\n detectChanges() {\r\n this.modalRef.changeDetectorRef.detectChanges();\r\n this.modalRef.instance.cdRef.detectChanges();\r\n }\r\n\r\n showDetails(entityChangeId: string) {\r\n this.auditLogsService.getEntityChangeWithUsername(entityChangeId).subscribe(change => {\r\n this.modalRef.instance.entityId = change.entityChange.entityId;\r\n this.modalRef.instance.entityTypeFullName = change.entityChange.entityTypeFullName;\r\n this.modalRef.instance.history = [change].filter(Boolean);\r\n this.modalRef.instance.visible = true;\r\n this.detectChanges();\r\n });\r\n }\r\n\r\n showHistory(entityId: string, entityTypeFullName: string) {\r\n this.auditLogsService\r\n .getEntityChangesWithUsername({ entityId, entityTypeFullName })\r\n .subscribe(changes => {\r\n this.modalRef.instance.entityId = entityId;\r\n this.modalRef.instance.entityTypeFullName = entityTypeFullName;\r\n this.modalRef.instance.history = changes;\r\n this.modalRef.instance.visible = true;\r\n this.detectChanges();\r\n });\r\n }\r\n}\r\n","import { SHOW_ENTITY_DETAILS } from '@volo/abp.ng.audit-logging';\r\nimport { EntityChangeModalService } from '../services/entity-change-modal.service';\r\n\r\nexport const ENTITY_DETAILS_PROVIDERS = [\r\n {\r\n provide: SHOW_ENTITY_DETAILS,\r\n useFactory: bindShowDetails,\r\n deps: [EntityChangeModalService],\r\n },\r\n];\r\n\r\nexport function bindShowDetails(service: EntityChangeModalService) {\r\n return service.showDetails.bind(service);\r\n}\r\n","import { SHOW_ENTITY_HISTORY } from '@volo/abp.commercial.ng.ui';\r\nimport { EntityChangeModalService } from '../services/entity-change-modal.service';\r\n\r\nexport const ENTITY_HISTORY_PROVIDERS = [\r\n {\r\n provide: SHOW_ENTITY_HISTORY,\r\n useFactory: bindShowHistory,\r\n deps: [EntityChangeModalService],\r\n },\r\n];\r\n\r\nexport function bindShowHistory(service: EntityChangeModalService) {\r\n return service.showHistory.bind(service);\r\n}\r\n","import { eLayoutType, RoutesService } from '@abp/ng.core';\r\nimport { eThemeSharedRouteNames } from '@abp/ng.theme.shared';\r\nimport { APP_INITIALIZER } from '@angular/core';\r\nimport { eAuditLoggingPolicyNames } from '../enums/policy-names';\r\nimport { eAuditLoggingRouteNames } from '../enums/route-names';\r\n\r\nexport const AUDIT_LOGGING_ROUTE_PROVIDERS = [\r\n { provide: APP_INITIALIZER, useFactory: configureRoutes, deps: [RoutesService], multi: true },\r\n];\r\n\r\nexport function configureRoutes(routes: RoutesService) {\r\n return () => {\r\n routes.add([\r\n {\r\n name: eAuditLoggingRouteNames.AuditLogging,\r\n path: '/audit-logs',\r\n parentName: eThemeSharedRouteNames.Administration,\r\n layout: eLayoutType.application,\r\n iconClass: 'fa fa-file-text',\r\n order: 6,\r\n requiredPolicy: eAuditLoggingPolicyNames.AuditLogging,\r\n },\r\n ]);\r\n };\r\n}\r\n","import { CoreModule } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { ModuleWithProviders, NgModule } from '@angular/core';\r\nimport { EntityChangeDetailsComponent } from './components/entity-change-details.component';\r\nimport { EntityChangeModalComponent } from './components/entity-change-modal.component';\r\nimport { ENTITY_DETAILS_PROVIDERS, ENTITY_HISTORY_PROVIDERS } from './providers';\r\nimport { AUDIT_LOGGING_ROUTE_PROVIDERS } from './providers/route.provider';\r\nimport { AUDIT_LOGGING_FEATURES_PROVIDERS } from '@volo/abp.ng.audit-logging/common';\r\n\r\n@NgModule({\r\n declarations: [EntityChangeDetailsComponent, EntityChangeModalComponent],\r\n exports: [EntityChangeDetailsComponent, EntityChangeModalComponent],\r\n imports: [CoreModule, ThemeSharedModule],\r\n})\r\nexport class AuditLoggingConfigModule {\r\n static forRoot(): ModuleWithProviders<AuditLoggingConfigModule> {\r\n return {\r\n ngModule: AuditLoggingConfigModule,\r\n providers: [\r\n AUDIT_LOGGING_ROUTE_PROVIDERS,\r\n ENTITY_DETAILS_PROVIDERS,\r\n ENTITY_HISTORY_PROVIDERS,\r\n AUDIT_LOGGING_FEATURES_PROVIDERS,\r\n ],\r\n };\r\n }\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;MAea,4BAA4B;IA0BvC,YAA4B,KAA8C;QAA9C,UAAK,GAAL,KAAK,CAAyC;QAlBjE,gBAAW,GAAG,KAAK,CAAC;QAUrB,WAAM,GAAG;YACf,CAAC,gBAAgB,CAAC,OAAO,GAAG,SAAS;YACrC,CAAC,gBAAgB,CAAC,OAAO,GAAG,MAAM;YAClC,CAAC,gBAAgB,CAAC,OAAO,GAAG,QAAQ;SAC5B,CAAC;QAEX,SAAI,GAAG,IAAI,EAAE,CAAC;KAEgE;IAzB9E,IAAa,gBAAgB,CAAC,IAAiC;QAC7D,IAAI,CAAC,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC;QACjE,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC;QACvD,IAAI,CAAC,QAAQ,GAAG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AAiB,aAD7B,4BAA4B,EAAE,0BAA0B;sHAGvD,wBAAwB,YAF1B,CAAC,UAAU,EAAE,iBAAiB,CAAC;2FAE7B,wBAAwB;kBALpC,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAC,4BAA4B,EAAE,0BAA0B,CAAC;oBACxE,OAAO,EAAE,CAAC,4BAA4B,EAAE,0BAA0B,CAAC;oBACnE,OAAO,EAAE,CAAC,UAAU,EAAE,iBAAiB,CAAC;iBACzC;;;ACbD;;;;;;"}
|
|
1
|
+
{"version":3,"file":"volo-abp.ng.audit-logging-config.mjs","sources":["../../../../packages/audit-logging/config/src/components/entity-change-details.component.ts","../../../../packages/audit-logging/config/src/components/entity-change-details.component.html","../../../../packages/audit-logging/config/src/components/entity-change-modal.component.ts","../../../../packages/audit-logging/config/src/components/entity-change-modal.component.html","../../../../packages/audit-logging/config/src/services/entity-change-modal.service.ts","../../../../packages/audit-logging/config/src/providers/entity-details.provider.ts","../../../../packages/audit-logging/config/src/providers/entity-history.provider.ts","../../../../packages/audit-logging/config/src/providers/route.provider.ts","../../../../packages/audit-logging/config/src/audit-logging-config.module.ts","../../../../packages/audit-logging/config/src/volo-abp.ng.audit-logging-config.ts"],"sourcesContent":["import { TrackByService, uuid } from '@abp/ng.core';\r\nimport { collapse } from '@abp/ng.theme.shared';\r\nimport { Component, Input } from '@angular/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 animations: [collapse],\r\n})\r\nexport class EntityChangeDetailsComponent {\r\n @Input() set itemWithUserName(item: EntityChangeWithUsernameDto) {\r\n this.changeType = EntityChangeType[item.entityChange.changeType];\r\n this.color = this.colors[item.entityChange.changeType];\r\n this.userName = item.userName;\r\n this.entityChange = item.entityChange;\r\n }\r\n\r\n @Input() isCollapsed = false;\r\n\r\n entityChange: EntityChangeDto;\r\n\r\n userName: string;\r\n\r\n changeType: string;\r\n\r\n color: 'success' | 'info' | 'danger';\r\n\r\n private colors = {\r\n [EntityChangeType.Created]: 'success',\r\n [EntityChangeType.Updated]: 'info',\r\n [EntityChangeType.Deleted]: 'danger',\r\n } as const;\r\n\r\n uuid = uuid();\r\n\r\n constructor(public readonly track: TrackByService<EntityPropertyChangeDto>) {}\r\n\r\n getPropColor(propertyChange: EntityPropertyChangeDto): 'red' | undefined {\r\n return this.entityChange.changeType === EntityChangeType.Updated &&\r\n propertyChange.newValue !== propertyChange.originalValue\r\n ? 'red'\r\n : undefined;\r\n }\r\n\r\n getInterpolationParams(changeTime: string): string[] {\r\n return [this.changeType, changeTime, this.userName];\r\n }\r\n}\r\n","<div\r\n class=\"mb-3 border border-dark rounded\"\r\n *ngIf=\"getInterpolationParams(entityChange.changeTime | date: 'medium') as params\"\r\n>\r\n <div class=\"d-grid\">\r\n <button\r\n type=\"button\"\r\n class=\"btn btn-{{ color }}\"\r\n (click)=\"isCollapsed = !isCollapsed\"\r\n [attr.aria-expanded]=\"!isCollapsed\"\r\n [attr.aria-controls]=\"uuid\"\r\n >\r\n {{ 'AbpAuditLogging::DaysAgoWithUserTitle' | abpLocalization: params }}\r\n </button>\r\n </div>\r\n <div [id]=\"uuid\" [@collapse]=\"isCollapsed ? 'collapsed' : 'expanded'\">\r\n <div class=\"m-3\">\r\n <table class=\"table table-striped\">\r\n <thead>\r\n <tr>\r\n <th>{{ 'AbpAuditLogging::PropertyName' | abpLocalization }}</th>\r\n <th>{{ 'AbpAuditLogging::OriginalValue' | abpLocalization }}</th>\r\n <th>{{ 'AbpAuditLogging::NewValue' | abpLocalization }}</th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <tr *ngFor=\"let prop of entityChange.propertyChanges; trackBy: track.by('id')\">\r\n <td>{{ prop.propertyName }}</td>\r\n <td>{{ prop.originalValue }}</td>\r\n <td [style.color]=\"getPropColor(prop)\">{{ prop.newValue }}</td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </div>\r\n </div>\r\n</div>\r\n","import { TrackByService } from '@abp/ng.core';\r\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component } from '@angular/core';\r\nimport { EntityChangeWithUsernameDto } from '@volo/abp.ng.audit-logging/proxy';\r\n\r\n@Component({\r\n selector: 'abp-entity-change-modal',\r\n templateUrl: './entity-change-modal.component.html',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class EntityChangeModalComponent {\r\n history: EntityChangeWithUsernameDto[] = [];\r\n\r\n entityId: string;\r\n\r\n entityTypeFullName: string;\r\n\r\n visible = false;\r\n\r\n constructor(public readonly cdRef: ChangeDetectorRef, public readonly track: TrackByService) {}\r\n}\r\n","<abp-modal [(visible)]=\"visible\" [options]=\"{ size: 'lg' }\">\r\n <ng-template #abpHeader>\r\n <h5 class=\"modal-title\">\r\n {{ entityTypeFullName }}\r\n <br />\r\n <span style=\"font-size: small\">({{ entityId }})</span>\r\n </h5>\r\n </ng-template>\r\n <ng-template #abpBody>\r\n <ng-container *ngIf=\"history.length; else noChanges\">\r\n <abp-entity-change-details\r\n *ngFor=\"let change of history; first as f; trackBy: track.byDeep('entityChange', 'id')\"\r\n [itemWithUserName]=\"change\"\r\n [isCollapsed]=\"!f\"\r\n ></abp-entity-change-details>\r\n </ng-container>\r\n\r\n <ng-template #noChanges\r\n ><div class=\"text-center\">\r\n {{ 'AbpAuditLogging::NoChanges' | abpLocalization }}\r\n </div></ng-template\r\n >\r\n </ng-template>\r\n <ng-template #abpFooter>\r\n <button class=\"btn btn-secondary\" abpClose>\r\n {{ 'AbpAuditLogging::Close' | abpLocalization }}\r\n </button>\r\n </ng-template>\r\n</abp-modal>\r\n","import { ContentProjectionService, PROJECTION_STRATEGY } from '@abp/ng.core';\r\nimport { ComponentRef, Injectable } from '@angular/core';\r\nimport { AuditLogsService } from '@volo/abp.ng.audit-logging/proxy';\r\nimport { EntityChangeModalComponent } from '../components/entity-change-modal.component';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class EntityChangeModalService {\r\n private modalRef: ComponentRef<EntityChangeModalComponent>;\r\n\r\n constructor(\r\n private auditLogsService: AuditLogsService,\r\n private contentProjectionService: ContentProjectionService,\r\n ) {\r\n this.projectModal();\r\n }\r\n\r\n private projectModal() {\r\n this.modalRef = this.contentProjectionService.projectContent(\r\n PROJECTION_STRATEGY.AppendComponentToBody(EntityChangeModalComponent),\r\n );\r\n\r\n this.modalRef.changeDetectorRef.detectChanges();\r\n }\r\n\r\n detectChanges() {\r\n this.modalRef.changeDetectorRef.detectChanges();\r\n this.modalRef.instance.cdRef.detectChanges();\r\n }\r\n\r\n showDetails(entityChangeId: string) {\r\n this.auditLogsService.getEntityChangeWithUsername(entityChangeId).subscribe(change => {\r\n this.modalRef.instance.entityId = change.entityChange.entityId;\r\n this.modalRef.instance.entityTypeFullName = change.entityChange.entityTypeFullName;\r\n this.modalRef.instance.history = [change].filter(Boolean);\r\n this.modalRef.instance.visible = true;\r\n this.detectChanges();\r\n });\r\n }\r\n\r\n showHistory(entityId: string, entityTypeFullName: string) {\r\n this.auditLogsService\r\n .getEntityChangesWithUsername({ entityId, entityTypeFullName })\r\n .subscribe(changes => {\r\n this.modalRef.instance.entityId = entityId;\r\n this.modalRef.instance.entityTypeFullName = entityTypeFullName;\r\n this.modalRef.instance.history = changes;\r\n this.modalRef.instance.visible = true;\r\n this.detectChanges();\r\n });\r\n }\r\n}\r\n","import { SHOW_ENTITY_DETAILS } from '@volo/abp.ng.audit-logging';\r\nimport { EntityChangeModalService } from '../services/entity-change-modal.service';\r\n\r\nexport const ENTITY_DETAILS_PROVIDERS = [\r\n {\r\n provide: SHOW_ENTITY_DETAILS,\r\n useFactory: bindShowDetails,\r\n deps: [EntityChangeModalService],\r\n },\r\n];\r\n\r\nexport function bindShowDetails(service: EntityChangeModalService) {\r\n return service.showDetails.bind(service);\r\n}\r\n","import { SHOW_ENTITY_HISTORY } from '@volo/abp.commercial.ng.ui';\r\nimport { EntityChangeModalService } from '../services/entity-change-modal.service';\r\n\r\nexport const ENTITY_HISTORY_PROVIDERS = [\r\n {\r\n provide: SHOW_ENTITY_HISTORY,\r\n useFactory: bindShowHistory,\r\n deps: [EntityChangeModalService],\r\n },\r\n];\r\n\r\nexport function bindShowHistory(service: EntityChangeModalService) {\r\n return service.showHistory.bind(service);\r\n}\r\n","import { eLayoutType, RoutesService } from '@abp/ng.core';\r\nimport { eThemeSharedRouteNames } from '@abp/ng.theme.shared';\r\nimport { APP_INITIALIZER } from '@angular/core';\r\nimport { eAuditLoggingPolicyNames } from '../enums/policy-names';\r\nimport { eAuditLoggingRouteNames } from '../enums/route-names';\r\n\r\nexport const AUDIT_LOGGING_ROUTE_PROVIDERS = [\r\n { provide: APP_INITIALIZER, useFactory: configureRoutes, deps: [RoutesService], multi: true },\r\n];\r\n\r\nexport function configureRoutes(routes: RoutesService) {\r\n return () => {\r\n routes.add([\r\n {\r\n name: eAuditLoggingRouteNames.AuditLogging,\r\n path: '/audit-logs',\r\n parentName: eThemeSharedRouteNames.Administration,\r\n layout: eLayoutType.application,\r\n iconClass: 'fa fa-file-text',\r\n order: 6,\r\n requiredPolicy: eAuditLoggingPolicyNames.AuditLogging,\r\n },\r\n ]);\r\n };\r\n}\r\n","import { CoreModule } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { ModuleWithProviders, NgModule } from '@angular/core';\r\nimport { EntityChangeDetailsComponent } from './components/entity-change-details.component';\r\nimport { EntityChangeModalComponent } from './components/entity-change-modal.component';\r\nimport { ENTITY_DETAILS_PROVIDERS, ENTITY_HISTORY_PROVIDERS } from './providers';\r\nimport { AUDIT_LOGGING_ROUTE_PROVIDERS } from './providers/route.provider';\r\nimport { AUDIT_LOGGING_FEATURES_PROVIDERS } from '@volo/abp.ng.audit-logging/common';\r\n\r\n@NgModule({\r\n declarations: [EntityChangeDetailsComponent, EntityChangeModalComponent],\r\n exports: [EntityChangeDetailsComponent, EntityChangeModalComponent],\r\n imports: [CoreModule, ThemeSharedModule],\r\n})\r\nexport class AuditLoggingConfigModule {\r\n static forRoot(): ModuleWithProviders<AuditLoggingConfigModule> {\r\n return {\r\n ngModule: AuditLoggingConfigModule,\r\n providers: [\r\n AUDIT_LOGGING_ROUTE_PROVIDERS,\r\n ENTITY_DETAILS_PROVIDERS,\r\n ENTITY_HISTORY_PROVIDERS,\r\n AUDIT_LOGGING_FEATURES_PROVIDERS,\r\n ],\r\n };\r\n }\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i2","i3.EntityChangeDetailsComponent","i4","i1"],"mappings":";;;;;;;;;;;;;MAea,4BAA4B,CAAA;AA0BvC,IAAA,WAAA,CAA4B,KAA8C,EAAA;AAA9C,QAAA,IAAK,CAAA,KAAA,GAAL,KAAK,CAAyC;AAlBjE,QAAA,IAAW,CAAA,WAAA,GAAG,KAAK,CAAC;QAUrB,IAAA,CAAA,MAAM,GAAG;AACf,YAAA,CAAC,gBAAgB,CAAC,OAAO,GAAG,SAAS;AACrC,YAAA,CAAC,gBAAgB,CAAC,OAAO,GAAG,MAAM;AAClC,YAAA,CAAC,gBAAgB,CAAC,OAAO,GAAG,QAAQ;SAC5B,CAAC;AAEX,QAAA,IAAI,CAAA,IAAA,GAAG,IAAI,EAAE,CAAC;KAEgE;IAzB9E,IAAa,gBAAgB,CAAC,IAAiC,EAAA;QAC7D,IAAI,CAAC,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC;AACjE,QAAA,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC;AACvD,QAAA,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;AAC9B,QAAA,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,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O,EAAE,CAAC,UAAU,EAAE,iBAAiB,CAAC;iBACzC,CAAA;;;ACbD;;AAEG;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"volo-abp.ng.audit-logging-proxy.mjs","sources":["../../../../packages/audit-logging/proxy/src/lib/proxy/audit-logging/audit-logs.service.ts","../../../../packages/audit-logging/proxy/src/lib/proxy/auditing/entity-change-type.enum.ts","../../../../packages/audit-logging/proxy/src/volo-abp.ng.audit-logging-proxy.ts"],"sourcesContent":["import type { AuditLogDto, EntityChangeDto, EntityChangeFilter, EntityChangeWithUsernameDto, GetAuditLogListDto, GetAverageExecutionDurationPerDayInput, GetAverageExecutionDurationPerDayOutput, GetEntityChangesDto, GetErrorRateFilter, GetErrorRateOutput } from './models';\r\nimport { RestService } from '@abp/ng.core';\r\nimport type { PagedResultDto } from '@abp/ng.core';\r\nimport { Injectable } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class AuditLogsService {\r\n apiName = 'AbpAuditLogging';\r\n\r\n get = (id: string) =>\r\n this.restService.request<any, AuditLogDto>({\r\n method: 'GET',\r\n url: `/api/audit-logging/audit-logs/${id}`,\r\n },\r\n { apiName: this.apiName });\r\n\r\n getAverageExecutionDurationPerDay = (filter: GetAverageExecutionDurationPerDayInput) =>\r\n this.restService.request<any, GetAverageExecutionDurationPerDayOutput>({\r\n method: 'GET',\r\n url: '/api/audit-logging/audit-logs/statistics/average-execution-duration-per-day',\r\n params: { startDate: filter.startDate, endDate: filter.endDate },\r\n },\r\n { apiName: this.apiName });\r\n\r\n getEntityChange = (entityChangeId: string) =>\r\n this.restService.request<any, EntityChangeDto>({\r\n method: 'GET',\r\n url: `/api/audit-logging/audit-logs/entity-changes/${entityChangeId}`,\r\n },\r\n { apiName: this.apiName });\r\n\r\n getEntityChangeWithUsername = (entityChangeId: string) =>\r\n this.restService.request<any, EntityChangeWithUsernameDto>({\r\n method: 'GET',\r\n url: `/api/audit-logging/audit-logs/entity-change-with-username/${entityChangeId}`,\r\n },\r\n { apiName: this.apiName });\r\n\r\n getEntityChanges = (input: GetEntityChangesDto) =>\r\n this.restService.request<any, PagedResultDto<EntityChangeDto>>({\r\n method: 'GET',\r\n url: '/api/audit-logging/audit-logs/entity-changes',\r\n params: { auditLogId: input.auditLogId, entityChangeType: input.entityChangeType, entityId: input.entityId, entityTypeFullName: input.entityTypeFullName, startDate: input.startDate, endDate: input.endDate, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },\r\n },\r\n { apiName: this.apiName });\r\n\r\n getEntityChangesWithUsername = (input: EntityChangeFilter) =>\r\n this.restService.request<any, EntityChangeWithUsernameDto[]>({\r\n method: 'GET',\r\n url: '/api/audit-logging/audit-logs/entity-changes-with-username',\r\n params: { entityId: input.entityId, entityTypeFullName: input.entityTypeFullName },\r\n },\r\n { apiName: this.apiName });\r\n\r\n getErrorRate = (filter: GetErrorRateFilter) =>\r\n this.restService.request<any, GetErrorRateOutput>({\r\n method: 'GET',\r\n url: '/api/audit-logging/audit-logs/statistics/error-rate',\r\n params: { startDate: filter.startDate, endDate: filter.endDate },\r\n },\r\n { apiName: this.apiName });\r\n\r\n getList = (input: GetAuditLogListDto) =>\r\n this.restService.request<any, PagedResultDto<AuditLogDto>>({\r\n method: 'GET',\r\n url: '/api/audit-logging/audit-logs',\r\n params: { startTime: input.startTime, endTime: input.endTime, url: input.url, userName: input.userName, applicationName: input.applicationName, clientIpAddress: input.clientIpAddress, correlationId: input.correlationId, httpMethod: input.httpMethod, httpStatusCode: input.httpStatusCode, maxExecutionDuration: input.maxExecutionDuration, minExecutionDuration: input.minExecutionDuration, hasException: input.hasException, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },\r\n },\r\n { apiName: this.apiName });\r\n\r\n constructor(private restService: RestService) {}\r\n}\r\n","import { mapEnumToOptions } from '@abp/ng.core';\r\n\r\nexport enum EntityChangeType {\r\n Created = 0,\r\n Updated = 1,\r\n Deleted = 2,\r\n}\r\n\r\nexport const entityChangeTypeOptions = mapEnumToOptions(EntityChangeType);\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAQa,gBAAgB;
|
|
1
|
+
{"version":3,"file":"volo-abp.ng.audit-logging-proxy.mjs","sources":["../../../../packages/audit-logging/proxy/src/lib/proxy/audit-logging/audit-logs.service.ts","../../../../packages/audit-logging/proxy/src/lib/proxy/auditing/entity-change-type.enum.ts","../../../../packages/audit-logging/proxy/src/volo-abp.ng.audit-logging-proxy.ts"],"sourcesContent":["import type { AuditLogDto, EntityChangeDto, EntityChangeFilter, EntityChangeWithUsernameDto, GetAuditLogListDto, GetAverageExecutionDurationPerDayInput, GetAverageExecutionDurationPerDayOutput, GetEntityChangesDto, GetErrorRateFilter, GetErrorRateOutput } from './models';\r\nimport { RestService } from '@abp/ng.core';\r\nimport type { PagedResultDto } from '@abp/ng.core';\r\nimport { Injectable } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class AuditLogsService {\r\n apiName = 'AbpAuditLogging';\r\n\r\n get = (id: string) =>\r\n this.restService.request<any, AuditLogDto>({\r\n method: 'GET',\r\n url: `/api/audit-logging/audit-logs/${id}`,\r\n },\r\n { apiName: this.apiName });\r\n\r\n getAverageExecutionDurationPerDay = (filter: GetAverageExecutionDurationPerDayInput) =>\r\n this.restService.request<any, GetAverageExecutionDurationPerDayOutput>({\r\n method: 'GET',\r\n url: '/api/audit-logging/audit-logs/statistics/average-execution-duration-per-day',\r\n params: { startDate: filter.startDate, endDate: filter.endDate },\r\n },\r\n { apiName: this.apiName });\r\n\r\n getEntityChange = (entityChangeId: string) =>\r\n this.restService.request<any, EntityChangeDto>({\r\n method: 'GET',\r\n url: `/api/audit-logging/audit-logs/entity-changes/${entityChangeId}`,\r\n },\r\n { apiName: this.apiName });\r\n\r\n getEntityChangeWithUsername = (entityChangeId: string) =>\r\n this.restService.request<any, EntityChangeWithUsernameDto>({\r\n method: 'GET',\r\n url: `/api/audit-logging/audit-logs/entity-change-with-username/${entityChangeId}`,\r\n },\r\n { apiName: this.apiName });\r\n\r\n getEntityChanges = (input: GetEntityChangesDto) =>\r\n this.restService.request<any, PagedResultDto<EntityChangeDto>>({\r\n method: 'GET',\r\n url: '/api/audit-logging/audit-logs/entity-changes',\r\n params: { auditLogId: input.auditLogId, entityChangeType: input.entityChangeType, entityId: input.entityId, entityTypeFullName: input.entityTypeFullName, startDate: input.startDate, endDate: input.endDate, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },\r\n },\r\n { apiName: this.apiName });\r\n\r\n getEntityChangesWithUsername = (input: EntityChangeFilter) =>\r\n this.restService.request<any, EntityChangeWithUsernameDto[]>({\r\n method: 'GET',\r\n url: '/api/audit-logging/audit-logs/entity-changes-with-username',\r\n params: { entityId: input.entityId, entityTypeFullName: input.entityTypeFullName },\r\n },\r\n { apiName: this.apiName });\r\n\r\n getErrorRate = (filter: GetErrorRateFilter) =>\r\n this.restService.request<any, GetErrorRateOutput>({\r\n method: 'GET',\r\n url: '/api/audit-logging/audit-logs/statistics/error-rate',\r\n params: { startDate: filter.startDate, endDate: filter.endDate },\r\n },\r\n { apiName: this.apiName });\r\n\r\n getList = (input: GetAuditLogListDto) =>\r\n this.restService.request<any, PagedResultDto<AuditLogDto>>({\r\n method: 'GET',\r\n url: '/api/audit-logging/audit-logs',\r\n params: { startTime: input.startTime, endTime: input.endTime, url: input.url, userName: input.userName, applicationName: input.applicationName, clientIpAddress: input.clientIpAddress, correlationId: input.correlationId, httpMethod: input.httpMethod, httpStatusCode: input.httpStatusCode, maxExecutionDuration: input.maxExecutionDuration, minExecutionDuration: input.minExecutionDuration, hasException: input.hasException, sorting: input.sorting, skipCount: input.skipCount, maxResultCount: input.maxResultCount },\r\n },\r\n { apiName: this.apiName });\r\n\r\n constructor(private restService: RestService) {}\r\n}\r\n","import { mapEnumToOptions } from '@abp/ng.core';\r\n\r\nexport enum EntityChangeType {\r\n Created = 0,\r\n Updated = 1,\r\n Deleted = 2,\r\n}\r\n\r\nexport const entityChangeTypeOptions = mapEnumToOptions(EntityChangeType);\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAQa,gBAAgB,CAAA;AAgE3B,IAAA,WAAA,CAAoB,WAAwB,EAAA;AAAxB,QAAA,IAAW,CAAA,WAAA,GAAX,WAAW,CAAa;AA/D5C,QAAA,IAAO,CAAA,OAAA,GAAG,iBAAiB,CAAC;AAE5B,QAAA,IAAG,CAAA,GAAA,GAAG,CAAC,EAAU,KACf,IAAI,CAAC,WAAW,CAAC,OAAO,CAAmB;AACzC,YAAA,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,CAAiC,8BAAA,EAAA,EAAE,CAAE,CAAA;SAC3C,EACD,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC;AAE7B,QAAA,IAAiC,CAAA,iCAAA,GAAG,CAAC,MAA8C,KACjF,IAAI,CAAC,WAAW,CAAC,OAAO,CAA+C;AACrE,YAAA,MAAM,EAAE,KAAK;AACb,YAAA,GAAG,EAAE,6EAA6E;AAClF,YAAA,MAAM,EAAE,EAAE,SAAS,EAAE,MAAM,CAAC,SAAS,EAAE,OAAO,EAAE,MAAM,CAAC,OAAO,EAAE;SACjE,EACD,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC;AAE7B,QAAA,IAAe,CAAA,eAAA,GAAG,CAAC,cAAsB,KACvC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAuB;AAC7C,YAAA,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,CAAgD,6CAAA,EAAA,cAAc,CAAE,CAAA;SACtE,EACD,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC;AAE7B,QAAA,IAA2B,CAAA,2BAAA,GAAG,CAAC,cAAsB,KACnD,IAAI,CAAC,WAAW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EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,cAFf,MAAM,EAAA,CAAA,CAAA;2FAEP,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAH5B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;iBACnB,CAAA;;;ACLW,IAAA,iBAIX;AAJD,CAAA,UAAY,gBAAgB,EAAA;IAC1B,gBAAA,CAAA,gBAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAW,CAAA;IACX,gBAAA,CAAA,gBAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAW,CAAA;IACX,gBAAA,CAAA,gBAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAW,CAAA;AACb,CAAC,EAJW,gBAAgB,KAAhB,gBAAgB,GAI3B,EAAA,CAAA,CAAA,CAAA;MAEY,uBAAuB,GAAG,gBAAgB,CAAC,gBAAgB;;ACRxE;;AAEG;;;;"}
|
|
@@ -479,7 +479,7 @@ AverageExecutionDurationWidgetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minV
|
|
|
479
479
|
</div>
|
|
480
480
|
</div>
|
|
481
481
|
</div>
|
|
482
|
-
`, isInline: true, components: [{ type: i3$1.ChartComponent, selector: "abp-chart", inputs: ["type", "data", "options", "plugins", "width", "height", "responsive"], outputs: ["dataSelect", "initialized"], exportAs: ["abpChart"] }], directives: [{ type: i1.PermissionDirective, selector: "[abpPermission]", inputs: ["abpPermission"] }], pipes: { "abpLocalization": i1.LocalizationPipe } });
|
|
482
|
+
`, isInline: true, components: [{ type: i3$1.ChartComponent, selector: "abp-chart", inputs: ["type", "data", "options", "plugins", "width", "height", "responsive"], outputs: ["dataSelect", "initialized"], exportAs: ["abpChart"] }], directives: [{ type: i1.PermissionDirective, selector: "[abpPermission]", inputs: ["abpPermission", "abpPermissionRunChangeDetection"] }], pipes: { "abpLocalization": i1.LocalizationPipe } });
|
|
483
483
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AverageExecutionDurationWidgetComponent, decorators: [{
|
|
484
484
|
type: Component,
|
|
485
485
|
args: [{
|
|
@@ -586,7 +586,7 @@ ErrorRateWidgetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
586
586
|
</div>
|
|
587
587
|
</div>
|
|
588
588
|
</div>
|
|
589
|
-
`, isInline: true, components: [{ type: i3$1.ChartComponent, selector: "abp-chart", inputs: ["type", "data", "options", "plugins", "width", "height", "responsive"], outputs: ["dataSelect", "initialized"], exportAs: ["abpChart"] }], directives: [{ type: i1.PermissionDirective, selector: "[abpPermission]", inputs: ["abpPermission"] }], pipes: { "abpLocalization": i1.LocalizationPipe } });
|
|
589
|
+
`, isInline: true, components: [{ type: i3$1.ChartComponent, selector: "abp-chart", inputs: ["type", "data", "options", "plugins", "width", "height", "responsive"], outputs: ["dataSelect", "initialized"], exportAs: ["abpChart"] }], directives: [{ type: i1.PermissionDirective, selector: "[abpPermission]", inputs: ["abpPermission", "abpPermissionRunChangeDetection"] }], pipes: { "abpLocalization": i1.LocalizationPipe } });
|
|
590
590
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ErrorRateWidgetComponent, decorators: [{
|
|
591
591
|
type: Component,
|
|
592
592
|
args: [{
|