@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.
Files changed (231) hide show
  1. package/README.md +3 -0
  2. package/_index.scss +1 -0
  3. package/esm2022/devopmaat-badaboom.mjs +5 -0
  4. package/esm2022/lib/application/common/bdb-data-source.mjs +42 -0
  5. package/esm2022/lib/application/common/paginator/bdb-paginator.component.mjs +37 -0
  6. package/esm2022/lib/application/common/query-input/bdb-query-input.component.mjs +45 -0
  7. package/esm2022/lib/application/common/search/bdb-search-wrapper.component.mjs +33 -0
  8. package/esm2022/lib/application/common/search/bdb-search.component.mjs +163 -0
  9. package/esm2022/lib/application/common/table/bdb-cell.directive.mjs +20 -0
  10. package/esm2022/lib/application/common/table/bdb-column-builder.mjs +94 -0
  11. package/esm2022/lib/application/common/table/bdb-column-options.mjs +2 -0
  12. package/esm2022/lib/application/common/table/bdb-column-type.mjs +12 -0
  13. package/esm2022/lib/application/common/table/bdb-column.mjs +2 -0
  14. package/esm2022/lib/application/common/table/bdb-context-action.mjs +2 -0
  15. package/esm2022/lib/application/common/table/bdb-table.component.mjs +193 -0
  16. package/esm2022/lib/application/common/table/dynamic.pipe.mjs +26 -0
  17. package/esm2022/lib/application/exception-log/exception-log-table/exception-log-table.component.mjs +49 -0
  18. package/esm2022/lib/application/task-log/task-log-outcome.pipe.mjs +31 -0
  19. package/esm2022/lib/application/task-log/task-log-status.pipe.mjs +29 -0
  20. package/esm2022/lib/application/task-log-parameter/task-log-parameter-value.pipe.mjs +49 -0
  21. package/esm2022/lib/application/user/user-table/user-table.component.mjs +68 -0
  22. package/esm2022/lib/bdb-auth-options.mjs +39 -0
  23. package/esm2022/lib/bdb-options.mjs +25 -0
  24. package/esm2022/lib/common/alert/bdb-alert.component.mjs +40 -0
  25. package/esm2022/lib/common/alert-error-response/bdb-alert-error-response.component.mjs +107 -0
  26. package/esm2022/lib/common/bdb-flex-child.directive.mjs +24 -0
  27. package/esm2022/lib/common/bdb-flex.directive.mjs +112 -0
  28. package/esm2022/lib/common/bdb-form-error.directive.mjs +74 -0
  29. package/esm2022/lib/common/bdb-grid-child.directive.mjs +81 -0
  30. package/esm2022/lib/common/bdb-grid.directive.mjs +107 -0
  31. package/esm2022/lib/common/bdb-palette.mjs +2 -0
  32. package/esm2022/lib/common/boolean-display/bdb-boolean-display.component.mjs +23 -0
  33. package/esm2022/lib/common/color.mjs +26 -0
  34. package/esm2022/lib/common/constructor.mjs +2 -0
  35. package/esm2022/lib/common/field/bdb-field.component.mjs +17 -0
  36. package/esm2022/lib/common/function.pipe.mjs +20 -0
  37. package/esm2022/lib/common/layout-error.mjs +6 -0
  38. package/esm2022/lib/common/linked-list.mjs +53 -0
  39. package/esm2022/lib/domain/auth/account-info.mjs +2 -0
  40. package/esm2022/lib/domain/auth/account.service.mjs +32 -0
  41. package/esm2022/lib/domain/auth/auth.service.mjs +119 -0
  42. package/esm2022/lib/domain/auth/reset-password-token.mjs +2 -0
  43. package/esm2022/lib/domain/auth/token-expired.interceptor.mjs +21 -0
  44. package/esm2022/lib/domain/auth/token-reponse.mjs +2 -0
  45. package/esm2022/lib/domain/auth/token.interceptor.mjs +17 -0
  46. package/esm2022/lib/domain/common/bdb-filter.mjs +2 -0
  47. package/esm2022/lib/domain/common/bdb-request.mjs +2 -0
  48. package/esm2022/lib/domain/common/bdb-response.mjs +2 -0
  49. package/esm2022/lib/domain/common/entities/bdb-entity-read.mjs +2 -0
  50. package/esm2022/lib/domain/common/entities/bdb-entity-update.mjs +2 -0
  51. package/esm2022/lib/domain/common/entities/bdb-entity.mjs +2 -0
  52. package/esm2022/lib/domain/common/services/bdb-service-cr.mjs +7 -0
  53. package/esm2022/lib/domain/common/services/bdb-service-crd.mjs +7 -0
  54. package/esm2022/lib/domain/common/services/bdb-service-cru.mjs +7 -0
  55. package/esm2022/lib/domain/common/services/bdb-service-crud.mjs +7 -0
  56. package/esm2022/lib/domain/common/services/bdb-service-r.mjs +10 -0
  57. package/esm2022/lib/domain/common/services/bdb-service-rd.mjs +7 -0
  58. package/esm2022/lib/domain/common/services/bdb-service-ru.mjs +7 -0
  59. package/esm2022/lib/domain/common/services/bdb-service-rud.mjs +7 -0
  60. package/esm2022/lib/domain/common/services/bdb-service.mjs +11 -0
  61. package/esm2022/lib/domain/entities/exception-log/exception-log-read.mjs +2 -0
  62. package/esm2022/lib/domain/entities/exception-log/exception-log.mjs +2 -0
  63. package/esm2022/lib/domain/entities/exception-log/exception-log.service.mjs +17 -0
  64. package/esm2022/lib/domain/entities/media/media-read.mjs +2 -0
  65. package/esm2022/lib/domain/entities/media/media.mjs +2 -0
  66. package/esm2022/lib/domain/entities/media/media.service.mjs +27 -0
  67. package/esm2022/lib/domain/entities/role/role-read.mjs +2 -0
  68. package/esm2022/lib/domain/entities/role/role.mjs +2 -0
  69. package/esm2022/lib/domain/entities/role/role.service.mjs +17 -0
  70. package/esm2022/lib/domain/entities/task-log/task-log-create.mjs +2 -0
  71. package/esm2022/lib/domain/entities/task-log/task-log-read.mjs +2 -0
  72. package/esm2022/lib/domain/entities/task-log/task-log.mjs +2 -0
  73. package/esm2022/lib/domain/entities/task-log/task-log.service.mjs +20 -0
  74. package/esm2022/lib/domain/entities/task-log-parameter/task-log-parameter-create.mjs +2 -0
  75. package/esm2022/lib/domain/entities/task-log-parameter/task-log-parameter-read.mjs +2 -0
  76. package/esm2022/lib/domain/entities/task-log-parameter/task-log-parameter.mjs +2 -0
  77. package/esm2022/lib/domain/entities/task-log-parameter/task-log-parameter.service.mjs +17 -0
  78. package/esm2022/lib/domain/entities/task-log-schedule/task-log-schedule-create.mjs +2 -0
  79. package/esm2022/lib/domain/entities/task-log-schedule/task-log-schedule-read.mjs +2 -0
  80. package/esm2022/lib/domain/entities/task-log-schedule/task-log-schedule-update.mjs +2 -0
  81. package/esm2022/lib/domain/entities/task-log-schedule/task-log-schedule.mjs +2 -0
  82. package/esm2022/lib/domain/entities/task-log-schedule/task-log-schedule.service.mjs +17 -0
  83. package/esm2022/lib/domain/entities/user/user-create.mjs +2 -0
  84. package/esm2022/lib/domain/entities/user/user-read.mjs +2 -0
  85. package/esm2022/lib/domain/entities/user/user-update.mjs +2 -0
  86. package/esm2022/lib/domain/entities/user/user.mjs +2 -0
  87. package/esm2022/lib/domain/entities/user/user.service.mjs +17 -0
  88. package/esm2022/lib/domain/entities/user-role/user-role-create.mjs +2 -0
  89. package/esm2022/lib/domain/entities/user-role/user-role-read.mjs +2 -0
  90. package/esm2022/lib/domain/entities/user-role/user-role.mjs +2 -0
  91. package/esm2022/lib/domain/entities/user-role/user-role.service.mjs +17 -0
  92. package/esm2022/lib/domain/enums/media-type.mjs +7 -0
  93. package/esm2022/lib/domain/enums/task-log-outcome.mjs +9 -0
  94. package/esm2022/lib/domain/enums/task-log-parameter-type.mjs +8 -0
  95. package/esm2022/lib/domain/enums/task-log-status.mjs +8 -0
  96. package/esm2022/lib/domain/tasks/task-log-scheduler.service.mjs +26 -0
  97. package/esm2022/lib/domain/tasks/task-log-type-parameter.mjs +2 -0
  98. package/esm2022/lib/domain/tasks/task-log-type.mjs +2 -0
  99. package/esm2022/lib/domain/tasks/task-log-type.service.mjs +44 -0
  100. package/esm2022/lib/lib.config.mjs +67 -0
  101. package/esm2022/lib/presentation/access-denied-page/access-denied-page.component.mjs +51 -0
  102. package/esm2022/lib/presentation/auth-container/auth-container.component.mjs +12 -0
  103. package/esm2022/lib/presentation/forgot-password-page/forgot-password-page.component.mjs +75 -0
  104. package/esm2022/lib/presentation/invalid-token-page/invalid-token-page.component.mjs +26 -0
  105. package/esm2022/lib/presentation/logged-out.guard.mjs +16 -0
  106. package/esm2022/lib/presentation/login-page/login-page.component.mjs +90 -0
  107. package/esm2022/lib/presentation/logout-page/logout-page.component.mjs +33 -0
  108. package/esm2022/lib/presentation/reset-password-page/reset-password-page.component.mjs +102 -0
  109. package/esm2022/lib/presentation/reset-password.resolver.mjs +25 -0
  110. package/esm2022/lib/presentation/role.guard.mjs +28 -0
  111. package/esm2022/public-api.mjs +109 -0
  112. package/fesm2022/devopmaat-badaboom.mjs +2443 -0
  113. package/fesm2022/devopmaat-badaboom.mjs.map +1 -0
  114. package/index.d.ts +5 -0
  115. package/lib/_theme.scss +32 -0
  116. package/lib/application/common/bdb-data-source.d.ts +25 -0
  117. package/lib/application/common/paginator/bdb-paginator.component.d.ts +17 -0
  118. package/lib/application/common/query-input/_bdb-query-input-theme.scss +17 -0
  119. package/lib/application/common/query-input/bdb-query-input.component.d.ts +15 -0
  120. package/lib/application/common/search/_bdb-search-theme.scss +12 -0
  121. package/lib/application/common/search/bdb-search-wrapper.component.d.ts +13 -0
  122. package/lib/application/common/search/bdb-search.component.d.ts +43 -0
  123. package/lib/application/common/table/_bdb-table-theme.scss +48 -0
  124. package/lib/application/common/table/bdb-cell.directive.d.ts +9 -0
  125. package/lib/application/common/table/bdb-column-builder.d.ts +18 -0
  126. package/lib/application/common/table/bdb-column-options.d.ts +32 -0
  127. package/lib/application/common/table/bdb-column-type.d.ts +10 -0
  128. package/lib/application/common/table/bdb-column.d.ts +19 -0
  129. package/lib/application/common/table/bdb-context-action.d.ts +7 -0
  130. package/lib/application/common/table/bdb-table.component.d.ts +57 -0
  131. package/lib/application/common/table/dynamic.pipe.d.ts +9 -0
  132. package/lib/application/exception-log/exception-log-table/exception-log-table.component.d.ts +26 -0
  133. package/lib/application/task-log/task-log-outcome.pipe.d.ts +8 -0
  134. package/lib/application/task-log/task-log-status.pipe.d.ts +8 -0
  135. package/lib/application/task-log-parameter/task-log-parameter-value.pipe.d.ts +10 -0
  136. package/lib/application/user/user-table/user-table.component.d.ts +25 -0
  137. package/lib/bdb-auth-options.d.ts +28 -0
  138. package/lib/bdb-options.d.ts +16 -0
  139. package/lib/common/_button-theme.scss +87 -0
  140. package/lib/common/_icon-theme.scss +32 -0
  141. package/lib/common/alert/_bdb-alert-theme.scss +34 -0
  142. package/lib/common/alert/bdb-alert.component.d.ts +20 -0
  143. package/lib/common/alert-error-response/bdb-alert-error-response.component.d.ts +17 -0
  144. package/lib/common/bdb-flex-child.directive.d.ts +11 -0
  145. package/lib/common/bdb-flex.directive.d.ts +28 -0
  146. package/lib/common/bdb-form-error.directive.d.ts +15 -0
  147. package/lib/common/bdb-grid-child.directive.d.ts +14 -0
  148. package/lib/common/bdb-grid.directive.d.ts +26 -0
  149. package/lib/common/bdb-palette.d.ts +1 -0
  150. package/lib/common/boolean-display/_bdb-boolean-display-theme.scss +18 -0
  151. package/lib/common/boolean-display/bdb-boolean-display.component.d.ts +7 -0
  152. package/lib/common/color.d.ts +14 -0
  153. package/lib/common/constructor.d.ts +2 -0
  154. package/lib/common/field/bdb-field.component.d.ts +6 -0
  155. package/lib/common/function.pipe.d.ts +7 -0
  156. package/lib/common/layout-error.d.ts +3 -0
  157. package/lib/common/linked-list.d.ts +15 -0
  158. package/lib/domain/auth/account-info.d.ts +6 -0
  159. package/lib/domain/auth/account.service.d.ts +29 -0
  160. package/lib/domain/auth/auth.service.d.ts +35 -0
  161. package/lib/domain/auth/reset-password-token.d.ts +4 -0
  162. package/lib/domain/auth/token-expired.interceptor.d.ts +2 -0
  163. package/lib/domain/auth/token-reponse.d.ts +5 -0
  164. package/lib/domain/auth/token.interceptor.d.ts +2 -0
  165. package/lib/domain/common/bdb-filter.d.ts +9 -0
  166. package/lib/domain/common/bdb-request.d.ts +10 -0
  167. package/lib/domain/common/bdb-response.d.ts +6 -0
  168. package/lib/domain/common/entities/bdb-entity-read.d.ts +3 -0
  169. package/lib/domain/common/entities/bdb-entity-update.d.ts +3 -0
  170. package/lib/domain/common/entities/bdb-entity.d.ts +3 -0
  171. package/lib/domain/common/services/bdb-service-cr.d.ts +7 -0
  172. package/lib/domain/common/services/bdb-service-crd.d.ts +7 -0
  173. package/lib/domain/common/services/bdb-service-cru.d.ts +8 -0
  174. package/lib/domain/common/services/bdb-service-crud.d.ts +8 -0
  175. package/lib/domain/common/services/bdb-service-r.d.ts +10 -0
  176. package/lib/domain/common/services/bdb-service-rd.d.ts +7 -0
  177. package/lib/domain/common/services/bdb-service-ru.d.ts +8 -0
  178. package/lib/domain/common/services/bdb-service-rud.d.ts +8 -0
  179. package/lib/domain/common/services/bdb-service.d.ts +6 -0
  180. package/lib/domain/entities/exception-log/exception-log-read.d.ts +9 -0
  181. package/lib/domain/entities/exception-log/exception-log.d.ts +9 -0
  182. package/lib/domain/entities/exception-log/exception-log.service.d.ts +9 -0
  183. package/lib/domain/entities/media/media-read.d.ts +14 -0
  184. package/lib/domain/entities/media/media.d.ts +15 -0
  185. package/lib/domain/entities/media/media.service.d.ts +12 -0
  186. package/lib/domain/entities/role/role-read.d.ts +7 -0
  187. package/lib/domain/entities/role/role.d.ts +4 -0
  188. package/lib/domain/entities/role/role.service.d.ts +9 -0
  189. package/lib/domain/entities/task-log/task-log-create.d.ts +5 -0
  190. package/lib/domain/entities/task-log/task-log-read.d.ts +11 -0
  191. package/lib/domain/entities/task-log/task-log.d.ts +15 -0
  192. package/lib/domain/entities/task-log/task-log.service.d.ts +12 -0
  193. package/lib/domain/entities/task-log-parameter/task-log-parameter-create.d.ts +7 -0
  194. package/lib/domain/entities/task-log-parameter/task-log-parameter-read.d.ts +11 -0
  195. package/lib/domain/entities/task-log-parameter/task-log-parameter.d.ts +10 -0
  196. package/lib/domain/entities/task-log-parameter/task-log-parameter.service.d.ts +9 -0
  197. package/lib/domain/entities/task-log-schedule/task-log-schedule-create.d.ts +5 -0
  198. package/lib/domain/entities/task-log-schedule/task-log-schedule-read.d.ts +7 -0
  199. package/lib/domain/entities/task-log-schedule/task-log-schedule-update.d.ts +5 -0
  200. package/lib/domain/entities/task-log-schedule/task-log-schedule.d.ts +7 -0
  201. package/lib/domain/entities/task-log-schedule/task-log-schedule.service.d.ts +11 -0
  202. package/lib/domain/entities/user/user-create.d.ts +3 -0
  203. package/lib/domain/entities/user/user-read.d.ts +6 -0
  204. package/lib/domain/entities/user/user-update.d.ts +4 -0
  205. package/lib/domain/entities/user/user.d.ts +5 -0
  206. package/lib/domain/entities/user/user.service.d.ts +11 -0
  207. package/lib/domain/entities/user-role/user-role-create.d.ts +4 -0
  208. package/lib/domain/entities/user-role/user-role-read.d.ts +7 -0
  209. package/lib/domain/entities/user-role/user-role.d.ts +7 -0
  210. package/lib/domain/entities/user-role/user-role.service.d.ts +10 -0
  211. package/lib/domain/enums/media-type.d.ts +5 -0
  212. package/lib/domain/enums/task-log-outcome.d.ts +7 -0
  213. package/lib/domain/enums/task-log-parameter-type.d.ts +6 -0
  214. package/lib/domain/enums/task-log-status.d.ts +6 -0
  215. package/lib/domain/tasks/task-log-scheduler.service.d.ts +11 -0
  216. package/lib/domain/tasks/task-log-type-parameter.d.ts +11 -0
  217. package/lib/domain/tasks/task-log-type.d.ts +7 -0
  218. package/lib/domain/tasks/task-log-type.service.d.ts +14 -0
  219. package/lib/lib.config.d.ts +11 -0
  220. package/lib/presentation/access-denied-page/access-denied-page.component.d.ts +16 -0
  221. package/lib/presentation/auth-container/auth-container.component.d.ts +5 -0
  222. package/lib/presentation/forgot-password-page/forgot-password-page.component.d.ts +20 -0
  223. package/lib/presentation/invalid-token-page/invalid-token-page.component.d.ts +8 -0
  224. package/lib/presentation/logged-out.guard.d.ts +2 -0
  225. package/lib/presentation/login-page/login-page.component.d.ts +27 -0
  226. package/lib/presentation/logout-page/logout-page.component.d.ts +13 -0
  227. package/lib/presentation/reset-password-page/reset-password-page.component.d.ts +31 -0
  228. package/lib/presentation/reset-password.resolver.d.ts +3 -0
  229. package/lib/presentation/role.guard.d.ts +2 -0
  230. package/package.json +27 -0
  231. package/public-api.d.ts +99 -0
