@devopmaat/badaboom 1.3.8 → 1.3.10
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/fesm2022/devopmaat-badaboom.mjs +1291 -1047
- package/fesm2022/devopmaat-badaboom.mjs.map +1 -1
- package/index.d.ts +1229 -3
- package/lib/application/media/media-display/_bdb-media-display-theme.scss +36 -0
- package/lib/application/media/media-input/_bdb-media-input-theme.scss +36 -0
- package/lib/application/media/media-upload/_bdb-media-upload-theme.scss +36 -0
- package/lib/styles/_core-theme.scss +31 -0
- package/lib/styles/_theme.scss +35 -2
- package/lib/styles/material/_toolbar-theme.scss +7 -0
- package/package.json +5 -5
- package/lib/application/common/bdb-data-source.d.ts +0 -25
- package/lib/application/common/full-table/bdb-full-table.component.d.ts +0 -27
- package/lib/application/common/paginator/bdb-paginator.component.d.ts +0 -17
- package/lib/application/common/query-input/bdb-query-input.component.d.ts +0 -15
- package/lib/application/common/search/bdb-search-wrapper.component.d.ts +0 -13
- package/lib/application/common/search/bdb-search.component.d.ts +0 -43
- package/lib/application/common/table/bdb-cell.directive.d.ts +0 -9
- package/lib/application/common/table/bdb-column-builder.d.ts +0 -18
- package/lib/application/common/table/bdb-column-options.d.ts +0 -33
- package/lib/application/common/table/bdb-column-type.d.ts +0 -10
- package/lib/application/common/table/bdb-column.d.ts +0 -19
- package/lib/application/common/table/bdb-context-action.d.ts +0 -7
- package/lib/application/common/table/bdb-table.component.d.ts +0 -58
- package/lib/application/common/table/dynamic.pipe.d.ts +0 -9
- package/lib/application/exception-log/exception-log-table/exception-log-table.component.d.ts +0 -26
- package/lib/application/media/media-display/media-display.component.d.ts +0 -23
- package/lib/application/media/media-full-table/media-full-table.component.d.ts +0 -24
- package/lib/application/media/media-table/media-table.component.d.ts +0 -21
- package/lib/application/media/media-type.pipe.d.ts +0 -8
- package/lib/application/media/media-upload/media-drop.directive.d.ts +0 -27
- package/lib/application/media/media-upload/media-upload.component.d.ts +0 -15
- package/lib/application/task-log/task-log-outcome.pipe.d.ts +0 -8
- package/lib/application/task-log/task-log-status.pipe.d.ts +0 -8
- package/lib/application/task-log-parameter/task-log-parameter-value.pipe.d.ts +0 -10
- package/lib/application/user/user-table/user-table.component.d.ts +0 -25
- package/lib/bdb-auth-options.d.ts +0 -28
- package/lib/bdb-options.d.ts +0 -19
- package/lib/common/alert/bdb-alert.component.d.ts +0 -10
- package/lib/common/alert-error-response/bdb-alert-error-response.component.d.ts +0 -16
- package/lib/common/bdb-flex-child.directive.d.ts +0 -11
- package/lib/common/bdb-flex.directive.d.ts +0 -28
- package/lib/common/bdb-form-error.directive.d.ts +0 -15
- package/lib/common/bdb-grid-child.directive.d.ts +0 -14
- package/lib/common/bdb-grid.directive.d.ts +0 -26
- package/lib/common/bdb-palette.d.ts +0 -2
- package/lib/common/boolean-display/bdb-boolean-display.component.d.ts +0 -7
- package/lib/common/collapse-row/bdb-collapse-row.component.d.ts +0 -9
- package/lib/common/error-response-dialog/error-response-dialog.component.d.ts +0 -10
- package/lib/common/field/bdb-field.component.d.ts +0 -7
- package/lib/common/file-size.pipe.d.ts +0 -7
- package/lib/common/function.pipe.d.ts +0 -7
- package/lib/common/layout-error.d.ts +0 -3
- package/lib/common/linked-list.d.ts +0 -15
- package/lib/common/plain-number.pipe.d.ts +0 -7
- package/lib/common/youtube-player/youtube-player.component.d.ts +0 -14
- package/lib/domain/auth/account-info.d.ts +0 -6
- package/lib/domain/auth/account.service.d.ts +0 -29
- package/lib/domain/auth/auth.service.d.ts +0 -41
- package/lib/domain/auth/reset-password-token.d.ts +0 -4
- package/lib/domain/auth/token-expired.interceptor.d.ts +0 -2
- package/lib/domain/auth/token-reponse.d.ts +0 -5
- package/lib/domain/auth/token.interceptor.d.ts +0 -2
- package/lib/domain/common/bdb-filter.d.ts +0 -9
- package/lib/domain/common/bdb-request.d.ts +0 -10
- package/lib/domain/common/bdb-response.d.ts +0 -6
- package/lib/domain/common/entities/bdb-entity-read.d.ts +0 -3
- package/lib/domain/common/entities/bdb-entity-update.d.ts +0 -3
- package/lib/domain/common/entities/bdb-entity.d.ts +0 -3
- package/lib/domain/common/services/bdb-service-cr.d.ts +0 -7
- package/lib/domain/common/services/bdb-service-crd.d.ts +0 -7
- package/lib/domain/common/services/bdb-service-cru.d.ts +0 -8
- package/lib/domain/common/services/bdb-service-crud.d.ts +0 -8
- package/lib/domain/common/services/bdb-service-r.d.ts +0 -10
- package/lib/domain/common/services/bdb-service-rd.d.ts +0 -7
- package/lib/domain/common/services/bdb-service-ru.d.ts +0 -8
- package/lib/domain/common/services/bdb-service-rud.d.ts +0 -8
- package/lib/domain/common/services/bdb-service.d.ts +0 -6
- package/lib/domain/entities/exception-log/exception-log-read.d.ts +0 -9
- package/lib/domain/entities/exception-log/exception-log.d.ts +0 -9
- package/lib/domain/entities/exception-log/exception-log.service.d.ts +0 -9
- package/lib/domain/entities/media/media-preview.d.ts +0 -6
- package/lib/domain/entities/media/media.d.ts +0 -12
- package/lib/domain/entities/media/media.service.d.ts +0 -11
- package/lib/domain/entities/role/role-read.d.ts +0 -7
- package/lib/domain/entities/role/role.d.ts +0 -4
- package/lib/domain/entities/role/role.service.d.ts +0 -9
- package/lib/domain/entities/task-log/task-log-create.d.ts +0 -5
- package/lib/domain/entities/task-log/task-log-read.d.ts +0 -11
- package/lib/domain/entities/task-log/task-log.d.ts +0 -15
- package/lib/domain/entities/task-log/task-log.service.d.ts +0 -12
- package/lib/domain/entities/task-log-parameter/task-log-parameter-create.d.ts +0 -7
- package/lib/domain/entities/task-log-parameter/task-log-parameter-read.d.ts +0 -11
- package/lib/domain/entities/task-log-parameter/task-log-parameter.d.ts +0 -10
- package/lib/domain/entities/task-log-parameter/task-log-parameter.service.d.ts +0 -9
- package/lib/domain/entities/task-log-schedule/task-log-schedule-create.d.ts +0 -5
- package/lib/domain/entities/task-log-schedule/task-log-schedule-read.d.ts +0 -7
- package/lib/domain/entities/task-log-schedule/task-log-schedule-update.d.ts +0 -5
- package/lib/domain/entities/task-log-schedule/task-log-schedule.d.ts +0 -7
- package/lib/domain/entities/task-log-schedule/task-log-schedule.service.d.ts +0 -11
- package/lib/domain/entities/user/user-create.d.ts +0 -3
- package/lib/domain/entities/user/user-read.d.ts +0 -6
- package/lib/domain/entities/user/user-update.d.ts +0 -4
- package/lib/domain/entities/user/user.d.ts +0 -5
- package/lib/domain/entities/user/user.service.d.ts +0 -11
- package/lib/domain/entities/user-role/user-role-create.d.ts +0 -4
- package/lib/domain/entities/user-role/user-role-read.d.ts +0 -7
- package/lib/domain/entities/user-role/user-role.d.ts +0 -7
- package/lib/domain/entities/user-role/user-role.service.d.ts +0 -10
- package/lib/domain/enums/media-type.d.ts +0 -6
- package/lib/domain/enums/task-log-outcome.d.ts +0 -8
- package/lib/domain/enums/task-log-parameter-type.d.ts +0 -6
- package/lib/domain/enums/task-log-status.d.ts +0 -7
- package/lib/domain/tasks/task-log-scheduler.service.d.ts +0 -11
- package/lib/domain/tasks/task-log-type-parameter.d.ts +0 -11
- package/lib/domain/tasks/task-log-type.d.ts +0 -7
- package/lib/domain/tasks/task-log-type.service.d.ts +0 -14
- package/lib/lib.config.d.ts +0 -11
- package/lib/presentation/access-denied-page/access-denied-page.component.d.ts +0 -16
- package/lib/presentation/auth-container/auth-container.component.d.ts +0 -5
- package/lib/presentation/forgot-password-page/forgot-password-page.component.d.ts +0 -20
- package/lib/presentation/invalid-token-page/invalid-token-page.component.d.ts +0 -8
- package/lib/presentation/logged-out.guard.d.ts +0 -2
- package/lib/presentation/login-page/login-page.component.d.ts +0 -27
- package/lib/presentation/logout-page/logout-page.component.d.ts +0 -13
- package/lib/presentation/reset-password-page/reset-password-page.component.d.ts +0 -31
- package/lib/presentation/reset-password.resolver.d.ts +0 -3
- package/lib/presentation/role.guard.d.ts +0 -2
- package/public-api.d.ts +0 -110
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use 'sass:color';
|
|
3
|
+
@use '@angular/material' as mat;
|
|
4
|
+
@use '../../../styles/core-theme' as bdb;
|
|
5
|
+
|
|
6
|
+
@mixin color() {
|
|
7
|
+
& {
|
|
8
|
+
--bdb-media-display-container: var(--mat-sys-surface-container-lowest);
|
|
9
|
+
--bdb-media-display-container-hover: var(--mat-sys-surface-container-low);
|
|
10
|
+
--bdb-media-display-outline-color: var(--mat-sys-outline);
|
|
11
|
+
--bdb-media-display-fill: var(--mat-sys-surface-container-highest);
|
|
12
|
+
|
|
13
|
+
@each $palette-name in bdb.$palette-names {
|
|
14
|
+
.bdb-media-display.#{$palette-name} {
|
|
15
|
+
--bdb-media-display-container: var(--#{$palette-name}-6);
|
|
16
|
+
--bdb-media-display-container-hover: var(--#{$palette-name}-5);
|
|
17
|
+
--bdb-media-display-outline-color: var(--#{$palette-name}-10);
|
|
18
|
+
--bdb-media-display-fill: var(--#{$palette-name}-12);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.bdb-media-display.#{$palette-name}-container {
|
|
22
|
+
--bdb-media-display-container: var(--#{$palette-name}-10);
|
|
23
|
+
--bdb-media-display-container-hover: var(--#{$palette-name}-9);
|
|
24
|
+
--bdb-media-display-outline-color: var(--#{$palette-name}-6);
|
|
25
|
+
--bdb-media-display-fill: var(--#{$palette-name}-12);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@mixin typography($theme) {
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@mixin theme() {
|
|
35
|
+
@include color();
|
|
36
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use 'sass:color';
|
|
3
|
+
@use '@angular/material' as mat;
|
|
4
|
+
@use '../../../styles/core-theme' as bdb;
|
|
5
|
+
|
|
6
|
+
@mixin color() {
|
|
7
|
+
& {
|
|
8
|
+
--bdb-media-input-container: var(--mat-sys-surface-container-lowest);
|
|
9
|
+
--bdb-media-input-container-hover: var(--mat-sys-surface-container-low);
|
|
10
|
+
--bdb-media-input-outline-color: var(--mat-sys-outline);
|
|
11
|
+
--bdb-media-input-fill: var(--mat-sys-surface-container-highest);
|
|
12
|
+
|
|
13
|
+
@each $palette-name in bdb.$palette-names {
|
|
14
|
+
.bdb-media-input.#{$palette-name} {
|
|
15
|
+
--bdb-media-input-container: var(--#{$palette-name}-6);
|
|
16
|
+
--bdb-media-input-container-hover: var(--#{$palette-name}-5);
|
|
17
|
+
--bdb-media-input-outline-color: var(--#{$palette-name}-10);
|
|
18
|
+
--bdb-media-input-fill: var(--#{$palette-name}-12);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.bdb-media-input.#{$palette-name}-container {
|
|
22
|
+
--bdb-media-input-container: var(--#{$palette-name}-10);
|
|
23
|
+
--bdb-media-input-container-hover: var(--#{$palette-name}-9);
|
|
24
|
+
--bdb-media-input-outline-color: var(--#{$palette-name}-6);
|
|
25
|
+
--bdb-media-input-fill: var(--#{$palette-name}-12);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@mixin typography($theme) {
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@mixin theme() {
|
|
35
|
+
@include color();
|
|
36
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use 'sass:color';
|
|
3
|
+
@use '@angular/material' as mat;
|
|
4
|
+
@use '../../../styles/core-theme' as bdb;
|
|
5
|
+
|
|
6
|
+
@mixin color() {
|
|
7
|
+
& {
|
|
8
|
+
--bdb-media-upload-container: var(--mat-sys-surface-container-lowest);
|
|
9
|
+
--bdb-media-upload-container-hover: var(--mat-sys-surface-container-low);
|
|
10
|
+
--bdb-media-upload-outline-color: var(--mat-sys-outline);
|
|
11
|
+
--bdb-media-upload-fill: var(--mat-sys-surface-container-highest);
|
|
12
|
+
|
|
13
|
+
@each $palette-name in bdb.$palette-names {
|
|
14
|
+
.bdb-media-upload.#{$palette-name} {
|
|
15
|
+
--bdb-media-upload-container: var(--#{$palette-name}-6);
|
|
16
|
+
--bdb-media-upload-container-hover: var(--#{$palette-name}-5);
|
|
17
|
+
--bdb-media-upload-outline-color: var(--#{$palette-name}-10);
|
|
18
|
+
--bdb-media-upload-fill: var(--#{$palette-name}-12);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.bdb-media-upload.#{$palette-name}-container {
|
|
22
|
+
--bdb-media-upload-container: var(--#{$palette-name}-10);
|
|
23
|
+
--bdb-media-upload-container-hover: var(--#{$palette-name}-9);
|
|
24
|
+
--bdb-media-upload-outline-color: var(--#{$palette-name}-6);
|
|
25
|
+
--bdb-media-upload-fill: var(--#{$palette-name}-12);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@mixin typography($theme) {
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@mixin theme() {
|
|
35
|
+
@include color();
|
|
36
|
+
}
|
|
@@ -7,6 +7,7 @@ $material-palettes: 'primary', 'secondary', 'tertiary', 'error';
|
|
|
7
7
|
$badaboom-palettes: 'info', 'success', 'warn';
|
|
8
8
|
|
|
9
9
|
$palette-names: list.join($material-palettes, $badaboom-palettes, $separator: auto, $bracketed: auto);
|
|
10
|
+
$hues: 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 95, 98, 100;
|
|
10
11
|
|
|
11
12
|
@function bdb-get-theme-color($mat-theme, $bdb-theme, $palette-name, $hue) {
|
|
12
13
|
@if not list.index($palette-names, $palette-name) {
|
|
@@ -38,6 +39,36 @@ $palette-names: list.join($material-palettes, $badaboom-palettes, $separator: au
|
|
|
38
39
|
}
|
|
39
40
|
}
|
|
40
41
|
|
|
42
|
+
@function get-palette($mat-theme, $bdb-theme, $palette-name) {
|
|
43
|
+
@if not list.index($palette-names, $palette-name) {
|
|
44
|
+
@error "#{$palette-name} is not a valid BaDaBoom palette. Expected one of #{$palette-names}.";
|
|
45
|
+
}
|
|
46
|
+
@if list.index($badaboom-palettes, $palette-name) {
|
|
47
|
+
$colors: map.get($bdb-theme, color);
|
|
48
|
+
@if meta.type-of($colors) == 'map' {
|
|
49
|
+
$palette-map: map.get($colors, $palette-name);
|
|
50
|
+
@if meta.type-of($palette-map) == 'map' {
|
|
51
|
+
@return $palette-map;
|
|
52
|
+
} @else {
|
|
53
|
+
@error "Make sure `#{$palette-name}` is a Sass map.";
|
|
54
|
+
}
|
|
55
|
+
} @else {
|
|
56
|
+
@error "Make sure `color` is a Sass map.";
|
|
57
|
+
}
|
|
58
|
+
} @else {
|
|
59
|
+
$colors: map.get($mat-theme, color);
|
|
60
|
+
$palette: '';
|
|
61
|
+
@if ($palette-name == 'primary' or $palette-name == 'tertiary') {
|
|
62
|
+
$palette: map.get($colors, $palette-name);
|
|
63
|
+
} @else {
|
|
64
|
+
// only primary and tertiary are directly accessible, other palettes are nested in primary (for reasons that elude and vex me)
|
|
65
|
+
$primary-palette: map.get($colors, primary);
|
|
66
|
+
$palette: map.get($primary-palette, $palette-name);
|
|
67
|
+
}
|
|
68
|
+
@return $palette;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
41
72
|
@function palette-color($palette-name, $container: false) {
|
|
42
73
|
@if not list.index($palette-names, $palette-name) {
|
|
43
74
|
@error "#{$palette-name} is not a valid BaDaBoom palette. Expected one of #{$palette-names}.";
|
package/lib/styles/_theme.scss
CHANGED
|
@@ -27,7 +27,11 @@
|
|
|
27
27
|
@use '../common/field/bdb-field-theme';
|
|
28
28
|
@use '../common/collapse-row/bdb-collapse-row-theme';
|
|
29
29
|
|
|
30
|
-
@
|
|
30
|
+
@use '../application/media/media-display/bdb-media-display-theme';
|
|
31
|
+
@use '../application/media/media-input/bdb-media-input-theme';
|
|
32
|
+
@use '../application/media/media-upload/bdb-media-upload-theme';
|
|
33
|
+
|
|
34
|
+
@mixin system-level-colors($mat-theme, $bdb-theme) {
|
|
31
35
|
$palettes: map.get($bdb-theme, color);
|
|
32
36
|
@each $palette-name in bdb.$badaboom-palettes {
|
|
33
37
|
$palette: map.get($palettes, $palette-name);
|
|
@@ -40,6 +44,30 @@
|
|
|
40
44
|
}
|
|
41
45
|
}
|
|
42
46
|
|
|
47
|
+
@mixin set-color-tokens($mat-theme, $bdb-theme) {
|
|
48
|
+
@each $palette-name in bdb.$palette-names {
|
|
49
|
+
$palette: bdb.get-palette($mat-theme, $bdb-theme, $palette-name);
|
|
50
|
+
& {
|
|
51
|
+
--#{$palette-name}-0: light-dark(#{map.get($palette, 0)}, #{map.get($palette, 100)});
|
|
52
|
+
--#{$palette-name}-1: light-dark(#{map.get($palette, 10)}, #{map.get($palette, 99)});
|
|
53
|
+
--#{$palette-name}-2: light-dark(#{map.get($palette, 20)}, #{map.get($palette, 98)});
|
|
54
|
+
--#{$palette-name}-3: light-dark(#{map.get($palette, 25)}, #{map.get($palette, 95)});
|
|
55
|
+
--#{$palette-name}-4: light-dark(#{map.get($palette, 30)}, #{map.get($palette, 90)});
|
|
56
|
+
--#{$palette-name}-5: light-dark(#{map.get($palette, 35)}, #{map.get($palette, 80)});
|
|
57
|
+
--#{$palette-name}-6: light-dark(#{map.get($palette, 40)}, #{map.get($palette, 70)});
|
|
58
|
+
--#{$palette-name}-7: light-dark(#{map.get($palette, 50)}, #{map.get($palette, 60)});
|
|
59
|
+
--#{$palette-name}-8: light-dark(#{map.get($palette, 60)}, #{map.get($palette, 50)});
|
|
60
|
+
--#{$palette-name}-9: light-dark(#{map.get($palette, 70)}, #{map.get($palette, 40)});
|
|
61
|
+
--#{$palette-name}-10: light-dark(#{map.get($palette, 80)}, #{map.get($palette, 35)});
|
|
62
|
+
--#{$palette-name}-11: light-dark(#{map.get($palette, 90)}, #{map.get($palette, 30)});
|
|
63
|
+
--#{$palette-name}-12: light-dark(#{map.get($palette, 95)}, #{map.get($palette, 25)});
|
|
64
|
+
--#{$palette-name}-13: light-dark(#{map.get($palette, 98)}, #{map.get($palette, 20)});
|
|
65
|
+
--#{$palette-name}-14: light-dark(#{map.get($palette, 99)}, #{map.get($palette, 10)});
|
|
66
|
+
--#{$palette-name}-15: light-dark(#{map.get($palette, 100)}, #{map.get($palette, 0)});
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
43
71
|
@mixin all-component-themes($mat-theme, $bdb-theme) {
|
|
44
72
|
@include badge-theme.theme($bdb-theme);
|
|
45
73
|
@include button-theme.theme($bdb-theme);
|
|
@@ -65,10 +93,15 @@
|
|
|
65
93
|
@include bdb-collapse-row-theme.theme($bdb-theme);
|
|
66
94
|
@include bdb-field-theme.theme($bdb-theme);
|
|
67
95
|
@include bdb-table-theme.theme($mat-theme, $bdb-theme);
|
|
96
|
+
|
|
97
|
+
@include bdb-media-display-theme.theme();
|
|
98
|
+
@include bdb-media-input-theme.theme();
|
|
99
|
+
@include bdb-media-upload-theme.theme();
|
|
68
100
|
}
|
|
69
101
|
|
|
70
102
|
@mixin theme($mat-theme, $bdb-theme) {
|
|
71
103
|
@include mat.theme($mat-theme);
|
|
72
|
-
@include system-level-colors($bdb-theme);
|
|
104
|
+
@include system-level-colors($mat-theme, $bdb-theme);
|
|
105
|
+
@include set-color-tokens($mat-theme, $bdb-theme);
|
|
73
106
|
@include all-component-themes($mat-theme, $bdb-theme);
|
|
74
107
|
}
|
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
@use '../core-theme' as bdb;
|
|
4
4
|
|
|
5
5
|
@mixin color($theme) {
|
|
6
|
+
@include mat.toolbar-overrides(
|
|
7
|
+
(
|
|
8
|
+
container-background-color: var(--mat-sys-surface-container),
|
|
9
|
+
container-text-color: var(--mat-sys-on-surface-container),
|
|
10
|
+
)
|
|
11
|
+
);
|
|
12
|
+
|
|
6
13
|
@each $palette-name in bdb.$palette-names {
|
|
7
14
|
$bg: bdb.palette-color($palette-name);
|
|
8
15
|
$bg-container: bdb.palette-color($palette-name, true);
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devopmaat/badaboom",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.10",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/common": "^
|
|
6
|
-
"@angular/core": "^
|
|
7
|
-
"@angular/material": "^
|
|
8
|
-
"@angular/youtube-player": "^
|
|
5
|
+
"@angular/common": "^20.0.0",
|
|
6
|
+
"@angular/core": "^20.0.0",
|
|
7
|
+
"@angular/material": "^20.0.0",
|
|
8
|
+
"@angular/youtube-player": "^20.0.0"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"tslib": "^2.3.0"
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { DataSource } from '@angular/cdk/collections';
|
|
2
|
-
import { BdbEntityRead } from '../../domain/common/entities/bdb-entity-read';
|
|
3
|
-
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
|
-
import { BdbResponse } from '../../domain/common/bdb-response';
|
|
5
|
-
import { HttpErrorResponse } from '@angular/common/http';
|
|
6
|
-
import { BdbRequest } from '../../domain/common/bdb-request';
|
|
7
|
-
import { BdbServiceR } from '../../domain/common/services/bdb-service-r';
|
|
8
|
-
import { BdbEntity } from '../../domain/common/entities/bdb-entity';
|
|
9
|
-
export declare class BdbDataSource<TEntityRead extends BdbEntityRead> implements DataSource<TEntityRead> {
|
|
10
|
-
private service;
|
|
11
|
-
dataSubject: BehaviorSubject<TEntityRead[]>;
|
|
12
|
-
private responseSubject;
|
|
13
|
-
private loadingSubject;
|
|
14
|
-
private errorSubject;
|
|
15
|
-
loading$: Observable<boolean>;
|
|
16
|
-
error$: Observable<HttpErrorResponse | null>;
|
|
17
|
-
response$: Observable<BdbResponse<TEntityRead>>;
|
|
18
|
-
readonly request: BdbRequest;
|
|
19
|
-
get data(): TEntityRead[];
|
|
20
|
-
constructor(service: BdbServiceR<BdbEntity, TEntityRead>, initialRequest?: BdbRequest);
|
|
21
|
-
disconnect(): void;
|
|
22
|
-
connect(): Observable<TEntityRead[] | readonly TEntityRead[]>;
|
|
23
|
-
loadMethod(service: BdbServiceR<BdbEntity, TEntityRead>, request: BdbRequest): Observable<BdbResponse<TEntityRead>>;
|
|
24
|
-
load(): void;
|
|
25
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { SelectionModel } from '@angular/cdk/collections';
|
|
2
|
-
import { EventEmitter, QueryList } from '@angular/core';
|
|
3
|
-
import { BdbEntity } from '../../../domain/common/entities/bdb-entity';
|
|
4
|
-
import { BdbDataSource } from '../bdb-data-source';
|
|
5
|
-
import { BdbColumn } from '../table/bdb-column';
|
|
6
|
-
import { BdbContextAction } from '../table/bdb-context-action';
|
|
7
|
-
import { BdbM3Palette } from '../../../common/bdb-palette';
|
|
8
|
-
import { BdbCellDirective } from '../table/bdb-cell.directive';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class BdbFullTableComponent<TEntityRead extends BdbEntity> {
|
|
11
|
-
dataSource: BdbDataSource<TEntityRead>;
|
|
12
|
-
columns: BdbColumn<TEntityRead, unknown>[];
|
|
13
|
-
displayedColumns: string[];
|
|
14
|
-
autoLoad?: boolean;
|
|
15
|
-
selection?: SelectionModel<TEntityRead>;
|
|
16
|
-
contextActions: BdbContextAction<TEntityRead>[];
|
|
17
|
-
rowColor?: (x: TEntityRead) => BdbM3Palette;
|
|
18
|
-
showToolbar: boolean;
|
|
19
|
-
rowClick: EventEmitter<TEntityRead>;
|
|
20
|
-
contextAction: EventEmitter<{
|
|
21
|
-
action: BdbContextAction<TEntityRead>;
|
|
22
|
-
row: TEntityRead;
|
|
23
|
-
}>;
|
|
24
|
-
cellTemplates: QueryList<BdbCellDirective> | undefined;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BdbFullTableComponent<any>, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BdbFullTableComponent<any>, "bdb-full-table", never, { "dataSource": { "alias": "dataSource"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "displayedColumns": { "alias": "displayedColumns"; "required": false; }; "autoLoad": { "alias": "autoLoad"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; "contextActions": { "alias": "contextActions"; "required": false; }; "rowColor": { "alias": "rowColor"; "required": false; }; "showToolbar": { "alias": "showToolbar"; "required": false; }; }, { "rowClick": "rowClick"; "contextAction": "contextAction"; }, ["cellTemplates"], ["toolbar-item"], true, never>;
|
|
27
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { PageEvent } from '@angular/material/paginator';
|
|
3
|
-
import { BdbEntityRead } from '../../../domain/common/entities/bdb-entity-read';
|
|
4
|
-
import { BdbDataSource } from '../bdb-data-source';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class BdbPaginatorComponent<TEntityRead extends BdbEntityRead> implements OnInit, OnDestroy {
|
|
7
|
-
dataSource: BdbDataSource<TEntityRead>;
|
|
8
|
-
private _onDestroy;
|
|
9
|
-
pageSize?: number;
|
|
10
|
-
page?: number;
|
|
11
|
-
length?: number;
|
|
12
|
-
ngOnInit(): void;
|
|
13
|
-
ngOnDestroy(): void;
|
|
14
|
-
changePage(event: PageEvent): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BdbPaginatorComponent<any>, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BdbPaginatorComponent<any>, "bdb-paginator", never, { "dataSource": { "alias": "dataSource"; "required": false; }; }, {}, never, never, true, never>;
|
|
17
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { FormControl } from '@angular/forms';
|
|
3
|
-
import { BdbEntityRead } from '../../../domain/common/entities/bdb-entity-read';
|
|
4
|
-
import { BdbDataSource } from '../bdb-data-source';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class BdbQueryInputComponent<TEntityRead extends BdbEntityRead> implements OnInit, OnDestroy {
|
|
7
|
-
class: string;
|
|
8
|
-
dataSource: BdbDataSource<TEntityRead>;
|
|
9
|
-
private _onDestroy;
|
|
10
|
-
queryFormControl: FormControl<string | undefined>;
|
|
11
|
-
ngOnInit(): void;
|
|
12
|
-
ngOnDestroy(): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BdbQueryInputComponent<any>, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BdbQueryInputComponent<any>, "bdb-query-input[dataSource]", never, { "dataSource": { "alias": "dataSource"; "required": false; }; }, {}, never, never, true, never>;
|
|
15
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { ControlContainer, FormControl } from '@angular/forms';
|
|
3
|
-
import { BdbEntityRead } from '../../../domain/common/entities/bdb-entity-read';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare abstract class BdbSearchWrapperBaseComponent<TEntityRead extends BdbEntityRead> implements OnInit {
|
|
6
|
-
controlName?: string;
|
|
7
|
-
control?: FormControl<TEntityRead | null>;
|
|
8
|
-
formControl: FormControl<TEntityRead | null>;
|
|
9
|
-
controlContainer: ControlContainer;
|
|
10
|
-
ngOnInit(): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BdbSearchWrapperBaseComponent<any>, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BdbSearchWrapperBaseComponent<any>, "ng-component", never, { "controlName": { "alias": "controlName"; "required": false; }; "control": { "alias": "control"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { CollectionViewer, ListRange } from '@angular/cdk/collections';
|
|
2
|
-
import { AfterViewInit, ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
3
|
-
import { ControlValueAccessor, FormControl, NgControl } from '@angular/forms';
|
|
4
|
-
import { MatAutocompleteSelectedEvent, MatAutocompleteTrigger } from '@angular/material/autocomplete';
|
|
5
|
-
import { MatIconButton } from '@angular/material/button';
|
|
6
|
-
import { BehaviorSubject, Observable } from 'rxjs';
|
|
7
|
-
import { BdbEntityRead } from '../../../domain/common/entities/bdb-entity-read';
|
|
8
|
-
import { BdbDataSource } from '../bdb-data-source';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class BdbSearchComponent<TEntityRead extends BdbEntityRead> implements CollectionViewer, OnInit, AfterViewInit, OnDestroy, ControlValueAccessor {
|
|
11
|
-
ngControl: NgControl;
|
|
12
|
-
dataSource: BdbDataSource<TEntityRead>;
|
|
13
|
-
displayFn: (_: TEntityRead | string) => string;
|
|
14
|
-
label: string;
|
|
15
|
-
hint: string;
|
|
16
|
-
placeholder: string;
|
|
17
|
-
searchInput?: ElementRef<HTMLInputElement>;
|
|
18
|
-
clearButton?: MatIconButton;
|
|
19
|
-
autoCompleteTrigger?: MatAutocompleteTrigger;
|
|
20
|
-
private readonly _onDestroy;
|
|
21
|
-
viewChange: BehaviorSubject<ListRange>;
|
|
22
|
-
searchOptions?: Observable<TEntityRead[] | readonly TEntityRead[]>;
|
|
23
|
-
searchCtrl: FormControl<string | TEntityRead>;
|
|
24
|
-
inputTabIndex: number;
|
|
25
|
-
hasValue: boolean;
|
|
26
|
-
isDisabled: boolean;
|
|
27
|
-
onChange?: (_: TEntityRead | null) => void;
|
|
28
|
-
onTouch?: () => void;
|
|
29
|
-
constructor(ngControl: NgControl);
|
|
30
|
-
ngOnInit(): void;
|
|
31
|
-
ngAfterViewInit(): void;
|
|
32
|
-
ngOnDestroy(): void;
|
|
33
|
-
writeValue(obj: TEntityRead | null): void;
|
|
34
|
-
registerOnChange(fn: (_: TEntityRead | null) => void): void;
|
|
35
|
-
registerOnTouched(fn: () => void): void;
|
|
36
|
-
setDisabledState(isDisabled: boolean): void;
|
|
37
|
-
onFocus(): void;
|
|
38
|
-
onBlur(): void;
|
|
39
|
-
selectOption(event: MatAutocompleteSelectedEvent): void;
|
|
40
|
-
clear(): void;
|
|
41
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BdbSearchComponent<any>, [{ optional: true; self: true; }]>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BdbSearchComponent<any>, "bdb-search", never, { "dataSource": { "alias": "dataSource"; "required": false; }; "displayFn": { "alias": "displayFn"; "required": false; }; "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, {}, never, never, true, never>;
|
|
43
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BdbCellDirective {
|
|
4
|
-
templateRef: TemplateRef<never>;
|
|
5
|
-
bdbCellDef: string;
|
|
6
|
-
constructor(templateRef: TemplateRef<never>);
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BdbCellDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BdbCellDirective, "ng-template[bdbCellDef]", never, { "bdbCellDef": { "alias": "bdbCellDef"; "required": false; }; }, {}, never, never, true, never>;
|
|
9
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { BdbBooleanColumnOptions, BdbColumnOptions, BdbCurrencyColumnOptions, BdbDateColumnOptions, BdbEnumColumnOptions, BdbNumberColumnOptions, BdbPercentageColumnOptions, BdbStringColumnOptions } from './bdb-column-options';
|
|
2
|
-
import { BdbColumn } from './bdb-column';
|
|
3
|
-
import { BdbEntityRead } from '../../../domain/common/entities/bdb-entity-read';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class BdbColumnBuilder<TRead extends BdbEntityRead> {
|
|
6
|
-
build(...columns: BdbColumn<TRead, unknown>[]): BdbColumn<TRead, unknown>[];
|
|
7
|
-
string(field: (x: TRead) => string | undefined, title: string, options?: BdbStringColumnOptions): BdbColumn<TRead, string | undefined>;
|
|
8
|
-
number(field: (x: TRead) => number | undefined, title: string, options?: BdbNumberColumnOptions): BdbColumn<TRead, number | undefined>;
|
|
9
|
-
percentage(field: (x: TRead) => number | undefined, title: string, options?: BdbPercentageColumnOptions): BdbColumn<TRead, number | undefined>;
|
|
10
|
-
currency(field: (x: TRead) => number | undefined, title: string, options?: BdbCurrencyColumnOptions): BdbColumn<TRead, number | undefined>;
|
|
11
|
-
date(field: (x: TRead) => Date | undefined, title: string, options?: BdbDateColumnOptions): BdbColumn<TRead, Date | undefined>;
|
|
12
|
-
boolean(field: (x: TRead) => boolean | undefined, title: string, options?: BdbBooleanColumnOptions): BdbColumn<TRead, boolean | undefined>;
|
|
13
|
-
enum<TEnum>(field: (x: TRead) => TEnum | undefined, title: string, options?: BdbEnumColumnOptions): BdbColumn<TRead, TEnum | undefined>;
|
|
14
|
-
custom(id: string, title: string, options?: BdbColumnOptions): BdbColumn<TRead, unknown>;
|
|
15
|
-
private _buildCommonOptions;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BdbColumnBuilder<any>, never>;
|
|
17
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BdbColumnBuilder<any>>;
|
|
18
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { PipeTransform, Type } from '@angular/core';
|
|
2
|
-
export interface BdbColumnOptions {
|
|
3
|
-
id?: string;
|
|
4
|
-
sortDisabled?: boolean;
|
|
5
|
-
width?: number;
|
|
6
|
-
textAlign?: 'start' | 'end';
|
|
7
|
-
}
|
|
8
|
-
export interface BdbBooleanColumnOptions extends BdbColumnOptions {
|
|
9
|
-
icon?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export interface BdbDateColumnOptions extends BdbColumnOptions {
|
|
12
|
-
format?: string;
|
|
13
|
-
}
|
|
14
|
-
export interface BdbEnumColumnOptions extends BdbColumnOptions {
|
|
15
|
-
pipe?: Type<PipeTransform>;
|
|
16
|
-
}
|
|
17
|
-
export interface BdbNumberColumnOptions extends BdbColumnOptions {
|
|
18
|
-
pipe?: Type<PipeTransform>;
|
|
19
|
-
format?: string;
|
|
20
|
-
}
|
|
21
|
-
export interface BdbPercentageColumnOptions extends BdbColumnOptions {
|
|
22
|
-
digitsInfo?: string;
|
|
23
|
-
locale?: string;
|
|
24
|
-
}
|
|
25
|
-
export interface BdbCurrencyColumnOptions extends BdbColumnOptions {
|
|
26
|
-
currencyCode?: string;
|
|
27
|
-
display?: string;
|
|
28
|
-
digitsInfo?: string;
|
|
29
|
-
locale?: string;
|
|
30
|
-
}
|
|
31
|
-
export interface BdbStringColumnOptions extends BdbColumnOptions {
|
|
32
|
-
pipe?: Type<PipeTransform>;
|
|
33
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { PipeTransform, TemplateRef, Type } from '@angular/core';
|
|
2
|
-
import { BdbColumnType } from './bdb-column-type';
|
|
3
|
-
export interface BdbColumn<TRead, TField> {
|
|
4
|
-
template?: TemplateRef<never> | undefined;
|
|
5
|
-
field: (x: TRead) => TField;
|
|
6
|
-
type: BdbColumnType;
|
|
7
|
-
id: string;
|
|
8
|
-
title: string;
|
|
9
|
-
sortDisabled?: boolean;
|
|
10
|
-
width?: number;
|
|
11
|
-
textAlign?: 'start' | 'end';
|
|
12
|
-
format?: string;
|
|
13
|
-
icon?: boolean;
|
|
14
|
-
pipe?: Type<PipeTransform>;
|
|
15
|
-
currencyCode?: string;
|
|
16
|
-
display?: string;
|
|
17
|
-
digitsInfo?: string;
|
|
18
|
-
locale?: string;
|
|
19
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { AfterContentInit, EventEmitter, OnChanges, OnDestroy, OnInit, QueryList, TrackByFunction } from '@angular/core';
|
|
2
|
-
import { HttpErrorResponse } from '@angular/common/http';
|
|
3
|
-
import { MatMenuTrigger } from '@angular/material/menu';
|
|
4
|
-
import { Sort } from '@angular/material/sort';
|
|
5
|
-
import { SelectionModel } from '@angular/cdk/collections';
|
|
6
|
-
import { BdbEntity } from '../../../domain/common/entities/bdb-entity';
|
|
7
|
-
import { BdbColumn } from './bdb-column';
|
|
8
|
-
import { BdbDataSource } from '../bdb-data-source';
|
|
9
|
-
import { BdbContextAction } from './bdb-context-action';
|
|
10
|
-
import { BdbCellDirective } from './bdb-cell.directive';
|
|
11
|
-
import { BdbColumnType } from './bdb-column-type';
|
|
12
|
-
import { BdbM3Palette } from '../../../common/bdb-palette';
|
|
13
|
-
import * as i0 from "@angular/core";
|
|
14
|
-
export declare class BdbTableComponent<TRead extends BdbEntity> implements OnInit, OnChanges, AfterContentInit, OnDestroy {
|
|
15
|
-
private readonly _onDestroy;
|
|
16
|
-
columns: BdbColumn<TRead, unknown>[];
|
|
17
|
-
dataSource: BdbDataSource<TRead>;
|
|
18
|
-
autoLoad?: boolean;
|
|
19
|
-
displayedColumns: string[];
|
|
20
|
-
contextActions: BdbContextAction<TRead>[];
|
|
21
|
-
selection?: SelectionModel<TRead>;
|
|
22
|
-
selectOnRowClick: boolean;
|
|
23
|
-
selectedRowClass: string;
|
|
24
|
-
isClickable: boolean;
|
|
25
|
-
rowClick: EventEmitter<TRead>;
|
|
26
|
-
contextAction: EventEmitter<{
|
|
27
|
-
action: BdbContextAction<TRead>;
|
|
28
|
-
row: TRead;
|
|
29
|
-
}>;
|
|
30
|
-
contextMenu: MatMenuTrigger;
|
|
31
|
-
cellTemplates: QueryList<BdbCellDirective> | undefined;
|
|
32
|
-
error: HttpErrorResponse | undefined;
|
|
33
|
-
columnType: typeof BdbColumnType;
|
|
34
|
-
contextMenuPosition: {
|
|
35
|
-
x: string;
|
|
36
|
-
y: string;
|
|
37
|
-
};
|
|
38
|
-
rowColor?: (x: TRead) => BdbM3Palette;
|
|
39
|
-
trackById: TrackByFunction<BdbEntity>;
|
|
40
|
-
ngOnInit(): void;
|
|
41
|
-
ngOnChanges(): void;
|
|
42
|
-
ngAfterContentInit(): void;
|
|
43
|
-
ngOnDestroy(): void;
|
|
44
|
-
load(): void;
|
|
45
|
-
setColumnTemplates(): void;
|
|
46
|
-
onRowClick(row: TRead): void;
|
|
47
|
-
sortData(event: Sort): void;
|
|
48
|
-
onContextMenu(event: MouseEvent, row: TRead): void;
|
|
49
|
-
onContextMenuAction(action: BdbContextAction<TRead>, row: TRead): void;
|
|
50
|
-
isAllSelected(): boolean;
|
|
51
|
-
anySelected(): boolean;
|
|
52
|
-
toggleAllRows(): void;
|
|
53
|
-
rowClass(row: TRead): {
|
|
54
|
-
[klass: string]: unknown;
|
|
55
|
-
} | undefined;
|
|
56
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BdbTableComponent<any>, never>;
|
|
57
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BdbTableComponent<any>, "bdb-table[dataSource]", never, { "columns": { "alias": "columns"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "autoLoad": { "alias": "autoLoad"; "required": false; }; "displayedColumns": { "alias": "displayedColumns"; "required": false; }; "contextActions": { "alias": "contextActions"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; "selectOnRowClick": { "alias": "selectOnRowClick"; "required": false; }; "selectedRowClass": { "alias": "selectedRowClass"; "required": false; }; "isClickable": { "alias": "isClickable"; "required": false; }; "rowColor": { "alias": "rowColor"; "required": false; }; }, { "rowClick": "rowClick"; "contextAction": "contextAction"; }, ["cellTemplates"], ["*"], true, never>;
|
|
58
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Injector, PipeTransform, Type } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class DynamicPipe implements PipeTransform {
|
|
4
|
-
private injector;
|
|
5
|
-
constructor(injector: Injector);
|
|
6
|
-
transform(value: unknown, requiredPipe: Type<PipeTransform>, pipeArgs: unknown): unknown;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicPipe, never>;
|
|
8
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<DynamicPipe, "dynamicPipe", true>;
|
|
9
|
-
}
|
package/lib/application/exception-log/exception-log-table/exception-log-table.component.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { ExceptionLogRead } from '../../../domain/entities/exception-log/exception-log-read';
|
|
3
|
-
import { BdbDataSource } from '../../common/bdb-data-source';
|
|
4
|
-
import { BdbColumnBuilder } from '../../common/table/bdb-column-builder';
|
|
5
|
-
import { BdbContextAction } from '../../common/table/bdb-context-action';
|
|
6
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
7
|
-
import { BdbColumn } from '../../common/table/bdb-column';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class ExceptionLogTableComponent {
|
|
10
|
-
private cb;
|
|
11
|
-
private router;
|
|
12
|
-
private activatedRoute;
|
|
13
|
-
dataSource: BdbDataSource<ExceptionLogRead>;
|
|
14
|
-
displayedColumns: string[];
|
|
15
|
-
rowClick: EventEmitter<ExceptionLogRead>;
|
|
16
|
-
columns: BdbColumn<ExceptionLogRead, unknown>[];
|
|
17
|
-
constructor(cb: BdbColumnBuilder<ExceptionLogRead>, router: Router, activatedRoute: ActivatedRoute);
|
|
18
|
-
contextActions: BdbContextAction<ExceptionLogRead>[];
|
|
19
|
-
onRowClick(row: ExceptionLogRead): void;
|
|
20
|
-
onContextAction(event: {
|
|
21
|
-
action: BdbContextAction<ExceptionLogRead>;
|
|
22
|
-
row: ExceptionLogRead;
|
|
23
|
-
}): void;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ExceptionLogTableComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ExceptionLogTableComponent, "bdb-exception-log-table[dataSource]", never, { "dataSource": { "alias": "dataSource"; "required": false; }; "displayedColumns": { "alias": "displayedColumns"; "required": false; }; "contextActions": { "alias": "contextActions"; "required": false; }; }, { "rowClick": "rowClick"; }, never, never, true, never>;
|
|
26
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { OnChanges } from '@angular/core';
|
|
2
|
-
import { MediaType } from '../../../domain/enums/media-type';
|
|
3
|
-
import { Media } from '../../../domain/entities/media/media';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class BdbMediaDisplayComponent implements OnChanges {
|
|
6
|
-
media?: Media;
|
|
7
|
-
mode: 'preview' | 'live';
|
|
8
|
-
width?: number;
|
|
9
|
-
height?: number;
|
|
10
|
-
alt?: string;
|
|
11
|
-
bdbOptions: import("../../../bdb-options").BdbOptions;
|
|
12
|
-
src?: string;
|
|
13
|
-
mediaType: typeof MediaType;
|
|
14
|
-
hasError: boolean;
|
|
15
|
-
noMediaUrl?: string;
|
|
16
|
-
ngOnChanges(): void;
|
|
17
|
-
getSource(media?: Media, download?: boolean): string | undefined;
|
|
18
|
-
errorHandler(): void;
|
|
19
|
-
getDownloadUrl(): string | undefined;
|
|
20
|
-
getFileExtension(fileName: string): string | undefined;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BdbMediaDisplayComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BdbMediaDisplayComponent, "bdb-media-display", never, { "media": { "alias": "media"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "alt": { "alias": "alt"; "required": false; }; }, {}, never, never, true, never>;
|
|
23
|
-
}
|