@devopmaat/badaboom 1.1.1
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 +3 -0
- package/_index.scss +1 -0
- package/esm2022/devopmaat-badaboom.mjs +5 -0
- package/esm2022/lib/application/common/bdb-data-source.mjs +42 -0
- package/esm2022/lib/application/common/paginator/bdb-paginator.component.mjs +37 -0
- package/esm2022/lib/application/common/query-input/bdb-query-input.component.mjs +45 -0
- package/esm2022/lib/application/common/search/bdb-search-wrapper.component.mjs +33 -0
- package/esm2022/lib/application/common/search/bdb-search.component.mjs +163 -0
- package/esm2022/lib/application/common/table/bdb-cell.directive.mjs +20 -0
- package/esm2022/lib/application/common/table/bdb-column-builder.mjs +94 -0
- package/esm2022/lib/application/common/table/bdb-column-options.mjs +2 -0
- package/esm2022/lib/application/common/table/bdb-column-type.mjs +12 -0
- package/esm2022/lib/application/common/table/bdb-column.mjs +2 -0
- package/esm2022/lib/application/common/table/bdb-context-action.mjs +2 -0
- package/esm2022/lib/application/common/table/bdb-table.component.mjs +193 -0
- package/esm2022/lib/application/common/table/dynamic.pipe.mjs +26 -0
- package/esm2022/lib/application/exception-log/exception-log-table/exception-log-table.component.mjs +49 -0
- package/esm2022/lib/application/task-log/task-log-outcome.pipe.mjs +31 -0
- package/esm2022/lib/application/task-log/task-log-status.pipe.mjs +29 -0
- package/esm2022/lib/application/task-log-parameter/task-log-parameter-value.pipe.mjs +49 -0
- package/esm2022/lib/application/user/user-table/user-table.component.mjs +68 -0
- package/esm2022/lib/bdb-auth-options.mjs +39 -0
- package/esm2022/lib/bdb-options.mjs +25 -0
- package/esm2022/lib/common/alert/bdb-alert.component.mjs +40 -0
- package/esm2022/lib/common/alert-error-response/bdb-alert-error-response.component.mjs +107 -0
- package/esm2022/lib/common/bdb-flex-child.directive.mjs +24 -0
- package/esm2022/lib/common/bdb-flex.directive.mjs +112 -0
- package/esm2022/lib/common/bdb-form-error.directive.mjs +74 -0
- package/esm2022/lib/common/bdb-grid-child.directive.mjs +81 -0
- package/esm2022/lib/common/bdb-grid.directive.mjs +107 -0
- package/esm2022/lib/common/bdb-palette.mjs +2 -0
- package/esm2022/lib/common/boolean-display/bdb-boolean-display.component.mjs +23 -0
- package/esm2022/lib/common/color.mjs +26 -0
- package/esm2022/lib/common/constructor.mjs +2 -0
- package/esm2022/lib/common/field/bdb-field.component.mjs +17 -0
- package/esm2022/lib/common/function.pipe.mjs +20 -0
- package/esm2022/lib/common/layout-error.mjs +6 -0
- package/esm2022/lib/common/linked-list.mjs +53 -0
- package/esm2022/lib/domain/auth/account-info.mjs +2 -0
- package/esm2022/lib/domain/auth/account.service.mjs +32 -0
- package/esm2022/lib/domain/auth/auth.service.mjs +119 -0
- package/esm2022/lib/domain/auth/reset-password-token.mjs +2 -0
- package/esm2022/lib/domain/auth/token-expired.interceptor.mjs +21 -0
- package/esm2022/lib/domain/auth/token-reponse.mjs +2 -0
- package/esm2022/lib/domain/auth/token.interceptor.mjs +17 -0
- package/esm2022/lib/domain/common/bdb-filter.mjs +2 -0
- package/esm2022/lib/domain/common/bdb-request.mjs +2 -0
- package/esm2022/lib/domain/common/bdb-response.mjs +2 -0
- package/esm2022/lib/domain/common/entities/bdb-entity-read.mjs +2 -0
- package/esm2022/lib/domain/common/entities/bdb-entity-update.mjs +2 -0
- package/esm2022/lib/domain/common/entities/bdb-entity.mjs +2 -0
- package/esm2022/lib/domain/common/services/bdb-service-cr.mjs +7 -0
- package/esm2022/lib/domain/common/services/bdb-service-crd.mjs +7 -0
- package/esm2022/lib/domain/common/services/bdb-service-cru.mjs +7 -0
- package/esm2022/lib/domain/common/services/bdb-service-crud.mjs +7 -0
- package/esm2022/lib/domain/common/services/bdb-service-r.mjs +10 -0
- package/esm2022/lib/domain/common/services/bdb-service-rd.mjs +7 -0
- package/esm2022/lib/domain/common/services/bdb-service-ru.mjs +7 -0
- package/esm2022/lib/domain/common/services/bdb-service-rud.mjs +7 -0
- package/esm2022/lib/domain/common/services/bdb-service.mjs +11 -0
- package/esm2022/lib/domain/entities/exception-log/exception-log-read.mjs +2 -0
- package/esm2022/lib/domain/entities/exception-log/exception-log.mjs +2 -0
- package/esm2022/lib/domain/entities/exception-log/exception-log.service.mjs +17 -0
- package/esm2022/lib/domain/entities/media/media-read.mjs +2 -0
- package/esm2022/lib/domain/entities/media/media.mjs +2 -0
- package/esm2022/lib/domain/entities/media/media.service.mjs +27 -0
- package/esm2022/lib/domain/entities/role/role-read.mjs +2 -0
- package/esm2022/lib/domain/entities/role/role.mjs +2 -0
- package/esm2022/lib/domain/entities/role/role.service.mjs +17 -0
- package/esm2022/lib/domain/entities/task-log/task-log-create.mjs +2 -0
- package/esm2022/lib/domain/entities/task-log/task-log-read.mjs +2 -0
- package/esm2022/lib/domain/entities/task-log/task-log.mjs +2 -0
- package/esm2022/lib/domain/entities/task-log/task-log.service.mjs +20 -0
- package/esm2022/lib/domain/entities/task-log-parameter/task-log-parameter-create.mjs +2 -0
- package/esm2022/lib/domain/entities/task-log-parameter/task-log-parameter-read.mjs +2 -0
- package/esm2022/lib/domain/entities/task-log-parameter/task-log-parameter.mjs +2 -0
- package/esm2022/lib/domain/entities/task-log-parameter/task-log-parameter.service.mjs +17 -0
- package/esm2022/lib/domain/entities/task-log-schedule/task-log-schedule-create.mjs +2 -0
- package/esm2022/lib/domain/entities/task-log-schedule/task-log-schedule-read.mjs +2 -0
- package/esm2022/lib/domain/entities/task-log-schedule/task-log-schedule-update.mjs +2 -0
- package/esm2022/lib/domain/entities/task-log-schedule/task-log-schedule.mjs +2 -0
- package/esm2022/lib/domain/entities/task-log-schedule/task-log-schedule.service.mjs +17 -0
- package/esm2022/lib/domain/entities/user/user-create.mjs +2 -0
- package/esm2022/lib/domain/entities/user/user-read.mjs +2 -0
- package/esm2022/lib/domain/entities/user/user-update.mjs +2 -0
- package/esm2022/lib/domain/entities/user/user.mjs +2 -0
- package/esm2022/lib/domain/entities/user/user.service.mjs +17 -0
- package/esm2022/lib/domain/entities/user-role/user-role-create.mjs +2 -0
- package/esm2022/lib/domain/entities/user-role/user-role-read.mjs +2 -0
- package/esm2022/lib/domain/entities/user-role/user-role.mjs +2 -0
- package/esm2022/lib/domain/entities/user-role/user-role.service.mjs +17 -0
- package/esm2022/lib/domain/enums/media-type.mjs +7 -0
- package/esm2022/lib/domain/enums/task-log-outcome.mjs +9 -0
- package/esm2022/lib/domain/enums/task-log-parameter-type.mjs +8 -0
- package/esm2022/lib/domain/enums/task-log-status.mjs +8 -0
- package/esm2022/lib/domain/tasks/task-log-scheduler.service.mjs +26 -0
- package/esm2022/lib/domain/tasks/task-log-type-parameter.mjs +2 -0
- package/esm2022/lib/domain/tasks/task-log-type.mjs +2 -0
- package/esm2022/lib/domain/tasks/task-log-type.service.mjs +44 -0
- package/esm2022/lib/lib.config.mjs +67 -0
- package/esm2022/lib/presentation/access-denied-page/access-denied-page.component.mjs +51 -0
- package/esm2022/lib/presentation/auth-container/auth-container.component.mjs +12 -0
- package/esm2022/lib/presentation/forgot-password-page/forgot-password-page.component.mjs +75 -0
- package/esm2022/lib/presentation/invalid-token-page/invalid-token-page.component.mjs +26 -0
- package/esm2022/lib/presentation/logged-out.guard.mjs +16 -0
- package/esm2022/lib/presentation/login-page/login-page.component.mjs +90 -0
- package/esm2022/lib/presentation/logout-page/logout-page.component.mjs +33 -0
- package/esm2022/lib/presentation/reset-password-page/reset-password-page.component.mjs +102 -0
- package/esm2022/lib/presentation/reset-password.resolver.mjs +25 -0
- package/esm2022/lib/presentation/role.guard.mjs +28 -0
- package/esm2022/public-api.mjs +109 -0
- package/fesm2022/devopmaat-badaboom.mjs +2443 -0
- package/fesm2022/devopmaat-badaboom.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/_theme.scss +32 -0
- package/lib/application/common/bdb-data-source.d.ts +25 -0
- package/lib/application/common/paginator/bdb-paginator.component.d.ts +17 -0
- package/lib/application/common/query-input/_bdb-query-input-theme.scss +17 -0
- package/lib/application/common/query-input/bdb-query-input.component.d.ts +15 -0
- package/lib/application/common/search/_bdb-search-theme.scss +12 -0
- package/lib/application/common/search/bdb-search-wrapper.component.d.ts +13 -0
- package/lib/application/common/search/bdb-search.component.d.ts +43 -0
- package/lib/application/common/table/_bdb-table-theme.scss +48 -0
- package/lib/application/common/table/bdb-cell.directive.d.ts +9 -0
- package/lib/application/common/table/bdb-column-builder.d.ts +18 -0
- package/lib/application/common/table/bdb-column-options.d.ts +32 -0
- package/lib/application/common/table/bdb-column-type.d.ts +10 -0
- package/lib/application/common/table/bdb-column.d.ts +19 -0
- package/lib/application/common/table/bdb-context-action.d.ts +7 -0
- package/lib/application/common/table/bdb-table.component.d.ts +57 -0
- package/lib/application/common/table/dynamic.pipe.d.ts +9 -0
- package/lib/application/exception-log/exception-log-table/exception-log-table.component.d.ts +26 -0
- package/lib/application/task-log/task-log-outcome.pipe.d.ts +8 -0
- package/lib/application/task-log/task-log-status.pipe.d.ts +8 -0
- package/lib/application/task-log-parameter/task-log-parameter-value.pipe.d.ts +10 -0
- package/lib/application/user/user-table/user-table.component.d.ts +25 -0
- package/lib/bdb-auth-options.d.ts +28 -0
- package/lib/bdb-options.d.ts +16 -0
- package/lib/common/_button-theme.scss +87 -0
- package/lib/common/_icon-theme.scss +32 -0
- package/lib/common/alert/_bdb-alert-theme.scss +34 -0
- package/lib/common/alert/bdb-alert.component.d.ts +20 -0
- package/lib/common/alert-error-response/bdb-alert-error-response.component.d.ts +17 -0
- package/lib/common/bdb-flex-child.directive.d.ts +11 -0
- package/lib/common/bdb-flex.directive.d.ts +28 -0
- package/lib/common/bdb-form-error.directive.d.ts +15 -0
- package/lib/common/bdb-grid-child.directive.d.ts +14 -0
- package/lib/common/bdb-grid.directive.d.ts +26 -0
- package/lib/common/bdb-palette.d.ts +1 -0
- package/lib/common/boolean-display/_bdb-boolean-display-theme.scss +18 -0
- package/lib/common/boolean-display/bdb-boolean-display.component.d.ts +7 -0
- package/lib/common/color.d.ts +14 -0
- package/lib/common/constructor.d.ts +2 -0
- package/lib/common/field/bdb-field.component.d.ts +6 -0
- package/lib/common/function.pipe.d.ts +7 -0
- package/lib/common/layout-error.d.ts +3 -0
- package/lib/common/linked-list.d.ts +15 -0
- package/lib/domain/auth/account-info.d.ts +6 -0
- package/lib/domain/auth/account.service.d.ts +29 -0
- package/lib/domain/auth/auth.service.d.ts +35 -0
- package/lib/domain/auth/reset-password-token.d.ts +4 -0
- package/lib/domain/auth/token-expired.interceptor.d.ts +2 -0
- package/lib/domain/auth/token-reponse.d.ts +5 -0
- package/lib/domain/auth/token.interceptor.d.ts +2 -0
- package/lib/domain/common/bdb-filter.d.ts +9 -0
- package/lib/domain/common/bdb-request.d.ts +10 -0
- package/lib/domain/common/bdb-response.d.ts +6 -0
- package/lib/domain/common/entities/bdb-entity-read.d.ts +3 -0
- package/lib/domain/common/entities/bdb-entity-update.d.ts +3 -0
- package/lib/domain/common/entities/bdb-entity.d.ts +3 -0
- package/lib/domain/common/services/bdb-service-cr.d.ts +7 -0
- package/lib/domain/common/services/bdb-service-crd.d.ts +7 -0
- package/lib/domain/common/services/bdb-service-cru.d.ts +8 -0
- package/lib/domain/common/services/bdb-service-crud.d.ts +8 -0
- package/lib/domain/common/services/bdb-service-r.d.ts +10 -0
- package/lib/domain/common/services/bdb-service-rd.d.ts +7 -0
- package/lib/domain/common/services/bdb-service-ru.d.ts +8 -0
- package/lib/domain/common/services/bdb-service-rud.d.ts +8 -0
- package/lib/domain/common/services/bdb-service.d.ts +6 -0
- package/lib/domain/entities/exception-log/exception-log-read.d.ts +9 -0
- package/lib/domain/entities/exception-log/exception-log.d.ts +9 -0
- package/lib/domain/entities/exception-log/exception-log.service.d.ts +9 -0
- package/lib/domain/entities/media/media-read.d.ts +14 -0
- package/lib/domain/entities/media/media.d.ts +15 -0
- package/lib/domain/entities/media/media.service.d.ts +12 -0
- package/lib/domain/entities/role/role-read.d.ts +7 -0
- package/lib/domain/entities/role/role.d.ts +4 -0
- package/lib/domain/entities/role/role.service.d.ts +9 -0
- package/lib/domain/entities/task-log/task-log-create.d.ts +5 -0
- package/lib/domain/entities/task-log/task-log-read.d.ts +11 -0
- package/lib/domain/entities/task-log/task-log.d.ts +15 -0
- package/lib/domain/entities/task-log/task-log.service.d.ts +12 -0
- package/lib/domain/entities/task-log-parameter/task-log-parameter-create.d.ts +7 -0
- package/lib/domain/entities/task-log-parameter/task-log-parameter-read.d.ts +11 -0
- package/lib/domain/entities/task-log-parameter/task-log-parameter.d.ts +10 -0
- package/lib/domain/entities/task-log-parameter/task-log-parameter.service.d.ts +9 -0
- package/lib/domain/entities/task-log-schedule/task-log-schedule-create.d.ts +5 -0
- package/lib/domain/entities/task-log-schedule/task-log-schedule-read.d.ts +7 -0
- package/lib/domain/entities/task-log-schedule/task-log-schedule-update.d.ts +5 -0
- package/lib/domain/entities/task-log-schedule/task-log-schedule.d.ts +7 -0
- package/lib/domain/entities/task-log-schedule/task-log-schedule.service.d.ts +11 -0
- package/lib/domain/entities/user/user-create.d.ts +3 -0
- package/lib/domain/entities/user/user-read.d.ts +6 -0
- package/lib/domain/entities/user/user-update.d.ts +4 -0
- package/lib/domain/entities/user/user.d.ts +5 -0
- package/lib/domain/entities/user/user.service.d.ts +11 -0
- package/lib/domain/entities/user-role/user-role-create.d.ts +4 -0
- package/lib/domain/entities/user-role/user-role-read.d.ts +7 -0
- package/lib/domain/entities/user-role/user-role.d.ts +7 -0
- package/lib/domain/entities/user-role/user-role.service.d.ts +10 -0
- package/lib/domain/enums/media-type.d.ts +5 -0
- package/lib/domain/enums/task-log-outcome.d.ts +7 -0
- package/lib/domain/enums/task-log-parameter-type.d.ts +6 -0
- package/lib/domain/enums/task-log-status.d.ts +6 -0
- package/lib/domain/tasks/task-log-scheduler.service.d.ts +11 -0
- package/lib/domain/tasks/task-log-type-parameter.d.ts +11 -0
- package/lib/domain/tasks/task-log-type.d.ts +7 -0
- package/lib/domain/tasks/task-log-type.service.d.ts +14 -0
- package/lib/lib.config.d.ts +11 -0
- package/lib/presentation/access-denied-page/access-denied-page.component.d.ts +16 -0
- package/lib/presentation/auth-container/auth-container.component.d.ts +5 -0
- package/lib/presentation/forgot-password-page/forgot-password-page.component.d.ts +20 -0
- package/lib/presentation/invalid-token-page/invalid-token-page.component.d.ts +8 -0
- package/lib/presentation/logged-out.guard.d.ts +2 -0
- package/lib/presentation/login-page/login-page.component.d.ts +27 -0
- package/lib/presentation/logout-page/logout-page.component.d.ts +13 -0
- package/lib/presentation/reset-password-page/reset-password-page.component.d.ts +31 -0
- package/lib/presentation/reset-password.resolver.d.ts +3 -0
- package/lib/presentation/role.guard.d.ts +2 -0
- package/package.json +27 -0
- package/public-api.d.ts +99 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BdbEntityRead } from '../../common/entities/bdb-entity-read';
|
|
2
|
+
import { TaskLogOutcome } from '../../enums/task-log-outcome';
|
|
3
|
+
import { TaskLogStatus } from '../../enums/task-log-status';
|
|
4
|
+
export interface TaskLogRead extends BdbEntityRead {
|
|
5
|
+
taskType: string;
|
|
6
|
+
status: TaskLogStatus;
|
|
7
|
+
outcome: TaskLogOutcome;
|
|
8
|
+
start: Date;
|
|
9
|
+
completion: Date;
|
|
10
|
+
summary: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { BdbEntity } from '../../common/entities/bdb-entity';
|
|
2
|
+
import { TaskLogOutcome } from '../../enums/task-log-outcome';
|
|
3
|
+
import { TaskLogStatus } from '../../enums/task-log-status';
|
|
4
|
+
import { TaskLogParameter } from '../task-log-parameter/task-log-parameter';
|
|
5
|
+
export interface TaskLog extends BdbEntity {
|
|
6
|
+
taskType: string;
|
|
7
|
+
status: TaskLogStatus;
|
|
8
|
+
outcome: TaskLogOutcome;
|
|
9
|
+
start: Date;
|
|
10
|
+
completion: Date;
|
|
11
|
+
summary: string;
|
|
12
|
+
error?: string;
|
|
13
|
+
log: string;
|
|
14
|
+
parameters: TaskLogParameter[];
|
|
15
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BdbServiceCR } from '../../common/services/bdb-service-cr';
|
|
2
|
+
import { TaskLog } from './task-log';
|
|
3
|
+
import { TaskLogRead } from './task-log-read';
|
|
4
|
+
import { TaskLogCreate } from './task-log-create';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class TaskLogService extends BdbServiceCR<TaskLog, TaskLogRead, TaskLogCreate> {
|
|
8
|
+
constructor();
|
|
9
|
+
start(id: number): Observable<void>;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaskLogService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TaskLogService>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BdbEntityRead } from '../../common/entities/bdb-entity-read';
|
|
2
|
+
import { TaskLogParameterType } from '../../enums/task-log-parameter-type';
|
|
3
|
+
export interface TaskLogParameterRead extends BdbEntityRead {
|
|
4
|
+
name: string;
|
|
5
|
+
type: TaskLogParameterType;
|
|
6
|
+
stringValue?: string;
|
|
7
|
+
intValue?: number;
|
|
8
|
+
decimalValue?: number;
|
|
9
|
+
boolValue?: boolean;
|
|
10
|
+
isRequired: boolean;
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BdbEntity } from '../../common/entities/bdb-entity';
|
|
2
|
+
import { TaskLogParameterType } from '../../enums/task-log-parameter-type';
|
|
3
|
+
export interface TaskLogParameter extends BdbEntity {
|
|
4
|
+
name: string;
|
|
5
|
+
type: TaskLogParameterType;
|
|
6
|
+
stringValue?: string;
|
|
7
|
+
intValue?: number;
|
|
8
|
+
decimalValue?: number;
|
|
9
|
+
boolValue?: boolean;
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BdbServiceR } from '../../common/services/bdb-service-r';
|
|
2
|
+
import { TaskLogParameter } from './task-log-parameter';
|
|
3
|
+
import { TaskLogParameterRead } from './task-log-parameter-read';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TaskLogParameterService extends BdbServiceR<TaskLogParameter, TaskLogParameterRead> {
|
|
6
|
+
constructor();
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaskLogParameterService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TaskLogParameterService>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BdbServiceCRUD } from '../../common/services/bdb-service-crud';
|
|
2
|
+
import { TaskLogSchedule } from './task-log-schedule';
|
|
3
|
+
import { TaskLogScheduleRead } from './task-log-schedule-read';
|
|
4
|
+
import { TaskLogScheduleCreate } from './task-log-schedule-create';
|
|
5
|
+
import { TaskLogScheduleUpdate } from './task-log-schedule-update';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class TaskLogScheduleService extends BdbServiceCRUD<TaskLogSchedule, TaskLogScheduleRead, TaskLogScheduleCreate, TaskLogScheduleUpdate> {
|
|
8
|
+
constructor();
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaskLogScheduleService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TaskLogScheduleService>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { User } from './user';
|
|
2
|
+
import { UserRead } from './user-read';
|
|
3
|
+
import { BdbServiceCRUD } from '../../common/services/bdb-service-crud';
|
|
4
|
+
import { UserUpdate } from './user-update';
|
|
5
|
+
import { UserCreate } from './user-create';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class UserService extends BdbServiceCRUD<User, UserRead, UserCreate, UserUpdate> {
|
|
8
|
+
constructor();
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UserService>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BdbServiceCRD } from '../../common/services/bdb-service-crd';
|
|
2
|
+
import { UserRole } from './user-role';
|
|
3
|
+
import { UserRoleRead } from './user-role-read';
|
|
4
|
+
import { UserRoleCreate } from './user-role-create';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class UserRoleService extends BdbServiceCRD<UserRole, UserRoleRead, UserRoleCreate> {
|
|
7
|
+
constructor();
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserRoleService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UserRoleService>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { BdbService } from '../common/services/bdb-service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TaskLogSchedulerService extends BdbService {
|
|
5
|
+
constructor();
|
|
6
|
+
isRunning(): Observable<boolean>;
|
|
7
|
+
startScheduler(): Observable<void>;
|
|
8
|
+
stopScheduler(): Observable<void>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaskLogSchedulerService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TaskLogSchedulerService>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { TaskLogParameterType } from '../enums/task-log-parameter-type';
|
|
2
|
+
export interface TaskLogTypeParameter {
|
|
3
|
+
name: string;
|
|
4
|
+
description: string;
|
|
5
|
+
type: TaskLogParameterType;
|
|
6
|
+
required: boolean;
|
|
7
|
+
defaultStringValue: string;
|
|
8
|
+
defaultIntValue: number;
|
|
9
|
+
defaultDecimalValue: number;
|
|
10
|
+
defaultBoolValue: boolean;
|
|
11
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
2
|
+
import { BdbService } from '../common/services/bdb-service';
|
|
3
|
+
import { TaskLogType } from './task-log-type';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TaskLogTypeService extends BdbService {
|
|
6
|
+
TaskLogTypes: BehaviorSubject<TaskLogType[]>;
|
|
7
|
+
getAllObservable: Observable<TaskLogType[]> | null;
|
|
8
|
+
constructor();
|
|
9
|
+
load(): void;
|
|
10
|
+
private getAll;
|
|
11
|
+
get(identifier: string): Observable<TaskLogType | null>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaskLogTypeService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TaskLogTypeService>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EnvironmentProviders } from '@angular/core';
|
|
2
|
+
import { BdbOptionsConfigure } from './bdb-options';
|
|
3
|
+
import { Routes } from '@angular/router';
|
|
4
|
+
/**
|
|
5
|
+
* Configures BaDaBoom by providing necessary tokens.
|
|
6
|
+
* Takes root routes and provides the router with these routes, appending routes if specified
|
|
7
|
+
* @param {BdbOptionsConfigure} optionsConfigure
|
|
8
|
+
* @param {Routes} routes
|
|
9
|
+
* @return {EnvironmentProviders}
|
|
10
|
+
*/
|
|
11
|
+
export declare function provideBaDaBoom(optionsConfigure: BdbOptionsConfigure, routes: Routes): EnvironmentProviders;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { BdbOptions } from '../../bdb-options';
|
|
3
|
+
import { AuthService } from '../../domain/auth/auth.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AccessDeniedPageComponent implements OnInit, OnDestroy {
|
|
6
|
+
private authService;
|
|
7
|
+
private readonly _onDestroy;
|
|
8
|
+
loginRoutePath?: string;
|
|
9
|
+
logoutRoutePath?: string;
|
|
10
|
+
isLoggedIn: boolean;
|
|
11
|
+
constructor(bdbOptions: BdbOptions, authService: AuthService);
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
ngOnDestroy(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AccessDeniedPageComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AccessDeniedPageComponent, "bdb-access-denied-page", never, {}, {}, never, never, true, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class AuthContainerComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthContainerComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AuthContainerComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
2
|
+
import { BdbOptions } from '../../bdb-options';
|
|
3
|
+
import { HttpErrorResponse } from '@angular/common/http';
|
|
4
|
+
import { AuthService } from '../../domain/auth/auth.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ForgotPasswordPageComponent {
|
|
7
|
+
private authService;
|
|
8
|
+
loginRoutePath?: string;
|
|
9
|
+
emailCtrl: FormControl<string>;
|
|
10
|
+
isComplete: boolean;
|
|
11
|
+
isPending: boolean;
|
|
12
|
+
error?: HttpErrorResponse;
|
|
13
|
+
forgotPasswordForm: FormGroup<{
|
|
14
|
+
email: FormControl<string>;
|
|
15
|
+
}>;
|
|
16
|
+
constructor(authService: AuthService, bdbOptions: BdbOptions);
|
|
17
|
+
forgotPassword(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ForgotPasswordPageComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ForgotPasswordPageComponent, "bdb-forgot-password-page", never, {}, {}, never, never, true, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BdbOptions } from '../../bdb-options';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class InvalidTokenPageComponent {
|
|
4
|
+
loginRoutePath?: string;
|
|
5
|
+
constructor(bdbOptions: BdbOptions);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InvalidTokenPageComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InvalidTokenPageComponent, "bdb-invalid-token-page", never, {}, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
+
import { BdbOptions } from '../../bdb-options';
|
|
4
|
+
import { HttpErrorResponse } from '@angular/common/http';
|
|
5
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
6
|
+
import { AuthService } from '../../domain/auth/auth.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class LoginPageComponent implements OnInit {
|
|
9
|
+
private router;
|
|
10
|
+
private authService;
|
|
11
|
+
private route;
|
|
12
|
+
forgotPasswordRoutePath?: string;
|
|
13
|
+
emailCtrl: FormControl<string>;
|
|
14
|
+
passwordCtrl: FormControl<string>;
|
|
15
|
+
error?: HttpErrorResponse;
|
|
16
|
+
postLoginUrl: string;
|
|
17
|
+
isPending: boolean;
|
|
18
|
+
loginForm: FormGroup<{
|
|
19
|
+
email: FormControl<string>;
|
|
20
|
+
password: FormControl<string>;
|
|
21
|
+
}>;
|
|
22
|
+
constructor(router: Router, authService: AuthService, route: ActivatedRoute, bdbOptions: BdbOptions);
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
login(): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoginPageComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoginPageComponent, "bdb-login-page", never, {}, {}, never, never, true, never>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Router } from '@angular/router';
|
|
2
|
+
import { AuthService } from '../../domain/auth/auth.service';
|
|
3
|
+
import { BdbOptions } from '../../bdb-options';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class LogoutPageComponent {
|
|
6
|
+
private router;
|
|
7
|
+
private authService;
|
|
8
|
+
private bdbOptions;
|
|
9
|
+
constructor(router: Router, authService: AuthService, bdbOptions: BdbOptions);
|
|
10
|
+
logout(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LogoutPageComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LogoutPageComponent, "bdb-logout-page", never, {}, {}, never, never, true, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { AbstractControl, FormControl, FormGroup, ValidatorFn } from '@angular/forms';
|
|
3
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
+
import { HttpErrorResponse } from '@angular/common/http';
|
|
5
|
+
import { ResetPasswordToken } from '../../domain/auth/reset-password-token';
|
|
6
|
+
import { AuthService } from '../../domain/auth/auth.service';
|
|
7
|
+
import { BdbOptions } from '../../bdb-options';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare function equalValueValidator(otherControl: AbstractControl): ValidatorFn;
|
|
10
|
+
export declare class ResetPasswordPageComponent implements OnInit {
|
|
11
|
+
private authService;
|
|
12
|
+
private activatedRoute;
|
|
13
|
+
private router;
|
|
14
|
+
loginRoutePath?: string;
|
|
15
|
+
isPending: boolean;
|
|
16
|
+
error?: HttpErrorResponse;
|
|
17
|
+
passwordCtrl: FormControl<string>;
|
|
18
|
+
confirmPasswordCtrl: FormControl<string>;
|
|
19
|
+
resetPasswordForm: FormGroup<{
|
|
20
|
+
email: FormControl<string>;
|
|
21
|
+
token: FormControl<string>;
|
|
22
|
+
password: FormControl<string>;
|
|
23
|
+
confirmPassword: FormControl<string>;
|
|
24
|
+
}>;
|
|
25
|
+
resetPasswordToken?: ResetPasswordToken;
|
|
26
|
+
constructor(authService: AuthService, activatedRoute: ActivatedRoute, router: Router, bdbOptions: BdbOptions);
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
resetPassword(): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResetPasswordPageComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResetPasswordPageComponent, "bdb-reset-password-page", never, {}, {}, never, never, true, never>;
|
|
31
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@devopmaat/badaboom",
|
|
3
|
+
"version": "1.1.1",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular/common": "^18.1.1",
|
|
6
|
+
"@angular/core": "^18.1.1",
|
|
7
|
+
"@angular/material": "^18.1.1"
|
|
8
|
+
},
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"tslib": "^2.3.0"
|
|
11
|
+
},
|
|
12
|
+
"sideEffects": false,
|
|
13
|
+
"exports": {
|
|
14
|
+
".": {
|
|
15
|
+
"sass": "./_index.scss",
|
|
16
|
+
"types": "./index.d.ts",
|
|
17
|
+
"esm2022": "./esm2022/devopmaat-badaboom.mjs",
|
|
18
|
+
"esm": "./esm2022/devopmaat-badaboom.mjs",
|
|
19
|
+
"default": "./fesm2022/devopmaat-badaboom.mjs"
|
|
20
|
+
},
|
|
21
|
+
"./package.json": {
|
|
22
|
+
"default": "./package.json"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"module": "fesm2022/devopmaat-badaboom.mjs",
|
|
26
|
+
"typings": "index.d.ts"
|
|
27
|
+
}
|
package/public-api.d.ts
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
export * from './lib/lib.config';
|
|
2
|
+
export * from './lib/bdb-options';
|
|
3
|
+
export * from './lib/application/common/bdb-data-source';
|
|
4
|
+
export * from './lib/application/common/paginator/bdb-paginator.component';
|
|
5
|
+
export * from './lib/application/common/query-input/bdb-query-input.component';
|
|
6
|
+
export * from './lib/application/common/search/bdb-search-wrapper.component';
|
|
7
|
+
export * from './lib/application/common/search/bdb-search.component';
|
|
8
|
+
export * from './lib/application/common/table/bdb-cell.directive';
|
|
9
|
+
export * from './lib/application/common/table/bdb-column';
|
|
10
|
+
export * from './lib/application/common/table/bdb-column-builder';
|
|
11
|
+
export * from './lib/application/common/table/bdb-column-options';
|
|
12
|
+
export * from './lib/application/common/table/bdb-column-type';
|
|
13
|
+
export * from './lib/application/common/table/bdb-context-action';
|
|
14
|
+
export * from './lib/application/common/table/bdb-table.component';
|
|
15
|
+
export * from './lib/application/exception-log/exception-log-table/exception-log-table.component';
|
|
16
|
+
export * from './lib/application/task-log/task-log-status.pipe';
|
|
17
|
+
export * from './lib/application/task-log/task-log-outcome.pipe';
|
|
18
|
+
export * from './lib/application/task-log-parameter/task-log-parameter-value.pipe';
|
|
19
|
+
export * from './lib/application/user/user-table/user-table.component';
|
|
20
|
+
export * from './lib/common/bdb-flex.directive';
|
|
21
|
+
export * from './lib/common/bdb-flex-child.directive';
|
|
22
|
+
export * from './lib/common/bdb-grid.directive';
|
|
23
|
+
export * from './lib/common/bdb-grid-child.directive';
|
|
24
|
+
export * from './lib/common/bdb-form-error.directive';
|
|
25
|
+
export * from './lib/common/bdb-palette';
|
|
26
|
+
export * from './lib/common/alert/bdb-alert.component';
|
|
27
|
+
export * from './lib/common/alert-error-response/bdb-alert-error-response.component';
|
|
28
|
+
export * from './lib/common/boolean-display/bdb-boolean-display.component';
|
|
29
|
+
export * from './lib/common/field/bdb-field.component';
|
|
30
|
+
export * from './lib/domain/auth/auth.service';
|
|
31
|
+
export * from './lib/domain/auth/account-info';
|
|
32
|
+
export * from './lib/domain/auth/reset-password-token';
|
|
33
|
+
export * from './lib/domain/auth/token-expired.interceptor';
|
|
34
|
+
export * from './lib/domain/auth/token-reponse';
|
|
35
|
+
export * from './lib/domain/auth/token.interceptor';
|
|
36
|
+
export * from './lib/domain/common/bdb-filter';
|
|
37
|
+
export * from './lib/domain/common/bdb-request';
|
|
38
|
+
export * from './lib/domain/common/bdb-response';
|
|
39
|
+
export * from './lib/domain/common/entities/bdb-entity';
|
|
40
|
+
export * from './lib/domain/common/entities/bdb-entity-read';
|
|
41
|
+
export * from './lib/domain/common/entities/bdb-entity-update';
|
|
42
|
+
export * from './lib/domain/common/services/bdb-service';
|
|
43
|
+
export * from './lib/domain/common/services/bdb-service-r';
|
|
44
|
+
export * from './lib/domain/common/services/bdb-service-cr';
|
|
45
|
+
export * from './lib/domain/common/services/bdb-service-rd';
|
|
46
|
+
export * from './lib/domain/common/services/bdb-service-ru';
|
|
47
|
+
export * from './lib/domain/common/services/bdb-service-crd';
|
|
48
|
+
export * from './lib/domain/common/services/bdb-service-cru';
|
|
49
|
+
export * from './lib/domain/common/services/bdb-service-rud';
|
|
50
|
+
export * from './lib/domain/common/services/bdb-service-crud';
|
|
51
|
+
export * from './lib/domain/entities/exception-log/exception-log';
|
|
52
|
+
export * from './lib/domain/entities/exception-log/exception-log-read';
|
|
53
|
+
export * from './lib/domain/entities/exception-log/exception-log.service';
|
|
54
|
+
export * from './lib/domain/entities/media/media';
|
|
55
|
+
export * from './lib/domain/entities/media/media-read';
|
|
56
|
+
export * from './lib/domain/entities/media/media.service';
|
|
57
|
+
export * from './lib/domain/entities/role/role';
|
|
58
|
+
export * from './lib/domain/entities/role/role-read';
|
|
59
|
+
export * from './lib/domain/entities/role/role.service';
|
|
60
|
+
export * from './lib/domain/entities/task-log/task-log-create';
|
|
61
|
+
export * from './lib/domain/entities/task-log/task-log';
|
|
62
|
+
export * from './lib/domain/entities/task-log/task-log-read';
|
|
63
|
+
export * from './lib/domain/entities/task-log/task-log.service';
|
|
64
|
+
export * from './lib/domain/entities/task-log-parameter/task-log-parameter-create';
|
|
65
|
+
export * from './lib/domain/entities/task-log-parameter/task-log-parameter';
|
|
66
|
+
export * from './lib/domain/entities/task-log-parameter/task-log-parameter-read';
|
|
67
|
+
export * from './lib/domain/entities/task-log-parameter/task-log-parameter.service';
|
|
68
|
+
export * from './lib/domain/entities/task-log-schedule/task-log-schedule-create';
|
|
69
|
+
export * from './lib/domain/entities/task-log-schedule/task-log-schedule-update';
|
|
70
|
+
export * from './lib/domain/entities/task-log-schedule/task-log-schedule';
|
|
71
|
+
export * from './lib/domain/entities/task-log-schedule/task-log-schedule-read';
|
|
72
|
+
export * from './lib/domain/entities/task-log-schedule/task-log-schedule.service';
|
|
73
|
+
export * from './lib/domain/entities/user/user-create';
|
|
74
|
+
export * from './lib/domain/entities/user/user-update';
|
|
75
|
+
export * from './lib/domain/entities/user/user';
|
|
76
|
+
export * from './lib/domain/entities/user/user-read';
|
|
77
|
+
export * from './lib/domain/entities/user/user.service';
|
|
78
|
+
export * from './lib/domain/entities/user-role/user-role-create';
|
|
79
|
+
export * from './lib/domain/entities/user-role/user-role';
|
|
80
|
+
export * from './lib/domain/entities/user-role/user-role-read';
|
|
81
|
+
export * from './lib/domain/entities/user-role/user-role.service';
|
|
82
|
+
export * from './lib/domain/enums/media-type';
|
|
83
|
+
export * from './lib/domain/enums/task-log-outcome';
|
|
84
|
+
export * from './lib/domain/enums/task-log-parameter-type';
|
|
85
|
+
export * from './lib/domain/enums/task-log-status';
|
|
86
|
+
export * from './lib/domain/tasks/task-log-scheduler.service';
|
|
87
|
+
export * from './lib/domain/tasks/task-log-type';
|
|
88
|
+
export * from './lib/domain/tasks/task-log-type-parameter';
|
|
89
|
+
export * from './lib/domain/tasks/task-log-type.service';
|
|
90
|
+
export * from './lib/presentation/logged-out.guard';
|
|
91
|
+
export * from './lib/presentation/reset-password.resolver';
|
|
92
|
+
export * from './lib/presentation/role.guard';
|
|
93
|
+
export * from './lib/presentation/access-denied-page/access-denied-page.component';
|
|
94
|
+
export * from './lib/presentation/auth-container/auth-container.component';
|
|
95
|
+
export * from './lib/presentation/forgot-password-page/forgot-password-page.component';
|
|
96
|
+
export * from './lib/presentation/invalid-token-page/invalid-token-page.component';
|
|
97
|
+
export * from './lib/presentation/login-page/login-page.component';
|
|
98
|
+
export * from './lib/presentation/logout-page/logout-page.component';
|
|
99
|
+
export * from './lib/presentation/reset-password-page/reset-password-page.component';
|