@elxjs/ui 0.0.217 → 0.0.219
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/components/card-product-2/card-product-2.component.mjs +13 -4
- package/esm2022/lib/components/toast/toast.component.mjs +3 -3
- package/fesm2022/elxjs-ui.mjs +13 -4
- package/fesm2022/elxjs-ui.mjs.map +1 -1
- package/lib/components/card-product-2/card-product-2.component.d.ts +5 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
3
3
|
import { EluxIcon } from '../icon';
|
|
4
4
|
import { RouterLink } from "@angular/router";
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -11,17 +11,22 @@ export class EluxCardProduct2 {
|
|
|
11
11
|
this.productVoltage = '';
|
|
12
12
|
this.productImage = '/assets/images/placeholder.jpg';
|
|
13
13
|
this.redirectUrl = '';
|
|
14
|
+
this.redirectText = 'Acessar seus produtos registrados';
|
|
14
15
|
this.orientation = 'horizontal';
|
|
16
|
+
this.redirectClick = new EventEmitter();
|
|
15
17
|
}
|
|
16
18
|
get isVertical() {
|
|
17
19
|
return this.orientation === 'vertical';
|
|
18
20
|
}
|
|
21
|
+
onRedirectClick(event) {
|
|
22
|
+
this.redirectClick.emit(event);
|
|
23
|
+
}
|
|
19
24
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EluxCardProduct2, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
20
|
-
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", orientation: "orientation" }, 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 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
|
|
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"] }] }); }
|
|
21
26
|
}
|
|
22
27
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EluxCardProduct2, decorators: [{
|
|
23
28
|
type: Component,
|
|
24
|
-
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 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
|
|
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"] }]
|
|
25
30
|
}], propDecorators: { productCode: [{
|
|
26
31
|
type: Input
|
|
27
32
|
}], productDescription: [{
|
|
@@ -32,7 +37,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
32
37
|
type: Input
|
|
33
38
|
}], redirectUrl: [{
|
|
34
39
|
type: Input
|
|
40
|
+
}], redirectText: [{
|
|
41
|
+
type: Input
|
|
35
42
|
}], orientation: [{
|
|
36
43
|
type: Input
|
|
44
|
+
}], redirectClick: [{
|
|
45
|
+
type: Output
|
|
37
46
|
}] } });
|
|
38
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
47
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC1wcm9kdWN0LTIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vdWkvbGlicmFyeS9zcmMvbGliL2NvbXBvbmVudHMvY2FyZC1wcm9kdWN0LTIvY2FyZC1wcm9kdWN0LTIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vdWkvbGlicmFyeS9zcmMvbGliL2NvbXBvbmVudHMvY2FyZC1wcm9kdWN0LTIvY2FyZC1wcm9kdWN0LTIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDdkUsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLFNBQVMsQ0FBQztBQUNuQyxPQUFPLEVBQUUsVUFBVSxFQUFFLE1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aW9uIHwgdGl0bGVjYXNlXCJcbiAgICAgICAgICBjbGFzcz1cInByb2R1Y3QtaW1hZ2UgaW1nLWZsdWlkXCJcbiAgICAgICAgLz5cbiAgICAgIDwvZGl2PlxuICAgIDwvZGl2PlxuXG4gICAgPGRpdiBjbGFzcz1cInByb2R1Y3QtY29udGVudC1jb2x1bW5cIj5cbiAgICAgIDxkaXYgY2xhc3M9XCJwcm9kdWN0LWRldGFpbHNcIj5cbiAgICAgICAgPHAgY2xhc3M9XCJwcm9kdWN0LWNvZGUgbWItMlwiPnt7IHByb2R1Y3RDb2RlIH19PC9wPlxuICAgICAgICA8aDIgY2xhc3M9XCJwcm9kdWN0LW5hbWUgbWItM1wiPnt7IHByb2R1Y3REZXNjcmlwdGlvbiB8IHRpdGxlY2FzZSB9fTwvaDI+XG4gICAgICAgIDxhXG4gICAgICAgICAgKm5nSWY9XCJyZWRpcmVjdFVybFwiXG4gICAgICAgICAgaHJlZj1cIlwiXG4gICAgICAgICAgW3JvdXRlckxpbmtdPVwicmVkaXJlY3RVcmxcIlxuICAgICAgICAgIChjbGljayk9XCJvblJlZGlyZWN0Q2xpY2soJGV2ZW50KVwiXG4gICAgICAgICAgY2xhc3M9XCJhY2Nlc3MtbGluayBkLWlubGluZS1mbGV4IGFsaWduLWl0ZW1zLWNlbnRlclwiXG4gICAgICAgID5cbiAgICAgICAgICA8bGliLWVsdXgtaWNvbiBbaWNvbl09XCInTGluay5zdmcnXCIgW2NvbG9yXT1cIicjMDExZTQxJ1wiIFtzaXplXT1cIicxOCdcIiBjbGFzcz1cIm1lLTJcIiAvPlxuICAgICAgICAgIHt7IHJlZGlyZWN0VGV4dCB9fVxuICAgICAgICA8L2E+XG4gICAgICA8L2Rpdj5cbiAgICA8L2Rpdj5cbiAgPC9kaXY+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -19,10 +19,10 @@ export class EluxToast {
|
|
|
19
19
|
this.toasterService.removeToast(toast.id);
|
|
20
20
|
}
|
|
21
21
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EluxToast, deps: [{ token: i1.ToasterService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
22
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: EluxToast, isStandalone: true, selector: "lib-elux-toaster", ngImport: i0, template: "<div class=\"elux-toast-container\">\n <div class=\"d-flex\" *ngFor=\"let toast of toasterService.toasts\" [ngClass]=\"['elux-toast-element', toast.type]\" (mouseenter)=\"pauseToast(toast)\" (mouseleave)=\"resumeToast(toast)\">\n <lib-elux-icon class=\"me-2\" [color]=\"toast.iconColor\" [icon]=\"toast.iconName\" size=\"20\" sizeType=\"px\"></lib-elux-icon>\n <div [innerHTML]=\"toast.message\"></div>\n <lib-elux-icon (click)=\"closeToast(toast)\" class=\"
|
|
22
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: EluxToast, isStandalone: true, selector: "lib-elux-toaster", ngImport: i0, template: "<div class=\"elux-toast-container\">\n <div class=\"d-flex\" *ngFor=\"let toast of toasterService.toasts\" [ngClass]=\"['elux-toast-element', toast.type]\" (mouseenter)=\"pauseToast(toast)\" (mouseleave)=\"resumeToast(toast)\">\n <lib-elux-icon class=\"me-2\" [color]=\"toast.iconColor\" [icon]=\"toast.iconName\" size=\"20\" sizeType=\"px\"></lib-elux-icon>\n <div [innerHTML]=\"toast.message\" class=\"toast-message\"></div>\n <lib-elux-icon (click)=\"closeToast(toast)\" class=\"toast-close cursor-pointer\" [color]=\"toast.iconColor\" icon=\"Close.svg\" size=\"20\" sizeType=\"px\"></lib-elux-icon>\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}}:host .elux-toast-container{position:fixed;top:80px;left:50%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;z-index:20}@media (max-width: 768px){:host .elux-toast-container{width:90%}}:host .elux-toast-element{margin:10px 0;padding:12px;border-radius:5px;border:none;display:flex;animation:fadein .5s forwards;box-shadow:none;position:relative}:host .toast-message{margin-top:2px;margin-right:24px}:host .toast-close{position:absolute;top:2px;right:4px}:host .cursor-pointer{cursor:pointer}:host .success{color:#0c5f29;background-color:#edf8f1}:host .error{color:#9c231c;background-color:#fff3f2}:host .warning{color:#b19459;background-color:#fff1d5}:host .info{color:#557cb3;background-color:#ddebff}@keyframes fadein{0%{opacity:0}to{opacity:1}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: EluxIcon, selector: "lib-elux-icon", inputs: ["color", "useSubscription", "icon", "description", "size", "height", "width", "sizeType"] }] }); }
|
|
23
23
|
}
|
|
24
24
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EluxToast, decorators: [{
|
|
25
25
|
type: Component,
|
|
26
|
-
args: [{ selector: 'lib-elux-toaster', standalone: true, imports: [CommonModule, EluxIcon], template: "<div class=\"elux-toast-container\">\n <div class=\"d-flex\" *ngFor=\"let toast of toasterService.toasts\" [ngClass]=\"['elux-toast-element', toast.type]\" (mouseenter)=\"pauseToast(toast)\" (mouseleave)=\"resumeToast(toast)\">\n <lib-elux-icon class=\"me-2\" [color]=\"toast.iconColor\" [icon]=\"toast.iconName\" size=\"20\" sizeType=\"px\"></lib-elux-icon>\n <div [innerHTML]=\"toast.message\"></div>\n <lib-elux-icon (click)=\"closeToast(toast)\" class=\"
|
|
26
|
+
args: [{ selector: 'lib-elux-toaster', standalone: true, imports: [CommonModule, EluxIcon], template: "<div class=\"elux-toast-container\">\n <div class=\"d-flex\" *ngFor=\"let toast of toasterService.toasts\" [ngClass]=\"['elux-toast-element', toast.type]\" (mouseenter)=\"pauseToast(toast)\" (mouseleave)=\"resumeToast(toast)\">\n <lib-elux-icon class=\"me-2\" [color]=\"toast.iconColor\" [icon]=\"toast.iconName\" size=\"20\" sizeType=\"px\"></lib-elux-icon>\n <div [innerHTML]=\"toast.message\" class=\"toast-message\"></div>\n <lib-elux-icon (click)=\"closeToast(toast)\" class=\"toast-close cursor-pointer\" [color]=\"toast.iconColor\" icon=\"Close.svg\" size=\"20\" sizeType=\"px\"></lib-elux-icon>\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}}:host .elux-toast-container{position:fixed;top:80px;left:50%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;z-index:20}@media (max-width: 768px){:host .elux-toast-container{width:90%}}:host .elux-toast-element{margin:10px 0;padding:12px;border-radius:5px;border:none;display:flex;animation:fadein .5s forwards;box-shadow:none;position:relative}:host .toast-message{margin-top:2px;margin-right:24px}:host .toast-close{position:absolute;top:2px;right:4px}:host .cursor-pointer{cursor:pointer}:host .success{color:#0c5f29;background-color:#edf8f1}:host .error{color:#9c231c;background-color:#fff3f2}:host .warning{color:#b19459;background-color:#fff1d5}:host .info{color:#557cb3;background-color:#ddebff}@keyframes fadein{0%{opacity:0}to{opacity:1}}\n"] }]
|
|
27
27
|
}], ctorParameters: () => [{ type: i1.ToasterService }] });
|
|
28
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9hc3QuY29tcG9uZW50Lm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TZXJ2aWNlLnJlbW92ZVRvYXN0KHRvYXN0LmlkKVxuICB9XG59XG4iLCI8ZGl2IGNsYXNzPVwiZWx1eC10b2FzdC1jb250YWluZXJcIj5cbiAgPGRpdiBjbGFzcz1cImQtZmxleFwiICpuZ0Zvcj1cImxldCB0b2FzdCBvZiB0b2FzdGVyU2VydmljZS50b2FzdHNcIiBbbmdDbGFzc109XCJbJ2VsdXgtdG9hc3QtZWxlbWVudCcsIHRvYXN0LnR5cGVdXCIgKG1vdXNlZW50ZXIpPVwicGF1c2VUb2FzdCh0b2FzdClcIiAobW91c2VsZWF2ZSk9XCJyZXN1bWVUb2FzdCh0b2FzdClcIj5cbiAgICA8bGliLWVsdXgtaWNvbiBjbGFzcz1cIm1lLTJcIiBbY29sb3JdPVwidG9hc3QuaWNvbkNvbG9yXCIgW2ljb25dPVwidG9hc3QuaWNvbk5hbWVcIiBzaXplPVwiMjBcIiBzaXplVHlwZT1cInB4XCI+PC9saWItZWx1eC1pY29uPlxuICAgIDxkaXYgW2lubmVySFRNTF09XCJ0b2FzdC5tZXNzYWdlXCIgY2xhc3M9XCJ0b2FzdC1tZXNzYWdlXCI+PC9kaXY+XG4gICAgPGxpYi1lbHV4LWljb24gKGNsaWNrKT1cImNsb3NlVG9hc3QodG9hc3QpXCIgY2xhc3M9XCJ0b2FzdC1jbG9zZSBjdXJzb3ItcG9pbnRlclwiIFtjb2xvcl09XCJ0b2FzdC5pY29uQ29sb3JcIiBpY29uPVwiQ2xvc2Uuc3ZnXCIgc2l6ZT1cIjIwXCIgc2l6ZVR5cGU9XCJweFwiPjwvbGliLWVsdXgtaWNvbj5cbiAgPC9kaXY+XG48L2Rpdj5cbiJdfQ==
|
package/fesm2022/elxjs-ui.mjs
CHANGED
|
@@ -973,11 +973,11 @@ class EluxToast {
|
|
|
973
973
|
this.toasterService.removeToast(toast.id);
|
|
974
974
|
}
|
|
975
975
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EluxToast, deps: [{ token: ToasterService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
976
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: EluxToast, isStandalone: true, selector: "lib-elux-toaster", ngImport: i0, template: "<div class=\"elux-toast-container\">\n <div class=\"d-flex\" *ngFor=\"let toast of toasterService.toasts\" [ngClass]=\"['elux-toast-element', toast.type]\" (mouseenter)=\"pauseToast(toast)\" (mouseleave)=\"resumeToast(toast)\">\n <lib-elux-icon class=\"me-2\" [color]=\"toast.iconColor\" [icon]=\"toast.iconName\" size=\"20\" sizeType=\"px\"></lib-elux-icon>\n <div [innerHTML]=\"toast.message\"></div>\n <lib-elux-icon (click)=\"closeToast(toast)\" class=\"
|
|
976
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: EluxToast, isStandalone: true, selector: "lib-elux-toaster", ngImport: i0, template: "<div class=\"elux-toast-container\">\n <div class=\"d-flex\" *ngFor=\"let toast of toasterService.toasts\" [ngClass]=\"['elux-toast-element', toast.type]\" (mouseenter)=\"pauseToast(toast)\" (mouseleave)=\"resumeToast(toast)\">\n <lib-elux-icon class=\"me-2\" [color]=\"toast.iconColor\" [icon]=\"toast.iconName\" size=\"20\" sizeType=\"px\"></lib-elux-icon>\n <div [innerHTML]=\"toast.message\" class=\"toast-message\"></div>\n <lib-elux-icon (click)=\"closeToast(toast)\" class=\"toast-close cursor-pointer\" [color]=\"toast.iconColor\" icon=\"Close.svg\" size=\"20\" sizeType=\"px\"></lib-elux-icon>\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}}:host .elux-toast-container{position:fixed;top:80px;left:50%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;z-index:20}@media (max-width: 768px){:host .elux-toast-container{width:90%}}:host .elux-toast-element{margin:10px 0;padding:12px;border-radius:5px;border:none;display:flex;animation:fadein .5s forwards;box-shadow:none;position:relative}:host .toast-message{margin-top:2px;margin-right:24px}:host .toast-close{position:absolute;top:2px;right:4px}:host .cursor-pointer{cursor:pointer}:host .success{color:#0c5f29;background-color:#edf8f1}:host .error{color:#9c231c;background-color:#fff3f2}:host .warning{color:#b19459;background-color:#fff1d5}:host .info{color:#557cb3;background-color:#ddebff}@keyframes fadein{0%{opacity:0}to{opacity:1}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: EluxIcon, selector: "lib-elux-icon", inputs: ["color", "useSubscription", "icon", "description", "size", "height", "width", "sizeType"] }] }); }
|
|
977
977
|
}
|
|
978
978
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EluxToast, decorators: [{
|
|
979
979
|
type: Component,
|
|
980
|
-
args: [{ selector: 'lib-elux-toaster', standalone: true, imports: [CommonModule, EluxIcon], template: "<div class=\"elux-toast-container\">\n <div class=\"d-flex\" *ngFor=\"let toast of toasterService.toasts\" [ngClass]=\"['elux-toast-element', toast.type]\" (mouseenter)=\"pauseToast(toast)\" (mouseleave)=\"resumeToast(toast)\">\n <lib-elux-icon class=\"me-2\" [color]=\"toast.iconColor\" [icon]=\"toast.iconName\" size=\"20\" sizeType=\"px\"></lib-elux-icon>\n <div [innerHTML]=\"toast.message\"></div>\n <lib-elux-icon (click)=\"closeToast(toast)\" class=\"
|
|
980
|
+
args: [{ selector: 'lib-elux-toaster', standalone: true, imports: [CommonModule, EluxIcon], template: "<div class=\"elux-toast-container\">\n <div class=\"d-flex\" *ngFor=\"let toast of toasterService.toasts\" [ngClass]=\"['elux-toast-element', toast.type]\" (mouseenter)=\"pauseToast(toast)\" (mouseleave)=\"resumeToast(toast)\">\n <lib-elux-icon class=\"me-2\" [color]=\"toast.iconColor\" [icon]=\"toast.iconName\" size=\"20\" sizeType=\"px\"></lib-elux-icon>\n <div [innerHTML]=\"toast.message\" class=\"toast-message\"></div>\n <lib-elux-icon (click)=\"closeToast(toast)\" class=\"toast-close cursor-pointer\" [color]=\"toast.iconColor\" icon=\"Close.svg\" size=\"20\" sizeType=\"px\"></lib-elux-icon>\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}}:host .elux-toast-container{position:fixed;top:80px;left:50%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;z-index:20}@media (max-width: 768px){:host .elux-toast-container{width:90%}}:host .elux-toast-element{margin:10px 0;padding:12px;border-radius:5px;border:none;display:flex;animation:fadein .5s forwards;box-shadow:none;position:relative}:host .toast-message{margin-top:2px;margin-right:24px}:host .toast-close{position:absolute;top:2px;right:4px}:host .cursor-pointer{cursor:pointer}:host .success{color:#0c5f29;background-color:#edf8f1}:host .error{color:#9c231c;background-color:#fff3f2}:host .warning{color:#b19459;background-color:#fff1d5}:host .info{color:#557cb3;background-color:#ddebff}@keyframes fadein{0%{opacity:0}to{opacity:1}}\n"] }]
|
|
981
981
|
}], ctorParameters: () => [{ type: ToasterService }] });
|
|
982
982
|
|
|
983
983
|
class EluxDataTable {
|
|
@@ -2506,17 +2506,22 @@ class EluxCardProduct2 {
|
|
|
2506
2506
|
this.productVoltage = '';
|
|
2507
2507
|
this.productImage = '/assets/images/placeholder.jpg';
|
|
2508
2508
|
this.redirectUrl = '';
|
|
2509
|
+
this.redirectText = 'Acessar seus produtos registrados';
|
|
2509
2510
|
this.orientation = 'horizontal';
|
|
2511
|
+
this.redirectClick = new EventEmitter();
|
|
2510
2512
|
}
|
|
2511
2513
|
get isVertical() {
|
|
2512
2514
|
return this.orientation === 'vertical';
|
|
2513
2515
|
}
|
|
2516
|
+
onRedirectClick(event) {
|
|
2517
|
+
this.redirectClick.emit(event);
|
|
2518
|
+
}
|
|
2514
2519
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EluxCardProduct2, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2515
|
-
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", orientation: "orientation" }, 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 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
|
|
2520
|
+
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"] }] }); }
|
|
2516
2521
|
}
|
|
2517
2522
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EluxCardProduct2, decorators: [{
|
|
2518
2523
|
type: Component,
|
|
2519
|
-
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 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
|
|
2524
|
+
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"] }]
|
|
2520
2525
|
}], propDecorators: { productCode: [{
|
|
2521
2526
|
type: Input
|
|
2522
2527
|
}], productDescription: [{
|
|
@@ -2527,8 +2532,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
2527
2532
|
type: Input
|
|
2528
2533
|
}], redirectUrl: [{
|
|
2529
2534
|
type: Input
|
|
2535
|
+
}], redirectText: [{
|
|
2536
|
+
type: Input
|
|
2530
2537
|
}], orientation: [{
|
|
2531
2538
|
type: Input
|
|
2539
|
+
}], redirectClick: [{
|
|
2540
|
+
type: Output
|
|
2532
2541
|
}] } });
|
|
2533
2542
|
|
|
2534
2543
|
class EluxCardArticle {
|