ngx-techlify-core 18.58.1 → 18.59.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/audit-log/audit-log-list/audit-log-list.component.mjs +4 -4
- package/esm2022/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.mjs +8 -21
- package/esm2022/lib/base-model/techlify-list-component.mjs +8 -24
- package/fesm2022/ngx-techlify-core.mjs +17 -40
- package/fesm2022/ngx-techlify-core.mjs.map +1 -1
- package/lib/audit-log/audit-logs-view-model/audit-logs-view-model.component.d.ts +1 -3
- package/lib/base-model/techlify-list-component.d.ts +6 -16
- package/package.json +1 -1
|
@@ -10,13 +10,13 @@ import { MAT_SNACK_BAR_DATA, MatSnackBarModule } from '@angular/material/snack-b
|
|
|
10
10
|
import * as i8 from '@angular/material/icon';
|
|
11
11
|
import { MatIconModule, MatIcon } from '@angular/material/icon';
|
|
12
12
|
import { __decorate } from 'tslib';
|
|
13
|
-
import { debounceTime, finalize as finalize$1, catchError, switchMap, map as map$1, distinctUntilChanged, startWith
|
|
13
|
+
import { debounceTime, finalize as finalize$1, catchError, switchMap, map as map$1, distinctUntilChanged, startWith } from 'rxjs/operators';
|
|
14
14
|
import { untilDestroyed, UntilDestroy } from '@ngneat/until-destroy';
|
|
15
15
|
import * as i1$6 from '@angular/platform-browser';
|
|
16
16
|
import { Title } from '@angular/platform-browser';
|
|
17
17
|
import moment from 'moment';
|
|
18
18
|
import * as i1$2 from '@angular/router';
|
|
19
|
-
import { RouteReuseStrategy, RouterModule,
|
|
19
|
+
import { RouteReuseStrategy, RouterModule, RouterLink } from '@angular/router';
|
|
20
20
|
import * as i11 from '@angular/material/sort';
|
|
21
21
|
import { MatSort, MatSortModule } from '@angular/material/sort';
|
|
22
22
|
import * as i7 from '@angular/flex-layout/flex';
|
|
@@ -645,18 +645,6 @@ let TechlifyListComponent = class TechlifyListComponent {
|
|
|
645
645
|
resetFilter(field) {
|
|
646
646
|
this.filterForm.get(field).reset('');
|
|
647
647
|
}
|
|
648
|
-
/**
|
|
649
|
-
* @deprecated will be removed in release/18.55.0
|
|
650
|
-
* Use `modelsUpdatedById` instead, which finds the model by id and does not require tracking the index.
|
|
651
|
-
*
|
|
652
|
-
* Updates a specific row in the table by index.
|
|
653
|
-
* @param model The model to be updated.
|
|
654
|
-
* @param index The index of the model in the list.
|
|
655
|
-
*/
|
|
656
|
-
modelUpdated(model, index) {
|
|
657
|
-
this.models[index] = model;
|
|
658
|
-
this.models = [...this.models];
|
|
659
|
-
}
|
|
660
648
|
/**
|
|
661
649
|
* Updates one or more models in the list by matching on their `id`.
|
|
662
650
|
* Accepts a single model or an array of models.
|
|
@@ -673,7 +661,6 @@ let TechlifyListComponent = class TechlifyListComponent {
|
|
|
673
661
|
}
|
|
674
662
|
});
|
|
675
663
|
this.models = [...this.models];
|
|
676
|
-
this.selectedModelIds = [];
|
|
677
664
|
}
|
|
678
665
|
/**
|
|
679
666
|
* Deletes one or more models in the list by matching on their `id`.
|
|
@@ -685,6 +672,13 @@ let TechlifyListComponent = class TechlifyListComponent {
|
|
|
685
672
|
models = [models];
|
|
686
673
|
}
|
|
687
674
|
this.models = this.models.filter((m) => !(models.some((item) => item.id === m.id)));
|
|
675
|
+
}
|
|
676
|
+
/**
|
|
677
|
+
* Clears the list of selected models, this will also
|
|
678
|
+
* close the bulk update form that checks
|
|
679
|
+
* for selected models length
|
|
680
|
+
*/
|
|
681
|
+
clearSelectedModels() {
|
|
688
682
|
this.selectedModelIds = [];
|
|
689
683
|
}
|
|
690
684
|
/**
|
|
@@ -701,16 +695,6 @@ let TechlifyListComponent = class TechlifyListComponent {
|
|
|
701
695
|
}
|
|
702
696
|
this.models = [...this.models];
|
|
703
697
|
}
|
|
704
|
-
/**
|
|
705
|
-
* @deprecated will be removed in release/18.57.0
|
|
706
|
-
*
|
|
707
|
-
* Remove a model from the list.
|
|
708
|
-
* @param index Index of the model in the list.
|
|
709
|
-
*/
|
|
710
|
-
modelDeleted(index) {
|
|
711
|
-
this.models.splice(index, 1);
|
|
712
|
-
this.models = [...this.models];
|
|
713
|
-
}
|
|
714
698
|
/**
|
|
715
699
|
* Used for multi select
|
|
716
700
|
* Trigerred when select all is toggled
|
|
@@ -4647,7 +4631,7 @@ let AuditLogListComponent = class AuditLogListComponent extends TechlifyListComp
|
|
|
4647
4631
|
this.showFilter = true;
|
|
4648
4632
|
this.showExportButtons = true;
|
|
4649
4633
|
this.disableFilterPatchingFromUrl = false;
|
|
4650
|
-
this.scrollContainer = '
|
|
4634
|
+
this.scrollContainer = ''; //Don't default the scroll container. Override it where ever required.
|
|
4651
4635
|
this.displayedColumns = [
|
|
4652
4636
|
'index',
|
|
4653
4637
|
'id',
|
|
@@ -4741,14 +4725,14 @@ let AuditLogListComponent = class AuditLogListComponent extends TechlifyListComp
|
|
|
4741
4725
|
super.loadData(filters);
|
|
4742
4726
|
}
|
|
4743
4727
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AuditLogListComponent, deps: [{ token: i1$2.Router }, { token: i1$6.DomSanitizer }, { token: i1$5.FormBuilder }, { token: AuditLogService }, { token: i2$1.DatePipe }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4744
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: AuditLogListComponent, selector: "app-audit-log-list", inputs: { objectId: "objectId", objectType: "objectType", showFilter: "showFilter", showExportButtons: "showExportButtons", userId: "userId", disableFilterPatchingFromUrl: "disableFilterPatchingFromUrl", scrollContainer: "scrollContainer" }, usesInheritance: true, ngImport: i0, template: "<
|
|
4728
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: AuditLogListComponent, selector: "app-audit-log-list", inputs: { objectId: "objectId", objectType: "objectType", showFilter: "showFilter", showExportButtons: "showExportButtons", userId: "userId", disableFilterPatchingFromUrl: "disableFilterPatchingFromUrl", scrollContainer: "scrollContainer" }, usesInheritance: true, ngImport: i0, template: "<div class=\"m-2\">\n <mat-card>\n <mat-card-content>\n <div class=\"d-flex justify-content-between align-items-center gap-3\">\n <div class=\"d-flex justify-content-start align-items-center gap-2\" style=\"min-width: 200px\">\n <h5 class=\"mb-0\"> Audit Logs </h5>\n <app-export-excel-button *ngIf=\"showExportButtons\" matTooltip=\"Export\" elementId=\"audit-logs-table\"\n class=\"mt-1\" name=\"AuditLogs\" [data]=\"excelData\">\n </app-export-excel-button>\n </div>\n\n <app-audit-log-list-filter class=\"w-100\" *ngIf=\"showFilter\" [filterForm]=\"filterForm\" [objectType]=\"objectType\"\n [objectId]=\"objectId\"></app-audit-log-list-filter>\n </div>\n </mat-card-content>\n </mat-card>\n\n <mat-card class=\"mt-2\">\n <mat-card-content>\n <table mat-table [dataSource]=\"models\" matSort class=\"w-100\" infiniteScroll [infiniteScrollDistance]=\"2\"\n [infiniteScrollThrottle]=\"50\" [infiniteScrollContainer]=\"scrollContainer\" (scrolled)=\"onScroll()\"\n [fromRoot]=\"true\" (matSortChange)=\"sortColumn($event)\">\n\n <!-- Index Column -->\n <ng-container matColumnDef=\"index\">\n <th mat-header-cell *matHeaderCellDef> # </th>\n <td mat-cell *matCellDef=\"let i = index\"> {{ i+1 }} </td>\n </ng-container>\n\n <ng-container matColumnDef=\"id\">\n <th mat-header-cell *matHeaderCellDef> Log # </th>\n <td mat-cell *matCellDef=\"let auditLog\">\n {{auditLog?.id}}\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"object_type\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> Model Type </th>\n <td mat-cell *matCellDef=\"let auditLog;\"> {{ auditLog.object_type }} </td>\n </ng-container>\n\n <ng-container matColumnDef=\"object_id\">\n <th mat-header-cell *matHeaderCellDef> Model # </th>\n <td mat-cell *matCellDef=\"let auditLog\">\n {{auditLog?.object_id}}\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"action\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> Action </th>\n <td mat-cell *matCellDef=\"let auditLog;\"> {{ auditLog?.action }} </td>\n </ng-container>\n\n <ng-container matColumnDef=\"created_at\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> Created At </th>\n <td mat-cell *matCellDef=\"let auditLog\">\n {{auditLog?.created_at | date:'medium'}}\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"user.email\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> Created By </th>\n <td mat-cell *matCellDef=\"let auditLog\">\n <p class=\"mb-0\">{{auditLog?.user?.name}}</p>\n <small class=\"text-secondary\">{{ auditLog?.user?.email }}</small>\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"changes\">\n <th mat-header-cell *matHeaderCellDef> Changes</th>\n <td mat-cell *matCellDef=\"let auditLog\">\n <div class=\"px-3\" [innerHtml]=\"sanitizer.bypassSecurityTrustHtml(getTransformedChanges(auditLog))\">\n </div>\n </td>\n </ng-container>\n\n <!-- Actions Column -->\n <ng-container matColumnDef=\"actions\">\n <th mat-header-cell *matHeaderCellDef> Actions </th>\n <td mat-cell *matCellDef=\"let auditLog\">\n <div class=\"text-secondary\">\n <app-techlify-icon role=\"button\" name=\"view\" class=\"clickable\"\n (click)=\"logClicked(auditLog);$event.stopPropagation();\" matTooltip=\"View\"></app-techlify-icon>\n </div>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns; sticky:true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns;\"></tr>\n </table>\n <mat-progress-bar mode=\"indeterminate\" *ngIf=\"isWorking\"></mat-progress-bar>\n </mat-card-content>\n </mat-card>\n</div>", styles: ["tr.row-hover:hover{background-color:#dcdcdc}.scroll-container{height:800px;overflow-y:auto}:host ::ng-deep #old-value{margin-right:5px;background-color:#f08080}:host ::ng-deep #new-value{background-color:#98fb98}\n"], dependencies: [{ kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ExportExcelButtonComponent, selector: "app-export-excel-button", inputs: ["isCSV", "fileName", "data", "tableId"], outputs: ["isExportingToExcel"] }, { kind: "directive", type: i11.MatSort, selector: "[matSort]", inputs: ["matSortActive", "matSortStart", "matSortDirection", "matSortDisableClear", "matSortDisabled"], outputs: ["matSortChange"], exportAs: ["matSort"] }, { kind: "component", type: i11.MatSortHeader, selector: "[mat-sort-header]", inputs: ["mat-sort-header", "arrowPosition", "start", "disabled", "sortActionDescription", "disableClear"], exportAs: ["matSortHeader"] }, { kind: "component", type: i9.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i9.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i9.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i9.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i9.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i9.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i9.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i9.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i9.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i9.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "component", type: i4.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i4.MatCardContent, selector: "mat-card-content" }, { kind: "directive", type: i11$2.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: i11$1.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "directive", type: i6$1.InfiniteScrollDirective, selector: "[infiniteScroll], [infinite-scroll], [data-infinite-scroll]", inputs: ["infiniteScrollDistance", "infiniteScrollUpDistance", "infiniteScrollThrottle", "infiniteScrollDisabled", "infiniteScrollContainer", "scrollWindow", "immediateCheck", "horizontal", "alwaysCallback", "fromRoot"], outputs: ["scrolled", "scrolledUp"] }, { kind: "component", type: AuditLogListFilterComponent, selector: "app-audit-log-list-filter", inputs: ["filterForm", "objectId", "objectType"], outputs: ["valueChange"] }, { kind: "component", type: TechlifyIconComponent, selector: "app-techlify-icon", inputs: ["name", "size"] }, { kind: "pipe", type: i2$1.DatePipe, name: "date" }] }); }
|
|
4745
4729
|
};
|
|
4746
4730
|
AuditLogListComponent = __decorate([
|
|
4747
4731
|
UntilDestroy()
|
|
4748
4732
|
], AuditLogListComponent);
|
|
4749
4733
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AuditLogListComponent, decorators: [{
|
|
4750
4734
|
type: Component,
|
|
4751
|
-
args: [{ selector: 'app-audit-log-list', template: "<
|
|
4735
|
+
args: [{ selector: 'app-audit-log-list', template: "<div class=\"m-2\">\n <mat-card>\n <mat-card-content>\n <div class=\"d-flex justify-content-between align-items-center gap-3\">\n <div class=\"d-flex justify-content-start align-items-center gap-2\" style=\"min-width: 200px\">\n <h5 class=\"mb-0\"> Audit Logs </h5>\n <app-export-excel-button *ngIf=\"showExportButtons\" matTooltip=\"Export\" elementId=\"audit-logs-table\"\n class=\"mt-1\" name=\"AuditLogs\" [data]=\"excelData\">\n </app-export-excel-button>\n </div>\n\n <app-audit-log-list-filter class=\"w-100\" *ngIf=\"showFilter\" [filterForm]=\"filterForm\" [objectType]=\"objectType\"\n [objectId]=\"objectId\"></app-audit-log-list-filter>\n </div>\n </mat-card-content>\n </mat-card>\n\n <mat-card class=\"mt-2\">\n <mat-card-content>\n <table mat-table [dataSource]=\"models\" matSort class=\"w-100\" infiniteScroll [infiniteScrollDistance]=\"2\"\n [infiniteScrollThrottle]=\"50\" [infiniteScrollContainer]=\"scrollContainer\" (scrolled)=\"onScroll()\"\n [fromRoot]=\"true\" (matSortChange)=\"sortColumn($event)\">\n\n <!-- Index Column -->\n <ng-container matColumnDef=\"index\">\n <th mat-header-cell *matHeaderCellDef> # </th>\n <td mat-cell *matCellDef=\"let i = index\"> {{ i+1 }} </td>\n </ng-container>\n\n <ng-container matColumnDef=\"id\">\n <th mat-header-cell *matHeaderCellDef> Log # </th>\n <td mat-cell *matCellDef=\"let auditLog\">\n {{auditLog?.id}}\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"object_type\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> Model Type </th>\n <td mat-cell *matCellDef=\"let auditLog;\"> {{ auditLog.object_type }} </td>\n </ng-container>\n\n <ng-container matColumnDef=\"object_id\">\n <th mat-header-cell *matHeaderCellDef> Model # </th>\n <td mat-cell *matCellDef=\"let auditLog\">\n {{auditLog?.object_id}}\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"action\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> Action </th>\n <td mat-cell *matCellDef=\"let auditLog;\"> {{ auditLog?.action }} </td>\n </ng-container>\n\n <ng-container matColumnDef=\"created_at\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> Created At </th>\n <td mat-cell *matCellDef=\"let auditLog\">\n {{auditLog?.created_at | date:'medium'}}\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"user.email\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> Created By </th>\n <td mat-cell *matCellDef=\"let auditLog\">\n <p class=\"mb-0\">{{auditLog?.user?.name}}</p>\n <small class=\"text-secondary\">{{ auditLog?.user?.email }}</small>\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"changes\">\n <th mat-header-cell *matHeaderCellDef> Changes</th>\n <td mat-cell *matCellDef=\"let auditLog\">\n <div class=\"px-3\" [innerHtml]=\"sanitizer.bypassSecurityTrustHtml(getTransformedChanges(auditLog))\">\n </div>\n </td>\n </ng-container>\n\n <!-- Actions Column -->\n <ng-container matColumnDef=\"actions\">\n <th mat-header-cell *matHeaderCellDef> Actions </th>\n <td mat-cell *matCellDef=\"let auditLog\">\n <div class=\"text-secondary\">\n <app-techlify-icon role=\"button\" name=\"view\" class=\"clickable\"\n (click)=\"logClicked(auditLog);$event.stopPropagation();\" matTooltip=\"View\"></app-techlify-icon>\n </div>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns; sticky:true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns;\"></tr>\n </table>\n <mat-progress-bar mode=\"indeterminate\" *ngIf=\"isWorking\"></mat-progress-bar>\n </mat-card-content>\n </mat-card>\n</div>", styles: ["tr.row-hover:hover{background-color:#dcdcdc}.scroll-container{height:800px;overflow-y:auto}:host ::ng-deep #old-value{margin-right:5px;background-color:#f08080}:host ::ng-deep #new-value{background-color:#98fb98}\n"] }]
|
|
4752
4736
|
}], ctorParameters: () => [{ type: i1$2.Router }, { type: i1$6.DomSanitizer }, { type: i1$5.FormBuilder }, { type: AuditLogService }, { type: i2$1.DatePipe }], propDecorators: { objectId: [{
|
|
4753
4737
|
type: Input
|
|
4754
4738
|
}], objectType: [{
|
|
@@ -8364,30 +8348,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
8364
8348
|
args: [MAT_DIALOG_DATA]
|
|
8365
8349
|
}] }, { type: HttpService }] });
|
|
8366
8350
|
|
|
8367
|
-
|
|
8368
|
-
constructor(dialogRef, data
|
|
8351
|
+
class AuditLogsViewModelComponent {
|
|
8352
|
+
constructor(dialogRef, data) {
|
|
8369
8353
|
this.dialogRef = dialogRef;
|
|
8370
8354
|
this.data = data;
|
|
8371
|
-
this.router = router;
|
|
8372
8355
|
}
|
|
8373
8356
|
ngOnInit() {
|
|
8374
|
-
this.router.events
|
|
8375
|
-
.pipe(filter(event => event instanceof NavigationEnd), untilDestroyed(this))
|
|
8376
|
-
.subscribe(_ => this.dialogRef.close());
|
|
8377
8357
|
}
|
|
8378
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AuditLogsViewModelComponent, deps: [{ token: i1.MatDialogRef }, { token: MAT_DIALOG_DATA }
|
|
8358
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AuditLogsViewModelComponent, deps: [{ token: i1.MatDialogRef }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8379
8359
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: AuditLogsViewModelComponent, selector: "app-audit-logs-view-model", ngImport: i0, template: "<app-audit-log-list\n [objectId]=\"data?.modelId\"\n [objectType]=\"data?.modelType\"\n [showExportButtons]=\"false\"\n [disableFilterPatchingFromUrl]=\"true\"\n scrollContainer=\".mat-mdc-dialog-panel\"\n>\n</app-audit-log-list>\n", styles: ["::ng-deep app-audit-log-list .scroll-container{height:350px!important;overflow-y:scroll}\n"], dependencies: [{ kind: "component", type: AuditLogListComponent, selector: "app-audit-log-list", inputs: ["objectId", "objectType", "showFilter", "showExportButtons", "userId", "disableFilterPatchingFromUrl", "scrollContainer"] }] }); }
|
|
8380
|
-
}
|
|
8381
|
-
AuditLogsViewModelComponent = __decorate([
|
|
8382
|
-
UntilDestroy()
|
|
8383
|
-
], AuditLogsViewModelComponent);
|
|
8360
|
+
}
|
|
8384
8361
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AuditLogsViewModelComponent, decorators: [{
|
|
8385
8362
|
type: Component,
|
|
8386
8363
|
args: [{ selector: 'app-audit-logs-view-model', template: "<app-audit-log-list\n [objectId]=\"data?.modelId\"\n [objectType]=\"data?.modelType\"\n [showExportButtons]=\"false\"\n [disableFilterPatchingFromUrl]=\"true\"\n scrollContainer=\".mat-mdc-dialog-panel\"\n>\n</app-audit-log-list>\n", styles: ["::ng-deep app-audit-log-list .scroll-container{height:350px!important;overflow-y:scroll}\n"] }]
|
|
8387
8364
|
}], ctorParameters: () => [{ type: i1.MatDialogRef }, { type: undefined, decorators: [{
|
|
8388
8365
|
type: Inject,
|
|
8389
8366
|
args: [MAT_DIALOG_DATA]
|
|
8390
|
-
}] }
|
|
8367
|
+
}] }] });
|
|
8391
8368
|
|
|
8392
8369
|
class AuditLogForModelComponent {
|
|
8393
8370
|
constructor(dialog) {
|