@universis/ngx-tables 6.0.0 → 15.0.3
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/actions/table.actions.mjs +27 -0
- package/esm2020/lib/advanced-aggregator.mjs +2 -0
- package/esm2020/lib/components/add-items/add-items.component.mjs +138 -0
- package/esm2020/lib/components/advanced-aggregator/advanced-aggregator.component.mjs +126 -0
- package/esm2020/lib/components/advanced-aggregator-list/advanced-aggregator-list.component.mjs +53 -0
- package/esm2020/lib/components/advanced-list/advanced-list.component.mjs +184 -0
- package/esm2020/lib/components/advanced-row-action/advanced-row-action.component.mjs +178 -0
- package/esm2020/lib/components/advanced-search-form/advanced-search-form.component.mjs +154 -0
- package/esm2020/lib/components/advanced-select/advanced-select.component.mjs +42 -0
- package/esm2020/lib/components/advanced-select/advanced-select.service.mjs +38 -0
- package/esm2020/lib/components/advanced-table/advanced-filter-value-provider.service.mjs +31 -0
- package/esm2020/lib/components/advanced-table/advanced-table-resolvers.mjs +40 -0
- package/esm2020/lib/components/advanced-table/advanced-table-search-base.mjs +31 -0
- package/esm2020/lib/components/advanced-table/advanced-table-search.component.mjs +525 -0
- package/esm2020/lib/components/advanced-table/advanced-table-settings.component.mjs +108 -0
- package/esm2020/lib/components/advanced-table/advanced-table.component.mjs +1599 -0
- package/esm2020/lib/components/advanced-table/advanced-table.formatters.interface.mjs +17 -0
- package/esm2020/lib/components/advanced-table/advanced-table.formatters.mjs +429 -0
- package/esm2020/lib/components/advanced-table/advanced-table.interfaces.mjs +2 -0
- package/esm2020/lib/components/advanced-table-modal/advanced-table-modal-base.component.mjs +420 -0
- package/esm2020/lib/components/column-selector/column-selector.component.mjs +205 -0
- package/esm2020/lib/components/column-selector/column-selector.service.mjs +45 -0
- package/esm2020/lib/components/table-simple-header/table-simple-header.component.mjs +52 -0
- package/esm2020/lib/directives/advance-search-state.directive.mjs +111 -0
- package/esm2020/lib/directives/advance-table-state.directive.mjs +63 -0
- package/esm2020/lib/directives/advanced-search-router-state.directive.mjs +64 -0
- package/esm2020/lib/directives/advanced-table-editor.directive.mjs +154 -0
- package/esm2020/lib/directives/btnexp.directive.mjs +222 -0
- package/esm2020/lib/i18n/tables.el.mjs +129 -0
- package/esm2020/lib/i18n/tables.en.mjs +128 -0
- package/esm2020/lib/pipes/advanced-aggregator.pipe.mjs +38 -0
- package/esm2020/lib/pipes/advansed-aggregator-list-title-parse.pipe.mjs +45 -0
- package/esm2020/lib/reducers/index.mjs +37 -0
- package/esm2020/lib/services/advanced-aggregator/advanced-aggregator.service.mjs +119 -0
- package/esm2020/lib/tables.activated-table.service.mjs +46 -0
- package/esm2020/lib/tables.module.mjs +218 -0
- package/esm2020/public_api.mjs +37 -0
- package/esm2020/universis-ngx-tables.mjs +5 -0
- package/fesm2015/universis-ngx-tables.mjs +5642 -0
- package/fesm2015/universis-ngx-tables.mjs.map +1 -0
- package/fesm2020/universis-ngx-tables.mjs +5609 -0
- package/fesm2020/universis-ngx-tables.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/actions/table.actions.d.ts +4 -4
- package/lib/components/add-items/add-items.component.d.ts +8 -8
- package/lib/components/advanced-aggregator/advanced-aggregator.component.d.ts +10 -4
- package/lib/components/advanced-aggregator-list/advanced-aggregator-list.component.d.ts +4 -1
- package/lib/components/advanced-list/advanced-list.component.d.ts +6 -3
- package/lib/components/advanced-row-action/advanced-row-action.component.d.ts +9 -7
- package/lib/components/advanced-search-form/advanced-search-form.component.d.ts +4 -1
- package/lib/components/advanced-select/advanced-select.component.d.ts +3 -1
- package/lib/components/advanced-select/advanced-select.service.d.ts +3 -0
- package/lib/components/advanced-table/advanced-filter-value-provider.service.d.ts +3 -0
- package/lib/components/advanced-table/advanced-table-resolvers.d.ts +5 -0
- package/lib/components/advanced-table/advanced-table-search-base.d.ts +6 -2
- package/lib/components/advanced-table/advanced-table-search.component.d.ts +6 -2
- package/lib/components/advanced-table/advanced-table-settings.component.d.ts +3 -0
- package/lib/components/advanced-table/advanced-table.component.d.ts +21 -12
- package/lib/components/advanced-table-modal/advanced-table-modal-base.component.d.ts +4 -1
- package/lib/components/column-selector/column-selector.component.d.ts +8 -5
- package/lib/components/column-selector/column-selector.service.d.ts +3 -0
- package/lib/components/table-simple-header/table-simple-header.component.d.ts +8 -3
- package/lib/directives/advance-search-state.directive.d.ts +3 -0
- package/lib/directives/advance-table-state.directive.d.ts +3 -0
- package/lib/directives/advanced-search-router-state.directive.d.ts +3 -0
- package/lib/directives/advanced-table-editor.directive.d.ts +4 -1
- package/lib/directives/btnexp.directive.d.ts +3 -0
- package/lib/i18n/tables.el.d.ts +107 -107
- package/lib/i18n/tables.en.d.ts +106 -106
- package/lib/pipes/advanced-aggregator.pipe.d.ts +4 -1
- package/lib/pipes/advansed-aggregator-list-title-parse.pipe.d.ts +4 -1
- package/lib/reducers/index.d.ts +5 -3
- package/lib/services/advanced-aggregator/advanced-aggregator.service.d.ts +3 -0
- package/lib/tables.activated-table.service.d.ts +5 -1
- package/lib/tables.module.d.ts +36 -0
- package/package.json +44 -42
- package/public_api.d.ts +3 -0
- package/bundles/universis-ngx-tables.umd.js +0 -8161
- package/bundles/universis-ngx-tables.umd.js.map +0 -1
- package/bundles/universis-ngx-tables.umd.min.js +0 -2
- package/bundles/universis-ngx-tables.umd.min.js.map +0 -1
- package/esm2015/lib/actions/table.actions.js +0 -69
- package/esm2015/lib/advanced-aggregator.js +0 -6
- package/esm2015/lib/components/add-items/add-items.component.js +0 -209
- package/esm2015/lib/components/advanced-aggregator/advanced-aggregator.component.js +0 -190
- package/esm2015/lib/components/advanced-aggregator-list/advanced-aggregator-list.component.js +0 -80
- package/esm2015/lib/components/advanced-list/advanced-list.component.js +0 -245
- package/esm2015/lib/components/advanced-row-action/advanced-row-action.component.js +0 -265
- package/esm2015/lib/components/advanced-search-form/advanced-search-form.component.js +0 -213
- package/esm2015/lib/components/advanced-select/advanced-select.component.js +0 -97
- package/esm2015/lib/components/advanced-select/advanced-select.service.js +0 -57
- package/esm2015/lib/components/advanced-table/advanced-filter-value-provider.service.js +0 -58
- package/esm2015/lib/components/advanced-table/advanced-table-resolvers.js +0 -72
- package/esm2015/lib/components/advanced-table/advanced-table-search-base.js +0 -49
- package/esm2015/lib/components/advanced-table/advanced-table-search.component.js +0 -718
- package/esm2015/lib/components/advanced-table/advanced-table-settings.component.js +0 -191
- package/esm2015/lib/components/advanced-table/advanced-table.component.js +0 -1973
- package/esm2015/lib/components/advanced-table/advanced-table.formatters.interface.js +0 -53
- package/esm2015/lib/components/advanced-table/advanced-table.formatters.js +0 -642
- package/esm2015/lib/components/advanced-table/advanced-table.interfaces.js +0 -6
- package/esm2015/lib/components/advanced-table-modal/advanced-table-modal-base.component.js +0 -553
- package/esm2015/lib/components/column-selector/column-selector.component.js +0 -296
- package/esm2015/lib/components/column-selector/column-selector.service.js +0 -64
- package/esm2015/lib/components/table-simple-header/table-simple-header.component.js +0 -76
- package/esm2015/lib/directives/advance-search-state.directive.js +0 -147
- package/esm2015/lib/directives/advance-table-state.directive.js +0 -86
- package/esm2015/lib/directives/advanced-search-router-state.directive.js +0 -90
- package/esm2015/lib/directives/advanced-table-editor.directive.js +0 -186
- package/esm2015/lib/directives/btnexp.directive.js +0 -272
- package/esm2015/lib/i18n/tables.el.js +0 -133
- package/esm2015/lib/i18n/tables.en.js +0 -132
- package/esm2015/lib/pipes/advanced-aggregator.pipe.js +0 -39
- package/esm2015/lib/pipes/advansed-aggregator-list-title-parse.pipe.js +0 -58
- package/esm2015/lib/reducers/index.js +0 -63
- package/esm2015/lib/services/advanced-aggregator/advanced-aggregator.service.js +0 -142
- package/esm2015/lib/tables.activated-table.service.js +0 -85
- package/esm2015/lib/tables.module.js +0 -163
- package/esm2015/public_api.js +0 -37
- package/esm2015/universis-ngx-tables.js +0 -13
- package/esm5/lib/actions/table.actions.js +0 -64
- package/esm5/lib/advanced-aggregator.js +0 -6
- package/esm5/lib/components/add-items/add-items.component.js +0 -243
- package/esm5/lib/components/advanced-aggregator/advanced-aggregator.component.js +0 -265
- package/esm5/lib/components/advanced-aggregator-list/advanced-aggregator-list.component.js +0 -99
- package/esm5/lib/components/advanced-list/advanced-list.component.js +0 -273
- package/esm5/lib/components/advanced-row-action/advanced-row-action.component.js +0 -288
- package/esm5/lib/components/advanced-search-form/advanced-search-form.component.js +0 -232
- package/esm5/lib/components/advanced-select/advanced-select.component.js +0 -103
- package/esm5/lib/components/advanced-select/advanced-select.service.js +0 -61
- package/esm5/lib/components/advanced-table/advanced-filter-value-provider.service.js +0 -82
- package/esm5/lib/components/advanced-table/advanced-table-resolvers.js +0 -80
- package/esm5/lib/components/advanced-table/advanced-table-search-base.js +0 -59
- package/esm5/lib/components/advanced-table/advanced-table-search.component.js +0 -828
- package/esm5/lib/components/advanced-table/advanced-table-settings.component.js +0 -212
- package/esm5/lib/components/advanced-table/advanced-table.component.js +0 -2145
- package/esm5/lib/components/advanced-table/advanced-table.formatters.interface.js +0 -53
- package/esm5/lib/components/advanced-table/advanced-table.formatters.js +0 -815
- package/esm5/lib/components/advanced-table/advanced-table.interfaces.js +0 -6
- package/esm5/lib/components/advanced-table-modal/advanced-table-modal-base.component.js +0 -555
- package/esm5/lib/components/column-selector/column-selector.component.js +0 -389
- package/esm5/lib/components/column-selector/column-selector.service.js +0 -68
- package/esm5/lib/components/table-simple-header/table-simple-header.component.js +0 -92
- package/esm5/lib/directives/advance-search-state.directive.js +0 -169
- package/esm5/lib/directives/advance-table-state.directive.js +0 -87
- package/esm5/lib/directives/advanced-search-router-state.directive.js +0 -98
- package/esm5/lib/directives/advanced-table-editor.directive.js +0 -244
- package/esm5/lib/directives/btnexp.directive.js +0 -389
- package/esm5/lib/i18n/tables.el.js +0 -133
- package/esm5/lib/i18n/tables.en.js +0 -132
- package/esm5/lib/pipes/advanced-aggregator.pipe.js +0 -65
- package/esm5/lib/pipes/advansed-aggregator-list-title-parse.pipe.js +0 -75
- package/esm5/lib/reducers/index.js +0 -65
- package/esm5/lib/services/advanced-aggregator/advanced-aggregator.service.js +0 -196
- package/esm5/lib/tables.activated-table.service.js +0 -88
- package/esm5/lib/tables.module.js +0 -168
- package/esm5/public_api.js +0 -37
- package/esm5/universis-ngx-tables.js +0 -13
- package/fesm2015/universis-ngx-tables.js +0 -6745
- package/fesm2015/universis-ngx-tables.js.map +0 -1
- package/fesm5/universis-ngx-tables.js +0 -7837
- package/fesm5/universis-ngx-tables.js.map +0 -1
- package/universis-ngx-tables.d.ts +0 -8
- package/universis-ngx-tables.metadata.json +0 -1
package/index.d.ts
ADDED
|
@@ -6,19 +6,19 @@ export declare enum TableActionTypes {
|
|
|
6
6
|
}
|
|
7
7
|
export declare class LoadFilter implements Action {
|
|
8
8
|
readonly id: string;
|
|
9
|
-
readonly type
|
|
9
|
+
readonly type = TableActionTypes.LoadFilter;
|
|
10
10
|
constructor(id: string);
|
|
11
11
|
}
|
|
12
12
|
export declare class AppendFilter implements Action {
|
|
13
13
|
readonly id: string;
|
|
14
14
|
readonly filter: any;
|
|
15
|
-
readonly type
|
|
15
|
+
readonly type = TableActionTypes.AppendFilter;
|
|
16
16
|
constructor(id: string, filter: any);
|
|
17
17
|
}
|
|
18
18
|
export declare class AppendState implements Action {
|
|
19
19
|
readonly id: string;
|
|
20
20
|
readonly data: any;
|
|
21
|
-
readonly type
|
|
21
|
+
readonly type = TableActionTypes.AppendState;
|
|
22
22
|
constructor(id: string, data: any);
|
|
23
23
|
}
|
|
24
|
-
export
|
|
24
|
+
export type TableActions = LoadFilter | AppendFilter | AppendState;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AfterViewInit, OnDestroy } from '@angular/core';
|
|
2
2
|
import { RouterModalOkCancel } from '@universis/common/routing';
|
|
3
3
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import { AdvancedTableModalBaseComponent } from '../advanced-table-modal/advanced-table-modal-base.component';
|
|
6
6
|
import { AdvancedFormComponent } from '@universis/forms';
|
|
7
7
|
import { LoadingService, ModalService } from '@universis/common';
|
|
8
|
-
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class AddItemsComponent extends RouterModalOkCancel implements AfterViewInit, OnDestroy {
|
|
9
10
|
private _modalService;
|
|
10
11
|
private _loadingService;
|
|
11
12
|
loading: boolean;
|
|
@@ -22,16 +23,15 @@ export declare class AddItemsComponent extends RouterModalOkCancel implements On
|
|
|
22
23
|
private formChangeSubscription?;
|
|
23
24
|
private selectedSubscription?;
|
|
24
25
|
constructor(router: Router, activatedRoute: ActivatedRoute, _modalService: ModalService, _loadingService: LoadingService);
|
|
25
|
-
|
|
26
|
+
ngAfterViewInit(): void;
|
|
26
27
|
cancel(): Promise<any>;
|
|
27
28
|
ngOnDestroy(): void;
|
|
28
29
|
private executeSubscription?;
|
|
29
|
-
|
|
30
|
+
get formData(): any;
|
|
30
31
|
ok(): Promise<any>;
|
|
31
32
|
onChange($event: any): void;
|
|
32
33
|
clearMessages(): void;
|
|
33
|
-
onFilterChange(event:
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}): void;
|
|
34
|
+
onFilterChange(event: any): void;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AddItemsComponent, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AddItemsComponent, "app-add-items", never, { "execute": "execute"; "items": "items"; "target": "target"; "tableConfiguration": "tableConfiguration"; "formName": "formName"; "messages": "messages"; }, {}, never, never, false, never>;
|
|
37
37
|
}
|
|
@@ -2,6 +2,7 @@ import { OnInit, EventEmitter, OnDestroy, ChangeDetectorRef } from '@angular/cor
|
|
|
2
2
|
import { AdvancedAggregatorService } from '../../services/advanced-aggregator/advanced-aggregator.service';
|
|
3
3
|
import { AdvancedAggregatorConfig, AdvancedAggregatorFilters } from '../../advanced-aggregator';
|
|
4
4
|
import { LoadingService } from '@universis/common';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
/**
|
|
6
7
|
*
|
|
7
8
|
*
|
|
@@ -17,15 +18,18 @@ export declare class AdvancedAggregatorComponent implements OnInit, OnDestroy {
|
|
|
17
18
|
private _postProcessors;
|
|
18
19
|
body: any;
|
|
19
20
|
groups: any[];
|
|
20
|
-
config: AdvancedAggregatorConfig;
|
|
21
|
-
aggregators: any;
|
|
22
|
-
postProcessors: any;
|
|
21
|
+
set config(value: AdvancedAggregatorConfig);
|
|
22
|
+
set aggregators(value: any);
|
|
23
|
+
set postProcessors(value: any);
|
|
23
24
|
params: any;
|
|
24
25
|
selectedGroups$: any;
|
|
25
26
|
filters$: any;
|
|
26
27
|
searchExpression?: string;
|
|
27
|
-
eventHandler: EventEmitter<
|
|
28
|
+
eventHandler: EventEmitter<any>;
|
|
28
29
|
constructor(_changeDetector: ChangeDetectorRef, _advancedAggregatorService: AdvancedAggregatorService, _loadingService: LoadingService);
|
|
30
|
+
get config(): AdvancedAggregatorConfig;
|
|
31
|
+
get aggregators(): any;
|
|
32
|
+
get postProcessors(): any;
|
|
29
33
|
ngOnInit(): Promise<void>;
|
|
30
34
|
ngOnDestroy(): Promise<void>;
|
|
31
35
|
/**
|
|
@@ -42,4 +46,6 @@ export declare class AdvancedAggregatorComponent implements OnInit, OnDestroy {
|
|
|
42
46
|
*
|
|
43
47
|
*/
|
|
44
48
|
onActionEvent(event: any): void;
|
|
49
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedAggregatorComponent, never>;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdvancedAggregatorComponent, "app-advanced-aggregator", never, { "config": "config"; "aggregators": "aggregators"; "postProcessors": "postProcessors"; "params": "params"; "selectedGroups$": "selectedGroups"; "filters$": "filters"; "searchExpression": "searchExpression"; }, { "eventHandler": "eventHandler"; }, never, never, false, never>;
|
|
45
51
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
2
|
import { TemplatePipe } from '@universis/common';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class AdvancedAggregatorListComponent implements OnInit {
|
|
4
5
|
private _template;
|
|
5
6
|
/**
|
|
@@ -10,7 +11,7 @@ export declare class AdvancedAggregatorListComponent implements OnInit {
|
|
|
10
11
|
* @property {Array<Array<any>>} body The list of data entries to show as the list body
|
|
11
12
|
*/
|
|
12
13
|
body: any;
|
|
13
|
-
clickEvent: EventEmitter<
|
|
14
|
+
clickEvent: EventEmitter<any>;
|
|
14
15
|
constructor(_template: TemplatePipe);
|
|
15
16
|
ngOnInit(): void;
|
|
16
17
|
/**
|
|
@@ -22,4 +23,6 @@ export declare class AdvancedAggregatorListComponent implements OnInit {
|
|
|
22
23
|
* }
|
|
23
24
|
*/
|
|
24
25
|
callCallback(type: string, data: any): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedAggregatorListComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdvancedAggregatorListComponent, "app-advanced-aggregator-list", never, { "config": "config"; "body": "body"; }, { "clickEvent": "clickEvent"; }, never, never, false, never>;
|
|
25
28
|
}
|
|
@@ -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,8 @@ 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
|
-
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class AdvancedListComponent implements AfterViewInit, OnDestroy {
|
|
10
11
|
private _context;
|
|
11
12
|
private _translateService;
|
|
12
13
|
private _activatedRoute;
|
|
@@ -29,7 +30,7 @@ export declare class AdvancedListComponent implements OnInit, OnDestroy {
|
|
|
29
30
|
allowSaveOption: boolean;
|
|
30
31
|
constructor(_context: AngularDataContext, _translateService: TranslateService, _activatedRoute: ActivatedRoute, _errorService: ErrorService, _toastService: ToastService, _modalService: ModalService, _userActivityService: UserActivityService);
|
|
31
32
|
ngOnDestroy(): void;
|
|
32
|
-
|
|
33
|
+
ngAfterViewInit(): Promise<void>;
|
|
33
34
|
/**
|
|
34
35
|
* Data load event handler of advanced table component
|
|
35
36
|
* @param data
|
|
@@ -39,4 +40,6 @@ export declare class AdvancedListComponent implements OnInit, OnDestroy {
|
|
|
39
40
|
* Remove selected items
|
|
40
41
|
*/
|
|
41
42
|
remove(): Promise<void>;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedListComponent, never>;
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdvancedListComponent, "app-advanced-list", never, { "entitySet": "entitySet"; "category": "category"; "description": "description"; "longDescription": "longDescription"; "tableConfiguration": "tableConfiguration"; "searchConfiguration": "searchConfiguration"; "allowSaveOption": "allowSaveOption"; }, {}, never, never, false, never>;
|
|
42
45
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnDestroy, ElementRef, AfterViewInit } from '@angular/core';
|
|
2
2
|
import { TranslateService } from '@ngx-translate/core';
|
|
3
3
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
-
import 'rxjs/add/observable/combineLatest';
|
|
5
4
|
import { ModalService } from '@universis/common';
|
|
6
5
|
import { RouterModalOkCancel } from '@universis/common/routing';
|
|
7
6
|
import { Observable } from 'rxjs';
|
|
8
7
|
import { AdvancedFormComponent } from '@universis/forms';
|
|
9
|
-
import { ProgressbarComponent } from 'ngx-bootstrap/progressbar';
|
|
10
|
-
|
|
8
|
+
import { ProgressbarComponent, ProgressbarType } from 'ngx-bootstrap/progressbar';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class AdvancedRowActionComponent extends RouterModalOkCancel implements AfterViewInit, OnDestroy {
|
|
11
11
|
private _translateService;
|
|
12
12
|
private _modalService;
|
|
13
13
|
invalidSubscription: any;
|
|
@@ -15,7 +15,7 @@ export declare class AdvancedRowActionComponent extends RouterModalOkCancel impl
|
|
|
15
15
|
modalIcon: string;
|
|
16
16
|
description?: string;
|
|
17
17
|
formTemplate?: string;
|
|
18
|
-
progressType:
|
|
18
|
+
progressType: ProgressbarType | any;
|
|
19
19
|
data: any;
|
|
20
20
|
additionalMessage?: string;
|
|
21
21
|
errorMessage: string;
|
|
@@ -28,13 +28,15 @@ export declare class AdvancedRowActionComponent extends RouterModalOkCancel impl
|
|
|
28
28
|
execute?: Observable<any>;
|
|
29
29
|
private refreshSubscription?;
|
|
30
30
|
private executeSubscription?;
|
|
31
|
+
progressValue: number;
|
|
31
32
|
constructor(router: Router, activatedRoute: ActivatedRoute, _translateService: TranslateService, _modalService: ModalService);
|
|
32
|
-
|
|
33
|
-
ngOnInit(): void;
|
|
33
|
+
get form(): AdvancedFormComponent;
|
|
34
34
|
ngAfterViewInit(): void;
|
|
35
35
|
ngOnDestroy(): void;
|
|
36
36
|
cancel(): Promise<any>;
|
|
37
37
|
ok(): Promise<void>;
|
|
38
38
|
showProgress(): void;
|
|
39
39
|
hideProgress(): void;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedRowActionComponent, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdvancedRowActionComponent, "app-advanced-row-action", never, { "items": "items"; "modalIcon": "modalIcon"; "description": "description"; "formTemplate": "formTemplate"; "progressType": "progressType"; "additionalMessage": "additionalMessage"; "errorMessage": "errorMessage"; "refresh": "refresh"; "execute": "execute"; }, { "data": "data"; }, never, never, false, never>;
|
|
40
42
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { AfterViewInit, EventEmitter, OnDestroy, OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { FormioComponent, FormioForm } from 'angular
|
|
2
|
+
import { FormioComponent, FormioForm } from '@formio/angular';
|
|
3
3
|
import { AngularDataContext } from '@themost/angular';
|
|
4
4
|
import { ActivatedRoute } from '@angular/router';
|
|
5
5
|
import { AdvancedTableSearchBaseComponent } from '../advanced-table/advanced-table-search-base';
|
|
6
6
|
import { TranslateService } from '@ngx-translate/core';
|
|
7
7
|
import { HttpClient } from '@angular/common/http';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class AdvancedSearchFormComponent extends AdvancedTableSearchBaseComponent implements OnInit, OnDestroy, AfterViewInit, OnChanges {
|
|
9
10
|
private _context;
|
|
10
11
|
private _translateService;
|
|
@@ -27,4 +28,6 @@ export declare class AdvancedSearchFormComponent extends AdvancedTableSearchBase
|
|
|
27
28
|
onFormLoad(form: FormioForm): void;
|
|
28
29
|
ngAfterViewInit(): void;
|
|
29
30
|
ngOnDestroy(): void;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedSearchFormComponent, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdvancedSearchFormComponent, "app-advanced-search-form", never, { "form": "form"; "formSrc": "formSrc"; }, { "refreshForm": "refreshForm"; "loading": "loading"; }, never, never, false, never>;
|
|
30
33
|
}
|
|
@@ -5,13 +5,15 @@ import { AngularDataContext } from '@themost/angular';
|
|
|
5
5
|
import { AfterViewInit, ElementRef, EventEmitter } from '@angular/core';
|
|
6
6
|
import { BsModalRef } from 'ngx-bootstrap/modal';
|
|
7
7
|
import { DatePipe } from '@angular/common';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class AdvancedSelectComponent extends AdvancedTableModalBaseComponent implements AfterViewInit {
|
|
9
10
|
private _modalRef;
|
|
10
11
|
private el;
|
|
11
12
|
dismiss: EventEmitter<any>;
|
|
12
|
-
searchElement: any;
|
|
13
13
|
constructor(router: Router, activatedRoute: ActivatedRoute, context: AngularDataContext, advancedFilterValueProvider: AdvancedFilterValueProvider, datePipe: DatePipe, _modalRef: BsModalRef, el: ElementRef);
|
|
14
14
|
ngAfterViewInit(): void;
|
|
15
15
|
ok(): Promise<void>;
|
|
16
16
|
cancel(): Promise<void>;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedSelectComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdvancedSelectComponent, "app-advanced-select", never, {}, {}, never, never, false, never>;
|
|
17
19
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ModalService } from '@universis/common';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class AdvancedSelectService {
|
|
3
4
|
private _modal;
|
|
4
5
|
constructor(_modal: ModalService);
|
|
@@ -6,4 +7,6 @@ export declare class AdvancedSelectService {
|
|
|
6
7
|
result: string;
|
|
7
8
|
items: Array<any>;
|
|
8
9
|
}>;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedSelectService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AdvancedSelectService>;
|
|
9
12
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
1
2
|
export declare class AdvancedFilterValueProvider {
|
|
2
3
|
values: {};
|
|
3
4
|
private _template;
|
|
@@ -5,4 +6,6 @@ export declare class AdvancedFilterValueProvider {
|
|
|
5
6
|
buildFilter(filter: any): any;
|
|
6
7
|
asyncBuildFilter(filter: any): Promise<any>;
|
|
7
8
|
getValues(): Promise<{}>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedFilterValueProvider, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AdvancedFilterValueProvider>;
|
|
8
11
|
}
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
import { ActivatedRouteSnapshot, Resolve, RouterStateSnapshot } from '@angular/router';
|
|
2
2
|
import { HttpClient } from '@angular/common/http';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class AdvancedTableConfigurationResolver implements Resolve<string> {
|
|
4
5
|
private _http;
|
|
5
6
|
constructor(_http: HttpClient);
|
|
6
7
|
resolve(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Promise<any> | any;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedTableConfigurationResolver, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AdvancedTableConfigurationResolver>;
|
|
7
10
|
}
|
|
8
11
|
export declare class AdvancedSearchConfigurationResolver implements Resolve<string> {
|
|
9
12
|
private _http;
|
|
10
13
|
constructor(_http: HttpClient);
|
|
11
14
|
resolve(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Promise<any> | any;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedSearchConfigurationResolver, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AdvancedSearchConfigurationResolver>;
|
|
12
17
|
}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class AdvancedTableSearchBaseComponent {
|
|
3
4
|
private _filter;
|
|
4
|
-
filterChange: EventEmitter<
|
|
5
|
-
filter: any;
|
|
5
|
+
filterChange: EventEmitter<any>;
|
|
6
|
+
get filter(): any;
|
|
7
|
+
set filter(value: any);
|
|
6
8
|
onKeyEnter(event: KeyboardEvent): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedTableSearchBaseComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdvancedTableSearchBaseComponent, "ng-component", never, { "filter": "filter"; }, { "filterChange": "filterChange"; }, never, never, false, never>;
|
|
7
11
|
}
|
|
@@ -9,6 +9,7 @@ import { TranslateService } from '@ngx-translate/core';
|
|
|
9
9
|
import { AdvancedFilterValueProvider } from './advanced-filter-value-provider.service';
|
|
10
10
|
import { AdvancedTableSearchBaseComponent } from './advanced-table-search-base';
|
|
11
11
|
import { TemplatePipe } from '@universis/common';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
12
13
|
export interface AdvancedSearchViewStatus {
|
|
13
14
|
advancedView: boolean;
|
|
14
15
|
}
|
|
@@ -36,7 +37,8 @@ export declare class AdvancedTableSearchComponent extends AdvancedTableSearchBas
|
|
|
36
37
|
searchText: any;
|
|
37
38
|
viewChange: EventEmitter<AdvancedSearchViewStatus>;
|
|
38
39
|
listChange: EventEmitter<AdvancedSearchList>;
|
|
39
|
-
text: string;
|
|
40
|
+
set text(value: string);
|
|
41
|
+
get text(): string;
|
|
40
42
|
modalRef?: BsModalRef;
|
|
41
43
|
storageKey: any;
|
|
42
44
|
storageValue: any;
|
|
@@ -76,9 +78,11 @@ export declare class AdvancedTableSearchComponent extends AdvancedTableSearchBas
|
|
|
76
78
|
/**
|
|
77
79
|
* Gets the view state of search control
|
|
78
80
|
*/
|
|
79
|
-
|
|
81
|
+
get viewState(): AdvancedSearchViewStatus;
|
|
80
82
|
/**
|
|
81
83
|
* Switches view between simple and advanced search
|
|
82
84
|
*/
|
|
83
85
|
toggleView(): Promise<void>;
|
|
86
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedTableSearchComponent, never>;
|
|
87
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdvancedTableSearchComponent, "app-advanced-table-search", never, { "table": "table"; "collapsed": "collapsed"; "allowSave": "allowSave"; "showMore": "showMore"; "mergeQueryParams": "mergeQueryParams"; }, { "viewChange": "viewChange"; "listChange": "listChange"; }, never, ["advanced-search"], false, never>;
|
|
84
88
|
}
|
|
@@ -6,6 +6,7 @@ import { BsModalService, BsModalRef } from 'ngx-bootstrap/modal';
|
|
|
6
6
|
import { ActivatedTableService } from '../../tables.activated-table.service';
|
|
7
7
|
import { UserStorageService } from '@universis/common';
|
|
8
8
|
import { FormBuilder, FormGroup, ValidatorFn } from '@angular/forms';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class AdvancedTableSettingsComponent implements OnInit, AfterViewInit {
|
|
10
11
|
protected _context: AngularDataContext;
|
|
11
12
|
protected _activatedRoute: ActivatedRoute;
|
|
@@ -31,4 +32,6 @@ export declare class AdvancedTableSettingsComponent implements OnInit, AfterView
|
|
|
31
32
|
saveTableSettings(): void;
|
|
32
33
|
dismiss(): void;
|
|
33
34
|
minSelectedColumns(min?: number): ValidatorFn;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedTableSettingsComponent, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdvancedTableSettingsComponent, "app-advanced-table-settings", never, { "table": "table"; }, {}, never, never, false, never>;
|
|
34
37
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, InjectionToken, Injector, OnDestroy,
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, InjectionToken, Injector, OnDestroy, OnChanges, SimpleChanges, AfterViewInit } 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';
|
|
@@ -14,19 +14,20 @@ import 'datatables.net-colreorder';
|
|
|
14
14
|
import 'datatables.net-buttons';
|
|
15
15
|
import { HttpClient } from '@angular/common/http';
|
|
16
16
|
import { ColumnSelectorService } from '../column-selector/column-selector.service';
|
|
17
|
+
import * as i0 from "@angular/core";
|
|
17
18
|
export interface AdvancedTableDataResult {
|
|
18
19
|
recordsTotal: number;
|
|
19
20
|
recordsFiltered: number;
|
|
20
21
|
data: Array<any>;
|
|
21
22
|
}
|
|
22
|
-
export declare let COLUMN_FORMATTERS: InjectionToken<
|
|
23
|
+
export declare let COLUMN_FORMATTERS: InjectionToken<unknown>;
|
|
23
24
|
export declare class ExportLimitExceededError extends RangeError {
|
|
24
25
|
constructor(message: string);
|
|
25
26
|
}
|
|
26
27
|
export declare class AdvancedTableConfiguration {
|
|
27
28
|
static cast(input: any, clone?: boolean): TableConfiguration;
|
|
28
29
|
}
|
|
29
|
-
export declare class AdvancedTableComponent implements
|
|
30
|
+
export declare class AdvancedTableComponent implements AfterViewInit, OnDestroy, OnChanges {
|
|
30
31
|
private _context;
|
|
31
32
|
private _columnFormatters;
|
|
32
33
|
private _activatedRoute;
|
|
@@ -42,6 +43,7 @@ export declare class AdvancedTableComponent implements OnInit, OnDestroy, OnChan
|
|
|
42
43
|
private _exportSpreadsheet;
|
|
43
44
|
private _modalService;
|
|
44
45
|
private _errorService;
|
|
46
|
+
private _changeDetectorRef;
|
|
45
47
|
private _query?;
|
|
46
48
|
private _config?;
|
|
47
49
|
private _firstLoad;
|
|
@@ -106,31 +108,36 @@ export declare class AdvancedTableComponent implements OnInit, OnDestroy, OnChan
|
|
|
106
108
|
/**
|
|
107
109
|
* Gets or sets table configuration
|
|
108
110
|
*/
|
|
109
|
-
config: TableConfiguration;
|
|
110
|
-
|
|
111
|
+
set config(value: TableConfiguration);
|
|
112
|
+
get config(): TableConfiguration;
|
|
113
|
+
get lastQueryTotalItems(): number;
|
|
111
114
|
/**
|
|
112
115
|
* Indicates whether table footer will be visible or not
|
|
113
116
|
*/
|
|
114
|
-
showFooter: boolean;
|
|
117
|
+
set showFooter(value: boolean);
|
|
118
|
+
get showFooter(): boolean;
|
|
115
119
|
/**
|
|
116
120
|
* Indicates whether table footer will be visible or not
|
|
117
121
|
*/
|
|
118
|
-
showHeader: boolean;
|
|
122
|
+
set showHeader(value: boolean);
|
|
123
|
+
get showHeader(): boolean;
|
|
119
124
|
/**
|
|
120
125
|
* Indicates whether paging information will be visible or not
|
|
121
126
|
*/
|
|
122
|
-
showPaging: boolean;
|
|
127
|
+
set showPaging(value: boolean);
|
|
128
|
+
get showPaging(): boolean;
|
|
123
129
|
/**
|
|
124
130
|
* Gets or sets an active query for this table
|
|
125
131
|
*/
|
|
126
|
-
query: ClientDataQueryable | undefined;
|
|
132
|
+
set query(value: ClientDataQueryable | undefined);
|
|
133
|
+
get query(): ClientDataQueryable | undefined;
|
|
127
134
|
readonly translator: TranslatePipe;
|
|
128
135
|
dataTable: any;
|
|
129
136
|
dtOptions: any;
|
|
130
137
|
private lastQueryParams?;
|
|
131
138
|
private _lastQueryTotalItems;
|
|
132
139
|
private reloadSubscription;
|
|
133
|
-
constructor(_context: AngularDataContext, _columnFormatters: IAdvancedTableFormatters, _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);
|
|
140
|
+
constructor(_context: AngularDataContext, _columnFormatters: IAdvancedTableFormatters, _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, _changeDetectorRef: ChangeDetectorRef);
|
|
134
141
|
search(searchText: any): void;
|
|
135
142
|
fetch(clearSelected?: boolean): void;
|
|
136
143
|
destroy(): void;
|
|
@@ -153,10 +160,10 @@ export declare class AdvancedTableComponent implements OnInit, OnDestroy, OnChan
|
|
|
153
160
|
* @param meta
|
|
154
161
|
*/
|
|
155
162
|
private _renderSelect;
|
|
156
|
-
|
|
163
|
+
ngAfterViewInit(): void;
|
|
157
164
|
scrollTop(value: number): void;
|
|
158
165
|
scrollLeft(value: number): void;
|
|
159
|
-
|
|
166
|
+
get lastQuery(): ClientDataQueryable | undefined;
|
|
160
167
|
/**
|
|
161
168
|
* Fetches and updates a single row
|
|
162
169
|
* @param find - Any object which is being converted to a query
|
|
@@ -189,4 +196,6 @@ export declare class AdvancedTableComponent implements OnInit, OnDestroy, OnChan
|
|
|
189
196
|
body: any[];
|
|
190
197
|
header: any[];
|
|
191
198
|
};
|
|
199
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedTableComponent, never>;
|
|
200
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdvancedTableComponent, "app-advanced-table", never, { "height": "height"; "showActions": "showActions"; "autoLoad": "autoLoad"; "reload": "reload"; "scrollable": "scrollable"; "serverSide": "serverSide"; "lengthMenu": "lengthMenu"; "paging": "paging"; "pageLength": "pageLength"; "columnOrdering": "columnOrdering"; "stateSave": "stateSave"; "stateLoadCallback": "stateLoadCallback"; "stateSaveCallback": "stateSaveCallback"; "scrollY": "scrollY"; "scrollX": "scrollX"; "selectable": "selectable"; "multipleSelect": "multipleSelect"; "customSelect": "customSelect"; "selected": "selected"; "configSrc": "configSrc"; "config": "config"; "showFooter": "showFooter"; "showHeader": "showHeader"; "showPaging": "showPaging"; "query": "query"; }, { "load": "load"; "init": "init"; "select": "select"; "draw": "draw"; "page": "page"; "order": "order"; "scroll": "scroll"; "selectedItems": "selectedItems"; "loading": "loading"; }, never, never, false, never>;
|
|
192
201
|
}
|
|
@@ -7,6 +7,7 @@ import { AdvancedTableComponent, AdvancedTableDataResult } from '../advanced-tab
|
|
|
7
7
|
import { AngularDataContext } from '@themost/angular';
|
|
8
8
|
import { AdvancedFilterValueProvider } from './../advanced-table/advanced-filter-value-provider.service';
|
|
9
9
|
import { DatePipe } from '@angular/common';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
10
11
|
export declare interface PageInfo {
|
|
11
12
|
page: number;
|
|
12
13
|
pages: number;
|
|
@@ -28,7 +29,7 @@ export declare class AdvancedTableModalBaseComponent extends RouterModalOkCancel
|
|
|
28
29
|
emptyTable?: ElementRef;
|
|
29
30
|
dropdownFilter?: ElementRef;
|
|
30
31
|
dropdownLength?: ElementRef;
|
|
31
|
-
searchElement
|
|
32
|
+
searchElement?: any;
|
|
32
33
|
tableConfig?: TableConfiguration;
|
|
33
34
|
tableConfigSrc?: string;
|
|
34
35
|
pageLength: number;
|
|
@@ -85,4 +86,6 @@ export declare class AdvancedTableModalBaseComponent extends RouterModalOkCancel
|
|
|
85
86
|
*
|
|
86
87
|
*/
|
|
87
88
|
advancedSearch(filter: any): Promise<any>;
|
|
89
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedTableModalBaseComponent, never>;
|
|
90
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdvancedTableModalBaseComponent, "app-advanced-table-modal", never, { "tableConfig": "tableConfig"; "tableConfigSrc": "tableConfigSrc"; "pageLength": "pageLength"; "searchText": "searchText"; "lengthMenu": "lengthMenu"; "defaultFilter": "defaultFilter"; }, {}, never, never, false, never>;
|
|
88
91
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnDestroy, EventEmitter, OnChanges, SimpleChanges, ElementRef, ChangeDetectorRef, AfterViewInit } from '@angular/core';
|
|
2
2
|
import { FormControl } from '@angular/forms';
|
|
3
3
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
4
|
import { RouterModalOkCancel } from '@universis/common/routing';
|
|
5
5
|
import { BsModalRef } from 'ngx-bootstrap/modal';
|
|
6
|
-
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ColumnSelectorComponent extends RouterModalOkCancel implements AfterViewInit, OnDestroy, OnChanges {
|
|
7
8
|
private _modalRef;
|
|
8
9
|
private _changeDetector;
|
|
9
10
|
columns?: {
|
|
@@ -19,18 +20,20 @@ export declare class ColumnSelectorComponent extends RouterModalOkCancel impleme
|
|
|
19
20
|
}[];
|
|
20
21
|
moveUpButton?: ElementRef;
|
|
21
22
|
moveDownButton?: ElementRef;
|
|
22
|
-
availableColumnsControl: FormControl
|
|
23
|
-
selectedColumnsControl: FormControl
|
|
23
|
+
availableColumnsControl: FormControl<any>;
|
|
24
|
+
selectedColumnsControl: FormControl<any>;
|
|
24
25
|
changing: boolean;
|
|
25
26
|
ok(): Promise<any>;
|
|
26
27
|
cancel(): Promise<any>;
|
|
27
28
|
constructor(router: Router, activatedRoute: ActivatedRoute, _modalRef: BsModalRef, _changeDetector: ChangeDetectorRef);
|
|
28
29
|
ngOnChanges(changes: SimpleChanges): void;
|
|
29
30
|
ngOnDestroy(): void;
|
|
30
|
-
|
|
31
|
+
ngAfterViewInit(): void;
|
|
31
32
|
private applyChanges;
|
|
32
33
|
removeColumns(): void;
|
|
33
34
|
addColumns(): void;
|
|
34
35
|
moveUp(): void;
|
|
35
36
|
moveDown(): void;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnSelectorComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnSelectorComponent, "app-column-selector", never, { "columns": "columns"; "selectedColumns": "selectedColumns"; }, {}, never, never, false, never>;
|
|
36
39
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ModalService } from '@universis/common';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class ColumnSelectorService {
|
|
3
4
|
private _modal;
|
|
4
5
|
constructor(_modal: ModalService);
|
|
@@ -16,4 +17,6 @@ export declare class ColumnSelectorService {
|
|
|
16
17
|
index: number;
|
|
17
18
|
}[];
|
|
18
19
|
}>;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnSelectorService, never>;
|
|
21
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ColumnSelectorService>;
|
|
19
22
|
}
|
|
@@ -1,14 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnDestroy, OnChanges, SimpleChanges, AfterViewInit } from '@angular/core';
|
|
2
2
|
import { AdvancedTableComponent } from '../advanced-table/advanced-table.component';
|
|
3
3
|
import { Subscription } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class SimpleHeaderToolsComponent {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SimpleHeaderToolsComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SimpleHeaderToolsComponent, "table-simple-header-tools", never, {}, {}, never, ["*"], false, never>;
|
|
5
8
|
}
|
|
6
|
-
export declare class TableSimpleHeaderComponent implements
|
|
9
|
+
export declare class TableSimpleHeaderComponent implements AfterViewInit, OnDestroy, OnChanges {
|
|
7
10
|
ngOnChanges(changes: SimpleChanges): void;
|
|
8
11
|
ngOnDestroy(): void;
|
|
9
12
|
table?: AdvancedTableComponent;
|
|
10
13
|
recordsTotal?: number;
|
|
11
14
|
dataLoadSubscription?: Subscription;
|
|
12
15
|
constructor();
|
|
13
|
-
|
|
16
|
+
ngAfterViewInit(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableSimpleHeaderComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableSimpleHeaderComponent, "app-table-simple-header", never, { "table": "table"; }, {}, never, ["table-simple-header-tools"], false, never>;
|
|
14
19
|
}
|
|
@@ -2,6 +2,7 @@ import { OnInit, OnDestroy } from '@angular/core';
|
|
|
2
2
|
import { Store } from '@ngrx/store';
|
|
3
3
|
import { AdvancedTableSearchComponent } from '../components/advanced-table/advanced-table-search.component';
|
|
4
4
|
import { NgxTablesState } from '../reducers';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class AdvancedTableSearchComponentNotNull extends Error {
|
|
6
7
|
constructor();
|
|
7
8
|
}
|
|
@@ -17,4 +18,6 @@ export declare class AdvancedSearchState implements OnInit, OnDestroy {
|
|
|
17
18
|
onTableInit(): void;
|
|
18
19
|
private onSearchFilter;
|
|
19
20
|
ngOnDestroy(): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedSearchState, [null, { optional: true; }]>;
|
|
22
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AdvancedSearchState, "[searchState]", never, { "searchState": "searchState"; }, {}, never, never, false, never>;
|
|
20
23
|
}
|
|
@@ -2,10 +2,13 @@ import { OnInit } from '@angular/core';
|
|
|
2
2
|
import { Store } from '@ngrx/store';
|
|
3
3
|
import { NgxTablesState } from '../reducers';
|
|
4
4
|
import { AdvancedTableComponent } from '../components/advanced-table/advanced-table.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class AdvancedTableState implements OnInit {
|
|
6
7
|
private table;
|
|
7
8
|
private store;
|
|
8
9
|
tableState?: string;
|
|
9
10
|
constructor(table: AdvancedTableComponent, store: Store<NgxTablesState>);
|
|
10
11
|
ngOnInit(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedTableState, [null, { optional: true; }]>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AdvancedTableState, "[tableState]", never, { "tableState": "tableState"; }, {}, never, never, false, never>;
|
|
11
14
|
}
|
|
@@ -4,6 +4,7 @@ import { Store } from '@ngrx/store';
|
|
|
4
4
|
import { AdvancedTableSearchComponent } from '../components/advanced-table/advanced-table-search.component';
|
|
5
5
|
import { NgxTablesState } from '../reducers';
|
|
6
6
|
import { AdvancedSearchState } from './advance-search-state.directive';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class AdvancedSearchRouterState extends AdvancedSearchState implements OnDestroy, OnInit {
|
|
8
9
|
protected search: AdvancedTableSearchComponent;
|
|
9
10
|
protected store: Store<NgxTablesState>;
|
|
@@ -13,4 +14,6 @@ export declare class AdvancedSearchRouterState extends AdvancedSearchState imple
|
|
|
13
14
|
private _applyState;
|
|
14
15
|
constructor(search: AdvancedTableSearchComponent, store: Store<NgxTablesState>, _router: Router);
|
|
15
16
|
ngOnDestroy(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedSearchRouterState, [null, { optional: true; }, null]>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AdvancedSearchRouterState, "[routerSearchState]", never, {}, {}, never, never, false, never>;
|
|
16
19
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { AdvancedTableComponent } from '../components/advanced-table/advanced-table.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class AdvancedTableNotNullError extends Error {
|
|
4
5
|
constructor();
|
|
5
6
|
}
|
|
@@ -21,5 +22,7 @@ export declare class AdvancedTableEditorDirective {
|
|
|
21
22
|
* Undo changes
|
|
22
23
|
*/
|
|
23
24
|
undo(): void;
|
|
24
|
-
rows():
|
|
25
|
+
rows(): unknown[];
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedTableEditorDirective, never>;
|
|
27
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AdvancedTableEditorDirective, "[tableEditor]", never, {}, { "dirtyChange": "dirtyChange"; }, never, never, false, never>;
|
|
25
28
|
}
|
|
@@ -4,6 +4,7 @@ import { ConfigurationService, ErrorService, LoadingService } from '@universis/c
|
|
|
4
4
|
import { TranslateService } from '@ngx-translate/core';
|
|
5
5
|
import { ClientDataQueryable } from '@themost/client';
|
|
6
6
|
import { TableConfiguration } from '../components/advanced-table/advanced-table.interfaces';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
export declare const MAX_EXPORT_ITEMS = 500;
|
|
8
9
|
export declare interface ExportLimitConfiguration {
|
|
9
10
|
tables?: {
|
|
@@ -71,4 +72,6 @@ export declare class BtnExpDirective {
|
|
|
71
72
|
* @param modelName: The model name of the advanced table
|
|
72
73
|
*/
|
|
73
74
|
downloadFile(url: any, serviceHeaders: Headers, modelName: any): void;
|
|
75
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BtnExpDirective, never>;
|
|
76
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BtnExpDirective, ".universis-btn-export", never, {}, {}, never, never, false, never>;
|
|
74
77
|
}
|