tin-spa 14.0.1 → 14.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -24
- package/esm2020/lib/classes/Classes.mjs +32 -57
- package/esm2020/lib/classes/LibClasses.mjs +1 -2
- package/esm2020/lib/classes/TinCore.mjs +48 -206
- package/esm2020/lib/components/alert/alert.component.mjs +7 -21
- package/esm2020/lib/components/attach/attach.component.mjs +33 -49
- package/esm2020/lib/components/date/date.component.mjs +6 -8
- package/esm2020/lib/components/email/email.component.mjs +17 -19
- package/esm2020/lib/components/form/form.component.mjs +56 -144
- 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/money/money.component.mjs +9 -26
- package/esm2020/lib/components/nav-menu/nav-menu.component.mjs +27 -31
- package/esm2020/lib/components/number/number.component.mjs +8 -23
- package/esm2020/lib/components/option/option.component.mjs +14 -36
- package/esm2020/lib/components/search/search.component.mjs +5 -10
- package/esm2020/lib/components/select/select.component.mjs +129 -56
- package/esm2020/lib/components/steps/steps.component.mjs +61 -83
- package/esm2020/lib/components/table/detailsDialog.component.mjs +41 -205
- package/esm2020/lib/components/table/table.component.mjs +111 -136
- package/esm2020/lib/components/table-action/table-action.component.mjs +8 -42
- package/esm2020/lib/components/table-header/table-header.component.mjs +10 -14
- package/esm2020/lib/components/table-internal/detailsDialog-internal.component.mjs +39 -205
- package/esm2020/lib/components/table-internal/table-internal.component.mjs +112 -138
- package/esm2020/lib/components/table-row/table-row.component.mjs +4 -23
- package/esm2020/lib/components/text/text.component.mjs +46 -110
- package/esm2020/lib/components/tiles/tiles.component.mjs +20 -32
- package/esm2020/lib/components/viewer/viewer.component.mjs +3 -7
- package/esm2020/lib/components/viewer/viewerDialog.component.mjs +13 -20
- package/esm2020/lib/modules/admin/admin-routing.module.mjs +1 -11
- package/esm2020/lib/pages/accounts/accountDialog.component.mjs +1 -1
- package/esm2020/lib/pages/bug/bug.component.mjs +3 -3
- package/esm2020/lib/pages/change-password/change-password.component.mjs +1 -1
- package/esm2020/lib/pages/create-account/create-account.component.mjs +1 -1
- package/esm2020/lib/pages/customers/customers.component.mjs +48 -9
- package/esm2020/lib/pages/departments/departments.component.mjs +4 -2
- package/esm2020/lib/pages/employees/employees.component.mjs +4 -3
- package/esm2020/lib/pages/grades/grades.component.mjs +3 -3
- package/esm2020/lib/pages/inventory/inventory.component.mjs +3 -3
- package/esm2020/lib/pages/inventory/quantityDialog.component.mjs +1 -1
- package/esm2020/lib/pages/invitations/invitations.component.mjs +14 -0
- package/esm2020/lib/pages/invitations-table/invitations-table.component.mjs +10 -11
- package/esm2020/lib/pages/login/login.component.mjs +14 -52
- package/esm2020/lib/pages/logs/logs.component.mjs +22 -27
- package/esm2020/lib/pages/membership/membership.component.mjs +19 -15
- package/esm2020/lib/pages/notifications/notifications.component.mjs +6 -82
- package/esm2020/lib/pages/plans/plans.component.mjs +19 -16
- package/esm2020/lib/pages/positions/positions.component.mjs +4 -4
- package/esm2020/lib/pages/profile/profile.component.mjs +3 -4
- package/esm2020/lib/pages/recover-account/recover-account.component.mjs +1 -1
- package/esm2020/lib/pages/roles/addRoleDialog.component.mjs +2 -2
- package/esm2020/lib/pages/roles/roles.component.mjs +17 -77
- package/esm2020/lib/pages/settings/settings.component.mjs +13 -5
- package/esm2020/lib/pages/signup/signup.component.mjs +1 -1
- package/esm2020/lib/pages/suppliers/suppliers.component.mjs +31 -3
- package/esm2020/lib/pages/tasks/tasks.component.mjs +9 -9
- package/esm2020/lib/pages/tenant-settings/inviteDialog.component.mjs +60 -0
- package/esm2020/lib/pages/tenant-settings/tenant-settings.component.mjs +72 -145
- package/esm2020/lib/pages/tenants/tenants.component.mjs +10 -10
- package/esm2020/lib/pages/transactions/transactDialog.component.mjs +1 -1
- package/esm2020/lib/pages/transactions/transactions.component.mjs +3 -3
- package/esm2020/lib/pages/users/users.component.mjs +92 -141
- package/esm2020/lib/pages/welcome/welcome.component.mjs +9 -9
- package/esm2020/lib/services/button.service.mjs +32 -92
- package/esm2020/lib/services/csv.service.mjs +1 -1
- package/esm2020/lib/services/datalib.service.mjs +78 -551
- package/esm2020/lib/services/dialog.service.mjs +7 -51
- package/esm2020/lib/services/table-config.service.mjs +7 -55
- package/esm2020/lib/tin-spa.module.mjs +11 -48
- package/esm2020/public-api.mjs +1 -10
- package/fesm2015/tin-spa.mjs +2605 -6538
- package/fesm2015/tin-spa.mjs.map +1 -1
- package/fesm2020/tin-spa.mjs +2501 -6482
- package/fesm2020/tin-spa.mjs.map +1 -1
- package/lib/classes/Classes.d.ts +129 -267
- package/lib/classes/LibClasses.d.ts +0 -1
- package/lib/classes/TinCore.d.ts +4 -13
- package/lib/components/alert/alert.component.d.ts +3 -4
- package/lib/components/attach/attach.component.d.ts +6 -13
- package/lib/components/date/date.component.d.ts +1 -1
- package/lib/components/email/email.component.d.ts +3 -4
- package/lib/components/form/form.component.d.ts +11 -20
- package/lib/components/label/label.component.d.ts +1 -3
- 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/number/number.component.d.ts +1 -7
- package/lib/components/option/option.component.d.ts +2 -10
- package/lib/components/search/search.component.d.ts +1 -3
- package/lib/components/select/select.component.d.ts +37 -16
- package/lib/components/steps/steps.component.d.ts +9 -18
- package/lib/components/table/detailsDialog.component.d.ts +7 -29
- package/lib/components/table/table.component.d.ts +9 -15
- package/lib/components/table-action/table-action.component.d.ts +1 -4
- package/lib/components/table-header/table-header.component.d.ts +1 -3
- package/lib/components/table-internal/detailsDialog-internal.component.d.ts +7 -29
- package/lib/components/table-internal/table-internal.component.d.ts +9 -15
- package/lib/components/table-row/table-row.component.d.ts +1 -4
- package/lib/components/text/text.component.d.ts +8 -21
- package/lib/components/tiles/tiles.component.d.ts +3 -4
- package/lib/components/viewer/viewerDialog.component.d.ts +1 -3
- package/lib/pages/customers/customers.component.d.ts +8 -2
- package/lib/pages/invitations/invitations.component.d.ts +8 -0
- package/lib/pages/invitations-table/invitations-table.component.d.ts +1 -1
- package/lib/pages/login/login.component.d.ts +1 -7
- package/lib/pages/logs/logs.component.d.ts +6 -2
- package/lib/pages/membership/membership.component.d.ts +6 -2
- package/lib/pages/notifications/notifications.component.d.ts +1 -9
- package/lib/pages/plans/plans.component.d.ts +6 -2
- package/lib/pages/roles/roles.component.d.ts +2 -14
- package/lib/pages/suppliers/suppliers.component.d.ts +4 -1
- package/lib/pages/tasks/tasks.component.d.ts +1 -1
- package/lib/pages/tenant-settings/inviteDialog.component.d.ts +28 -0
- package/lib/pages/tenant-settings/tenant-settings.component.d.ts +7 -12
- package/lib/pages/tenants/tenants.component.d.ts +2 -2
- package/lib/pages/users/users.component.d.ts +16 -8
- package/lib/services/button.service.d.ts +8 -11
- package/lib/services/datalib.service.d.ts +10 -57
- package/lib/services/dialog.service.d.ts +2 -3
- package/lib/services/table-config.service.d.ts +1 -9
- package/lib/tin-spa.module.d.ts +33 -52
- package/package.json +1 -1
- package/public-api.d.ts +0 -9
- package/esm2020/lib/components/capsules/capsules.component.mjs +0 -63
- package/esm2020/lib/components/cards/cards.component.mjs +0 -103
- 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/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/notifications-config/notifications-config.component.mjs +0 -113
- package/esm2020/lib/select-context.directive.mjs +0 -23
- package/esm2020/lib/services/notifications.service.mjs +0 -33
- package/lib/components/capsules/capsules.component.d.ts +0 -26
- package/lib/components/cards/cards.component.d.ts +0 -39
- 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-config/notifications-config.component.d.ts +0 -17
- package/lib/select-context.directive.d.ts +0 -10
- package/lib/services/notifications.service.d.ts +0 -12
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import { BehaviorSubject } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "./datalib.service";
|
|
5
|
-
export class NotificationsService {
|
|
6
|
-
constructor(dataService) {
|
|
7
|
-
this.dataService = dataService;
|
|
8
|
-
this.notificationCount = new BehaviorSubject(0);
|
|
9
|
-
this.notificationCount$ = this.notificationCount.asObservable();
|
|
10
|
-
// this.loadNotifications();
|
|
11
|
-
}
|
|
12
|
-
loadNotifications() {
|
|
13
|
-
// Using the dedicated count endpoint for better performance
|
|
14
|
-
this.dataService.CallApi({ url: 'notifications/count/x' }).subscribe((apiResponse) => {
|
|
15
|
-
// console.log(apiResponse)
|
|
16
|
-
if (apiResponse.success) {
|
|
17
|
-
this.notificationCount.next(apiResponse.data);
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
refreshCount() {
|
|
22
|
-
this.loadNotifications();
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
NotificationsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NotificationsService, deps: [{ token: i1.DataServiceLib }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
26
|
-
NotificationsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NotificationsService, providedIn: 'root' });
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NotificationsService, decorators: [{
|
|
28
|
-
type: Injectable,
|
|
29
|
-
args: [{
|
|
30
|
-
providedIn: 'root'
|
|
31
|
-
}]
|
|
32
|
-
}], ctorParameters: function () { return [{ type: i1.DataServiceLib }]; } });
|
|
33
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9ucy5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdGluLXNwYS9zcmMvbGliL3NlcnZpY2VzL25vdGlmaWNhdGlvbnMuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxNQUFNLENBQUM7OztBQU92QyxNQUFNLE9BQU8sb0JBQW9CO0lBSy9CLFlBQW9CLFdBQTJCO1FBQTNCLGdCQUFXLEdBQVgsV0FBVyxDQUFnQjtRQUh2QyxzQkFBaUIsR0FBRyxJQUFJLGVBQWUsQ0FBUyxDQUFDLENBQUMsQ0FBQztRQUMzRCx1QkFBa0IsR0FBRyxJQUFJLENBQUMsaUJBQWlCLENBQUMsWUFBWSxFQUFFLENBQUM7UUFHekQsNEJBQTRCO0lBQzlCLENBQUM7SUFFRCxpQkFBaUI7UUFDZiw0REFBNEQ7UUFDNUQsSUFBSSxDQUFDLFdBQVcsQ0FBQyxPQUFPLENBQUMsRUFBRSxHQUFHLEVBQUUsdUJBQXVCLEVBQUUsQ0FBQyxDQUFDLFNBQVMsQ0FBQyxDQUFDLFdBQXdCLEVBQUUsRUFBRTtZQUNoRywyQkFBMkI7WUFDM0IsSUFBSSxXQUFXLENBQUMsT0FBTyxFQUFFO2dCQUN2QixJQUFJLENBQUMsaUJBQWlCLENBQUMsSUFBSSxDQUFDLFdBQVcsQ0FBQyxJQUFJLENBQUMsQ0FBQzthQUMvQztRQUNILENBQUMsQ0FBQyxDQUFDO0lBRUwsQ0FBQztJQUVELFlBQVk7UUFDVixJQUFJLENBQUMsaUJBQWlCLEVBQUUsQ0FBQztJQUMzQixDQUFDOztpSEF0QlUsb0JBQW9CO3FIQUFwQixvQkFBb0IsY0FGbkIsTUFBTTsyRkFFUCxvQkFBb0I7a0JBSGhDLFVBQVU7bUJBQUM7b0JBQ1YsVUFBVSxFQUFFLE1BQU07aUJBQ25CIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0YWJsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQgeyBCZWhhdmlvclN1YmplY3QgfSBmcm9tICdyeGpzJztcclxuaW1wb3J0IHsgRGF0YVNlcnZpY2VMaWIgfSBmcm9tICcuL2RhdGFsaWIuc2VydmljZSc7XHJcbmltcG9ydCB7IEFwaVJlc3BvbnNlIH0gZnJvbSAnLi4vY2xhc3Nlcy9DbGFzc2VzJztcclxuXHJcbkBJbmplY3RhYmxlKHtcclxuICBwcm92aWRlZEluOiAncm9vdCdcclxufSlcclxuZXhwb3J0IGNsYXNzIE5vdGlmaWNhdGlvbnNTZXJ2aWNlIHtcclxuXHJcbiAgcHJpdmF0ZSBub3RpZmljYXRpb25Db3VudCA9IG5ldyBCZWhhdmlvclN1YmplY3Q8bnVtYmVyPigwKTtcclxuICBub3RpZmljYXRpb25Db3VudCQgPSB0aGlzLm5vdGlmaWNhdGlvbkNvdW50LmFzT2JzZXJ2YWJsZSgpO1xyXG5cclxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIGRhdGFTZXJ2aWNlOiBEYXRhU2VydmljZUxpYikge1xyXG4gICAgLy8gdGhpcy5sb2FkTm90aWZpY2F0aW9ucygpO1xyXG4gIH1cclxuXHJcbiAgbG9hZE5vdGlmaWNhdGlvbnMoKSB7XHJcbiAgICAvLyBVc2luZyB0aGUgZGVkaWNhdGVkIGNvdW50IGVuZHBvaW50IGZvciBiZXR0ZXIgcGVyZm9ybWFuY2VcclxuICAgIHRoaXMuZGF0YVNlcnZpY2UuQ2FsbEFwaSh7IHVybDogJ25vdGlmaWNhdGlvbnMvY291bnQveCcgfSkuc3Vic2NyaWJlKChhcGlSZXNwb25zZTogQXBpUmVzcG9uc2UpID0+IHtcclxuICAgICAgLy8gY29uc29sZS5sb2coYXBpUmVzcG9uc2UpXHJcbiAgICAgIGlmIChhcGlSZXNwb25zZS5zdWNjZXNzKSB7XHJcbiAgICAgICAgdGhpcy5ub3RpZmljYXRpb25Db3VudC5uZXh0KGFwaVJlc3BvbnNlLmRhdGEpO1xyXG4gICAgICB9XHJcbiAgICB9KTtcclxuXHJcbiAgfVxyXG5cclxuICByZWZyZXNoQ291bnQoKSB7XHJcbiAgICB0aGlzLmxvYWROb3RpZmljYXRpb25zKCk7XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { Button, TableConfig } from '../../classes/Classes';
|
|
3
|
-
import { ButtonService } from '../../services/button.service';
|
|
4
|
-
import { ConditionService } from '../../services/condition.service';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class CapsulesComponent {
|
|
7
|
-
buttonService: ButtonService;
|
|
8
|
-
private conditionService;
|
|
9
|
-
constructor(buttonService: ButtonService, conditionService: ConditionService);
|
|
10
|
-
config: TableConfig;
|
|
11
|
-
dataSource: any[];
|
|
12
|
-
displayedButtons: Button[];
|
|
13
|
-
actionClick: EventEmitter<{
|
|
14
|
-
name: string;
|
|
15
|
-
row: any;
|
|
16
|
-
}>;
|
|
17
|
-
getDisplayValue(row: any): string;
|
|
18
|
-
testIconCondition(row: any, icon: any): boolean;
|
|
19
|
-
onActionClick(buttonName: string, row: any): void;
|
|
20
|
-
getButtonColor(button: Button, row: any): string;
|
|
21
|
-
getIcon(buttonName: string): string;
|
|
22
|
-
testDisabled(row: any, buttonName: string): boolean;
|
|
23
|
-
private getButton;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CapsulesComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CapsulesComponent, "spa-capsules", never, { "config": "config"; "dataSource": "dataSource"; "displayedButtons": "displayedButtons"; }, { "actionClick": "actionClick"; }, never, never, false>;
|
|
26
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { Button, TableConfig } from '../../classes/Classes';
|
|
3
|
-
import { ButtonService } from '../../services/button.service';
|
|
4
|
-
import { ConditionService } from '../../services/condition.service';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class CardsComponent {
|
|
7
|
-
buttonService: ButtonService;
|
|
8
|
-
private conditionService;
|
|
9
|
-
constructor(buttonService: ButtonService, conditionService: ConditionService);
|
|
10
|
-
config: TableConfig;
|
|
11
|
-
dataSource: any[];
|
|
12
|
-
displayedButtons: Button[];
|
|
13
|
-
smallScreen: boolean;
|
|
14
|
-
actionClick: EventEmitter<{
|
|
15
|
-
name: string;
|
|
16
|
-
row: any;
|
|
17
|
-
}>;
|
|
18
|
-
columnClick: EventEmitter<{
|
|
19
|
-
column: any;
|
|
20
|
-
row: any;
|
|
21
|
-
}>;
|
|
22
|
-
showBannerEvent: EventEmitter<string>;
|
|
23
|
-
getTitleValue(row: any): string;
|
|
24
|
-
getSubtitleValue(row: any): string;
|
|
25
|
-
getContentValues(row: any): {
|
|
26
|
-
label: string;
|
|
27
|
-
value: any;
|
|
28
|
-
}[];
|
|
29
|
-
onActionClick(buttonName: string, row: any): void;
|
|
30
|
-
getButtonColor(button: Button, row: any): string;
|
|
31
|
-
getIcon(buttonName: string): string;
|
|
32
|
-
testDisabled(row: any, buttonName: string): boolean;
|
|
33
|
-
testVisible(row: any, buttonName: string): boolean;
|
|
34
|
-
getElevationClass(): string;
|
|
35
|
-
getColumnCount(): number;
|
|
36
|
-
private getButton;
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CardsComponent, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CardsComponent, "spa-cards", never, { "config": "config"; "dataSource": "dataSource"; "displayedButtons": "displayedButtons"; "smallScreen": "smallScreen"; }, { "actionClick": "actionClick"; "columnClick": "columnClick"; "showBannerEvent": "showBannerEvent"; }, never, never, false>;
|
|
39
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class HtmlComponent implements OnInit {
|
|
5
|
-
private sanitizer;
|
|
6
|
-
constructor(sanitizer: DomSanitizer);
|
|
7
|
-
ngOnInit(): void;
|
|
8
|
-
ngOnChanges(): void;
|
|
9
|
-
value: string;
|
|
10
|
-
maxHeight: string;
|
|
11
|
-
display: string;
|
|
12
|
-
sanitizedHtml: SafeHtml;
|
|
13
|
-
private sanitizeHtml;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HtmlComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HtmlComponent, "spa-html", never, { "value": "value"; "maxHeight": "maxHeight"; "display": "display"; }, {}, never, never, false>;
|
|
16
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { FormControl } from '@angular/forms';
|
|
3
|
-
import { MessageService } from '../../services/message.service';
|
|
4
|
-
import { Action } from '../../classes/Classes';
|
|
5
|
-
import { DataServiceLib } from '../../services/datalib.service';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class MultiSelectComponent implements OnInit {
|
|
8
|
-
private messageService;
|
|
9
|
-
private dataService;
|
|
10
|
-
constructor(messageService: MessageService, dataService: DataServiceLib);
|
|
11
|
-
display: string;
|
|
12
|
-
value: string;
|
|
13
|
-
valueChange: EventEmitter<string>;
|
|
14
|
-
readonly: boolean;
|
|
15
|
-
required: boolean;
|
|
16
|
-
hint: string;
|
|
17
|
-
options: any[];
|
|
18
|
-
optionDisplay: string;
|
|
19
|
-
optionValue: string;
|
|
20
|
-
infoMessage: string;
|
|
21
|
-
copyContent: boolean;
|
|
22
|
-
clearContent: boolean;
|
|
23
|
-
nullable: boolean;
|
|
24
|
-
placeholder: string;
|
|
25
|
-
width: string;
|
|
26
|
-
suffix: string;
|
|
27
|
-
loadAction: Action;
|
|
28
|
-
control: FormControl<any[]>;
|
|
29
|
-
selectedValues: any[];
|
|
30
|
-
ngOnInit(): void;
|
|
31
|
-
ngOnChanges(): void;
|
|
32
|
-
private initializeValues;
|
|
33
|
-
selectionChange(event: any): void;
|
|
34
|
-
private updateValue;
|
|
35
|
-
getOptionDisplay(value: any): string;
|
|
36
|
-
compareWith(v1: any, v2: any): boolean;
|
|
37
|
-
clear(): void;
|
|
38
|
-
copyValues(): void;
|
|
39
|
-
isHovered: boolean;
|
|
40
|
-
hoverChange: EventEmitter<boolean>;
|
|
41
|
-
onMouseEnter(): void;
|
|
42
|
-
onMouseLeave(): void;
|
|
43
|
-
refresh(event: MouseEvent): void;
|
|
44
|
-
getData(action: Action): void;
|
|
45
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MultiSelectComponent, never>;
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelectComponent, "spa-multi-select", never, { "display": "display"; "value": "value"; "readonly": "readonly"; "required": "required"; "hint": "hint"; "options": "options"; "optionDisplay": "optionDisplay"; "optionValue": "optionValue"; "infoMessage": "infoMessage"; "copyContent": "copyContent"; "clearContent": "clearContent"; "nullable": "nullable"; "placeholder": "placeholder"; "width": "width"; "suffix": "suffix"; "loadAction": "loadAction"; }, { "valueChange": "valueChange"; "hoverChange": "hoverChange"; }, never, never, false>;
|
|
47
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { FormControl } from '@angular/forms';
|
|
3
|
-
import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
|
4
|
-
import { MatChipInputEvent } from '@angular/material/chips';
|
|
5
|
-
import { Observable } from 'rxjs';
|
|
6
|
-
import { MessageService } from '../../services/message.service';
|
|
7
|
-
import { Action } from '../../classes/Classes';
|
|
8
|
-
import { DataServiceLib } from '../../services/datalib.service';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class MultiTextComponent implements OnInit {
|
|
11
|
-
private messageService;
|
|
12
|
-
private dataService;
|
|
13
|
-
constructor(messageService: MessageService, dataService: DataServiceLib);
|
|
14
|
-
textInput: ElementRef<HTMLInputElement>;
|
|
15
|
-
display: string;
|
|
16
|
-
value: string;
|
|
17
|
-
valueChange: EventEmitter<string>;
|
|
18
|
-
readonly: boolean;
|
|
19
|
-
required: boolean;
|
|
20
|
-
hint: string;
|
|
21
|
-
strict: boolean;
|
|
22
|
-
suffix: string;
|
|
23
|
-
infoMessage: string;
|
|
24
|
-
copyContent: boolean;
|
|
25
|
-
clearContent: boolean;
|
|
26
|
-
options: any[];
|
|
27
|
-
optionDisplay: string;
|
|
28
|
-
optionValue: string;
|
|
29
|
-
loadAction: Action;
|
|
30
|
-
values: string[];
|
|
31
|
-
control: FormControl<string>;
|
|
32
|
-
filteredOptions: Observable<any[]>;
|
|
33
|
-
errorState: boolean;
|
|
34
|
-
private selectedFromAutocomplete;
|
|
35
|
-
ngOnInit(): void;
|
|
36
|
-
ngOnChanges(): void;
|
|
37
|
-
private setupAutoComplete;
|
|
38
|
-
private filterOptions;
|
|
39
|
-
add(event: MatChipInputEvent): void;
|
|
40
|
-
private addValue;
|
|
41
|
-
remove(value: string): void;
|
|
42
|
-
optionSelected(event: MatAutocompleteSelectedEvent): void;
|
|
43
|
-
private resetInput;
|
|
44
|
-
updateValue(): void;
|
|
45
|
-
clear(): void;
|
|
46
|
-
getDisplayValue(value: string): string;
|
|
47
|
-
copyValues(): void;
|
|
48
|
-
isHovered: boolean;
|
|
49
|
-
hoverChange: EventEmitter<boolean>;
|
|
50
|
-
onMouseEnter(): void;
|
|
51
|
-
onMouseLeave(): void;
|
|
52
|
-
refresh(event: MouseEvent): void;
|
|
53
|
-
getData(action: Action): void;
|
|
54
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MultiTextComponent, never>;
|
|
55
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultiTextComponent, "spa-multi-text", never, { "display": "display"; "value": "value"; "readonly": "readonly"; "required": "required"; "hint": "hint"; "strict": "strict"; "suffix": "suffix"; "infoMessage": "infoMessage"; "copyContent": "copyContent"; "clearContent": "clearContent"; "options": "options"; "optionDisplay": "optionDisplay"; "optionValue": "optionValue"; "loadAction": "loadAction"; }, { "valueChange": "valueChange"; "hoverChange": "hoverChange"; }, never, never, false>;
|
|
56
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { DataServiceLib } from '../../services/datalib.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class NotesComponent implements OnInit {
|
|
5
|
-
private dataService;
|
|
6
|
-
constructor(dataService: DataServiceLib);
|
|
7
|
-
ngOnInit(): void;
|
|
8
|
-
title: string;
|
|
9
|
-
notes: any[];
|
|
10
|
-
loadAction: any;
|
|
11
|
-
loadIDField: string;
|
|
12
|
-
data: any;
|
|
13
|
-
nameField: string;
|
|
14
|
-
dateField: string;
|
|
15
|
-
commentField: string;
|
|
16
|
-
private loadNotes;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NotesComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NotesComponent, "spa-notes", never, { "title": "title"; "notes": "notes"; "loadAction": "loadAction"; "loadIDField": "loadIDField"; "data": "data"; "nameField": "nameField"; "dateField": "dateField"; "commentField": "commentField"; }, {}, never, never, false>;
|
|
19
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { PageConfig, TableConfig } from '../../classes/Classes';
|
|
3
|
-
import { DataServiceLib } from '../../services/datalib.service';
|
|
4
|
-
import { Subject } from 'rxjs';
|
|
5
|
-
import { MessageService } from '../../services/message.service';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class PageComponent implements OnInit {
|
|
8
|
-
dataServiceLib: DataServiceLib;
|
|
9
|
-
private messageService;
|
|
10
|
-
constructor(dataServiceLib: DataServiceLib, messageService: MessageService);
|
|
11
|
-
ngOnInit(): void;
|
|
12
|
-
config: PageConfig;
|
|
13
|
-
searchModeActivated: EventEmitter<any>;
|
|
14
|
-
searchModeDeactivated: EventEmitter<any>;
|
|
15
|
-
refreshClick: EventEmitter<any>;
|
|
16
|
-
actionClick: EventEmitter<any>;
|
|
17
|
-
actionResponse: EventEmitter<any>;
|
|
18
|
-
inputChange: EventEmitter<any>;
|
|
19
|
-
createClick: EventEmitter<any>;
|
|
20
|
-
searchClick: EventEmitter<any>;
|
|
21
|
-
dataLoad: EventEmitter<any>;
|
|
22
|
-
tableReload: Subject<boolean>;
|
|
23
|
-
searchMode: boolean;
|
|
24
|
-
normalTableConfig: TableConfig;
|
|
25
|
-
searchTableConfig: TableConfig;
|
|
26
|
-
toggleSearch(): void;
|
|
27
|
-
getNormalTableConfig(): TableConfig;
|
|
28
|
-
getSearchTableConfig(): TableConfig;
|
|
29
|
-
refreshClicked(): void;
|
|
30
|
-
actionClicked(x: any): void;
|
|
31
|
-
actionResponded(x: any): void;
|
|
32
|
-
inputChanged(x: any): void;
|
|
33
|
-
createClicked(x: any): void;
|
|
34
|
-
searchClicked(x: any): void;
|
|
35
|
-
dataLoaded(x: any): void;
|
|
36
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PageComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PageComponent, "spa-page", never, { "config": "config"; }, { "searchModeActivated": "searchModeActivated"; "searchModeDeactivated": "searchModeDeactivated"; "refreshClick": "refreshClick"; "actionClick": "actionClick"; "actionResponse": "actionResponse"; "inputChange": "inputChange"; "createClick": "createClick"; "searchClick": "searchClick"; "dataLoad": "dataLoad"; }, never, never, false>;
|
|
38
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { BitwiseOption, Icon } from '../../classes/Classes';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SelectBitwiseComponent implements OnInit {
|
|
5
|
-
display: string;
|
|
6
|
-
hint: string;
|
|
7
|
-
required: boolean;
|
|
8
|
-
readonly: boolean;
|
|
9
|
-
width: string;
|
|
10
|
-
infoMessage: string;
|
|
11
|
-
options: {
|
|
12
|
-
name?: string;
|
|
13
|
-
value: number;
|
|
14
|
-
icon?: Icon;
|
|
15
|
-
}[];
|
|
16
|
-
set value(val: number);
|
|
17
|
-
get value(): number;
|
|
18
|
-
valueChange: EventEmitter<number>;
|
|
19
|
-
infoClick: EventEmitter<void>;
|
|
20
|
-
private _value;
|
|
21
|
-
bitwiseOptions: BitwiseOption[];
|
|
22
|
-
selectedValues: number[];
|
|
23
|
-
hasNames: boolean;
|
|
24
|
-
get selectedOptions(): BitwiseOption[];
|
|
25
|
-
ngOnInit(): void;
|
|
26
|
-
onSelectionChange(event: any): void;
|
|
27
|
-
private updateSelectedValues;
|
|
28
|
-
onInfoClick(event: MouseEvent): void;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SelectBitwiseComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectBitwiseComponent, "spa-select-bitwise", never, { "display": "display"; "hint": "hint"; "required": "required"; "readonly": "readonly"; "width": "width"; "infoMessage": "infoMessage"; "options": "options"; "value": "value"; }, { "valueChange": "valueChange"; "infoClick": "infoClick"; }, never, never, false>;
|
|
31
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { MessageService } from '../../services/message.service';
|
|
3
|
-
import { Action, Field } from '../../classes/Classes';
|
|
4
|
-
import { DataServiceLib } from '../../services/datalib.service';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class SelectCommonComponent implements OnInit, OnDestroy {
|
|
7
|
-
protected messageService: MessageService;
|
|
8
|
-
protected dataService: DataServiceLib;
|
|
9
|
-
constructor(messageService: MessageService, dataService: DataServiceLib);
|
|
10
|
-
ngOnInit(): void;
|
|
11
|
-
ngOnChanges(): void;
|
|
12
|
-
displayValue: any;
|
|
13
|
-
isHovered: boolean;
|
|
14
|
-
selectedOptionHint: string;
|
|
15
|
-
private subscription;
|
|
16
|
-
width: string;
|
|
17
|
-
readonly: boolean;
|
|
18
|
-
required: boolean;
|
|
19
|
-
defaultFirstValue: boolean;
|
|
20
|
-
readonlyMode: string;
|
|
21
|
-
hint: string;
|
|
22
|
-
placeholder: string;
|
|
23
|
-
multiple: boolean;
|
|
24
|
-
display: string;
|
|
25
|
-
value: any;
|
|
26
|
-
options: any;
|
|
27
|
-
masterOptions: any;
|
|
28
|
-
masterField: string;
|
|
29
|
-
optionValue: string;
|
|
30
|
-
optionDisplay: string;
|
|
31
|
-
optionDisplayExtra: string;
|
|
32
|
-
nullable: boolean;
|
|
33
|
-
infoMessage: string;
|
|
34
|
-
copyContent: boolean;
|
|
35
|
-
loadAction: Action;
|
|
36
|
-
loadIDField: string;
|
|
37
|
-
field: Field;
|
|
38
|
-
data: any;
|
|
39
|
-
valueChange: EventEmitter<any>;
|
|
40
|
-
hoverChange: EventEmitter<boolean>;
|
|
41
|
-
setDefaultValue(): void;
|
|
42
|
-
changed(): void;
|
|
43
|
-
private updateSelectedOptionHint;
|
|
44
|
-
get computedHint(): string;
|
|
45
|
-
onMouseEnter(): void;
|
|
46
|
-
onMouseLeave(): void;
|
|
47
|
-
refresh(event: MouseEvent): void;
|
|
48
|
-
private transformLoadUrl;
|
|
49
|
-
getData(loadAction: Action): void;
|
|
50
|
-
ngOnDestroy(): void;
|
|
51
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SelectCommonComponent, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectCommonComponent, "spa-select-common", never, { "width": "width"; "readonly": "readonly"; "required": "required"; "defaultFirstValue": "defaultFirstValue"; "readonlyMode": "readonlyMode"; "hint": "hint"; "placeholder": "placeholder"; "multiple": "multiple"; "display": "display"; "value": "value"; "options": "options"; "masterOptions": "masterOptions"; "masterField": "masterField"; "optionValue": "optionValue"; "optionDisplay": "optionDisplay"; "optionDisplayExtra": "optionDisplayExtra"; "nullable": "nullable"; "infoMessage": "infoMessage"; "copyContent": "copyContent"; "loadAction": "loadAction"; "loadIDField": "loadIDField"; "field": "field"; "data": "data"; }, { "valueChange": "valueChange"; "hoverChange": "hoverChange"; }, never, ["[additionalButtons]"], false>;
|
|
53
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { DetailsDialogConfig } from '../../classes/Classes';
|
|
3
|
-
import { MessageService } from '../../services/message.service';
|
|
4
|
-
import { DialogService } from '../../services/dialog.service';
|
|
5
|
-
import { SelectCommonComponent } from '../select-common/select-common.component';
|
|
6
|
-
import { DataServiceLib } from '../../services/datalib.service';
|
|
7
|
-
import { ButtonService } from '../../services/button.service';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class SelectInternalComponent extends SelectCommonComponent implements OnInit {
|
|
10
|
-
protected messageService: MessageService;
|
|
11
|
-
protected dataService: DataServiceLib;
|
|
12
|
-
private dialogService;
|
|
13
|
-
private buttonService;
|
|
14
|
-
constructor(messageService: MessageService, dataService: DataServiceLib, dialogService: DialogService, buttonService: ButtonService);
|
|
15
|
-
ngOnInit(): void;
|
|
16
|
-
detailsConfig: DetailsDialogConfig;
|
|
17
|
-
onHoverChange(isHovered: boolean): void;
|
|
18
|
-
canCreate(): boolean;
|
|
19
|
-
canView(): boolean;
|
|
20
|
-
onPeekClick(event: MouseEvent, mode: 'create' | 'view'): void;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SelectInternalComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectInternalComponent, "spa-select-internal", never, { "detailsConfig": "detailsConfig"; }, {}, never, never, false>;
|
|
23
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { SelectCommonComponent } from '../select-common/select-common.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SelectLiteComponent extends SelectCommonComponent implements OnInit {
|
|
5
|
-
ngOnInit(): void;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SelectLiteComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectLiteComponent, "spa-select-lite", never, {}, {}, never, never, false>;
|
|
8
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { StatusConfig, StatusItem } from '../../classes/Classes';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class StatusesComponent {
|
|
4
|
-
config: StatusConfig;
|
|
5
|
-
data: any;
|
|
6
|
-
isComponentVisible(): boolean;
|
|
7
|
-
isItemVisible(item: StatusItem): boolean;
|
|
8
|
-
getIcon(item: StatusItem): string;
|
|
9
|
-
getIconColor(item: StatusItem): string;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StatusesComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StatusesComponent, "spa-statuses", never, { "config": "config"; "data": "data"; }, {}, never, never, false>;
|
|
12
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { MessageService } from '../../services/message.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SuffixComponent implements OnInit {
|
|
5
|
-
private messageService;
|
|
6
|
-
constructor(messageService: MessageService);
|
|
7
|
-
ngOnInit(): void;
|
|
8
|
-
label: string;
|
|
9
|
-
infoMessage: string;
|
|
10
|
-
copyContent: boolean;
|
|
11
|
-
isHovered: boolean;
|
|
12
|
-
clearContent: boolean;
|
|
13
|
-
value: any;
|
|
14
|
-
infoClick: EventEmitter<void>;
|
|
15
|
-
copyClick: EventEmitter<string>;
|
|
16
|
-
clearClick: EventEmitter<void>;
|
|
17
|
-
valueChange: EventEmitter<any>;
|
|
18
|
-
onInfoClick(event: MouseEvent): void;
|
|
19
|
-
onCopyClick(event: MouseEvent): void;
|
|
20
|
-
onClearClick(event: MouseEvent): void;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SuffixComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SuffixComponent, "spa-suffix", never, { "label": "label"; "infoMessage": "infoMessage"; "copyContent": "copyContent"; "isHovered": "isHovered"; "clearContent": "clearContent"; "value": "value"; }, { "infoClick": "infoClick"; "copyClick": "copyClick"; "clearClick": "clearClick"; "valueChange": "valueChange"; }, never, never, false>;
|
|
23
|
-
}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { OnInit, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
-
import { FormConfig, Field, TableConfig, Button, DetailsDialogConfig, Action, StepConfig, StatusConfig } from '../../classes/Classes';
|
|
4
|
-
import { MessageService } from '../../services/message.service';
|
|
5
|
-
import { DataServiceLib } from '../../services/datalib.service';
|
|
6
|
-
import { LoaderService } from '../../services/loader.service';
|
|
7
|
-
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
8
|
-
import { DialogService } from '../../services/dialog.service';
|
|
9
|
-
import { ButtonService } from '../../services/button.service';
|
|
10
|
-
import { Subject } from 'rxjs';
|
|
11
|
-
import { AuthService } from '../../services/auth.service';
|
|
12
|
-
import { TableConfigService } from '../../services/table-config.service';
|
|
13
|
-
import { MatTabChangeEvent } from '@angular/material/tabs';
|
|
14
|
-
import * as i0 from "@angular/core";
|
|
15
|
-
export declare class DetailsDialogLite implements OnInit, OnDestroy {
|
|
16
|
-
private breakpointObserver;
|
|
17
|
-
private loaderService;
|
|
18
|
-
dataService: DataServiceLib;
|
|
19
|
-
private messageService;
|
|
20
|
-
private dialogRef;
|
|
21
|
-
detailsConfig: DetailsDialogConfig;
|
|
22
|
-
private buttonService;
|
|
23
|
-
private dialogService;
|
|
24
|
-
private authService;
|
|
25
|
-
tableConfigService: TableConfigService;
|
|
26
|
-
constructor(breakpointObserver: BreakpointObserver, loaderService: LoaderService, dataService: DataServiceLib, messageService: MessageService, dialogRef: MatDialogRef<DetailsDialogLite>, detailsConfig: DetailsDialogConfig, buttonService: ButtonService, dialogService: DialogService, authService: AuthService, tableConfigService: TableConfigService);
|
|
27
|
-
ngOnInit(): void;
|
|
28
|
-
ngOnDestroy(): void;
|
|
29
|
-
private refreshSubscription;
|
|
30
|
-
autoRefreshEnabled: boolean;
|
|
31
|
-
titleAction: string;
|
|
32
|
-
loadByAction: boolean;
|
|
33
|
-
extraButtons: Button[];
|
|
34
|
-
buttons: Button[];
|
|
35
|
-
createButton: Button;
|
|
36
|
-
editButton: Button;
|
|
37
|
-
deleteButton: Button;
|
|
38
|
-
fileField: Field;
|
|
39
|
-
files: any[];
|
|
40
|
-
tableReload: Subject<boolean>;
|
|
41
|
-
tableConfig: TableConfig;
|
|
42
|
-
tableConfigs: TableConfig[];
|
|
43
|
-
details: any;
|
|
44
|
-
formConfig: FormConfig;
|
|
45
|
-
stepConfig: StepConfig;
|
|
46
|
-
statusConfig: StatusConfig;
|
|
47
|
-
smallScreen: boolean;
|
|
48
|
-
isLoadComplete: boolean;
|
|
49
|
-
isProcessing: boolean;
|
|
50
|
-
inputChange: EventEmitter<any>;
|
|
51
|
-
selectedTabIndex: number;
|
|
52
|
-
onTabChange(event: MatTabChangeEvent): void;
|
|
53
|
-
private initAutoRefresh;
|
|
54
|
-
private startAutoRefresh;
|
|
55
|
-
private stopAutoRefresh;
|
|
56
|
-
toggleAutoRefresh(): void;
|
|
57
|
-
loadData(action: Action, causeTablesReload: any): void;
|
|
58
|
-
inputChanged(event: any): void;
|
|
59
|
-
setMode(newMode: any): void;
|
|
60
|
-
setTitleAction(): void;
|
|
61
|
-
getButton(name: string): Button;
|
|
62
|
-
testDisabled(row: any, buttonName: string): boolean;
|
|
63
|
-
testVisible(row: any, buttonName: string): boolean;
|
|
64
|
-
testVisibleTab(tblConfig: TableConfig): boolean;
|
|
65
|
-
getButtonColor(button: Button, row: any): string;
|
|
66
|
-
getVisibleFields(): Field[];
|
|
67
|
-
create(): void;
|
|
68
|
-
edit(): void;
|
|
69
|
-
delete(): void;
|
|
70
|
-
custom(button: Button): void;
|
|
71
|
-
private openNestedDetailsDialog;
|
|
72
|
-
private refreshData;
|
|
73
|
-
handleButtonAction(buttonName: string): void;
|
|
74
|
-
processButtonAction(button: Button): void;
|
|
75
|
-
private validateForm;
|
|
76
|
-
private prepareActionData;
|
|
77
|
-
private executeAction;
|
|
78
|
-
private performApiCall;
|
|
79
|
-
getClosePosition(): 'top' | 'bottom';
|
|
80
|
-
getCloseText(): string;
|
|
81
|
-
shouldShowTopClose(): boolean;
|
|
82
|
-
shouldShowBottomClose(): boolean;
|
|
83
|
-
close(): void;
|
|
84
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DetailsDialogLite, never>;
|
|
85
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DetailsDialogLite, "spa-detailsDialog-lite", never, {}, { "inputChange": "inputChange"; }, never, never, false>;
|
|
86
|
-
}
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { Action, Button, Color, Column, Icon, TableConfig } from '../../classes/Classes';
|
|
3
|
-
import { MatPaginator } from '@angular/material/paginator';
|
|
4
|
-
import { MessageService } from '../../services/message.service';
|
|
5
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
6
|
-
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
7
|
-
import { DataServiceLib } from '../../services/datalib.service';
|
|
8
|
-
import { Subject } from 'rxjs';
|
|
9
|
-
import { ButtonService } from '../../services/button.service';
|
|
10
|
-
import { DialogService } from '../../services/dialog.service';
|
|
11
|
-
import { TableConfigService } from '../../services/table-config.service';
|
|
12
|
-
import { ConditionService } from '../../services/condition.service';
|
|
13
|
-
import { AuthService } from '../../services/auth.service';
|
|
14
|
-
import * as i0 from "@angular/core";
|
|
15
|
-
export declare class TableLiteComponent implements OnInit {
|
|
16
|
-
private dataService;
|
|
17
|
-
private messageService;
|
|
18
|
-
private breakpointObserver;
|
|
19
|
-
dialog: MatDialog;
|
|
20
|
-
private buttonService;
|
|
21
|
-
private dialogService;
|
|
22
|
-
private tableConfigService;
|
|
23
|
-
private conditionService;
|
|
24
|
-
private authService;
|
|
25
|
-
constructor(dataService: DataServiceLib, messageService: MessageService, breakpointObserver: BreakpointObserver, dialog: MatDialog, buttonService: ButtonService, dialogService: DialogService, tableConfigService: TableConfigService, conditionService: ConditionService, authService: AuthService);
|
|
26
|
-
ngOnInit(): void;
|
|
27
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
28
|
-
elevation: string;
|
|
29
|
-
actionsWidth: string;
|
|
30
|
-
showFilterButton: boolean;
|
|
31
|
-
tileReload: Subject<boolean>;
|
|
32
|
-
hasBeenActivated: boolean;
|
|
33
|
-
smallScreen: boolean;
|
|
34
|
-
hasFormAccess: boolean;
|
|
35
|
-
tableDataSource: any;
|
|
36
|
-
dataSource: any[];
|
|
37
|
-
displayedColumns: any[];
|
|
38
|
-
displayedButtons: any[];
|
|
39
|
-
originalTableLoadAction: Action;
|
|
40
|
-
tablePaginator: MatPaginator;
|
|
41
|
-
data: any;
|
|
42
|
-
tileData: any;
|
|
43
|
-
config: TableConfig;
|
|
44
|
-
reload: Subject<boolean>;
|
|
45
|
-
activeTab: boolean;
|
|
46
|
-
inTab: boolean;
|
|
47
|
-
dataLoad: EventEmitter<any>;
|
|
48
|
-
actionSuccess: EventEmitter<any>;
|
|
49
|
-
refreshClick: EventEmitter<any>;
|
|
50
|
-
searchClick: EventEmitter<any>;
|
|
51
|
-
createClick: EventEmitter<any>;
|
|
52
|
-
actionClick: EventEmitter<any>;
|
|
53
|
-
inputChange: EventEmitter<any>;
|
|
54
|
-
actionResponse: EventEmitter<any>;
|
|
55
|
-
private initializeComponent;
|
|
56
|
-
private updateTableConfiguration;
|
|
57
|
-
private setupDataLoading;
|
|
58
|
-
loadData(action: Action, data: any): void;
|
|
59
|
-
inputChanged(event: any): void;
|
|
60
|
-
formDefaults(): void;
|
|
61
|
-
setButtons(): void;
|
|
62
|
-
getButton(name: string): Button;
|
|
63
|
-
getIcon(buttonName: string): string;
|
|
64
|
-
getButtonColor(button: Button, row: any): string;
|
|
65
|
-
getOptions(column: any): Column;
|
|
66
|
-
getColor(value: any, options: any[]): string;
|
|
67
|
-
testIconCondition(row: any, icon: Icon): boolean;
|
|
68
|
-
testColorCondition(row: any, color: Color): boolean;
|
|
69
|
-
showBanner(message: string): void;
|
|
70
|
-
testDisabled(row: any, buttonName: string): boolean;
|
|
71
|
-
lastSearch: any;
|
|
72
|
-
searchClicked(x: any): void;
|
|
73
|
-
tileClicked(tile: any): void;
|
|
74
|
-
tileUnClicked(tile: any): void;
|
|
75
|
-
refreshClicked(): void;
|
|
76
|
-
dataLoaded(x: any): void;
|
|
77
|
-
actionClicked(name: string, row: any): void;
|
|
78
|
-
columnClicked(column: Column, row: any): void;
|
|
79
|
-
customModel(name: any, row: any): void;
|
|
80
|
-
actionClickedEmit(name: any, row: any): void;
|
|
81
|
-
viewModel(row: any): void;
|
|
82
|
-
newModel(): void;
|
|
83
|
-
editModel(row: any): void;
|
|
84
|
-
private open;
|
|
85
|
-
deleteModel(row: any): void;
|
|
86
|
-
doAction(buttonName: string, row: any): void;
|
|
87
|
-
execAction(button: Button, row: any): void;
|
|
88
|
-
private getElevationClass;
|
|
89
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableLiteComponent, never>;
|
|
90
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableLiteComponent, "spa-table-lite", never, { "data": "data"; "tileData": "tileData"; "config": "config"; "reload": "reload"; "activeTab": "activeTab"; "inTab": "inTab"; }, { "dataLoad": "dataLoad"; "actionSuccess": "actionSuccess"; "refreshClick": "refreshClick"; "searchClick": "searchClick"; "createClick": "createClick"; "actionClick": "actionClick"; "inputChange": "inputChange"; "actionResponse": "actionResponse"; }, never, never, false>;
|
|
91
|
-
}
|