@@ -0,0 +1,5 @@
1
+ import { TaskLogParameterCreate } from '../task-log-parameter/task-log-parameter-create';
2
+ export interface TaskLogCreate {
3
+ taskType: string;
4
+ parameters: TaskLogParameterCreate[];
5
+ }
@@ -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,7 @@
1
+ export interface TaskLogParameterCreate {
2
+ name: string;
3
+ stringValue?: string;
4
+ intValue?: number;
5
+ decimalValue?: number;
6
+ boolValue?: boolean;
7
+ }
@@ -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,5 @@
1
+ export interface TaskLogScheduleCreate {
2
+ taskLogType: string;
3
+ cronExpression: string;
4
+ isActive: boolean;
5
+ }
@@ -0,0 +1,7 @@
1
+ import { BdbEntityRead } from '../../common/entities/bdb-entity-read';
2
+ export interface TaskLogScheduleRead extends BdbEntityRead {
3
+ taskLogType: string;
4
+ description: string;
5
+ cronExpression: string;
6
+ isActive: boolean;
7
+ }
@@ -0,0 +1,5 @@
1
+ import { BdbEntityUpdate } from '../../common/entities/bdb-entity-update';
2
+ export interface TaskLogScheduleUpdate extends BdbEntityUpdate {
3
+ cronExpression: string;
4
+ isActive: boolean;
5
+ }
@@ -0,0 +1,7 @@
1
+ import { BdbEntity } from '../../common/entities/bdb-entity';
2
+ export interface TaskLogSchedule extends BdbEntity {
3
+ taskLogType: string;
4
+ description: string;
5
+ cronExpression: string;
6
+ isActive: boolean;
7
+ }
@@ -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,3 @@
1
+ export interface UserCreate {
2
+ email: string;
3
+ }
@@ -0,0 +1,6 @@
1
+ import { BdbEntityRead } from '../../common/entities/bdb-entity-read';
2
+ export interface UserRead extends BdbEntityRead {
3
+ email: string;
4
+ name: string;
5
+ roles: string[];
6
+ }
@@ -0,0 +1,4 @@
1
+ import { BdbEntityUpdate } from '../../common/entities/bdb-entity-update';
2
+ export interface UserUpdate extends BdbEntityUpdate {
3
+ email: string;
4
+ }
@@ -0,0 +1,5 @@
1
+ import { BdbEntity } from '../../common/entities/bdb-entity';
2
+ export interface User extends BdbEntity {
3
+ email: string;
4
+ name: string;
5
+ }
@@ -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,4 @@
1
+ export interface UserRoleCreate {
2
+ userId: number;
3
+ roleId: number;
4
+ }
@@ -0,0 +1,7 @@
1
+ import { BdbEntityRead } from '../../common/entities/bdb-entity-read';
2
+ export interface UserRoleRead extends BdbEntityRead {
3
+ userEmail: string;
4
+ roleName: string;
5
+ userId: number;
6
+ roleId: number;
7
+ }
@@ -0,0 +1,7 @@
1
+ import { BdbEntity } from '../../common/entities/bdb-entity';
2
+ import { Role } from '../role/role';
3
+ import { User } from '../user/user';
4
+ export interface UserRole extends BdbEntity {
5
+ user: User;
6
+ role: Role;
7
+ }
@@ -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,5 @@
1
+ export declare enum MediaType {
2
+ Image = "Image",
3
+ Video = "Video",
4
+ File = "File"
5
+ }
@@ -0,0 +1,7 @@
1
+ export declare enum TaskLogOutcome {
2
+ Noop = "Noop",
3
+ Success = "Success",
4
+ Info = "Info",
5
+ Warning = "Warning",
6
+ Error = "Error"
7
+ }
@@ -0,0 +1,6 @@
1
+ export declare enum TaskLogParameterType {
2
+ String = "String",
3
+ Int = "Int",
4
+ Decimal = "Decimal",
5
+ Bool = "Bool"
6
+ }
@@ -0,0 +1,6 @@
1
+ export declare enum TaskLogStatus {
2
+ New = "New",
3
+ Running = "Running",
4
+ Waiting = "Waiting",
5
+ Completed = "Completed"
6
+ }
@@ -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,7 @@
1
+ import { TaskLogTypeParameter } from './task-log-type-parameter';
2
+ export interface TaskLogType {
3
+ identifier: string;
4
+ name: string;
5
+ description: string;
6
+ parameters?: TaskLogTypeParameter[];
7
+ }
@@ -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,2 @@
1
+ import { CanActivateFn } from '@angular/router';
2
+ export declare const loggedOutGuard: CanActivateFn;
@@ -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
+ }
@@ -0,0 +1,3 @@
1
+ import { ResolveFn } from '@angular/router';
2
+ import { ResetPasswordToken } from '../domain/auth/reset-password-token';
3
+ export declare const resetPasswordResolver: ResolveFn<ResetPasswordToken>;
@@ -0,0 +1,2 @@
1
+ import { CanActivateFn } from '@angular/router';
2
+ export declare function roleGuard(...roles: string[]): CanActivateFn;
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
+ }
@@ -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';