tin-spa 2.3.4 → 2.3.6
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/classes/Classes.mjs +2 -1
- package/esm2020/lib/classes/TinCore.mjs +2 -1
- package/esm2020/lib/components/accounts/accountDialog.component.mjs +1 -1
- package/esm2020/lib/components/change-password/change-password.component.mjs +1 -1
- package/esm2020/lib/components/create-account/create-account.component.mjs +1 -1
- package/esm2020/lib/components/date/date.component.mjs +18 -6
- package/esm2020/lib/components/datetime/datetime.component.mjs +19 -6
- package/esm2020/lib/components/form/form.component.mjs +17 -9
- package/esm2020/lib/components/inventory/quantityDialog.component.mjs +1 -1
- package/esm2020/lib/components/label/label.component.mjs +3 -3
- package/esm2020/lib/components/login/login.component.mjs +1 -1
- package/esm2020/lib/components/message/messageDialog.component.mjs +3 -3
- package/esm2020/lib/components/money/money.component.mjs +18 -6
- package/esm2020/lib/components/number/number.component.mjs +19 -5
- package/esm2020/lib/components/option/option.component.mjs +1 -1
- package/esm2020/lib/components/profile/profile.component.mjs +1 -1
- package/esm2020/lib/components/recover-account/recover-account.component.mjs +1 -1
- package/esm2020/lib/components/select/select.component.mjs +60 -12
- package/esm2020/lib/components/signup/signup.component.mjs +1 -1
- package/esm2020/lib/components/table/detailsDialog.component.mjs +24 -4
- package/esm2020/lib/components/table/table.component.mjs +31 -8
- package/esm2020/lib/components/table-internal/detailsDialog-internal.component.mjs +24 -4
- package/esm2020/lib/components/table-internal/table-internal.component.mjs +30 -7
- package/esm2020/lib/components/table-row/table-row.component.mjs +1 -1
- package/esm2020/lib/components/tenant-settings/inviteDialog.component.mjs +1 -1
- package/esm2020/lib/components/tenant-settings/tenant-settings.component.mjs +1 -1
- package/esm2020/lib/components/text/text.component.mjs +15 -3
- package/esm2020/lib/components/transactions/transactDialog.component.mjs +1 -1
- package/esm2020/lib/components/welcome/welcome.component.mjs +1 -1
- package/esm2020/lib/services/dialog.service.mjs +44 -1
- package/esm2020/lib/services/table-config.service.mjs +7 -3
- package/fesm2015/tin-spa.mjs +320 -87
- package/fesm2015/tin-spa.mjs.map +1 -1
- package/fesm2020/tin-spa.mjs +319 -87
- package/fesm2020/tin-spa.mjs.map +1 -1
- package/lib/classes/Classes.d.ts +13 -3
- package/lib/components/date/date.component.d.ts +4 -1
- package/lib/components/datetime/datetime.component.d.ts +4 -1
- package/lib/components/form/form.component.d.ts +1 -0
- package/lib/components/money/money.component.d.ts +4 -1
- package/lib/components/number/number.component.d.ts +5 -1
- package/lib/components/select/select.component.d.ts +16 -2
- package/lib/components/table/detailsDialog.component.d.ts +4 -2
- package/lib/components/table/table.component.d.ts +1 -0
- package/lib/components/table-internal/detailsDialog-internal.component.d.ts +4 -2
- package/lib/components/table-internal/table-internal.component.d.ts +1 -0
- package/lib/components/text/text.component.d.ts +5 -1
- package/lib/services/dialog.service.d.ts +2 -1
- package/lib/services/table-config.service.d.ts +2 -1
- package/package.json +1 -1
package/lib/classes/Classes.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ export declare class DetailsDialogConfig {
|
|
|
28
28
|
details?: any;
|
|
29
29
|
heroField?: any;
|
|
30
30
|
heroValue?: any;
|
|
31
|
-
mode?:
|
|
31
|
+
mode?: 'create' | 'edit' | 'view';
|
|
32
32
|
detailsSource?: DetailsSource;
|
|
33
33
|
}
|
|
34
34
|
export declare class Action {
|
|
@@ -48,7 +48,7 @@ export interface SearchField extends Field {
|
|
|
48
48
|
export declare class FormConfig {
|
|
49
49
|
title?: string;
|
|
50
50
|
fields: Field[];
|
|
51
|
-
mode?:
|
|
51
|
+
mode?: 'create' | 'edit' | 'view';
|
|
52
52
|
button?: Button;
|
|
53
53
|
multiColumn?: boolean;
|
|
54
54
|
reset?: boolean;
|
|
@@ -80,7 +80,7 @@ export interface Condition {
|
|
|
80
80
|
}
|
|
81
81
|
export interface Field {
|
|
82
82
|
name: string;
|
|
83
|
-
type: 'text' | 'date' | 'datetime' | 'checkbox' | 'select' | 'multi-select' | 'money' | 'number' | 'section' | 'blank' | 'chip' | 'file' | 'file-view' | 'icon' | 'spinner' | 'button';
|
|
83
|
+
type: 'text' | 'date' | 'datetime' | 'checkbox' | 'select' | 'multi-select' | 'money' | 'number' | 'section' | 'blank' | 'chip' | 'file' | 'file-view' | 'icon' | 'spinner' | 'button' | 'label';
|
|
84
84
|
alias?: string;
|
|
85
85
|
options?: any[];
|
|
86
86
|
optionDisplay?: string;
|
|
@@ -106,6 +106,14 @@ export interface Field {
|
|
|
106
106
|
hideOnExists?: boolean;
|
|
107
107
|
hiddenCondition?: (value: any) => boolean;
|
|
108
108
|
readonlyCondition?: (value: any) => boolean;
|
|
109
|
+
peekConfig?: PeekDialogConfig;
|
|
110
|
+
infoMessage?: string;
|
|
111
|
+
suffix?: string;
|
|
112
|
+
}
|
|
113
|
+
export interface PeekDialogConfig {
|
|
114
|
+
detailsConfig: DetailsDialogConfig;
|
|
115
|
+
create?: boolean;
|
|
116
|
+
view?: boolean;
|
|
109
117
|
}
|
|
110
118
|
export interface ChildField {
|
|
111
119
|
childField?: string;
|
|
@@ -145,6 +153,7 @@ export interface Column {
|
|
|
145
153
|
optionDisplay?: string;
|
|
146
154
|
optionValue?: string;
|
|
147
155
|
detailsConfig?: DetailsDialogConfig;
|
|
156
|
+
hiddenCondition?: (parentData: any) => boolean;
|
|
148
157
|
}
|
|
149
158
|
export interface Icon {
|
|
150
159
|
name: string;
|
|
@@ -202,6 +211,7 @@ export declare class AppConfig {
|
|
|
202
211
|
capItems: CapItem[];
|
|
203
212
|
multitenant: boolean;
|
|
204
213
|
navigation: 'top' | 'side';
|
|
214
|
+
progressLine: boolean;
|
|
205
215
|
}
|
|
206
216
|
export declare class CapItem {
|
|
207
217
|
constructor();
|
|
@@ -12,6 +12,9 @@ export declare class DateComponent implements OnInit, OnChanges {
|
|
|
12
12
|
placeholder: string;
|
|
13
13
|
width: string;
|
|
14
14
|
valueChange: EventEmitter<string>;
|
|
15
|
+
infoMessage: string;
|
|
16
|
+
infoClick: EventEmitter<void>;
|
|
17
|
+
onInfoClick(event: MouseEvent): void;
|
|
15
18
|
minDate: FormControl;
|
|
16
19
|
maxDate: FormControl;
|
|
17
20
|
control: FormControl;
|
|
@@ -22,5 +25,5 @@ export declare class DateComponent implements OnInit, OnChanges {
|
|
|
22
25
|
onChangeEvent(): void;
|
|
23
26
|
validate(control: FormControl): string;
|
|
24
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateComponent, "spa-date", never, { "required": "required"; "min": "min"; "max": "max"; "readonly": "readonly"; "hint": "hint"; "value": "value"; "display": "display"; "placeholder": "placeholder"; "width": "width"; }, { "valueChange": "valueChange"; }, never, never, false>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateComponent, "spa-date", never, { "required": "required"; "min": "min"; "max": "max"; "readonly": "readonly"; "hint": "hint"; "value": "value"; "display": "display"; "placeholder": "placeholder"; "width": "width"; "infoMessage": "infoMessage"; }, { "valueChange": "valueChange"; "infoClick": "infoClick"; }, never, never, false>;
|
|
26
29
|
}
|
|
@@ -10,6 +10,9 @@ export declare class DatetimeComponent implements OnInit {
|
|
|
10
10
|
min: string;
|
|
11
11
|
max: string;
|
|
12
12
|
changed(): void;
|
|
13
|
+
infoMessage: string;
|
|
14
|
+
infoClick: EventEmitter<void>;
|
|
15
|
+
onInfoClick(event: MouseEvent): void;
|
|
13
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatetimeComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DatetimeComponent, "spa-datetime", never, { "display": "display"; "value": "value"; "readonly": "readonly"; "min": "min"; "max": "max"; }, { "valueChange": "valueChange"; }, never, never, false>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatetimeComponent, "spa-datetime", never, { "display": "display"; "value": "value"; "readonly": "readonly"; "min": "min"; "max": "max"; "infoMessage": "infoMessage"; }, { "valueChange": "valueChange"; "infoClick": "infoClick"; }, never, never, false>;
|
|
15
18
|
}
|
|
@@ -27,6 +27,7 @@ export declare class FormComponent implements OnInit {
|
|
|
27
27
|
inputChange: EventEmitter<any>;
|
|
28
28
|
inputChanged(field: Field, value: any): void;
|
|
29
29
|
updateChildOptions(masterField: Field): void;
|
|
30
|
+
handleInfoClick(field: Field): void;
|
|
30
31
|
buttonClicked(): void;
|
|
31
32
|
processCall(button: Button): void;
|
|
32
33
|
processForm(): void;
|
|
@@ -20,11 +20,14 @@ export declare class MoneyComponent implements OnInit {
|
|
|
20
20
|
required: boolean;
|
|
21
21
|
min: number;
|
|
22
22
|
max: number;
|
|
23
|
+
infoMessage: string;
|
|
24
|
+
infoClick: EventEmitter<void>;
|
|
25
|
+
onInfoClick(event: MouseEvent): void;
|
|
23
26
|
changed(x: any): void;
|
|
24
27
|
leaved(): void;
|
|
25
28
|
enterPressed(): void;
|
|
26
29
|
control: FormControl<string>;
|
|
27
30
|
validate(control: FormControl): string;
|
|
28
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<MoneyComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MoneyComponent, "spa-money", never, { "readonly": "readonly"; "hint": "hint"; "display": "display"; "placeholder": "placeholder"; "value": "value"; "width": "width"; "currency": "currency"; "required": "required"; "min": "min"; "max": "max"; }, { "valueChange": "valueChange"; "leave": "leave"; "enterPress": "enterPress"; }, never, never, false>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MoneyComponent, "spa-money", never, { "readonly": "readonly"; "hint": "hint"; "display": "display"; "placeholder": "placeholder"; "value": "value"; "width": "width"; "currency": "currency"; "required": "required"; "min": "min"; "max": "max"; "infoMessage": "infoMessage"; }, { "valueChange": "valueChange"; "leave": "leave"; "enterPress": "enterPress"; "infoClick": "infoClick"; }, never, never, false>;
|
|
30
33
|
}
|
|
@@ -21,11 +21,15 @@ export declare class NumberComponent implements OnInit {
|
|
|
21
21
|
min: number;
|
|
22
22
|
max: number;
|
|
23
23
|
step: number;
|
|
24
|
+
suffix: string;
|
|
25
|
+
infoMessage: string;
|
|
26
|
+
infoClick: EventEmitter<void>;
|
|
27
|
+
onInfoClick(event: MouseEvent): void;
|
|
24
28
|
changed(): void;
|
|
25
29
|
leaved(): void;
|
|
26
30
|
enterPressed(): void;
|
|
27
31
|
control: FormControl<number>;
|
|
28
32
|
validate(control: FormControl): string;
|
|
29
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<NumberComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NumberComponent, "spa-number", never, { "readonly": "readonly"; "hint": "hint"; "display": "display"; "placeholder": "placeholder"; "value": "value"; "width": "width"; "required": "required"; "min": "min"; "max": "max"; "step": "step"; }, { "valueChange": "valueChange"; "leave": "leave"; "enterPress": "enterPress"; }, never, never, false>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NumberComponent, "spa-number", never, { "readonly": "readonly"; "hint": "hint"; "display": "display"; "placeholder": "placeholder"; "value": "value"; "width": "width"; "required": "required"; "min": "min"; "max": "max"; "step": "step"; "suffix": "suffix"; "infoMessage": "infoMessage"; }, { "valueChange": "valueChange"; "leave": "leave"; "enterPress": "enterPress"; "infoClick": "infoClick"; }, never, never, false>;
|
|
31
35
|
}
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { PeekDialogConfig } from '../../classes/Classes';
|
|
3
|
+
import { MessageService } from '../../services/message.service';
|
|
4
|
+
import { DialogService } from '../../services/dialog.service';
|
|
2
5
|
import * as i0 from "@angular/core";
|
|
3
6
|
export declare class SelectComponent implements OnInit {
|
|
4
|
-
|
|
7
|
+
private messageService;
|
|
8
|
+
private dialogService;
|
|
9
|
+
constructor(messageService: MessageService, dialogService: DialogService);
|
|
5
10
|
ngOnInit(): void;
|
|
6
11
|
ngOnChanges(): void;
|
|
7
12
|
displayValue: any;
|
|
13
|
+
isHovered: boolean;
|
|
8
14
|
width: string;
|
|
9
15
|
readonly: boolean;
|
|
10
16
|
required: boolean;
|
|
@@ -21,8 +27,16 @@ export declare class SelectComponent implements OnInit {
|
|
|
21
27
|
optionDisplay: string;
|
|
22
28
|
optionDisplayExtra: string;
|
|
23
29
|
nullable: boolean;
|
|
30
|
+
peekConfig: PeekDialogConfig;
|
|
31
|
+
infoMessage: string;
|
|
24
32
|
valueChange: EventEmitter<any>;
|
|
33
|
+
infoClick: EventEmitter<void>;
|
|
25
34
|
changed(): void;
|
|
35
|
+
onMouseEnter(): void;
|
|
36
|
+
onMouseLeave(): void;
|
|
37
|
+
onAddClick(event: MouseEvent): void;
|
|
38
|
+
onViewClick(event: MouseEvent): void;
|
|
39
|
+
onInfoClick(event: MouseEvent): void;
|
|
26
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "spa-select", never, { "width": "width"; "readonly": "readonly"; "required": "required"; "defaultFirstValue": "defaultFirstValue"; "readonlyMode": "readonlyMode"; "hint": "hint"; "placeholder": "placeholder"; "multiple": "multiple"; "display": "display"; "value": "value"; "options": "options"; "masterOptions": "masterOptions"; "optionValue": "optionValue"; "optionDisplay": "optionDisplay"; "optionDisplayExtra": "optionDisplayExtra"; "nullable": "nullable"; }, { "valueChange": "valueChange"; }, never, never, false>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "spa-select", never, { "width": "width"; "readonly": "readonly"; "required": "required"; "defaultFirstValue": "defaultFirstValue"; "readonlyMode": "readonlyMode"; "hint": "hint"; "placeholder": "placeholder"; "multiple": "multiple"; "display": "display"; "value": "value"; "options": "options"; "masterOptions": "masterOptions"; "optionValue": "optionValue"; "optionDisplay": "optionDisplay"; "optionDisplayExtra": "optionDisplayExtra"; "nullable": "nullable"; "peekConfig": "peekConfig"; "infoMessage": "infoMessage"; }, { "valueChange": "valueChange"; "infoClick": "infoClick"; }, never, never, false>;
|
|
28
42
|
}
|
|
@@ -12,7 +12,7 @@ import * as i0 from "@angular/core";
|
|
|
12
12
|
export declare class DetailsDialog implements OnInit {
|
|
13
13
|
private breakpointObserver;
|
|
14
14
|
private loaderService;
|
|
15
|
-
|
|
15
|
+
dataService: DataServiceLib;
|
|
16
16
|
private messageService;
|
|
17
17
|
private dialogRef;
|
|
18
18
|
detailsConfig: DetailsDialogConfig;
|
|
@@ -40,7 +40,7 @@ export declare class DetailsDialog implements OnInit {
|
|
|
40
40
|
inputChange: EventEmitter<any>;
|
|
41
41
|
loadData(action: Action, reload: any): void;
|
|
42
42
|
inputChanged(event: any): void;
|
|
43
|
-
setMode(newMode:
|
|
43
|
+
setMode(newMode: any): void;
|
|
44
44
|
setTitleAction(): void;
|
|
45
45
|
getButton(name: string): Button;
|
|
46
46
|
testDisabled(row: any, buttonName: string): boolean;
|
|
@@ -52,6 +52,8 @@ export declare class DetailsDialog implements OnInit {
|
|
|
52
52
|
edit(): void;
|
|
53
53
|
delete(): void;
|
|
54
54
|
custom(button: Button): void;
|
|
55
|
+
private openNestedDetailsDialog;
|
|
56
|
+
private refreshData;
|
|
55
57
|
handleButtonAction(buttonName: string): void;
|
|
56
58
|
private validateForm;
|
|
57
59
|
private prepareActionData;
|
|
@@ -72,6 +72,7 @@ export declare class TableComponent implements OnInit {
|
|
|
72
72
|
viewModel(row: any): void;
|
|
73
73
|
newModel(): void;
|
|
74
74
|
editModel(row: any): void;
|
|
75
|
+
private open;
|
|
75
76
|
private openDetailsDialog;
|
|
76
77
|
deleteModel(row: any): void;
|
|
77
78
|
doAction(buttonName: string, row: any): void;
|
|
@@ -12,7 +12,7 @@ import * as i0 from "@angular/core";
|
|
|
12
12
|
export declare class DetailsDialogInternal implements OnInit {
|
|
13
13
|
private breakpointObserver;
|
|
14
14
|
private loaderService;
|
|
15
|
-
|
|
15
|
+
dataService: DataServiceLib;
|
|
16
16
|
private messageService;
|
|
17
17
|
private dialogRef;
|
|
18
18
|
detailsConfig: DetailsDialogConfig;
|
|
@@ -40,7 +40,7 @@ export declare class DetailsDialogInternal implements OnInit {
|
|
|
40
40
|
inputChange: EventEmitter<any>;
|
|
41
41
|
loadData(action: Action, reload: any): void;
|
|
42
42
|
inputChanged(event: any): void;
|
|
43
|
-
setMode(newMode:
|
|
43
|
+
setMode(newMode: any): void;
|
|
44
44
|
setTitleAction(): void;
|
|
45
45
|
getButton(name: string): Button;
|
|
46
46
|
testDisabled(row: any, buttonName: string): boolean;
|
|
@@ -52,6 +52,8 @@ export declare class DetailsDialogInternal implements OnInit {
|
|
|
52
52
|
edit(): void;
|
|
53
53
|
delete(): void;
|
|
54
54
|
custom(button: Button): void;
|
|
55
|
+
private openNestedDetailsDialog;
|
|
56
|
+
private refreshData;
|
|
55
57
|
handleButtonAction(buttonName: string): void;
|
|
56
58
|
private validateForm;
|
|
57
59
|
private prepareActionData;
|
|
@@ -72,6 +72,7 @@ export declare class TableInternalComponent implements OnInit {
|
|
|
72
72
|
viewModel(row: any): void;
|
|
73
73
|
newModel(): void;
|
|
74
74
|
editModel(row: any): void;
|
|
75
|
+
private open;
|
|
75
76
|
private openDetailsDialog;
|
|
76
77
|
deleteModel(row: any): void;
|
|
77
78
|
doAction(buttonName: string, row: any): void;
|
|
@@ -28,6 +28,10 @@ export declare class TextComponent implements OnInit {
|
|
|
28
28
|
min: number;
|
|
29
29
|
max: number;
|
|
30
30
|
regex: string;
|
|
31
|
+
suffix: string;
|
|
32
|
+
infoMessage: string;
|
|
33
|
+
infoClick: EventEmitter<void>;
|
|
34
|
+
onInfoClick(event: MouseEvent): void;
|
|
31
35
|
private initFilter;
|
|
32
36
|
private _filter;
|
|
33
37
|
initControl(control: FormControl): void;
|
|
@@ -38,5 +42,5 @@ export declare class TextComponent implements OnInit {
|
|
|
38
42
|
control: FormControl<string>;
|
|
39
43
|
validate(control: FormControl): string;
|
|
40
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextComponent, never>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextComponent, "spa-text", never, { "readonly": "readonly"; "hint": "hint"; "display": "display"; "placeholder": "placeholder"; "value": "value"; "format": "format"; "type": "type"; "rows": "rows"; "width": "width"; "options": "options"; "optionValue": "optionValue"; "required": "required"; "min": "min"; "max": "max"; "regex": "regex"; }, { "valueChange": "valueChange"; "leave": "leave"; "enterPress": "enterPress"; }, never, never, false>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextComponent, "spa-text", never, { "readonly": "readonly"; "hint": "hint"; "display": "display"; "placeholder": "placeholder"; "value": "value"; "format": "format"; "type": "type"; "rows": "rows"; "width": "width"; "options": "options"; "optionValue": "optionValue"; "required": "required"; "min": "min"; "max": "max"; "regex": "regex"; "suffix": "suffix"; "infoMessage": "infoMessage"; }, { "valueChange": "valueChange"; "leave": "leave"; "enterPress": "enterPress"; "infoClick": "infoClick"; }, never, never, false>;
|
|
42
46
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { DetailsDialogConfig } from '../classes/Classes';
|
|
3
|
+
import { Column, DetailsDialogConfig, TableConfig } from '../classes/Classes';
|
|
4
4
|
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class DialogService {
|
|
@@ -13,6 +13,7 @@ export declare class DialogService {
|
|
|
13
13
|
inputChange: Observable<any>;
|
|
14
14
|
dialogRef: MatDialogRef<T>;
|
|
15
15
|
};
|
|
16
|
+
openConfiguredDetailsDialog<T>(buttonName: string, row: any, config: TableConfig | DetailsDialogConfig, dialogComponent: new (...args: any[]) => T, column?: Column): Observable<any>;
|
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>;
|
|
17
18
|
static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
|
|
18
19
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { Button, TableConfig } from '../classes/Classes';
|
|
1
|
+
import { Button, Column, TableConfig } from '../classes/Classes';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class TableConfigService {
|
|
4
4
|
setColumns(config: TableConfig, smallScreen: boolean): string[];
|
|
5
|
+
getVisibleColumns(config: TableConfig): Column[];
|
|
5
6
|
getActionsWidth(buttons: Button[]): string;
|
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableConfigService, never>;
|
|
7
8
|
static ɵprov: i0.ɵɵInjectableDeclaration<TableConfigService>;
|