@carefirst/library 5.2.2 → 5.2.3
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.
@@ -1709,6 +1709,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImpor
|
|
1709
1709
|
class MixPComponent {
|
1710
1710
|
mobile = 'body-standard';
|
1711
1711
|
desktop = 'body-standard';
|
1712
|
+
customStyle = {};
|
1712
1713
|
pClass = 'body-standard';
|
1713
1714
|
//--- Local variables
|
1714
1715
|
inputMobile = undefined;
|
@@ -1754,15 +1755,17 @@ class MixPComponent {
|
|
1754
1755
|
this.pClass = (this.getScreenWidth < 768 ? this.inputMobile : this.inputDesktop) ?? 'body-standard';
|
1755
1756
|
}
|
1756
1757
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: MixPComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
1757
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.0", type: MixPComponent, isStandalone: false, selector: "cf-mix-p", inputs: { mobile: "mobile", desktop: "desktop" }, host: { listeners: { "window:resize": "onWindowResize($event)" } }, usesOnChanges: true, ngImport: i0, template: "<!-- Desktop -->\n<p [ngClass]=\"pClass\"><ng-content></ng-content></p>\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
1758
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.0", type: MixPComponent, isStandalone: false, selector: "cf-mix-p", inputs: { mobile: "mobile", desktop: "desktop", customStyle: "customStyle" }, host: { listeners: { "window:resize": "onWindowResize($event)" } }, usesOnChanges: true, ngImport: i0, template: "<!-- Desktop -->\n<p [ngClass]=\"pClass\" [ngStyle]=\"customStyle\"><ng-content></ng-content></p>\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
1758
1759
|
}
|
1759
1760
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: MixPComponent, decorators: [{
|
1760
1761
|
type: Component,
|
1761
|
-
args: [{ selector: 'cf-mix-p', standalone: false, template: "<!-- Desktop -->\n<p [ngClass]=\"pClass\"><ng-content></ng-content></p>\n" }]
|
1762
|
+
args: [{ selector: 'cf-mix-p', standalone: false, template: "<!-- Desktop -->\n<p [ngClass]=\"pClass\" [ngStyle]=\"customStyle\"><ng-content></ng-content></p>\n" }]
|
1762
1763
|
}], propDecorators: { mobile: [{
|
1763
1764
|
type: Input
|
1764
1765
|
}], desktop: [{
|
1765
1766
|
type: Input
|
1767
|
+
}], customStyle: [{
|
1768
|
+
type: Input
|
1766
1769
|
}], onWindowResize: [{
|
1767
1770
|
type: HostListener,
|
1768
1771
|
args: ['window:resize', ['$event']]
|