tin-spa 14.3.11 → 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 +53 -206
- package/esm2020/lib/classes/LibClasses.mjs +180 -0
- package/esm2020/lib/classes/TinCore.mjs +201 -42
- 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 +6 -6
- package/esm2020/lib/components/datetime/datetime.component.mjs +6 -3
- package/esm2020/lib/components/email/email.component.mjs +133 -0
- package/esm2020/lib/components/filter/filter.component.mjs +7 -3
- package/esm2020/lib/components/form/form.component.mjs +155 -53
- 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 +32 -28
- 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 +39 -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 -119
- 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 +179 -37
- package/esm2020/lib/components/table/table.component.mjs +142 -108
- package/esm2020/lib/components/table-action/table-action.component.mjs +42 -8
- package/esm2020/lib/components/table-header/table-header.component.mjs +87 -15
- package/esm2020/lib/components/table-internal/detailsDialog-internal.component.mjs +183 -35
- package/esm2020/lib/components/table-internal/table-internal.component.mjs +144 -109
- 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 +41 -6
- package/esm2020/lib/components/text/text.component.mjs +97 -42
- package/esm2020/lib/components/tiles/tiles.component.mjs +44 -26
- 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 +32 -22
- package/esm2020/lib/modules/index/index-routing.module.mjs +4 -4
- package/esm2020/lib/modules/spa-admin.module.mjs +7 -7
- package/esm2020/lib/modules/spa-index.module.mjs +4 -4
- package/esm2020/lib/modules/spa-user.module.mjs +3 -3
- package/esm2020/lib/modules/user/user-routing.module.mjs +3 -3
- package/esm2020/lib/pages/accounts/accountDialog.component.mjs +56 -0
- package/esm2020/lib/pages/accounts/accounts.component.mjs +70 -0
- 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 +14 -0
- package/esm2020/lib/pages/change-password/change-password.component.mjs +92 -0
- package/esm2020/lib/pages/create-account/create-account.component.mjs +110 -0
- package/esm2020/lib/pages/customers/customers.component.mjs +21 -0
- package/esm2020/lib/{components → pages}/departments/departments.component.mjs +3 -5
- package/esm2020/lib/pages/employees/employees.component.mjs +20 -0
- package/esm2020/lib/pages/grades/grades.component.mjs +14 -0
- package/esm2020/lib/pages/inventory/inventory.component.mjs +99 -0
- package/esm2020/lib/pages/inventory/quantityDialog.component.mjs +53 -0
- package/esm2020/lib/pages/invitations-table/invitations-table.component.mjs +71 -0
- package/esm2020/lib/pages/login/login.component.mjs +166 -0
- package/esm2020/lib/pages/logs/logs.component.mjs +42 -0
- package/esm2020/lib/pages/membership/membership.component.mjs +44 -0
- package/esm2020/lib/pages/notifications/notifications.component.mjs +90 -0
- package/esm2020/lib/pages/notifications-config/notifications-config.component.mjs +113 -0
- package/esm2020/lib/pages/plans/plans.component.mjs +44 -0
- package/esm2020/lib/pages/positions/positions.component.mjs +21 -0
- package/esm2020/lib/pages/profile/profile.component.mjs +94 -0
- package/esm2020/lib/pages/recover-account/recover-account.component.mjs +46 -0
- package/esm2020/lib/{components → pages}/roles/addRoleDialog.component.mjs +3 -3
- package/esm2020/lib/pages/roles/roles.component.mjs +151 -0
- package/esm2020/lib/{components → pages}/settings/settings.component.mjs +2 -11
- package/esm2020/lib/pages/signup/signup.component.mjs +50 -0
- package/esm2020/lib/pages/suppliers/suppliers.component.mjs +22 -0
- package/esm2020/lib/pages/tasks/tasks.component.mjs +86 -0
- package/esm2020/lib/pages/tenant-settings/tenant-settings.component.mjs +228 -0
- package/esm2020/lib/pages/tenants/tenants.component.mjs +47 -0
- package/esm2020/lib/pages/transactions/transactDialog.component.mjs +80 -0
- package/esm2020/lib/pages/transactions/transactions.component.mjs +101 -0
- package/esm2020/lib/pages/users/users.component.mjs +141 -0
- package/esm2020/lib/pages/welcome/welcome.component.mjs +86 -0
- package/esm2020/lib/select-context.directive.mjs +23 -0
- package/esm2020/lib/services/auth.service.mjs +3 -2
- package/esm2020/lib/services/button.service.mjs +90 -30
- package/esm2020/lib/services/csv.service.mjs +49 -0
- package/esm2020/lib/services/datalib.service.mjs +504 -76
- package/esm2020/lib/services/dialog.service.mjs +24 -7
- package/esm2020/lib/services/log.service.mjs +2 -2
- 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 +70 -30
- package/esm2020/public-api.mjs +33 -25
- package/fesm2015/tin-spa.mjs +6258 -2345
- package/fesm2015/tin-spa.mjs.map +1 -1
- package/fesm2020/tin-spa.mjs +6308 -2336
- package/fesm2020/tin-spa.mjs.map +1 -1
- package/lib/classes/Classes.d.ts +244 -294
- package/lib/classes/LibClasses.d.ts +173 -0
- package/lib/classes/TinCore.d.ts +13 -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/datetime/datetime.component.d.ts +2 -1
- package/lib/components/email/email.component.d.ts +40 -0
- package/lib/components/filter/filter.component.d.ts +1 -0
- package/lib/components/form/form.component.d.ts +20 -9
- 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 +11 -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 -35
- 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 +18 -9
- package/lib/components/table-action/table-action.component.d.ts +4 -1
- package/lib/components/table-header/table-header.component.d.ts +19 -4
- package/lib/components/table-internal/detailsDialog-internal.component.d.ts +24 -7
- package/lib/components/table-internal/table-internal.component.d.ts +18 -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 +5 -2
- package/lib/components/text/text.component.d.ts +17 -4
- package/lib/components/tiles/tiles.component.d.ts +7 -4
- package/lib/components/viewer/viewerDialog.component.d.ts +3 -1
- package/lib/modules/spa-admin.module.d.ts +6 -6
- package/lib/modules/spa-index.module.d.ts +3 -3
- package/lib/modules/spa-user.module.d.ts +2 -2
- 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/{components → pages}/change-password/change-password.component.d.ts +1 -1
- package/lib/{components → pages}/create-account/create-account.component.d.ts +2 -1
- package/lib/{components → pages}/customers/customers.component.d.ts +2 -8
- package/lib/{components → pages}/invitations-table/invitations-table.component.d.ts +1 -1
- package/lib/{components → pages}/login/login.component.d.ts +10 -3
- package/lib/{components → pages}/logs/logs.component.d.ts +2 -6
- package/lib/{components → pages}/membership/membership.component.d.ts +2 -6
- package/lib/pages/notifications/notifications.component.d.ts +16 -0
- package/lib/pages/notifications-config/notifications-config.component.d.ts +17 -0
- package/lib/{components → pages}/plans/plans.component.d.ts +2 -6
- package/lib/{components → pages}/profile/profile.component.d.ts +2 -1
- package/lib/{components → pages}/roles/addRoleDialog.component.d.ts +1 -1
- package/lib/{components → pages}/roles/roles.component.d.ts +15 -3
- package/lib/{components → pages}/signup/signup.component.d.ts +1 -1
- package/lib/{components → pages}/suppliers/suppliers.component.d.ts +1 -4
- package/lib/{components → pages}/tasks/tasks.component.d.ts +1 -1
- package/lib/{components → pages}/tenant-settings/tenant-settings.component.d.ts +12 -7
- package/lib/{components → pages}/tenants/tenants.component.d.ts +2 -2
- package/lib/{components → pages}/users/users.component.d.ts +8 -16
- package/lib/select-context.directive.d.ts +10 -0
- package/lib/services/auth.service.d.ts +1 -1
- package/lib/services/button.service.d.ts +10 -7
- package/lib/services/csv.service.d.ts +10 -0
- package/lib/services/datalib.service.d.ts +55 -10
- package/lib/services/dialog.service.d.ts +2 -2
- package/lib/services/log.service.d.ts +1 -1
- 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 +51 -33
- package/package.json +1 -1
- package/public-api.d.ts +31 -23
- package/esm2020/lib/components/accounts/accountDialog.component.mjs +0 -56
- package/esm2020/lib/components/accounts/accounts.component.mjs +0 -70
- package/esm2020/lib/components/bug/bug.component.mjs +0 -14
- package/esm2020/lib/components/change-password/change-password.component.mjs +0 -92
- package/esm2020/lib/components/create-account/create-account.component.mjs +0 -109
- package/esm2020/lib/components/customers/customers.component.mjs +0 -60
- package/esm2020/lib/components/employees/employees.component.mjs +0 -21
- package/esm2020/lib/components/grades/grades.component.mjs +0 -14
- package/esm2020/lib/components/inventory/inventory.component.mjs +0 -99
- package/esm2020/lib/components/inventory/quantityDialog.component.mjs +0 -53
- package/esm2020/lib/components/invitations/invitations.component.mjs +0 -14
- package/esm2020/lib/components/invitations-table/invitations-table.component.mjs +0 -70
- package/esm2020/lib/components/login/login.component.mjs +0 -127
- package/esm2020/lib/components/logs/logs.component.mjs +0 -37
- package/esm2020/lib/components/membership/membership.component.mjs +0 -48
- package/esm2020/lib/components/notifications/notifications.component.mjs +0 -14
- package/esm2020/lib/components/plans/plans.component.mjs +0 -47
- package/esm2020/lib/components/positions/positions.component.mjs +0 -21
- package/esm2020/lib/components/profile/profile.component.mjs +0 -92
- package/esm2020/lib/components/recover-account/recover-account.component.mjs +0 -46
- package/esm2020/lib/components/roles/roles.component.mjs +0 -91
- package/esm2020/lib/components/signup/signup.component.mjs +0 -50
- package/esm2020/lib/components/suppliers/suppliers.component.mjs +0 -50
- package/esm2020/lib/components/tasks/tasks.component.mjs +0 -86
- package/esm2020/lib/components/tenant-settings/inviteDialog.component.mjs +0 -60
- package/esm2020/lib/components/tenant-settings/tenant-settings.component.mjs +0 -155
- package/esm2020/lib/components/tenants/tenants.component.mjs +0 -47
- package/esm2020/lib/components/transactions/transactDialog.component.mjs +0 -80
- package/esm2020/lib/components/transactions/transactions.component.mjs +0 -101
- package/esm2020/lib/components/users/users.component.mjs +0 -118
- package/esm2020/lib/components/welcome/welcome.component.mjs +0 -86
- package/lib/components/invitations/invitations.component.d.ts +0 -8
- package/lib/components/notifications/notifications.component.d.ts +0 -8
- package/lib/components/tenant-settings/inviteDialog.component.d.ts +0 -28
- /package/lib/{components → pages}/accounts/accountDialog.component.d.ts +0 -0
- /package/lib/{components → pages}/accounts/accounts.component.d.ts +0 -0
- /package/lib/{components → pages}/bug/bug.component.d.ts +0 -0
- /package/lib/{components → pages}/departments/departments.component.d.ts +0 -0
- /package/lib/{components → pages}/employees/employees.component.d.ts +0 -0
- /package/lib/{components → pages}/grades/grades.component.d.ts +0 -0
- /package/lib/{components → pages}/inventory/inventory.component.d.ts +0 -0
- /package/lib/{components → pages}/inventory/quantityDialog.component.d.ts +0 -0
- /package/lib/{components → pages}/positions/positions.component.d.ts +0 -0
- /package/lib/{components → pages}/recover-account/recover-account.component.d.ts +0 -0
- /package/lib/{components → pages}/settings/settings.component.d.ts +0 -0
- /package/lib/{components → pages}/transactions/transactDialog.component.d.ts +0 -0
- /package/lib/{components → pages}/transactions/transactions.component.d.ts +0 -0
- /package/lib/{components → pages}/welcome/welcome.component.d.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { Action, Button, Color, Column, Icon, TableConfig } from '../../classes/Classes';
|
|
3
3
|
import { MatPaginator } from '@angular/material/paginator';
|
|
4
4
|
import { MessageService } from '../../services/message.service';
|
|
@@ -10,6 +10,7 @@ import { ButtonService } from '../../services/button.service';
|
|
|
10
10
|
import { DialogService } from '../../services/dialog.service';
|
|
11
11
|
import { TableConfigService } from '../../services/table-config.service';
|
|
12
12
|
import { ConditionService } from '../../services/condition.service';
|
|
13
|
+
import { AuthService } from '../../services/auth.service';
|
|
13
14
|
import * as i0 from "@angular/core";
|
|
14
15
|
export declare class TableInternalComponent implements OnInit {
|
|
15
16
|
private dataService;
|
|
@@ -20,36 +21,43 @@ export declare class TableInternalComponent implements OnInit {
|
|
|
20
21
|
private dialogService;
|
|
21
22
|
private tableConfigService;
|
|
22
23
|
private conditionService;
|
|
23
|
-
|
|
24
|
+
private authService;
|
|
25
|
+
constructor(dataService: DataServiceLib, messageService: MessageService, breakpointObserver: BreakpointObserver, dialog: MatDialog, buttonService: ButtonService, dialogService: DialogService, tableConfigService: TableConfigService, conditionService: ConditionService, authService: AuthService);
|
|
24
26
|
ngOnInit(): void;
|
|
25
|
-
ngOnChanges(): void;
|
|
27
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
26
28
|
elevation: string;
|
|
27
29
|
actionsWidth: string;
|
|
28
30
|
showFilterButton: boolean;
|
|
29
31
|
tileReload: Subject<boolean>;
|
|
32
|
+
hasBeenActivated: boolean;
|
|
30
33
|
smallScreen: boolean;
|
|
34
|
+
hasFormAccess: boolean;
|
|
31
35
|
tableDataSource: any;
|
|
32
36
|
dataSource: any[];
|
|
33
37
|
displayedColumns: any[];
|
|
34
38
|
displayedButtons: any[];
|
|
39
|
+
originalTableLoadAction: Action;
|
|
35
40
|
tablePaginator: MatPaginator;
|
|
36
|
-
hideTitle: boolean;
|
|
37
41
|
data: any;
|
|
42
|
+
tileData: any;
|
|
38
43
|
config: TableConfig;
|
|
39
44
|
reload: Subject<boolean>;
|
|
45
|
+
activeTab: boolean;
|
|
46
|
+
inTab: boolean;
|
|
40
47
|
dataLoad: EventEmitter<any>;
|
|
48
|
+
actionSuccess: EventEmitter<any>;
|
|
41
49
|
refreshClick: EventEmitter<any>;
|
|
42
50
|
searchClick: EventEmitter<any>;
|
|
43
51
|
createClick: EventEmitter<any>;
|
|
44
52
|
actionClick: EventEmitter<any>;
|
|
45
53
|
inputChange: EventEmitter<any>;
|
|
54
|
+
actionResponse: EventEmitter<any>;
|
|
46
55
|
private initializeComponent;
|
|
47
56
|
private updateTableConfiguration;
|
|
48
57
|
private setupDataLoading;
|
|
49
58
|
loadData(action: Action, data: any): void;
|
|
50
59
|
inputChanged(event: any): void;
|
|
51
60
|
formDefaults(): void;
|
|
52
|
-
setColumns(): void;
|
|
53
61
|
setButtons(): void;
|
|
54
62
|
getButton(name: string): Button;
|
|
55
63
|
getIcon(buttonName: string): string;
|
|
@@ -60,8 +68,10 @@ export declare class TableInternalComponent implements OnInit {
|
|
|
60
68
|
testColorCondition(row: any, color: Color): boolean;
|
|
61
69
|
showBanner(message: string): void;
|
|
62
70
|
testDisabled(row: any, buttonName: string): boolean;
|
|
63
|
-
|
|
71
|
+
lastSearch: any;
|
|
64
72
|
searchClicked(x: any): void;
|
|
73
|
+
tileClicked(tile: any): void;
|
|
74
|
+
tileUnClicked(tile: any): void;
|
|
65
75
|
refreshClicked(): void;
|
|
66
76
|
dataLoaded(x: any): void;
|
|
67
77
|
actionClicked(name: string, row: any): void;
|
|
@@ -72,11 +82,10 @@ export declare class TableInternalComponent implements OnInit {
|
|
|
72
82
|
newModel(): void;
|
|
73
83
|
editModel(row: any): void;
|
|
74
84
|
private open;
|
|
75
|
-
private openDetailsDialog;
|
|
76
85
|
deleteModel(row: any): void;
|
|
77
86
|
doAction(buttonName: string, row: any): void;
|
|
78
|
-
execAction(
|
|
87
|
+
execAction(button: Button, row: any): void;
|
|
79
88
|
private getElevationClass;
|
|
80
89
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableInternalComponent, never>;
|
|
81
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableInternalComponent, "spa-table-internal", never, { "
|
|
90
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableInternalComponent, "spa-table-internal", never, { "data": "data"; "tileData": "tileData"; "config": "config"; "reload": "reload"; "activeTab": "activeTab"; "inTab": "inTab"; }, { "dataLoad": "dataLoad"; "actionSuccess": "actionSuccess"; "refreshClick": "refreshClick"; "searchClick": "searchClick"; "createClick": "createClick"; "actionClick": "actionClick"; "inputChange": "inputChange"; "actionResponse": "actionResponse"; }, never, never, false>;
|
|
82
91
|
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { OnInit, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
+
import { FormConfig, Field, TableConfig, Button, DetailsDialogConfig, Action, StepConfig } from '../../classes/Classes';
|
|
4
|
+
import { MessageService } from '../../services/message.service';
|
|
5
|
+
import { DataServiceLib } from '../../services/datalib.service';
|
|
6
|
+
import { LoaderService } from '../../services/loader.service';
|
|
7
|
+
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
8
|
+
import { DialogService } from '../../services/dialog.service';
|
|
9
|
+
import { ButtonService } from '../../services/button.service';
|
|
10
|
+
import { Subject } from 'rxjs';
|
|
11
|
+
import { AuthService } from '../../services/auth.service';
|
|
12
|
+
import { TableConfigService } from '../../services/table-config.service';
|
|
13
|
+
import { MatTabChangeEvent } from '@angular/material/tabs';
|
|
14
|
+
import * as i0 from "@angular/core";
|
|
15
|
+
export declare class DetailsDialogLite implements OnInit, OnDestroy {
|
|
16
|
+
private breakpointObserver;
|
|
17
|
+
private loaderService;
|
|
18
|
+
dataService: DataServiceLib;
|
|
19
|
+
private messageService;
|
|
20
|
+
private dialogRef;
|
|
21
|
+
detailsConfig: DetailsDialogConfig;
|
|
22
|
+
private buttonService;
|
|
23
|
+
private dialogService;
|
|
24
|
+
private authService;
|
|
25
|
+
tableConfigService: TableConfigService;
|
|
26
|
+
constructor(breakpointObserver: BreakpointObserver, loaderService: LoaderService, dataService: DataServiceLib, messageService: MessageService, dialogRef: MatDialogRef<DetailsDialogLite>, detailsConfig: DetailsDialogConfig, buttonService: ButtonService, dialogService: DialogService, authService: AuthService, tableConfigService: TableConfigService);
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
ngOnDestroy(): void;
|
|
29
|
+
private refreshSubscription;
|
|
30
|
+
autoRefreshEnabled: boolean;
|
|
31
|
+
titleAction: string;
|
|
32
|
+
loadByAction: boolean;
|
|
33
|
+
extraButtons: Button[];
|
|
34
|
+
buttons: Button[];
|
|
35
|
+
createButton: Button;
|
|
36
|
+
editButton: Button;
|
|
37
|
+
deleteButton: Button;
|
|
38
|
+
fileField: Field;
|
|
39
|
+
files: any[];
|
|
40
|
+
tableReload: Subject<boolean>;
|
|
41
|
+
tableConfig: TableConfig;
|
|
42
|
+
tableConfigs: TableConfig[];
|
|
43
|
+
details: any;
|
|
44
|
+
formConfig: FormConfig;
|
|
45
|
+
stepConfig: StepConfig;
|
|
46
|
+
smallScreen: boolean;
|
|
47
|
+
isLoadComplete: boolean;
|
|
48
|
+
isProcessing: boolean;
|
|
49
|
+
inputChange: EventEmitter<any>;
|
|
50
|
+
selectedTabIndex: number;
|
|
51
|
+
onTabChange(event: MatTabChangeEvent): void;
|
|
52
|
+
private initAutoRefresh;
|
|
53
|
+
private startAutoRefresh;
|
|
54
|
+
private stopAutoRefresh;
|
|
55
|
+
toggleAutoRefresh(): void;
|
|
56
|
+
loadData(action: Action, causeTablesReload: any): void;
|
|
57
|
+
inputChanged(event: any): void;
|
|
58
|
+
setMode(newMode: any): void;
|
|
59
|
+
setTitleAction(): void;
|
|
60
|
+
getButton(name: string): Button;
|
|
61
|
+
testDisabled(row: any, buttonName: string): boolean;
|
|
62
|
+
testVisible(row: any, buttonName: string): boolean;
|
|
63
|
+
testVisibleTab(tblConfig: TableConfig): boolean;
|
|
64
|
+
getButtonColor(button: Button, row: any): string;
|
|
65
|
+
getVisibleFields(): Field[];
|
|
66
|
+
create(): void;
|
|
67
|
+
edit(): void;
|
|
68
|
+
delete(): void;
|
|
69
|
+
custom(button: Button): void;
|
|
70
|
+
private openNestedDetailsDialog;
|
|
71
|
+
private refreshData;
|
|
72
|
+
handleButtonAction(buttonName: string): void;
|
|
73
|
+
processButtonAction(button: Button): void;
|
|
74
|
+
private validateForm;
|
|
75
|
+
private prepareActionData;
|
|
76
|
+
private executeAction;
|
|
77
|
+
private performApiCall;
|
|
78
|
+
close(): void;
|
|
79
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DetailsDialogLite, never>;
|
|
80
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DetailsDialogLite, "spa-detailsDialog-lite", never, {}, { "inputChange": "inputChange"; }, never, never, false>;
|
|
81
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { EventEmitter, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { Action, Button, Color, Column, Icon, TableConfig } from '../../classes/Classes';
|
|
3
|
+
import { MatPaginator } from '@angular/material/paginator';
|
|
4
|
+
import { MessageService } from '../../services/message.service';
|
|
5
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
6
|
+
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
7
|
+
import { DataServiceLib } from '../../services/datalib.service';
|
|
8
|
+
import { Subject } from 'rxjs';
|
|
9
|
+
import { ButtonService } from '../../services/button.service';
|
|
10
|
+
import { DialogService } from '../../services/dialog.service';
|
|
11
|
+
import { TableConfigService } from '../../services/table-config.service';
|
|
12
|
+
import { ConditionService } from '../../services/condition.service';
|
|
13
|
+
import { AuthService } from '../../services/auth.service';
|
|
14
|
+
import * as i0 from "@angular/core";
|
|
15
|
+
export declare class TableLiteComponent implements OnInit {
|
|
16
|
+
private dataService;
|
|
17
|
+
private messageService;
|
|
18
|
+
private breakpointObserver;
|
|
19
|
+
dialog: MatDialog;
|
|
20
|
+
private buttonService;
|
|
21
|
+
private dialogService;
|
|
22
|
+
private tableConfigService;
|
|
23
|
+
private conditionService;
|
|
24
|
+
private authService;
|
|
25
|
+
constructor(dataService: DataServiceLib, messageService: MessageService, breakpointObserver: BreakpointObserver, dialog: MatDialog, buttonService: ButtonService, dialogService: DialogService, tableConfigService: TableConfigService, conditionService: ConditionService, authService: AuthService);
|
|
26
|
+
ngOnInit(): void;
|
|
27
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
28
|
+
elevation: string;
|
|
29
|
+
actionsWidth: string;
|
|
30
|
+
showFilterButton: boolean;
|
|
31
|
+
tileReload: Subject<boolean>;
|
|
32
|
+
hasBeenActivated: boolean;
|
|
33
|
+
smallScreen: boolean;
|
|
34
|
+
hasFormAccess: boolean;
|
|
35
|
+
tableDataSource: any;
|
|
36
|
+
dataSource: any[];
|
|
37
|
+
displayedColumns: any[];
|
|
38
|
+
displayedButtons: any[];
|
|
39
|
+
originalTableLoadAction: Action;
|
|
40
|
+
tablePaginator: MatPaginator;
|
|
41
|
+
data: any;
|
|
42
|
+
tileData: any;
|
|
43
|
+
config: TableConfig;
|
|
44
|
+
reload: Subject<boolean>;
|
|
45
|
+
activeTab: boolean;
|
|
46
|
+
inTab: boolean;
|
|
47
|
+
dataLoad: EventEmitter<any>;
|
|
48
|
+
actionSuccess: EventEmitter<any>;
|
|
49
|
+
refreshClick: EventEmitter<any>;
|
|
50
|
+
searchClick: EventEmitter<any>;
|
|
51
|
+
createClick: EventEmitter<any>;
|
|
52
|
+
actionClick: EventEmitter<any>;
|
|
53
|
+
inputChange: EventEmitter<any>;
|
|
54
|
+
actionResponse: EventEmitter<any>;
|
|
55
|
+
private initializeComponent;
|
|
56
|
+
private updateTableConfiguration;
|
|
57
|
+
private setupDataLoading;
|
|
58
|
+
loadData(action: Action, data: any): void;
|
|
59
|
+
inputChanged(event: any): void;
|
|
60
|
+
formDefaults(): void;
|
|
61
|
+
setButtons(): void;
|
|
62
|
+
getButton(name: string): Button;
|
|
63
|
+
getIcon(buttonName: string): string;
|
|
64
|
+
getButtonColor(button: Button, row: any): string;
|
|
65
|
+
getOptions(column: any): Column;
|
|
66
|
+
getColor(value: any, options: any[]): string;
|
|
67
|
+
testIconCondition(row: any, icon: Icon): boolean;
|
|
68
|
+
testColorCondition(row: any, color: Color): boolean;
|
|
69
|
+
showBanner(message: string): void;
|
|
70
|
+
testDisabled(row: any, buttonName: string): boolean;
|
|
71
|
+
lastSearch: any;
|
|
72
|
+
searchClicked(x: any): void;
|
|
73
|
+
tileClicked(tile: any): void;
|
|
74
|
+
tileUnClicked(tile: any): void;
|
|
75
|
+
refreshClicked(): void;
|
|
76
|
+
dataLoaded(x: any): void;
|
|
77
|
+
actionClicked(name: string, row: any): void;
|
|
78
|
+
columnClicked(column: Column, row: any): void;
|
|
79
|
+
customModel(name: any, row: any): void;
|
|
80
|
+
actionClickedEmit(name: any, row: any): void;
|
|
81
|
+
viewModel(row: any): void;
|
|
82
|
+
newModel(): void;
|
|
83
|
+
editModel(row: any): void;
|
|
84
|
+
private open;
|
|
85
|
+
deleteModel(row: any): void;
|
|
86
|
+
doAction(buttonName: string, row: any): void;
|
|
87
|
+
execAction(button: Button, row: any): void;
|
|
88
|
+
private getElevationClass;
|
|
89
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableLiteComponent, never>;
|
|
90
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableLiteComponent, "spa-table-lite", never, { "data": "data"; "tileData": "tileData"; "config": "config"; "reload": "reload"; "activeTab": "activeTab"; "inTab": "inTab"; }, { "dataLoad": "dataLoad"; "actionSuccess": "actionSuccess"; "refreshClick": "refreshClick"; "searchClick": "searchClick"; "createClick": "createClick"; "actionClick": "actionClick"; "inputChange": "inputChange"; "actionResponse": "actionResponse"; }, never, never, false>;
|
|
91
|
+
}
|
|
@@ -7,6 +7,7 @@ export declare class TableRowComponent {
|
|
|
7
7
|
column: Column;
|
|
8
8
|
row: any;
|
|
9
9
|
config: TableConfig;
|
|
10
|
+
smallScreen: boolean;
|
|
10
11
|
actionClick: EventEmitter<{
|
|
11
12
|
name: string;
|
|
12
13
|
row: any;
|
|
@@ -18,11 +19,13 @@ export declare class TableRowComponent {
|
|
|
18
19
|
showBannerEvent: EventEmitter<string>;
|
|
19
20
|
constructor(buttonService: ButtonService);
|
|
20
21
|
testIconCondition(row: any, icon: Icon): boolean;
|
|
21
|
-
|
|
22
|
+
getColorOnCondition(row: any, column: Column): string;
|
|
22
23
|
getColor(value: any, options: any[]): string;
|
|
23
24
|
onActionClick(name: string, row: any): void;
|
|
24
25
|
onColumnClick(column: Column, row: any): void;
|
|
25
26
|
showBanner(message: string): void;
|
|
27
|
+
textDisplayed(row: any, column: Column): any;
|
|
28
|
+
textTruncated(row: any, column: Column): boolean;
|
|
26
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableRowComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableRowComponent, "app-table-row", never, { "column": "column"; "row": "row"; "config": "config"; }, { "actionClick": "actionClick"; "columnClick": "columnClick"; "showBannerEvent": "showBannerEvent"; }, never, never, false>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableRowComponent, "app-table-row", never, { "column": "column"; "row": "row"; "config": "config"; "smallScreen": "smallScreen"; }, { "actionClick": "actionClick"; "columnClick": "columnClick"; "showBannerEvent": "showBannerEvent"; }, never, never, false>;
|
|
28
31
|
}
|
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { FormControl } from '@angular/forms';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
+
import { Action } from '../../classes/Classes';
|
|
5
|
+
import { DataServiceLib } from '../../services/datalib.service';
|
|
4
6
|
import * as i0 from "@angular/core";
|
|
5
7
|
export declare class TextComponent implements OnInit {
|
|
6
|
-
|
|
8
|
+
private dataService;
|
|
9
|
+
constructor(dataService: DataServiceLib);
|
|
7
10
|
ngOnInit(): void;
|
|
8
11
|
ngAfterViewInit(): void;
|
|
9
12
|
filteredOptions: Observable<string[]>;
|
|
10
13
|
multiDimension: boolean;
|
|
11
14
|
hideRequiredControl: FormControl<boolean>;
|
|
12
15
|
hide: boolean;
|
|
16
|
+
appearance: 'legacy' | 'standard' | 'fill' | 'outline';
|
|
13
17
|
readonly: boolean;
|
|
14
18
|
hint: string;
|
|
15
19
|
display: string;
|
|
@@ -22,25 +26,34 @@ export declare class TextComponent implements OnInit {
|
|
|
22
26
|
enterPress: EventEmitter<any>;
|
|
23
27
|
rows: number;
|
|
24
28
|
width: string;
|
|
29
|
+
copyContent: boolean;
|
|
30
|
+
clearContent: boolean;
|
|
25
31
|
options: any;
|
|
32
|
+
optionDisplay: string;
|
|
26
33
|
optionValue: string;
|
|
34
|
+
loadAction: Action;
|
|
27
35
|
required: boolean;
|
|
28
36
|
min: number;
|
|
29
37
|
max: number;
|
|
30
38
|
regex: string;
|
|
31
39
|
suffix: string;
|
|
32
40
|
infoMessage: string;
|
|
33
|
-
|
|
34
|
-
|
|
41
|
+
isHovered: boolean;
|
|
42
|
+
onMouseEnter(): void;
|
|
43
|
+
onMouseLeave(): void;
|
|
35
44
|
private initFilter;
|
|
36
45
|
private _filter;
|
|
37
46
|
initControl(control: FormControl): void;
|
|
47
|
+
getDisplayValue(value: any): string;
|
|
38
48
|
changed(): void;
|
|
39
49
|
leaved(): void;
|
|
50
|
+
clear(): void;
|
|
40
51
|
enterPressed(): void;
|
|
52
|
+
refresh(event: MouseEvent): void;
|
|
53
|
+
getData(action: Action): void;
|
|
41
54
|
myControl: FormControl<string>;
|
|
42
55
|
control: FormControl<string>;
|
|
43
56
|
validate(control: FormControl): string;
|
|
44
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextComponent, never>;
|
|
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";
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextComponent, "spa-text", never, { "appearance": "appearance"; "readonly": "readonly"; "hint": "hint"; "display": "display"; "placeholder": "placeholder"; "value": "value"; "format": "format"; "type": "type"; "rows": "rows"; "width": "width"; "copyContent": "copyContent"; "clearContent": "clearContent"; "options": "options"; "optionDisplay": "optionDisplay"; "optionValue": "optionValue"; "loadAction": "loadAction"; "required": "required"; "min": "min"; "max": "max"; "regex": "regex"; "suffix": "suffix"; "infoMessage": "infoMessage"; }, { "valueChange": "valueChange"; "leave": "leave"; "enterPress": "enterPress"; }, never, never, false>;
|
|
46
59
|
}
|
|
@@ -12,14 +12,17 @@ export declare class TilesComponent implements OnInit {
|
|
|
12
12
|
ngOnChanges(): void;
|
|
13
13
|
tiles: Tile[];
|
|
14
14
|
config: TileConfig;
|
|
15
|
+
tileActionSelected: EventEmitter<Action>;
|
|
16
|
+
lastSearch: any;
|
|
15
17
|
data: any;
|
|
16
18
|
reload: Subject<boolean>;
|
|
17
19
|
tileClick: EventEmitter<any>;
|
|
20
|
+
tileUnClick: EventEmitter<any>;
|
|
18
21
|
selectedTile: string;
|
|
19
|
-
new: boolean;
|
|
20
|
-
clicked(v: Tile): void;
|
|
21
|
-
pop(x: any): void;
|
|
22
22
|
loadData(action: Action, data: any): void;
|
|
23
|
+
clicked(clickedTile: Tile): void;
|
|
24
|
+
pop(x: any): void;
|
|
25
|
+
isHidden(tile: Tile): boolean;
|
|
23
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<TilesComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TilesComponent, "spa-tiles", never, { "config": "config"; "data": "data"; "reload": "reload"; }, { "tileClick": "tileClick"; }, never, never, false>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TilesComponent, "spa-tiles", never, { "config": "config"; "lastSearch": "lastSearch"; "data": "data"; "reload": "reload"; }, { "tileActionSelected": "tileActionSelected"; "tileClick": "tileClick"; "tileUnClick": "tileUnClick"; }, never, never, false>;
|
|
25
28
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { HttpService } from '../../services/http.service';
|
|
3
|
+
import { DataServiceLib } from '../../services/datalib.service';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class viewerDialog implements OnInit {
|
|
5
6
|
private httpService;
|
|
7
|
+
private dataServiceLib;
|
|
6
8
|
data: any;
|
|
7
|
-
constructor(httpService: HttpService, data: any);
|
|
9
|
+
constructor(httpService: HttpService, dataServiceLib: DataServiceLib, data: any);
|
|
8
10
|
ngOnInit(): void;
|
|
9
11
|
isProcessing: boolean;
|
|
10
12
|
fullPath: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "../
|
|
3
|
-
import * as i2 from "../
|
|
4
|
-
import * as i3 from "../
|
|
5
|
-
import * as i4 from "../
|
|
6
|
-
import * as i5 from "../
|
|
7
|
-
import * as i6 from "../
|
|
2
|
+
import * as i1 from "../pages/users/users.component";
|
|
3
|
+
import * as i2 from "../pages/roles/roles.component";
|
|
4
|
+
import * as i3 from "../pages/roles/addRoleDialog.component";
|
|
5
|
+
import * as i4 from "../pages/create-account/create-account.component";
|
|
6
|
+
import * as i5 from "../pages/logs/logs.component";
|
|
7
|
+
import * as i6 from "../pages/settings/settings.component";
|
|
8
8
|
import * as i7 from "@angular/forms";
|
|
9
9
|
import * as i8 from "@angular/common";
|
|
10
10
|
import * as i9 from "../tin-spa.module";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "../
|
|
3
|
-
import * as i2 from "../
|
|
4
|
-
import * as i3 from "../
|
|
2
|
+
import * as i1 from "../pages/login/login.component";
|
|
3
|
+
import * as i2 from "../pages/signup/signup.component";
|
|
4
|
+
import * as i3 from "../pages/recover-account/recover-account.component";
|
|
5
5
|
import * as i4 from "@angular/forms";
|
|
6
6
|
import * as i5 from "@angular/common";
|
|
7
7
|
import * as i6 from "../tin-spa.module";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "../
|
|
3
|
-
import * as i2 from "../
|
|
2
|
+
import * as i1 from "../pages/change-password/change-password.component";
|
|
3
|
+
import * as i2 from "../pages/profile/profile.component";
|
|
4
4
|
import * as i3 from "@angular/forms";
|
|
5
5
|
import * as i4 from "@angular/common";
|
|
6
6
|
import * as i5 from "../tin-spa.module";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { DetailsDialogConfig, FormConfig, PageConfig, TableConfig } from '../../classes/Classes';
|
|
3
|
+
import { DataServiceLib } from '../../services/datalib.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AppModelsComponent implements OnInit {
|
|
6
|
+
private dataService;
|
|
7
|
+
constructor(dataService: DataServiceLib);
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
appModelFormConfig: FormConfig;
|
|
10
|
+
appModelDetailsConfig: DetailsDialogConfig;
|
|
11
|
+
appModelTableConfig: TableConfig;
|
|
12
|
+
pageConfig: PageConfig;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppModelsComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppModelsComponent, "spa-app-models", never, {}, {}, never, never, false>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { DataServiceLib } from '../../services/datalib.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ApprovalsComponent implements OnInit {
|
|
5
|
+
dataService: DataServiceLib;
|
|
6
|
+
constructor(dataService: DataServiceLib);
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApprovalsComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ApprovalsComponent, "spa-approvals", never, {}, {}, never, never, false>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { DetailsDialogConfig, FormConfig, PageConfig, TableConfig } from '../../classes/Classes';
|
|
3
|
+
import { DataServiceLib } from '../../services/datalib.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ApprovalsConfigComponent implements OnInit {
|
|
6
|
+
private dataService;
|
|
7
|
+
constructor(dataService: DataServiceLib);
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
approvalRoleFormConfig: FormConfig;
|
|
10
|
+
approvalRolesTableConfig: TableConfig;
|
|
11
|
+
approvalLevelOptions: {
|
|
12
|
+
name: number;
|
|
13
|
+
value: number;
|
|
14
|
+
}[];
|
|
15
|
+
approvalLevelFormConfig: FormConfig;
|
|
16
|
+
approvalLevelDetailsConfig: DetailsDialogConfig;
|
|
17
|
+
approvalLevelsTableConfig: TableConfig;
|
|
18
|
+
approvalConfigFormConfig: FormConfig;
|
|
19
|
+
approvalConfigDetailsConfig: DetailsDialogConfig;
|
|
20
|
+
approvalConfigTable: TableConfig;
|
|
21
|
+
pageConfig: PageConfig;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApprovalsConfigComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ApprovalsConfigComponent, "spa-approvals-config", never, {}, {}, never, never, false>;
|
|
24
|
+
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ChangeUserPassword } from './../../classes/Classes';
|
|
2
1
|
import { OnInit } from '@angular/core';
|
|
3
2
|
import { MessageService } from '../../services/message.service';
|
|
4
3
|
import { DataServiceLib } from '../../services/datalib.service';
|
|
@@ -6,6 +5,7 @@ import { AuthService } from '../../services/auth.service';
|
|
|
6
5
|
import { Location } from '@angular/common';
|
|
7
6
|
import { HttpService } from '../../services/http.service';
|
|
8
7
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
8
|
+
import { ChangeUserPassword } from '../../classes/LibClasses';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class ChangePasswordComponent implements OnInit {
|
|
11
11
|
router: Router;
|
|
@@ -2,9 +2,10 @@ import { DataServiceLib } from '../../services/datalib.service';
|
|
|
2
2
|
import { OnInit } from '@angular/core';
|
|
3
3
|
import { MessageService } from '../../services/message.service';
|
|
4
4
|
import { AuthService } from '../../services/auth.service';
|
|
5
|
-
import { AppConfig
|
|
5
|
+
import { AppConfig } from '../../classes/Classes';
|
|
6
6
|
import { Router } from '@angular/router';
|
|
7
7
|
import { HttpService } from '../../services/http.service';
|
|
8
|
+
import { Register } from '../../classes/LibClasses';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class CreateAccountComponent implements OnInit {
|
|
10
11
|
private httpService;
|
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { DataServiceLib } from '../../services/datalib.service';
|
|
3
|
-
import { FormConfig, TableConfig } from '../../classes/Classes';
|
|
4
|
-
import { MessageService } from '../../services/message.service';
|
|
5
3
|
import { AuthService } from '../../services/auth.service';
|
|
6
4
|
import * as i0 from "@angular/core";
|
|
7
5
|
export declare class CustomersComponent implements OnInit {
|
|
8
|
-
|
|
9
|
-
private messageService;
|
|
6
|
+
dataService: DataServiceLib;
|
|
10
7
|
authService: AuthService;
|
|
11
|
-
constructor(dataService: DataServiceLib,
|
|
8
|
+
constructor(dataService: DataServiceLib, authService: AuthService);
|
|
12
9
|
ngOnInit(): void;
|
|
13
|
-
loadTenants(): void;
|
|
14
|
-
formConfig: FormConfig;
|
|
15
|
-
config: TableConfig;
|
|
16
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<CustomersComponent, never>;
|
|
17
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<CustomersComponent, "spa-customers", never, {}, {}, never, never, false>;
|
|
18
12
|
}
|
|
@@ -13,7 +13,7 @@ export declare class InvitationsTableComponent implements OnInit {
|
|
|
13
13
|
ngOnInit(): void;
|
|
14
14
|
invActionClicked(x: any): void;
|
|
15
15
|
tableReload: Subject<boolean>;
|
|
16
|
-
|
|
16
|
+
invitationsTableConfig: TableConfig;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<InvitationsTableComponent, never>;
|
|
18
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<InvitationsTableComponent, "spa-invitations-table", never, {}, {}, never, never, false>;
|
|
19
19
|
}
|
|
@@ -4,10 +4,13 @@ import { AuthService } from "../../services/auth.service";
|
|
|
4
4
|
import { OnInit } from "@angular/core";
|
|
5
5
|
import { ActivatedRoute, Router } from "@angular/router";
|
|
6
6
|
import { DataServiceLib } from "../../services/datalib.service";
|
|
7
|
-
import { LogService } from "
|
|
8
|
-
import {
|
|
7
|
+
import { LogService } from "../../services/log.service";
|
|
8
|
+
import { AppConfig } from "../../classes/Classes";
|
|
9
9
|
import { HttpService } from "../../services/http.service";
|
|
10
10
|
import { SocialAuthService, SocialUser } from '@abacritt/angularx-social-login';
|
|
11
|
+
import { User } from "../../classes/LibClasses";
|
|
12
|
+
import { NotificationsService } from "../../services/notifications.service";
|
|
13
|
+
import { MsalService } from '@azure/msal-angular';
|
|
11
14
|
import * as i0 from "@angular/core";
|
|
12
15
|
export declare class LoginComponent implements OnInit {
|
|
13
16
|
private httpService;
|
|
@@ -19,8 +22,11 @@ export declare class LoginComponent implements OnInit {
|
|
|
19
22
|
private logService;
|
|
20
23
|
private route;
|
|
21
24
|
private socialService;
|
|
22
|
-
|
|
25
|
+
private notificationsService;
|
|
26
|
+
private msalService;
|
|
27
|
+
constructor(httpService: HttpService, storageService: StorageService, router: Router, messageService: MessageService, dataService: DataServiceLib, authService: AuthService, logService: LogService, route: ActivatedRoute, socialService: SocialAuthService, notificationsService: NotificationsService, msalService: MsalService);
|
|
23
28
|
ngOnInit(): void;
|
|
29
|
+
loginWithMS(): void;
|
|
24
30
|
autoLogin: boolean;
|
|
25
31
|
socialUser: SocialUser | null;
|
|
26
32
|
style: string;
|
|
@@ -34,6 +40,7 @@ export declare class LoginComponent implements OnInit {
|
|
|
34
40
|
signup(): void;
|
|
35
41
|
recoverAccount(): void;
|
|
36
42
|
login(): void;
|
|
43
|
+
notifications(): void;
|
|
37
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoginComponent, never>;
|
|
38
45
|
static ɵcmp: i0.ɵɵComponentDeclaration<LoginComponent, "spa-login", never, {}, {}, never, never, false>;
|
|
39
46
|
}
|
|
@@ -1,18 +1,14 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { DataServiceLib } from "../../services/datalib.service";
|
|
3
|
-
import { MatPaginator } from '@angular/material/paginator';
|
|
4
3
|
import { AuthService } from '../../services/auth.service';
|
|
4
|
+
import { PageConfig } from '../../classes/Classes';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class LogsComponent implements OnInit {
|
|
7
7
|
private authService;
|
|
8
8
|
private dataService;
|
|
9
9
|
constructor(authService: AuthService, dataService: DataServiceLib);
|
|
10
10
|
ngOnInit(): void;
|
|
11
|
-
|
|
12
|
-
logsPaginator: MatPaginator;
|
|
13
|
-
logs: any;
|
|
14
|
-
displayedColumns: string[];
|
|
15
|
-
loadLogs(): void;
|
|
11
|
+
logsPageConfig: PageConfig;
|
|
16
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<LogsComponent, never>;
|
|
17
13
|
static ɵcmp: i0.ɵɵComponentDeclaration<LogsComponent, "spa-logs", never, {}, {}, never, never, false>;
|
|
18
14
|
}
|
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import { DataServiceLib } from '../../services/datalib.service';
|
|
3
2
|
import { FormConfig, TableConfig } from '../../classes/Classes';
|
|
4
|
-
import { MessageService } from '../../services/message.service';
|
|
5
3
|
import { AuthService } from '../../services/auth.service';
|
|
6
4
|
import * as i0 from "@angular/core";
|
|
7
5
|
export declare class MembershipComponent implements OnInit {
|
|
8
|
-
private dataService;
|
|
9
|
-
private messageService;
|
|
10
6
|
authService: AuthService;
|
|
11
|
-
constructor(
|
|
7
|
+
constructor(authService: AuthService);
|
|
12
8
|
ngOnInit(): void;
|
|
13
9
|
formConfig: FormConfig;
|
|
14
|
-
|
|
10
|
+
membersTableConfig: TableConfig;
|
|
15
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<MembershipComponent, never>;
|
|
16
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<MembershipComponent, "spa-membership", never, {}, {}, never, never, false>;
|
|
17
13
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { DetailsDialogConfig, TableConfig } from '../../classes/Classes';
|
|
3
|
+
import { DataServiceLib } from '../../services/datalib.service';
|
|
4
|
+
import { NotificationsService } from '../../services/notifications.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class NotificationsComponent implements OnInit {
|
|
7
|
+
private dataService;
|
|
8
|
+
private notificationsService;
|
|
9
|
+
constructor(dataService: DataServiceLib, notificationsService: NotificationsService);
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
createDialog: DetailsDialogConfig;
|
|
12
|
+
notificationsTableConfig: TableConfig;
|
|
13
|
+
actionClicked(x: any): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationsComponent, "spa-notifications", never, {}, {}, never, never, false>;
|
|
16
|
+
}
|