@porscheinformatik/material-addons 17.0.2 → 17.1.0
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/esm2022/lib/button/button.mjs +3 -1
- package/esm2022/lib/button/button.module.mjs +34 -4
- package/esm2022/lib/button/flat-button/link-button.component.mjs +2 -2
- package/esm2022/lib/button/icon-button/icon-button.component.mjs +2 -2
- package/esm2022/lib/button/mad-basic-button.mjs +2 -2
- package/esm2022/lib/button/mad-button/mad-button.directive.mjs +60 -0
- package/esm2022/lib/button/mad-button-group/mad-button-group.component.mjs +20 -0
- package/esm2022/lib/button/outline-button/outline-button.component.mjs +6 -3
- package/esm2022/lib/button/primary-button/primary-button.component.mjs +3 -3
- package/esm2022/lib/card/card.component.mjs +3 -3
- package/esm2022/lib/card/card.mjs +1 -1
- package/esm2022/lib/data-table/data-table-columns-modal/data-table-columns-modal.component.mjs +5 -5
- package/esm2022/lib/data-table/data-table.component.mjs +3 -3
- package/esm2022/lib/data-table/data-table.mjs +1 -1
- package/esm2022/lib/file-upload/drag-and-drop-directive.directive.mjs +2 -2
- package/esm2022/lib/file-upload/file-upload.component.mjs +18 -12
- package/esm2022/lib/layout/content-panel/content-header/content-header.component.mjs +11 -0
- package/esm2022/lib/layout/content-panel/content-panel-container/content-panel-container.component.mjs +11 -0
- package/esm2022/lib/layout/content-panel/content-panel-container-content/content-panel-container-content.component.mjs +11 -0
- package/esm2022/lib/layout/content-panel/content-panel-container-footer/content-panel-container-footer.component.mjs +11 -0
- package/esm2022/lib/layout/content-panel/content-panel-container-sidebar/content-panel-container-sidebar.component.mjs +11 -0
- package/esm2022/lib/layout/content-panel/content-panel.module.mjs +47 -0
- package/esm2022/lib/layout/content-panel/main-container/main-container.component.mjs +11 -0
- package/esm2022/lib/layout/flowbar/flowbar.component.mjs +190 -0
- package/esm2022/lib/{flowbar → layout/flowbar}/flowbar.module.mjs +1 -1
- package/esm2022/lib/layout/sidebar/sidebar-item/sidebar-item.component.mjs +11 -0
- package/esm2022/lib/layout/sidebar/sidebar.component.mjs +19 -0
- package/esm2022/lib/layout/sidebar/sidebar.module.mjs +21 -0
- package/esm2022/lib/layout/toolbar/toolbar-action.interface.mjs +2 -0
- package/esm2022/lib/layout/toolbar/toolbar.component.mjs +78 -0
- package/esm2022/lib/layout/toolbar/toolbar.module.mjs +56 -0
- package/esm2022/lib/layout/toolbar/toolbar.service.mjs +124 -0
- package/esm2022/lib/material-addons.module.mjs +8 -4
- package/esm2022/lib/numeric-field/numeric-field.directive.mjs +4 -4
- package/esm2022/lib/numeric-field/numeric-field.mjs +1 -1
- package/esm2022/lib/quick-list/base-quick-list.component.mjs +2 -4
- package/esm2022/lib/quick-list/quick-list-compact/quick-list-compact.component.mjs +3 -3
- package/esm2022/lib/quick-list/quick-list.component.mjs +3 -3
- package/esm2022/lib/quick-list/quick-list.mjs +1 -1
- package/esm2022/lib/quick-list/quick-list.module.mjs +25 -5
- package/esm2022/lib/quick-list/reactive-form-quick-list/reactive-form-quick-list.component.mjs +4 -4
- package/esm2022/lib/quick-list/reactive-form-quick-list-compact/reactive-form-quick-list-compact.component.mjs +4 -4
- package/esm2022/lib/readonly/readonly-form-field/readonly-form-field.component.mjs +3 -3
- package/esm2022/lib/readonly/readonly-form-field-wrapper/readonly-form-field-wrapper.component.mjs +3 -3
- package/esm2022/lib/readonly/readonly-form-field.module.mjs +2 -2
- package/esm2022/lib/stepper/step-header/step-header.component.mjs +3 -3
- package/esm2022/lib/stepper/stepper.component.mjs +7 -7
- package/esm2022/lib/stepper/stepper.module.mjs +2 -2
- package/esm2022/lib/table/table.component.mjs +3 -3
- package/esm2022/lib/table/table.mjs +1 -1
- package/esm2022/lib/throttle-click/throttle-click.directive.mjs +2 -2
- package/esm2022/public_api.mjs +17 -13
- package/fesm2022/porscheinformatik-material-addons.mjs +510 -326
- package/fesm2022/porscheinformatik-material-addons.mjs.map +1 -1
- package/lib/button/button.d.ts +2 -0
- package/lib/button/button.d.ts.map +1 -1
- package/lib/button/button.module.d.ts +8 -6
- package/lib/button/button.module.d.ts.map +1 -1
- package/lib/button/flat-button/link-button.component.d.ts.map +1 -1
- package/lib/button/icon-button/icon-button.component.d.ts.map +1 -1
- package/lib/button/mad-basic-button.d.ts.map +1 -1
- package/lib/button/mad-button/mad-button.directive.d.ts +23 -0
- package/lib/button/mad-button/mad-button.directive.d.ts.map +1 -0
- package/lib/button/mad-button-group/mad-button-group.component.d.ts +7 -0
- package/lib/button/mad-button-group/mad-button-group.component.d.ts.map +1 -0
- package/lib/button/outline-button/outline-button.component.d.ts +3 -1
- package/lib/button/outline-button/outline-button.component.d.ts.map +1 -1
- package/lib/button/primary-button/primary-button.component.d.ts.map +1 -1
- package/lib/card/card.d.ts.map +1 -1
- package/lib/data-table/data-table.d.ts.map +1 -1
- package/lib/file-upload/drag-and-drop-directive.directive.d.ts.map +1 -1
- package/lib/file-upload/file-upload.component.d.ts +5 -3
- package/lib/file-upload/file-upload.component.d.ts.map +1 -1
- package/lib/layout/content-panel/content-header/content-header.component.d.ts.map +1 -0
- package/lib/{content-panel → layout/content-panel}/content-panel-container/content-panel-container.component.d.ts +1 -1
- package/lib/layout/content-panel/content-panel-container/content-panel-container.component.d.ts.map +1 -0
- package/lib/layout/content-panel/content-panel-container-content/content-panel-container-content.component.d.ts.map +1 -0
- package/lib/layout/content-panel/content-panel-container-footer/content-panel-container-footer.component.d.ts.map +1 -0
- package/lib/layout/content-panel/content-panel-container-sidebar/content-panel-container-sidebar.component.d.ts +6 -0
- package/lib/layout/content-panel/content-panel-container-sidebar/content-panel-container-sidebar.component.d.ts.map +1 -0
- package/lib/{content-panel → layout/content-panel}/content-panel.module.d.ts +4 -3
- package/lib/layout/content-panel/content-panel.module.d.ts.map +1 -0
- package/lib/layout/content-panel/main-container/main-container.component.d.ts.map +1 -0
- package/lib/layout/flowbar/flowbar.component.d.ts.map +1 -0
- package/lib/layout/flowbar/flowbar.module.d.ts.map +1 -0
- package/lib/layout/sidebar/sidebar-item/sidebar-item.component.d.ts +6 -0
- package/lib/layout/sidebar/sidebar-item/sidebar-item.component.d.ts.map +1 -0
- package/lib/layout/sidebar/sidebar.component.d.ts +8 -0
- package/lib/layout/sidebar/sidebar.component.d.ts.map +1 -0
- package/lib/layout/sidebar/sidebar.module.d.ts +12 -0
- package/lib/layout/sidebar/sidebar.module.d.ts.map +1 -0
- package/lib/layout/toolbar/toolbar-action.interface.d.ts.map +1 -0
- package/lib/layout/toolbar/toolbar.component.d.ts.map +1 -0
- package/lib/{toolbar → layout/toolbar}/toolbar.module.d.ts +2 -2
- package/lib/layout/toolbar/toolbar.module.d.ts.map +1 -0
- package/lib/layout/toolbar/toolbar.service.d.ts.map +1 -0
- package/lib/material-addons.module.d.ts +3 -2
- package/lib/material-addons.module.d.ts.map +1 -1
- package/lib/numeric-field/numeric-field.d.ts.map +1 -1
- package/lib/numeric-field/numeric-field.directive.d.ts.map +1 -1
- package/lib/quick-list/base-quick-list.component.d.ts +1 -1
- package/lib/quick-list/base-quick-list.component.d.ts.map +1 -1
- package/lib/quick-list/quick-list-compact/quick-list-compact.component.d.ts +1 -1
- package/lib/quick-list/quick-list-compact/quick-list-compact.component.d.ts.map +1 -1
- package/lib/quick-list/quick-list.component.d.ts +1 -1
- package/lib/quick-list/quick-list.component.d.ts.map +1 -1
- package/lib/quick-list/quick-list.d.ts.map +1 -1
- package/lib/quick-list/quick-list.module.d.ts.map +1 -1
- package/lib/quick-list/reactive-form-quick-list/reactive-form-quick-list.component.d.ts +2 -2
- package/lib/quick-list/reactive-form-quick-list/reactive-form-quick-list.component.d.ts.map +1 -1
- package/lib/quick-list/reactive-form-quick-list-compact/reactive-form-quick-list-compact.component.d.ts +2 -2
- package/lib/quick-list/reactive-form-quick-list-compact/reactive-form-quick-list-compact.component.d.ts.map +1 -1
- package/lib/readonly/readonly-form-field/readonly-form-field.component.d.ts.map +1 -1
- package/lib/readonly/readonly-form-field-wrapper/readonly-form-field-wrapper.component.d.ts.map +1 -1
- package/lib/stepper/step-header/step-header.component.d.ts.map +1 -1
- package/lib/stepper/stepper.component.d.ts.map +1 -1
- package/lib/table/table.d.ts.map +1 -1
- package/package.json +4 -2
- package/public_api.d.ts +16 -12
- package/public_api.d.ts.map +1 -1
- package/themes/carcat.scss +38 -0
- package/themes/common/button.scss +34 -0
- package/themes/common/styles.scss +169 -40
- package/themes/common/theme.scss +57 -0
- package/themes/pbv.scss +16 -26
- package/themes/poa.scss +30 -39
- package/esm2022/lib/content-panel/content-header/content-header.component.mjs +0 -11
- package/esm2022/lib/content-panel/content-panel-container/content-panel-container.component.mjs +0 -11
- package/esm2022/lib/content-panel/content-panel-container-content/content-panel-container-content.component.mjs +0 -11
- package/esm2022/lib/content-panel/content-panel-container-footer/content-panel-container-footer.component.mjs +0 -11
- package/esm2022/lib/content-panel/content-panel.module.mjs +0 -42
- package/esm2022/lib/content-panel/main-container/main-container.component.mjs +0 -11
- package/esm2022/lib/flowbar/flowbar.component.mjs +0 -190
- package/esm2022/lib/toolbar/toolbar-action.interface.mjs +0 -2
- package/esm2022/lib/toolbar/toolbar.component.mjs +0 -78
- package/esm2022/lib/toolbar/toolbar.module.mjs +0 -56
- package/esm2022/lib/toolbar/toolbar.service.mjs +0 -124
- package/lib/content-panel/content-header/content-header.component.d.ts.map +0 -1
- package/lib/content-panel/content-panel-container/content-panel-container.component.d.ts.map +0 -1
- package/lib/content-panel/content-panel-container-content/content-panel-container-content.component.d.ts.map +0 -1
- package/lib/content-panel/content-panel-container-footer/content-panel-container-footer.component.d.ts.map +0 -1
- package/lib/content-panel/content-panel.module.d.ts.map +0 -1
- package/lib/content-panel/main-container/main-container.component.d.ts.map +0 -1
- package/lib/flowbar/flowbar.component.d.ts.map +0 -1
- package/lib/flowbar/flowbar.module.d.ts.map +0 -1
- package/lib/toolbar/toolbar-action.interface.d.ts.map +0 -1
- package/lib/toolbar/toolbar.component.d.ts.map +0 -1
- package/lib/toolbar/toolbar.module.d.ts.map +0 -1
- package/lib/toolbar/toolbar.service.d.ts.map +0 -1
- /package/lib/{content-panel → layout/content-panel}/content-header/content-header.component.d.ts +0 -0
- /package/lib/{content-panel → layout/content-panel}/content-panel-container-content/content-panel-container-content.component.d.ts +0 -0
- /package/lib/{content-panel → layout/content-panel}/content-panel-container-footer/content-panel-container-footer.component.d.ts +0 -0
- /package/lib/{content-panel → layout/content-panel}/main-container/main-container.component.d.ts +0 -0
- /package/lib/{flowbar → layout/flowbar}/flowbar.component.d.ts +0 -0
- /package/lib/{flowbar → layout/flowbar}/flowbar.module.d.ts +0 -0
- /package/lib/{toolbar → layout/toolbar}/toolbar-action.interface.d.ts +0 -0
- /package/lib/{toolbar → layout/toolbar}/toolbar.component.d.ts +0 -0
- /package/lib/{toolbar → layout/toolbar}/toolbar.service.d.ts +0 -0
package/public_api.d.ts
CHANGED
|
@@ -5,10 +5,6 @@ export * from './lib/button/button.module';
|
|
|
5
5
|
export * from './lib/readonly/readonly-form-field.module';
|
|
6
6
|
export * from './lib/readonly/readonly-form-field-wrapper/readonly-form-field-wrapper.component';
|
|
7
7
|
export * from './lib/readonly/readonly-form-field/readonly-form-field.component';
|
|
8
|
-
export * from './lib/toolbar/toolbar.module';
|
|
9
|
-
export * from './lib/toolbar/toolbar.component';
|
|
10
|
-
export * from './lib/toolbar/toolbar.service';
|
|
11
|
-
export * from './lib/toolbar/toolbar-action.interface';
|
|
12
8
|
export * from './lib/numeric-field/numeric-field';
|
|
13
9
|
export * from './lib/numeric-field/numeric-field.module';
|
|
14
10
|
export * from './lib/numeric-field/number-format.service';
|
|
@@ -26,14 +22,22 @@ export * from './lib/stepper/stepper.component';
|
|
|
26
22
|
export * from './lib/stepper/step-header/step-header.component';
|
|
27
23
|
export * from './lib/stepper/mad-stepper-animation';
|
|
28
24
|
export * from './lib/stepper/stepper.module';
|
|
29
|
-
export * from './lib/content-panel/content-header/content-header.component';
|
|
30
|
-
export * from './lib/content-panel/content-panel-container/content-panel-container.component';
|
|
31
|
-
export * from './lib/content-panel/content-panel-container-content/content-panel-container-content.component';
|
|
32
|
-
export * from './lib/content-panel/content-panel-container-footer/content-panel-container-footer.component';
|
|
33
|
-
export * from './lib/content-panel/
|
|
34
|
-
export * from './lib/content-panel/
|
|
35
|
-
export * from './lib/
|
|
36
|
-
export * from './lib/flowbar/flowbar.
|
|
25
|
+
export * from './lib/layout/content-panel/content-header/content-header.component';
|
|
26
|
+
export * from './lib//layout/content-panel/content-panel-container/content-panel-container.component';
|
|
27
|
+
export * from './lib//layout/content-panel/content-panel-container-content/content-panel-container-content.component';
|
|
28
|
+
export * from './lib//layout/content-panel/content-panel-container-footer/content-panel-container-footer.component';
|
|
29
|
+
export * from './lib//layout/content-panel/content-panel-container-sidebar/content-panel-container-sidebar.component';
|
|
30
|
+
export * from './lib//layout/content-panel/main-container/main-container.component';
|
|
31
|
+
export * from './lib//layout/content-panel/content-panel.module';
|
|
32
|
+
export * from './lib/layout/flowbar/flowbar.component';
|
|
33
|
+
export * from './lib/layout/flowbar/flowbar.module';
|
|
34
|
+
export * from './lib/layout/sidebar/sidebar.component';
|
|
35
|
+
export * from './lib/layout/sidebar/sidebar-item/sidebar-item.component';
|
|
36
|
+
export * from './lib/layout/sidebar/sidebar.module';
|
|
37
|
+
export * from './lib/layout/toolbar/toolbar.module';
|
|
38
|
+
export * from './lib/layout/toolbar/toolbar.component';
|
|
39
|
+
export * from './lib/layout/toolbar/toolbar.service';
|
|
40
|
+
export * from './lib/layout/toolbar/toolbar-action.interface';
|
|
37
41
|
export * from './lib/material-addons.module';
|
|
38
42
|
export * from './lib/file-upload/file-upload.component';
|
|
39
43
|
//# sourceMappingURL=public_api.d.ts.map
|
package/public_api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public_api.d.ts","sourceRoot":"","sources":["../../projects/material-addons/src/public_api.ts"],"names":[],"mappings":"AAGA,cAAc,+DAA+D,CAAC;AAC9E,cAAc,4DAA4D,CAAC;AAC3E,cAAc,qBAAqB,CAAC;AACpC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sC,CAAC;AACrD,cAAc,+CAA+C,CAAC;AAE9D,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yCAAyC,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '@angular/material' as mat;
|
|
3
|
+
@use './common/theme' as theme;
|
|
4
|
+
@use './common/styles' as common;
|
|
5
|
+
@use './common/button';
|
|
6
|
+
|
|
7
|
+
$theme-name: 'poba';
|
|
8
|
+
|
|
9
|
+
$primary-palette: (
|
|
10
|
+
50: #79c6e6,
|
|
11
|
+
100: #64bfe6,
|
|
12
|
+
200: #39b3e8,
|
|
13
|
+
300: #11a6e6,
|
|
14
|
+
400: #078dc6,
|
|
15
|
+
500: #0072a3,
|
|
16
|
+
600: #005579,
|
|
17
|
+
700: #00374f,
|
|
18
|
+
800: #001a25,
|
|
19
|
+
900: black,
|
|
20
|
+
A100: #4cb7e6,
|
|
21
|
+
A200: #23b7e8,
|
|
22
|
+
A400: #0098d9,
|
|
23
|
+
A700: #005073,
|
|
24
|
+
contrast: common.$contrast,
|
|
25
|
+
background-color: #fcfcfc,
|
|
26
|
+
warn-color: #ad7600,
|
|
27
|
+
error-color: #c21d00,
|
|
28
|
+
info-color: #005073,
|
|
29
|
+
success-color: #3c8500,
|
|
30
|
+
);
|
|
31
|
+
|
|
32
|
+
@include mat.core();
|
|
33
|
+
|
|
34
|
+
$custom-theme: theme.build-custom-theme($theme-name, $primary-palette, common.$default-palette);
|
|
35
|
+
|
|
36
|
+
@include mat.all-component-themes($custom-theme);
|
|
37
|
+
@include mat.all-component-typographies($custom-theme);
|
|
38
|
+
@include common.theme($theme-name, $custom-theme);
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
.mdc-button.mad-uppercase {
|
|
2
|
+
text-transform: uppercase;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.mad-outline.mat-mdc-outlined-button:not(:disabled) {
|
|
6
|
+
--mdc-outlined-button-outline-color: var(--mdc-outlined-button-label-text-color);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.mad-button-group {
|
|
10
|
+
button,
|
|
11
|
+
a {
|
|
12
|
+
border-left-width: 0;
|
|
13
|
+
border-radius: 0;
|
|
14
|
+
|
|
15
|
+
&:first-child {
|
|
16
|
+
border-left-width: var(--mdc-outlined-button-outline-width, 1px);
|
|
17
|
+
border-bottom-left-radius: var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));
|
|
18
|
+
border-top-left-radius: var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&:last-child {
|
|
22
|
+
border-bottom-right-radius: var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));
|
|
23
|
+
border-top-right-radius: var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&:disabled:has(+ button:not(:disabled)) {
|
|
27
|
+
border-right-width: 0;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&:disabled + button:not(:disabled) {
|
|
31
|
+
border-left-width: var(--mdc-outlined-button-outline-width, 1px);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
1
2
|
@use '@angular/material' as mat;
|
|
3
|
+
@use './theme';
|
|
4
|
+
|
|
5
|
+
@import 'material-icons/iconfont/material-icons.css';
|
|
6
|
+
@import 'roboto-fontface/css/roboto/roboto-fontface.css';
|
|
2
7
|
|
|
3
|
-
@include mat.all-component-typographies();
|
|
4
|
-
@include mat.all-component-densities(-2);
|
|
5
8
|
@include mat.core();
|
|
6
9
|
|
|
7
10
|
//TODO Contrasts should be part of the themes!
|
|
@@ -22,42 +25,42 @@ $contrast: (
|
|
|
22
25
|
A700: rgba(black, 0.87),
|
|
23
26
|
);
|
|
24
27
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
@return map-get($color-scheme, 50);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
@function get-table-hover-color($color) {
|
|
34
|
-
@return rgba($color, 0.08);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
@function get-background-color($color-scheme) {
|
|
38
|
-
@return map-get($color-scheme, background-color);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
@mixin build-custom-theme($primary-palette, $warn-palette: mat.$red-palette, $theme-name: 'undefined') {
|
|
44
|
-
$material-addons-colors-primary: mat.define-palette($primary-palette);
|
|
45
|
-
$material-addons-colors-warn: mat.define-palette($warn-palette);
|
|
46
|
-
//$material-addons-theme: mat.define-light-theme($material-addons-colors-primary, $material-addons-colors-primary, $material-addons-colors-warn);
|
|
47
|
-
|
|
48
|
-
$material-addons-theme: mat.define-light-theme((
|
|
49
|
-
color: (
|
|
50
|
-
primary: $material-addons-colors-primary,
|
|
51
|
-
accent: $material-addons-colors-primary,
|
|
52
|
-
warn: $material-addons-colors-warn,
|
|
53
|
-
)
|
|
54
|
-
));
|
|
55
|
-
|
|
56
|
-
$hover-color: mat.define-palette($primary-palette, 50);
|
|
28
|
+
$default-palette: (
|
|
29
|
+
panel-background-color: #e8e8e8,
|
|
30
|
+
panel-border-color: #cccccc,
|
|
31
|
+
panel-select-background: white,
|
|
32
|
+
);
|
|
57
33
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
34
|
+
@mixin color($theme-name, $theme) {
|
|
35
|
+
$main-primary: theme.get-main-color();
|
|
36
|
+
$selection-background: theme.get-selection-background();
|
|
37
|
+
$table-hover-color: theme.get-table-hover-color($main-primary);
|
|
38
|
+
$background-color: theme.get-background-color();
|
|
39
|
+
$warn-color: map-get(theme.$primary-palette, warn-color);
|
|
40
|
+
$hover-color: map-get(theme.$primary-palette, 50);
|
|
41
|
+
$panel-color: map-get(theme.$primary-palette, 900);
|
|
42
|
+
$panel-background-color: theme.map-get-or-default(theme.$primary-palette, panel-background-color);
|
|
43
|
+
$panel-border-color: theme.map-get-or-default(theme.$primary-palette, panel-border-color);
|
|
44
|
+
$panel-select-background: theme.map-get-or-default(theme.$primary-palette, panel-select-background);
|
|
45
|
+
|
|
46
|
+
// Remark: when we style the addons components there is no theme set, yet. So we have multiple possibilities:
|
|
47
|
+
// a) include the components in the mixin (so it gets styled when the theme is set)
|
|
48
|
+
// b) use the theme-functions (e.g. see nav-child.component.scss)
|
|
49
|
+
// c) use css-variables which are overwritten at runtime (what we currently prefer)
|
|
50
|
+
|
|
51
|
+
:root {
|
|
52
|
+
--main-primary: #{$main-primary};
|
|
53
|
+
--selection-background: #{$selection-background};
|
|
54
|
+
--hover-color: #{$hover-color};
|
|
55
|
+
--table-hover-color: #{$table-hover-color};
|
|
56
|
+
--warn-color: #{$warn-color};
|
|
57
|
+
--background-color: #{$background-color};
|
|
58
|
+
--panel-color: #{$panel-color};
|
|
59
|
+
--panel-background-color: #{$panel-background-color};
|
|
60
|
+
--panel-border-color: #{$panel-border-color};
|
|
61
|
+
--panel-select-background: #{$panel-select-background};
|
|
62
|
+
--mdc-protected-button-label-text-color: #{$main-primary};
|
|
63
|
+
}
|
|
61
64
|
|
|
62
65
|
@if variable-exists(table-hover-color) {
|
|
63
66
|
.clickable-table-row:hover,
|
|
@@ -73,6 +76,10 @@ $contrast: (
|
|
|
73
76
|
color: $warn-color;
|
|
74
77
|
}
|
|
75
78
|
|
|
79
|
+
.mat-chip.mat-standard-chip.mat-warn {
|
|
80
|
+
color: $warn-color;
|
|
81
|
+
border: 1px solid $warn-color;
|
|
82
|
+
}
|
|
76
83
|
} @else {
|
|
77
84
|
@warn 'variable $warn-color in theme #{$theme-name} is not defined';
|
|
78
85
|
}
|
|
@@ -81,6 +88,13 @@ $contrast: (
|
|
|
81
88
|
.mat-mdc-outlined-button {
|
|
82
89
|
border-color: $main-primary !important;
|
|
83
90
|
}
|
|
91
|
+
.mat-chip-selected {
|
|
92
|
+
border: 1px solid $main-primary !important;
|
|
93
|
+
color: $main-primary !important;
|
|
94
|
+
}
|
|
95
|
+
.mat-stroked-button {
|
|
96
|
+
border-color: $main-primary !important;
|
|
97
|
+
}
|
|
84
98
|
.selected-drag-list {
|
|
85
99
|
border-color: $main-primary !important;
|
|
86
100
|
}
|
|
@@ -90,11 +104,32 @@ $contrast: (
|
|
|
90
104
|
} @else {
|
|
91
105
|
@warn 'variable $main-primary in theme #{$theme-name} is not defined';
|
|
92
106
|
}
|
|
107
|
+
|
|
108
|
+
.mat-chip-selected {
|
|
109
|
+
background-color: white !important;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
@mixin typography($theme-name, $theme) {
|
|
114
|
+
$typography-config: mat.get-typography-config($theme);
|
|
115
|
+
|
|
116
|
+
// set custom typography styles here
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
@mixin theme($theme-name, $theme) {
|
|
120
|
+
$color-config: mat.get-color-config($theme-name, $theme);
|
|
121
|
+
@if $color-config != null {
|
|
122
|
+
@include color($theme-name, $theme);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
$typography-config: mat.get-typography-config($theme-name, $theme);
|
|
126
|
+
@if $typography-config != null {
|
|
127
|
+
@include typography($theme-name, $theme);
|
|
128
|
+
}
|
|
93
129
|
}
|
|
94
130
|
|
|
95
131
|
body {
|
|
96
132
|
margin: 0;
|
|
97
|
-
font-family: Roboto, 'Helvetica Neue', sans-serif;
|
|
98
133
|
}
|
|
99
134
|
|
|
100
135
|
a {
|
|
@@ -110,6 +145,12 @@ table {
|
|
|
110
145
|
width: 100%;
|
|
111
146
|
}
|
|
112
147
|
|
|
148
|
+
app-root {
|
|
149
|
+
display: flex;
|
|
150
|
+
flex-direction: column;
|
|
151
|
+
height: 100vh;
|
|
152
|
+
}
|
|
153
|
+
|
|
113
154
|
.mat-mdc-input-element:disabled {
|
|
114
155
|
cursor: auto;
|
|
115
156
|
color: black;
|
|
@@ -206,7 +247,11 @@ mad-danger-button {
|
|
|
206
247
|
.mat-mdc-raised-button,
|
|
207
248
|
.mat-mdc-outlined-button,
|
|
208
249
|
.mat-mdc-icon-button {
|
|
209
|
-
text-transform: uppercase;
|
|
250
|
+
text-transform: uppercase !important;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.mat-icon {
|
|
254
|
+
vertical-align: middle;
|
|
210
255
|
}
|
|
211
256
|
|
|
212
257
|
.toolbar-title {
|
|
@@ -245,6 +290,16 @@ mad-danger-button {
|
|
|
245
290
|
padding-right: 16px;
|
|
246
291
|
}
|
|
247
292
|
|
|
293
|
+
.mat-chip.mat-standard-chip {
|
|
294
|
+
background-color: white;
|
|
295
|
+
color: rgba(0, 0, 0, 0.87);
|
|
296
|
+
border: 1px solid rgba(0, 0, 0, 0.4);
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.mat-chip.mat-standard-chip.mat-warn {
|
|
300
|
+
background-color: white;
|
|
301
|
+
}
|
|
302
|
+
|
|
248
303
|
.mat-mdc-tab-group {
|
|
249
304
|
max-width: 100%;
|
|
250
305
|
}
|
|
@@ -276,6 +331,77 @@ mad-danger-button {
|
|
|
276
331
|
margin: 0 !important;
|
|
277
332
|
}
|
|
278
333
|
|
|
334
|
+
mat-icon.mat-icon.narrow-icon {
|
|
335
|
+
margin-right: 0;
|
|
336
|
+
margin-left: 0;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
button.mat-mdc-menu-item {
|
|
340
|
+
min-height: 38px;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
.mat-toolbar {
|
|
344
|
+
background-color: var(--panel-select-background);
|
|
345
|
+
|
|
346
|
+
.mat-mdc-button {
|
|
347
|
+
min-width: 0;
|
|
348
|
+
padding: 0;
|
|
349
|
+
margin: 0 5px;
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.drop-down {
|
|
354
|
+
mat-icon.mat-icon.notranslate {
|
|
355
|
+
padding: 0;
|
|
356
|
+
margin: 0;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
.mat-mdc-outlined-button:not(:disabled) {
|
|
360
|
+
color: var(--mdc-outlined-button-label-text-color, inherit);
|
|
361
|
+
border-color: var(--mdc-outlined-button-, inherit);
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
&::after {
|
|
365
|
+
content: '\02C7';
|
|
366
|
+
font-size: 2em !important;
|
|
367
|
+
padding-top: 15px;
|
|
368
|
+
padding-left: 3px;
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
// full page
|
|
373
|
+
.top-nav-bar {
|
|
374
|
+
position: fixed;
|
|
375
|
+
top: 0;
|
|
376
|
+
left: 0;
|
|
377
|
+
right: 0;
|
|
378
|
+
z-index: 2;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
//maybe we have different navs for desktop, mobile,...
|
|
382
|
+
.top-main-nav {
|
|
383
|
+
display: flex;
|
|
384
|
+
flex-wrap: wrap;
|
|
385
|
+
align-items: center;
|
|
386
|
+
padding: 4px 16px;
|
|
387
|
+
background-color: white;
|
|
388
|
+
|
|
389
|
+
> .mat-mdc-button {
|
|
390
|
+
&:last-child {
|
|
391
|
+
margin-left: auto;
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
.flex-spacer {
|
|
397
|
+
flex-grow: 1;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
.logo {
|
|
401
|
+
height: 26px;
|
|
402
|
+
margin-right: 20px;
|
|
403
|
+
}
|
|
404
|
+
|
|
279
405
|
@mixin ellipsis-text-overflow {
|
|
280
406
|
text-overflow: ellipsis;
|
|
281
407
|
overflow: hidden;
|
|
@@ -293,6 +419,7 @@ mad-danger-button {
|
|
|
293
419
|
width: 0 !important;
|
|
294
420
|
height: 0 !important;
|
|
295
421
|
}
|
|
422
|
+
|
|
296
423
|
mat-paginator {
|
|
297
424
|
display: none !important;
|
|
298
425
|
height: 0 !important;
|
|
@@ -336,7 +463,9 @@ mad-danger-button {
|
|
|
336
463
|
.content {
|
|
337
464
|
color: black !important;
|
|
338
465
|
}
|
|
339
|
-
.mdc-notched-outline__leading,
|
|
466
|
+
.mdc-notched-outline__leading,
|
|
467
|
+
.mdc-notched-outline__notch,
|
|
468
|
+
.mdc-notched-outline__trailing {
|
|
340
469
|
border: none !important;
|
|
341
470
|
}
|
|
342
471
|
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '@angular/material' as mat;
|
|
3
|
+
|
|
4
|
+
$primary-palette: undefined;
|
|
5
|
+
$accent-palette: undefined;
|
|
6
|
+
$warn-palette: undefined;
|
|
7
|
+
$default-palette: undefined;
|
|
8
|
+
$is-dark-theme: undefined;
|
|
9
|
+
|
|
10
|
+
$typography: mat.define-typography-config(
|
|
11
|
+
$font-family: 'Roboto, Helvetica Neue, sans-serif',
|
|
12
|
+
);
|
|
13
|
+
|
|
14
|
+
@function build-custom-theme($theme-name, $primary-palette, $default-colors, $warn-palette: mat.$red-palette) {
|
|
15
|
+
$material-addons-colors-primary: mat.define-palette($primary-palette);
|
|
16
|
+
$material-addons-colors-warn: mat.define-palette($warn-palette);
|
|
17
|
+
$material-addons-theme: mat.define-light-theme(
|
|
18
|
+
(
|
|
19
|
+
color: (
|
|
20
|
+
primary: $material-addons-colors-primary,
|
|
21
|
+
accent: $material-addons-colors-primary,
|
|
22
|
+
warn: $material-addons-colors-warn,
|
|
23
|
+
),
|
|
24
|
+
typography: $typography,
|
|
25
|
+
)
|
|
26
|
+
);
|
|
27
|
+
|
|
28
|
+
$color-config: mat.get-color-config($material-addons-theme);
|
|
29
|
+
$primary-palette: map.get($color-config, 'primary') !global;
|
|
30
|
+
$accent-palette: map.get($color-config, 'accent') !global;
|
|
31
|
+
$warn-palette: map.get($color-config, 'warn') !global;
|
|
32
|
+
$default-palette: $default-colors !global;
|
|
33
|
+
$is-dark-theme: map.get($color-config, 'is-dark') !global;
|
|
34
|
+
|
|
35
|
+
@return $material-addons-theme;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@function get-main-color() {
|
|
39
|
+
@return map-get($primary-palette, 500);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@function get-selection-background() {
|
|
43
|
+
@return map-get($primary-palette, 50);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@function get-table-hover-color($color) {
|
|
47
|
+
@return rgba($color, 0.08);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
@function get-background-color() {
|
|
51
|
+
@return map-get($primary-palette, background-color);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@function map-get-or-default($theme-map, $key) {
|
|
55
|
+
$key-exists: map-has-key($theme-map, $key);
|
|
56
|
+
@return map-get(if($key-exists, $theme-map, $default-palette), $key);
|
|
57
|
+
}
|
package/themes/pbv.scss
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '@angular/material' as mat;
|
|
3
|
+
@use './common/theme' as theme;
|
|
4
|
+
@use './common/styles' as common;
|
|
5
|
+
@use './common/button';
|
|
2
6
|
|
|
3
7
|
$theme-name: 'pbv';
|
|
4
8
|
|
|
@@ -17,12 +21,12 @@ $primary-palette: (
|
|
|
17
21
|
A200: #3b98ff,
|
|
18
22
|
A400: #087eff,
|
|
19
23
|
A700: #0071ee,
|
|
20
|
-
contrast:
|
|
24
|
+
contrast: common.$contrast,
|
|
21
25
|
background-color: #fafafa,
|
|
22
|
-
warn-color: #
|
|
23
|
-
error-color: #
|
|
24
|
-
info-color: #
|
|
25
|
-
success-color: #
|
|
26
|
+
warn-color: #ad7600,
|
|
27
|
+
error-color: #c21d00,
|
|
28
|
+
info-color: #00648f,
|
|
29
|
+
success-color: #3c8500,
|
|
26
30
|
);
|
|
27
31
|
|
|
28
32
|
$warn-palette: (
|
|
@@ -40,27 +44,13 @@ $warn-palette: (
|
|
|
40
44
|
A200: #ff667a,
|
|
41
45
|
A400: #ff334e,
|
|
42
46
|
A700: #ff1a38,
|
|
43
|
-
contrast:
|
|
47
|
+
contrast: common.$contrast,
|
|
44
48
|
);
|
|
45
49
|
|
|
46
|
-
|
|
47
|
-
$selection-background: get-selection-background($primary-palette);
|
|
48
|
-
$table-hover-color: get-table-hover-color($main-primary);
|
|
49
|
-
$background-color: get-background-color($primary-palette);
|
|
50
|
+
@include mat.core();
|
|
50
51
|
|
|
51
|
-
$
|
|
52
|
-
$error-color: map-get($primary-palette, error-color);
|
|
53
|
-
$info-color: map-get($primary-palette, info-color);
|
|
54
|
-
$success-color: map-get($primary-palette, success-color);
|
|
55
|
-
|
|
56
|
-
:root {
|
|
57
|
-
--main-primary: #{$main-primary};
|
|
58
|
-
--selection-background: #{$selection-background};
|
|
59
|
-
--table-hover-color: #{$table-hover-color};
|
|
60
|
-
--warn-color: #{$warn-color};
|
|
61
|
-
--background-color: #{$background-color};
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
@include build-custom-theme($primary-palette, $warn-palette, $theme-name);
|
|
52
|
+
$custom-theme: theme.build-custom-theme($theme-name, $primary-palette, common.$default-palette, $warn-palette);
|
|
66
53
|
|
|
54
|
+
@include mat.all-component-themes($custom-theme);
|
|
55
|
+
@include mat.all-component-typographies($custom-theme);
|
|
56
|
+
@include common.theme($theme-name, $custom-theme);
|
package/themes/poa.scss
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '@angular/material' as mat;
|
|
3
|
+
@use './common/theme' as theme;
|
|
4
|
+
@use './common/styles' as common;
|
|
5
|
+
@use './common/button';
|
|
2
6
|
|
|
3
7
|
$theme-name: 'poa';
|
|
4
8
|
|
|
@@ -17,49 +21,36 @@ $primary-palette: (
|
|
|
17
21
|
A200: #adfcff,
|
|
18
22
|
A400: #86faff,
|
|
19
23
|
A700: #16f7ff,
|
|
20
|
-
contrast:
|
|
24
|
+
contrast: common.$contrast,
|
|
21
25
|
background-color: #fafafa,
|
|
22
|
-
warn-color: #
|
|
23
|
-
error-color: #
|
|
24
|
-
info-color: #
|
|
25
|
-
success-color: #3c8500
|
|
26
|
+
warn-color: #ad7600,
|
|
27
|
+
error-color: #c21d00,
|
|
28
|
+
info-color: #00648f,
|
|
29
|
+
success-color: #3c8500,
|
|
26
30
|
);
|
|
27
31
|
|
|
28
32
|
$warn-palette: (
|
|
29
|
-
50
|
|
30
|
-
100
|
|
31
|
-
200
|
|
32
|
-
300
|
|
33
|
-
400
|
|
34
|
-
500
|
|
35
|
-
600
|
|
36
|
-
700
|
|
37
|
-
800
|
|
38
|
-
900
|
|
39
|
-
A100
|
|
40
|
-
A200
|
|
41
|
-
A400
|
|
42
|
-
A700
|
|
43
|
-
contrast:
|
|
33
|
+
50: #f8e4e0,
|
|
34
|
+
100: #edbbb3,
|
|
35
|
+
200: #e18e80,
|
|
36
|
+
300: #d4614d,
|
|
37
|
+
400: #cb3f26,
|
|
38
|
+
500: #c21d00,
|
|
39
|
+
600: #bc1a00,
|
|
40
|
+
700: #b41500,
|
|
41
|
+
800: #ac1100,
|
|
42
|
+
900: #9f0a00,
|
|
43
|
+
A100: #ffcbc9,
|
|
44
|
+
A200: #ff9996,
|
|
45
|
+
A400: #ff6763,
|
|
46
|
+
A700: #ff4e4a,
|
|
47
|
+
contrast: common.$contrast,
|
|
44
48
|
);
|
|
45
49
|
|
|
46
|
-
|
|
47
|
-
$selection-background: get-selection-background($primary-palette);
|
|
48
|
-
$table-hover-color: get-table-hover-color($main-primary);
|
|
49
|
-
$background-color: get-background-color($primary-palette);
|
|
50
|
+
@include mat.core();
|
|
50
51
|
|
|
51
|
-
$
|
|
52
|
-
$error-color: map-get($primary-palette, error-color);
|
|
53
|
-
$info-color: map-get($primary-palette, info-color);
|
|
54
|
-
$success-color: map-get($primary-palette, success-color);
|
|
52
|
+
$custom-theme: theme.build-custom-theme($theme-name, $primary-palette, common.$default-palette);
|
|
55
53
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
--selection-background: #{$selection-background};
|
|
60
|
-
--table-hover-color: #{$table-hover-color};
|
|
61
|
-
--warn-color: #{$warn-color};
|
|
62
|
-
--background-color: #{$background-color};
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
@include build-custom-theme($primary-palette, $warn-palette, $theme-name);
|
|
54
|
+
@include mat.all-component-themes($custom-theme);
|
|
55
|
+
@include mat.all-component-typographies($custom-theme);
|
|
56
|
+
@include common.theme($theme-name, $custom-theme);
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class ContentHeaderComponent {
|
|
4
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: ContentHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.4", type: ContentHeaderComponent, selector: "mad-content-header", ngImport: i0, template: "<div class=\"content-header\">\n <ng-content></ng-content>\n</div>\n", styles: [".content-header{padding-right:.5rem}\n"] }); }
|
|
6
|
-
}
|
|
7
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: ContentHeaderComponent, decorators: [{
|
|
8
|
-
type: Component,
|
|
9
|
-
args: [{ selector: 'mad-content-header', template: "<div class=\"content-header\">\n <ng-content></ng-content>\n</div>\n", styles: [".content-header{padding-right:.5rem}\n"] }]
|
|
10
|
-
}] });
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGVudC1oZWFkZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbWF0ZXJpYWwtYWRkb25zL3NyYy9saWIvY29udGVudC1wYW5lbC9jb250ZW50LWhlYWRlci9jb250ZW50LWhlYWRlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9tYXRlcmlhbC1hZGRvbnMvc3JjL2xpYi9jb250ZW50LXBhbmVsL2NvbnRlbnQtaGVhZGVyL2NvbnRlbnQtaGVhZGVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBTzFDLE1BQU0sT0FBTyxzQkFBc0I7OEdBQXRCLHNCQUFzQjtrR0FBdEIsc0JBQXNCLDBEQ1BuQyx5RUFHQTs7MkZESWEsc0JBQXNCO2tCQUxsQyxTQUFTOytCQUNFLG9CQUFvQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICdtYWQtY29udGVudC1oZWFkZXInLFxuICB0ZW1wbGF0ZVVybDogJy4vY29udGVudC1oZWFkZXIuY29tcG9uZW50Lmh0bWwnLFxuICBzdHlsZVVybHM6IFsnLi9jb250ZW50LWhlYWRlci5jb21wb25lbnQuc2NzcyddLFxufSlcbmV4cG9ydCBjbGFzcyBDb250ZW50SGVhZGVyQ29tcG9uZW50IHt9XG4iLCI8ZGl2IGNsYXNzPVwiY29udGVudC1oZWFkZXJcIj5cbiAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG48L2Rpdj5cbiJdfQ==
|
package/esm2022/lib/content-panel/content-panel-container/content-panel-container.component.mjs
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class ContentPanelContainerComponent {
|
|
4
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: ContentPanelContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.4", type: ContentPanelContainerComponent, selector: "mad-content-panel-container", ngImport: i0, template: "<div class=\"content-panel-outer-wrapper\">\n <ng-content select=\"mad-content-panel-container-content\"></ng-content>\n <ng-content select=\"mad-content-panel-container-footer\"></ng-content>\n</div>\n", styles: [":host{position:relative;overflow:hidden;display:flex;flex:1 1 auto;min-height:.05rem}.content-panel-outer-wrapper{display:flex;flex:1 1 auto;flex-direction:column}\n"] }); }
|
|
6
|
-
}
|
|
7
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: ContentPanelContainerComponent, decorators: [{
|
|
8
|
-
type: Component,
|
|
9
|
-
args: [{ selector: 'mad-content-panel-container', template: "<div class=\"content-panel-outer-wrapper\">\n <ng-content select=\"mad-content-panel-container-content\"></ng-content>\n <ng-content select=\"mad-content-panel-container-footer\"></ng-content>\n</div>\n", styles: [":host{position:relative;overflow:hidden;display:flex;flex:1 1 auto;min-height:.05rem}.content-panel-outer-wrapper{display:flex;flex:1 1 auto;flex-direction:column}\n"] }]
|
|
10
|
-
}] });
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGVudC1wYW5lbC1jb250YWluZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbWF0ZXJpYWwtYWRkb25zL3NyYy9saWIvY29udGVudC1wYW5lbC9jb250ZW50LXBhbmVsLWNvbnRhaW5lci9jb250ZW50LXBhbmVsLWNvbnRhaW5lci5jb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@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class ContentPanelContainerContentComponent {
|
|
4
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: ContentPanelContainerContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.4", type: ContentPanelContainerContentComponent, selector: "mad-content-panel-container-content", ngImport: i0, template: "<ng-content></ng-content>", styles: [":host{flex:1 1 auto;overflow-y:auto;border-top:.05rem solid #cccccc;padding:1rem;height:1rem}\n"] }); }
|
|
6
|
-
}
|
|
7
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: ContentPanelContainerContentComponent, decorators: [{
|
|
8
|
-
type: Component,
|
|
9
|
-
args: [{ selector: 'mad-content-panel-container-content', template: "<ng-content></ng-content>", styles: [":host{flex:1 1 auto;overflow-y:auto;border-top:.05rem solid #cccccc;padding:1rem;height:1rem}\n"] }]
|
|
10
|
-
}] });
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGVudC1wYW5lbC1jb250YWluZXItY29udGVudC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9tYXRlcmlhbC1hZGRvbnMvc3JjL2xpYi9jb250ZW50LXBhbmVsL2NvbnRlbnQtcGFuZWwtY29udGFpbmVyLWNvbnRlbnQvY29udGVudC1wYW5lbC1jb250YWluZXItY29udGVudC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9tYXRlcmlhbC1hZGRvbnMvc3JjL2xpYi9jb250ZW50LXBhbmVsL2NvbnRlbnQtcGFuZW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