@elxjs/ui 0.0.228 → 0.0.229
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.
|
@@ -22,11 +22,11 @@ export class EluxCardProduct2 {
|
|
|
22
22
|
this.redirectClick.emit(event);
|
|
23
23
|
}
|
|
24
24
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EluxCardProduct2, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
25
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: EluxCardProduct2, isStandalone: true, selector: "lib-elux-card-product-2", inputs: { productCode: "productCode", productDescription: "productDescription", productVoltage: "productVoltage", productImage: "productImage", redirectUrl: "redirectUrl", redirectText: "redirectText", orientation: "orientation" }, outputs: { redirectClick: "redirectClick" }, ngImport: i0, template: "<div class=\"product-card\" [ngClass]=\"{ 'is-vertical': isVertical, 'is-horizontal': !isVertical }\">\n <div class=\"background-blue product-layout\">\n <div class=\"product-image-column text-center background-white\">\n <div class=\"product-image-wrapper\">\n <span *ngIf=\"productVoltage\" class=\"voltage-badge\">{{ productVoltage }}</span>\n <img\n [src]=\"productImage\"\n [alt]=\"productDescription | titlecase\"\n class=\"product-image img-fluid\"\n />\n </div>\n </div>\n\n <div class=\"product-content-column\">\n <div class=\"product-details\">\n <p class=\"product-code mb-2\">{{ productCode }}</p>\n <h2 class=\"product-name mb-3\">{{ productDescription | titlecase }}</h2>\n <a\n *ngIf=\"redirectUrl\"\n href=\"\"\n [routerLink]=\"redirectUrl\"\n (click)=\"onRedirectClick($event)\"\n class=\"access-link d-inline-flex align-items-center\"\n >\n <lib-elux-icon [icon]=\"'Link.svg'\" [color]=\"'#011e41'\" [size]=\"'18'\" class=\"me-2\" />\n {{ redirectText }}\n </a>\n </div>\n </div>\n </div>\n</div>\n", styles: [".display{font-family:Electrolux Sans;font-size:48px;font-weight:700;line-height:56px}.heading-1{font-family:Electrolux Sans;font-size:34px;font-weight:700;line-height:40px}.heading-2{font-family:Electrolux Sans;font-size:28px;font-weight:600;line-height:32px}.heading-3{font-family:Electrolux Sans;font-size:20px;font-weight:600;line-height:24px}.subtitle-1{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:20px}.body{font-family:Electrolux Sans;font-size:16px;font-weight:400;line-height:21px}.caption{font-family:Electrolux Sans;font-size:14px;font-weight:400;line-height:normal}.links{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:normal;text-decoration-line:underline}@media screen and (max-width: 768px){.display{font-family:Electrolux Sans;font-size:40px;font-weight:700;line-height:46px}.heading-1{font-family:Electrolux Sans;font-size:28px;font-weight:600;line-height:32px}.heading-2{font-family:Electrolux Sans;font-size:24px;font-weight:600;line-height:28px}.heading-3{font-family:Electrolux Sans;font-size:20px;font-weight:600;line-height:24px}.subtitle-1{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:20px}.body{font-family:Electrolux Sans;font-size:16px;font-weight:400;line-height:21px}.caption{font-family:Electrolux Sans;font-size:14px;font-weight:400;line-height:normal}.links{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:normal;text-decoration-line:underline}}.product-card{box-shadow:0 4px 16px #0000001a;height:100%;display:flex;position:relative;transition:transform .3s ease,box-shadow .3s ease}.product-card:hover{transform:translateY(-4px);box-shadow:0 4px 12px #0000001a}.product-card .row{margin-left:0;margin-right:0}.product-card .product-layout{display:flex;flex:1;height:100%}.product-card .product-image-column,.product-card .product-content-column{width:100%}.product-card .product-content-column{display:flex;flex-direction:column}.product-card .background-blue{background-color:#e1e8eb}.product-card .background-white{background-color:#fff}.product-card .product-image-wrapper .voltage-badge{position:absolute;top:8px;left:8px;background-color:#3d5275;color:#fff;font-size:14px;font-weight:600;padding:4px 12px;border-radius:4px;z-index:1}.product-card .product-image-wrapper .product-image{width:100%;max-width:250px;height:auto;max-height:250px;object-fit:contain;display:block;margin:0 auto}.product-card .product-details{padding:16px;flex:1;margin:0}.product-card .product-details .product-code{color:#596b86;margin-bottom:8px;font-size:18px;font-style:normal;font-weight:400;line-height:21px}.product-card .product-details .product-name{color:#011e41;margin-bottom:16px;font-size:24px;font-style:normal;font-weight:600;line-height:29px}.product-card .product-details .access-link{color:#011e41;font-size:18px;font-style:normal;font-weight:400;line-height:27px;text-decoration:underline}.product-card.is-horizontal .product-layout{flex-direction:row;align-items:stretch;flex-wrap:nowrap}.product-card.is-horizontal .product-image-column{flex:0 0 33.333333%;max-width:33.333333%;display:flex;align-items:center;justify-content:center}.product-card.is-horizontal .product-content-column{flex:0 0 66.666667%;max-width:66.666667%}.product-card.is-horizontal .product-details{display:flex;flex-direction:column;justify-content:center}.product-card.is-vertical .product-layout{flex-direction:column;align-items:stretch}.product-card.is-vertical .product-image-column,.product-card.is-vertical .product-content-column{flex:0 0 100%;max-width:100%}.product-card.is-vertical .product-image-column{flex:0 0 auto}.product-card.is-vertical .product-content-column{flex:1 1 auto}.product-card.is-vertical .product-image-wrapper .product-image{max-height:230px}.product-card.is-vertical .product-details{padding:16px}.product-card.is-vertical .product-details .product-code{font-size:16px;line-height:19px}.product-card.is-vertical .product-details .product-name{font-size:18px;line-height:22px}.product-card.is-vertical .product-details .access-link{font-size:16px;line-height:24px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.TitleCasePipe, name: "titlecase" }, { kind: "component", type: EluxIcon, selector: "lib-elux-icon", inputs: ["color", "useSubscription", "icon", "description", "size", "height", "width", "sizeType"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }] }); }
|
|
25
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: EluxCardProduct2, isStandalone: true, selector: "lib-elux-card-product-2", inputs: { productCode: "productCode", productDescription: "productDescription", productVoltage: "productVoltage", productImage: "productImage", redirectUrl: "redirectUrl", redirectText: "redirectText", orientation: "orientation" }, outputs: { redirectClick: "redirectClick" }, ngImport: i0, template: "<div class=\"product-card\" [ngClass]=\"{ 'is-vertical': isVertical, 'is-horizontal': !isVertical }\">\n <div class=\"background-blue product-layout\">\n <div class=\"product-image-column text-center background-white\">\n <div class=\"product-image-wrapper\">\n <span *ngIf=\"productVoltage\" class=\"voltage-badge\">{{ productVoltage }}</span>\n <img\n [src]=\"productImage\"\n [alt]=\"productDescription | titlecase\"\n class=\"product-image img-fluid\"\n />\n </div>\n </div>\n\n <div class=\"product-content-column\">\n <div class=\"product-details\">\n <p *ngIf=\"productCode\" class=\"product-code mb-2\">{{ productCode }}</p>\n <h2 *ngIf=\"productDescription\" class=\"product-name mb-3\">{{ productDescription | titlecase }}</h2>\n <a\n *ngIf=\"redirectUrl\"\n href=\"\"\n [routerLink]=\"redirectUrl\"\n (click)=\"onRedirectClick($event)\"\n class=\"access-link d-inline-flex align-items-center\"\n >\n <lib-elux-icon [icon]=\"'Link.svg'\" [color]=\"'#011e41'\" [size]=\"'18'\" class=\"me-2\" />\n {{ redirectText }}\n </a>\n </div>\n </div>\n </div>\n</div>\n", styles: [".display{font-family:Electrolux Sans;font-size:48px;font-weight:700;line-height:56px}.heading-1{font-family:Electrolux Sans;font-size:34px;font-weight:700;line-height:40px}.heading-2{font-family:Electrolux Sans;font-size:28px;font-weight:600;line-height:32px}.heading-3{font-family:Electrolux Sans;font-size:20px;font-weight:600;line-height:24px}.subtitle-1{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:20px}.body{font-family:Electrolux Sans;font-size:16px;font-weight:400;line-height:21px}.caption{font-family:Electrolux Sans;font-size:14px;font-weight:400;line-height:normal}.links{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:normal;text-decoration-line:underline}@media screen and (max-width: 768px){.display{font-family:Electrolux Sans;font-size:40px;font-weight:700;line-height:46px}.heading-1{font-family:Electrolux Sans;font-size:28px;font-weight:600;line-height:32px}.heading-2{font-family:Electrolux Sans;font-size:24px;font-weight:600;line-height:28px}.heading-3{font-family:Electrolux Sans;font-size:20px;font-weight:600;line-height:24px}.subtitle-1{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:20px}.body{font-family:Electrolux Sans;font-size:16px;font-weight:400;line-height:21px}.caption{font-family:Electrolux Sans;font-size:14px;font-weight:400;line-height:normal}.links{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:normal;text-decoration-line:underline}}.product-card{box-shadow:0 4px 16px #0000001a;height:100%;display:flex;position:relative;transition:transform .3s ease,box-shadow .3s ease}.product-card:hover{transform:translateY(-4px);box-shadow:0 4px 12px #0000001a}.product-card .row{margin-left:0;margin-right:0}.product-card .product-layout{display:flex;flex:1;height:100%}.product-card .product-image-column,.product-card .product-content-column{width:100%}.product-card .product-content-column{display:flex;flex-direction:column}.product-card .background-blue{background-color:#e1e8eb}.product-card .background-white{background-color:#fff}.product-card .product-image-wrapper .voltage-badge{position:absolute;top:8px;left:8px;background-color:#3d5275;color:#fff;font-size:14px;font-weight:600;padding:4px 12px;border-radius:4px;z-index:1}.product-card .product-image-wrapper .product-image{width:100%;max-width:250px;height:auto;max-height:250px;object-fit:contain;display:block;margin:0 auto;min-height:150px}.product-card .product-details{padding:16px;flex:1;margin:0}.product-card .product-details .product-code{color:#596b86;margin-bottom:8px;font-size:18px;font-style:normal;font-weight:400;line-height:21px}.product-card .product-details .product-name{color:#011e41;margin-bottom:16px;font-size:24px;font-style:normal;font-weight:600;line-height:29px}.product-card .product-details .access-link{color:#011e41;font-size:18px;font-style:normal;font-weight:400;line-height:27px;text-decoration:underline}.product-card.is-horizontal .product-layout{flex-direction:row;align-items:stretch;flex-wrap:nowrap}.product-card.is-horizontal .product-image-column{flex:0 0 33.333333%;max-width:33.333333%;display:flex;align-items:center;justify-content:center}.product-card.is-horizontal .product-content-column{flex:0 0 66.666667%;max-width:66.666667%}.product-card.is-horizontal .product-details{display:flex;flex-direction:column;justify-content:center}.product-card.is-vertical .product-layout{flex-direction:column;align-items:stretch}.product-card.is-vertical .product-image-column,.product-card.is-vertical .product-content-column{flex:0 0 100%;max-width:100%}.product-card.is-vertical .product-image-column{flex:0 0 auto}.product-card.is-vertical .product-content-column{flex:1 1 auto}.product-card.is-vertical .product-image-wrapper .product-image{max-height:230px}.product-card.is-vertical .product-details{padding:16px}.product-card.is-vertical .product-details .product-code{font-size:16px;line-height:19px}.product-card.is-vertical .product-details .product-name{font-size:18px;line-height:22px}.product-card.is-vertical .product-details .access-link{font-size:16px;line-height:24px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.TitleCasePipe, name: "titlecase" }, { kind: "component", type: EluxIcon, selector: "lib-elux-icon", inputs: ["color", "useSubscription", "icon", "description", "size", "height", "width", "sizeType"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }] }); }
|
|
26
26
|
}
|
|
27
27
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EluxCardProduct2, decorators: [{
|
|
28
28
|
type: Component,
|
|
29
|
-
args: [{ selector: 'lib-elux-card-product-2', standalone: true, imports: [CommonModule, EluxIcon, RouterLink], template: "<div class=\"product-card\" [ngClass]=\"{ 'is-vertical': isVertical, 'is-horizontal': !isVertical }\">\n <div class=\"background-blue product-layout\">\n <div class=\"product-image-column text-center background-white\">\n <div class=\"product-image-wrapper\">\n <span *ngIf=\"productVoltage\" class=\"voltage-badge\">{{ productVoltage }}</span>\n <img\n [src]=\"productImage\"\n [alt]=\"productDescription | titlecase\"\n class=\"product-image img-fluid\"\n />\n </div>\n </div>\n\n <div class=\"product-content-column\">\n <div class=\"product-details\">\n <p class=\"product-code mb-2\">{{ productCode }}</p>\n <h2 class=\"product-name mb-3\">{{ productDescription | titlecase }}</h2>\n <a\n *ngIf=\"redirectUrl\"\n href=\"\"\n [routerLink]=\"redirectUrl\"\n (click)=\"onRedirectClick($event)\"\n class=\"access-link d-inline-flex align-items-center\"\n >\n <lib-elux-icon [icon]=\"'Link.svg'\" [color]=\"'#011e41'\" [size]=\"'18'\" class=\"me-2\" />\n {{ redirectText }}\n </a>\n </div>\n </div>\n </div>\n</div>\n", styles: [".display{font-family:Electrolux Sans;font-size:48px;font-weight:700;line-height:56px}.heading-1{font-family:Electrolux Sans;font-size:34px;font-weight:700;line-height:40px}.heading-2{font-family:Electrolux Sans;font-size:28px;font-weight:600;line-height:32px}.heading-3{font-family:Electrolux Sans;font-size:20px;font-weight:600;line-height:24px}.subtitle-1{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:20px}.body{font-family:Electrolux Sans;font-size:16px;font-weight:400;line-height:21px}.caption{font-family:Electrolux Sans;font-size:14px;font-weight:400;line-height:normal}.links{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:normal;text-decoration-line:underline}@media screen and (max-width: 768px){.display{font-family:Electrolux Sans;font-size:40px;font-weight:700;line-height:46px}.heading-1{font-family:Electrolux Sans;font-size:28px;font-weight:600;line-height:32px}.heading-2{font-family:Electrolux Sans;font-size:24px;font-weight:600;line-height:28px}.heading-3{font-family:Electrolux Sans;font-size:20px;font-weight:600;line-height:24px}.subtitle-1{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:20px}.body{font-family:Electrolux Sans;font-size:16px;font-weight:400;line-height:21px}.caption{font-family:Electrolux Sans;font-size:14px;font-weight:400;line-height:normal}.links{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:normal;text-decoration-line:underline}}.product-card{box-shadow:0 4px 16px #0000001a;height:100%;display:flex;position:relative;transition:transform .3s ease,box-shadow .3s ease}.product-card:hover{transform:translateY(-4px);box-shadow:0 4px 12px #0000001a}.product-card .row{margin-left:0;margin-right:0}.product-card .product-layout{display:flex;flex:1;height:100%}.product-card .product-image-column,.product-card .product-content-column{width:100%}.product-card .product-content-column{display:flex;flex-direction:column}.product-card .background-blue{background-color:#e1e8eb}.product-card .background-white{background-color:#fff}.product-card .product-image-wrapper .voltage-badge{position:absolute;top:8px;left:8px;background-color:#3d5275;color:#fff;font-size:14px;font-weight:600;padding:4px 12px;border-radius:4px;z-index:1}.product-card .product-image-wrapper .product-image{width:100%;max-width:250px;height:auto;max-height:250px;object-fit:contain;display:block;margin:0 auto}.product-card .product-details{padding:16px;flex:1;margin:0}.product-card .product-details .product-code{color:#596b86;margin-bottom:8px;font-size:18px;font-style:normal;font-weight:400;line-height:21px}.product-card .product-details .product-name{color:#011e41;margin-bottom:16px;font-size:24px;font-style:normal;font-weight:600;line-height:29px}.product-card .product-details .access-link{color:#011e41;font-size:18px;font-style:normal;font-weight:400;line-height:27px;text-decoration:underline}.product-card.is-horizontal .product-layout{flex-direction:row;align-items:stretch;flex-wrap:nowrap}.product-card.is-horizontal .product-image-column{flex:0 0 33.333333%;max-width:33.333333%;display:flex;align-items:center;justify-content:center}.product-card.is-horizontal .product-content-column{flex:0 0 66.666667%;max-width:66.666667%}.product-card.is-horizontal .product-details{display:flex;flex-direction:column;justify-content:center}.product-card.is-vertical .product-layout{flex-direction:column;align-items:stretch}.product-card.is-vertical .product-image-column,.product-card.is-vertical .product-content-column{flex:0 0 100%;max-width:100%}.product-card.is-vertical .product-image-column{flex:0 0 auto}.product-card.is-vertical .product-content-column{flex:1 1 auto}.product-card.is-vertical .product-image-wrapper .product-image{max-height:230px}.product-card.is-vertical .product-details{padding:16px}.product-card.is-vertical .product-details .product-code{font-size:16px;line-height:19px}.product-card.is-vertical .product-details .product-name{font-size:18px;line-height:22px}.product-card.is-vertical .product-details .access-link{font-size:16px;line-height:24px}\n"] }]
|
|
29
|
+
args: [{ selector: 'lib-elux-card-product-2', standalone: true, imports: [CommonModule, EluxIcon, RouterLink], template: "<div class=\"product-card\" [ngClass]=\"{ 'is-vertical': isVertical, 'is-horizontal': !isVertical }\">\n <div class=\"background-blue product-layout\">\n <div class=\"product-image-column text-center background-white\">\n <div class=\"product-image-wrapper\">\n <span *ngIf=\"productVoltage\" class=\"voltage-badge\">{{ productVoltage }}</span>\n <img\n [src]=\"productImage\"\n [alt]=\"productDescription | titlecase\"\n class=\"product-image img-fluid\"\n />\n </div>\n </div>\n\n <div class=\"product-content-column\">\n <div class=\"product-details\">\n <p *ngIf=\"productCode\" class=\"product-code mb-2\">{{ productCode }}</p>\n <h2 *ngIf=\"productDescription\" class=\"product-name mb-3\">{{ productDescription | titlecase }}</h2>\n <a\n *ngIf=\"redirectUrl\"\n href=\"\"\n [routerLink]=\"redirectUrl\"\n (click)=\"onRedirectClick($event)\"\n class=\"access-link d-inline-flex align-items-center\"\n >\n <lib-elux-icon [icon]=\"'Link.svg'\" [color]=\"'#011e41'\" [size]=\"'18'\" class=\"me-2\" />\n {{ redirectText }}\n </a>\n </div>\n </div>\n </div>\n</div>\n", styles: [".display{font-family:Electrolux Sans;font-size:48px;font-weight:700;line-height:56px}.heading-1{font-family:Electrolux Sans;font-size:34px;font-weight:700;line-height:40px}.heading-2{font-family:Electrolux Sans;font-size:28px;font-weight:600;line-height:32px}.heading-3{font-family:Electrolux Sans;font-size:20px;font-weight:600;line-height:24px}.subtitle-1{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:20px}.body{font-family:Electrolux Sans;font-size:16px;font-weight:400;line-height:21px}.caption{font-family:Electrolux Sans;font-size:14px;font-weight:400;line-height:normal}.links{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:normal;text-decoration-line:underline}@media screen and (max-width: 768px){.display{font-family:Electrolux Sans;font-size:40px;font-weight:700;line-height:46px}.heading-1{font-family:Electrolux Sans;font-size:28px;font-weight:600;line-height:32px}.heading-2{font-family:Electrolux Sans;font-size:24px;font-weight:600;line-height:28px}.heading-3{font-family:Electrolux Sans;font-size:20px;font-weight:600;line-height:24px}.subtitle-1{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:20px}.body{font-family:Electrolux Sans;font-size:16px;font-weight:400;line-height:21px}.caption{font-family:Electrolux Sans;font-size:14px;font-weight:400;line-height:normal}.links{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:normal;text-decoration-line:underline}}.product-card{box-shadow:0 4px 16px #0000001a;height:100%;display:flex;position:relative;transition:transform .3s ease,box-shadow .3s ease}.product-card:hover{transform:translateY(-4px);box-shadow:0 4px 12px #0000001a}.product-card .row{margin-left:0;margin-right:0}.product-card .product-layout{display:flex;flex:1;height:100%}.product-card .product-image-column,.product-card .product-content-column{width:100%}.product-card .product-content-column{display:flex;flex-direction:column}.product-card .background-blue{background-color:#e1e8eb}.product-card .background-white{background-color:#fff}.product-card .product-image-wrapper .voltage-badge{position:absolute;top:8px;left:8px;background-color:#3d5275;color:#fff;font-size:14px;font-weight:600;padding:4px 12px;border-radius:4px;z-index:1}.product-card .product-image-wrapper .product-image{width:100%;max-width:250px;height:auto;max-height:250px;object-fit:contain;display:block;margin:0 auto;min-height:150px}.product-card .product-details{padding:16px;flex:1;margin:0}.product-card .product-details .product-code{color:#596b86;margin-bottom:8px;font-size:18px;font-style:normal;font-weight:400;line-height:21px}.product-card .product-details .product-name{color:#011e41;margin-bottom:16px;font-size:24px;font-style:normal;font-weight:600;line-height:29px}.product-card .product-details .access-link{color:#011e41;font-size:18px;font-style:normal;font-weight:400;line-height:27px;text-decoration:underline}.product-card.is-horizontal .product-layout{flex-direction:row;align-items:stretch;flex-wrap:nowrap}.product-card.is-horizontal .product-image-column{flex:0 0 33.333333%;max-width:33.333333%;display:flex;align-items:center;justify-content:center}.product-card.is-horizontal .product-content-column{flex:0 0 66.666667%;max-width:66.666667%}.product-card.is-horizontal .product-details{display:flex;flex-direction:column;justify-content:center}.product-card.is-vertical .product-layout{flex-direction:column;align-items:stretch}.product-card.is-vertical .product-image-column,.product-card.is-vertical .product-content-column{flex:0 0 100%;max-width:100%}.product-card.is-vertical .product-image-column{flex:0 0 auto}.product-card.is-vertical .product-content-column{flex:1 1 auto}.product-card.is-vertical .product-image-wrapper .product-image{max-height:230px}.product-card.is-vertical .product-details{padding:16px}.product-card.is-vertical .product-details .product-code{font-size:16px;line-height:19px}.product-card.is-vertical .product-details .product-name{font-size:18px;line-height:22px}.product-card.is-vertical .product-details .access-link{font-size:16px;line-height:24px}\n"] }]
|
|
30
30
|
}], propDecorators: { productCode: [{
|
|
31
31
|
type: Input
|
|
32
32
|
}], productDescription: [{
|
|
@@ -44,4 +44,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
44
44
|
}], redirectClick: [{
|
|
45
45
|
type: Output
|
|
46
46
|
}] } });
|
|
47
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
47
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC1wcm9kdWN0LTIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vdWkvbGlicmFyeS9zcmMvbGliL2NvbXBvbmVudHMvY2FyZC1wcm9kdWN0LTIvY2FyZC1wcm9kdWN0LTIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vdWkvbGlicmFyeS9zcmMvbGliL2NvbXBvbmVudHMvY2FyZC1wcm9kdWN0LTIvY2FyZC1wcm9kdWN0LTIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUF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yXT1cIicjMDExZTQxJ1wiIFtzaXplXT1cIicxOCdcIiBjbGFzcz1cIm1lLTJcIiAvPlxuICAgICAgICAgIHt7IHJlZGlyZWN0VGV4dCB9fVxuICAgICAgICA8L2E+XG4gICAgICA8L2Rpdj5cbiAgICA8L2Rpdj5cbiAgPC9kaXY+XG48L2Rpdj5cbiJdfQ==
|
package/fesm2022/elxjs-ui.mjs
CHANGED
|
@@ -2522,11 +2522,11 @@ class EluxCardProduct2 {
|
|
|
2522
2522
|
this.redirectClick.emit(event);
|
|
2523
2523
|
}
|
|
2524
2524
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EluxCardProduct2, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2525
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: EluxCardProduct2, isStandalone: true, selector: "lib-elux-card-product-2", inputs: { productCode: "productCode", productDescription: "productDescription", productVoltage: "productVoltage", productImage: "productImage", redirectUrl: "redirectUrl", redirectText: "redirectText", orientation: "orientation" }, outputs: { redirectClick: "redirectClick" }, ngImport: i0, template: "<div class=\"product-card\" [ngClass]=\"{ 'is-vertical': isVertical, 'is-horizontal': !isVertical }\">\n <div class=\"background-blue product-layout\">\n <div class=\"product-image-column text-center background-white\">\n <div class=\"product-image-wrapper\">\n <span *ngIf=\"productVoltage\" class=\"voltage-badge\">{{ productVoltage }}</span>\n <img\n [src]=\"productImage\"\n [alt]=\"productDescription | titlecase\"\n class=\"product-image img-fluid\"\n />\n </div>\n </div>\n\n <div class=\"product-content-column\">\n <div class=\"product-details\">\n <p class=\"product-code mb-2\">{{ productCode }}</p>\n <h2 class=\"product-name mb-3\">{{ productDescription | titlecase }}</h2>\n <a\n *ngIf=\"redirectUrl\"\n href=\"\"\n [routerLink]=\"redirectUrl\"\n (click)=\"onRedirectClick($event)\"\n class=\"access-link d-inline-flex align-items-center\"\n >\n <lib-elux-icon [icon]=\"'Link.svg'\" [color]=\"'#011e41'\" [size]=\"'18'\" class=\"me-2\" />\n {{ redirectText }}\n </a>\n </div>\n </div>\n </div>\n</div>\n", styles: [".display{font-family:Electrolux Sans;font-size:48px;font-weight:700;line-height:56px}.heading-1{font-family:Electrolux Sans;font-size:34px;font-weight:700;line-height:40px}.heading-2{font-family:Electrolux Sans;font-size:28px;font-weight:600;line-height:32px}.heading-3{font-family:Electrolux Sans;font-size:20px;font-weight:600;line-height:24px}.subtitle-1{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:20px}.body{font-family:Electrolux Sans;font-size:16px;font-weight:400;line-height:21px}.caption{font-family:Electrolux Sans;font-size:14px;font-weight:400;line-height:normal}.links{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:normal;text-decoration-line:underline}@media screen and (max-width: 768px){.display{font-family:Electrolux Sans;font-size:40px;font-weight:700;line-height:46px}.heading-1{font-family:Electrolux Sans;font-size:28px;font-weight:600;line-height:32px}.heading-2{font-family:Electrolux Sans;font-size:24px;font-weight:600;line-height:28px}.heading-3{font-family:Electrolux Sans;font-size:20px;font-weight:600;line-height:24px}.subtitle-1{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:20px}.body{font-family:Electrolux Sans;font-size:16px;font-weight:400;line-height:21px}.caption{font-family:Electrolux Sans;font-size:14px;font-weight:400;line-height:normal}.links{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:normal;text-decoration-line:underline}}.product-card{box-shadow:0 4px 16px #0000001a;height:100%;display:flex;position:relative;transition:transform .3s ease,box-shadow .3s ease}.product-card:hover{transform:translateY(-4px);box-shadow:0 4px 12px #0000001a}.product-card .row{margin-left:0;margin-right:0}.product-card .product-layout{display:flex;flex:1;height:100%}.product-card .product-image-column,.product-card .product-content-column{width:100%}.product-card .product-content-column{display:flex;flex-direction:column}.product-card .background-blue{background-color:#e1e8eb}.product-card .background-white{background-color:#fff}.product-card .product-image-wrapper .voltage-badge{position:absolute;top:8px;left:8px;background-color:#3d5275;color:#fff;font-size:14px;font-weight:600;padding:4px 12px;border-radius:4px;z-index:1}.product-card .product-image-wrapper .product-image{width:100%;max-width:250px;height:auto;max-height:250px;object-fit:contain;display:block;margin:0 auto}.product-card .product-details{padding:16px;flex:1;margin:0}.product-card .product-details .product-code{color:#596b86;margin-bottom:8px;font-size:18px;font-style:normal;font-weight:400;line-height:21px}.product-card .product-details .product-name{color:#011e41;margin-bottom:16px;font-size:24px;font-style:normal;font-weight:600;line-height:29px}.product-card .product-details .access-link{color:#011e41;font-size:18px;font-style:normal;font-weight:400;line-height:27px;text-decoration:underline}.product-card.is-horizontal .product-layout{flex-direction:row;align-items:stretch;flex-wrap:nowrap}.product-card.is-horizontal .product-image-column{flex:0 0 33.333333%;max-width:33.333333%;display:flex;align-items:center;justify-content:center}.product-card.is-horizontal .product-content-column{flex:0 0 66.666667%;max-width:66.666667%}.product-card.is-horizontal .product-details{display:flex;flex-direction:column;justify-content:center}.product-card.is-vertical .product-layout{flex-direction:column;align-items:stretch}.product-card.is-vertical .product-image-column,.product-card.is-vertical .product-content-column{flex:0 0 100%;max-width:100%}.product-card.is-vertical .product-image-column{flex:0 0 auto}.product-card.is-vertical .product-content-column{flex:1 1 auto}.product-card.is-vertical .product-image-wrapper .product-image{max-height:230px}.product-card.is-vertical .product-details{padding:16px}.product-card.is-vertical .product-details .product-code{font-size:16px;line-height:19px}.product-card.is-vertical .product-details .product-name{font-size:18px;line-height:22px}.product-card.is-vertical .product-details .access-link{font-size:16px;line-height:24px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.TitleCasePipe, name: "titlecase" }, { kind: "component", type: EluxIcon, selector: "lib-elux-icon", inputs: ["color", "useSubscription", "icon", "description", "size", "height", "width", "sizeType"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }] }); }
|
|
2525
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: EluxCardProduct2, isStandalone: true, selector: "lib-elux-card-product-2", inputs: { productCode: "productCode", productDescription: "productDescription", productVoltage: "productVoltage", productImage: "productImage", redirectUrl: "redirectUrl", redirectText: "redirectText", orientation: "orientation" }, outputs: { redirectClick: "redirectClick" }, ngImport: i0, template: "<div class=\"product-card\" [ngClass]=\"{ 'is-vertical': isVertical, 'is-horizontal': !isVertical }\">\n <div class=\"background-blue product-layout\">\n <div class=\"product-image-column text-center background-white\">\n <div class=\"product-image-wrapper\">\n <span *ngIf=\"productVoltage\" class=\"voltage-badge\">{{ productVoltage }}</span>\n <img\n [src]=\"productImage\"\n [alt]=\"productDescription | titlecase\"\n class=\"product-image img-fluid\"\n />\n </div>\n </div>\n\n <div class=\"product-content-column\">\n <div class=\"product-details\">\n <p *ngIf=\"productCode\" class=\"product-code mb-2\">{{ productCode }}</p>\n <h2 *ngIf=\"productDescription\" class=\"product-name mb-3\">{{ productDescription | titlecase }}</h2>\n <a\n *ngIf=\"redirectUrl\"\n href=\"\"\n [routerLink]=\"redirectUrl\"\n (click)=\"onRedirectClick($event)\"\n class=\"access-link d-inline-flex align-items-center\"\n >\n <lib-elux-icon [icon]=\"'Link.svg'\" [color]=\"'#011e41'\" [size]=\"'18'\" class=\"me-2\" />\n {{ redirectText }}\n </a>\n </div>\n </div>\n </div>\n</div>\n", styles: [".display{font-family:Electrolux Sans;font-size:48px;font-weight:700;line-height:56px}.heading-1{font-family:Electrolux Sans;font-size:34px;font-weight:700;line-height:40px}.heading-2{font-family:Electrolux Sans;font-size:28px;font-weight:600;line-height:32px}.heading-3{font-family:Electrolux Sans;font-size:20px;font-weight:600;line-height:24px}.subtitle-1{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:20px}.body{font-family:Electrolux Sans;font-size:16px;font-weight:400;line-height:21px}.caption{font-family:Electrolux Sans;font-size:14px;font-weight:400;line-height:normal}.links{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:normal;text-decoration-line:underline}@media screen and (max-width: 768px){.display{font-family:Electrolux Sans;font-size:40px;font-weight:700;line-height:46px}.heading-1{font-family:Electrolux Sans;font-size:28px;font-weight:600;line-height:32px}.heading-2{font-family:Electrolux Sans;font-size:24px;font-weight:600;line-height:28px}.heading-3{font-family:Electrolux Sans;font-size:20px;font-weight:600;line-height:24px}.subtitle-1{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:20px}.body{font-family:Electrolux Sans;font-size:16px;font-weight:400;line-height:21px}.caption{font-family:Electrolux Sans;font-size:14px;font-weight:400;line-height:normal}.links{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:normal;text-decoration-line:underline}}.product-card{box-shadow:0 4px 16px #0000001a;height:100%;display:flex;position:relative;transition:transform .3s ease,box-shadow .3s ease}.product-card:hover{transform:translateY(-4px);box-shadow:0 4px 12px #0000001a}.product-card .row{margin-left:0;margin-right:0}.product-card .product-layout{display:flex;flex:1;height:100%}.product-card .product-image-column,.product-card .product-content-column{width:100%}.product-card .product-content-column{display:flex;flex-direction:column}.product-card .background-blue{background-color:#e1e8eb}.product-card .background-white{background-color:#fff}.product-card .product-image-wrapper .voltage-badge{position:absolute;top:8px;left:8px;background-color:#3d5275;color:#fff;font-size:14px;font-weight:600;padding:4px 12px;border-radius:4px;z-index:1}.product-card .product-image-wrapper .product-image{width:100%;max-width:250px;height:auto;max-height:250px;object-fit:contain;display:block;margin:0 auto;min-height:150px}.product-card .product-details{padding:16px;flex:1;margin:0}.product-card .product-details .product-code{color:#596b86;margin-bottom:8px;font-size:18px;font-style:normal;font-weight:400;line-height:21px}.product-card .product-details .product-name{color:#011e41;margin-bottom:16px;font-size:24px;font-style:normal;font-weight:600;line-height:29px}.product-card .product-details .access-link{color:#011e41;font-size:18px;font-style:normal;font-weight:400;line-height:27px;text-decoration:underline}.product-card.is-horizontal .product-layout{flex-direction:row;align-items:stretch;flex-wrap:nowrap}.product-card.is-horizontal .product-image-column{flex:0 0 33.333333%;max-width:33.333333%;display:flex;align-items:center;justify-content:center}.product-card.is-horizontal .product-content-column{flex:0 0 66.666667%;max-width:66.666667%}.product-card.is-horizontal .product-details{display:flex;flex-direction:column;justify-content:center}.product-card.is-vertical .product-layout{flex-direction:column;align-items:stretch}.product-card.is-vertical .product-image-column,.product-card.is-vertical .product-content-column{flex:0 0 100%;max-width:100%}.product-card.is-vertical .product-image-column{flex:0 0 auto}.product-card.is-vertical .product-content-column{flex:1 1 auto}.product-card.is-vertical .product-image-wrapper .product-image{max-height:230px}.product-card.is-vertical .product-details{padding:16px}.product-card.is-vertical .product-details .product-code{font-size:16px;line-height:19px}.product-card.is-vertical .product-details .product-name{font-size:18px;line-height:22px}.product-card.is-vertical .product-details .access-link{font-size:16px;line-height:24px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.TitleCasePipe, name: "titlecase" }, { kind: "component", type: EluxIcon, selector: "lib-elux-icon", inputs: ["color", "useSubscription", "icon", "description", "size", "height", "width", "sizeType"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }] }); }
|
|
2526
2526
|
}
|
|
2527
2527
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EluxCardProduct2, decorators: [{
|
|
2528
2528
|
type: Component,
|
|
2529
|
-
args: [{ selector: 'lib-elux-card-product-2', standalone: true, imports: [CommonModule, EluxIcon, RouterLink], template: "<div class=\"product-card\" [ngClass]=\"{ 'is-vertical': isVertical, 'is-horizontal': !isVertical }\">\n <div class=\"background-blue product-layout\">\n <div class=\"product-image-column text-center background-white\">\n <div class=\"product-image-wrapper\">\n <span *ngIf=\"productVoltage\" class=\"voltage-badge\">{{ productVoltage }}</span>\n <img\n [src]=\"productImage\"\n [alt]=\"productDescription | titlecase\"\n class=\"product-image img-fluid\"\n />\n </div>\n </div>\n\n <div class=\"product-content-column\">\n <div class=\"product-details\">\n <p class=\"product-code mb-2\">{{ productCode }}</p>\n <h2 class=\"product-name mb-3\">{{ productDescription | titlecase }}</h2>\n <a\n *ngIf=\"redirectUrl\"\n href=\"\"\n [routerLink]=\"redirectUrl\"\n (click)=\"onRedirectClick($event)\"\n class=\"access-link d-inline-flex align-items-center\"\n >\n <lib-elux-icon [icon]=\"'Link.svg'\" [color]=\"'#011e41'\" [size]=\"'18'\" class=\"me-2\" />\n {{ redirectText }}\n </a>\n </div>\n </div>\n </div>\n</div>\n", styles: [".display{font-family:Electrolux Sans;font-size:48px;font-weight:700;line-height:56px}.heading-1{font-family:Electrolux Sans;font-size:34px;font-weight:700;line-height:40px}.heading-2{font-family:Electrolux Sans;font-size:28px;font-weight:600;line-height:32px}.heading-3{font-family:Electrolux Sans;font-size:20px;font-weight:600;line-height:24px}.subtitle-1{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:20px}.body{font-family:Electrolux Sans;font-size:16px;font-weight:400;line-height:21px}.caption{font-family:Electrolux Sans;font-size:14px;font-weight:400;line-height:normal}.links{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:normal;text-decoration-line:underline}@media screen and (max-width: 768px){.display{font-family:Electrolux Sans;font-size:40px;font-weight:700;line-height:46px}.heading-1{font-family:Electrolux Sans;font-size:28px;font-weight:600;line-height:32px}.heading-2{font-family:Electrolux Sans;font-size:24px;font-weight:600;line-height:28px}.heading-3{font-family:Electrolux Sans;font-size:20px;font-weight:600;line-height:24px}.subtitle-1{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:20px}.body{font-family:Electrolux Sans;font-size:16px;font-weight:400;line-height:21px}.caption{font-family:Electrolux Sans;font-size:14px;font-weight:400;line-height:normal}.links{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:normal;text-decoration-line:underline}}.product-card{box-shadow:0 4px 16px #0000001a;height:100%;display:flex;position:relative;transition:transform .3s ease,box-shadow .3s ease}.product-card:hover{transform:translateY(-4px);box-shadow:0 4px 12px #0000001a}.product-card .row{margin-left:0;margin-right:0}.product-card .product-layout{display:flex;flex:1;height:100%}.product-card .product-image-column,.product-card .product-content-column{width:100%}.product-card .product-content-column{display:flex;flex-direction:column}.product-card .background-blue{background-color:#e1e8eb}.product-card .background-white{background-color:#fff}.product-card .product-image-wrapper .voltage-badge{position:absolute;top:8px;left:8px;background-color:#3d5275;color:#fff;font-size:14px;font-weight:600;padding:4px 12px;border-radius:4px;z-index:1}.product-card .product-image-wrapper .product-image{width:100%;max-width:250px;height:auto;max-height:250px;object-fit:contain;display:block;margin:0 auto}.product-card .product-details{padding:16px;flex:1;margin:0}.product-card .product-details .product-code{color:#596b86;margin-bottom:8px;font-size:18px;font-style:normal;font-weight:400;line-height:21px}.product-card .product-details .product-name{color:#011e41;margin-bottom:16px;font-size:24px;font-style:normal;font-weight:600;line-height:29px}.product-card .product-details .access-link{color:#011e41;font-size:18px;font-style:normal;font-weight:400;line-height:27px;text-decoration:underline}.product-card.is-horizontal .product-layout{flex-direction:row;align-items:stretch;flex-wrap:nowrap}.product-card.is-horizontal .product-image-column{flex:0 0 33.333333%;max-width:33.333333%;display:flex;align-items:center;justify-content:center}.product-card.is-horizontal .product-content-column{flex:0 0 66.666667%;max-width:66.666667%}.product-card.is-horizontal .product-details{display:flex;flex-direction:column;justify-content:center}.product-card.is-vertical .product-layout{flex-direction:column;align-items:stretch}.product-card.is-vertical .product-image-column,.product-card.is-vertical .product-content-column{flex:0 0 100%;max-width:100%}.product-card.is-vertical .product-image-column{flex:0 0 auto}.product-card.is-vertical .product-content-column{flex:1 1 auto}.product-card.is-vertical .product-image-wrapper .product-image{max-height:230px}.product-card.is-vertical .product-details{padding:16px}.product-card.is-vertical .product-details .product-code{font-size:16px;line-height:19px}.product-card.is-vertical .product-details .product-name{font-size:18px;line-height:22px}.product-card.is-vertical .product-details .access-link{font-size:16px;line-height:24px}\n"] }]
|
|
2529
|
+
args: [{ selector: 'lib-elux-card-product-2', standalone: true, imports: [CommonModule, EluxIcon, RouterLink], template: "<div class=\"product-card\" [ngClass]=\"{ 'is-vertical': isVertical, 'is-horizontal': !isVertical }\">\n <div class=\"background-blue product-layout\">\n <div class=\"product-image-column text-center background-white\">\n <div class=\"product-image-wrapper\">\n <span *ngIf=\"productVoltage\" class=\"voltage-badge\">{{ productVoltage }}</span>\n <img\n [src]=\"productImage\"\n [alt]=\"productDescription | titlecase\"\n class=\"product-image img-fluid\"\n />\n </div>\n </div>\n\n <div class=\"product-content-column\">\n <div class=\"product-details\">\n <p *ngIf=\"productCode\" class=\"product-code mb-2\">{{ productCode }}</p>\n <h2 *ngIf=\"productDescription\" class=\"product-name mb-3\">{{ productDescription | titlecase }}</h2>\n <a\n *ngIf=\"redirectUrl\"\n href=\"\"\n [routerLink]=\"redirectUrl\"\n (click)=\"onRedirectClick($event)\"\n class=\"access-link d-inline-flex align-items-center\"\n >\n <lib-elux-icon [icon]=\"'Link.svg'\" [color]=\"'#011e41'\" [size]=\"'18'\" class=\"me-2\" />\n {{ redirectText }}\n </a>\n </div>\n </div>\n </div>\n</div>\n", styles: [".display{font-family:Electrolux Sans;font-size:48px;font-weight:700;line-height:56px}.heading-1{font-family:Electrolux Sans;font-size:34px;font-weight:700;line-height:40px}.heading-2{font-family:Electrolux Sans;font-size:28px;font-weight:600;line-height:32px}.heading-3{font-family:Electrolux Sans;font-size:20px;font-weight:600;line-height:24px}.subtitle-1{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:20px}.body{font-family:Electrolux Sans;font-size:16px;font-weight:400;line-height:21px}.caption{font-family:Electrolux Sans;font-size:14px;font-weight:400;line-height:normal}.links{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:normal;text-decoration-line:underline}@media screen and (max-width: 768px){.display{font-family:Electrolux Sans;font-size:40px;font-weight:700;line-height:46px}.heading-1{font-family:Electrolux Sans;font-size:28px;font-weight:600;line-height:32px}.heading-2{font-family:Electrolux Sans;font-size:24px;font-weight:600;line-height:28px}.heading-3{font-family:Electrolux Sans;font-size:20px;font-weight:600;line-height:24px}.subtitle-1{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:20px}.body{font-family:Electrolux Sans;font-size:16px;font-weight:400;line-height:21px}.caption{font-family:Electrolux Sans;font-size:14px;font-weight:400;line-height:normal}.links{font-family:Electrolux Sans;font-size:16px;font-weight:600;line-height:normal;text-decoration-line:underline}}.product-card{box-shadow:0 4px 16px #0000001a;height:100%;display:flex;position:relative;transition:transform .3s ease,box-shadow .3s ease}.product-card:hover{transform:translateY(-4px);box-shadow:0 4px 12px #0000001a}.product-card .row{margin-left:0;margin-right:0}.product-card .product-layout{display:flex;flex:1;height:100%}.product-card .product-image-column,.product-card .product-content-column{width:100%}.product-card .product-content-column{display:flex;flex-direction:column}.product-card .background-blue{background-color:#e1e8eb}.product-card .background-white{background-color:#fff}.product-card .product-image-wrapper .voltage-badge{position:absolute;top:8px;left:8px;background-color:#3d5275;color:#fff;font-size:14px;font-weight:600;padding:4px 12px;border-radius:4px;z-index:1}.product-card .product-image-wrapper .product-image{width:100%;max-width:250px;height:auto;max-height:250px;object-fit:contain;display:block;margin:0 auto;min-height:150px}.product-card .product-details{padding:16px;flex:1;margin:0}.product-card .product-details .product-code{color:#596b86;margin-bottom:8px;font-size:18px;font-style:normal;font-weight:400;line-height:21px}.product-card .product-details .product-name{color:#011e41;margin-bottom:16px;font-size:24px;font-style:normal;font-weight:600;line-height:29px}.product-card .product-details .access-link{color:#011e41;font-size:18px;font-style:normal;font-weight:400;line-height:27px;text-decoration:underline}.product-card.is-horizontal .product-layout{flex-direction:row;align-items:stretch;flex-wrap:nowrap}.product-card.is-horizontal .product-image-column{flex:0 0 33.333333%;max-width:33.333333%;display:flex;align-items:center;justify-content:center}.product-card.is-horizontal .product-content-column{flex:0 0 66.666667%;max-width:66.666667%}.product-card.is-horizontal .product-details{display:flex;flex-direction:column;justify-content:center}.product-card.is-vertical .product-layout{flex-direction:column;align-items:stretch}.product-card.is-vertical .product-image-column,.product-card.is-vertical .product-content-column{flex:0 0 100%;max-width:100%}.product-card.is-vertical .product-image-column{flex:0 0 auto}.product-card.is-vertical .product-content-column{flex:1 1 auto}.product-card.is-vertical .product-image-wrapper .product-image{max-height:230px}.product-card.is-vertical .product-details{padding:16px}.product-card.is-vertical .product-details .product-code{font-size:16px;line-height:19px}.product-card.is-vertical .product-details .product-name{font-size:18px;line-height:22px}.product-card.is-vertical .product-details .access-link{font-size:16px;line-height:24px}\n"] }]
|
|
2530
2530
|
}], propDecorators: { productCode: [{
|
|
2531
2531
|
type: Input
|
|
2532
2532
|
}], productDescription: [{
|