@universis/ngx-tables 6.13.9 → 6.14.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.
@@ -1,4 +1,4 @@
1
- import { OnInit, OnDestroy } from '@angular/core';
1
+ import { OnDestroy, AfterViewInit } from '@angular/core';
2
2
  import { AngularDataContext } from '@themost/angular';
3
3
  import { TranslateService } from '@ngx-translate/core';
4
4
  import { ActivatedRoute } from '@angular/router';
@@ -6,7 +6,7 @@ import { AdvancedTableComponent, AdvancedTableDataResult } from '../advanced-tab
6
6
  import { ErrorService, ModalService, UserActivityService } from '@universis/common';
7
7
  import { TableConfiguration } from '../advanced-table/advanced-table.interfaces';
8
8
  import { ToastService } from '@universis/common';
9
- export declare class AdvancedListComponent implements OnInit, OnDestroy {
9
+ export declare class AdvancedListComponent implements AfterViewInit, OnDestroy {
10
10
  private _context;
11
11
  private _translateService;
12
12
  private _activatedRoute;
@@ -30,7 +30,7 @@ export declare class AdvancedListComponent implements OnInit, OnDestroy {
30
30
  readonly: boolean;
31
31
  constructor(_context: AngularDataContext, _translateService: TranslateService, _activatedRoute: ActivatedRoute, _errorService: ErrorService, _toastService: ToastService, _modalService: ModalService, _userActivityService: UserActivityService);
32
32
  ngOnDestroy(): void;
33
- ngOnInit(): Promise<void>;
33
+ ngAfterViewInit(): Promise<void>;
34
34
  /**
35
35
  * Data load event handler of advanced table component
36
36
  * @param data
@@ -1,4 +1,4 @@
1
- import { ElementRef, EventEmitter, InjectionToken, Injector, OnDestroy, OnInit, OnChanges, SimpleChanges, TemplateRef, ViewContainerRef, AfterViewInit } from '@angular/core';
1
+ import { ElementRef, EventEmitter, InjectionToken, Injector, OnDestroy, OnInit, OnChanges, SimpleChanges, TemplateRef, ViewContainerRef, AfterViewInit, ErrorHandler } from '@angular/core';
2
2
  import { AngularDataContext } from '@themost/angular';
3
3
  import { TranslatePipe, TranslateService } from '@ngx-translate/core';
4
4
  import { ActivatedRoute } from '@angular/router';
@@ -45,6 +45,7 @@ export declare class AdvancedTableComponent implements OnInit, OnDestroy, OnChan
45
45
  private _modalService;
46
46
  private _errorService;
47
47
  private _viewContainerRef;
48
+ private _errorHandler;
48
49
  private _query?;
49
50
  private _config?;
50
51
  private _firstLoad;
@@ -152,7 +153,7 @@ export declare class AdvancedTableComponent implements OnInit, OnDestroy, OnChan
152
153
  private lastQueryParams?;
153
154
  private _lastQueryTotalItems;
154
155
  private reloadSubscription;
155
- constructor(_context: AngularDataContext, _columnFormatters: AdvancedTableFormatters, _activatedRoute: ActivatedRoute, _translateService: TranslateService, _injector: Injector, _advancedFilterValueProvider: AdvancedFilterValueProvider, _element: ElementRef, _template: TemplatePipe, _loading: LoadingService, _http: HttpClient, _columnSelector: ColumnSelectorService, _configuration: ConfigurationService, _exportSpreadsheet: ExportSpreadsheetService, _modalService: ModalService, _errorService: ErrorService, _viewContainerRef: ViewContainerRef);
156
+ constructor(_context: AngularDataContext, _columnFormatters: AdvancedTableFormatters, _activatedRoute: ActivatedRoute, _translateService: TranslateService, _injector: Injector, _advancedFilterValueProvider: AdvancedFilterValueProvider, _element: ElementRef, _template: TemplatePipe, _loading: LoadingService, _http: HttpClient, _columnSelector: ColumnSelectorService, _configuration: ConfigurationService, _exportSpreadsheet: ExportSpreadsheetService, _modalService: ModalService, _errorService: ErrorService, _viewContainerRef: ViewContainerRef, _errorHandler: ErrorHandler);
156
157
  search(searchText: any): void;
157
158
  fetch(clearSelected?: boolean): void;
158
159
  destroy(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@universis/ngx-tables",
3
- "version": "6.13.9",
3
+ "version": "6.14.2",
4
4
  "dependencies": {
5
5
  "datatables.net": "^1.13.11",
6
6
  "datatables.net-buttons": "^1.5.6",