tin-spa 14.0.1 → 14.3.11
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 +206 -53
- package/esm2020/lib/classes/TinCore.mjs +46 -213
- package/esm2020/lib/components/accounts/accountDialog.component.mjs +56 -0
- package/esm2020/lib/components/accounts/accounts.component.mjs +70 -0
- package/esm2020/lib/components/alert/alert.component.mjs +7 -21
- package/esm2020/lib/components/attach/attach.component.mjs +33 -49
- package/esm2020/lib/components/bug/bug.component.mjs +14 -0
- package/esm2020/lib/components/change-password/change-password.component.mjs +92 -0
- package/esm2020/lib/components/create-account/create-account.component.mjs +109 -0
- package/esm2020/lib/components/customers/customers.component.mjs +60 -0
- package/esm2020/lib/components/date/date.component.mjs +8 -10
- package/esm2020/lib/components/datetime/datetime.component.mjs +3 -6
- package/esm2020/lib/{pages → components}/departments/departments.component.mjs +5 -3
- package/esm2020/lib/components/employees/employees.component.mjs +21 -0
- package/esm2020/lib/components/filter/filter.component.mjs +3 -7
- package/esm2020/lib/components/form/form.component.mjs +52 -157
- package/esm2020/lib/components/grades/grades.component.mjs +14 -0
- package/esm2020/lib/components/inventory/inventory.component.mjs +99 -0
- package/esm2020/lib/components/inventory/quantityDialog.component.mjs +53 -0
- package/esm2020/lib/components/invitations/invitations.component.mjs +14 -0
- package/esm2020/lib/components/invitations-table/invitations-table.component.mjs +70 -0
- package/esm2020/lib/components/label/label.component.mjs +3 -9
- package/esm2020/lib/components/list-dialog/list-dialog.component.mjs +3 -3
- package/esm2020/lib/components/login/login.component.mjs +127 -0
- package/esm2020/lib/components/logs/logs.component.mjs +37 -0
- package/esm2020/lib/components/membership/membership.component.mjs +48 -0
- package/esm2020/lib/components/money/money.component.mjs +9 -26
- package/esm2020/lib/components/nav-menu/nav-menu.component.mjs +28 -32
- package/esm2020/lib/components/notifications/notifications.component.mjs +14 -0
- package/esm2020/lib/components/number/number.component.mjs +8 -23
- package/esm2020/lib/components/option/option.component.mjs +14 -39
- package/esm2020/lib/components/plans/plans.component.mjs +47 -0
- package/esm2020/lib/components/positions/positions.component.mjs +21 -0
- package/esm2020/lib/components/profile/profile.component.mjs +92 -0
- package/esm2020/lib/components/recover-account/recover-account.component.mjs +46 -0
- package/esm2020/lib/{pages → components}/roles/addRoleDialog.component.mjs +3 -3
- package/esm2020/lib/components/roles/roles.component.mjs +91 -0
- package/esm2020/lib/components/search/search.component.mjs +5 -10
- package/esm2020/lib/components/select/select.component.mjs +119 -56
- package/esm2020/lib/components/settings/settings.component.mjs +62 -0
- package/esm2020/lib/components/signup/signup.component.mjs +50 -0
- package/esm2020/lib/components/steps/steps.component.mjs +61 -83
- package/esm2020/lib/components/suppliers/suppliers.component.mjs +50 -0
- package/esm2020/lib/components/table/detailsDialog.component.mjs +41 -215
- package/esm2020/lib/components/table/table.component.mjs +108 -142
- package/esm2020/lib/components/table-action/table-action.component.mjs +8 -42
- package/esm2020/lib/components/table-header/table-header.component.mjs +15 -87
- package/esm2020/lib/components/table-internal/detailsDialog-internal.component.mjs +39 -219
- package/esm2020/lib/components/table-internal/table-internal.component.mjs +109 -144
- package/esm2020/lib/components/table-row/table-row.component.mjs +6 -41
- package/esm2020/lib/components/tasks/tasks.component.mjs +86 -0
- package/esm2020/lib/components/tenant-settings/inviteDialog.component.mjs +60 -0
- package/esm2020/lib/components/tenant-settings/tenant-settings.component.mjs +155 -0
- package/esm2020/lib/components/tenants/tenants.component.mjs +47 -0
- package/esm2020/lib/components/text/text.component.mjs +48 -122
- package/esm2020/lib/components/tiles/tiles.component.mjs +26 -44
- package/esm2020/lib/components/transactions/transactDialog.component.mjs +80 -0
- package/esm2020/lib/components/transactions/transactions.component.mjs +101 -0
- package/esm2020/lib/components/users/users.component.mjs +118 -0
- package/esm2020/lib/components/viewer/viewer.component.mjs +3 -7
- package/esm2020/lib/components/viewer/viewerDialog.component.mjs +13 -20
- package/esm2020/lib/components/welcome/welcome.component.mjs +86 -0
- package/esm2020/lib/modules/admin/admin-routing.module.mjs +22 -32
- 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/services/auth.service.mjs +2 -3
- package/esm2020/lib/services/button.service.mjs +32 -92
- package/esm2020/lib/services/datalib.service.mjs +78 -551
- package/esm2020/lib/services/dialog.service.mjs +7 -51
- package/esm2020/lib/services/log.service.mjs +2 -2
- package/esm2020/lib/services/table-config.service.mjs +7 -55
- package/esm2020/lib/tin-spa.module.mjs +30 -72
- package/esm2020/public-api.mjs +25 -35
- package/fesm2015/tin-spa.mjs +2681 -6963
- package/fesm2015/tin-spa.mjs.map +1 -1
- package/fesm2020/tin-spa.mjs +2750 -7078
- package/fesm2020/tin-spa.mjs.map +1 -1
- package/lib/classes/Classes.d.ts +296 -280
- package/lib/classes/TinCore.d.ts +4 -15
- package/lib/components/alert/alert.component.d.ts +3 -4
- package/lib/components/attach/attach.component.d.ts +6 -13
- package/lib/{pages → components}/change-password/change-password.component.d.ts +1 -1
- package/lib/{pages → components}/create-account/create-account.component.d.ts +1 -2
- package/lib/{pages → components}/customers/customers.component.d.ts +8 -2
- package/lib/components/date/date.component.d.ts +1 -1
- package/lib/components/datetime/datetime.component.d.ts +1 -2
- package/lib/components/filter/filter.component.d.ts +0 -1
- package/lib/components/form/form.component.d.ts +9 -20
- package/lib/components/invitations/invitations.component.d.ts +8 -0
- package/lib/{pages → components}/invitations-table/invitations-table.component.d.ts +1 -1
- package/lib/components/label/label.component.d.ts +1 -3
- package/lib/{pages → components}/login/login.component.d.ts +3 -10
- package/lib/{pages → components}/logs/logs.component.d.ts +6 -2
- package/lib/{pages → components}/membership/membership.component.d.ts +6 -2
- package/lib/components/money/money.component.d.ts +1 -8
- package/lib/components/nav-menu/nav-menu.component.d.ts +2 -6
- package/lib/components/notifications/notifications.component.d.ts +8 -0
- package/lib/components/number/number.component.d.ts +1 -7
- package/lib/components/option/option.component.d.ts +2 -11
- package/lib/{pages → components}/plans/plans.component.d.ts +6 -2
- package/lib/{pages → components}/profile/profile.component.d.ts +1 -2
- package/lib/{pages → components}/roles/addRoleDialog.component.d.ts +1 -1
- package/lib/{pages → components}/roles/roles.component.d.ts +3 -15
- package/lib/components/search/search.component.d.ts +1 -3
- package/lib/components/select/select.component.d.ts +35 -16
- package/lib/{pages → components}/signup/signup.component.d.ts +1 -1
- package/lib/components/steps/steps.component.d.ts +9 -18
- package/lib/{pages → components}/suppliers/suppliers.component.d.ts +4 -1
- package/lib/components/table/detailsDialog.component.d.ts +7 -29
- package/lib/components/table/table.component.d.ts +9 -18
- package/lib/components/table-action/table-action.component.d.ts +1 -4
- package/lib/components/table-header/table-header.component.d.ts +4 -19
- package/lib/components/table-internal/detailsDialog-internal.component.d.ts +7 -29
- package/lib/components/table-internal/table-internal.component.d.ts +9 -18
- package/lib/components/table-row/table-row.component.d.ts +2 -5
- package/lib/{pages → components}/tasks/tasks.component.d.ts +1 -1
- package/lib/components/tenant-settings/inviteDialog.component.d.ts +28 -0
- package/lib/{pages → components}/tenant-settings/tenant-settings.component.d.ts +7 -12
- package/lib/{pages → components}/tenants/tenants.component.d.ts +2 -2
- package/lib/components/text/text.component.d.ts +5 -22
- package/lib/components/tiles/tiles.component.d.ts +4 -7
- package/lib/{pages → components}/users/users.component.d.ts +16 -8
- package/lib/components/viewer/viewerDialog.component.d.ts +1 -3
- 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/services/auth.service.d.ts +1 -1
- package/lib/services/button.service.d.ts +8 -11
- package/lib/services/datalib.service.d.ts +10 -58
- package/lib/services/dialog.service.d.ts +2 -3
- package/lib/services/log.service.d.ts +1 -1
- package/lib/services/table-config.service.d.ts +1 -9
- package/lib/tin-spa.module.d.ts +33 -53
- package/package.json +1 -1
- package/public-api.d.ts +23 -33
- package/esm2020/lib/classes/LibClasses.mjs +0 -180
- package/esm2020/lib/components/capsules/capsules.component.mjs +0 -63
- package/esm2020/lib/components/cards/cards.component.mjs +0 -103
- package/esm2020/lib/components/email/email.component.mjs +0 -133
- package/esm2020/lib/components/html/html.component.mjs +0 -34
- package/esm2020/lib/components/multi-select/multi-select.component.mjs +0 -165
- package/esm2020/lib/components/multi-text/multi-text.component.mjs +0 -208
- package/esm2020/lib/components/notes/notes.component.mjs +0 -62
- package/esm2020/lib/components/page/page.component.mjs +0 -101
- package/esm2020/lib/components/select-bitwise/select-bitwise.component.mjs +0 -87
- package/esm2020/lib/components/select-common/select-common.component.mjs +0 -206
- package/esm2020/lib/components/select-internal/select-internal.component.mjs +0 -75
- package/esm2020/lib/components/select-lite/select-lite.component.mjs +0 -18
- package/esm2020/lib/components/statuses/statuses.component.mjs +0 -44
- package/esm2020/lib/components/suffix/suffix.component.mjs +0 -70
- package/esm2020/lib/components/table-lite/detailsDialog-lite.component.mjs +0 -404
- package/esm2020/lib/components/table-lite/table-lite.component.mjs +0 -441
- package/esm2020/lib/components/tabs/tabs.component.mjs +0 -74
- package/esm2020/lib/pages/accounts/accountDialog.component.mjs +0 -56
- package/esm2020/lib/pages/accounts/accounts.component.mjs +0 -70
- package/esm2020/lib/pages/app-models/app-models.component.mjs +0 -56
- package/esm2020/lib/pages/approvals/approvals.component.mjs +0 -19
- package/esm2020/lib/pages/approvals-config/approvals-config.component.mjs +0 -165
- package/esm2020/lib/pages/bug/bug.component.mjs +0 -14
- package/esm2020/lib/pages/change-password/change-password.component.mjs +0 -92
- package/esm2020/lib/pages/create-account/create-account.component.mjs +0 -110
- package/esm2020/lib/pages/customers/customers.component.mjs +0 -21
- package/esm2020/lib/pages/employees/employees.component.mjs +0 -20
- package/esm2020/lib/pages/grades/grades.component.mjs +0 -14
- package/esm2020/lib/pages/inventory/inventory.component.mjs +0 -99
- package/esm2020/lib/pages/inventory/quantityDialog.component.mjs +0 -53
- package/esm2020/lib/pages/invitations-table/invitations-table.component.mjs +0 -71
- package/esm2020/lib/pages/login/login.component.mjs +0 -166
- package/esm2020/lib/pages/logs/logs.component.mjs +0 -42
- package/esm2020/lib/pages/membership/membership.component.mjs +0 -44
- package/esm2020/lib/pages/notifications/notifications.component.mjs +0 -90
- package/esm2020/lib/pages/notifications-config/notifications-config.component.mjs +0 -113
- package/esm2020/lib/pages/plans/plans.component.mjs +0 -44
- package/esm2020/lib/pages/positions/positions.component.mjs +0 -21
- package/esm2020/lib/pages/profile/profile.component.mjs +0 -94
- package/esm2020/lib/pages/recover-account/recover-account.component.mjs +0 -46
- package/esm2020/lib/pages/roles/roles.component.mjs +0 -151
- package/esm2020/lib/pages/settings/settings.component.mjs +0 -54
- package/esm2020/lib/pages/signup/signup.component.mjs +0 -50
- package/esm2020/lib/pages/suppliers/suppliers.component.mjs +0 -22
- package/esm2020/lib/pages/tasks/tasks.component.mjs +0 -86
- package/esm2020/lib/pages/tenant-settings/tenant-settings.component.mjs +0 -228
- package/esm2020/lib/pages/tenants/tenants.component.mjs +0 -47
- package/esm2020/lib/pages/transactions/transactDialog.component.mjs +0 -80
- package/esm2020/lib/pages/transactions/transactions.component.mjs +0 -101
- package/esm2020/lib/pages/users/users.component.mjs +0 -167
- package/esm2020/lib/pages/welcome/welcome.component.mjs +0 -86
- package/esm2020/lib/select-context.directive.mjs +0 -23
- package/esm2020/lib/services/csv.service.mjs +0 -49
- package/esm2020/lib/services/notifications.service.mjs +0 -33
- package/lib/classes/LibClasses.d.ts +0 -173
- package/lib/components/capsules/capsules.component.d.ts +0 -26
- package/lib/components/cards/cards.component.d.ts +0 -39
- package/lib/components/email/email.component.d.ts +0 -40
- package/lib/components/html/html.component.d.ts +0 -16
- package/lib/components/multi-select/multi-select.component.d.ts +0 -47
- package/lib/components/multi-text/multi-text.component.d.ts +0 -56
- package/lib/components/notes/notes.component.d.ts +0 -19
- package/lib/components/page/page.component.d.ts +0 -38
- package/lib/components/select-bitwise/select-bitwise.component.d.ts +0 -31
- package/lib/components/select-common/select-common.component.d.ts +0 -53
- package/lib/components/select-internal/select-internal.component.d.ts +0 -23
- package/lib/components/select-lite/select-lite.component.d.ts +0 -8
- package/lib/components/statuses/statuses.component.d.ts +0 -12
- package/lib/components/suffix/suffix.component.d.ts +0 -23
- package/lib/components/table-lite/detailsDialog-lite.component.d.ts +0 -86
- package/lib/components/table-lite/table-lite.component.d.ts +0 -91
- package/lib/components/tabs/tabs.component.d.ts +0 -32
- package/lib/pages/app-models/app-models.component.d.ts +0 -15
- package/lib/pages/approvals/approvals.component.d.ts +0 -10
- package/lib/pages/approvals-config/approvals-config.component.d.ts +0 -24
- package/lib/pages/notifications/notifications.component.d.ts +0 -16
- package/lib/pages/notifications-config/notifications-config.component.d.ts +0 -17
- package/lib/select-context.directive.d.ts +0 -10
- package/lib/services/csv.service.d.ts +0 -10
- package/lib/services/notifications.service.d.ts +0 -12
- /package/lib/{pages → components}/accounts/accountDialog.component.d.ts +0 -0
- /package/lib/{pages → components}/accounts/accounts.component.d.ts +0 -0
- /package/lib/{pages → components}/bug/bug.component.d.ts +0 -0
- /package/lib/{pages → components}/departments/departments.component.d.ts +0 -0
- /package/lib/{pages → components}/employees/employees.component.d.ts +0 -0
- /package/lib/{pages → components}/grades/grades.component.d.ts +0 -0
- /package/lib/{pages → components}/inventory/inventory.component.d.ts +0 -0
- /package/lib/{pages → components}/inventory/quantityDialog.component.d.ts +0 -0
- /package/lib/{pages → components}/positions/positions.component.d.ts +0 -0
- /package/lib/{pages → components}/recover-account/recover-account.component.d.ts +0 -0
- /package/lib/{pages → components}/settings/settings.component.d.ts +0 -0
- /package/lib/{pages → components}/transactions/transactDialog.component.d.ts +0 -0
- /package/lib/{pages → components}/transactions/transactions.component.d.ts +0 -0
- /package/lib/{pages → components}/welcome/welcome.component.d.ts +0 -0
|
@@ -1,23 +1,42 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { PeekDialogConfig } 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';
|
|
8
5
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class SelectComponent
|
|
10
|
-
|
|
11
|
-
protected dataService: DataServiceLib;
|
|
6
|
+
export declare class SelectComponent implements OnInit {
|
|
7
|
+
private messageService;
|
|
12
8
|
private dialogService;
|
|
13
|
-
|
|
14
|
-
constructor(messageService: MessageService, dataService: DataServiceLib, dialogService: DialogService, buttonService: ButtonService);
|
|
9
|
+
constructor(messageService: MessageService, dialogService: DialogService);
|
|
15
10
|
ngOnInit(): void;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
11
|
+
ngOnChanges(): void;
|
|
12
|
+
displayValue: any;
|
|
13
|
+
isHovered: boolean;
|
|
14
|
+
width: string;
|
|
15
|
+
readonly: boolean;
|
|
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
|
+
valueChange: EventEmitter<any>;
|
|
33
|
+
infoClick: EventEmitter<void>;
|
|
34
|
+
changed(): void;
|
|
35
|
+
onMouseEnter(): void;
|
|
36
|
+
onMouseLeave(): void;
|
|
37
|
+
onAddClick(event: MouseEvent): void;
|
|
38
|
+
onViewClick(event: MouseEvent): void;
|
|
39
|
+
onInfoClick(event: MouseEvent): void;
|
|
21
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "spa-select", never, { "
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "spa-select", never, { "width": "width"; "readonly": "readonly"; "required": "required"; "defaultFirstValue": "defaultFirstValue"; "readonlyMode": "readonlyMode"; "hint": "hint"; "placeholder": "placeholder"; "multiple": "multiple"; "display": "display"; "value": "value"; "options": "options"; "masterOptions": "masterOptions"; "optionValue": "optionValue"; "optionDisplay": "optionDisplay"; "optionDisplayExtra": "optionDisplayExtra"; "nullable": "nullable"; "peekConfig": "peekConfig"; "infoMessage": "infoMessage"; }, { "valueChange": "valueChange"; "infoClick": "infoClick"; }, never, never, false>;
|
|
23
42
|
}
|
|
@@ -2,8 +2,8 @@ import { OnInit } from '@angular/core';
|
|
|
2
2
|
import { MessageService } from '../../services/message.service';
|
|
3
3
|
import { DataServiceLib } from '../../services/datalib.service';
|
|
4
4
|
import { AuthService } from '../../services/auth.service';
|
|
5
|
+
import { User, Profile, Account } from '../../classes/Classes';
|
|
5
6
|
import { HttpService } from '../../services/http.service';
|
|
6
|
-
import { Account, Profile, User } from '../../classes/LibClasses';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class SignupComponent implements OnInit {
|
|
9
9
|
private httpService;
|
|
@@ -1,27 +1,18 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, OnInit } from '@angular/core';
|
|
2
2
|
import { MatStepper } from '@angular/material/stepper';
|
|
3
|
-
import { Step
|
|
4
|
-
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
5
|
-
import { DataServiceLib } from '../../services/datalib.service';
|
|
3
|
+
import { Step } from '../../classes/Classes';
|
|
6
4
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class StepsComponent implements OnInit {
|
|
8
|
-
|
|
9
|
-
private dataService;
|
|
10
|
-
constructor(breakpointObserver: BreakpointObserver, dataService: DataServiceLib);
|
|
5
|
+
export declare class StepsComponent implements OnInit, AfterViewInit {
|
|
6
|
+
constructor();
|
|
11
7
|
ngOnInit(): void;
|
|
8
|
+
ngAfterViewInit(): void;
|
|
12
9
|
ngOnChanges(): void;
|
|
13
|
-
private observeScreenSize;
|
|
14
10
|
stepper: MatStepper;
|
|
15
11
|
value: string;
|
|
16
|
-
config: StepConfig;
|
|
17
|
-
data: any;
|
|
18
|
-
selectedIndex: number;
|
|
19
|
-
smallScreen: boolean;
|
|
20
12
|
steps: Step[];
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
getVisibleSteps(): Step[];
|
|
13
|
+
setStepper(): void;
|
|
14
|
+
pushStepper(count: number): void;
|
|
15
|
+
pushSteps(): void;
|
|
25
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<StepsComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StepsComponent, "spa-steps", never, { "value": "value"; "
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StepsComponent, "spa-steps", never, { "value": "value"; "steps": "steps"; }, {}, never, never, false>;
|
|
27
18
|
}
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { DataServiceLib } from '../../services/datalib.service';
|
|
3
|
+
import { FormConfig, TableConfig } from '../../classes/Classes';
|
|
3
4
|
import { MessageService } from '../../services/message.service';
|
|
4
5
|
import { AuthService } from '../../services/auth.service';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class SuppliersComponent implements OnInit {
|
|
7
|
-
dataService
|
|
8
|
+
private dataService;
|
|
8
9
|
private messageService;
|
|
9
10
|
authService: AuthService;
|
|
10
11
|
constructor(dataService: DataServiceLib, messageService: MessageService, authService: AuthService);
|
|
11
12
|
ngOnInit(): void;
|
|
13
|
+
formConfig: FormConfig;
|
|
14
|
+
config: TableConfig;
|
|
12
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<SuppliersComponent, never>;
|
|
13
16
|
static ɵcmp: i0.ɵɵComponentDeclaration<SuppliersComponent, "spa-suppliers", never, {}, {}, never, never, false>;
|
|
14
17
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { OnInit, EventEmitter
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
2
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
-
import { FormConfig, Field, TableConfig, Button, DetailsDialogConfig, Action
|
|
3
|
+
import { FormConfig, Field, TableConfig, Button, DetailsDialogConfig, Action } from '../../classes/Classes';
|
|
4
4
|
import { MessageService } from '../../services/message.service';
|
|
5
5
|
import { DataServiceLib } from '../../services/datalib.service';
|
|
6
6
|
import { LoaderService } from '../../services/loader.service';
|
|
@@ -8,11 +8,8 @@ import { BreakpointObserver } from '@angular/cdk/layout';
|
|
|
8
8
|
import { Subject } from 'rxjs';
|
|
9
9
|
import { ButtonService } from '../../services/button.service';
|
|
10
10
|
import { DialogService } from '../../services/dialog.service';
|
|
11
|
-
import { AuthService } from '../../services/auth.service';
|
|
12
|
-
import { TableConfigService } from '../../services/table-config.service';
|
|
13
|
-
import { MatTabChangeEvent } from '@angular/material/tabs';
|
|
14
11
|
import * as i0 from "@angular/core";
|
|
15
|
-
export declare class DetailsDialog implements OnInit
|
|
12
|
+
export declare class DetailsDialog implements OnInit {
|
|
16
13
|
private breakpointObserver;
|
|
17
14
|
private loaderService;
|
|
18
15
|
dataService: DataServiceLib;
|
|
@@ -21,13 +18,8 @@ export declare class DetailsDialog implements OnInit, OnDestroy {
|
|
|
21
18
|
detailsConfig: DetailsDialogConfig;
|
|
22
19
|
private buttonService;
|
|
23
20
|
private dialogService;
|
|
24
|
-
|
|
25
|
-
tableConfigService: TableConfigService;
|
|
26
|
-
constructor(breakpointObserver: BreakpointObserver, loaderService: LoaderService, dataService: DataServiceLib, messageService: MessageService, dialogRef: MatDialogRef<DetailsDialog>, detailsConfig: DetailsDialogConfig, buttonService: ButtonService, dialogService: DialogService, authService: AuthService, tableConfigService: TableConfigService);
|
|
21
|
+
constructor(breakpointObserver: BreakpointObserver, loaderService: LoaderService, dataService: DataServiceLib, messageService: MessageService, dialogRef: MatDialogRef<DetailsDialog>, detailsConfig: DetailsDialogConfig, buttonService: ButtonService, dialogService: DialogService);
|
|
27
22
|
ngOnInit(): void;
|
|
28
|
-
ngOnDestroy(): void;
|
|
29
|
-
private refreshSubscription;
|
|
30
|
-
autoRefreshEnabled: boolean;
|
|
31
23
|
titleAction: string;
|
|
32
24
|
loadByAction: boolean;
|
|
33
25
|
extraButtons: Button[];
|
|
@@ -39,22 +31,14 @@ export declare class DetailsDialog implements OnInit, OnDestroy {
|
|
|
39
31
|
files: any[];
|
|
40
32
|
tableReload: Subject<boolean>;
|
|
41
33
|
tableConfig: TableConfig;
|
|
42
|
-
tableConfigs:
|
|
34
|
+
tableConfigs: any;
|
|
43
35
|
details: any;
|
|
44
36
|
formConfig: FormConfig;
|
|
45
|
-
stepConfig: StepConfig;
|
|
46
|
-
statusConfig: StatusConfig;
|
|
47
37
|
smallScreen: boolean;
|
|
48
38
|
isLoadComplete: boolean;
|
|
49
39
|
isProcessing: boolean;
|
|
50
40
|
inputChange: EventEmitter<any>;
|
|
51
|
-
|
|
52
|
-
onTabChange(event: MatTabChangeEvent): void;
|
|
53
|
-
private initAutoRefresh;
|
|
54
|
-
private startAutoRefresh;
|
|
55
|
-
private stopAutoRefresh;
|
|
56
|
-
toggleAutoRefresh(): void;
|
|
57
|
-
loadData(action: Action, causeTablesReload: any): void;
|
|
41
|
+
loadData(action: Action, reload: any): void;
|
|
58
42
|
inputChanged(event: any): void;
|
|
59
43
|
setMode(newMode: any): void;
|
|
60
44
|
setTitleAction(): void;
|
|
@@ -71,16 +55,10 @@ export declare class DetailsDialog implements OnInit, OnDestroy {
|
|
|
71
55
|
private openNestedDetailsDialog;
|
|
72
56
|
private refreshData;
|
|
73
57
|
handleButtonAction(buttonName: string): void;
|
|
74
|
-
processButtonAction(button: Button): void;
|
|
75
58
|
private validateForm;
|
|
76
59
|
private prepareActionData;
|
|
77
60
|
private executeAction;
|
|
78
61
|
private performApiCall;
|
|
79
|
-
getClosePosition(): 'top' | 'bottom';
|
|
80
|
-
getCloseText(): string;
|
|
81
|
-
shouldShowTopClose(): boolean;
|
|
82
|
-
shouldShowBottomClose(): boolean;
|
|
83
|
-
close(): void;
|
|
84
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<DetailsDialog, never>;
|
|
85
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DetailsDialog, "
|
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DetailsDialog, "app-viewModel", never, {}, { "inputChange": "inputChange"; }, never, never, false>;
|
|
86
64
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter, OnInit
|
|
1
|
+
import { EventEmitter, OnInit } 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,7 +10,6 @@ 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';
|
|
14
13
|
import * as i0 from "@angular/core";
|
|
15
14
|
export declare class TableComponent implements OnInit {
|
|
16
15
|
private dataService;
|
|
@@ -21,43 +20,36 @@ export declare class TableComponent implements OnInit {
|
|
|
21
20
|
private dialogService;
|
|
22
21
|
private tableConfigService;
|
|
23
22
|
private conditionService;
|
|
24
|
-
|
|
25
|
-
constructor(dataService: DataServiceLib, messageService: MessageService, breakpointObserver: BreakpointObserver, dialog: MatDialog, buttonService: ButtonService, dialogService: DialogService, tableConfigService: TableConfigService, conditionService: ConditionService, authService: AuthService);
|
|
23
|
+
constructor(dataService: DataServiceLib, messageService: MessageService, breakpointObserver: BreakpointObserver, dialog: MatDialog, buttonService: ButtonService, dialogService: DialogService, tableConfigService: TableConfigService, conditionService: ConditionService);
|
|
26
24
|
ngOnInit(): void;
|
|
27
|
-
ngOnChanges(
|
|
25
|
+
ngOnChanges(): void;
|
|
28
26
|
elevation: string;
|
|
29
27
|
actionsWidth: string;
|
|
30
28
|
showFilterButton: boolean;
|
|
31
29
|
tileReload: Subject<boolean>;
|
|
32
|
-
hasBeenActivated: boolean;
|
|
33
30
|
smallScreen: boolean;
|
|
34
|
-
hasFormAccess: boolean;
|
|
35
31
|
tableDataSource: any;
|
|
36
32
|
dataSource: any[];
|
|
37
33
|
displayedColumns: any[];
|
|
38
34
|
displayedButtons: any[];
|
|
39
|
-
originalTableLoadAction: Action;
|
|
40
35
|
tablePaginator: MatPaginator;
|
|
36
|
+
hideTitle: boolean;
|
|
41
37
|
data: any;
|
|
42
|
-
tileData: any;
|
|
43
38
|
config: TableConfig;
|
|
44
39
|
reload: Subject<boolean>;
|
|
45
|
-
activeTab: boolean;
|
|
46
|
-
inTab: boolean;
|
|
47
40
|
dataLoad: EventEmitter<any>;
|
|
48
|
-
actionSuccess: EventEmitter<any>;
|
|
49
41
|
refreshClick: EventEmitter<any>;
|
|
50
42
|
searchClick: EventEmitter<any>;
|
|
51
43
|
createClick: EventEmitter<any>;
|
|
52
44
|
actionClick: EventEmitter<any>;
|
|
53
45
|
inputChange: EventEmitter<any>;
|
|
54
|
-
actionResponse: EventEmitter<any>;
|
|
55
46
|
private initializeComponent;
|
|
56
47
|
private updateTableConfiguration;
|
|
57
48
|
private setupDataLoading;
|
|
58
49
|
loadData(action: Action, data: any): void;
|
|
59
50
|
inputChanged(event: any): void;
|
|
60
51
|
formDefaults(): void;
|
|
52
|
+
setColumns(): void;
|
|
61
53
|
setButtons(): void;
|
|
62
54
|
getButton(name: string): Button;
|
|
63
55
|
getIcon(buttonName: string): string;
|
|
@@ -68,10 +60,8 @@ export declare class TableComponent implements OnInit {
|
|
|
68
60
|
testColorCondition(row: any, color: Color): boolean;
|
|
69
61
|
showBanner(message: string): void;
|
|
70
62
|
testDisabled(row: any, buttonName: string): boolean;
|
|
71
|
-
|
|
63
|
+
testVisible(row: any, buttonName: string): boolean;
|
|
72
64
|
searchClicked(x: any): void;
|
|
73
|
-
tileClicked(tile: any): void;
|
|
74
|
-
tileUnClicked(tile: any): void;
|
|
75
65
|
refreshClicked(): void;
|
|
76
66
|
dataLoaded(x: any): void;
|
|
77
67
|
actionClicked(name: string, row: any): void;
|
|
@@ -82,10 +72,11 @@ export declare class TableComponent implements OnInit {
|
|
|
82
72
|
newModel(): void;
|
|
83
73
|
editModel(row: any): void;
|
|
84
74
|
private open;
|
|
75
|
+
private openDetailsDialog;
|
|
85
76
|
deleteModel(row: any): void;
|
|
86
77
|
doAction(buttonName: string, row: any): void;
|
|
87
|
-
execAction(
|
|
78
|
+
execAction(b: Button, row: any): void;
|
|
88
79
|
private getElevationClass;
|
|
89
80
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
|
|
90
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "spa-table", never, { "
|
|
81
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "spa-table", never, { "hideTitle": "hideTitle"; "data": "data"; "config": "config"; "reload": "reload"; }, { "dataLoad": "dataLoad"; "refreshClick": "refreshClick"; "searchClick": "searchClick"; "createClick": "createClick"; "actionClick": "actionClick"; "inputChange": "inputChange"; }, never, never, false>;
|
|
91
82
|
}
|
|
@@ -8,7 +8,6 @@ export declare class TableActionComponent {
|
|
|
8
8
|
displayedButtons: Button[];
|
|
9
9
|
config: TableConfig;
|
|
10
10
|
row: any;
|
|
11
|
-
smallScreen: boolean;
|
|
12
11
|
actionClick: EventEmitter<{
|
|
13
12
|
name: string;
|
|
14
13
|
row: any;
|
|
@@ -18,8 +17,6 @@ export declare class TableActionComponent {
|
|
|
18
17
|
getButtonColor(button: Button, row: any): string;
|
|
19
18
|
getIcon(buttonName: string): string;
|
|
20
19
|
onActionClick(buttonName: string, row: any): void;
|
|
21
|
-
get visibleButtons(): Button[];
|
|
22
|
-
get overflowButtons(): Button[];
|
|
23
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableActionComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableActionComponent, "app-table-action", never, { "displayedButtons": "displayedButtons"; "config": "config"; "row": "row";
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableActionComponent, "app-table-action", never, { "displayedButtons": "displayedButtons"; "config": "config"; "row": "row"; }, { "actionClick": "actionClick"; }, never, never, false>;
|
|
25
22
|
}
|
|
@@ -1,20 +1,13 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { TableConfig, Button, TileConfig
|
|
2
|
+
import { TableConfig, Button, TileConfig } from '../../classes/Classes';
|
|
3
3
|
import { Subject } from 'rxjs';
|
|
4
4
|
import { ButtonService } from '../../services/button.service';
|
|
5
|
-
import { DialogService } from '../../services/dialog.service';
|
|
6
|
-
import { MessageService } from '../../services/message.service';
|
|
7
|
-
import { CsvService } from '../../services/csv.service';
|
|
8
5
|
import * as i0 from "@angular/core";
|
|
9
6
|
export declare class TableHeaderComponent {
|
|
10
7
|
private buttonService;
|
|
11
|
-
|
|
12
|
-
private messageService;
|
|
13
|
-
private csvService;
|
|
14
|
-
constructor(buttonService: ButtonService, dialogService: DialogService, messageService: MessageService, csvService: CsvService);
|
|
8
|
+
constructor(buttonService: ButtonService);
|
|
15
9
|
ngOnInit(): void;
|
|
16
10
|
createButton: Button;
|
|
17
|
-
lastSearch: any;
|
|
18
11
|
config: TableConfig;
|
|
19
12
|
hideTitle: boolean;
|
|
20
13
|
tableDataSource: any;
|
|
@@ -22,25 +15,17 @@ export declare class TableHeaderComponent {
|
|
|
22
15
|
smallScreen: boolean;
|
|
23
16
|
tileReload: Subject<boolean>;
|
|
24
17
|
showFilterButton: boolean;
|
|
25
|
-
data: any;
|
|
26
|
-
tileData: any;
|
|
27
18
|
createClick: EventEmitter<void>;
|
|
28
19
|
customClick: EventEmitter<any>;
|
|
29
20
|
refreshClick: EventEmitter<void>;
|
|
30
21
|
tileClick: EventEmitter<string>;
|
|
31
|
-
tileUnClick: EventEmitter<string>;
|
|
32
|
-
uploadDetailsDialog: DetailsDialogConfig;
|
|
33
22
|
onButtonClick(button: Button): void;
|
|
34
|
-
onDownloadClick(): void;
|
|
35
|
-
onUploadClick(): void;
|
|
36
23
|
onRefreshClick(): void;
|
|
37
|
-
onTileClick(
|
|
38
|
-
onTileUnClick(tile: any): void;
|
|
24
|
+
onTileClick(tileName: string): void;
|
|
39
25
|
getHeaderButtons(): Button[];
|
|
40
|
-
testVisibleHeaderButton(btn: any): boolean;
|
|
41
26
|
testVisible(button: Button): boolean;
|
|
42
27
|
testDisabled(button: Button): boolean;
|
|
43
28
|
getButtonColor(button: Button, row: any): string;
|
|
44
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableHeaderComponent, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableHeaderComponent, "app-table-header", never, { "
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableHeaderComponent, "app-table-header", never, { "config": "config"; "hideTitle": "hideTitle"; "tableDataSource": "tableDataSource"; "tileConfig": "tileConfig"; "smallScreen": "smallScreen"; "tileReload": "tileReload"; "showFilterButton": "showFilterButton"; }, { "createClick": "createClick"; "customClick": "customClick"; "refreshClick": "refreshClick"; "tileClick": "tileClick"; }, never, never, false>;
|
|
46
31
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { OnInit, EventEmitter
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
2
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
-
import { FormConfig, Field, TableConfig, Button, DetailsDialogConfig, Action
|
|
3
|
+
import { FormConfig, Field, TableConfig, Button, DetailsDialogConfig, Action } from '../../classes/Classes';
|
|
4
4
|
import { MessageService } from '../../services/message.service';
|
|
5
5
|
import { DataServiceLib } from '../../services/datalib.service';
|
|
6
6
|
import { LoaderService } from '../../services/loader.service';
|
|
@@ -8,11 +8,8 @@ import { BreakpointObserver } from '@angular/cdk/layout';
|
|
|
8
8
|
import { DialogService } from '../../services/dialog.service';
|
|
9
9
|
import { ButtonService } from '../../services/button.service';
|
|
10
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
11
|
import * as i0 from "@angular/core";
|
|
15
|
-
export declare class DetailsDialogInternal implements OnInit
|
|
12
|
+
export declare class DetailsDialogInternal implements OnInit {
|
|
16
13
|
private breakpointObserver;
|
|
17
14
|
private loaderService;
|
|
18
15
|
dataService: DataServiceLib;
|
|
@@ -21,13 +18,8 @@ export declare class DetailsDialogInternal implements OnInit, OnDestroy {
|
|
|
21
18
|
detailsConfig: DetailsDialogConfig;
|
|
22
19
|
private buttonService;
|
|
23
20
|
private dialogService;
|
|
24
|
-
|
|
25
|
-
tableConfigService: TableConfigService;
|
|
26
|
-
constructor(breakpointObserver: BreakpointObserver, loaderService: LoaderService, dataService: DataServiceLib, messageService: MessageService, dialogRef: MatDialogRef<DetailsDialogInternal>, detailsConfig: DetailsDialogConfig, buttonService: ButtonService, dialogService: DialogService, authService: AuthService, tableConfigService: TableConfigService);
|
|
21
|
+
constructor(breakpointObserver: BreakpointObserver, loaderService: LoaderService, dataService: DataServiceLib, messageService: MessageService, dialogRef: MatDialogRef<DetailsDialogInternal>, detailsConfig: DetailsDialogConfig, buttonService: ButtonService, dialogService: DialogService);
|
|
27
22
|
ngOnInit(): void;
|
|
28
|
-
ngOnDestroy(): void;
|
|
29
|
-
private refreshSubscription;
|
|
30
|
-
autoRefreshEnabled: boolean;
|
|
31
23
|
titleAction: string;
|
|
32
24
|
loadByAction: boolean;
|
|
33
25
|
extraButtons: Button[];
|
|
@@ -39,22 +31,14 @@ export declare class DetailsDialogInternal implements OnInit, OnDestroy {
|
|
|
39
31
|
files: any[];
|
|
40
32
|
tableReload: Subject<boolean>;
|
|
41
33
|
tableConfig: TableConfig;
|
|
42
|
-
tableConfigs:
|
|
34
|
+
tableConfigs: any;
|
|
43
35
|
details: any;
|
|
44
36
|
formConfig: FormConfig;
|
|
45
|
-
stepConfig: StepConfig;
|
|
46
|
-
statusConfig: StatusConfig;
|
|
47
37
|
smallScreen: boolean;
|
|
48
38
|
isLoadComplete: boolean;
|
|
49
39
|
isProcessing: boolean;
|
|
50
40
|
inputChange: EventEmitter<any>;
|
|
51
|
-
|
|
52
|
-
onTabChange(event: MatTabChangeEvent): void;
|
|
53
|
-
private initAutoRefresh;
|
|
54
|
-
private startAutoRefresh;
|
|
55
|
-
private stopAutoRefresh;
|
|
56
|
-
toggleAutoRefresh(): void;
|
|
57
|
-
loadData(action: Action, causeTablesReload: any): void;
|
|
41
|
+
loadData(action: Action, reload: any): void;
|
|
58
42
|
inputChanged(event: any): void;
|
|
59
43
|
setMode(newMode: any): void;
|
|
60
44
|
setTitleAction(): void;
|
|
@@ -71,16 +55,10 @@ export declare class DetailsDialogInternal implements OnInit, OnDestroy {
|
|
|
71
55
|
private openNestedDetailsDialog;
|
|
72
56
|
private refreshData;
|
|
73
57
|
handleButtonAction(buttonName: string): void;
|
|
74
|
-
processButtonAction(button: Button): void;
|
|
75
58
|
private validateForm;
|
|
76
59
|
private prepareActionData;
|
|
77
60
|
private executeAction;
|
|
78
61
|
private performApiCall;
|
|
79
|
-
getClosePosition(): 'top' | 'bottom';
|
|
80
|
-
getCloseText(): string;
|
|
81
|
-
shouldShowTopClose(): boolean;
|
|
82
|
-
shouldShowBottomClose(): boolean;
|
|
83
|
-
close(): void;
|
|
84
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<DetailsDialogInternal, never>;
|
|
85
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DetailsDialogInternal, "
|
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DetailsDialogInternal, "app-viewModel-internal", never, {}, { "inputChange": "inputChange"; }, never, never, false>;
|
|
86
64
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter, OnInit
|
|
1
|
+
import { EventEmitter, OnInit } 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,7 +10,6 @@ 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';
|
|
14
13
|
import * as i0 from "@angular/core";
|
|
15
14
|
export declare class TableInternalComponent implements OnInit {
|
|
16
15
|
private dataService;
|
|
@@ -21,43 +20,36 @@ export declare class TableInternalComponent implements OnInit {
|
|
|
21
20
|
private dialogService;
|
|
22
21
|
private tableConfigService;
|
|
23
22
|
private conditionService;
|
|
24
|
-
|
|
25
|
-
constructor(dataService: DataServiceLib, messageService: MessageService, breakpointObserver: BreakpointObserver, dialog: MatDialog, buttonService: ButtonService, dialogService: DialogService, tableConfigService: TableConfigService, conditionService: ConditionService, authService: AuthService);
|
|
23
|
+
constructor(dataService: DataServiceLib, messageService: MessageService, breakpointObserver: BreakpointObserver, dialog: MatDialog, buttonService: ButtonService, dialogService: DialogService, tableConfigService: TableConfigService, conditionService: ConditionService);
|
|
26
24
|
ngOnInit(): void;
|
|
27
|
-
ngOnChanges(
|
|
25
|
+
ngOnChanges(): void;
|
|
28
26
|
elevation: string;
|
|
29
27
|
actionsWidth: string;
|
|
30
28
|
showFilterButton: boolean;
|
|
31
29
|
tileReload: Subject<boolean>;
|
|
32
|
-
hasBeenActivated: boolean;
|
|
33
30
|
smallScreen: boolean;
|
|
34
|
-
hasFormAccess: boolean;
|
|
35
31
|
tableDataSource: any;
|
|
36
32
|
dataSource: any[];
|
|
37
33
|
displayedColumns: any[];
|
|
38
34
|
displayedButtons: any[];
|
|
39
|
-
originalTableLoadAction: Action;
|
|
40
35
|
tablePaginator: MatPaginator;
|
|
36
|
+
hideTitle: boolean;
|
|
41
37
|
data: any;
|
|
42
|
-
tileData: any;
|
|
43
38
|
config: TableConfig;
|
|
44
39
|
reload: Subject<boolean>;
|
|
45
|
-
activeTab: boolean;
|
|
46
|
-
inTab: boolean;
|
|
47
40
|
dataLoad: EventEmitter<any>;
|
|
48
|
-
actionSuccess: EventEmitter<any>;
|
|
49
41
|
refreshClick: EventEmitter<any>;
|
|
50
42
|
searchClick: EventEmitter<any>;
|
|
51
43
|
createClick: EventEmitter<any>;
|
|
52
44
|
actionClick: EventEmitter<any>;
|
|
53
45
|
inputChange: EventEmitter<any>;
|
|
54
|
-
actionResponse: EventEmitter<any>;
|
|
55
46
|
private initializeComponent;
|
|
56
47
|
private updateTableConfiguration;
|
|
57
48
|
private setupDataLoading;
|
|
58
49
|
loadData(action: Action, data: any): void;
|
|
59
50
|
inputChanged(event: any): void;
|
|
60
51
|
formDefaults(): void;
|
|
52
|
+
setColumns(): void;
|
|
61
53
|
setButtons(): void;
|
|
62
54
|
getButton(name: string): Button;
|
|
63
55
|
getIcon(buttonName: string): string;
|
|
@@ -68,10 +60,8 @@ export declare class TableInternalComponent implements OnInit {
|
|
|
68
60
|
testColorCondition(row: any, color: Color): boolean;
|
|
69
61
|
showBanner(message: string): void;
|
|
70
62
|
testDisabled(row: any, buttonName: string): boolean;
|
|
71
|
-
|
|
63
|
+
testVisible(row: any, buttonName: string): boolean;
|
|
72
64
|
searchClicked(x: any): void;
|
|
73
|
-
tileClicked(tile: any): void;
|
|
74
|
-
tileUnClicked(tile: any): void;
|
|
75
65
|
refreshClicked(): void;
|
|
76
66
|
dataLoaded(x: any): void;
|
|
77
67
|
actionClicked(name: string, row: any): void;
|
|
@@ -82,10 +72,11 @@ export declare class TableInternalComponent implements OnInit {
|
|
|
82
72
|
newModel(): void;
|
|
83
73
|
editModel(row: any): void;
|
|
84
74
|
private open;
|
|
75
|
+
private openDetailsDialog;
|
|
85
76
|
deleteModel(row: any): void;
|
|
86
77
|
doAction(buttonName: string, row: any): void;
|
|
87
|
-
execAction(
|
|
78
|
+
execAction(b: Button, row: any): void;
|
|
88
79
|
private getElevationClass;
|
|
89
80
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableInternalComponent, never>;
|
|
90
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableInternalComponent, "spa-table-internal", never, { "
|
|
81
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableInternalComponent, "spa-table-internal", never, { "hideTitle": "hideTitle"; "data": "data"; "config": "config"; "reload": "reload"; }, { "dataLoad": "dataLoad"; "refreshClick": "refreshClick"; "searchClick": "searchClick"; "createClick": "createClick"; "actionClick": "actionClick"; "inputChange": "inputChange"; }, never, never, false>;
|
|
91
82
|
}
|
|
@@ -7,7 +7,6 @@ export declare class TableRowComponent {
|
|
|
7
7
|
column: Column;
|
|
8
8
|
row: any;
|
|
9
9
|
config: TableConfig;
|
|
10
|
-
smallScreen: boolean;
|
|
11
10
|
actionClick: EventEmitter<{
|
|
12
11
|
name: string;
|
|
13
12
|
row: any;
|
|
@@ -19,13 +18,11 @@ export declare class TableRowComponent {
|
|
|
19
18
|
showBannerEvent: EventEmitter<string>;
|
|
20
19
|
constructor(buttonService: ButtonService);
|
|
21
20
|
testIconCondition(row: any, icon: Icon): boolean;
|
|
22
|
-
|
|
21
|
+
testColorCondition(row: any, color: any): boolean;
|
|
23
22
|
getColor(value: any, options: any[]): string;
|
|
24
23
|
onActionClick(name: string, row: any): void;
|
|
25
24
|
onColumnClick(column: Column, row: any): void;
|
|
26
25
|
showBanner(message: string): void;
|
|
27
|
-
textDisplayed(row: any, column: Column): any;
|
|
28
|
-
textTruncated(row: any, column: Column): boolean;
|
|
29
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableRowComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableRowComponent, "app-table-row", never, { "column": "column"; "row": "row"; "config": "config";
|
|
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>;
|
|
31
28
|
}
|
|
@@ -21,7 +21,7 @@ export declare class TasksComponent implements OnInit {
|
|
|
21
21
|
value: number;
|
|
22
22
|
}[];
|
|
23
23
|
formConfig: FormConfig;
|
|
24
|
-
|
|
24
|
+
config: TableConfig;
|
|
25
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<TasksComponent, never>;
|
|
26
26
|
static ɵcmp: i0.ɵɵComponentDeclaration<TasksComponent, "spa-tasks", never, {}, {}, never, never, false>;
|
|
27
27
|
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { OnInit } from "@angular/core";
|
|
2
|
+
import { MatDialogRef } from "@angular/material/dialog";
|
|
3
|
+
import { MessageService } from "../../services/message.service";
|
|
4
|
+
import { DataServiceLib } from "../../services/datalib.service";
|
|
5
|
+
import { LoaderService } from "../../services/loader.service";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class inviteDialog implements OnInit {
|
|
8
|
+
private loaderService;
|
|
9
|
+
private messageService;
|
|
10
|
+
dataService: DataServiceLib;
|
|
11
|
+
private dialogRef;
|
|
12
|
+
data: any;
|
|
13
|
+
constructor(loaderService: LoaderService, messageService: MessageService, dataService: DataServiceLib, dialogRef: MatDialogRef<inviteDialog>, data: any);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
isProcessing: boolean;
|
|
16
|
+
invited: boolean;
|
|
17
|
+
email: string;
|
|
18
|
+
roleID: number;
|
|
19
|
+
link: string;
|
|
20
|
+
roles: {
|
|
21
|
+
roleName: string;
|
|
22
|
+
roleID: number;
|
|
23
|
+
}[];
|
|
24
|
+
loadMeta(): void;
|
|
25
|
+
submit(): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<inviteDialog, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<inviteDialog, "app-addModel", never, {}, {}, never, never, false>;
|
|
28
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import { FormConfig, TableConfig
|
|
2
|
+
import { FormConfig, TableConfig } from '../../classes/Classes';
|
|
3
3
|
import { DataServiceLib } from '../../services/datalib.service';
|
|
4
4
|
import { MessageService } from '../../services/message.service';
|
|
5
5
|
import { AuthService } from '../../services/auth.service';
|
|
@@ -21,27 +21,22 @@ export declare class TenantSettingsComponent implements OnInit {
|
|
|
21
21
|
plan: any;
|
|
22
22
|
ownTenant: any;
|
|
23
23
|
roles: {
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
name: string;
|
|
25
|
+
value: number;
|
|
26
26
|
}[];
|
|
27
27
|
loadData(): void;
|
|
28
28
|
loadTenants(): void;
|
|
29
|
-
|
|
29
|
+
renameTenant(): void;
|
|
30
30
|
refreshOrgsLists(): void;
|
|
31
31
|
switchTenant(): void;
|
|
32
|
-
|
|
33
|
-
roleField: Field;
|
|
34
|
-
inviteDialogConfig: DetailsDialogConfig;
|
|
32
|
+
newTenant(): void;
|
|
35
33
|
membersFormConfig: FormConfig;
|
|
34
|
+
inviteActionClicked(x: any): void;
|
|
35
|
+
inviteDiag(): void;
|
|
36
36
|
tableReload: Subject<boolean>;
|
|
37
37
|
membersTableConfig: TableConfig;
|
|
38
|
-
orgFormConfig: FormConfig;
|
|
39
|
-
createOrgDialogConfig: DetailsDialogConfig;
|
|
40
|
-
renameOrgDialogConfig: DetailsDialogConfig;
|
|
41
38
|
orgsReload: Subject<boolean>;
|
|
42
39
|
orgsTableConfig: TableConfig;
|
|
43
|
-
mailerFormConfig: FormConfig;
|
|
44
|
-
mailerTableConfig: TableConfig;
|
|
45
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<TenantSettingsComponent, never>;
|
|
46
41
|
static ɵcmp: i0.ɵɵComponentDeclaration<TenantSettingsComponent, "spa-tenant-settings", never, {}, {}, never, never, false>;
|
|
47
42
|
}
|