tin-spa 14.4.2 → 14.10.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 +24 -24
- package/esm2020/lib/classes/Classes.mjs +57 -32
- package/esm2020/lib/classes/LibClasses.mjs +2 -1
- package/esm2020/lib/classes/TinCore.mjs +194 -44
- package/esm2020/lib/components/alert/alert.component.mjs +12 -6
- package/esm2020/lib/components/attach/attach.component.mjs +49 -33
- package/esm2020/lib/components/capsules/capsules.component.mjs +63 -0
- package/esm2020/lib/components/cards/cards.component.mjs +103 -0
- package/esm2020/lib/components/date/date.component.mjs +4 -4
- package/esm2020/lib/components/email/email.component.mjs +19 -17
- package/esm2020/lib/components/form/form.component.mjs +142 -57
- package/esm2020/lib/components/html/html.component.mjs +34 -0
- package/esm2020/lib/components/label/label.component.mjs +6 -3
- package/esm2020/lib/components/list-dialog/list-dialog.component.mjs +3 -3
- package/esm2020/lib/components/money/money.component.mjs +26 -9
- package/esm2020/lib/components/multi-select/multi-select.component.mjs +165 -0
- package/esm2020/lib/components/multi-text/multi-text.component.mjs +208 -0
- package/esm2020/lib/components/nav-menu/nav-menu.component.mjs +31 -27
- package/esm2020/lib/components/notes/notes.component.mjs +62 -0
- package/esm2020/lib/components/number/number.component.mjs +23 -8
- package/esm2020/lib/components/option/option.component.mjs +36 -14
- package/esm2020/lib/components/page/page.component.mjs +101 -0
- package/esm2020/lib/components/search/search.component.mjs +10 -5
- package/esm2020/lib/components/select/select.component.mjs +56 -129
- package/esm2020/lib/components/select-bitwise/select-bitwise.component.mjs +87 -0
- package/esm2020/lib/components/select-common/select-common.component.mjs +189 -0
- package/esm2020/lib/components/select-internal/select-internal.component.mjs +75 -0
- package/esm2020/lib/components/select-lite/select-lite.component.mjs +18 -0
- package/esm2020/lib/components/steps/steps.component.mjs +83 -61
- package/esm2020/lib/components/suffix/suffix.component.mjs +70 -0
- package/esm2020/lib/components/table/detailsDialog.component.mjs +169 -37
- package/esm2020/lib/components/table/table.component.mjs +136 -111
- package/esm2020/lib/components/table-action/table-action.component.mjs +42 -8
- package/esm2020/lib/components/table-header/table-header.component.mjs +12 -8
- package/esm2020/lib/components/table-internal/detailsDialog-internal.component.mjs +169 -35
- package/esm2020/lib/components/table-internal/table-internal.component.mjs +138 -112
- package/esm2020/lib/components/table-lite/detailsDialog-lite.component.mjs +371 -0
- package/esm2020/lib/components/table-lite/table-lite.component.mjs +441 -0
- package/esm2020/lib/components/table-row/table-row.component.mjs +23 -4
- package/esm2020/lib/components/text/text.component.mjs +85 -40
- package/esm2020/lib/components/tiles/tiles.component.mjs +32 -20
- package/esm2020/lib/components/viewer/viewer.component.mjs +7 -3
- package/esm2020/lib/components/viewer/viewerDialog.component.mjs +20 -13
- package/esm2020/lib/modules/admin/admin-routing.module.mjs +11 -1
- package/esm2020/lib/pages/accounts/accountDialog.component.mjs +1 -1
- package/esm2020/lib/pages/app-models/app-models.component.mjs +56 -0
- package/esm2020/lib/pages/approvals/approvals.component.mjs +19 -0
- package/esm2020/lib/pages/approvals-config/approvals-config.component.mjs +165 -0
- package/esm2020/lib/pages/bug/bug.component.mjs +3 -3
- package/esm2020/lib/pages/change-password/change-password.component.mjs +1 -1
- package/esm2020/lib/pages/create-account/create-account.component.mjs +1 -1
- package/esm2020/lib/pages/customers/customers.component.mjs +9 -48
- package/esm2020/lib/pages/departments/departments.component.mjs +2 -4
- package/esm2020/lib/pages/employees/employees.component.mjs +3 -4
- package/esm2020/lib/pages/grades/grades.component.mjs +3 -3
- package/esm2020/lib/pages/inventory/inventory.component.mjs +3 -3
- package/esm2020/lib/pages/inventory/quantityDialog.component.mjs +1 -1
- package/esm2020/lib/pages/invitations-table/invitations-table.component.mjs +11 -10
- package/esm2020/lib/pages/login/login.component.mjs +52 -14
- package/esm2020/lib/pages/logs/logs.component.mjs +27 -22
- package/esm2020/lib/pages/membership/membership.component.mjs +15 -19
- package/esm2020/lib/pages/notifications/notifications.component.mjs +82 -6
- package/esm2020/lib/pages/notifications-config/notifications-config.component.mjs +113 -0
- package/esm2020/lib/pages/plans/plans.component.mjs +16 -19
- package/esm2020/lib/pages/positions/positions.component.mjs +4 -4
- package/esm2020/lib/pages/profile/profile.component.mjs +4 -3
- package/esm2020/lib/pages/recover-account/recover-account.component.mjs +1 -1
- package/esm2020/lib/pages/roles/addRoleDialog.component.mjs +2 -2
- package/esm2020/lib/pages/roles/roles.component.mjs +77 -17
- package/esm2020/lib/pages/settings/settings.component.mjs +2 -11
- package/esm2020/lib/pages/signup/signup.component.mjs +1 -1
- package/esm2020/lib/pages/suppliers/suppliers.component.mjs +3 -31
- package/esm2020/lib/pages/tasks/tasks.component.mjs +9 -9
- package/esm2020/lib/pages/tenant-settings/tenant-settings.component.mjs +145 -72
- package/esm2020/lib/pages/tenants/tenants.component.mjs +10 -10
- package/esm2020/lib/pages/transactions/transactDialog.component.mjs +1 -1
- package/esm2020/lib/pages/transactions/transactions.component.mjs +3 -3
- package/esm2020/lib/pages/users/users.component.mjs +115 -92
- package/esm2020/lib/pages/welcome/welcome.component.mjs +9 -9
- package/esm2020/lib/select-context.directive.mjs +23 -0
- package/esm2020/lib/services/button.service.mjs +90 -30
- package/esm2020/lib/services/csv.service.mjs +1 -1
- package/esm2020/lib/services/datalib.service.mjs +504 -76
- package/esm2020/lib/services/dialog.service.mjs +24 -7
- package/esm2020/lib/services/notifications.service.mjs +33 -0
- package/esm2020/lib/services/table-config.service.mjs +55 -7
- package/esm2020/lib/tin-spa.module.mjs +46 -11
- package/esm2020/public-api.mjs +8 -1
- package/fesm2015/tin-spa.mjs +6158 -2594
- package/fesm2015/tin-spa.mjs.map +1 -1
- package/fesm2020/tin-spa.mjs +6143 -2518
- package/fesm2020/tin-spa.mjs.map +1 -1
- package/lib/classes/Classes.d.ts +231 -127
- package/lib/classes/LibClasses.d.ts +1 -0
- package/lib/classes/TinCore.d.ts +11 -3
- package/lib/components/attach/attach.component.d.ts +13 -6
- package/lib/components/capsules/capsules.component.d.ts +26 -0
- package/lib/components/cards/cards.component.d.ts +39 -0
- package/lib/components/email/email.component.d.ts +4 -3
- package/lib/components/form/form.component.d.ts +20 -11
- package/lib/components/html/html.component.d.ts +16 -0
- package/lib/components/label/label.component.d.ts +2 -1
- package/lib/components/money/money.component.d.ts +8 -1
- package/lib/components/multi-select/multi-select.component.d.ts +47 -0
- package/lib/components/multi-text/multi-text.component.d.ts +56 -0
- package/lib/components/nav-menu/nav-menu.component.d.ts +6 -2
- package/lib/components/notes/notes.component.d.ts +19 -0
- package/lib/components/number/number.component.d.ts +7 -1
- package/lib/components/option/option.component.d.ts +10 -2
- package/lib/components/page/page.component.d.ts +38 -0
- package/lib/components/search/search.component.d.ts +3 -1
- package/lib/components/select/select.component.d.ts +16 -37
- package/lib/components/select-bitwise/select-bitwise.component.d.ts +31 -0
- package/lib/components/select-common/select-common.component.d.ts +50 -0
- package/lib/components/select-internal/select-internal.component.d.ts +23 -0
- package/lib/components/select-lite/select-lite.component.d.ts +8 -0
- package/lib/components/steps/steps.component.d.ts +18 -9
- package/lib/components/suffix/suffix.component.d.ts +23 -0
- package/lib/components/table/detailsDialog.component.d.ts +24 -7
- package/lib/components/table/table.component.d.ts +15 -9
- package/lib/components/table-action/table-action.component.d.ts +4 -1
- package/lib/components/table-header/table-header.component.d.ts +3 -1
- package/lib/components/table-internal/detailsDialog-internal.component.d.ts +24 -7
- package/lib/components/table-internal/table-internal.component.d.ts +15 -9
- package/lib/components/table-lite/detailsDialog-lite.component.d.ts +81 -0
- package/lib/components/table-lite/table-lite.component.d.ts +91 -0
- package/lib/components/table-row/table-row.component.d.ts +4 -1
- package/lib/components/text/text.component.d.ts +16 -7
- package/lib/components/tiles/tiles.component.d.ts +4 -3
- package/lib/components/viewer/viewerDialog.component.d.ts +3 -1
- package/lib/pages/app-models/app-models.component.d.ts +15 -0
- package/lib/pages/approvals/approvals.component.d.ts +10 -0
- package/lib/pages/approvals-config/approvals-config.component.d.ts +24 -0
- package/lib/pages/customers/customers.component.d.ts +2 -8
- package/lib/pages/invitations-table/invitations-table.component.d.ts +1 -1
- package/lib/pages/login/login.component.d.ts +7 -1
- package/lib/pages/logs/logs.component.d.ts +2 -6
- package/lib/pages/membership/membership.component.d.ts +2 -6
- package/lib/pages/notifications/notifications.component.d.ts +9 -1
- package/lib/pages/notifications-config/notifications-config.component.d.ts +17 -0
- package/lib/pages/plans/plans.component.d.ts +2 -6
- package/lib/pages/roles/roles.component.d.ts +14 -2
- package/lib/pages/suppliers/suppliers.component.d.ts +1 -4
- package/lib/pages/tasks/tasks.component.d.ts +1 -1
- package/lib/pages/tenant-settings/tenant-settings.component.d.ts +12 -7
- package/lib/pages/tenants/tenants.component.d.ts +2 -2
- package/lib/pages/users/users.component.d.ts +8 -16
- package/lib/select-context.directive.d.ts +10 -0
- package/lib/services/button.service.d.ts +10 -7
- package/lib/services/datalib.service.d.ts +54 -10
- package/lib/services/dialog.service.d.ts +2 -2
- package/lib/services/notifications.service.d.ts +12 -0
- package/lib/services/table-config.service.d.ts +9 -1
- package/lib/tin-spa.module.d.ts +50 -33
- package/package.json +1 -1
- package/public-api.d.ts +7 -0
- package/esm2020/lib/pages/invitations/invitations.component.mjs +0 -14
- package/esm2020/lib/pages/tenant-settings/inviteDialog.component.mjs +0 -60
- package/lib/pages/invitations/invitations.component.d.ts +0 -8
- package/lib/pages/tenant-settings/inviteDialog.component.d.ts +0 -28
|
@@ -1,19 +1,17 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { FormConfig, Field, Button } from '../../classes/Classes';
|
|
3
3
|
import { MessageService } from '../../services/message.service';
|
|
4
4
|
import { DataServiceLib } from '../../services/datalib.service';
|
|
5
|
+
import { AuthService } from '../../services/auth.service';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class FormComponent implements OnInit {
|
|
7
8
|
private messageService;
|
|
8
9
|
private dataService;
|
|
9
|
-
|
|
10
|
+
private authService;
|
|
11
|
+
constructor(messageService: MessageService, dataService: DataServiceLib, authService: AuthService);
|
|
10
12
|
ngOnInit(): void;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
ngOnChanges(): void;
|
|
14
|
-
ngAfterViewInit(): void;
|
|
15
|
-
getVisibleFields(): Field[];
|
|
16
|
-
testReadOnly(f: Field): boolean;
|
|
13
|
+
dynamicSelectTemplate: TemplateRef<any>;
|
|
14
|
+
hasAccess: boolean;
|
|
17
15
|
fileNames: any;
|
|
18
16
|
fileField: Field;
|
|
19
17
|
fileViewField: Field;
|
|
@@ -27,12 +25,23 @@ export declare class FormComponent implements OnInit {
|
|
|
27
25
|
config: FormConfig;
|
|
28
26
|
buttonClick: EventEmitter<any>;
|
|
29
27
|
inputChange: EventEmitter<any>;
|
|
28
|
+
initializeCompositeFields(): void;
|
|
29
|
+
private applyValueCalculations;
|
|
30
|
+
getVisibleSubfields(field: Field): Field[];
|
|
31
|
+
getVisibleFields(): Field[];
|
|
32
|
+
testReadOnly(field: Field): boolean;
|
|
33
|
+
testRequired(field: Field): boolean;
|
|
34
|
+
toggleSection(field: Field): void;
|
|
35
|
+
hasSectionFields(sectionName: string): boolean;
|
|
36
|
+
shouldSectionCollapse(field: Field): boolean;
|
|
37
|
+
onInfoClick(event: MouseEvent, infoMessage: string): void;
|
|
38
|
+
selectChanged(field: Field): void;
|
|
30
39
|
inputChanged(field: Field, value: any): void;
|
|
31
|
-
updateChildOptions(
|
|
32
|
-
|
|
40
|
+
updateChildOptions(masterFieldName: string): void;
|
|
41
|
+
private loadChildMasterOptions;
|
|
33
42
|
buttonClicked(): void;
|
|
34
43
|
processCall(button: Button): void;
|
|
35
44
|
processForm(): void;
|
|
36
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "spa-form", never, { "files": "files"; "data": "data"; "config": "config"; }, { "buttonClick": "buttonClick"; "inputChange": "inputChange"; },
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "spa-form", never, { "files": "files"; "data": "data"; "config": "config"; }, { "buttonClick": "buttonClick"; "inputChange": "inputChange"; }, ["dynamicSelectTemplate"], never, false>;
|
|
38
47
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class HtmlComponent implements OnInit {
|
|
5
|
+
private sanitizer;
|
|
6
|
+
constructor(sanitizer: DomSanitizer);
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
ngOnChanges(): void;
|
|
9
|
+
value: string;
|
|
10
|
+
maxHeight: string;
|
|
11
|
+
display: string;
|
|
12
|
+
sanitizedHtml: SafeHtml;
|
|
13
|
+
private sanitizeHtml;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HtmlComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HtmlComponent, "spa-html", never, { "value": "value"; "maxHeight": "maxHeight"; "display": "display"; }, {}, never, never, false>;
|
|
16
|
+
}
|
|
@@ -6,6 +6,7 @@ export declare class LabelComponent implements OnInit {
|
|
|
6
6
|
display: string;
|
|
7
7
|
value: string;
|
|
8
8
|
format: string;
|
|
9
|
+
suffix: string;
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<LabelComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LabelComponent, "spa-label", never, { "display": "display"; "value": "value"; "format": "format"; }, {}, never, never, false>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LabelComponent, "spa-label", never, { "display": "display"; "value": "value"; "format": "format"; "suffix": "suffix"; }, {}, never, never, false>;
|
|
11
12
|
}
|
|
@@ -22,12 +22,19 @@ export declare class MoneyComponent implements OnInit {
|
|
|
22
22
|
max: number;
|
|
23
23
|
infoMessage: string;
|
|
24
24
|
infoClick: EventEmitter<void>;
|
|
25
|
+
copyContent: boolean;
|
|
26
|
+
clearContent: boolean;
|
|
27
|
+
suffix: string;
|
|
28
|
+
isHovered: boolean;
|
|
29
|
+
onMouseEnter(): void;
|
|
30
|
+
onMouseLeave(): void;
|
|
25
31
|
onInfoClick(event: MouseEvent): void;
|
|
32
|
+
clear(): void;
|
|
26
33
|
changed(x: any): void;
|
|
27
34
|
leaved(): void;
|
|
28
35
|
enterPressed(): void;
|
|
29
36
|
control: FormControl<string>;
|
|
30
37
|
validate(control: FormControl): string;
|
|
31
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<MoneyComponent, never>;
|
|
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>;
|
|
39
|
+
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"; "copyContent": "copyContent"; "clearContent": "clearContent"; "suffix": "suffix"; }, { "valueChange": "valueChange"; "leave": "leave"; "enterPress": "enterPress"; "infoClick": "infoClick"; }, never, never, false>;
|
|
33
40
|
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import { MessageService } from '../../services/message.service';
|
|
4
|
+
import { Action } from '../../classes/Classes';
|
|
5
|
+
import { DataServiceLib } from '../../services/datalib.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class MultiSelectComponent implements OnInit {
|
|
8
|
+
private messageService;
|
|
9
|
+
private dataService;
|
|
10
|
+
constructor(messageService: MessageService, dataService: DataServiceLib);
|
|
11
|
+
display: string;
|
|
12
|
+
value: string;
|
|
13
|
+
valueChange: EventEmitter<string>;
|
|
14
|
+
readonly: boolean;
|
|
15
|
+
required: boolean;
|
|
16
|
+
hint: string;
|
|
17
|
+
options: any[];
|
|
18
|
+
optionDisplay: string;
|
|
19
|
+
optionValue: string;
|
|
20
|
+
infoMessage: string;
|
|
21
|
+
copyContent: boolean;
|
|
22
|
+
clearContent: boolean;
|
|
23
|
+
nullable: boolean;
|
|
24
|
+
placeholder: string;
|
|
25
|
+
width: string;
|
|
26
|
+
suffix: string;
|
|
27
|
+
loadAction: Action;
|
|
28
|
+
control: FormControl<any[]>;
|
|
29
|
+
selectedValues: any[];
|
|
30
|
+
ngOnInit(): void;
|
|
31
|
+
ngOnChanges(): void;
|
|
32
|
+
private initializeValues;
|
|
33
|
+
selectionChange(event: any): void;
|
|
34
|
+
private updateValue;
|
|
35
|
+
getOptionDisplay(value: any): string;
|
|
36
|
+
compareWith(v1: any, v2: any): boolean;
|
|
37
|
+
clear(): void;
|
|
38
|
+
copyValues(): void;
|
|
39
|
+
isHovered: boolean;
|
|
40
|
+
hoverChange: EventEmitter<boolean>;
|
|
41
|
+
onMouseEnter(): void;
|
|
42
|
+
onMouseLeave(): void;
|
|
43
|
+
refresh(event: MouseEvent): void;
|
|
44
|
+
getData(action: Action): void;
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MultiSelectComponent, never>;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelectComponent, "spa-multi-select", never, { "display": "display"; "value": "value"; "readonly": "readonly"; "required": "required"; "hint": "hint"; "options": "options"; "optionDisplay": "optionDisplay"; "optionValue": "optionValue"; "infoMessage": "infoMessage"; "copyContent": "copyContent"; "clearContent": "clearContent"; "nullable": "nullable"; "placeholder": "placeholder"; "width": "width"; "suffix": "suffix"; "loadAction": "loadAction"; }, { "valueChange": "valueChange"; "hoverChange": "hoverChange"; }, never, never, false>;
|
|
47
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
|
4
|
+
import { MatChipInputEvent } from '@angular/material/chips';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
6
|
+
import { MessageService } from '../../services/message.service';
|
|
7
|
+
import { Action } from '../../classes/Classes';
|
|
8
|
+
import { DataServiceLib } from '../../services/datalib.service';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class MultiTextComponent implements OnInit {
|
|
11
|
+
private messageService;
|
|
12
|
+
private dataService;
|
|
13
|
+
constructor(messageService: MessageService, dataService: DataServiceLib);
|
|
14
|
+
textInput: ElementRef<HTMLInputElement>;
|
|
15
|
+
display: string;
|
|
16
|
+
value: string;
|
|
17
|
+
valueChange: EventEmitter<string>;
|
|
18
|
+
readonly: boolean;
|
|
19
|
+
required: boolean;
|
|
20
|
+
hint: string;
|
|
21
|
+
strict: boolean;
|
|
22
|
+
suffix: string;
|
|
23
|
+
infoMessage: string;
|
|
24
|
+
copyContent: boolean;
|
|
25
|
+
clearContent: boolean;
|
|
26
|
+
options: any[];
|
|
27
|
+
optionDisplay: string;
|
|
28
|
+
optionValue: string;
|
|
29
|
+
loadAction: Action;
|
|
30
|
+
values: string[];
|
|
31
|
+
control: FormControl<string>;
|
|
32
|
+
filteredOptions: Observable<any[]>;
|
|
33
|
+
errorState: boolean;
|
|
34
|
+
private selectedFromAutocomplete;
|
|
35
|
+
ngOnInit(): void;
|
|
36
|
+
ngOnChanges(): void;
|
|
37
|
+
private setupAutoComplete;
|
|
38
|
+
private filterOptions;
|
|
39
|
+
add(event: MatChipInputEvent): void;
|
|
40
|
+
private addValue;
|
|
41
|
+
remove(value: string): void;
|
|
42
|
+
optionSelected(event: MatAutocompleteSelectedEvent): void;
|
|
43
|
+
private resetInput;
|
|
44
|
+
updateValue(): void;
|
|
45
|
+
clear(): void;
|
|
46
|
+
getDisplayValue(value: string): string;
|
|
47
|
+
copyValues(): void;
|
|
48
|
+
isHovered: boolean;
|
|
49
|
+
hoverChange: EventEmitter<boolean>;
|
|
50
|
+
onMouseEnter(): void;
|
|
51
|
+
onMouseLeave(): void;
|
|
52
|
+
refresh(event: MouseEvent): void;
|
|
53
|
+
getData(action: Action): void;
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MultiTextComponent, never>;
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiTextComponent, "spa-multi-text", never, { "display": "display"; "value": "value"; "readonly": "readonly"; "required": "required"; "hint": "hint"; "strict": "strict"; "suffix": "suffix"; "infoMessage": "infoMessage"; "copyContent": "copyContent"; "clearContent": "clearContent"; "options": "options"; "optionDisplay": "optionDisplay"; "optionValue": "optionValue"; "loadAction": "loadAction"; }, { "valueChange": "valueChange"; "hoverChange": "hoverChange"; }, never, never, false>;
|
|
56
|
+
}
|
|
@@ -1,20 +1,23 @@
|
|
|
1
|
-
import { AppConfig } from './../../classes/Classes';
|
|
1
|
+
import { AppConfig, CapItem } from './../../classes/Classes';
|
|
2
2
|
import { Router } from '@angular/router';
|
|
3
3
|
import { AuthService } from '../../services/auth.service';
|
|
4
4
|
import { StorageService } from '../../services/storage.service';
|
|
5
5
|
import { SocialAuthService } from '@abacritt/angularx-social-login';
|
|
6
6
|
import { DataServiceLib } from '../../services/datalib.service';
|
|
7
7
|
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
8
|
+
import { NotificationsService } from '../../services/notifications.service';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class NavMenuComponent {
|
|
10
11
|
router: Router;
|
|
11
12
|
authService: AuthService;
|
|
12
13
|
private storageService;
|
|
14
|
+
private notificationsService;
|
|
13
15
|
private socialService;
|
|
14
16
|
private breakpointObserver;
|
|
15
17
|
dataService: DataServiceLib;
|
|
16
|
-
constructor(router: Router, authService: AuthService, storageService: StorageService, socialService: SocialAuthService, breakpointObserver: BreakpointObserver, dataService: DataServiceLib);
|
|
18
|
+
constructor(router: Router, authService: AuthService, storageService: StorageService, notificationsService: NotificationsService, socialService: SocialAuthService, breakpointObserver: BreakpointObserver, dataService: DataServiceLib);
|
|
17
19
|
ngOnInit(): void;
|
|
20
|
+
notificationCount$: import("rxjs").Observable<number>;
|
|
18
21
|
smallScreen: any;
|
|
19
22
|
myRole: any;
|
|
20
23
|
loggedUserFullName: string;
|
|
@@ -29,6 +32,7 @@ export declare class NavMenuComponent {
|
|
|
29
32
|
closeSide(): void;
|
|
30
33
|
logoff(): void;
|
|
31
34
|
redirectTo(link: string): void;
|
|
35
|
+
getSubItems(capItem: CapItem): CapItem[];
|
|
32
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavMenuComponent, never>;
|
|
33
37
|
static ɵcmp: i0.ɵɵComponentDeclaration<NavMenuComponent, "spa-nav-menu", never, { "appConfig": "appConfig"; "footer": "footer"; }, {}, never, never, false>;
|
|
34
38
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { DataServiceLib } from '../../services/datalib.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class NotesComponent implements OnInit {
|
|
5
|
+
private dataService;
|
|
6
|
+
constructor(dataService: DataServiceLib);
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
title: string;
|
|
9
|
+
notes: any[];
|
|
10
|
+
loadAction: any;
|
|
11
|
+
loadIDField: string;
|
|
12
|
+
data: any;
|
|
13
|
+
nameField: string;
|
|
14
|
+
dateField: string;
|
|
15
|
+
commentField: string;
|
|
16
|
+
private loadNotes;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotesComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NotesComponent, "spa-notes", never, { "title": "title"; "notes": "notes"; "loadAction": "loadAction"; "loadIDField": "loadIDField"; "data": "data"; "nameField": "nameField"; "dateField": "dateField"; "commentField": "commentField"; }, {}, never, never, false>;
|
|
19
|
+
}
|
|
@@ -24,6 +24,12 @@ export declare class NumberComponent implements OnInit {
|
|
|
24
24
|
suffix: string;
|
|
25
25
|
infoMessage: string;
|
|
26
26
|
infoClick: EventEmitter<void>;
|
|
27
|
+
copyContent: boolean;
|
|
28
|
+
clearContent: boolean;
|
|
29
|
+
isHovered: boolean;
|
|
30
|
+
onMouseEnter(): void;
|
|
31
|
+
onMouseLeave(): void;
|
|
32
|
+
clear(): void;
|
|
27
33
|
onInfoClick(event: MouseEvent): void;
|
|
28
34
|
changed(): void;
|
|
29
35
|
leaved(): void;
|
|
@@ -31,5 +37,5 @@ export declare class NumberComponent implements OnInit {
|
|
|
31
37
|
control: FormControl<number>;
|
|
32
38
|
validate(control: FormControl): string;
|
|
33
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<NumberComponent, never>;
|
|
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>;
|
|
40
|
+
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"; "copyContent": "copyContent"; "clearContent": "clearContent"; }, { "valueChange": "valueChange"; "leave": "leave"; "enterPress": "enterPress"; "infoClick": "infoClick"; }, never, never, false>;
|
|
35
41
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { MessageService } from '../../services/message.service';
|
|
3
|
+
import { Action } from '../../classes/Classes';
|
|
2
4
|
import * as i0 from "@angular/core";
|
|
3
5
|
export declare class OptionComponent implements OnInit {
|
|
4
|
-
|
|
6
|
+
private messageService;
|
|
7
|
+
constructor(messageService: MessageService);
|
|
5
8
|
ngOnInit(): void;
|
|
6
9
|
OGValue: any;
|
|
7
10
|
options: any;
|
|
@@ -13,12 +16,17 @@ export declare class OptionComponent implements OnInit {
|
|
|
13
16
|
display: string;
|
|
14
17
|
show: boolean;
|
|
15
18
|
required: boolean;
|
|
19
|
+
infoMessage: string;
|
|
20
|
+
copyContent: boolean;
|
|
21
|
+
suffix: string;
|
|
22
|
+
loadAction: Action;
|
|
16
23
|
valueChange: EventEmitter<any>;
|
|
17
24
|
enterPress: EventEmitter<any>;
|
|
18
25
|
changed(): void;
|
|
19
26
|
dateChanged(x: any): void;
|
|
20
27
|
enterPressed(): void;
|
|
21
28
|
resetValue(): void;
|
|
29
|
+
onInfoClick(event: MouseEvent): void;
|
|
22
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<OptionComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OptionComponent, "spa-option", never, { "options": "options"; "optionValue": "optionValue"; "optionDisplay": "optionDisplay"; "readonly": "readonly"; "type": "type"; "value": "value"; "display": "display"; "show": "show"; "required": "required"; }, { "valueChange": "valueChange"; "enterPress": "enterPress"; }, never, never, false>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OptionComponent, "spa-option", never, { "options": "options"; "optionValue": "optionValue"; "optionDisplay": "optionDisplay"; "readonly": "readonly"; "type": "type"; "value": "value"; "display": "display"; "show": "show"; "required": "required"; "infoMessage": "infoMessage"; "copyContent": "copyContent"; "suffix": "suffix"; "loadAction": "loadAction"; }, { "valueChange": "valueChange"; "enterPress": "enterPress"; }, never, never, false>;
|
|
24
32
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { PageConfig, TableConfig } from '../../classes/Classes';
|
|
3
|
+
import { DataServiceLib } from '../../services/datalib.service';
|
|
4
|
+
import { Subject } from 'rxjs';
|
|
5
|
+
import { MessageService } from '../../services/message.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class PageComponent implements OnInit {
|
|
8
|
+
dataServiceLib: DataServiceLib;
|
|
9
|
+
private messageService;
|
|
10
|
+
constructor(dataServiceLib: DataServiceLib, messageService: MessageService);
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
config: PageConfig;
|
|
13
|
+
searchModeActivated: EventEmitter<any>;
|
|
14
|
+
searchModeDeactivated: EventEmitter<any>;
|
|
15
|
+
refreshClick: EventEmitter<any>;
|
|
16
|
+
actionClick: EventEmitter<any>;
|
|
17
|
+
actionResponse: EventEmitter<any>;
|
|
18
|
+
inputChange: EventEmitter<any>;
|
|
19
|
+
createClick: EventEmitter<any>;
|
|
20
|
+
searchClick: EventEmitter<any>;
|
|
21
|
+
dataLoad: EventEmitter<any>;
|
|
22
|
+
tableReload: Subject<boolean>;
|
|
23
|
+
searchMode: boolean;
|
|
24
|
+
normalTableConfig: TableConfig;
|
|
25
|
+
searchTableConfig: TableConfig;
|
|
26
|
+
toggleSearch(): void;
|
|
27
|
+
getNormalTableConfig(): TableConfig;
|
|
28
|
+
getSearchTableConfig(): TableConfig;
|
|
29
|
+
refreshClicked(): void;
|
|
30
|
+
actionClicked(x: any): void;
|
|
31
|
+
actionResponded(x: any): void;
|
|
32
|
+
inputChanged(x: any): void;
|
|
33
|
+
createClicked(x: any): void;
|
|
34
|
+
searchClicked(x: any): void;
|
|
35
|
+
dataLoaded(x: any): void;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageComponent, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PageComponent, "spa-page", never, { "config": "config"; }, { "searchModeActivated": "searchModeActivated"; "searchModeDeactivated": "searchModeDeactivated"; "refreshClick": "refreshClick"; "actionClick": "actionClick"; "actionResponse": "actionResponse"; "inputChange": "inputChange"; "createClick": "createClick"; "searchClick": "searchClick"; "dataLoad": "dataLoad"; }, never, never, false>;
|
|
38
|
+
}
|
|
@@ -7,7 +7,9 @@ export declare class SearchComponent implements OnInit {
|
|
|
7
7
|
data: any;
|
|
8
8
|
config: SearchConfig;
|
|
9
9
|
searchClick: EventEmitter<any>;
|
|
10
|
+
smallScreen: boolean;
|
|
11
|
+
tableDataSource: any;
|
|
10
12
|
search(): void;
|
|
11
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<SearchComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SearchComponent, "spa-search", never, { "config": "config"; }, { "searchClick": "searchClick"; }, never, never, false>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SearchComponent, "spa-search", never, { "config": "config"; "smallScreen": "smallScreen"; "tableDataSource": "tableDataSource"; }, { "searchClick": "searchClick"; }, never, never, false>;
|
|
13
15
|
}
|
|
@@ -1,44 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { DetailsDialogConfig } from '../../classes/Classes';
|
|
3
3
|
import { MessageService } from '../../services/message.service';
|
|
4
4
|
import { DialogService } from '../../services/dialog.service';
|
|
5
|
+
import { SelectCommonComponent } from '../select-common/select-common.component';
|
|
6
|
+
import { DataServiceLib } from '../../services/datalib.service';
|
|
7
|
+
import { ButtonService } from '../../services/button.service';
|
|
5
8
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class SelectComponent implements OnInit {
|
|
7
|
-
|
|
9
|
+
export declare class SelectComponent extends SelectCommonComponent implements OnInit {
|
|
10
|
+
protected messageService: MessageService;
|
|
11
|
+
protected dataService: DataServiceLib;
|
|
8
12
|
private dialogService;
|
|
9
|
-
|
|
13
|
+
private buttonService;
|
|
14
|
+
constructor(messageService: MessageService, dataService: DataServiceLib, dialogService: DialogService, buttonService: ButtonService);
|
|
10
15
|
ngOnInit(): void;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
required: boolean;
|
|
17
|
-
defaultFirstValue: boolean;
|
|
18
|
-
readonlyMode: string;
|
|
19
|
-
hint: string;
|
|
20
|
-
placeholder: string;
|
|
21
|
-
multiple: boolean;
|
|
22
|
-
display: string;
|
|
23
|
-
value: any;
|
|
24
|
-
options: any;
|
|
25
|
-
masterOptions: any;
|
|
26
|
-
optionValue: string;
|
|
27
|
-
optionDisplay: string;
|
|
28
|
-
optionDisplayExtra: string;
|
|
29
|
-
nullable: boolean;
|
|
30
|
-
peekConfig: PeekDialogConfig;
|
|
31
|
-
infoMessage: string;
|
|
32
|
-
copyContent: boolean;
|
|
33
|
-
valueChange: EventEmitter<any>;
|
|
34
|
-
infoClick: EventEmitter<void>;
|
|
35
|
-
copyText(event: MouseEvent): void;
|
|
36
|
-
changed(): void;
|
|
37
|
-
onMouseEnter(): void;
|
|
38
|
-
onMouseLeave(): void;
|
|
39
|
-
onAddClick(event: MouseEvent): void;
|
|
40
|
-
onViewClick(event: MouseEvent): void;
|
|
41
|
-
onInfoClick(event: MouseEvent): void;
|
|
16
|
+
detailsConfig: DetailsDialogConfig;
|
|
17
|
+
onHoverChange(isHovered: boolean): void;
|
|
18
|
+
canCreate(): boolean;
|
|
19
|
+
canView(): boolean;
|
|
20
|
+
onPeekClick(event: MouseEvent, mode: 'create' | 'view'): void;
|
|
42
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "spa-select", never, { "
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "spa-select", never, { "detailsConfig": "detailsConfig"; }, {}, never, never, false>;
|
|
44
23
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { BitwiseOption, Icon } from '../../classes/Classes';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SelectBitwiseComponent implements OnInit {
|
|
5
|
+
display: string;
|
|
6
|
+
hint: string;
|
|
7
|
+
required: boolean;
|
|
8
|
+
readonly: boolean;
|
|
9
|
+
width: string;
|
|
10
|
+
infoMessage: string;
|
|
11
|
+
options: {
|
|
12
|
+
name?: string;
|
|
13
|
+
value: number;
|
|
14
|
+
icon?: Icon;
|
|
15
|
+
}[];
|
|
16
|
+
set value(val: number);
|
|
17
|
+
get value(): number;
|
|
18
|
+
valueChange: EventEmitter<number>;
|
|
19
|
+
infoClick: EventEmitter<void>;
|
|
20
|
+
private _value;
|
|
21
|
+
bitwiseOptions: BitwiseOption[];
|
|
22
|
+
selectedValues: number[];
|
|
23
|
+
hasNames: boolean;
|
|
24
|
+
get selectedOptions(): BitwiseOption[];
|
|
25
|
+
ngOnInit(): void;
|
|
26
|
+
onSelectionChange(event: any): void;
|
|
27
|
+
private updateSelectedValues;
|
|
28
|
+
onInfoClick(event: MouseEvent): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectBitwiseComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectBitwiseComponent, "spa-select-bitwise", never, { "display": "display"; "hint": "hint"; "required": "required"; "readonly": "readonly"; "width": "width"; "infoMessage": "infoMessage"; "options": "options"; "value": "value"; }, { "valueChange": "valueChange"; "infoClick": "infoClick"; }, never, never, false>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { MessageService } from '../../services/message.service';
|
|
3
|
+
import { Action, Field } from '../../classes/Classes';
|
|
4
|
+
import { DataServiceLib } from '../../services/datalib.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class SelectCommonComponent implements OnInit, OnDestroy {
|
|
7
|
+
protected messageService: MessageService;
|
|
8
|
+
protected dataService: DataServiceLib;
|
|
9
|
+
constructor(messageService: MessageService, dataService: DataServiceLib);
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
ngOnChanges(): void;
|
|
12
|
+
displayValue: any;
|
|
13
|
+
isHovered: boolean;
|
|
14
|
+
private subscription;
|
|
15
|
+
width: string;
|
|
16
|
+
readonly: boolean;
|
|
17
|
+
required: boolean;
|
|
18
|
+
defaultFirstValue: boolean;
|
|
19
|
+
readonlyMode: string;
|
|
20
|
+
hint: string;
|
|
21
|
+
placeholder: string;
|
|
22
|
+
multiple: boolean;
|
|
23
|
+
display: string;
|
|
24
|
+
value: any;
|
|
25
|
+
options: any;
|
|
26
|
+
masterOptions: any;
|
|
27
|
+
masterField: string;
|
|
28
|
+
optionValue: string;
|
|
29
|
+
optionDisplay: string;
|
|
30
|
+
optionDisplayExtra: string;
|
|
31
|
+
nullable: boolean;
|
|
32
|
+
infoMessage: string;
|
|
33
|
+
copyContent: boolean;
|
|
34
|
+
loadAction: Action;
|
|
35
|
+
loadIDField: string;
|
|
36
|
+
field: Field;
|
|
37
|
+
data: any;
|
|
38
|
+
valueChange: EventEmitter<any>;
|
|
39
|
+
hoverChange: EventEmitter<boolean>;
|
|
40
|
+
setDefaultValue(): void;
|
|
41
|
+
changed(): void;
|
|
42
|
+
onMouseEnter(): void;
|
|
43
|
+
onMouseLeave(): void;
|
|
44
|
+
refresh(event: MouseEvent): void;
|
|
45
|
+
private transformLoadUrl;
|
|
46
|
+
getData(loadAction: Action): void;
|
|
47
|
+
ngOnDestroy(): void;
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectCommonComponent, never>;
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectCommonComponent, "spa-select-common", 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"; "masterField": "masterField"; "optionValue": "optionValue"; "optionDisplay": "optionDisplay"; "optionDisplayExtra": "optionDisplayExtra"; "nullable": "nullable"; "infoMessage": "infoMessage"; "copyContent": "copyContent"; "loadAction": "loadAction"; "loadIDField": "loadIDField"; "field": "field"; "data": "data"; }, { "valueChange": "valueChange"; "hoverChange": "hoverChange"; }, never, ["[additionalButtons]"], false>;
|
|
50
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { DetailsDialogConfig } from '../../classes/Classes';
|
|
3
|
+
import { MessageService } from '../../services/message.service';
|
|
4
|
+
import { DialogService } from '../../services/dialog.service';
|
|
5
|
+
import { SelectCommonComponent } from '../select-common/select-common.component';
|
|
6
|
+
import { DataServiceLib } from '../../services/datalib.service';
|
|
7
|
+
import { ButtonService } from '../../services/button.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class SelectInternalComponent extends SelectCommonComponent implements OnInit {
|
|
10
|
+
protected messageService: MessageService;
|
|
11
|
+
protected dataService: DataServiceLib;
|
|
12
|
+
private dialogService;
|
|
13
|
+
private buttonService;
|
|
14
|
+
constructor(messageService: MessageService, dataService: DataServiceLib, dialogService: DialogService, buttonService: ButtonService);
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
detailsConfig: DetailsDialogConfig;
|
|
17
|
+
onHoverChange(isHovered: boolean): void;
|
|
18
|
+
canCreate(): boolean;
|
|
19
|
+
canView(): boolean;
|
|
20
|
+
onPeekClick(event: MouseEvent, mode: 'create' | 'view'): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectInternalComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectInternalComponent, "spa-select-internal", never, { "detailsConfig": "detailsConfig"; }, {}, never, never, false>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { SelectCommonComponent } from '../select-common/select-common.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SelectLiteComponent extends SelectCommonComponent implements OnInit {
|
|
5
|
+
ngOnInit(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectLiteComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectLiteComponent, "spa-select-lite", never, {}, {}, never, never, false>;
|
|
8
|
+
}
|
|
@@ -1,18 +1,27 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
2
|
import { MatStepper } from '@angular/material/stepper';
|
|
3
|
-
import { Step } from '../../classes/Classes';
|
|
3
|
+
import { Step, StepConfig } from '../../classes/Classes';
|
|
4
|
+
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
5
|
+
import { DataServiceLib } from '../../services/datalib.service';
|
|
4
6
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class StepsComponent implements OnInit
|
|
6
|
-
|
|
7
|
+
export declare class StepsComponent implements OnInit {
|
|
8
|
+
private breakpointObserver;
|
|
9
|
+
private dataService;
|
|
10
|
+
constructor(breakpointObserver: BreakpointObserver, dataService: DataServiceLib);
|
|
7
11
|
ngOnInit(): void;
|
|
8
|
-
ngAfterViewInit(): void;
|
|
9
12
|
ngOnChanges(): void;
|
|
13
|
+
private observeScreenSize;
|
|
10
14
|
stepper: MatStepper;
|
|
11
15
|
value: string;
|
|
16
|
+
config: StepConfig;
|
|
17
|
+
data: any;
|
|
18
|
+
selectedIndex: number;
|
|
19
|
+
smallScreen: boolean;
|
|
12
20
|
steps: Step[];
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
21
|
+
private loadSteps;
|
|
22
|
+
private updateSelectedStep;
|
|
23
|
+
get shouldShowLabels(): boolean;
|
|
24
|
+
getVisibleSteps(): Step[];
|
|
16
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<StepsComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StepsComponent, "spa-steps", never, { "value": "value"; "
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StepsComponent, "spa-steps", never, { "value": "value"; "config": "config"; "data": "data"; }, {}, never, never, false>;
|
|
18
27
|
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { MessageService } from '../../services/message.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SuffixComponent implements OnInit {
|
|
5
|
+
private messageService;
|
|
6
|
+
constructor(messageService: MessageService);
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
label: string;
|
|
9
|
+
infoMessage: string;
|
|
10
|
+
copyContent: boolean;
|
|
11
|
+
isHovered: boolean;
|
|
12
|
+
clearContent: boolean;
|
|
13
|
+
value: any;
|
|
14
|
+
infoClick: EventEmitter<void>;
|
|
15
|
+
copyClick: EventEmitter<string>;
|
|
16
|
+
clearClick: EventEmitter<void>;
|
|
17
|
+
valueChange: EventEmitter<any>;
|
|
18
|
+
onInfoClick(event: MouseEvent): void;
|
|
19
|
+
onCopyClick(event: MouseEvent): void;
|
|
20
|
+
onClearClick(event: MouseEvent): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SuffixComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SuffixComponent, "spa-suffix", never, { "label": "label"; "infoMessage": "infoMessage"; "copyContent": "copyContent"; "isHovered": "isHovered"; "clearContent": "clearContent"; "value": "value"; }, { "infoClick": "infoClick"; "copyClick": "copyClick"; "clearClick": "clearClick"; "valueChange": "valueChange"; }, never, never, false>;
|
|
23
|
+
}
|