@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.
- package/README.md +1 -1
- package/bundles/universis-ngx-tables.umd.js +18 -3
- package/bundles/universis-ngx-tables.umd.js.map +1 -1
- package/bundles/universis-ngx-tables.umd.min.js +1 -1
- package/bundles/universis-ngx-tables.umd.min.js.map +1 -1
- package/esm2015/lib/components/advanced-list/advanced-list.component.js +2 -2
- package/esm2015/lib/components/advanced-table/advanced-table.component.js +22 -4
- package/esm5/lib/components/advanced-list/advanced-list.component.js +2 -2
- package/esm5/lib/components/advanced-table/advanced-table.component.js +21 -4
- package/fesm2015/universis-ngx-tables.js +20 -4
- package/fesm2015/universis-ngx-tables.js.map +1 -1
- package/fesm5/universis-ngx-tables.js +20 -5
- package/fesm5/universis-ngx-tables.js.map +1 -1
- package/lib/components/advanced-list/advanced-list.component.d.ts +3 -3
- package/lib/components/advanced-table/advanced-table.component.d.ts +3 -2
- package/package.json +1 -1
- package/universis-ngx-tables.metadata.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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
|
|
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
|
-
|
|
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;
|