@firestitch/list 12.13.1 → 12.13.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.
@@ -2833,6 +2833,7 @@ class List {
2833
2833
  this.fetchFn = config.fetch;
2834
2834
  this.afterFetchFn = config.afterFetch;
2835
2835
  this.beforeFetchFn = config.beforeFetch;
2836
+ this.afterInit = config.afterInit;
2836
2837
  this.columns.initConfig(config.column);
2837
2838
  this.initDefaultOptions(config);
2838
2839
  this.initRestore();
@@ -5256,6 +5257,11 @@ class FsListComponent {
5256
5257
  get filtersQuery() {
5257
5258
  return this.list.filtersQuery;
5258
5259
  }
5260
+ ngAfterContentInit() {
5261
+ if (this.list.afterInit) {
5262
+ this.list.afterInit(this);
5263
+ }
5264
+ }
5259
5265
  ngOnInit() {
5260
5266
  this._subscribeToRemoveRow();
5261
5267
  this._subscribeToGroupExpandStatusChange();
@@ -5387,13 +5393,12 @@ class FsListComponent {
5387
5393
  if (actionClickFn) {
5388
5394
  actionClickFn(null);
5389
5395
  }
5390
- const dialogRef = this.dialog.open(CustomizeColsDialogComponent, {
5396
+ this.dialog.open(CustomizeColsDialogComponent, {
5391
5397
  data: {
5392
5398
  columns: this.list.columns.columnsForDialog,
5393
5399
  changeFn: this.list.columns.changeFn,
5394
5400
  },
5395
- });
5396
- dialogRef
5401
+ })
5397
5402
  .afterClosed()
5398
5403
  .pipe(takeUntil(this.list.onDestroy$), takeUntil(this._destroy))
5399
5404
  .subscribe((data) => {