@coolon/angular-ui-powerups 3.17.3 → 3.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/assets/activities.scss +67 -9
- package/assets/form.scss +2 -0
- package/assets/interaction.scss +2 -0
- package/assets/mixins.scss +6 -5
- package/assets/styles.scss +32 -15
- package/assets/table.scss +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.js +54 -31
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
- package/esm2015/lib/components/card-container/card-container.component.js +1 -1
- package/esm2015/lib/components/card-container/card-container.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/activity-body/activity-body.component.html.shim.ngstyle.js.map +1 -0
- package/esm2015/lib/interaction/components/activity-body/activity-body.component.js +21 -0
- package/esm2015/lib/interaction/components/activity-body/activity-body.component.js.map +1 -0
- package/esm2015/lib/interaction/components/{activity-content → activity-body}/activity-body.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/activity-body/activity-body.component.ngfactory.js.map +1 -0
- package/esm2015/lib/interaction/components/activity-title/activity-title.component.js +22 -13
- package/esm2015/lib/interaction/components/activity-title/activity-title.component.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-title/activity-title.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.js +1 -1
- package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.js.map +1 -1
- package/esm2015/lib/interaction/components/alert-dialog/alert-dialog.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js +5 -2
- package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.js.map +1 -1
- package/esm2015/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js +5 -2
- package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.js.map +1 -1
- package/esm2015/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.metadata.json +1 -1
- package/esm2015/lib/interaction/exports.js +1 -1
- package/esm2015/lib/interaction/exports.js.map +1 -1
- package/esm2015/lib/interaction/exports.metadata.json +1 -1
- package/esm2015/lib/interaction/interaction.module.js +1 -1
- package/esm2015/lib/interaction/interaction.module.js.map +1 -1
- package/esm2015/lib/interaction/interaction.module.metadata.json +1 -1
- package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +39 -30
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/interaction/components/{activity-content → activity-body}/activity-body.component.d.ts +1 -0
- package/lib/interaction/components/activity-title/activity-title.component.d.ts +11 -0
- package/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.d.ts +1 -0
- package/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.d.ts +1 -0
- package/lib/interaction/exports.d.ts +1 -1
- package/package.json +1 -1
- package/schematics/bootstrap-app/templates/styles/global-variables.scss.template +1 -0
- package/schematics/bootstrap-app/templates/styles.scss.template +10 -3
- package/schematics/place-add/index.js +7 -10
- package/schematics/place-add/index.js.map +1 -1
- package/schematics/utils/template-utilities.js +1 -9
- package/schematics/utils/template-utilities.js.map +1 -1
- package/assets/typography.scss +0 -5
- package/esm2015/lib/interaction/components/activity-content/activity-body.component.html.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/interaction/components/activity-content/activity-body.component.js +0 -26
- package/esm2015/lib/interaction/components/activity-content/activity-body.component.js.map +0 -1
- package/esm2015/lib/interaction/components/activity-content/activity-body.component.ngfactory.js.map +0 -1
- package/schematics/bootstrap-app/templates/styles/theme.scss.template +0 -37
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [3.18.1](https://bitbucket.org/coolon/angular-ui-powerups/compare/v3.18.0...v3.18.1) (2021-03-01)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* updated place-add to add the new component to places.module ([833be2d](https://bitbucket.org/coolon/angular-ui-powerups/commit/833be2da4d01f9e9acd74fa8e85227157d72f4da))
|
|
11
|
+
* updated style usage docs and tweaked padding defaults ([9bb8bfc](https://bitbucket.org/coolon/angular-ui-powerups/commit/9bb8bfcbaf0efc7ea2a8f96b1c59d93757b9e819))
|
|
12
|
+
|
|
13
|
+
## [3.18.0](https://bitbucket.org/coolon/angular-ui-powerups/compare/v3.17.3...v3.18.0) (2021-03-01)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* #AUP-119 ([e54ec11](https://bitbucket.org/coolon/angular-ui-powerups/commit/e54ec11fa5002fd2bfcec289a08d42e498eda6c1)), closes [#AUP-119](https://bitbucket.org/coolon/angular-ui-powerups/issues/AUP-119)
|
|
19
|
+
|
|
5
20
|
### [3.17.3](https://bitbucket.org/coolon/angular-ui-powerups/compare/v3.17.2...v3.17.3) (2021-03-01)
|
|
6
21
|
|
|
7
22
|
|
package/assets/activities.scss
CHANGED
|
@@ -1,12 +1,70 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use "~@angular/material/theming" as ng;
|
|
2
|
+
@use "sass:map";
|
|
2
3
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
4
|
+
@mixin apply-theme($color-config, $typography-config) {
|
|
5
|
+
|
|
6
|
+
:root {
|
|
7
|
+
--aup-activity-padding: var(--default-padding);
|
|
8
|
+
--aup-activity-dialog-padding: 18px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
// Extract the palettes you need from the theme definition.
|
|
12
|
+
$primary-palette: map-get($color-config, primary);
|
|
13
|
+
$accent-palette: map-get($color-config, accent);
|
|
14
|
+
$warn-palette: map-get($color-config, warn);
|
|
15
|
+
|
|
16
|
+
.dialog-interaction-context {
|
|
17
|
+
--aup-activity-padding: var(--aup-activity-dialog-padding);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
aup-activity-title {
|
|
21
|
+
display: block;
|
|
22
|
+
font-family: ng.mat-font-family($typography-config);
|
|
23
|
+
font-size: ng.mat-font-size($typography-config, title);
|
|
24
|
+
line-height: ng.mat-line-height($typography-config, title);
|
|
25
|
+
letter-spacing: ng.mat-letter-spacing($typography-config, title);
|
|
26
|
+
padding: var(--aup-activity-padding);
|
|
27
|
+
|
|
28
|
+
&:not(.transparent-background) {
|
|
29
|
+
padding: calc(var(--aup-activity-padding) / 2) var(--aup-activity-padding);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&[color=primary] {
|
|
33
|
+
$palette: $primary-palette;
|
|
34
|
+
color: ng.mat-color($palette, default-contrast);
|
|
35
|
+
background-color: ng.mat-color($palette, default);
|
|
36
|
+
}
|
|
9
37
|
|
|
10
|
-
|
|
11
|
-
|
|
38
|
+
&[color=accent] {
|
|
39
|
+
$palette: $accent-palette;
|
|
40
|
+
color: ng.mat-color($palette, default-contrast);
|
|
41
|
+
background-color: ng.mat-color($palette, default);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&[color=warn] {
|
|
45
|
+
$palette: $warn-palette;
|
|
46
|
+
color: ng.mat-color($palette, default-contrast);
|
|
47
|
+
background-color: ng.mat-color($palette, default);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
aup-activity-body {
|
|
52
|
+
display: block;
|
|
53
|
+
|
|
54
|
+
&:not(.full-width) {
|
|
55
|
+
padding-left: var(--aup-activity-padding);
|
|
56
|
+
padding-right: var(--aup-activity-padding);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
aup-activity-title:not(.transparent-background) + aup-activity-body {
|
|
61
|
+
padding-top: var(--aup-activity-padding);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
aup-activity-actions {
|
|
65
|
+
display: block;
|
|
66
|
+
padding: var(--aup-activity-padding);
|
|
67
|
+
}
|
|
12
68
|
}
|
|
69
|
+
|
|
70
|
+
|
package/assets/form.scss
CHANGED
package/assets/interaction.scss
CHANGED
package/assets/mixins.scss
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
@use "~@angular/material/theming" as ng;
|
|
2
|
+
|
|
1
3
|
@mixin elevate-on-hover($height:2) {
|
|
2
|
-
@include mat-elevation-transition;
|
|
3
|
-
//@include mat-elevation(2);
|
|
4
|
+
@include ng.mat-elevation-transition();
|
|
4
5
|
&:hover {
|
|
5
|
-
@include mat-elevation($height);
|
|
6
|
+
@include ng.mat-elevation($height);
|
|
6
7
|
}
|
|
7
8
|
}
|
|
8
9
|
|
|
@@ -15,11 +16,11 @@
|
|
|
15
16
|
cursor: pointer;
|
|
16
17
|
color: $color;
|
|
17
18
|
background-color: $background-color;
|
|
18
|
-
transition: all
|
|
19
|
+
transition: all ng.$mat-elevation-transition-duration ng.$mat-elevation-transition-timing-function;
|
|
19
20
|
|
|
20
21
|
&:hover {
|
|
21
22
|
@include elevate-on-hover(4);
|
|
22
|
-
transition: all
|
|
23
|
+
transition: all ng.$mat-elevation-transition-duration ng.$mat-elevation-transition-timing-function;
|
|
23
24
|
border-color: transparent;
|
|
24
25
|
background-color: $background-hover-color;
|
|
25
26
|
color: $hover-color;
|
package/assets/styles.scss
CHANGED
|
@@ -1,17 +1,34 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use "~@angular/material/theming" as ng;
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
@use "./mixins";
|
|
4
|
+
@use "./activities";
|
|
5
|
+
@use "./router";
|
|
6
|
+
@use "./tabs";
|
|
7
|
+
@use "./interaction";
|
|
8
|
+
@use "./form";
|
|
9
|
+
@use "./table";
|
|
10
|
+
@use "./commands";
|
|
11
|
+
@use "./icons";
|
|
12
|
+
|
|
13
|
+
@mixin apply-light-theme($primary, $accent, $warn:ng.mat-palette(ng.$mat-red), $typography: ng.mat-typography-config()) {
|
|
14
|
+
|
|
15
|
+
$theme: ng.mat-light-theme((
|
|
16
|
+
color: (
|
|
17
|
+
primary: $primary,
|
|
18
|
+
accent: $accent,
|
|
19
|
+
warn: $warn,
|
|
20
|
+
)
|
|
21
|
+
));
|
|
22
|
+
|
|
23
|
+
@include ng.mat-core($typography);
|
|
24
|
+
@include ng.angular-material-theme($theme);
|
|
7
25
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
@
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
@import "./icons";
|
|
26
|
+
$color-config: ng.mat-get-color-config($theme);
|
|
27
|
+
|
|
28
|
+
@include activities.apply-theme($color-config, $typography);
|
|
29
|
+
|
|
30
|
+
:root {
|
|
31
|
+
--aup-default-padding: var(--default-padding, 16px);
|
|
32
|
+
--aup-default-background: white;
|
|
33
|
+
}
|
|
34
|
+
}
|
package/assets/table.scss
CHANGED
|
@@ -44,7 +44,7 @@ aup-table {
|
|
|
44
44
|
|
|
45
45
|
//TODO: think about this a bit more. Table with acts a bit like flex:
|
|
46
46
|
// - columns for which the width is 0 (or not defined) will expand equally to fill the table.
|
|
47
|
-
// - columns with an explicit with will try to remain that width, but will expand to fit
|
|
47
|
+
// - columns with an explicit with will try to remain that width, but will expand to fit their content.
|
|
48
48
|
// - extra space will be allocated to columns that have the same width... e.g. setting all columns to 1px results
|
|
49
49
|
// in the same scenario as not specifying the width.
|
|
50
50
|
.mat-cell, .mat-header-cell {
|
|
@@ -729,7 +729,7 @@
|
|
|
729
729
|
{ type: i0.Component, args: [{
|
|
730
730
|
selector: 'aup-card-container',
|
|
731
731
|
template: "<div class=\"card-container\">\n <ng-content></ng-content>\n\n <div class=\"add-card-container\" *ngIf=\"addCardCommand.enabled.value\" [pectinCommand]=\"addCardCommand\">\n <aup-command-face *ngIf=\"addCardFace\" [faces]=\"[addCardFace]\"></aup-command-face>\n <aup-icon *ngIf=\"!addCardFace\" icon=\"mat:add\"></aup-icon>\n </div>\n\n <div class=\"add-card-template\" *ngIf=\"addCardTemplate\">\n <ng-container [ngTemplateOutlet]=\"addCardTemplate\"></ng-container>\n </div>\n\n</div>\n",
|
|
732
|
-
styles: [":
|
|
732
|
+
styles: [":host{--resolved-card-background:var(--card-background,#fcfcfb);--resolved-card-gap:var(--card-gap,16px);--resolved-card-height:var(--card-height,auto);--resolved-card-min-height:var(--card-min-height,auto);--resolved-card-width:var(--card-width,300px);background:var(--resolved-card-background);display:block;flex:1}.card-container{box-sizing:border-box;display:-ms-grid;display:grid;grid-gap:var(--resolved-card-gap);grid-template-columns:repeat(auto-fill,var(--resolved-card-width));grid-template-rows:repeat(auto-fit,minmax(var(--resolved-card-min-height),var(--resolved-card-height)));max-width:100%;min-height:calc(var(--resolved-card-height) + 2*var(--resolved-card-gap));min-width:calc(var(--resolved-card-width) + 2*var(--resolved-card-gap));padding:var(--resolved-card-gap);width:calc((var(--resolved-card-width) + var(--resolved-card-gap))*2 + var(--grid-gap))}.add-card-container{align-items:center;background-color:hsla(0,0%,100%,.8);border:2px dashed rgba(0,0,0,.1);border-radius:6px;box-sizing:border-box;color:rgba(0,0,0,.54);cursor:pointer;display:flex;flex-direction:column;font-weight:300;height:var(--resolved-card-height);justify-content:center;min-height:var(--resolved-card-min-height);transition:all .28s cubic-bezier(.4,0,.2,1);width:var(--resolved-card-width)}.add-card-container mat-icon{font-size:200%}.add-card-container:hover{background-color:#fff;border-color:transparent;color:rgba(0,0,0,.54);transition:box-shadow .28s cubic-bezier(.4,0,.2,1);transition:all .28s cubic-bezier(.4,0,.2,1)}.add-card-container:hover:hover{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.add-card-template-container{align-items:stretch;display:flex;flex-direction:column;height:var(--resolved-card-height);justify-content:stretch;width:var(--resolved-card-width)}"]
|
|
733
733
|
},] }
|
|
734
734
|
];
|
|
735
735
|
CardContainerComponent.ctorParameters = function () { return []; };
|
|
@@ -4765,7 +4765,7 @@
|
|
|
4765
4765
|
{ type: i0.Component, args: [{
|
|
4766
4766
|
selector: 'aup-alert-dialog',
|
|
4767
4767
|
template: "<aup-activity-title *ngIf=\"alert.title\">{{alert.title()}}</aup-activity-title>\n<aup-activity-body>\n <p *ngFor=\"let line of alert.content()\">{{line}}</p>\n</aup-activity-body>\n<aup-activity-actions [confirmFace]=\"confirmFace\"></aup-activity-actions>\n",
|
|
4768
|
-
styles: [":host{display:block
|
|
4768
|
+
styles: [":host{display:block}.mat-dialog-content{margin:0;padding:0}.mat-dialog-actions{align-items:flex-end;justify-content:flex-end;margin-bottom:0!important;padding:0}"]
|
|
4769
4769
|
},] }
|
|
4770
4770
|
];
|
|
4771
4771
|
AlertDialogComponent.ctorParameters = function () { return [
|
|
@@ -4805,6 +4805,13 @@
|
|
|
4805
4805
|
enumerable: false,
|
|
4806
4806
|
configurable: true
|
|
4807
4807
|
});
|
|
4808
|
+
Object.defineProperty(ConfirmThenDialogComponent.prototype, "titleColor", {
|
|
4809
|
+
get: function () {
|
|
4810
|
+
return this.isDestructive() ? 'warn' : undefined;
|
|
4811
|
+
},
|
|
4812
|
+
enumerable: false,
|
|
4813
|
+
configurable: true
|
|
4814
|
+
});
|
|
4808
4815
|
ConfirmThenDialogComponent.prototype.isDestructive = function () {
|
|
4809
4816
|
return this.confirm.destructive && this.confirm.destructive();
|
|
4810
4817
|
};
|
|
@@ -4813,8 +4820,8 @@
|
|
|
4813
4820
|
ConfirmThenDialogComponent.decorators = [
|
|
4814
4821
|
{ type: i0.Component, args: [{
|
|
4815
4822
|
selector: 'aup-confirmation-dialog',
|
|
4816
|
-
template: "<aup-activity-title *ngIf=\"confirm.title\">{{confirm.title()}}</aup-activity-title>\n<aup-activity-body>\n <p *ngFor=\"let line of confirm.content()\">{{line}}</p>\n</aup-activity-body>\n<aup-activity-actions [confirmFace]=\"confirmFace\" [cancelFace]=\"cancelFace\"></aup-activity-actions>\n",
|
|
4817
|
-
styles: [":host{display:block
|
|
4823
|
+
template: "<aup-activity-title *ngIf=\"confirm.title\" [color]=\"titleColor\">{{confirm.title()}}</aup-activity-title>\n<aup-activity-body>\n <p *ngFor=\"let line of confirm.content()\">{{line}}</p>\n</aup-activity-body>\n<aup-activity-actions [confirmFace]=\"confirmFace\" [cancelFace]=\"cancelFace\"></aup-activity-actions>\n",
|
|
4824
|
+
styles: [":host{display:block}.mat-dialog-content{margin:0;padding:0}.mat-dialog-actions{align-items:flex-end;justify-content:flex-end;margin-bottom:0!important;padding:0}"]
|
|
4818
4825
|
},] }
|
|
4819
4826
|
];
|
|
4820
4827
|
ConfirmThenDialogComponent.ctorParameters = function () { return [
|
|
@@ -4845,6 +4852,13 @@
|
|
|
4845
4852
|
}
|
|
4846
4853
|
ConfirmationDialogComponent.prototype.ngOnInit = function () {
|
|
4847
4854
|
};
|
|
4855
|
+
Object.defineProperty(ConfirmationDialogComponent.prototype, "titleColor", {
|
|
4856
|
+
get: function () {
|
|
4857
|
+
return this.isDestructive() ? 'warn' : undefined;
|
|
4858
|
+
},
|
|
4859
|
+
enumerable: false,
|
|
4860
|
+
configurable: true
|
|
4861
|
+
});
|
|
4848
4862
|
ConfirmationDialogComponent.prototype.isDestructive = function () {
|
|
4849
4863
|
return this.confirm.destructive && this.confirm.destructive();
|
|
4850
4864
|
};
|
|
@@ -4853,8 +4867,8 @@
|
|
|
4853
4867
|
ConfirmationDialogComponent.decorators = [
|
|
4854
4868
|
{ type: i0.Component, args: [{
|
|
4855
4869
|
selector: 'aup-confirmation-dialog',
|
|
4856
|
-
template: "<aup-activity-title *ngIf=\"confirm.title\">{{confirm.title()}}</aup-activity-title>\n<aup-activity-body>\n <p *ngFor=\"let line of confirm.content()\">{{line}}</p>\n</aup-activity-body>\n<aup-activity-actions [confirmFace]=\"confirmFace\" [cancelFace]=\"cancelFace\"></aup-activity-actions>\n\n",
|
|
4857
|
-
styles: [":host{display:block
|
|
4870
|
+
template: "<aup-activity-title *ngIf=\"confirm.title\" [color]=\"titleColor\">{{confirm.title()}}</aup-activity-title>\n<aup-activity-body>\n <p *ngFor=\"let line of confirm.content()\">{{line}}</p>\n</aup-activity-body>\n<aup-activity-actions [confirmFace]=\"confirmFace\" [cancelFace]=\"cancelFace\"></aup-activity-actions>\n\n",
|
|
4871
|
+
styles: [":host{display:block}.mat-dialog-content{margin:0;padding:0}.mat-dialog-actions{align-items:flex-end;justify-content:flex-end;margin-bottom:0!important;padding:0}"]
|
|
4858
4872
|
},] }
|
|
4859
4873
|
];
|
|
4860
4874
|
ConfirmationDialogComponent.ctorParameters = function () { return [
|
|
@@ -5253,20 +5267,10 @@
|
|
|
5253
5267
|
var ActivityBodyComponent = /** @class */ (function (_super) {
|
|
5254
5268
|
__extends(ActivityBodyComponent, _super);
|
|
5255
5269
|
function ActivityBodyComponent() {
|
|
5256
|
-
|
|
5270
|
+
var _this = _super.apply(this, __spread(arguments)) || this;
|
|
5271
|
+
_this.fullWidth = false;
|
|
5272
|
+
return _this;
|
|
5257
5273
|
}
|
|
5258
|
-
// @Input()
|
|
5259
|
-
// align: 'start' | 'end' | 'stretch' = 'start';
|
|
5260
|
-
//
|
|
5261
|
-
// @HostBinding('class.align-end')
|
|
5262
|
-
// get alignEnd():boolean {
|
|
5263
|
-
// return this.align === 'end'
|
|
5264
|
-
// }
|
|
5265
|
-
//
|
|
5266
|
-
// @HostBinding('class.align-stretch')
|
|
5267
|
-
// get alignStretch():boolean {
|
|
5268
|
-
// return this.align === 'stretch'
|
|
5269
|
-
// }
|
|
5270
5274
|
ActivityBodyComponent.prototype.ngOnInit = function () {
|
|
5271
5275
|
};
|
|
5272
5276
|
return ActivityBodyComponent;
|
|
@@ -5278,24 +5282,39 @@
|
|
|
5278
5282
|
styles: ["<ng-content></ng-content>\n"]
|
|
5279
5283
|
},] }
|
|
5280
5284
|
];
|
|
5285
|
+
ActivityBodyComponent.propDecorators = {
|
|
5286
|
+
fullWidth: [{ type: i0.Input }, { type: i0.HostBinding, args: ["class.full-width",] }]
|
|
5287
|
+
};
|
|
5281
5288
|
|
|
5282
5289
|
var ActivityTitleComponent = /** @class */ (function (_super) {
|
|
5283
5290
|
__extends(ActivityTitleComponent, _super);
|
|
5284
5291
|
function ActivityTitleComponent() {
|
|
5285
5292
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
5286
5293
|
}
|
|
5287
|
-
|
|
5288
|
-
|
|
5289
|
-
|
|
5290
|
-
|
|
5291
|
-
|
|
5292
|
-
|
|
5293
|
-
|
|
5294
|
-
|
|
5295
|
-
|
|
5296
|
-
|
|
5297
|
-
|
|
5298
|
-
|
|
5294
|
+
Object.defineProperty(ActivityTitleComponent.prototype, "hasTransparentBackground", {
|
|
5295
|
+
get: function () {
|
|
5296
|
+
return ___default['default'].isNil(this._hasUserTransparentBackground) ? !this._color : this._hasUserTransparentBackground;
|
|
5297
|
+
},
|
|
5298
|
+
/**
|
|
5299
|
+
* Adjusts layout to ensure the title and body are cleanly separated with even
|
|
5300
|
+
* gaps for teh case where the title component has a painted background.
|
|
5301
|
+
*/
|
|
5302
|
+
set: function (value) {
|
|
5303
|
+
this._hasUserTransparentBackground = value;
|
|
5304
|
+
},
|
|
5305
|
+
enumerable: false,
|
|
5306
|
+
configurable: true
|
|
5307
|
+
});
|
|
5308
|
+
Object.defineProperty(ActivityTitleComponent.prototype, "color", {
|
|
5309
|
+
get: function () {
|
|
5310
|
+
return this._color;
|
|
5311
|
+
},
|
|
5312
|
+
set: function (color) {
|
|
5313
|
+
this._color = color;
|
|
5314
|
+
},
|
|
5315
|
+
enumerable: false,
|
|
5316
|
+
configurable: true
|
|
5317
|
+
});
|
|
5299
5318
|
ActivityTitleComponent.prototype.ngOnInit = function () {
|
|
5300
5319
|
};
|
|
5301
5320
|
return ActivityTitleComponent;
|
|
@@ -5307,6 +5326,10 @@
|
|
|
5307
5326
|
styles: [":host{display:block}"]
|
|
5308
5327
|
},] }
|
|
5309
5328
|
];
|
|
5329
|
+
ActivityTitleComponent.propDecorators = {
|
|
5330
|
+
hasTransparentBackground: [{ type: i0.Input }, { type: i0.HostBinding, args: ['class.transparent-background',] }],
|
|
5331
|
+
color: [{ type: i0.Input }, { type: i0.HostBinding, args: ['attr.color',] }]
|
|
5332
|
+
};
|
|
5310
5333
|
|
|
5311
5334
|
var InteractionServiceRoutingAdapter = /** @class */ (function () {
|
|
5312
5335
|
function InteractionServiceRoutingAdapter(activeInteractionContextIds, activeModalContext, createExclusiveInteractionContext) {
|