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
package/lib/classes/TinCore.d.ts
CHANGED
|
@@ -1,21 +1,12 @@
|
|
|
1
|
-
import { DetailsDialogConfig, Field, FormConfig
|
|
1
|
+
import { DetailsDialogConfig, Field, FormConfig } from "./Classes";
|
|
2
2
|
export declare class Core {
|
|
3
3
|
static deepClone(obj: any): any;
|
|
4
|
-
static deepClone2(obj: any): any;
|
|
5
4
|
static camelToWords(value: string): string;
|
|
6
5
|
static generateObject(fields: Field[]): {};
|
|
7
6
|
static resetObject(fields: Field[], data: any): void;
|
|
8
|
-
static
|
|
9
|
-
static hasFormAccess(formConfig: FormConfig, currentRole: any): boolean;
|
|
10
|
-
static getFormAccess(formConfig: FormConfig, currentRole: any): RoleAccess;
|
|
11
|
-
private static getRoleAccess;
|
|
12
|
-
static testVisible(config: FormConfig, data: any, field: Field, currentRole: any): boolean;
|
|
13
|
-
static testReadOnly(config: FormConfig, data: any, field: Field): boolean;
|
|
14
|
-
static testVisibleHeaderButton(data: any, btn: any): boolean;
|
|
15
|
-
static getVisibleSubfields(config: FormConfig, data: any, field: Field, currentRole: any): Field[];
|
|
7
|
+
static testVisible(config: FormConfig, data: any, f: Field): boolean;
|
|
16
8
|
static validateObject(fields: Field[], data: any): string;
|
|
17
|
-
static
|
|
18
|
-
static getInitialValue(field: Field): any;
|
|
9
|
+
private static getInitialValue;
|
|
19
10
|
static getClone(x: any): any;
|
|
20
11
|
static getNumber(value: string): string | 0;
|
|
21
12
|
static getFirstDayOfMonth(): Date;
|
|
@@ -37,8 +28,6 @@ export declare class DetailsDialogProcessor {
|
|
|
37
28
|
tableConfig: import("./Classes").TableConfig;
|
|
38
29
|
tableConfigs: import("./Classes").TableConfig[];
|
|
39
30
|
formConfig: FormConfig;
|
|
40
|
-
stepConfig: import("./Classes").StepConfig;
|
|
41
|
-
statusConfig: import("./Classes").StatusConfig;
|
|
42
31
|
buttons: import("./Classes").Button[];
|
|
43
32
|
};
|
|
44
33
|
static setHeroValue(detailsConfig: DetailsDialogConfig, details: any): void;
|
|
@@ -50,7 +39,7 @@ export declare class DetailsDialogProcessor {
|
|
|
50
39
|
private static loadDetailsData;
|
|
51
40
|
private static loadDetailsFromUrl;
|
|
52
41
|
static setFileField(formConfig: FormConfig): Field;
|
|
53
|
-
static setupButtons(buttons: any): {
|
|
42
|
+
static setupButtons(formConfig: FormConfig, buttons: any): {
|
|
54
43
|
extraButtons: any;
|
|
55
44
|
createButton: any;
|
|
56
45
|
editButton: any;
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import { AlertMessage,
|
|
2
|
+
import { AlertMessage, AlertMessages } from '../../classes/Classes';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class AlertComponent implements OnInit {
|
|
5
5
|
constructor();
|
|
6
6
|
ngOnInit(): void;
|
|
7
|
-
|
|
7
|
+
alertMessages: AlertMessages;
|
|
8
8
|
data: any;
|
|
9
9
|
getAlertMessages(type?: any): AlertMessage[];
|
|
10
10
|
hasAlertMessages(type?: any): boolean;
|
|
11
11
|
testVisible(msg: AlertMessage): boolean;
|
|
12
|
-
getMessageContent(msg: AlertMessage): string;
|
|
13
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<AlertComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AlertComponent, "spa-alert", never, { "
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AlertComponent, "spa-alert", never, { "alertMessages": "alertMessages"; "data": "data"; }, {}, never, never, false>;
|
|
15
14
|
}
|
|
@@ -1,16 +1,8 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { MessageService } from '../../services/message.service';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class AttachComponent implements OnInit {
|
|
5
|
-
|
|
6
|
-
constructor(messageService: MessageService);
|
|
4
|
+
constructor();
|
|
7
5
|
ngOnInit(): void;
|
|
8
|
-
fileOptions: {
|
|
9
|
-
allowedExtensions?: string[];
|
|
10
|
-
maxSizeMB?: number;
|
|
11
|
-
compressImages?: boolean;
|
|
12
|
-
};
|
|
13
|
-
private readonly imageExtensions;
|
|
14
6
|
message: string;
|
|
15
7
|
files: any[];
|
|
16
8
|
filesChange: EventEmitter<any>;
|
|
@@ -19,12 +11,13 @@ export declare class AttachComponent implements OnInit {
|
|
|
19
11
|
onFileDropped($event: any): void;
|
|
20
12
|
fileBrowseHandler(event: any): void;
|
|
21
13
|
deleteFile(index: number): void;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
14
|
+
/**
|
|
15
|
+
* Simulate the upload process
|
|
16
|
+
*/
|
|
17
|
+
prepareFilesList(files: Array<any>): void;
|
|
25
18
|
formatBytes(bytes: any, decimals: any): string;
|
|
26
19
|
uploaded(): void;
|
|
27
20
|
filesChanged(): void;
|
|
28
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<AttachComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AttachComponent, "spa-attach", never, { "
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AttachComponent, "spa-attach", never, { "message": "message"; "files": "files"; "enableUpload": "enableUpload"; }, { "filesChange": "filesChange"; "upload": "upload"; }, never, never, false>;
|
|
30
23
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ChangeUserPassword } from './../../classes/Classes';
|
|
1
2
|
import { OnInit } from '@angular/core';
|
|
2
3
|
import { MessageService } from '../../services/message.service';
|
|
3
4
|
import { DataServiceLib } from '../../services/datalib.service';
|
|
@@ -5,7 +6,6 @@ import { AuthService } from '../../services/auth.service';
|
|
|
5
6
|
import { Location } from '@angular/common';
|
|
6
7
|
import { HttpService } from '../../services/http.service';
|
|
7
8
|
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,10 +2,9 @@ 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 } from '../../classes/Classes';
|
|
5
|
+
import { AppConfig, Register } from '../../classes/Classes';
|
|
6
6
|
import { Router } from '@angular/router';
|
|
7
7
|
import { HttpService } from '../../services/http.service';
|
|
8
|
-
import { Register } from '../../classes/LibClasses';
|
|
9
8
|
import * as i0 from "@angular/core";
|
|
10
9
|
export declare class CreateAccountComponent implements OnInit {
|
|
11
10
|
private httpService;
|
|
@@ -1,12 +1,18 @@
|
|
|
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';
|
|
3
5
|
import { AuthService } from '../../services/auth.service';
|
|
4
6
|
import * as i0 from "@angular/core";
|
|
5
7
|
export declare class CustomersComponent implements OnInit {
|
|
6
|
-
dataService
|
|
8
|
+
private dataService;
|
|
9
|
+
private messageService;
|
|
7
10
|
authService: AuthService;
|
|
8
|
-
constructor(dataService: DataServiceLib, authService: AuthService);
|
|
11
|
+
constructor(dataService: DataServiceLib, messageService: MessageService, authService: AuthService);
|
|
9
12
|
ngOnInit(): void;
|
|
13
|
+
loadTenants(): void;
|
|
14
|
+
formConfig: FormConfig;
|
|
15
|
+
config: TableConfig;
|
|
10
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<CustomersComponent, never>;
|
|
11
17
|
static ɵcmp: i0.ɵɵComponentDeclaration<CustomersComponent, "spa-customers", never, {}, {}, never, never, false>;
|
|
12
18
|
}
|
|
@@ -7,7 +7,6 @@ export declare class DatetimeComponent implements OnInit {
|
|
|
7
7
|
value: string;
|
|
8
8
|
valueChange: EventEmitter<any>;
|
|
9
9
|
readonly: boolean;
|
|
10
|
-
width: string;
|
|
11
10
|
min: string;
|
|
12
11
|
max: string;
|
|
13
12
|
changed(): void;
|
|
@@ -15,5 +14,5 @@ export declare class DatetimeComponent implements OnInit {
|
|
|
15
14
|
infoClick: EventEmitter<void>;
|
|
16
15
|
onInfoClick(event: MouseEvent): void;
|
|
17
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatetimeComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DatetimeComponent, "spa-datetime", never, { "display": "display"; "value": "value"; "readonly": "readonly"; "
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatetimeComponent, "spa-datetime", never, { "display": "display"; "value": "value"; "readonly": "readonly"; "min": "min"; "max": "max"; "infoMessage": "infoMessage"; }, { "valueChange": "valueChange"; "infoClick": "infoClick"; }, never, never, false>;
|
|
19
18
|
}
|
|
@@ -14,7 +14,6 @@ export declare class FilterComponent implements OnInit {
|
|
|
14
14
|
keyUp(event: KeyboardEvent): void;
|
|
15
15
|
applyFilter(filterValue: string): void;
|
|
16
16
|
refreshClicked(): void;
|
|
17
|
-
clear(): void;
|
|
18
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilterComponent, never>;
|
|
19
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<FilterComponent, "spa-filter", never, { "flatButtons": "flatButtons"; "showText": "showText"; "showButton": "showButton"; "data": "data"; }, { "refreshClick": "refreshClick"; }, never, never, false>;
|
|
20
19
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { EventEmitter, OnInit
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { FormConfig, Field, Button } from '../../classes/Classes';
|
|
3
3
|
import { MessageService } from '../../services/message.service';
|
|
4
4
|
import { DataServiceLib } from '../../services/datalib.service';
|
|
5
|
-
import { AuthService } from '../../services/auth.service';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
export declare class FormComponent implements OnInit {
|
|
8
7
|
private messageService;
|
|
9
8
|
private dataService;
|
|
10
|
-
|
|
11
|
-
constructor(messageService: MessageService, dataService: DataServiceLib, authService: AuthService);
|
|
9
|
+
constructor(messageService: MessageService, dataService: DataServiceLib);
|
|
12
10
|
ngOnInit(): void;
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
ngOnChanges(): void;
|
|
12
|
+
ngAfterViewInit(): void;
|
|
13
|
+
getVisibleFields(): Field[];
|
|
14
|
+
testReadOnly(f: Field): boolean;
|
|
15
15
|
fileNames: any;
|
|
16
16
|
fileField: Field;
|
|
17
17
|
fileViewField: Field;
|
|
@@ -25,23 +25,12 @@ export declare class FormComponent implements OnInit {
|
|
|
25
25
|
config: FormConfig;
|
|
26
26
|
buttonClick: EventEmitter<any>;
|
|
27
27
|
inputChange: EventEmitter<any>;
|
|
28
|
-
initializeCompositeFields(): void;
|
|
29
|
-
private applyValueCalculations;
|
|
30
|
-
getVisibleSubfields(field: Field): Field[];
|
|
31
|
-
getVisibleFields(): Field[];
|
|
32
|
-
testReadOnly(field: Field): boolean;
|
|
33
|
-
testRequired(field: Field): boolean;
|
|
34
|
-
toggleSection(field: Field): void;
|
|
35
|
-
hasSectionFields(sectionName: string): boolean;
|
|
36
|
-
shouldSectionCollapse(field: Field): boolean;
|
|
37
|
-
onInfoClick(event: MouseEvent, infoMessage: string): void;
|
|
38
|
-
selectChanged(field: Field): void;
|
|
39
28
|
inputChanged(field: Field, value: any): void;
|
|
40
|
-
updateChildOptions(
|
|
41
|
-
|
|
29
|
+
updateChildOptions(masterField: Field): void;
|
|
30
|
+
handleInfoClick(field: Field): void;
|
|
42
31
|
buttonClicked(): void;
|
|
43
32
|
processCall(button: Button): void;
|
|
44
33
|
processForm(): void;
|
|
45
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormComponent, never>;
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "spa-form", never, { "files": "files"; "data": "data"; "config": "config"; }, { "buttonClick": "buttonClick"; "inputChange": "inputChange"; },
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "spa-form", never, { "files": "files"; "data": "data"; "config": "config"; }, { "buttonClick": "buttonClick"; "inputChange": "inputChange"; }, never, never, false>;
|
|
47
36
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class InvitationsComponent implements OnInit {
|
|
4
|
+
constructor();
|
|
5
|
+
ngOnInit(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InvitationsComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InvitationsComponent, "spa-invitations", never, {}, {}, never, never, false>;
|
|
8
|
+
}
|
|
@@ -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
|
+
invTableConfig: 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
|
}
|
|
@@ -6,8 +6,6 @@ export declare class LabelComponent implements OnInit {
|
|
|
6
6
|
display: string;
|
|
7
7
|
value: string;
|
|
8
8
|
format: string;
|
|
9
|
-
suffix: string;
|
|
10
|
-
size: string;
|
|
11
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<LabelComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LabelComponent, "spa-label", never, { "display": "display"; "value": "value"; "format": "format";
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LabelComponent, "spa-label", never, { "display": "display"; "value": "value"; "format": "format"; }, {}, never, never, false>;
|
|
13
11
|
}
|
|
@@ -4,13 +4,10 @@ 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 { AppConfig } from "../../classes/Classes";
|
|
7
|
+
import { LogService } from "./../../services/log.service";
|
|
8
|
+
import { User, 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';
|
|
14
11
|
import * as i0 from "@angular/core";
|
|
15
12
|
export declare class LoginComponent implements OnInit {
|
|
16
13
|
private httpService;
|
|
@@ -22,11 +19,8 @@ export declare class LoginComponent implements OnInit {
|
|
|
22
19
|
private logService;
|
|
23
20
|
private route;
|
|
24
21
|
private socialService;
|
|
25
|
-
|
|
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);
|
|
22
|
+
constructor(httpService: HttpService, storageService: StorageService, router: Router, messageService: MessageService, dataService: DataServiceLib, authService: AuthService, logService: LogService, route: ActivatedRoute, socialService: SocialAuthService);
|
|
28
23
|
ngOnInit(): void;
|
|
29
|
-
loginWithMS(): void;
|
|
30
24
|
autoLogin: boolean;
|
|
31
25
|
socialUser: SocialUser | null;
|
|
32
26
|
style: string;
|
|
@@ -40,7 +34,6 @@ export declare class LoginComponent implements OnInit {
|
|
|
40
34
|
signup(): void;
|
|
41
35
|
recoverAccount(): void;
|
|
42
36
|
login(): void;
|
|
43
|
-
notifications(): void;
|
|
44
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoginComponent, never>;
|
|
45
38
|
static ɵcmp: i0.ɵɵComponentDeclaration<LoginComponent, "spa-login", never, {}, {}, never, never, false>;
|
|
46
39
|
}
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { DataServiceLib } from "../../services/datalib.service";
|
|
3
|
+
import { MatPaginator } from '@angular/material/paginator';
|
|
3
4
|
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
|
-
|
|
11
|
+
isProcessing: boolean;
|
|
12
|
+
logsPaginator: MatPaginator;
|
|
13
|
+
logs: any;
|
|
14
|
+
displayedColumns: string[];
|
|
15
|
+
loadLogs(): void;
|
|
12
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<LogsComponent, never>;
|
|
13
17
|
static ɵcmp: i0.ɵɵComponentDeclaration<LogsComponent, "spa-logs", never, {}, {}, never, never, false>;
|
|
14
18
|
}
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
+
import { DataServiceLib } from '../../services/datalib.service';
|
|
2
3
|
import { FormConfig, TableConfig } from '../../classes/Classes';
|
|
4
|
+
import { MessageService } from '../../services/message.service';
|
|
3
5
|
import { AuthService } from '../../services/auth.service';
|
|
4
6
|
import * as i0 from "@angular/core";
|
|
5
7
|
export declare class MembershipComponent implements OnInit {
|
|
8
|
+
private dataService;
|
|
9
|
+
private messageService;
|
|
6
10
|
authService: AuthService;
|
|
7
|
-
constructor(authService: AuthService);
|
|
11
|
+
constructor(dataService: DataServiceLib, messageService: MessageService, authService: AuthService);
|
|
8
12
|
ngOnInit(): void;
|
|
9
13
|
formConfig: FormConfig;
|
|
10
|
-
|
|
14
|
+
config: TableConfig;
|
|
11
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<MembershipComponent, never>;
|
|
12
16
|
static ɵcmp: i0.ɵɵComponentDeclaration<MembershipComponent, "spa-membership", never, {}, {}, never, never, false>;
|
|
13
17
|
}
|
|
@@ -22,19 +22,12 @@ export declare class MoneyComponent implements OnInit {
|
|
|
22
22
|
max: number;
|
|
23
23
|
infoMessage: string;
|
|
24
24
|
infoClick: EventEmitter<void>;
|
|
25
|
-
copyContent: boolean;
|
|
26
|
-
clearContent: boolean;
|
|
27
|
-
suffix: string;
|
|
28
|
-
isHovered: boolean;
|
|
29
|
-
onMouseEnter(): void;
|
|
30
|
-
onMouseLeave(): void;
|
|
31
25
|
onInfoClick(event: MouseEvent): void;
|
|
32
|
-
clear(): void;
|
|
33
26
|
changed(x: any): void;
|
|
34
27
|
leaved(): void;
|
|
35
28
|
enterPressed(): void;
|
|
36
29
|
control: FormControl<string>;
|
|
37
30
|
validate(control: FormControl): string;
|
|
38
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<MoneyComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MoneyComponent, "spa-money", never, { "readonly": "readonly"; "hint": "hint"; "display": "display"; "placeholder": "placeholder"; "value": "value"; "width": "width"; "currency": "currency"; "required": "required"; "min": "min"; "max": "max"; "infoMessage": "infoMessage";
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MoneyComponent, "spa-money", never, { "readonly": "readonly"; "hint": "hint"; "display": "display"; "placeholder": "placeholder"; "value": "value"; "width": "width"; "currency": "currency"; "required": "required"; "min": "min"; "max": "max"; "infoMessage": "infoMessage"; }, { "valueChange": "valueChange"; "leave": "leave"; "enterPress": "enterPress"; "infoClick": "infoClick"; }, never, never, false>;
|
|
40
33
|
}
|
|
@@ -1,23 +1,20 @@
|
|
|
1
|
-
import { AppConfig
|
|
1
|
+
import { AppConfig } from './../../classes/Classes';
|
|
2
2
|
import { Router } from '@angular/router';
|
|
3
3
|
import { AuthService } from '../../services/auth.service';
|
|
4
4
|
import { StorageService } from '../../services/storage.service';
|
|
5
5
|
import { SocialAuthService } from '@abacritt/angularx-social-login';
|
|
6
6
|
import { DataServiceLib } from '../../services/datalib.service';
|
|
7
7
|
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
8
|
-
import { NotificationsService } from '../../services/notifications.service';
|
|
9
8
|
import * as i0 from "@angular/core";
|
|
10
9
|
export declare class NavMenuComponent {
|
|
11
10
|
router: Router;
|
|
12
11
|
authService: AuthService;
|
|
13
12
|
private storageService;
|
|
14
|
-
private notificationsService;
|
|
15
13
|
private socialService;
|
|
16
14
|
private breakpointObserver;
|
|
17
15
|
dataService: DataServiceLib;
|
|
18
|
-
constructor(router: Router, authService: AuthService, storageService: StorageService,
|
|
16
|
+
constructor(router: Router, authService: AuthService, storageService: StorageService, socialService: SocialAuthService, breakpointObserver: BreakpointObserver, dataService: DataServiceLib);
|
|
19
17
|
ngOnInit(): void;
|
|
20
|
-
notificationCount$: import("rxjs").Observable<number>;
|
|
21
18
|
smallScreen: any;
|
|
22
19
|
myRole: any;
|
|
23
20
|
loggedUserFullName: string;
|
|
@@ -32,7 +29,6 @@ export declare class NavMenuComponent {
|
|
|
32
29
|
closeSide(): void;
|
|
33
30
|
logoff(): void;
|
|
34
31
|
redirectTo(link: string): void;
|
|
35
|
-
getSubItems(capItem: CapItem): CapItem[];
|
|
36
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavMenuComponent, never>;
|
|
37
33
|
static ɵcmp: i0.ɵɵComponentDeclaration<NavMenuComponent, "spa-nav-menu", never, { "appConfig": "appConfig"; "footer": "footer"; }, {}, never, never, false>;
|
|
38
34
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class NotificationsComponent implements OnInit {
|
|
4
|
+
constructor();
|
|
5
|
+
ngOnInit(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationsComponent, "spa-notifications", never, {}, {}, never, never, false>;
|
|
8
|
+
}
|
|
@@ -24,12 +24,6 @@ export declare class NumberComponent implements OnInit {
|
|
|
24
24
|
suffix: string;
|
|
25
25
|
infoMessage: string;
|
|
26
26
|
infoClick: EventEmitter<void>;
|
|
27
|
-
copyContent: boolean;
|
|
28
|
-
clearContent: boolean;
|
|
29
|
-
isHovered: boolean;
|
|
30
|
-
onMouseEnter(): void;
|
|
31
|
-
onMouseLeave(): void;
|
|
32
|
-
clear(): void;
|
|
33
27
|
onInfoClick(event: MouseEvent): void;
|
|
34
28
|
changed(): void;
|
|
35
29
|
leaved(): void;
|
|
@@ -37,5 +31,5 @@ export declare class NumberComponent implements OnInit {
|
|
|
37
31
|
control: FormControl<number>;
|
|
38
32
|
validate(control: FormControl): string;
|
|
39
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<NumberComponent, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NumberComponent, "spa-number", never, { "readonly": "readonly"; "hint": "hint"; "display": "display"; "placeholder": "placeholder"; "value": "value"; "width": "width"; "required": "required"; "min": "min"; "max": "max"; "step": "step"; "suffix": "suffix"; "infoMessage": "infoMessage";
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NumberComponent, "spa-number", never, { "readonly": "readonly"; "hint": "hint"; "display": "display"; "placeholder": "placeholder"; "value": "value"; "width": "width"; "required": "required"; "min": "min"; "max": "max"; "step": "step"; "suffix": "suffix"; "infoMessage": "infoMessage"; }, { "valueChange": "valueChange"; "leave": "leave"; "enterPress": "enterPress"; "infoClick": "infoClick"; }, never, never, false>;
|
|
41
35
|
}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { MessageService } from '../../services/message.service';
|
|
3
|
-
import { Action } from '../../classes/Classes';
|
|
4
2
|
import * as i0 from "@angular/core";
|
|
5
3
|
export declare class OptionComponent implements OnInit {
|
|
6
|
-
|
|
7
|
-
constructor(messageService: MessageService);
|
|
4
|
+
constructor();
|
|
8
5
|
ngOnInit(): void;
|
|
9
6
|
OGValue: any;
|
|
10
7
|
options: any;
|
|
@@ -15,18 +12,12 @@ export declare class OptionComponent implements OnInit {
|
|
|
15
12
|
value: string;
|
|
16
13
|
display: string;
|
|
17
14
|
show: boolean;
|
|
18
|
-
required: boolean;
|
|
19
|
-
infoMessage: string;
|
|
20
|
-
copyContent: boolean;
|
|
21
|
-
suffix: string;
|
|
22
|
-
loadAction: Action;
|
|
23
15
|
valueChange: EventEmitter<any>;
|
|
24
16
|
enterPress: EventEmitter<any>;
|
|
25
17
|
changed(): void;
|
|
26
18
|
dateChanged(x: any): void;
|
|
27
19
|
enterPressed(): void;
|
|
28
20
|
resetValue(): void;
|
|
29
|
-
onInfoClick(event: MouseEvent): void;
|
|
30
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<OptionComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OptionComponent, "spa-option", never, { "options": "options"; "optionValue": "optionValue"; "optionDisplay": "optionDisplay"; "readonly": "readonly"; "type": "type"; "value": "value"; "display": "display"; "show": "show";
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OptionComponent, "spa-option", never, { "options": "options"; "optionValue": "optionValue"; "optionDisplay": "optionDisplay"; "readonly": "readonly"; "type": "type"; "value": "value"; "display": "display"; "show": "show"; }, { "valueChange": "valueChange"; "enterPress": "enterPress"; }, never, never, false>;
|
|
32
23
|
}
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
+
import { DataServiceLib } from '../../services/datalib.service';
|
|
2
3
|
import { FormConfig, TableConfig } from '../../classes/Classes';
|
|
4
|
+
import { MessageService } from '../../services/message.service';
|
|
3
5
|
import { AuthService } from '../../services/auth.service';
|
|
4
6
|
import * as i0 from "@angular/core";
|
|
5
7
|
export declare class PlansComponent implements OnInit {
|
|
8
|
+
private dataService;
|
|
9
|
+
private messageService;
|
|
6
10
|
authService: AuthService;
|
|
7
|
-
constructor(authService: AuthService);
|
|
11
|
+
constructor(dataService: DataServiceLib, messageService: MessageService, authService: AuthService);
|
|
8
12
|
ngOnInit(): void;
|
|
9
13
|
formConfig: FormConfig;
|
|
10
|
-
|
|
14
|
+
config: TableConfig;
|
|
11
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<PlansComponent, never>;
|
|
12
16
|
static ɵcmp: i0.ɵɵComponentDeclaration<PlansComponent, "spa-plans", never, {}, {}, never, never, false>;
|
|
13
17
|
}
|
|
@@ -2,10 +2,9 @@ import { AuthService } from './../../services/auth.service';
|
|
|
2
2
|
import { MessageService } from './../../services/message.service';
|
|
3
3
|
import { DataServiceLib } from '../../services/datalib.service';
|
|
4
4
|
import { OnInit } from '@angular/core';
|
|
5
|
-
import { AppConfig } from '../../classes/Classes';
|
|
5
|
+
import { AppConfig, Profile } from '../../classes/Classes';
|
|
6
6
|
import { Router } from '@angular/router';
|
|
7
7
|
import { HttpService } from '../../services/http.service';
|
|
8
|
-
import { Profile } from '../../classes/LibClasses';
|
|
9
8
|
import * as i0 from "@angular/core";
|
|
10
9
|
export declare class ProfileComponent implements OnInit {
|
|
11
10
|
dataService: DataServiceLib;
|
|
@@ -3,8 +3,8 @@ import { AuthService } from '../../services/auth.service';
|
|
|
3
3
|
import { OnInit } from '@angular/core';
|
|
4
4
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
5
5
|
import { DataServiceLib } from '../../services/datalib.service';
|
|
6
|
+
import { Role } from '../../classes/Classes';
|
|
6
7
|
import { LoaderService } from '../../services/loader.service';
|
|
7
|
-
import { Role } from '../../classes/LibClasses';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class addRoleDialog implements OnInit {
|
|
10
10
|
private loaderService;
|
|
@@ -1,42 +1,30 @@
|
|
|
1
|
-
import { AppConfig
|
|
1
|
+
import { AppConfig } from './../../classes/Classes';
|
|
2
2
|
import { OnInit } from "@angular/core";
|
|
3
3
|
import { MatDialog } from "@angular/material/dialog";
|
|
4
4
|
import { DataServiceLib } from "../../services/datalib.service";
|
|
5
|
+
import { Role } from "../../classes/Classes";
|
|
5
6
|
import { Router } from "@angular/router";
|
|
6
7
|
import { MessageService } from '../../services/message.service';
|
|
7
8
|
import { AuthService } from '../../services/auth.service';
|
|
8
9
|
import { HttpService } from '../../services/http.service';
|
|
9
|
-
import { DialogService } from '../../services/dialog.service';
|
|
10
|
-
import { Role } from '../../classes/LibClasses';
|
|
11
10
|
import * as i0 from "@angular/core";
|
|
12
11
|
export declare class RolesComponent implements OnInit {
|
|
13
12
|
private httpService;
|
|
14
13
|
private router;
|
|
15
14
|
private authService;
|
|
16
15
|
private dataService;
|
|
17
|
-
private dialogService;
|
|
18
16
|
dialog: MatDialog;
|
|
19
17
|
private messageService;
|
|
20
|
-
constructor(httpService: HttpService, router: Router, authService: AuthService, dataService: DataServiceLib,
|
|
18
|
+
constructor(httpService: HttpService, router: Router, authService: AuthService, dataService: DataServiceLib, dialog: MatDialog, messageService: MessageService);
|
|
21
19
|
ngOnInit(): void;
|
|
22
20
|
isProcessing: boolean;
|
|
23
21
|
roles: Role[];
|
|
24
|
-
RoleAccess: typeof RoleAccess;
|
|
25
22
|
appConfig: AppConfig;
|
|
26
|
-
roleAccessOptions: {
|
|
27
|
-
value: RoleAccess;
|
|
28
|
-
name: string;
|
|
29
|
-
}[];
|
|
30
23
|
loadRoles(): void;
|
|
31
24
|
refresh(): void;
|
|
32
|
-
onCapItemChange(capItem: CapItem, checked: boolean, role: any): void;
|
|
33
|
-
hasSubItemsAccess(capItem: CapItem, role: any): boolean;
|
|
34
25
|
addRole(): void;
|
|
35
26
|
updateRole(role: Role): void;
|
|
36
27
|
deleteRole(role: Role): void;
|
|
37
|
-
renameDialogConfig: DetailsDialogConfig;
|
|
38
|
-
renameButton: Button;
|
|
39
|
-
renameRole(role: Role): void;
|
|
40
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<RolesComponent, never>;
|
|
41
29
|
static ɵcmp: i0.ɵɵComponentDeclaration<RolesComponent, "spa-roles", never, {}, {}, never, never, false>;
|
|
42
30
|
}
|
|
@@ -7,9 +7,7 @@ export declare class SearchComponent implements OnInit {
|
|
|
7
7
|
data: any;
|
|
8
8
|
config: SearchConfig;
|
|
9
9
|
searchClick: EventEmitter<any>;
|
|
10
|
-
smallScreen: boolean;
|
|
11
|
-
tableDataSource: any;
|
|
12
10
|
search(): void;
|
|
13
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<SearchComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SearchComponent, "spa-search", never, { "config": "config";
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SearchComponent, "spa-search", never, { "config": "config"; }, { "searchClick": "searchClick"; }, never, never, false>;
|
|
15
13
|
}
|