@elxjs/ui 0.0.235 → 0.0.237
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/assets/icons/Moving_Squares.svg +6 -0
- package/assets/icons/Stopwatch.svg +4 -0
- package/assets/styles/inputs.scss +6 -3
- package/fesm2022/elxjs-ui.mjs +282 -116
- package/fesm2022/elxjs-ui.mjs.map +1 -1
- package/index.d.ts +80 -8
- package/package.json +1 -1
package/fesm2022/elxjs-ui.mjs
CHANGED
|
@@ -34,10 +34,10 @@ class EluxIcon {
|
|
|
34
34
|
'-webkit-mask-position': 'center'
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
38
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
37
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxIcon, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
38
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.28", type: EluxIcon, isStandalone: true, selector: "lib-elux-icon", inputs: { color: "color", useSubscription: "useSubscription", icon: "icon", description: "description", size: "size", height: "height", width: "width", sizeType: "sizeType" }, viewQueries: [{ propertyName: "iconSpan", first: true, predicate: ["iconSpan"], descendants: true }], ngImport: i0, template: "@if (icon) {\n<span #iconSpan class=\"icon\" [ngStyle]=\"iconMask()\"></span>\n}", styles: [".icon{display:inline-block;height:48px;width:48px;-webkit-mask-size:cover;mask-size:cover;vertical-align:middle}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: ReactiveFormsModule }] }); }
|
|
39
39
|
}
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxIcon, decorators: [{
|
|
41
41
|
type: Component,
|
|
42
42
|
args: [{ selector: 'lib-elux-icon', imports: [CommonModule, ReactiveFormsModule], template: "@if (icon) {\n<span #iconSpan class=\"icon\" [ngStyle]=\"iconMask()\"></span>\n}", styles: [".icon{display:inline-block;height:48px;width:48px;-webkit-mask-size:cover;mask-size:cover;vertical-align:middle}\n"] }]
|
|
43
43
|
}], ctorParameters: () => [], propDecorators: { iconSpan: [{
|
|
@@ -91,10 +91,10 @@ class EluxBreadcrumb {
|
|
|
91
91
|
document.removeEventListener('click', this.closeDropdown.bind(this));
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
95
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
94
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxBreadcrumb, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
95
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.28", type: EluxBreadcrumb, isStandalone: true, selector: "lib-elux-breadcrumb", inputs: { routes: "routes" }, usesOnChanges: true, ngImport: i0, template: "<div aria-label=\"breadcrumb\" class=\"breadCrumb\" *ngIf=\"routes && routes.length > 0\">\n <div class=\"breadcrumbMobile\">\n <div>\n <div class=\"dots\" (click)=\"toggleBreadcrumbDrop()\">...</div>\n <div class=\"dropGroup\" *ngIf=\"showBreadcrumbDrop\">\n <div *ngFor=\"let route of routes; let i = index\">\n <a class=\"text-decoration-none\" *ngIf=\"i != routes.length - 1\" [routerLink]=\"route.route\">\n <div class=\"dropOption\">\n {{ route.name }}\n </div>\n </a>\n </div>\n </div>\n </div>\n <div class=\"divBreadCrumbDesktop\">\n <lib-elux-icon class=\"align-middle mr-1\" color=\"#011E41\" icon=\"Chevron_Right.svg\" size=\"15\" sizeType=\"px\"></lib-elux-icon>\n <span class=\"lastRoute\" aria-current>{{ routes[routes.length-1].name }}</span>\n </div>\n </div>\n <div class=\"breadcrumbDesktop\">\n <div class=\"divBreadCrumbDesktop\" *ngFor=\"let route of routes; let i = index\">\n <a [routerLink]=\"route.route\" class=\"route\" *ngIf=\"i != routes.length - 1\">\n {{ route.name }}\n </a>\n <span class=\"lastRoute\" aria-current *ngIf=\"i == routes.length - 1\">\n {{ route.name }}\n </span>\n <lib-elux-icon class=\"align-middle mr-1 \" *ngIf=\"i != routes.length - 1\" color=\"#011E41\" icon=\"Chevron_Right.svg\"\n size=\"15\" sizeType=\"px\"></lib-elux-icon>\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,:host .breadCrumb{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,:host .breadCrumb{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 .breadCrumb .route{color:#515253;text-decoration:none}:host .breadCrumb .lastRoute{text-decoration:underline;color:#011e41}:host .breadCrumb .text-decoration-none{text-decoration:none}:host .breadCrumb .breadcrumbMobile{display:none}@media(max-width:991px){:host .breadCrumb .breadcrumbMobile{display:flex}}:host .breadCrumb .breadcrumbMobile .dots{font-weight:600;font-size:30px;line-height:1px;margin-right:3px;cursor:pointer}:host .breadCrumb .breadcrumbMobile .dropGroup{position:absolute;box-shadow:0 1px 3px #0003;z-index:4;background-color:#fff;margin-top:25px}:host .breadCrumb .breadcrumbMobile .dropOption{border-bottom:solid 1px #DEE7EA;padding:10px 16px;color:#515253}:host .breadCrumb .breadcrumbDesktop{display:none}@media(min-width:991px){:host .breadCrumb .breadcrumbDesktop{display:flex}}:host .breadCrumb .divBreadCrumbDesktop{display:flex}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1$1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: EluxIcon, selector: "lib-elux-icon", inputs: ["color", "useSubscription", "icon", "description", "size", "height", "width", "sizeType"] }] }); }
|
|
96
96
|
}
|
|
97
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
97
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxBreadcrumb, decorators: [{
|
|
98
98
|
type: Component,
|
|
99
99
|
args: [{ selector: 'lib-elux-breadcrumb', imports: [CommonModule, ReactiveFormsModule, RouterModule, EluxIcon], template: "<div aria-label=\"breadcrumb\" class=\"breadCrumb\" *ngIf=\"routes && routes.length > 0\">\n <div class=\"breadcrumbMobile\">\n <div>\n <div class=\"dots\" (click)=\"toggleBreadcrumbDrop()\">...</div>\n <div class=\"dropGroup\" *ngIf=\"showBreadcrumbDrop\">\n <div *ngFor=\"let route of routes; let i = index\">\n <a class=\"text-decoration-none\" *ngIf=\"i != routes.length - 1\" [routerLink]=\"route.route\">\n <div class=\"dropOption\">\n {{ route.name }}\n </div>\n </a>\n </div>\n </div>\n </div>\n <div class=\"divBreadCrumbDesktop\">\n <lib-elux-icon class=\"align-middle mr-1\" color=\"#011E41\" icon=\"Chevron_Right.svg\" size=\"15\" sizeType=\"px\"></lib-elux-icon>\n <span class=\"lastRoute\" aria-current>{{ routes[routes.length-1].name }}</span>\n </div>\n </div>\n <div class=\"breadcrumbDesktop\">\n <div class=\"divBreadCrumbDesktop\" *ngFor=\"let route of routes; let i = index\">\n <a [routerLink]=\"route.route\" class=\"route\" *ngIf=\"i != routes.length - 1\">\n {{ route.name }}\n </a>\n <span class=\"lastRoute\" aria-current *ngIf=\"i == routes.length - 1\">\n {{ route.name }}\n </span>\n <lib-elux-icon class=\"align-middle mr-1 \" *ngIf=\"i != routes.length - 1\" color=\"#011E41\" icon=\"Chevron_Right.svg\"\n size=\"15\" sizeType=\"px\"></lib-elux-icon>\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,:host .breadCrumb{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,:host .breadCrumb{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 .breadCrumb .route{color:#515253;text-decoration:none}:host .breadCrumb .lastRoute{text-decoration:underline;color:#011e41}:host .breadCrumb .text-decoration-none{text-decoration:none}:host .breadCrumb .breadcrumbMobile{display:none}@media(max-width:991px){:host .breadCrumb .breadcrumbMobile{display:flex}}:host .breadCrumb .breadcrumbMobile .dots{font-weight:600;font-size:30px;line-height:1px;margin-right:3px;cursor:pointer}:host .breadCrumb .breadcrumbMobile .dropGroup{position:absolute;box-shadow:0 1px 3px #0003;z-index:4;background-color:#fff;margin-top:25px}:host .breadCrumb .breadcrumbMobile .dropOption{border-bottom:solid 1px #DEE7EA;padding:10px 16px;color:#515253}:host .breadCrumb .breadcrumbDesktop{display:none}@media(min-width:991px){:host .breadCrumb .breadcrumbDesktop{display:flex}}:host .breadCrumb .divBreadCrumbDesktop{display:flex}\n"] }]
|
|
100
100
|
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { routes: [{
|
|
@@ -106,10 +106,10 @@ class EluxLoading {
|
|
|
106
106
|
this.size = 50;
|
|
107
107
|
this.white = false;
|
|
108
108
|
}
|
|
109
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
110
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
109
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxLoading, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
110
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.28", type: EluxLoading, isStandalone: true, selector: "lib-elux-loading", inputs: { size: "size", white: "white" }, ngImport: i0, template: "<div class=\"backdrop\">\n <div class=\"spinner\" [ngClass]=\"{ white: white, blue: !white }\" [ngStyle]=\"{ 'width.px': size, 'height.px': size }\"></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}}.spinner{border:5px solid rgba(255,255,255,0);border-radius:50%;animation:spin 1s linear infinite}.blue{border-top:5px solid #011E41}.white{border-top:5px solid #FFFFFF}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] }); }
|
|
111
111
|
}
|
|
112
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
112
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxLoading, decorators: [{
|
|
113
113
|
type: Component,
|
|
114
114
|
args: [{ selector: 'lib-elux-loading', imports: [CommonModule], template: "<div class=\"backdrop\">\n <div class=\"spinner\" [ngClass]=\"{ white: white, blue: !white }\" [ngStyle]=\"{ 'width.px': size, 'height.px': size }\"></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}}.spinner{border:5px solid rgba(255,255,255,0);border-radius:50%;animation:spin 1s linear infinite}.blue{border-top:5px solid #011E41}.white{border-top:5px solid #FFFFFF}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"] }]
|
|
115
115
|
}], propDecorators: { size: [{
|
|
@@ -164,10 +164,10 @@ class EluxButton {
|
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
168
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
167
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxButton, deps: [{ token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
168
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.28", type: EluxButton, isStandalone: true, selector: "lib-elux-button", inputs: { disabled: "disabled", type: "type", typeButton: "typeButton", content: "content", done: "done", routerLink: "routerLink", link: "link", size: "size", icon: "icon", iconAlign: "iconAlign", externalLink: "externalLink", loading: "loading", onlyfirstLetterUpper: "onlyfirstLetterUpper", rounded: "rounded" }, outputs: { onClick: "onClick" }, usesOnChanges: true, ngImport: i0, template: "<button\n [type]=\"typeButton\"\n class=\"btn elux-button size-{{ size }} {{ type }}\"\n [class.rounded]=\"rounded\"\n [disabled]=\"disabled\"\n (click)=\"clickButton($event)\"\n (keyup.enter)=\"clickButton($event)\"\n>\n <div *ngIf=\"loading\" [ngStyle]=\"{ 'width': '24px', 'margin': 'auto' , 'margin-top' : '3px' }\">\n <lib-elux-loading [size]=\"30\" [white]=\"true\"></lib-elux-loading>\n </div>\n <div class=\"d-flex align-items-center justify-content-center\" [ngClass]=\"iconAlign\">\n <lib-elux-icon class=\"gap-icon\" *ngIf=\"icon !== ''\" [icon]=\"icon\" [size]=\"'24'\" [sizeType]=\"'px'\"></lib-elux-icon>\n <span *ngIf=\"!done && !loading\">\n {{ onlyfirstLetterUpper ? firstLetterUpper(content) : content }}\n </span>\n </div>\n</button>\n", styles: [":host .elux-button{width:100%;height:48px;text-align:center;padding:8px 16px;min-height:36px;border:none;border-radius:8px;transition:transform .3s ease,box-shadow .3s ease}:host .elux-button span{font-weight:600;font-size:14px;font-stretch:normal;font-style:normal;letter-spacing:normal;margin:auto 0}:host .elux-button:disabled{cursor:default;pointer-events:none}:host .elux-button.basic{color:#fff;background:#011e41}:host .elux-button.basic ::ng-deep lib-elux-icon span{background-color:#fff!important}:host .elux-button.basic:hover{opacity:.85;transform:scale(1.01)}:host .elux-button.basic:disabled{background:#5b6a78;opacity:.85}:host .elux-button.basic:focus-visible{outline:2px solid #16a748!important;box-shadow:inherit!important;outline-offset:-2px}:host .elux-button.basic-action{color:#fff;background:#a5742e}:host .elux-button.basic-action ::ng-deep lib-elux-icon span{background-color:#fff!important}:host .elux-button.basic-action:hover{opacity:.85;transform:scale(1.01)}:host .elux-button.basic-action:disabled{background:#d9ba91;opacity:.85}:host .elux-button.outline{background-color:#fff;border:solid 1px #011E41;color:#011e41}:host .elux-button.outline ::ng-deep lib-elux-icon span{background-color:#011e41!important}:host .elux-button.outline:hover{color:#fff;background-color:#011e41;transform:scale(1.01)}:host .elux-button.outline:hover:disabled{background-color:#fff}:host .elux-button.outline:hover ::ng-deep lib-elux-icon span{background-color:#fff!important}:host .elux-button.outline:disabled{opacity:.85;color:#5b6a78;border:solid 1px #5b6a78}:host .elux-button.outline-noborder{background-color:#fff;border:none;color:#011e41}:host .elux-button.outline-noborder ::ng-deep lib-elux-icon span{background-color:#011e41!important}:host .elux-button.outline-noborder:hover{color:#fff;background-color:#011e41;transform:scale(1.01)}:host .elux-button.outline-noborder:hover:disabled{background-color:#fff}:host .elux-button.outline-noborder:hover ::ng-deep lib-elux-icon span{background-color:#fff!important}:host .elux-button.outline-noborder:disabled{opacity:.85;color:#5b6a78;border:solid 1px #5b6a78}:host .elux-button.text{border:none;color:#011e41;padding:0}:host .elux-button.text:hover{text-decoration:underline;transform:scale(1.01)}:host .elux-button.text:hover:disabled{text-decoration:none}:host .elux-button.text:disabled{opacity:.85;color:#5b6a78}:host .elux-button.text ::ng-deep lib-elux-icon span{background-color:#011e41!important}:host .elux-button.text:focus-visible{outline:2px solid #16a748!important;box-shadow:inherit!important;outline-offset:-2px}:host .elux-button.basicBlue{background-color:#011e41!important;color:#fff!important;border:1px solid #011E41!important}:host .elux-button.basicBlue:hover{background-color:#fff!important;color:#011e41!important;transform:scale(1.01)}:host .elux-button.basicBlue:hover ::ng-deep lib-elux-icon span{background-color:#a5742e!important}:host .elux-button.basicBlue:disabled{background:#dee7ea!important;color:#c9c9ca!important}:host .elux-button.basicBlue:disabled ::ng-deep lib-elux-icon span{background-color:#c9c9ca!important}:host .elux-button.basicWhite{color:#011e41;background:#fff;border:1px solid #011E41}:host .elux-button.basicWhite:hover{font-weight:600;color:#a5742e;transform:scale(1.01)}:host .elux-button.basicWhite:hover ::ng-deep lib-elux-icon span{background-color:#a5742e!important}:host .elux-button.basicWhite:disabled{background:#dee7ea;color:#c9c9ca;transform:scale(1.01)}:host .elux-button.basicWhite:disabled ::ng-deep lib-elux-icon span{background-color:#c9c9ca!important}:host .elux-button.basic-dark{background-color:#fff;color:#011e41}:host .elux-button.basic-dark:hover{background-color:#dee7ea;transform:scale(1.01)}:host .elux-button.basic-dark:hover:disabled{background-color:#5b6a78}:host .elux-button.basic-dark:disabled{opacity:.85;color:#fff!important;background-color:#5b6a78}:host .elux-button.basic-dark ::ng-deep lib-elux-icon span{background-color:#011e41!important}:host .elux-button.outline-dark{color:#fff;background-color:transparent;border:solid 1px #FFFFFF}:host .elux-button.outline-dark ::ng-deep lib-elux-icon span{background-color:#fff!important}:host .elux-button.outline-dark:hover{background-color:#fff;color:#011e41;transform:scale(1.01)}:host .elux-button.outline-dark:hover:disabled{background-color:transparent}:host .elux-button.outline-dark:hover ::ng-deep lib-elux-icon span{background-color:#011e41!important}:host .elux-button.outline-dark:disabled{opacity:.85;color:#5b6a78;border:solid 1px #5b6a78}:host .elux-button.uppercase{text-transform:uppercase}:host .elux-button .right{flex-direction:row-reverse}:host .elux-button.primary,:host .elux-button.primary-negative,:host .elux-button.secondary,:host .elux-button.secondary-negative{height:48px;padding:0 24px;border:none}:host .elux-button.primary span,:host .elux-button.primary-negative span,:host .elux-button.secondary span,:host .elux-button.secondary-negative span{font-size:16px}:host .elux-button.primary:focus-visible,:host .elux-button.primary-negative:focus-visible,:host .elux-button.secondary:focus-visible,:host .elux-button.secondary-negative:focus-visible{outline:2px solid #16a748!important;box-shadow:inherit!important;outline-offset:-2px}:host .elux-button.primary{color:#fff;background-color:#011e41}:host .elux-button.primary:hover{opacity:.85;transform:scale(1.01)}:host .elux-button.primary:disabled{background:#adb9c3;color:#fff}:host .elux-button.primary-negative{color:#011e41;background-color:#fff}:host .elux-button.primary-negative:hover{opacity:.85;transform:scale(1.01)}:host .elux-button.primary-negative:disabled{background:#adb9c3;color:#fff}:host .elux-button.secondary{color:#011e41;background-color:#fff;border:1px solid #011E41}:host .elux-button.secondary:hover{background:#011e41;color:#fff;transform:scale(1.01)}:host .elux-button.secondary:disabled{border-color:#7a8a9b;color:#7a8a9b}:host .elux-button.secondary-negative{color:#fff;background-color:#011e41;border:1px solid #FFFFFF}:host .elux-button.secondary-negative:hover{background-color:#fff;color:#011e41;border:1px solid #011E41;transform:scale(1.01)}:host .elux-button.secondary-negative:disabled{border-color:#7a8a9b;color:#7a8a9b}:host .elux-button.rounded{border-radius:24px!important}:host .elux-button .gap-icon{margin-right:8px;margin-left:8px}\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: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "component", type: EluxIcon, selector: "lib-elux-icon", inputs: ["color", "useSubscription", "icon", "description", "size", "height", "width", "sizeType"] }, { kind: "component", type: EluxLoading, selector: "lib-elux-loading", inputs: ["size", "white"] }] }); }
|
|
169
169
|
}
|
|
170
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
170
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxButton, decorators: [{
|
|
171
171
|
type: Component,
|
|
172
172
|
args: [{ selector: 'lib-elux-button', imports: [CommonModule, ReactiveFormsModule, EluxIcon, EluxLoading], template: "<button\n [type]=\"typeButton\"\n class=\"btn elux-button size-{{ size }} {{ type }}\"\n [class.rounded]=\"rounded\"\n [disabled]=\"disabled\"\n (click)=\"clickButton($event)\"\n (keyup.enter)=\"clickButton($event)\"\n>\n <div *ngIf=\"loading\" [ngStyle]=\"{ 'width': '24px', 'margin': 'auto' , 'margin-top' : '3px' }\">\n <lib-elux-loading [size]=\"30\" [white]=\"true\"></lib-elux-loading>\n </div>\n <div class=\"d-flex align-items-center justify-content-center\" [ngClass]=\"iconAlign\">\n <lib-elux-icon class=\"gap-icon\" *ngIf=\"icon !== ''\" [icon]=\"icon\" [size]=\"'24'\" [sizeType]=\"'px'\"></lib-elux-icon>\n <span *ngIf=\"!done && !loading\">\n {{ onlyfirstLetterUpper ? firstLetterUpper(content) : content }}\n </span>\n </div>\n</button>\n", styles: [":host .elux-button{width:100%;height:48px;text-align:center;padding:8px 16px;min-height:36px;border:none;border-radius:8px;transition:transform .3s ease,box-shadow .3s ease}:host .elux-button span{font-weight:600;font-size:14px;font-stretch:normal;font-style:normal;letter-spacing:normal;margin:auto 0}:host .elux-button:disabled{cursor:default;pointer-events:none}:host .elux-button.basic{color:#fff;background:#011e41}:host .elux-button.basic ::ng-deep lib-elux-icon span{background-color:#fff!important}:host .elux-button.basic:hover{opacity:.85;transform:scale(1.01)}:host .elux-button.basic:disabled{background:#5b6a78;opacity:.85}:host .elux-button.basic:focus-visible{outline:2px solid #16a748!important;box-shadow:inherit!important;outline-offset:-2px}:host .elux-button.basic-action{color:#fff;background:#a5742e}:host .elux-button.basic-action ::ng-deep lib-elux-icon span{background-color:#fff!important}:host .elux-button.basic-action:hover{opacity:.85;transform:scale(1.01)}:host .elux-button.basic-action:disabled{background:#d9ba91;opacity:.85}:host .elux-button.outline{background-color:#fff;border:solid 1px #011E41;color:#011e41}:host .elux-button.outline ::ng-deep lib-elux-icon span{background-color:#011e41!important}:host .elux-button.outline:hover{color:#fff;background-color:#011e41;transform:scale(1.01)}:host .elux-button.outline:hover:disabled{background-color:#fff}:host .elux-button.outline:hover ::ng-deep lib-elux-icon span{background-color:#fff!important}:host .elux-button.outline:disabled{opacity:.85;color:#5b6a78;border:solid 1px #5b6a78}:host .elux-button.outline-noborder{background-color:#fff;border:none;color:#011e41}:host .elux-button.outline-noborder ::ng-deep lib-elux-icon span{background-color:#011e41!important}:host .elux-button.outline-noborder:hover{color:#fff;background-color:#011e41;transform:scale(1.01)}:host .elux-button.outline-noborder:hover:disabled{background-color:#fff}:host .elux-button.outline-noborder:hover ::ng-deep lib-elux-icon span{background-color:#fff!important}:host .elux-button.outline-noborder:disabled{opacity:.85;color:#5b6a78;border:solid 1px #5b6a78}:host .elux-button.text{border:none;color:#011e41;padding:0}:host .elux-button.text:hover{text-decoration:underline;transform:scale(1.01)}:host .elux-button.text:hover:disabled{text-decoration:none}:host .elux-button.text:disabled{opacity:.85;color:#5b6a78}:host .elux-button.text ::ng-deep lib-elux-icon span{background-color:#011e41!important}:host .elux-button.text:focus-visible{outline:2px solid #16a748!important;box-shadow:inherit!important;outline-offset:-2px}:host .elux-button.basicBlue{background-color:#011e41!important;color:#fff!important;border:1px solid #011E41!important}:host .elux-button.basicBlue:hover{background-color:#fff!important;color:#011e41!important;transform:scale(1.01)}:host .elux-button.basicBlue:hover ::ng-deep lib-elux-icon span{background-color:#a5742e!important}:host .elux-button.basicBlue:disabled{background:#dee7ea!important;color:#c9c9ca!important}:host .elux-button.basicBlue:disabled ::ng-deep lib-elux-icon span{background-color:#c9c9ca!important}:host .elux-button.basicWhite{color:#011e41;background:#fff;border:1px solid #011E41}:host .elux-button.basicWhite:hover{font-weight:600;color:#a5742e;transform:scale(1.01)}:host .elux-button.basicWhite:hover ::ng-deep lib-elux-icon span{background-color:#a5742e!important}:host .elux-button.basicWhite:disabled{background:#dee7ea;color:#c9c9ca;transform:scale(1.01)}:host .elux-button.basicWhite:disabled ::ng-deep lib-elux-icon span{background-color:#c9c9ca!important}:host .elux-button.basic-dark{background-color:#fff;color:#011e41}:host .elux-button.basic-dark:hover{background-color:#dee7ea;transform:scale(1.01)}:host .elux-button.basic-dark:hover:disabled{background-color:#5b6a78}:host .elux-button.basic-dark:disabled{opacity:.85;color:#fff!important;background-color:#5b6a78}:host .elux-button.basic-dark ::ng-deep lib-elux-icon span{background-color:#011e41!important}:host .elux-button.outline-dark{color:#fff;background-color:transparent;border:solid 1px #FFFFFF}:host .elux-button.outline-dark ::ng-deep lib-elux-icon span{background-color:#fff!important}:host .elux-button.outline-dark:hover{background-color:#fff;color:#011e41;transform:scale(1.01)}:host .elux-button.outline-dark:hover:disabled{background-color:transparent}:host .elux-button.outline-dark:hover ::ng-deep lib-elux-icon span{background-color:#011e41!important}:host .elux-button.outline-dark:disabled{opacity:.85;color:#5b6a78;border:solid 1px #5b6a78}:host .elux-button.uppercase{text-transform:uppercase}:host .elux-button .right{flex-direction:row-reverse}:host .elux-button.primary,:host .elux-button.primary-negative,:host .elux-button.secondary,:host .elux-button.secondary-negative{height:48px;padding:0 24px;border:none}:host .elux-button.primary span,:host .elux-button.primary-negative span,:host .elux-button.secondary span,:host .elux-button.secondary-negative span{font-size:16px}:host .elux-button.primary:focus-visible,:host .elux-button.primary-negative:focus-visible,:host .elux-button.secondary:focus-visible,:host .elux-button.secondary-negative:focus-visible{outline:2px solid #16a748!important;box-shadow:inherit!important;outline-offset:-2px}:host .elux-button.primary{color:#fff;background-color:#011e41}:host .elux-button.primary:hover{opacity:.85;transform:scale(1.01)}:host .elux-button.primary:disabled{background:#adb9c3;color:#fff}:host .elux-button.primary-negative{color:#011e41;background-color:#fff}:host .elux-button.primary-negative:hover{opacity:.85;transform:scale(1.01)}:host .elux-button.primary-negative:disabled{background:#adb9c3;color:#fff}:host .elux-button.secondary{color:#011e41;background-color:#fff;border:1px solid #011E41}:host .elux-button.secondary:hover{background:#011e41;color:#fff;transform:scale(1.01)}:host .elux-button.secondary:disabled{border-color:#7a8a9b;color:#7a8a9b}:host .elux-button.secondary-negative{color:#fff;background-color:#011e41;border:1px solid #FFFFFF}:host .elux-button.secondary-negative:hover{background-color:#fff;color:#011e41;border:1px solid #011E41;transform:scale(1.01)}:host .elux-button.secondary-negative:disabled{border-color:#7a8a9b;color:#7a8a9b}:host .elux-button.rounded{border-radius:24px!important}:host .elux-button .gap-icon{margin-right:8px;margin-left:8px}\n"] }]
|
|
173
173
|
}], ctorParameters: () => [{ type: i1$1.Router }], propDecorators: { disabled: [{
|
|
@@ -210,10 +210,10 @@ class DropdownService {
|
|
|
210
210
|
requestClose(exceptId) {
|
|
211
211
|
this.closeAllSubject.next(exceptId);
|
|
212
212
|
}
|
|
213
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
214
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
213
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: DropdownService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
214
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: DropdownService, providedIn: 'root' }); }
|
|
215
215
|
}
|
|
216
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
216
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: DropdownService, decorators: [{
|
|
217
217
|
type: Injectable,
|
|
218
218
|
args: [{ providedIn: 'root' }]
|
|
219
219
|
}] });
|
|
@@ -228,6 +228,7 @@ class EluxDropdown {
|
|
|
228
228
|
this.disabled = false;
|
|
229
229
|
this.idInput = '';
|
|
230
230
|
this.showSearch = false;
|
|
231
|
+
this.hidePlaceholder = false;
|
|
231
232
|
this.optionSelected = new EventEmitter();
|
|
232
233
|
this.isOpen = false;
|
|
233
234
|
this.selectedOptionText = '';
|
|
@@ -264,6 +265,9 @@ class EluxDropdown {
|
|
|
264
265
|
}
|
|
265
266
|
}
|
|
266
267
|
addPlaceholderOption() {
|
|
268
|
+
if (this.hidePlaceholder) {
|
|
269
|
+
return;
|
|
270
|
+
}
|
|
267
271
|
if (!this.options.some((option) => option.value === null)) {
|
|
268
272
|
this.options.unshift({ value: null, text: this.placeholder });
|
|
269
273
|
}
|
|
@@ -334,8 +338,8 @@ class EluxDropdown {
|
|
|
334
338
|
get isInvalid() {
|
|
335
339
|
return this.parentFormControl?.invalid;
|
|
336
340
|
}
|
|
337
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
338
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
341
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxDropdown, deps: [{ token: i0.Injector }, { token: DropdownService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
342
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.28", type: EluxDropdown, isStandalone: true, selector: "lib-elux-dropdown", inputs: { placeholder: "placeholder", options: "options", selectedOption: "selectedOption", disabled: "disabled", idInput: "idInput", showSearch: "showSearch", hidePlaceholder: "hidePlaceholder" }, outputs: { optionSelected: "optionSelected" }, host: { listeners: { "document:click": "onDocumentClick($event)" } }, providers: [
|
|
339
343
|
{
|
|
340
344
|
provide: NG_VALUE_ACCESSOR,
|
|
341
345
|
useExisting: forwardRef(() => EluxDropdown),
|
|
@@ -343,7 +347,7 @@ class EluxDropdown {
|
|
|
343
347
|
},
|
|
344
348
|
], usesOnChanges: true, ngImport: i0, template: "<div class=\"custom-dropdown\">\n <input\n type=\"text\"\n class=\"selected-option\"\n [id]=\"idInput\"\n [readonly]=\"showSearch ? false : true\"\n [disabled]=\"disabled\"\n [placeholder]=\"placeholder\"\n [value]=\"selectedOptionText ? selectedOptionText : ''\"\n [ngClass]=\"{\n 'ng-invalid': isInvalid,\n 'ng-touched': isTouched,\n 'selected-option-border': !isInvalid || !isTouched,\n }\"\n (click)=\"toggleDropdown()\"\n (input)=\"onChangeFilter($event)\"\n />\n <lib-elux-icon\n class=\"arrow-icon noClick\"\n [color]=\"'#7A8A9B'\"\n [icon]=\"'Chevron_Down.svg'\"\n [ngClass]=\"{ 'arrow-rotate': isOpen }\"\n [size]=\"'16'\"\n [sizeType]=\"'px'\"\n ></lib-elux-icon>\n <ul class=\"dropdown-list\" *ngIf=\"isOpen\">\n <li *ngFor=\"let option of showSearch ? optionsFiltered : options\" (click)=\"selectOption(option)\">\n {{ option.text }}\n </li>\n </ul>\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,:host{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,:host{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{color:\"darkest-grey\"}:host .noClick{pointer-events:none}:host .custom-dropdown{position:relative;width:100%}:host .selected-option{padding:10px 16px;cursor:pointer}:host .selected-option-border{border:1px solid #7A8A9B}:host .dropdown-list{list-style-type:none;padding:0;margin:0;border:1px solid #EAEBED;position:absolute;top:100%;width:100%;left:0;background-color:#fff;display:block;max-height:256px;overflow:auto;z-index:10}:host .dropdown-list::-webkit-scrollbar{width:4px}:host .dropdown-list::-webkit-scrollbar-track{background:#f4f5f7}:host .dropdown-list::-webkit-scrollbar-thumb{background:#adb9c3}:host .dropdown-list li{padding:13px 16px;cursor:pointer}:host .dropdown-list li:hover{background-color:#eaebed}:host .arrow-icon{display:flex;position:absolute;top:calc(50% - 8px);right:10px;cursor:pointer;transition:all .3s ease-in-out}:host .arrow-rotate{transform:rotate(180deg)}\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: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "component", type: EluxIcon, selector: "lib-elux-icon", inputs: ["color", "useSubscription", "icon", "description", "size", "height", "width", "sizeType"] }] }); }
|
|
345
349
|
}
|
|
346
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
350
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxDropdown, decorators: [{
|
|
347
351
|
type: Component,
|
|
348
352
|
args: [{ selector: 'lib-elux-dropdown', imports: [CommonModule, FormsModule, ReactiveFormsModule, EluxIcon], providers: [
|
|
349
353
|
{
|
|
@@ -364,6 +368,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
364
368
|
type: Input
|
|
365
369
|
}], showSearch: [{
|
|
366
370
|
type: Input
|
|
371
|
+
}], hidePlaceholder: [{
|
|
372
|
+
type: Input
|
|
367
373
|
}], optionSelected: [{
|
|
368
374
|
type: Output
|
|
369
375
|
}], onDocumentClick: [{
|
|
@@ -377,18 +383,52 @@ class EluxPaginator {
|
|
|
377
383
|
this.current = 0;
|
|
378
384
|
this.anchor = true;
|
|
379
385
|
this.scrollTo = undefined;
|
|
386
|
+
this.itemsPerPage = 15;
|
|
387
|
+
this.itemsPerPageOptions = [10, 15, 30, 50];
|
|
388
|
+
this.showPaginatorInfo = false;
|
|
389
|
+
this.itemLabel = 'itens';
|
|
390
|
+
this.showingLabel = 'Exibindo';
|
|
391
|
+
this.ofLabel = 'de';
|
|
392
|
+
this.itemsPerPageLabel = 'itens por página:';
|
|
380
393
|
this.paginationEvents = new EventEmitter();
|
|
394
|
+
this.itemsPerPageChange = new EventEmitter();
|
|
381
395
|
this.pages = [];
|
|
382
396
|
this.previousPages = [];
|
|
383
397
|
this.nextPages = [];
|
|
398
|
+
this.itemsPerPageOptionsList = [];
|
|
384
399
|
}
|
|
385
400
|
ngOnInit() {
|
|
386
401
|
this.showPages();
|
|
402
|
+
this.buildItemsPerPageOptions();
|
|
387
403
|
}
|
|
388
404
|
ngOnChanges(changes) {
|
|
389
405
|
if (changes['length'] || changes['current']) {
|
|
390
406
|
this.showPages();
|
|
391
407
|
}
|
|
408
|
+
if (changes['itemsPerPageOptions']) {
|
|
409
|
+
this.buildItemsPerPageOptions();
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
buildItemsPerPageOptions() {
|
|
413
|
+
this.itemsPerPageOptionsList = this.itemsPerPageOptions.map((option) => ({
|
|
414
|
+
value: option,
|
|
415
|
+
text: option.toString(),
|
|
416
|
+
}));
|
|
417
|
+
}
|
|
418
|
+
onItemsPerPageSelected(value) {
|
|
419
|
+
this.itemsPerPageChange.emit(value);
|
|
420
|
+
}
|
|
421
|
+
get rangeStart() {
|
|
422
|
+
if (!this.totalItems) {
|
|
423
|
+
return 0;
|
|
424
|
+
}
|
|
425
|
+
return (this.current - 1) * this.itemsPerPage + 1;
|
|
426
|
+
}
|
|
427
|
+
get rangeEnd() {
|
|
428
|
+
if (!this.totalItems) {
|
|
429
|
+
return 0;
|
|
430
|
+
}
|
|
431
|
+
return Math.min(this.current * this.itemsPerPage, this.totalItems);
|
|
392
432
|
}
|
|
393
433
|
scrollToElement(event) {
|
|
394
434
|
let el = event.target;
|
|
@@ -476,12 +516,12 @@ class EluxPaginator {
|
|
|
476
516
|
return;
|
|
477
517
|
}
|
|
478
518
|
}
|
|
479
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
480
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
519
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxPaginator, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
520
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.28", type: EluxPaginator, isStandalone: true, selector: "lib-elux-paginator", inputs: { length: "length", current: "current", anchor: "anchor", scrollTo: "scrollTo", totalItems: "totalItems", itemsPerPage: "itemsPerPage", itemsPerPageOptions: "itemsPerPageOptions", showPaginatorInfo: ["showPaginatorInfo", "showPaginatorInfo", booleanAttribute], itemLabel: "itemLabel", showingLabel: "showingLabel", ofLabel: "ofLabel", itemsPerPageLabel: "itemsPerPageLabel" }, outputs: { paginationEvents: "paginationEvents", itemsPerPageChange: "itemsPerPageChange" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"paginator-info\" *ngIf=\"showPaginatorInfo && totalItems !== undefined\">\n <span class=\"paginator-info-text\">\n {{ showingLabel }} {{ rangeStart }}-{{ rangeEnd }} {{ ofLabel }} {{ totalItems }} {{ itemLabel }}\n </span>\n <span class=\"paginator-info-per-page\">\n {{ itemsPerPageLabel }}\n <lib-elux-dropdown\n class=\"paginator-per-page-dropdown\"\n [options]=\"itemsPerPageOptionsList\"\n [selectedOption]=\"itemsPerPage\"\n [hidePlaceholder]=\"true\"\n (optionSelected)=\"onItemsPerPageSelected($event)\"\n ></lib-elux-dropdown>\n </span>\n</div>\n\n<nav>\n <ul class=\"paginator\" *ngIf=\"length > 5\">\n <li class=\"pagination-number\" *ngIf=\"current !== 1\">\n <div (click)=\"goFirst(); scrollToElement($event)\">\n <lib-elux-icon [icon]=\"'Chevron_Left_Double.svg'\" [sizeType]=\"'px'\" [size]=\"'16'\"> </lib-elux-icon>\n </div>\n </li>\n\n <li class=\"last-page\" *ngIf=\"current !== 1\">\n <div (click)=\"prevPage(); scrollToElement($event)\" title=\"next page\">\n <lib-elux-icon [icon]=\"'Chevron_Left.svg'\" [size]=\"'16'\" [sizeType]=\"'px'\"> </lib-elux-icon>\n </div>\n </li>\n\n <li class=\"pages-before pagination-number\" *ngFor=\"let page of previousPages\">\n <div (click)=\"goToSpecPage(page, $event)\">{{ page }}</div>\n </li>\n\n <li class=\"pagination-number current-page\">\n <div>\n {{ current }}\n </div>\n </li>\n\n <li class=\"pages-after pagination-number\" *ngFor=\"let page of nextPages\">\n <div (click)=\"goToSpecPage(page, $event); scrollToElement($event)\">{{ page }}</div>\n </li>\n\n <li class=\"next-page\" *ngIf=\"current !== length\">\n <div (click)=\"nextPage(); scrollToElement($event)\" title=\"next page\">\n <lib-elux-icon [icon]=\"'Chevron_Right.svg'\" [size]=\"'16'\" [sizeType]=\"'px'\"></lib-elux-icon>\n </div>\n </li>\n\n <li class=\"pagination-number\" *ngIf=\"current !== length\">\n <div (click)=\"goLast(); scrollToElement($event)\">\n <lib-elux-icon [icon]=\"'Chevron_Right_Double.svg'\" [sizeType]=\"'px'\" [size]=\"'16'\"></lib-elux-icon>\n </div>\n </li>\n </ul>\n\n <ul class=\"paginator\" *ngIf=\"length <= 5\">\n <li *ngFor=\"let page of pages\" class=\"pagination-number\" [ngClass]=\"current === page ? 'current-page' : ''\">\n <div (click)=\"goToSpecPage(page, $event);\">\n {{ page }}\n </div>\n </li>\n </ul>\n</nav>\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,:host nav ul li.pagination-number div{font-family:Electrolux Sans;font-size:16px;font-weight:400;line-height:21px}.caption,:host .paginator-info{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,:host nav ul li.pagination-number div{font-family:Electrolux Sans;font-size:16px;font-weight:400;line-height:21px}.caption,:host .paginator-info{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{display:block}:host .paginator-info{display:flex;align-items:center;justify-content:center;gap:24px;margin-bottom:32px;color:#868687}:host .paginator-info .paginator-info-per-page{display:flex;align-items:center;white-space:nowrap;gap:4px}:host .paginator-info .paginator-per-page-dropdown{width:52px}:host .paginator-info .paginator-per-page-dropdown ::ng-deep .selected-option{height:28px;padding:0 18px 0 8px;font-size:14px;color:#515253;box-sizing:border-box}:host .paginator-info .paginator-per-page-dropdown ::ng-deep .arrow-icon{top:calc(50% - 8px);right:2px}:host .paginator-info .paginator-per-page-dropdown ::ng-deep .dropdown-list li{color:#515253}:host nav{display:flex;justify-content:center}:host nav ul{padding:0;margin:0!important;display:flex;align-items:center}:host nav ul li{list-style:none;margin-right:8px;margin-left:8px;height:24px;width:24px;display:flex;align-items:center;justify-content:center;border-radius:24px;cursor:pointer}:host nav ul li.pagination-number div{background-color:transparent;border-radius:24px;height:24px;width:24px;text-align:center;line-height:16px;display:flex;align-items:center;justify-content:center}:host nav ul li.pagination-number.current-page div{background-color:#011e41;border-radius:24px;color:#fff}:host nav ul li.next-page,:host nav ul li.last-page{height:24px;width:24px}:host nav ul li.next-page div,:host nav ul li.last-page div{background-color:transparent;border-radius:24px;height:24px;width:24px;border:1px solid #011E41;text-align:center;line-height:14px;display:flex;justify-content:center;align-items:center}:host nav ul li.next-page div:hover,:host nav ul li.last-page div:hover{border-color:#011e41}\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: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: EluxIcon, selector: "lib-elux-icon", inputs: ["color", "useSubscription", "icon", "description", "size", "height", "width", "sizeType"] }, { kind: "component", type: EluxDropdown, selector: "lib-elux-dropdown", inputs: ["placeholder", "options", "selectedOption", "disabled", "idInput", "showSearch", "hidePlaceholder"], outputs: ["optionSelected"] }] }); }
|
|
481
521
|
}
|
|
482
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
522
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxPaginator, decorators: [{
|
|
483
523
|
type: Component,
|
|
484
|
-
args: [{ selector: 'lib-elux-paginator', imports: [CommonModule, EluxIcon], template: "<nav>\n <ul class=\"paginator\" *ngIf=\"length > 5\">\n <li class=\"pagination-number\"
|
|
524
|
+
args: [{ selector: 'lib-elux-paginator', imports: [CommonModule, EluxIcon, EluxDropdown], template: "<div class=\"paginator-info\" *ngIf=\"showPaginatorInfo && totalItems !== undefined\">\n <span class=\"paginator-info-text\">\n {{ showingLabel }} {{ rangeStart }}-{{ rangeEnd }} {{ ofLabel }} {{ totalItems }} {{ itemLabel }}\n </span>\n <span class=\"paginator-info-per-page\">\n {{ itemsPerPageLabel }}\n <lib-elux-dropdown\n class=\"paginator-per-page-dropdown\"\n [options]=\"itemsPerPageOptionsList\"\n [selectedOption]=\"itemsPerPage\"\n [hidePlaceholder]=\"true\"\n (optionSelected)=\"onItemsPerPageSelected($event)\"\n ></lib-elux-dropdown>\n </span>\n</div>\n\n<nav>\n <ul class=\"paginator\" *ngIf=\"length > 5\">\n <li class=\"pagination-number\" *ngIf=\"current !== 1\">\n <div (click)=\"goFirst(); scrollToElement($event)\">\n <lib-elux-icon [icon]=\"'Chevron_Left_Double.svg'\" [sizeType]=\"'px'\" [size]=\"'16'\"> </lib-elux-icon>\n </div>\n </li>\n\n <li class=\"last-page\" *ngIf=\"current !== 1\">\n <div (click)=\"prevPage(); scrollToElement($event)\" title=\"next page\">\n <lib-elux-icon [icon]=\"'Chevron_Left.svg'\" [size]=\"'16'\" [sizeType]=\"'px'\"> </lib-elux-icon>\n </div>\n </li>\n\n <li class=\"pages-before pagination-number\" *ngFor=\"let page of previousPages\">\n <div (click)=\"goToSpecPage(page, $event)\">{{ page }}</div>\n </li>\n\n <li class=\"pagination-number current-page\">\n <div>\n {{ current }}\n </div>\n </li>\n\n <li class=\"pages-after pagination-number\" *ngFor=\"let page of nextPages\">\n <div (click)=\"goToSpecPage(page, $event); scrollToElement($event)\">{{ page }}</div>\n </li>\n\n <li class=\"next-page\" *ngIf=\"current !== length\">\n <div (click)=\"nextPage(); scrollToElement($event)\" title=\"next page\">\n <lib-elux-icon [icon]=\"'Chevron_Right.svg'\" [size]=\"'16'\" [sizeType]=\"'px'\"></lib-elux-icon>\n </div>\n </li>\n\n <li class=\"pagination-number\" *ngIf=\"current !== length\">\n <div (click)=\"goLast(); scrollToElement($event)\">\n <lib-elux-icon [icon]=\"'Chevron_Right_Double.svg'\" [sizeType]=\"'px'\" [size]=\"'16'\"></lib-elux-icon>\n </div>\n </li>\n </ul>\n\n <ul class=\"paginator\" *ngIf=\"length <= 5\">\n <li *ngFor=\"let page of pages\" class=\"pagination-number\" [ngClass]=\"current === page ? 'current-page' : ''\">\n <div (click)=\"goToSpecPage(page, $event);\">\n {{ page }}\n </div>\n </li>\n </ul>\n</nav>\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,:host nav ul li.pagination-number div{font-family:Electrolux Sans;font-size:16px;font-weight:400;line-height:21px}.caption,:host .paginator-info{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,:host nav ul li.pagination-number div{font-family:Electrolux Sans;font-size:16px;font-weight:400;line-height:21px}.caption,:host .paginator-info{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{display:block}:host .paginator-info{display:flex;align-items:center;justify-content:center;gap:24px;margin-bottom:32px;color:#868687}:host .paginator-info .paginator-info-per-page{display:flex;align-items:center;white-space:nowrap;gap:4px}:host .paginator-info .paginator-per-page-dropdown{width:52px}:host .paginator-info .paginator-per-page-dropdown ::ng-deep .selected-option{height:28px;padding:0 18px 0 8px;font-size:14px;color:#515253;box-sizing:border-box}:host .paginator-info .paginator-per-page-dropdown ::ng-deep .arrow-icon{top:calc(50% - 8px);right:2px}:host .paginator-info .paginator-per-page-dropdown ::ng-deep .dropdown-list li{color:#515253}:host nav{display:flex;justify-content:center}:host nav ul{padding:0;margin:0!important;display:flex;align-items:center}:host nav ul li{list-style:none;margin-right:8px;margin-left:8px;height:24px;width:24px;display:flex;align-items:center;justify-content:center;border-radius:24px;cursor:pointer}:host nav ul li.pagination-number div{background-color:transparent;border-radius:24px;height:24px;width:24px;text-align:center;line-height:16px;display:flex;align-items:center;justify-content:center}:host nav ul li.pagination-number.current-page div{background-color:#011e41;border-radius:24px;color:#fff}:host nav ul li.next-page,:host nav ul li.last-page{height:24px;width:24px}:host nav ul li.next-page div,:host nav ul li.last-page div{background-color:transparent;border-radius:24px;height:24px;width:24px;border:1px solid #011E41;text-align:center;line-height:14px;display:flex;justify-content:center;align-items:center}:host nav ul li.next-page div:hover,:host nav ul li.last-page div:hover{border-color:#011e41}\n"] }]
|
|
485
525
|
}], ctorParameters: () => [], propDecorators: { length: [{
|
|
486
526
|
type: Input
|
|
487
527
|
}], current: [{
|
|
@@ -490,8 +530,27 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
490
530
|
type: Input
|
|
491
531
|
}], scrollTo: [{
|
|
492
532
|
type: Input
|
|
533
|
+
}], totalItems: [{
|
|
534
|
+
type: Input
|
|
535
|
+
}], itemsPerPage: [{
|
|
536
|
+
type: Input
|
|
537
|
+
}], itemsPerPageOptions: [{
|
|
538
|
+
type: Input
|
|
539
|
+
}], showPaginatorInfo: [{
|
|
540
|
+
type: Input,
|
|
541
|
+
args: [{ transform: booleanAttribute }]
|
|
542
|
+
}], itemLabel: [{
|
|
543
|
+
type: Input
|
|
544
|
+
}], showingLabel: [{
|
|
545
|
+
type: Input
|
|
546
|
+
}], ofLabel: [{
|
|
547
|
+
type: Input
|
|
548
|
+
}], itemsPerPageLabel: [{
|
|
549
|
+
type: Input
|
|
493
550
|
}], paginationEvents: [{
|
|
494
551
|
type: Output
|
|
552
|
+
}], itemsPerPageChange: [{
|
|
553
|
+
type: Output
|
|
495
554
|
}] } });
|
|
496
555
|
|
|
497
556
|
class EluxStepBar {
|
|
@@ -517,10 +576,10 @@ class EluxStepBar {
|
|
|
517
576
|
const progress = (this.currentStep - 1 + adjustment) * segmentWidth;
|
|
518
577
|
return `${progress}%`;
|
|
519
578
|
}
|
|
520
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
521
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
579
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxStepBar, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
580
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.28", type: EluxStepBar, isStandalone: true, selector: "lib-elux-stepbar", inputs: { steps: "steps", currentStep: "currentStep" }, outputs: { stepClicked: "stepClicked" }, ngImport: i0, template: "<div class=\"progress-bar\">\n <div class=\"steps-container\">\n <div class=\"step\" \n *ngFor=\"let step of [].constructor(steps + 1); let i = index\"\n #stepElement\n [class.hidden]=\"i === steps\"\n (click)=\"i < steps && stepClickedHandler(i)\">\n {{ i < steps ? (i + 1) : '' }}\n </div>\n </div>\n <div class=\"progress\" [style.width]=\"getProgressWidth()\"></div>\n <div class=\"progress-background\" [style.width]=\"'100%'\"></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,:host .step{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,:host .step{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 .progress-bar{position:relative;width:100%}:host .steps-container{display:flex;justify-content:space-between;padding:5px}:host .step{color:#011e41;cursor:pointer;width:16px}:host .progress{margin-top:4px;width:0%;background-color:#011e41;transition:width .3s;border-radius:8px;height:8px;z-index:5}:host .progress-background{height:8px;width:0%;background-color:#eaebed;position:absolute;bottom:0;z-index:3}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] }); }
|
|
522
581
|
}
|
|
523
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
582
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxStepBar, decorators: [{
|
|
524
583
|
type: Component,
|
|
525
584
|
args: [{ selector: 'lib-elux-stepbar', imports: [CommonModule], template: "<div class=\"progress-bar\">\n <div class=\"steps-container\">\n <div class=\"step\" \n *ngFor=\"let step of [].constructor(steps + 1); let i = index\"\n #stepElement\n [class.hidden]=\"i === steps\"\n (click)=\"i < steps && stepClickedHandler(i)\">\n {{ i < steps ? (i + 1) : '' }}\n </div>\n </div>\n <div class=\"progress\" [style.width]=\"getProgressWidth()\"></div>\n <div class=\"progress-background\" [style.width]=\"'100%'\"></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,:host .step{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,:host .step{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 .progress-bar{position:relative;width:100%}:host .steps-container{display:flex;justify-content:space-between;padding:5px}:host .step{color:#011e41;cursor:pointer;width:16px}:host .progress{margin-top:4px;width:0%;background-color:#011e41;transition:width .3s;border-radius:8px;height:8px;z-index:5}:host .progress-background{height:8px;width:0%;background-color:#eaebed;position:absolute;bottom:0;z-index:3}\n"] }]
|
|
526
585
|
}], ctorParameters: () => [], propDecorators: { steps: [{
|
|
@@ -865,8 +924,8 @@ class EluxDatepicker {
|
|
|
865
924
|
return false;
|
|
866
925
|
}
|
|
867
926
|
}
|
|
868
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
869
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
927
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxDatepicker, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
928
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.28", type: EluxDatepicker, isStandalone: true, selector: "lib-elux-datepicker", inputs: { value: "value", locale: "locale", idInput: "idInput", placeholder: "placeholder", minDate: "minDate", maxDate: "maxDate" }, outputs: { dateSelected: "dateSelected", invalidDate: "invalidDate" }, host: { listeners: { "document:click": "clickOutside($event)" } }, providers: [
|
|
870
929
|
{
|
|
871
930
|
provide: NG_VALUE_ACCESSOR,
|
|
872
931
|
useExisting: forwardRef(() => EluxDatepicker),
|
|
@@ -874,7 +933,7 @@ class EluxDatepicker {
|
|
|
874
933
|
},
|
|
875
934
|
], viewQueries: [{ propertyName: "datepicker", first: true, predicate: ["datepicker"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"date-picker\" #datepicker>\n <div class=\"div-calendar-icon\" (click)=\"!disabled ? toggleCalendar() : ''\">\n <lib-elux-icon class=\"calendar-icon\" [icon]=\"'Calendar.svg'\" [color]=\"'#011E41'\" [size]=\"'24'\" [sizeType]=\"'px'\"></lib-elux-icon>\n </div>\n <input\n [ngClass]=\"{\n 'date-input': true,\n 'ng-invalid': isInvalid,\n 'ng-touched': isTouched,\n }\"\n [value]=\"formatedDate\"\n (input)=\"onChangeValue($event)\"\n [id]=\"idInput\"\n [disabled]=\"disabled\"\n [placeholder]=\"placeholder\"\n maxlength=\"10\"\n type=\"text\"\n (blur)=\"onBlur()\"\n />\n <div class=\"calendar\" *ngIf=\"showCalendar\">\n <div class=\"calendar-header\">\n <div class=\"previous\" (click)=\"previous()\">\n <lib-elux-icon [hidden]=\"isPreviousDisabled()\" [icon]=\"'Chevron_Left.svg'\" [size]=\"'22'\" [sizeType]=\"'px'\"> </lib-elux-icon>\n </div>\n <span (click)=\"changeView()\">{{ pickerView === 'week' ? headerDate() : currentDate.getFullYear() }}</span>\n <div class=\"next\" (click)=\"next()\">\n <lib-elux-icon [hidden]=\"isNextDisabled()\" [icon]=\"'Chevron_Right.svg'\" [size]=\"'22'\" [sizeType]=\"'px'\"> </lib-elux-icon>\n </div>\n </div>\n <div class=\"calendar-body\" *ngIf=\"pickerView === 'week'\">\n <div class=\"day-labels\">\n <span *ngFor=\"let day of headerDateWeek()\">{{ day }}</span>\n </div>\n <ng-container *ngFor=\"let day of days\">\n <div class=\"day\" [ngClass]=\"{ disabled: day.disabled, today: day.today, selected: day.selected }\" (click)=\"day.disabled ? null : selectDate(day)\">\n <span>{{ day.day }}</span>\n </div>\n </ng-container>\n </div>\n <div class=\"year-body\" *ngIf=\"pickerView === 'year'\">\n <ng-container *ngFor=\"let year of years\">\n <div class=\"year\" *ngIf=\"!year.disabled\" (click)=\"!year.disabled && selectYear(year.value)\">\n {{ year.value }}\n </div>\n </ng-container>\n </div>\n <div class=\"month-body\" *ngIf=\"pickerView === 'month'\">\n <ng-container *ngFor=\"let month of months\">\n <div class=\"month\" *ngIf=\"!month.disabled\" (click)=\"!month.disabled && selectMonth(month.value)\">\n {{ month.text }}\n </div>\n </ng-container>\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,:host .calendar-header span,:host .calendar-body .day-labels,:host .calendar-body .day,:host .year-body .year,:host .month-body .month{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,:host .calendar-header span,:host .calendar-body .day-labels,:host .calendar-body .day,:host .year-body .year,:host .month-body .month{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 .date-picker{position:relative}:host .div-calendar-icon{border-left:solid 1px #7A8A9B;height:100%;position:absolute;right:0;display:flex;justify-content:center;align-items:center;width:50px;cursor:pointer}:host .calendar{position:absolute;top:50px;left:0;background:#f4f5f7;border-radius:2px;box-shadow:4px 4px 8px #0000001a;padding:32px 24px;z-index:1000}:host .calendar-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;border-bottom:solid 1px #DEE7EA;padding-bottom:8px}:host .calendar-header button{background:none;border:none;cursor:pointer;font-size:18px}:host .calendar-header span{font-weight:600;color:#515253;cursor:pointer}:host .calendar-body{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}:host .calendar-body .day-labels{display:contents;text-align:center;margin-bottom:5px;font-weight:600;color:#515253}:host .calendar-body .day{font-size:12px;color:#515253;width:40px;height:40px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .15s ease-in-out;border-radius:50%}:host .calendar-body .day:not(.disabled):hover{background:#dee7ea}:host .calendar-body .day.disabled{cursor:default;height:0px}:host .calendar-body .day.disabled span{display:none}:host .calendar-body .day:not(.disabled).today{border:1px solid #011E41}:host .calendar-body .day:not(.disabled).selected{font-size:12px;font-weight:600;background:#011e41;color:#fff}:host .previous,:host .next{cursor:pointer;width:25px}:host .year-body{display:grid;grid-template-columns:repeat(5,1fr);gap:5px}:host .year-body .year{color:#515253;text-align:center;cursor:pointer;display:flex;align-items:center;justify-content:center;width:45px;height:45px;transition:all .15s ease-in-out}:host .year-body .year:hover{background:#dee7ea;border-radius:50%}:host .month-body{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}:host .month-body .month{color:#515253;text-align:center;cursor:pointer;display:flex;align-items:center;justify-content:center;width:auto;height:40px;transition:all .15s ease-in-out}:host .month-body .month:hover{color:#c9c9ca}\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: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: FormsModule }, { kind: "component", type: EluxIcon, selector: "lib-elux-icon", inputs: ["color", "useSubscription", "icon", "description", "size", "height", "width", "sizeType"] }] }); }
|
|
876
935
|
}
|
|
877
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
936
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxDatepicker, decorators: [{
|
|
878
937
|
type: Component,
|
|
879
938
|
args: [{ selector: 'lib-elux-datepicker', imports: [CommonModule, ReactiveFormsModule, FormsModule, EluxIcon], providers: [
|
|
880
939
|
{
|
|
@@ -948,10 +1007,10 @@ class ToasterService {
|
|
|
948
1007
|
}
|
|
949
1008
|
}, 5000);
|
|
950
1009
|
}
|
|
951
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
952
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1010
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: ToasterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1011
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: ToasterService, providedIn: 'root' }); }
|
|
953
1012
|
}
|
|
954
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1013
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: ToasterService, decorators: [{
|
|
955
1014
|
type: Injectable,
|
|
956
1015
|
args: [{
|
|
957
1016
|
providedIn: 'root',
|
|
@@ -972,10 +1031,10 @@ class EluxToast {
|
|
|
972
1031
|
closeToast(toast) {
|
|
973
1032
|
this.toasterService.removeToast(toast.id);
|
|
974
1033
|
}
|
|
975
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
976
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
1034
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxToast, deps: [{ token: ToasterService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1035
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.28", 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 [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;gap:6px}: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
1036
|
}
|
|
978
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1037
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxToast, decorators: [{
|
|
979
1038
|
type: Component,
|
|
980
1039
|
args: [{ selector: 'lib-elux-toaster', 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 [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;gap:6px}: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
1040
|
}], ctorParameters: () => [{ type: ToasterService }] });
|
|
@@ -989,13 +1048,17 @@ class EluxDataTable {
|
|
|
989
1048
|
this.backendPagination = false;
|
|
990
1049
|
this.emptyMessage = 'Nenhum item localizado com base nos critérios de busca.';
|
|
991
1050
|
this.loading = false;
|
|
1051
|
+
this.showPaginatorInfo = false;
|
|
992
1052
|
this.currentPageChange = new EventEmitter();
|
|
1053
|
+
this.itemsPerPageChange = new EventEmitter();
|
|
993
1054
|
this.onClick = new EventEmitter();
|
|
994
1055
|
this.onChecked = new EventEmitter();
|
|
995
1056
|
this.ontInputChange = new EventEmitter();
|
|
1057
|
+
this.onAction = new EventEmitter();
|
|
996
1058
|
this.currentPage = 1;
|
|
997
1059
|
this.paginatorTotalPages = 1;
|
|
998
1060
|
this.displayRows = [];
|
|
1061
|
+
this.hoveredActionCell = null;
|
|
999
1062
|
}
|
|
1000
1063
|
ngOnInit() {
|
|
1001
1064
|
this.paginatorTotalPages = Math.ceil(this.totalRows / this.itemsPerPage);
|
|
@@ -1023,6 +1086,12 @@ class EluxDataTable {
|
|
|
1023
1086
|
this.populateTable();
|
|
1024
1087
|
}
|
|
1025
1088
|
}
|
|
1089
|
+
onItemsPerPageChange(itemsPerPage) {
|
|
1090
|
+
this.itemsPerPage = itemsPerPage;
|
|
1091
|
+
this.itemsPerPageChange.emit(itemsPerPage);
|
|
1092
|
+
this.refreshPaginator();
|
|
1093
|
+
this.populateTable();
|
|
1094
|
+
}
|
|
1026
1095
|
refreshPaginator() {
|
|
1027
1096
|
this.paginatorTotalPages = Math.ceil(this.totalRows / this.itemsPerPage);
|
|
1028
1097
|
this.currentPage = 1;
|
|
@@ -1055,6 +1124,40 @@ class EluxDataTable {
|
|
|
1055
1124
|
}
|
|
1056
1125
|
}
|
|
1057
1126
|
}
|
|
1127
|
+
onQuantityDecrease(event, row, cell, index) {
|
|
1128
|
+
const step = cell.step || 1;
|
|
1129
|
+
const min = cell.min ?? 0;
|
|
1130
|
+
const max = cell.max ?? Infinity;
|
|
1131
|
+
const newValue = (cell.value ?? 0) - step;
|
|
1132
|
+
cell.value = Math.max(min, Math.min(max, newValue));
|
|
1133
|
+
this.ontInputChange.emit({ event, row, cell, index });
|
|
1134
|
+
}
|
|
1135
|
+
onQuantityIncrease(event, row, cell, index) {
|
|
1136
|
+
const step = cell.step || 1;
|
|
1137
|
+
const min = cell.min ?? 0;
|
|
1138
|
+
const max = cell.max ?? Infinity;
|
|
1139
|
+
const newValue = (cell.value ?? 0) + step;
|
|
1140
|
+
cell.value = Math.min(max, Math.max(min, newValue));
|
|
1141
|
+
this.ontInputChange.emit({ event, row, cell, index });
|
|
1142
|
+
}
|
|
1143
|
+
onQuantityInputChange(event, row, cell, index) {
|
|
1144
|
+
const min = cell.min ?? 0;
|
|
1145
|
+
const max = cell.max ?? Infinity;
|
|
1146
|
+
const value = Number(event.target.value);
|
|
1147
|
+
cell.value = Math.min(max, Math.max(min, value));
|
|
1148
|
+
event.target.value = cell.value;
|
|
1149
|
+
this.ontInputChange.emit({ event, row, cell, index });
|
|
1150
|
+
}
|
|
1151
|
+
onActionClick(event, row, cell, index) {
|
|
1152
|
+
event.stopPropagation();
|
|
1153
|
+
if (cell.disabled) {
|
|
1154
|
+
return;
|
|
1155
|
+
}
|
|
1156
|
+
this.onAction.emit({ event, row, cell, index });
|
|
1157
|
+
}
|
|
1158
|
+
getActionIconColor(cell) {
|
|
1159
|
+
return this.hoveredActionCell === cell ? '#3A3A3B' : '#515253';
|
|
1160
|
+
}
|
|
1058
1161
|
onRowClick(event, row, index) {
|
|
1059
1162
|
if (this.isRowClickable) {
|
|
1060
1163
|
this.onClick.emit({ event, row, index });
|
|
@@ -1081,12 +1184,12 @@ class EluxDataTable {
|
|
|
1081
1184
|
}
|
|
1082
1185
|
return classes;
|
|
1083
1186
|
}
|
|
1084
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1085
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.25", type: EluxDataTable, isStandalone: true, selector: "lib-elux-datatable", inputs: { columns: "columns", rows: "rows", totalRows: "totalRows", itemsPerPage: "itemsPerPage", backendPagination: "backendPagination", emptyMessage: "emptyMessage", loading: "loading", isRowClickable: ["isRowClickable", "isRowClickable", booleanAttribute], isCellClickable: ["isCellClickable", "isCellClickable", booleanAttribute], hasPaginator: ["hasPaginator", "hasPaginator", booleanAttribute] }, outputs: { currentPageChange: "currentPageChange", onClick: "onClick", onChecked: "onChecked", ontInputChange: "ontInputChange" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"table-container\">\n <div class=\"table-header\">\n @for (column of columns; track $index) {\n <div class=\"header-row-cell\" [ngClass]=\"getHeaderClasses(column)\">\n {{column.text}}\n </div>\n }\n </div>\n\n @if(loading){\n <div class=\"table-row justify-content-center\">\n <lib-elux-loading></lib-elux-loading>\n </div>\n }\n\n @if (displayRows.length == 0) {\n <div class=\"table-row pt-3 pb-3\">\n {{emptyMessage}}\n </div>\n }\n\n @for (row of displayRows; track $index) {\n <div class=\"table-row\" [ngClass]=\"{'clickable': isRowClickable}\" (click)=\"onRowClick($event, row, $index)\">\n @for (cell of row; track $index) {\n @switch (cell.type) {\n @case (\"redirect-internal\") {\n <div class=\"row-cell\" [ngClass]=\"getCellClasses(cell)\" (click)=\"onCellClick($event, row, cell, $index)\">\n <a [routerLink]=\"cell.value.toString()\" class=\"route\">{{cell.name}}</a>\n </div>\n }\n @case (\"redirect-external\") {\n <div class=\"row-cell\" [ngClass]=\"getCellClasses(cell)\" (click)=\"onCellClick($event, row, cell, $index)\">\n <a [href]=\"cell.value\" class=\"route\" target=\"_blank\">{{cell.name}}</a>\n </div>\n }\n @case (\"checkbox\") {\n <div class=\"row-cell\" [ngClass]=\"getCellClasses(cell)\">\n <input type=\"checkbox\" [checked]=\"cell.value\" (change)=\"onCheckboxChange($event, row, cell, $index)\" [attr.disabled]=\"cell.disabled ? true : null\" />\n </div>\n }\n @case (\"input\") {\n <div class=\"row-cell\" [ngClass]=\"getCellClasses(cell)\">\n <input step=\"\" type=\"text\" [value]=\"cell.value\" (blur)=\"onInputChange($event, row, cell, $index)\" />\n </div>\n }\n @case (\"input-number\") {\n <div class=\"row-cell\" [ngClass]=\"getCellClasses(cell)\">\n <input step=\"\" type=\"number\" [value]=\"cell.value\" [min]=\"cell.min\" [max]=\"cell.max\" (blur)=\"onInputChange($event, row, cell, $index)\" />\n </div>\n }\n @default {\n <div class=\"row-cell\" [ngClass]=\"getCellClasses(cell)\" (click)=\"onCellClick($event, row, cell, $index)\">\n {{cell.value}}\n </div>\n }\n }\n }\n </div>\n }\n\n @if (hasPaginator && totalRows > itemsPerPage) {\n <div class=\"table-footer\">\n <lib-elux-paginator (paginationEvents)=\"onPageChange($event)\" [anchor]=\"true\" [length]=\"paginatorTotalPages\"\n [current]=\"currentPage\">\n </lib-elux-paginator>\n </div>\n }\n\n</div>", 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}}.table-container{font-family:Electrolux Sans;display:flex;flex-direction:column;flex-wrap:nowrap;border-top:1px solid #ADB9C3}.table-row{display:flex;flex-direction:row;flex-wrap:nowrap;width:100%;padding:8px 16px}.table-header{display:flex;flex-direction:row;flex-wrap:nowrap;font-size:14px;font-weight:600;padding:16px;margin-bottom:16px;color:#515253;border-bottom:1px solid #ADB9C3}.header-row-cell{display:flex;flex:1;justify-content:start;align-items:center}.row-cell{display:flex;flex:1;justify-content:start;align-items:center;font-size:14px;height:45px;font-family:Electrolux Sans;color:#515253;word-break:break-word}.row-cell a{font-family:Electrolux Sans;font-weight:700;font-size:16px;color:#515253}.clickable{cursor:pointer;transition:all .15s ease-in-out}.clickable:hover{background-color:#dee7ea}.table-footer{display:flex;flex-direction:column;justify-content:center;margin-top:16px;padding:16px 0;align-items:center;border-top:1px solid #ADB9C3}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1$1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: EluxPaginator, selector: "lib-elux-paginator", inputs: ["length", "current", "anchor", "scrollTo"], outputs: ["paginationEvents"] }, { kind: "component", type: EluxLoading, selector: "lib-elux-loading", inputs: ["size", "white"] }] }); }
|
|
1187
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxDataTable, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1188
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.28", type: EluxDataTable, isStandalone: true, selector: "lib-elux-datatable", inputs: { columns: "columns", rows: "rows", totalRows: "totalRows", itemsPerPage: "itemsPerPage", backendPagination: "backendPagination", emptyMessage: "emptyMessage", loading: "loading", isRowClickable: ["isRowClickable", "isRowClickable", booleanAttribute], isCellClickable: ["isCellClickable", "isCellClickable", booleanAttribute], hasPaginator: ["hasPaginator", "hasPaginator", booleanAttribute], showPaginatorInfo: ["showPaginatorInfo", "showPaginatorInfo", booleanAttribute] }, outputs: { currentPageChange: "currentPageChange", itemsPerPageChange: "itemsPerPageChange", onClick: "onClick", onChecked: "onChecked", ontInputChange: "ontInputChange", onAction: "onAction" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"table-container\">\n <div class=\"table-scroll\">\n <div class=\"table-header\">\n @for (column of columns; track $index) {\n <div class=\"header-row-cell\" [ngClass]=\"getHeaderClasses(column)\">\n {{column.text}}\n </div>\n }\n </div>\n\n @if(loading){\n <div class=\"table-row justify-content-center\">\n <lib-elux-loading></lib-elux-loading>\n </div>\n }\n\n @if (displayRows.length == 0) {\n <div class=\"table-row pt-3 pb-3\">\n {{emptyMessage}}\n </div>\n }\n\n @for (row of displayRows; track $index) {\n <div class=\"table-row\" [ngClass]=\"{'clickable': isRowClickable}\" (click)=\"onRowClick($event, row, $index)\">\n @for (cell of row; track $index) {\n @switch (cell.type) {\n @case (\"redirect-internal\") {\n <div class=\"row-cell\" [ngClass]=\"getCellClasses(cell)\" (click)=\"onCellClick($event, row, cell, $index)\">\n <a [routerLink]=\"cell.value.toString()\" class=\"route\">{{cell.name}}</a>\n </div>\n }\n @case (\"redirect-external\") {\n <div class=\"row-cell\" [ngClass]=\"getCellClasses(cell)\" (click)=\"onCellClick($event, row, cell, $index)\">\n <a [href]=\"cell.value\" class=\"route\" target=\"_blank\">{{cell.name}}</a>\n </div>\n }\n @case (\"checkbox\") {\n <div class=\"row-cell\" [ngClass]=\"getCellClasses(cell)\">\n <input type=\"checkbox\" [checked]=\"cell.value\" (change)=\"onCheckboxChange($event, row, cell, $index)\" [attr.disabled]=\"cell.disabled ? true : null\" />\n </div>\n }\n @case (\"input\") {\n <div class=\"row-cell\" [ngClass]=\"getCellClasses(cell)\">\n <input step=\"\" type=\"text\" [value]=\"cell.value\" (blur)=\"onInputChange($event, row, cell, $index)\" />\n </div>\n }\n @case (\"input-number\") {\n <div class=\"row-cell\" [ngClass]=\"getCellClasses(cell)\">\n <input step=\"\" type=\"number\" [value]=\"cell.value\" [min]=\"cell.min\" [max]=\"cell.max\" (blur)=\"onInputChange($event, row, cell, $index)\" />\n </div>\n }\n @case (\"input-quantity\") {\n <div class=\"row-cell\" [ngClass]=\"getCellClasses(cell)\">\n <div class=\"quantity-field\">\n <button\n type=\"button\"\n class=\"quantity-btn quantity-btn-minus\"\n [disabled]=\"cell.disabled || (cell.value ?? 0) <= (cell.min ?? 0)\"\n (click)=\"onQuantityDecrease($event, row, cell, $index)\"\n >\n -\n </button>\n <input\n type=\"number\"\n class=\"quantity-input\"\n [value]=\"cell.value ?? 0\"\n [attr.min]=\"cell.min ?? 0\"\n [attr.max]=\"cell.max ?? null\"\n [attr.disabled]=\"cell.disabled ? true : null\"\n (blur)=\"onQuantityInputChange($event, row, cell, $index)\"\n />\n <button\n type=\"button\"\n class=\"quantity-btn quantity-btn-plus\"\n [disabled]=\"cell.disabled || (cell.max != null && (cell.value ?? 0) >= cell.max)\"\n (click)=\"onQuantityIncrease($event, row, cell, $index)\"\n >\n +\n </button>\n </div>\n </div>\n }\n @case (\"action\") {\n <div class=\"row-cell\" [ngClass]=\"getCellClasses(cell)\">\n <button\n type=\"button\"\n class=\"action-btn\"\n [disabled]=\"cell.disabled\"\n [attr.title]=\"cell.name\"\n (click)=\"onActionClick($event, row, cell, $index)\"\n (mouseenter)=\"hoveredActionCell = cell\"\n (mouseleave)=\"hoveredActionCell = null\"\n >\n <lib-elux-icon [icon]=\"cell.icon\" [color]=\"getActionIconColor(cell)\" [size]=\"'16'\" [sizeType]=\"'px'\"></lib-elux-icon>\n </button>\n </div>\n }\n @default {\n <div class=\"row-cell\" [ngClass]=\"getCellClasses(cell)\" (click)=\"onCellClick($event, row, cell, $index)\">\n {{cell.value}}\n </div>\n }\n }\n }\n </div>\n }\n </div>\n\n @if (hasPaginator && totalRows > itemsPerPage) {\n <div class=\"table-footer\">\n <lib-elux-paginator (paginationEvents)=\"onPageChange($event)\" (itemsPerPageChange)=\"onItemsPerPageChange($event)\"\n [anchor]=\"true\" [length]=\"paginatorTotalPages\" [current]=\"currentPage\" [totalItems]=\"totalRows\"\n [itemsPerPage]=\"itemsPerPage\" [showPaginatorInfo]=\"showPaginatorInfo\">\n </lib-elux-paginator>\n </div>\n }\n\n</div>", 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}}.table-container{font-family:Electrolux Sans;display:flex;flex-direction:column;flex-wrap:nowrap;border-top:1px solid #ADB9C3}.table-scroll{display:flex;flex-direction:column;flex-wrap:nowrap}.table-row{display:flex;flex-direction:row;flex-wrap:nowrap;width:100%;padding:8px 16px}.table-header{display:flex;flex-direction:row;flex-wrap:nowrap;font-size:14px;font-weight:600;padding:16px;margin-bottom:16px;color:#515253;border-bottom:1px solid #ADB9C3}.header-row-cell{display:flex;flex:1;justify-content:start;align-items:center}.row-cell{display:flex;flex:1;justify-content:start;align-items:center;font-size:14px;height:45px;font-family:Electrolux Sans;color:#515253;word-break:break-word}.row-cell a{font-family:Electrolux Sans;font-weight:700;font-size:16px;color:#515253}.clickable{cursor:pointer;transition:all .15s ease-in-out}.clickable:hover{background-color:#dee7ea}.quantity-field{display:flex;align-items:center;border:1px solid #ADB9C3;border-radius:4px;overflow:hidden;width:fit-content}.quantity-btn{font-family:Inter,Comic Sans,cursive;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;background-color:#fff;color:#011e41;font-weight:600}.quantity-btn:hover:not(:disabled){background-color:#eaebed}.quantity-btn:disabled{color:#eaebed;cursor:not-allowed}.quantity-btn-minus{border-right:1px solid #ADB9C3;cursor:pointer}.quantity-btn-plus{border-left:1px solid #ADB9C3}.quantity-input{width:36px;height:32px;padding:0;border:none;text-align:center;font-size:14px;font-weight:600;font-family:Electrolux Sans;color:#011e41;-moz-appearance:textfield;border-radius:0!important}.quantity-input::-webkit-inner-spin-button,.quantity-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.action-btn{display:flex;align-items:center;justify-content:center;width:16px;height:16px;border:none;background-color:transparent;border-radius:4px;cursor:pointer}.action-btn:disabled{opacity:.4;cursor:not-allowed}.table-footer{display:flex;flex-direction:column;justify-content:center;margin-top:16px;padding:16px 0;align-items:center;border-top:1px solid #ADB9C3}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1$1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: EluxPaginator, selector: "lib-elux-paginator", inputs: ["length", "current", "anchor", "scrollTo", "totalItems", "itemsPerPage", "itemsPerPageOptions", "showPaginatorInfo", "itemLabel", "showingLabel", "ofLabel", "itemsPerPageLabel"], outputs: ["paginationEvents", "itemsPerPageChange"] }, { kind: "component", type: EluxLoading, selector: "lib-elux-loading", inputs: ["size", "white"] }, { kind: "component", type: EluxIcon, selector: "lib-elux-icon", inputs: ["color", "useSubscription", "icon", "description", "size", "height", "width", "sizeType"] }] }); }
|
|
1086
1189
|
}
|
|
1087
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1190
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxDataTable, decorators: [{
|
|
1088
1191
|
type: Component,
|
|
1089
|
-
args: [{ selector: 'lib-elux-datatable', imports: [CommonModule, RouterModule, EluxPaginator, EluxLoading], template: "<div class=\"table-container\">\n <div class=\"table-header\">\n @for (column of columns; track $index) {\n <div class=\"header-row-cell\" [ngClass]=\"getHeaderClasses(column)\">\n {{column.text}}\n </div>\n }\n </div>\n\n @if(loading){\n <div class=\"table-row justify-content-center\">\n <lib-elux-loading></lib-elux-loading>\n </div>\n }\n\n @if (displayRows.length == 0) {\n <div class=\"table-row pt-3 pb-3\">\n {{emptyMessage}}\n </div>\n }\n\n @for (row of displayRows; track $index) {\n <div class=\"table-row\" [ngClass]=\"{'clickable': isRowClickable}\" (click)=\"onRowClick($event, row, $index)\">\n @for (cell of row; track $index) {\n @switch (cell.type) {\n @case (\"redirect-internal\") {\n <div class=\"row-cell\" [ngClass]=\"getCellClasses(cell)\" (click)=\"onCellClick($event, row, cell, $index)\">\n <a [routerLink]=\"cell.value.toString()\" class=\"route\">{{cell.name}}</a>\n </div>\n }\n @case (\"redirect-external\") {\n <div class=\"row-cell\" [ngClass]=\"getCellClasses(cell)\" (click)=\"onCellClick($event, row, cell, $index)\">\n <a [href]=\"cell.value\" class=\"route\" target=\"_blank\">{{cell.name}}</a>\n </div>\n }\n @case (\"checkbox\") {\n <div class=\"row-cell\" [ngClass]=\"getCellClasses(cell)\">\n <input type=\"checkbox\" [checked]=\"cell.value\" (change)=\"onCheckboxChange($event, row, cell, $index)\" [attr.disabled]=\"cell.disabled ? true : null\" />\n </div>\n }\n @case (\"input\") {\n <div class=\"row-cell\" [ngClass]=\"getCellClasses(cell)\">\n <input step=\"\" type=\"text\" [value]=\"cell.value\" (blur)=\"onInputChange($event, row, cell, $index)\" />\n </div>\n }\n @case (\"input-number\") {\n <div class=\"row-cell\" [ngClass]=\"getCellClasses(cell)\">\n <input step=\"\" type=\"number\" [value]=\"cell.value\" [min]=\"cell.min\" [max]=\"cell.max\" (blur)=\"onInputChange($event, row, cell, $index)\" />\n </div>\n }\n @default {\n <div class=\"row-cell\" [ngClass]=\"getCellClasses(cell)\" (click)=\"onCellClick($event, row, cell, $index)\">\n {{cell.value}}\n </div>\n }\n }\n }\n </div>\n }\n\n @if (hasPaginator && totalRows > itemsPerPage) {\n <div class=\"table-footer\">\n <lib-elux-paginator (paginationEvents)=\"onPageChange($event)\" [anchor]=\"true\" [length]=\"paginatorTotalPages\"\n [
|
|
1192
|
+
args: [{ selector: 'lib-elux-datatable', imports: [CommonModule, RouterModule, EluxPaginator, EluxLoading, EluxIcon], template: "<div class=\"table-container\">\n <div class=\"table-scroll\">\n <div class=\"table-header\">\n @for (column of columns; track $index) {\n <div class=\"header-row-cell\" [ngClass]=\"getHeaderClasses(column)\">\n {{column.text}}\n </div>\n }\n </div>\n\n @if(loading){\n <div class=\"table-row justify-content-center\">\n <lib-elux-loading></lib-elux-loading>\n </div>\n }\n\n @if (displayRows.length == 0) {\n <div class=\"table-row pt-3 pb-3\">\n {{emptyMessage}}\n </div>\n }\n\n @for (row of displayRows; track $index) {\n <div class=\"table-row\" [ngClass]=\"{'clickable': isRowClickable}\" (click)=\"onRowClick($event, row, $index)\">\n @for (cell of row; track $index) {\n @switch (cell.type) {\n @case (\"redirect-internal\") {\n <div class=\"row-cell\" [ngClass]=\"getCellClasses(cell)\" (click)=\"onCellClick($event, row, cell, $index)\">\n <a [routerLink]=\"cell.value.toString()\" class=\"route\">{{cell.name}}</a>\n </div>\n }\n @case (\"redirect-external\") {\n <div class=\"row-cell\" [ngClass]=\"getCellClasses(cell)\" (click)=\"onCellClick($event, row, cell, $index)\">\n <a [href]=\"cell.value\" class=\"route\" target=\"_blank\">{{cell.name}}</a>\n </div>\n }\n @case (\"checkbox\") {\n <div class=\"row-cell\" [ngClass]=\"getCellClasses(cell)\">\n <input type=\"checkbox\" [checked]=\"cell.value\" (change)=\"onCheckboxChange($event, row, cell, $index)\" [attr.disabled]=\"cell.disabled ? true : null\" />\n </div>\n }\n @case (\"input\") {\n <div class=\"row-cell\" [ngClass]=\"getCellClasses(cell)\">\n <input step=\"\" type=\"text\" [value]=\"cell.value\" (blur)=\"onInputChange($event, row, cell, $index)\" />\n </div>\n }\n @case (\"input-number\") {\n <div class=\"row-cell\" [ngClass]=\"getCellClasses(cell)\">\n <input step=\"\" type=\"number\" [value]=\"cell.value\" [min]=\"cell.min\" [max]=\"cell.max\" (blur)=\"onInputChange($event, row, cell, $index)\" />\n </div>\n }\n @case (\"input-quantity\") {\n <div class=\"row-cell\" [ngClass]=\"getCellClasses(cell)\">\n <div class=\"quantity-field\">\n <button\n type=\"button\"\n class=\"quantity-btn quantity-btn-minus\"\n [disabled]=\"cell.disabled || (cell.value ?? 0) <= (cell.min ?? 0)\"\n (click)=\"onQuantityDecrease($event, row, cell, $index)\"\n >\n -\n </button>\n <input\n type=\"number\"\n class=\"quantity-input\"\n [value]=\"cell.value ?? 0\"\n [attr.min]=\"cell.min ?? 0\"\n [attr.max]=\"cell.max ?? null\"\n [attr.disabled]=\"cell.disabled ? true : null\"\n (blur)=\"onQuantityInputChange($event, row, cell, $index)\"\n />\n <button\n type=\"button\"\n class=\"quantity-btn quantity-btn-plus\"\n [disabled]=\"cell.disabled || (cell.max != null && (cell.value ?? 0) >= cell.max)\"\n (click)=\"onQuantityIncrease($event, row, cell, $index)\"\n >\n +\n </button>\n </div>\n </div>\n }\n @case (\"action\") {\n <div class=\"row-cell\" [ngClass]=\"getCellClasses(cell)\">\n <button\n type=\"button\"\n class=\"action-btn\"\n [disabled]=\"cell.disabled\"\n [attr.title]=\"cell.name\"\n (click)=\"onActionClick($event, row, cell, $index)\"\n (mouseenter)=\"hoveredActionCell = cell\"\n (mouseleave)=\"hoveredActionCell = null\"\n >\n <lib-elux-icon [icon]=\"cell.icon\" [color]=\"getActionIconColor(cell)\" [size]=\"'16'\" [sizeType]=\"'px'\"></lib-elux-icon>\n </button>\n </div>\n }\n @default {\n <div class=\"row-cell\" [ngClass]=\"getCellClasses(cell)\" (click)=\"onCellClick($event, row, cell, $index)\">\n {{cell.value}}\n </div>\n }\n }\n }\n </div>\n }\n </div>\n\n @if (hasPaginator && totalRows > itemsPerPage) {\n <div class=\"table-footer\">\n <lib-elux-paginator (paginationEvents)=\"onPageChange($event)\" (itemsPerPageChange)=\"onItemsPerPageChange($event)\"\n [anchor]=\"true\" [length]=\"paginatorTotalPages\" [current]=\"currentPage\" [totalItems]=\"totalRows\"\n [itemsPerPage]=\"itemsPerPage\" [showPaginatorInfo]=\"showPaginatorInfo\">\n </lib-elux-paginator>\n </div>\n }\n\n</div>", 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}}.table-container{font-family:Electrolux Sans;display:flex;flex-direction:column;flex-wrap:nowrap;border-top:1px solid #ADB9C3}.table-scroll{display:flex;flex-direction:column;flex-wrap:nowrap}.table-row{display:flex;flex-direction:row;flex-wrap:nowrap;width:100%;padding:8px 16px}.table-header{display:flex;flex-direction:row;flex-wrap:nowrap;font-size:14px;font-weight:600;padding:16px;margin-bottom:16px;color:#515253;border-bottom:1px solid #ADB9C3}.header-row-cell{display:flex;flex:1;justify-content:start;align-items:center}.row-cell{display:flex;flex:1;justify-content:start;align-items:center;font-size:14px;height:45px;font-family:Electrolux Sans;color:#515253;word-break:break-word}.row-cell a{font-family:Electrolux Sans;font-weight:700;font-size:16px;color:#515253}.clickable{cursor:pointer;transition:all .15s ease-in-out}.clickable:hover{background-color:#dee7ea}.quantity-field{display:flex;align-items:center;border:1px solid #ADB9C3;border-radius:4px;overflow:hidden;width:fit-content}.quantity-btn{font-family:Inter,Comic Sans,cursive;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;background-color:#fff;color:#011e41;font-weight:600}.quantity-btn:hover:not(:disabled){background-color:#eaebed}.quantity-btn:disabled{color:#eaebed;cursor:not-allowed}.quantity-btn-minus{border-right:1px solid #ADB9C3;cursor:pointer}.quantity-btn-plus{border-left:1px solid #ADB9C3}.quantity-input{width:36px;height:32px;padding:0;border:none;text-align:center;font-size:14px;font-weight:600;font-family:Electrolux Sans;color:#011e41;-moz-appearance:textfield;border-radius:0!important}.quantity-input::-webkit-inner-spin-button,.quantity-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.action-btn{display:flex;align-items:center;justify-content:center;width:16px;height:16px;border:none;background-color:transparent;border-radius:4px;cursor:pointer}.action-btn:disabled{opacity:.4;cursor:not-allowed}.table-footer{display:flex;flex-direction:column;justify-content:center;margin-top:16px;padding:16px 0;align-items:center;border-top:1px solid #ADB9C3}\n"] }]
|
|
1090
1193
|
}], propDecorators: { columns: [{
|
|
1091
1194
|
type: Input
|
|
1092
1195
|
}], rows: [{
|
|
@@ -1110,14 +1213,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
1110
1213
|
}], hasPaginator: [{
|
|
1111
1214
|
type: Input,
|
|
1112
1215
|
args: [{ transform: booleanAttribute }]
|
|
1216
|
+
}], showPaginatorInfo: [{
|
|
1217
|
+
type: Input,
|
|
1218
|
+
args: [{ transform: booleanAttribute }]
|
|
1113
1219
|
}], currentPageChange: [{
|
|
1114
1220
|
type: Output
|
|
1221
|
+
}], itemsPerPageChange: [{
|
|
1222
|
+
type: Output
|
|
1115
1223
|
}], onClick: [{
|
|
1116
1224
|
type: Output
|
|
1117
1225
|
}], onChecked: [{
|
|
1118
1226
|
type: Output
|
|
1119
1227
|
}], ontInputChange: [{
|
|
1120
1228
|
type: Output
|
|
1229
|
+
}], onAction: [{
|
|
1230
|
+
type: Output
|
|
1121
1231
|
}] } });
|
|
1122
1232
|
|
|
1123
1233
|
class EluxAccordion {
|
|
@@ -1168,10 +1278,10 @@ class EluxAccordion {
|
|
|
1168
1278
|
coerceBoolean(value) {
|
|
1169
1279
|
return value != null && `${value}` !== 'false';
|
|
1170
1280
|
}
|
|
1171
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1172
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
1281
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxAccordion, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1282
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.28", type: EluxAccordion, isStandalone: true, selector: "lib-elux-accordion", inputs: { leftArrow: "leftArrow", disabled: "disabled", headerIcon: "headerIcon", isOpen: "isOpen" }, outputs: { toggled: "toggled", toggleEventEmitter: "toggleEventEmitter" }, ngImport: i0, template: "<div class=\"accordion\">\n <div\n class=\"accordion-header\"\n [class.left-arrow]=\"leftArrow\"\n [class.disabled]=\"disabled\"\n [class.open]=\"isOpen\"\n role=\"button\"\n [attr.tabindex]=\"disabled ? -1 : 0\"\n [attr.aria-expanded]=\"ariaExpanded\"\n [attr.aria-controls]=\"bodyId\"\n (click)=\"toggle()\"\n (keydown)=\"onHeaderKeydown($event)\"\n >\n @if (headerIcon) {\n <lib-elux-icon\n class=\"header-icon left-icon\"\n [icon]=\"headerIcon\"\n [color]=\"'#011E41'\"\n [size]=\"'20'\"\n [sizeType]=\"'px'\"\n ></lib-elux-icon>\n }\n <lib-elux-icon\n class=\"header-icon\"\n [class.start]=\"leftArrow\"\n [class.end]=\"!leftArrow\"\n [icon]=\"iconName\"\n [color]=\"'#011E41'\"\n [size]=\"'24'\"\n [sizeType]=\"'px'\"\n ></lib-elux-icon>\n <div class=\"accordion-title\">\n <ng-content select=\"[header]\"></ng-content>\n </div>\n </div>\n <div class=\"accordion-body\" [id]=\"bodyId\" [class.open]=\"isOpen\" [attr.aria-hidden]=\"!isOpen\">\n <ng-content></ng-content>\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,:host .accordion-header{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,:host .accordion-header{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 .accordion{border:1px solid #ADB9C3}:host .accordion-header{display:flex;align-items:center;padding:16px;color:#011e41;cursor:pointer}:host .accordion-header:not(.left-arrow){justify-content:space-between}:host .accordion-header.disabled{cursor:not-allowed;opacity:.7}:host .accordion-title{order:1;flex:1}:host .header-icon{flex-shrink:0}:host .header-icon.left-icon{order:-1;margin-right:16px}:host .header-icon.start{order:0;margin-right:16px}:host .header-icon.end{order:2;margin-left:16px}:host .accordion-body{display:none;padding:16px}:host .accordion-body.open{display:block}:host:first-child .accordion{border-radius:8px 8px 0 0}:host:first-child .accordion-header{border-radius:8px 8px 0 0}:host:last-child .accordion{border-radius:0 0 8px 8px}:host:last-child .accordion-header{border-radius:0 0 8px 8px}:host:first-child:last-child .accordion{border-radius:8px}:host:first-child:last-child .accordion-header{border-radius:8px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: EluxIcon, selector: "lib-elux-icon", inputs: ["color", "useSubscription", "icon", "description", "size", "height", "width", "sizeType"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1173
1283
|
}
|
|
1174
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1284
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxAccordion, decorators: [{
|
|
1175
1285
|
type: Component,
|
|
1176
1286
|
args: [{ selector: 'lib-elux-accordion', imports: [CommonModule, EluxIcon], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"accordion\">\n <div\n class=\"accordion-header\"\n [class.left-arrow]=\"leftArrow\"\n [class.disabled]=\"disabled\"\n [class.open]=\"isOpen\"\n role=\"button\"\n [attr.tabindex]=\"disabled ? -1 : 0\"\n [attr.aria-expanded]=\"ariaExpanded\"\n [attr.aria-controls]=\"bodyId\"\n (click)=\"toggle()\"\n (keydown)=\"onHeaderKeydown($event)\"\n >\n @if (headerIcon) {\n <lib-elux-icon\n class=\"header-icon left-icon\"\n [icon]=\"headerIcon\"\n [color]=\"'#011E41'\"\n [size]=\"'20'\"\n [sizeType]=\"'px'\"\n ></lib-elux-icon>\n }\n <lib-elux-icon\n class=\"header-icon\"\n [class.start]=\"leftArrow\"\n [class.end]=\"!leftArrow\"\n [icon]=\"iconName\"\n [color]=\"'#011E41'\"\n [size]=\"'24'\"\n [sizeType]=\"'px'\"\n ></lib-elux-icon>\n <div class=\"accordion-title\">\n <ng-content select=\"[header]\"></ng-content>\n </div>\n </div>\n <div class=\"accordion-body\" [id]=\"bodyId\" [class.open]=\"isOpen\" [attr.aria-hidden]=\"!isOpen\">\n <ng-content></ng-content>\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,:host .accordion-header{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,:host .accordion-header{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 .accordion{border:1px solid #ADB9C3}:host .accordion-header{display:flex;align-items:center;padding:16px;color:#011e41;cursor:pointer}:host .accordion-header:not(.left-arrow){justify-content:space-between}:host .accordion-header.disabled{cursor:not-allowed;opacity:.7}:host .accordion-title{order:1;flex:1}:host .header-icon{flex-shrink:0}:host .header-icon.left-icon{order:-1;margin-right:16px}:host .header-icon.start{order:0;margin-right:16px}:host .header-icon.end{order:2;margin-left:16px}:host .accordion-body{display:none;padding:16px}:host .accordion-body.open{display:block}:host:first-child .accordion{border-radius:8px 8px 0 0}:host:first-child .accordion-header{border-radius:8px 8px 0 0}:host:last-child .accordion{border-radius:0 0 8px 8px}:host:last-child .accordion-header{border-radius:0 0 8px 8px}:host:first-child:last-child .accordion{border-radius:8px}:host:first-child:last-child .accordion-header{border-radius:8px}\n"] }]
|
|
1177
1287
|
}], propDecorators: { leftArrow: [{
|
|
@@ -1197,10 +1307,10 @@ class EluxModal {
|
|
|
1197
1307
|
handleClose() {
|
|
1198
1308
|
this.onClose.emit();
|
|
1199
1309
|
}
|
|
1200
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1201
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
1310
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxModal, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1311
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.28", type: EluxModal, isStandalone: true, selector: "lib-elux-modal", inputs: { open: "open", buttonClose: "buttonClose" }, outputs: { onClose: "onClose" }, ngImport: i0, template: "<div class=\"modal\" [class.open]=\"open\">\n <div class=\"modal-content\">\n <lib-elux-icon *ngIf=\"buttonClose\" class=\"close-icon\" [icon]=\"'Close.svg'\" [color]=\"'#011E41'\" [size]=\"'28'\" [sizeType]=\"'px'\"\n (click)=\"handleClose()\"></lib-elux-icon>\n <div class=\"modal-header\">\n <ng-content select=\"[modal-header]\"></ng-content>\n </div>\n <div class=\"modal-body\">\n <ng-content select=\"[modal-body]\"></ng-content>\n </div>\n <div class=\"modal-footer\">\n <ng-content select=\"[modal-footer]\"></ng-content>\n </div>\n </div>\n <div class=\"modal-backdrop\" (click)=\"handleClose()\"></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}}.modal{display:none;position:fixed;z-index:1000;left:0;top:0;width:100%;height:100%;overflow:auto}.modal .close-icon{position:absolute;right:15px;top:15px;cursor:pointer}.modal.open{display:block}.modal-content{background-color:#fff;margin:10% auto;padding:64px;width:80%;max-width:800px;position:relative;border-radius:8px;border:none;z-index:10}@media(max-width:991px){.modal-content{padding:12px!important}}.modal-header,.modal-body,.modal-footer{border:none;padding:10px}@media(max-width:991px){.modal-footer{display:block}}.modal-backdrop{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#0006;z-index:9}\n"], dependencies: [{ kind: "component", type: EluxIcon, selector: "lib-elux-icon", inputs: ["color", "useSubscription", "icon", "description", "size", "height", "width", "sizeType"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
1202
1312
|
}
|
|
1203
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1313
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxModal, decorators: [{
|
|
1204
1314
|
type: Component,
|
|
1205
1315
|
args: [{ selector: 'lib-elux-modal', imports: [
|
|
1206
1316
|
EluxIcon,
|
|
@@ -1251,10 +1361,10 @@ class EluxInputSearchComponent {
|
|
|
1251
1361
|
this.isOpen = false;
|
|
1252
1362
|
}
|
|
1253
1363
|
}
|
|
1254
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1255
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
1364
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxInputSearchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1365
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.28", type: EluxInputSearchComponent, isStandalone: true, selector: "lib-elux-input-search", inputs: { options: "options", placeholder: "placeholder", value: "value", loading: "loading", disabled: "disabled" }, outputs: { valueSelected: "valueSelected", keyUpValue: "keyUpValue" }, host: { listeners: { "document:click": "onClickOutside($event)" } }, viewQueries: [{ propertyName: "inputsearch", first: true, predicate: ["inputsearch"], descendants: true }], ngImport: i0, template: "<div class=\"input-search\" #inputsearch>\n <input type=\"search\" class=\"input-field\" [disabled]=\"disabled\" [placeholder]=\"placeholder\" (keyup)=\"keyUp($event)\" [value]=\"value\" />\n <lib-elux-loading class=\"loading\" *ngIf=\"loading\" [size]=\"32\"></lib-elux-loading>\n <div class=\"search-list\" *ngIf=\"isOpen\">\n <div *ngFor=\"let item of options\">\n <div class=\"item-search\" *ngIf=\"item.text.toLowerCase().includes(value.toLowerCase())\" (click)=\"selectOption(item)\">\n {{ item.text }}\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}}:host .input-search{position:relative}:host .input-field{width:100%;padding-left:47px;box-sizing:border-box;position:relative}:host .search-icon{position:absolute;left:10px;top:50%;transform:translateY(-50%);pointer-events:none}:host .loading{position:absolute;right:10px;top:8px}:host .search-list{position:absolute;left:0;top:100%;width:100%;max-height:160px;overflow-y:auto;z-index:1;color:#515253;background-color:#fff}:host .item-search{padding:8px 15px;cursor:pointer}:host .item-search:hover{background-color:#eaebed}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "component", type: EluxLoading, selector: "lib-elux-loading", inputs: ["size", "white"] }] }); }
|
|
1256
1366
|
}
|
|
1257
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1367
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxInputSearchComponent, decorators: [{
|
|
1258
1368
|
type: Component,
|
|
1259
1369
|
args: [{ selector: 'lib-elux-input-search', imports: [CommonModule, FormsModule, EluxLoading, EluxLoading], template: "<div class=\"input-search\" #inputsearch>\n <input type=\"search\" class=\"input-field\" [disabled]=\"disabled\" [placeholder]=\"placeholder\" (keyup)=\"keyUp($event)\" [value]=\"value\" />\n <lib-elux-loading class=\"loading\" *ngIf=\"loading\" [size]=\"32\"></lib-elux-loading>\n <div class=\"search-list\" *ngIf=\"isOpen\">\n <div *ngFor=\"let item of options\">\n <div class=\"item-search\" *ngIf=\"item.text.toLowerCase().includes(value.toLowerCase())\" (click)=\"selectOption(item)\">\n {{ item.text }}\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}}:host .input-search{position:relative}:host .input-field{width:100%;padding-left:47px;box-sizing:border-box;position:relative}:host .search-icon{position:absolute;left:10px;top:50%;transform:translateY(-50%);pointer-events:none}:host .loading{position:absolute;right:10px;top:8px}:host .search-list{position:absolute;left:0;top:100%;width:100%;max-height:160px;overflow-y:auto;z-index:1;color:#515253;background-color:#fff}:host .item-search{padding:8px 15px;cursor:pointer}:host .item-search:hover{background-color:#eaebed}\n"] }]
|
|
1260
1370
|
}], ctorParameters: () => [], propDecorators: { options: [{
|
|
@@ -1290,10 +1400,10 @@ class EluxInputSearchModalComponent {
|
|
|
1290
1400
|
searchClick(event) {
|
|
1291
1401
|
this.searchClickEvent.emit(event);
|
|
1292
1402
|
}
|
|
1293
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1294
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
1403
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxInputSearchModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1404
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.28", type: EluxInputSearchModalComponent, isStandalone: true, selector: "lib-elux-input-search-modal", inputs: { value: "value", placeholder: "placeholder" }, outputs: { searchClickEvent: "searchClickEvent" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"input-search\">\n <input\n type=\"text\"\n class=\"input-field\"\n [placeholder]=\"placeholder\"\n [value]=\"value\"\n disabled\n />\n <lib-elux-button [icon]=\"'Search.svg'\" type=\"basic\" (onClick)=\"searchClick($event)\"></lib-elux-button>\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 .input-search{position:relative;display:flex}:host .input-field{width:100%;box-sizing:border-box;position:relative;margin-right:16px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: EluxButton, selector: "lib-elux-button", inputs: ["disabled", "type", "typeButton", "content", "done", "routerLink", "link", "size", "icon", "iconAlign", "externalLink", "loading", "onlyfirstLetterUpper", "rounded"], outputs: ["onClick"] }] }); }
|
|
1295
1405
|
}
|
|
1296
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1406
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxInputSearchModalComponent, decorators: [{
|
|
1297
1407
|
type: Component,
|
|
1298
1408
|
args: [{ selector: 'lib-elux-input-search-modal', imports: [CommonModule, EluxButton], template: "<div class=\"input-search\">\n <input\n type=\"text\"\n class=\"input-field\"\n [placeholder]=\"placeholder\"\n [value]=\"value\"\n disabled\n />\n <lib-elux-button [icon]=\"'Search.svg'\" type=\"basic\" (onClick)=\"searchClick($event)\"></lib-elux-button>\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 .input-search{position:relative;display:flex}:host .input-field{width:100%;box-sizing:border-box;position:relative;margin-right:16px}\n"] }]
|
|
1299
1409
|
}], ctorParameters: () => [], propDecorators: { value: [{
|
|
@@ -1311,28 +1421,43 @@ class EluxDropdownMultiple {
|
|
|
1311
1421
|
this.placeholder = 'Selecione';
|
|
1312
1422
|
this.options = [];
|
|
1313
1423
|
this.selectedOptions = [];
|
|
1424
|
+
this.showSearch = false;
|
|
1314
1425
|
this.optionSelected = new EventEmitter();
|
|
1315
1426
|
this.isOpen = false;
|
|
1316
1427
|
this.selectedOptionsText = [];
|
|
1428
|
+
this.optionsFiltered = [];
|
|
1429
|
+
this.inputValue = '';
|
|
1317
1430
|
}
|
|
1318
1431
|
ngOnInit() {
|
|
1319
1432
|
this.updateSelectedOptions();
|
|
1320
1433
|
if (!this.idInput) {
|
|
1321
1434
|
this.idInput = `dropdown-multiple-${Math.random().toString(36).substring(2, 11)}`;
|
|
1322
1435
|
}
|
|
1436
|
+
this.optionsFiltered = this.options;
|
|
1323
1437
|
}
|
|
1324
1438
|
ngOnChanges(changes) {
|
|
1325
1439
|
if (changes['selectedOptions'] && !changes['selectedOptions'].isFirstChange()) {
|
|
1326
1440
|
this.updateSelectedOptions();
|
|
1327
1441
|
}
|
|
1442
|
+
if (changes['options']) {
|
|
1443
|
+
this.optionsFiltered = this.options;
|
|
1444
|
+
}
|
|
1328
1445
|
}
|
|
1329
1446
|
updateSelectedOptions() {
|
|
1330
1447
|
this.selectedOptionsText = this.options.filter((option) => this.selectedOptions.includes(option.value)).map((option) => option.text);
|
|
1448
|
+
this.inputValue = this.selectedOptionsText.length ? this.selectedOptionsText.join(', ') : '';
|
|
1331
1449
|
}
|
|
1332
1450
|
toggleDropdown() {
|
|
1333
1451
|
if (!this.disabled) {
|
|
1334
1452
|
this.isOpen = !this.isOpen;
|
|
1335
1453
|
}
|
|
1454
|
+
if (this.isOpen) {
|
|
1455
|
+
this.optionsFiltered = this.options;
|
|
1456
|
+
}
|
|
1457
|
+
}
|
|
1458
|
+
onChangeFilter(event) {
|
|
1459
|
+
const term = event?.target?.value?.toLowerCase() || '';
|
|
1460
|
+
this.optionsFiltered = this.options.filter((option) => option.text.toLowerCase().includes(term));
|
|
1336
1461
|
}
|
|
1337
1462
|
selectOption(option) {
|
|
1338
1463
|
const index = this.selectedOptions.indexOf(option.value);
|
|
@@ -1351,12 +1476,12 @@ class EluxDropdownMultiple {
|
|
|
1351
1476
|
this.isOpen = false;
|
|
1352
1477
|
}
|
|
1353
1478
|
}
|
|
1354
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1355
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
1479
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxDropdownMultiple, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1480
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.28", type: EluxDropdownMultiple, isStandalone: true, selector: "lib-elux-dropdown-multiple", inputs: { disabled: "disabled", idInput: "idInput", placeholder: "placeholder", options: "options", selectedOptions: "selectedOptions", showSearch: "showSearch" }, outputs: { optionSelected: "optionSelected" }, host: { listeners: { "document:click": "onDocumentClick($event)" } }, usesOnChanges: true, ngImport: i0, template: "<div class=\"custom-dropdown\" [id]=\"idInput\">\n <input\n class=\"selected-option\"\n type=\"text\"\n [placeholder]=\"placeholder\"\n [value]=\"inputValue\"\n readonly\n (click)=\"toggleDropdown()\"\n />\n <lib-elux-icon class=\"arrow-icon noClick\" [color]=\"'#7A8A9B'\" [icon]=\"'Chevron_Down.svg'\" [ngClass]=\"{ 'arrow-rotate': isOpen }\" [size]=\"'16'\" [sizeType]=\"'px'\"></lib-elux-icon>\n <ul class=\"dropdown-list\" *ngIf=\"isOpen\">\n <li *ngIf=\"showSearch\" class=\"search-item\">\n <input type=\"text\" class=\"search-input\" placeholder=\"Buscar\" (click)=\"$event.stopPropagation()\" (input)=\"onChangeFilter($event)\" />\n </li>\n <li *ngFor=\"let option of showSearch ? optionsFiltered : options\" (click)=\"selectOption(option)\" class=\"d-flex align-items-center\" [class.selected]=\"selectedOptions.includes(option.value)\">\n <input class=\"me-2 col-3 ml-\" type=\"checkbox\" [checked]=\"selectedOptions.includes(option.value)\" />\n <span class=\"col-9\">\n {{ option.text }}\n </span>\n </li>\n </ul>\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}}.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,:host{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,:host{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{color:\"darkest-grey\"}:host .noClick{pointer-events:none}:host .custom-dropdown{position:relative;width:100%}:host .selected-option{padding:10px 16px;border:1px solid #7A8A9B;cursor:pointer}:host .dropdown-list{list-style-type:none;padding:0;margin:0;border:1px solid #EAEBED;position:absolute;top:100%;width:100%;left:0;background-color:#fff;display:block;max-height:256px;overflow:auto;z-index:10}:host .dropdown-list::-webkit-scrollbar{width:4px}:host .dropdown-list::-webkit-scrollbar-track{background:#f4f5f7}:host .dropdown-list::-webkit-scrollbar-thumb{background:#adb9c3}:host .dropdown-list li{padding:13px 16px;cursor:pointer}:host .dropdown-list li:hover{background-color:#eaebed}:host .search-item{padding:8px;cursor:default;position:sticky;top:0;background-color:#fff}:host .search-item:hover{background-color:#fff}:host .search-input{width:100%;padding:8px 12px;border:1px solid #EAEBED;box-sizing:border-box}:host .arrow-icon{display:flex;position:absolute;top:calc(50% - 8px);right:10px;cursor:pointer;transition:all .3s ease-in-out}:host .arrow-rotate{transform:rotate(180deg)}\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: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "component", type: EluxIcon, selector: "lib-elux-icon", inputs: ["color", "useSubscription", "icon", "description", "size", "height", "width", "sizeType"] }] }); }
|
|
1356
1481
|
}
|
|
1357
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1482
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxDropdownMultiple, decorators: [{
|
|
1358
1483
|
type: Component,
|
|
1359
|
-
args: [{ selector: 'lib-elux-dropdown-multiple', imports: [CommonModule, FormsModule, ReactiveFormsModule, EluxIcon], template: "<div class=\"custom-dropdown\">\n <input
|
|
1484
|
+
args: [{ selector: 'lib-elux-dropdown-multiple', imports: [CommonModule, FormsModule, ReactiveFormsModule, EluxIcon], template: "<div class=\"custom-dropdown\" [id]=\"idInput\">\n <input\n class=\"selected-option\"\n type=\"text\"\n [placeholder]=\"placeholder\"\n [value]=\"inputValue\"\n readonly\n (click)=\"toggleDropdown()\"\n />\n <lib-elux-icon class=\"arrow-icon noClick\" [color]=\"'#7A8A9B'\" [icon]=\"'Chevron_Down.svg'\" [ngClass]=\"{ 'arrow-rotate': isOpen }\" [size]=\"'16'\" [sizeType]=\"'px'\"></lib-elux-icon>\n <ul class=\"dropdown-list\" *ngIf=\"isOpen\">\n <li *ngIf=\"showSearch\" class=\"search-item\">\n <input type=\"text\" class=\"search-input\" placeholder=\"Buscar\" (click)=\"$event.stopPropagation()\" (input)=\"onChangeFilter($event)\" />\n </li>\n <li *ngFor=\"let option of showSearch ? optionsFiltered : options\" (click)=\"selectOption(option)\" class=\"d-flex align-items-center\" [class.selected]=\"selectedOptions.includes(option.value)\">\n <input class=\"me-2 col-3 ml-\" type=\"checkbox\" [checked]=\"selectedOptions.includes(option.value)\" />\n <span class=\"col-9\">\n {{ option.text }}\n </span>\n </li>\n </ul>\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}}.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,:host{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,:host{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{color:\"darkest-grey\"}:host .noClick{pointer-events:none}:host .custom-dropdown{position:relative;width:100%}:host .selected-option{padding:10px 16px;border:1px solid #7A8A9B;cursor:pointer}:host .dropdown-list{list-style-type:none;padding:0;margin:0;border:1px solid #EAEBED;position:absolute;top:100%;width:100%;left:0;background-color:#fff;display:block;max-height:256px;overflow:auto;z-index:10}:host .dropdown-list::-webkit-scrollbar{width:4px}:host .dropdown-list::-webkit-scrollbar-track{background:#f4f5f7}:host .dropdown-list::-webkit-scrollbar-thumb{background:#adb9c3}:host .dropdown-list li{padding:13px 16px;cursor:pointer}:host .dropdown-list li:hover{background-color:#eaebed}:host .search-item{padding:8px;cursor:default;position:sticky;top:0;background-color:#fff}:host .search-item:hover{background-color:#fff}:host .search-input{width:100%;padding:8px 12px;border:1px solid #EAEBED;box-sizing:border-box}:host .arrow-icon{display:flex;position:absolute;top:calc(50% - 8px);right:10px;cursor:pointer;transition:all .3s ease-in-out}:host .arrow-rotate{transform:rotate(180deg)}\n"] }]
|
|
1360
1485
|
}], ctorParameters: () => [], propDecorators: { disabled: [{
|
|
1361
1486
|
type: Input
|
|
1362
1487
|
}], idInput: [{
|
|
@@ -1367,6 +1492,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
1367
1492
|
type: Input
|
|
1368
1493
|
}], selectedOptions: [{
|
|
1369
1494
|
type: Input
|
|
1495
|
+
}], showSearch: [{
|
|
1496
|
+
type: Input
|
|
1370
1497
|
}], optionSelected: [{
|
|
1371
1498
|
type: Output
|
|
1372
1499
|
}], onDocumentClick: [{
|
|
@@ -1789,10 +1916,10 @@ class EluxCarouselComponent {
|
|
|
1789
1916
|
});
|
|
1790
1917
|
});
|
|
1791
1918
|
}
|
|
1792
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1793
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
1919
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxCarouselComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1920
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.28", type: EluxCarouselComponent, isStandalone: true, selector: "lib-elux-carousel", inputs: { itemsPerSlide: "itemsPerSlide", gap: "gap", title: "title", theme: "theme" }, outputs: { previousClickEventEmitter: "previousClickEventEmitter", nextClickEventEmitter: "nextClickEventEmitter", dotClickEventEmitter: "dotClickEventEmitter" }, queries: [{ propertyName: "items", predicate: ["carouselItem"], read: ElementRef }], viewQueries: [{ propertyName: "dotsContainer", first: true, predicate: ["dotsContainer"], descendants: true }, { propertyName: "slidesContainer", first: true, predicate: ["slidesContainer"], descendants: true }], ngImport: i0, template: "<div\n class=\"c-carousel-container\"\n [class.theme-1]=\"theme === 'theme1'\"\n [class.theme-2]=\"theme === 'theme2'\"\n>\n <ng-template #prevNav>\n <button\n class=\"c-carousel-nav\"\n [class.prev]=\"true\"\n [disabled]=\"!canGoPrevious()\"\n title=\"Slide anterior\"\n aria-label=\"Slide anterior\"\n (click)=\"prevSlide()\"\n >\n <lib-elux-icon\n [icon]=\"'Chevron_Left.svg'\"\n [size]=\"'16'\"\n [sizeType]=\"'px'\"\n [color]=\"'#020F2E'\"\n ></lib-elux-icon>\n </button>\n </ng-template>\n\n <ng-template #nextNav>\n <button\n class=\"c-carousel-nav\"\n [class.next]=\"true\"\n [disabled]=\"!canGoNext()\"\n title=\"Pr\u00F3ximo slide\"\n aria-label=\"Pr\u00F3ximo slide\"\n (click)=\"nextSlide()\"\n >\n <lib-elux-icon\n [icon]=\"'Chevron_Right.svg'\"\n [size]=\"'16'\"\n [sizeType]=\"'px'\"\n [color]=\"'#020F2E'\"\n ></lib-elux-icon>\n </button>\n </ng-template>\n\n <div *ngIf=\"title\" class=\"c-carousel-header\">\n <div class=\"c-carousel-header-inner\">\n <div class=\"c-carousel-title\">{{ title }}</div>\n <div class=\"c-carousel-controls\" *ngIf=\"getStepIndexCount().length > 1\">\n <ng-container\n *ngTemplateOutlet=\"prevNav\"\n ></ng-container>\n\n <ng-container\n *ngTemplateOutlet=\"nextNav\"\n ></ng-container>\n </div>\n </div>\n </div>\n <div \n class=\"c-carousel-slides\" \n #slidesContainer\n [style.transform]=\"'translateX(' + offset + '%)'\" \n [style.gap.px]=\"gap\"\n (dragstart)=\"onNativeDragStart($event)\"\n (pointerdown)=\"onPointerDown($event)\"\n (pointermove)=\"onPointerMove($event)\"\n (pointerup)=\"onPointerUp($event)\"\n (pointercancel)=\"onPointerCancel($event)\">\n <ng-content></ng-content>\n </div>\n\n <div class=\"c-carousel-footer\" *ngIf=\"getStepIndexCount().length > 1\">\n <ng-container *ngIf=\"!title\">\n <ng-container\n *ngTemplateOutlet=\"prevNav\"\n ></ng-container>\n </ng-container>\n\n <div class=\"c-carousel-dots\" #dotsContainer>\n <span\n role=\"button\"\n class=\"dot\"\n *ngFor=\"let index of getStepIndexCount()\"\n (click)=\"goToSlide(index)\"\n (keyup)=\"goToSlide(index)\"\n [class.active]=\"index === getCurrentStepIndex()\"\n [attr.aria-disabled]=\"true\"\n [attr.aria-label]=\"'pagina' + (index + 1)\"\n >\n </span>\n </div>\n\n <ng-container *ngIf=\"!title\">\n <ng-container\n *ngTemplateOutlet=\"nextNav\"\n ></ng-container>\n </ng-container>\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}}.c-carousel-container{position:relative;width:100%;--carousel-nav-inactive-bg: #DCE3E7;--carousel-nav-active-bg: #D6DEE3;--carousel-dot-active: #3D5275;--carousel-dot-inactive: #6F7F99}.c-carousel-container.theme-2{--carousel-nav-inactive-bg: #F0F1F2;--carousel-nav-active-bg: #E9EBED;--carousel-dot-active: #6A6A6A;--carousel-dot-inactive: #8D8D8D}.c-carousel-controls{display:flex;align-items:center;gap:12px}.c-carousel-nav{background:none;border:none;cursor:pointer;width:24px;height:24px;padding:0;border-radius:50%;background-color:var(--carousel-nav-active-bg);transition:all ease-in-out .2s;z-index:2;display:inline-flex;align-items:center;justify-content:center}.c-carousel-nav:hover:not(:disabled){transform:scale(1.2)}.c-carousel-nav:disabled{opacity:1;background-color:var(--carousel-nav-inactive-bg);cursor:not-allowed}.c-carousel-nav:disabled ::ng-deep span{opacity:.3}.c-carousel-nav:disabled:hover{transform:none}.c-carousel-nav ::ng-deep span{display:block}.c-carousel-header{margin-bottom:32px}@media(min-width:992px){.c-carousel-header{margin-bottom:40px}}.c-carousel-header .c-carousel-header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px}.c-carousel-header .c-carousel-header-inner .c-carousel-title{font-size:20px;font-weight:600;line-height:24px;color:#011e41}@media(min-width:992px){.c-carousel-header .c-carousel-header-inner .c-carousel-title{font-size:32px;line-height:35px}}.c-carousel-slides{display:flex;transition:transform .4s ease-out;touch-action:pan-y;cursor:grab;-webkit-user-select:none;user-select:none;will-change:transform}.c-carousel-slides:active{cursor:grabbing}.c-carousel-item{display:flex;flex-direction:column;text-align:center;align-items:center;justify-content:center;gap:16px;height:150px;margin:6px;border:1px solid #dee7ea;border-radius:2px;cursor:pointer;pointer-events:auto}.c-carousel-item .c-span{font-weight:400;font-size:18px;color:#011e41}.c-carousel-footer{width:min-content;margin:32px auto 0;display:flex;align-items:center;justify-content:space-between;padding:0}@media(min-width:992px){.c-carousel-footer{margin:40px auto 0}}.c-carousel-footer .c-carousel-dots{padding:6px;display:flex;align-items:center;text-align:center;border-radius:16px;margin:0 16px;max-width:120px;overflow:hidden;position:relative}@media(max-width:768px){.c-carousel-footer .c-carousel-dots{margin:0 12px;max-width:100px}}.c-carousel-footer .dot{height:7px;width:7px;margin:0 5px;background-color:var(--carousel-dot-inactive);border-radius:50%;display:inline-block;cursor:pointer;transition:all ease-in-out .2s;flex-shrink:0}.c-carousel-footer .dot:hover{background-color:#011e41}.c-carousel-footer .dot.active{width:10px;height:10px;background-color:var(--carousel-dot-active)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: EluxIcon, selector: "lib-elux-icon", inputs: ["color", "useSubscription", "icon", "description", "size", "height", "width", "sizeType"] }] }); }
|
|
1794
1921
|
}
|
|
1795
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1922
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxCarouselComponent, decorators: [{
|
|
1796
1923
|
type: Component,
|
|
1797
1924
|
args: [{ selector: 'lib-elux-carousel', imports: [CommonModule, EluxIcon], template: "<div\n class=\"c-carousel-container\"\n [class.theme-1]=\"theme === 'theme1'\"\n [class.theme-2]=\"theme === 'theme2'\"\n>\n <ng-template #prevNav>\n <button\n class=\"c-carousel-nav\"\n [class.prev]=\"true\"\n [disabled]=\"!canGoPrevious()\"\n title=\"Slide anterior\"\n aria-label=\"Slide anterior\"\n (click)=\"prevSlide()\"\n >\n <lib-elux-icon\n [icon]=\"'Chevron_Left.svg'\"\n [size]=\"'16'\"\n [sizeType]=\"'px'\"\n [color]=\"'#020F2E'\"\n ></lib-elux-icon>\n </button>\n </ng-template>\n\n <ng-template #nextNav>\n <button\n class=\"c-carousel-nav\"\n [class.next]=\"true\"\n [disabled]=\"!canGoNext()\"\n title=\"Pr\u00F3ximo slide\"\n aria-label=\"Pr\u00F3ximo slide\"\n (click)=\"nextSlide()\"\n >\n <lib-elux-icon\n [icon]=\"'Chevron_Right.svg'\"\n [size]=\"'16'\"\n [sizeType]=\"'px'\"\n [color]=\"'#020F2E'\"\n ></lib-elux-icon>\n </button>\n </ng-template>\n\n <div *ngIf=\"title\" class=\"c-carousel-header\">\n <div class=\"c-carousel-header-inner\">\n <div class=\"c-carousel-title\">{{ title }}</div>\n <div class=\"c-carousel-controls\" *ngIf=\"getStepIndexCount().length > 1\">\n <ng-container\n *ngTemplateOutlet=\"prevNav\"\n ></ng-container>\n\n <ng-container\n *ngTemplateOutlet=\"nextNav\"\n ></ng-container>\n </div>\n </div>\n </div>\n <div \n class=\"c-carousel-slides\" \n #slidesContainer\n [style.transform]=\"'translateX(' + offset + '%)'\" \n [style.gap.px]=\"gap\"\n (dragstart)=\"onNativeDragStart($event)\"\n (pointerdown)=\"onPointerDown($event)\"\n (pointermove)=\"onPointerMove($event)\"\n (pointerup)=\"onPointerUp($event)\"\n (pointercancel)=\"onPointerCancel($event)\">\n <ng-content></ng-content>\n </div>\n\n <div class=\"c-carousel-footer\" *ngIf=\"getStepIndexCount().length > 1\">\n <ng-container *ngIf=\"!title\">\n <ng-container\n *ngTemplateOutlet=\"prevNav\"\n ></ng-container>\n </ng-container>\n\n <div class=\"c-carousel-dots\" #dotsContainer>\n <span\n role=\"button\"\n class=\"dot\"\n *ngFor=\"let index of getStepIndexCount()\"\n (click)=\"goToSlide(index)\"\n (keyup)=\"goToSlide(index)\"\n [class.active]=\"index === getCurrentStepIndex()\"\n [attr.aria-disabled]=\"true\"\n [attr.aria-label]=\"'pagina' + (index + 1)\"\n >\n </span>\n </div>\n\n <ng-container *ngIf=\"!title\">\n <ng-container\n *ngTemplateOutlet=\"nextNav\"\n ></ng-container>\n </ng-container>\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}}.c-carousel-container{position:relative;width:100%;--carousel-nav-inactive-bg: #DCE3E7;--carousel-nav-active-bg: #D6DEE3;--carousel-dot-active: #3D5275;--carousel-dot-inactive: #6F7F99}.c-carousel-container.theme-2{--carousel-nav-inactive-bg: #F0F1F2;--carousel-nav-active-bg: #E9EBED;--carousel-dot-active: #6A6A6A;--carousel-dot-inactive: #8D8D8D}.c-carousel-controls{display:flex;align-items:center;gap:12px}.c-carousel-nav{background:none;border:none;cursor:pointer;width:24px;height:24px;padding:0;border-radius:50%;background-color:var(--carousel-nav-active-bg);transition:all ease-in-out .2s;z-index:2;display:inline-flex;align-items:center;justify-content:center}.c-carousel-nav:hover:not(:disabled){transform:scale(1.2)}.c-carousel-nav:disabled{opacity:1;background-color:var(--carousel-nav-inactive-bg);cursor:not-allowed}.c-carousel-nav:disabled ::ng-deep span{opacity:.3}.c-carousel-nav:disabled:hover{transform:none}.c-carousel-nav ::ng-deep span{display:block}.c-carousel-header{margin-bottom:32px}@media(min-width:992px){.c-carousel-header{margin-bottom:40px}}.c-carousel-header .c-carousel-header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px}.c-carousel-header .c-carousel-header-inner .c-carousel-title{font-size:20px;font-weight:600;line-height:24px;color:#011e41}@media(min-width:992px){.c-carousel-header .c-carousel-header-inner .c-carousel-title{font-size:32px;line-height:35px}}.c-carousel-slides{display:flex;transition:transform .4s ease-out;touch-action:pan-y;cursor:grab;-webkit-user-select:none;user-select:none;will-change:transform}.c-carousel-slides:active{cursor:grabbing}.c-carousel-item{display:flex;flex-direction:column;text-align:center;align-items:center;justify-content:center;gap:16px;height:150px;margin:6px;border:1px solid #dee7ea;border-radius:2px;cursor:pointer;pointer-events:auto}.c-carousel-item .c-span{font-weight:400;font-size:18px;color:#011e41}.c-carousel-footer{width:min-content;margin:32px auto 0;display:flex;align-items:center;justify-content:space-between;padding:0}@media(min-width:992px){.c-carousel-footer{margin:40px auto 0}}.c-carousel-footer .c-carousel-dots{padding:6px;display:flex;align-items:center;text-align:center;border-radius:16px;margin:0 16px;max-width:120px;overflow:hidden;position:relative}@media(max-width:768px){.c-carousel-footer .c-carousel-dots{margin:0 12px;max-width:100px}}.c-carousel-footer .dot{height:7px;width:7px;margin:0 5px;background-color:var(--carousel-dot-inactive);border-radius:50%;display:inline-block;cursor:pointer;transition:all ease-in-out .2s;flex-shrink:0}.c-carousel-footer .dot:hover{background-color:#011e41}.c-carousel-footer .dot.active{width:10px;height:10px;background-color:var(--carousel-dot-active)}\n"] }]
|
|
1798
1925
|
}], ctorParameters: () => [{ type: i0.Renderer2 }], propDecorators: { items: [{
|
|
@@ -1829,8 +1956,8 @@ class EluxSwitch {
|
|
|
1829
1956
|
_onChange(event) {
|
|
1830
1957
|
this.onChange.emit(event.target.checked);
|
|
1831
1958
|
}
|
|
1832
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1833
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
1959
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxSwitch, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1960
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.28", type: EluxSwitch, isStandalone: true, selector: "lib-elux-switch", inputs: { checked: "checked", size: "size" }, outputs: { onChange: "onChange" }, ngImport: i0, template: `
|
|
1834
1961
|
<div
|
|
1835
1962
|
[class.small]="size === 'small'"
|
|
1836
1963
|
[class.medium]="size === 'medium'"
|
|
@@ -1843,7 +1970,7 @@ class EluxSwitch {
|
|
|
1843
1970
|
</div>
|
|
1844
1971
|
`, isInline: true, 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}}.small{transform:scale(.67)}.medium{transform:scale(1)}.large{transform:scale(1.33)}.lib-elux-switch{position:relative;display:inline-block;width:60px;height:34px;transform-origin:left center}.lib-elux-switch input{opacity:0;width:0;height:0}.lib-elux-switch .slider{position:absolute;cursor:pointer;inset:0;background-color:#ccc;transition:.4s;border-radius:17px}.lib-elux-switch .slider:before{position:absolute;content:\"\";height:26px;width:26px;border-radius:50%;left:4px;bottom:4px;background-color:#fff;transition:.4s;box-shadow:0 2px 4px #0003}.lib-elux-switch input:checked+.slider{background-color:#011e41}.lib-elux-switch input:checked+.slider:before{transform:translate(26px)}\n"] }); }
|
|
1845
1972
|
}
|
|
1846
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1973
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxSwitch, decorators: [{
|
|
1847
1974
|
type: Component,
|
|
1848
1975
|
args: [{ selector: 'lib-elux-switch', standalone: true, template: `
|
|
1849
1976
|
<div
|
|
@@ -1874,10 +2001,10 @@ class EluxChip {
|
|
|
1874
2001
|
_onClick() {
|
|
1875
2002
|
this.onClick.emit();
|
|
1876
2003
|
}
|
|
1877
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1878
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
2004
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxChip, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2005
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.28", type: EluxChip, isStandalone: true, selector: "lib-elux-chip", inputs: { value: "value", ariaLabel: "ariaLabel" }, outputs: { onClick: "onClick" }, ngImport: i0, template: "<div class=\"chip\" (click)=\"_onClick()\" tabindex=\"0\" role=\"button\" [attr.aria-label]=\"ariaLabel\">\n {{ value }}\n <lib-elux-icon icon=\"Close.svg\" size=\"24\" sizeType=\"px\" color=\"#fff\" />\n</div>\n", styles: [".chip{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:14px;background:#5b6a78;color:#fff;border-radius:16px;padding:4px 8px;margin-right:8px;margin-bottom:8px;min-height:24px;cursor:pointer}.chip ::ng-deep lib-elux-icon .icon{transition:color .2s;background-color:#fff!important}.chip:hover{background:#b1abbb;color:#2b2936}.chip:hover ::ng-deep lib-elux-icon .icon{background-color:#2b2936!important}.chip .close{background:none;border:none;outline:none;cursor:pointer;line-height:1}.chip .close:hover{color:#2b2936}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: EluxIcon, selector: "lib-elux-icon", inputs: ["color", "useSubscription", "icon", "description", "size", "height", "width", "sizeType"] }] }); }
|
|
1879
2006
|
}
|
|
1880
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2007
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxChip, decorators: [{
|
|
1881
2008
|
type: Component,
|
|
1882
2009
|
args: [{ selector: 'lib-elux-chip', imports: [CommonModule, EluxIcon], template: "<div class=\"chip\" (click)=\"_onClick()\" tabindex=\"0\" role=\"button\" [attr.aria-label]=\"ariaLabel\">\n {{ value }}\n <lib-elux-icon icon=\"Close.svg\" size=\"24\" sizeType=\"px\" color=\"#fff\" />\n</div>\n", styles: [".chip{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:14px;background:#5b6a78;color:#fff;border-radius:16px;padding:4px 8px;margin-right:8px;margin-bottom:8px;min-height:24px;cursor:pointer}.chip ::ng-deep lib-elux-icon .icon{transition:color .2s;background-color:#fff!important}.chip:hover{background:#b1abbb;color:#2b2936}.chip:hover ::ng-deep lib-elux-icon .icon{background-color:#2b2936!important}.chip .close{background:none;border:none;outline:none;cursor:pointer;line-height:1}.chip .close:hover{color:#2b2936}\n"] }]
|
|
1883
2010
|
}], propDecorators: { value: [{
|
|
@@ -1888,11 +2015,49 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
1888
2015
|
type: Output
|
|
1889
2016
|
}] } });
|
|
1890
2017
|
|
|
2018
|
+
class EluxPopover {
|
|
2019
|
+
constructor(elementRef) {
|
|
2020
|
+
this.elementRef = elementRef;
|
|
2021
|
+
this.open = false;
|
|
2022
|
+
this.position = { top: '0px', left: '0px' };
|
|
2023
|
+
this.closed = new EventEmitter();
|
|
2024
|
+
}
|
|
2025
|
+
onDocumentClick(event) {
|
|
2026
|
+
if (!this.open) {
|
|
2027
|
+
return;
|
|
2028
|
+
}
|
|
2029
|
+
const target = event.target;
|
|
2030
|
+
if (!this.elementRef.nativeElement.contains(target)) {
|
|
2031
|
+
this.closed.emit();
|
|
2032
|
+
}
|
|
2033
|
+
}
|
|
2034
|
+
close() {
|
|
2035
|
+
this.closed.emit();
|
|
2036
|
+
}
|
|
2037
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxPopover, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2038
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.28", type: EluxPopover, isStandalone: true, selector: "lib-elux-popover", inputs: { open: "open", position: "position" }, outputs: { closed: "closed" }, host: { listeners: { "document:click": "onDocumentClick($event)" } }, ngImport: i0, template: "@if (open) {\n <div class=\"popover-panel\" [style.top]=\"position.top\" [style.left]=\"position.left\">\n <lib-elux-icon class=\"popover-close\" [icon]=\"'Close.svg'\" [color]=\"'#011E41'\" [size]=\"'18'\" [sizeType]=\"'px'\" (click)=\"close()\"></lib-elux-icon>\n <div class=\"popover-content\">\n <ng-content></ng-content>\n </div>\n </div>\n}\n", styles: [".popover-panel{position:fixed;z-index:1000;min-width:220px;max-width:320px;background:#fff;border:1px solid #ADB9C3;border-radius:8px;box-shadow:0 4px 16px #011e4129;padding:16px;font-family:Electrolux Sans,sans-serif;color:#515253}.popover-close{position:absolute;top:8px;right:8px;cursor:pointer}.popover-content{padding-right:20px}\n"], dependencies: [{ kind: "component", type: EluxIcon, selector: "lib-elux-icon", inputs: ["color", "useSubscription", "icon", "description", "size", "height", "width", "sizeType"] }] }); }
|
|
2039
|
+
}
|
|
2040
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxPopover, decorators: [{
|
|
2041
|
+
type: Component,
|
|
2042
|
+
args: [{ selector: 'lib-elux-popover', imports: [
|
|
2043
|
+
EluxIcon
|
|
2044
|
+
], template: "@if (open) {\n <div class=\"popover-panel\" [style.top]=\"position.top\" [style.left]=\"position.left\">\n <lib-elux-icon class=\"popover-close\" [icon]=\"'Close.svg'\" [color]=\"'#011E41'\" [size]=\"'18'\" [sizeType]=\"'px'\" (click)=\"close()\"></lib-elux-icon>\n <div class=\"popover-content\">\n <ng-content></ng-content>\n </div>\n </div>\n}\n", styles: [".popover-panel{position:fixed;z-index:1000;min-width:220px;max-width:320px;background:#fff;border:1px solid #ADB9C3;border-radius:8px;box-shadow:0 4px 16px #011e4129;padding:16px;font-family:Electrolux Sans,sans-serif;color:#515253}.popover-close{position:absolute;top:8px;right:8px;cursor:pointer}.popover-content{padding-right:20px}\n"] }]
|
|
2045
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { open: [{
|
|
2046
|
+
type: Input
|
|
2047
|
+
}], position: [{
|
|
2048
|
+
type: Input
|
|
2049
|
+
}], closed: [{
|
|
2050
|
+
type: Output
|
|
2051
|
+
}], onDocumentClick: [{
|
|
2052
|
+
type: HostListener,
|
|
2053
|
+
args: ['document:click', ['$event']]
|
|
2054
|
+
}] } });
|
|
2055
|
+
|
|
1891
2056
|
class EluxCard1 {
|
|
1892
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1893
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
2057
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxCard1, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2058
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.28", type: EluxCard1, isStandalone: true, selector: "lib-elux-card-1", inputs: { text: "text", iconLeft: "iconLeft", iconRight: "iconRight" }, ngImport: i0, template: "<div class=\"card1 p-3\">\n <lib-elux-icon *ngIf=\"iconLeft\" class=\"iconLeft\" [icon]=\"iconLeft\" [size]=\"'24'\" [sizeType]=\"'px'\"></lib-elux-icon>\n <div class=\"card-content\">\n <span class=\"subtitle-1\">{{ text }}</span>\n <lib-elux-icon class=\"iconRight\" [icon]=\"iconRight\" [size]=\"'24'\" [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}}.card1{border:1px solid #ADB9C3;border-radius:2px;height:70px;background-color:#fff;display:flex;flex-direction:row;align-items:center;cursor:pointer}.card1 .card-content{width:100%;display:flex;justify-content:space-between;align-items:center}.card1 .iconLeft{margin-right:18px}.card1 .iconRight{transition:.3s}.card1:focus-visible{outline:2px solid #16A748;outline-offset:-2px}.card1:focus-visible .iconRight{margin-right:-10px}.card1:hover{border-color:#5b6a78}.card1:hover .iconRight{margin-right:-10px}\n"], dependencies: [{ kind: "component", type: EluxIcon, selector: "lib-elux-icon", inputs: ["color", "useSubscription", "icon", "description", "size", "height", "width", "sizeType"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
1894
2059
|
}
|
|
1895
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2060
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxCard1, decorators: [{
|
|
1896
2061
|
type: Component,
|
|
1897
2062
|
args: [{ selector: 'lib-elux-card-1', imports: [EluxIcon, CommonModule], template: "<div class=\"card1 p-3\">\n <lib-elux-icon *ngIf=\"iconLeft\" class=\"iconLeft\" [icon]=\"iconLeft\" [size]=\"'24'\" [sizeType]=\"'px'\"></lib-elux-icon>\n <div class=\"card-content\">\n <span class=\"subtitle-1\">{{ text }}</span>\n <lib-elux-icon class=\"iconRight\" [icon]=\"iconRight\" [size]=\"'24'\" [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}}.card1{border:1px solid #ADB9C3;border-radius:2px;height:70px;background-color:#fff;display:flex;flex-direction:row;align-items:center;cursor:pointer}.card1 .card-content{width:100%;display:flex;justify-content:space-between;align-items:center}.card1 .iconLeft{margin-right:18px}.card1 .iconRight{transition:.3s}.card1:focus-visible{outline:2px solid #16A748;outline-offset:-2px}.card1:focus-visible .iconRight{margin-right:-10px}.card1:hover{border-color:#5b6a78}.card1:hover .iconRight{margin-right:-10px}\n"] }]
|
|
1898
2063
|
}], propDecorators: { text: [{
|
|
@@ -1904,10 +2069,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
1904
2069
|
}] } });
|
|
1905
2070
|
|
|
1906
2071
|
class EluxCard2 {
|
|
1907
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1908
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
2072
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxCard2, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2073
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.28", type: EluxCard2, isStandalone: true, selector: "lib-elux-card-2", inputs: { text: "text", icon: "icon" }, ngImport: i0, template: "<div class=\"subtitle-1 card2 d-flex justify-content-between align-items-center\">\n <span class=\"subtitle-1 text-blue\">{{ text }}</span>\n <lib-elux-icon [icon]=\"icon\" [size]=\"'24'\" [sizeType]=\"'px'\"></lib-elux-icon>\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}}.card2{cursor:pointer;color:#011e41!important;height:52px!important;display:flex;align-items:center;border-bottom:1px solid #C9C9CA}\n"], dependencies: [{ kind: "component", type: EluxIcon, selector: "lib-elux-icon", inputs: ["color", "useSubscription", "icon", "description", "size", "height", "width", "sizeType"] }] }); }
|
|
1909
2074
|
}
|
|
1910
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2075
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxCard2, decorators: [{
|
|
1911
2076
|
type: Component,
|
|
1912
2077
|
args: [{ selector: 'lib-elux-card-2', imports: [EluxIcon], template: "<div class=\"subtitle-1 card2 d-flex justify-content-between align-items-center\">\n <span class=\"subtitle-1 text-blue\">{{ text }}</span>\n <lib-elux-icon [icon]=\"icon\" [size]=\"'24'\" [sizeType]=\"'px'\"></lib-elux-icon>\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}}.card2{cursor:pointer;color:#011e41!important;height:52px!important;display:flex;align-items:center;border-bottom:1px solid #C9C9CA}\n"] }]
|
|
1913
2078
|
}], propDecorators: { text: [{
|
|
@@ -1917,10 +2082,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
1917
2082
|
}] } });
|
|
1918
2083
|
|
|
1919
2084
|
class EluxCard3 {
|
|
1920
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1921
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
2085
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxCard3, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2086
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.28", type: EluxCard3, isStandalone: true, selector: "lib-elux-card-3", inputs: { title: "title", text: "text", icon: "icon" }, ngImport: i0, template: "<div class=\"card3 p-3 subtitle-1 d-flex align-items-center\">\n <div class=\"pe-3\">\n <lib-elux-icon [icon]=\"icon\" [size]=\"'40'\" [sizeType]=\"'px'\"></lib-elux-icon>\n </div>\n <div class=\"d-flex flex-column\">\n <span class=\"heading-3 text-blue\">{{ title }}</span>\n <span class=\"body mt-2\">{{ text }}</span>\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}}.card3{height:140px;background-color:#fff}\n"], dependencies: [{ kind: "component", type: EluxIcon, selector: "lib-elux-icon", inputs: ["color", "useSubscription", "icon", "description", "size", "height", "width", "sizeType"] }] }); }
|
|
1922
2087
|
}
|
|
1923
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2088
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxCard3, decorators: [{
|
|
1924
2089
|
type: Component,
|
|
1925
2090
|
args: [{ selector: 'lib-elux-card-3', imports: [EluxIcon], template: "<div class=\"card3 p-3 subtitle-1 d-flex align-items-center\">\n <div class=\"pe-3\">\n <lib-elux-icon [icon]=\"icon\" [size]=\"'40'\" [sizeType]=\"'px'\"></lib-elux-icon>\n </div>\n <div class=\"d-flex flex-column\">\n <span class=\"heading-3 text-blue\">{{ title }}</span>\n <span class=\"body mt-2\">{{ text }}</span>\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}}.card3{height:140px;background-color:#fff}\n"] }]
|
|
1926
2091
|
}], propDecorators: { title: [{
|
|
@@ -1932,10 +2097,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
1932
2097
|
}] } });
|
|
1933
2098
|
|
|
1934
2099
|
class EluxCard4 {
|
|
1935
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1936
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
2100
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxCard4, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2101
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.28", type: EluxCard4, isStandalone: true, selector: "lib-elux-card-4", inputs: { title: "title", text: "text" }, ngImport: i0, template: "<div class=\"card4 p-3\">\n <div class=\"d-flex flex-row justify-content-between align-items-center\">\n <span class=\"subtitle-1 text-blue\">{{ title }}</span>\n <lib-elux-icon [icon]=\"'Arrow_Right.svg'\" [size]=\"'24'\" [sizeType]=\"'px'\"></lib-elux-icon>\n </div>\n <div class=\"d-flex mt-2\">\n <span class=\"body\">{{ text }}</span>\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}}.card4{border:1px solid #7A8A9B;border-radius:2px}\n"], dependencies: [{ kind: "component", type: EluxIcon, selector: "lib-elux-icon", inputs: ["color", "useSubscription", "icon", "description", "size", "height", "width", "sizeType"] }] }); }
|
|
1937
2102
|
}
|
|
1938
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2103
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxCard4, decorators: [{
|
|
1939
2104
|
type: Component,
|
|
1940
2105
|
args: [{ selector: 'lib-elux-card-4', imports: [EluxIcon], template: "<div class=\"card4 p-3\">\n <div class=\"d-flex flex-row justify-content-between align-items-center\">\n <span class=\"subtitle-1 text-blue\">{{ title }}</span>\n <lib-elux-icon [icon]=\"'Arrow_Right.svg'\" [size]=\"'24'\" [sizeType]=\"'px'\"></lib-elux-icon>\n </div>\n <div class=\"d-flex mt-2\">\n <span class=\"body\">{{ text }}</span>\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}}.card4{border:1px solid #7A8A9B;border-radius:2px}\n"] }]
|
|
1941
2106
|
}], propDecorators: { title: [{
|
|
@@ -1948,10 +2113,10 @@ class EluxLoading2 {
|
|
|
1948
2113
|
constructor() {
|
|
1949
2114
|
this.open = false;
|
|
1950
2115
|
}
|
|
1951
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1952
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
2116
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxLoading2, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2117
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.28", type: EluxLoading2, isStandalone: true, selector: "lib-elux-loading-2", inputs: { open: "open" }, ngImport: i0, template: "<div class=\"modal\" [class.open]=\"open\">\n <div class=\"modal-content\">\n <img class=\"content-icon mb-4\" src=\"/assets/icons/Loading.webp\" />\n <span class=\"content-title mt-2 mb-3\">Carregando...</span>\n <span class=\"content-description\">Por favor, aguarde enquanto buscamos a melhor solu\u00E7\u00E3o.</span>\n </div>\n <div class=\"modal-backdrop\"></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,.modal-content .content-title{font-family:Electrolux Sans;font-size:28px;font-weight:600;line-height:32px}.heading-3,.modal-content .content-description{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,.modal-content .content-title{font-family:Electrolux Sans;font-size:24px;font-weight:600;line-height:28px}.heading-3,.modal-content .content-description{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}}.modal{display:none;position:fixed;z-index:1000;left:0;top:0;width:100%;height:100%;overflow:auto}.modal .close-icon{position:absolute;right:15px;top:15px;cursor:pointer}.modal.open{display:block}.modal-content{display:flex;align-items:center;background-color:#fff;margin:15% auto;padding:48px 24px;width:80%;max-width:330px;border-radius:8px;z-index:10}.modal-content .content-icon{width:60px;height:60px}.modal-content .content-title{color:#011e41}.modal-content .content-description{color:#515253}@media(max-width:991px){.modal-content{padding:12px!important}}.modal-backdrop{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#0006;z-index:9}\n"] }); }
|
|
1953
2118
|
}
|
|
1954
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxLoading2, decorators: [{
|
|
1955
2120
|
type: Component,
|
|
1956
2121
|
args: [{ selector: 'lib-elux-loading-2', imports: [], template: "<div class=\"modal\" [class.open]=\"open\">\n <div class=\"modal-content\">\n <img class=\"content-icon mb-4\" src=\"/assets/icons/Loading.webp\" />\n <span class=\"content-title mt-2 mb-3\">Carregando...</span>\n <span class=\"content-description\">Por favor, aguarde enquanto buscamos a melhor solu\u00E7\u00E3o.</span>\n </div>\n <div class=\"modal-backdrop\"></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,.modal-content .content-title{font-family:Electrolux Sans;font-size:28px;font-weight:600;line-height:32px}.heading-3,.modal-content .content-description{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,.modal-content .content-title{font-family:Electrolux Sans;font-size:24px;font-weight:600;line-height:28px}.heading-3,.modal-content .content-description{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}}.modal{display:none;position:fixed;z-index:1000;left:0;top:0;width:100%;height:100%;overflow:auto}.modal .close-icon{position:absolute;right:15px;top:15px;cursor:pointer}.modal.open{display:block}.modal-content{display:flex;align-items:center;background-color:#fff;margin:15% auto;padding:48px 24px;width:80%;max-width:330px;border-radius:8px;z-index:10}.modal-content .content-icon{width:60px;height:60px}.modal-content .content-title{color:#011e41}.modal-content .content-description{color:#515253}@media(max-width:991px){.modal-content{padding:12px!important}}.modal-backdrop{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#0006;z-index:9}\n"] }]
|
|
1957
2122
|
}], propDecorators: { open: [{
|
|
@@ -2394,10 +2559,10 @@ class EluxCarouselFixedComponent {
|
|
|
2394
2559
|
this.currentIndex = 0;
|
|
2395
2560
|
this.updateTransform();
|
|
2396
2561
|
}
|
|
2397
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2398
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
2562
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxCarouselFixedComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2563
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.28", type: EluxCarouselFixedComponent, isStandalone: true, selector: "lib-elux-carousel-fixed", inputs: { itemWidth: "itemWidth", gap: "gap", showArrows: "showArrows", showDots: "showDots" }, outputs: { previousClickEventEmitter: "previousClickEventEmitter", nextClickEventEmitter: "nextClickEventEmitter", dotClickEventEmitter: "dotClickEventEmitter" }, queries: [{ propertyName: "items", predicate: ["carouselItem"], read: ElementRef }], viewQueries: [{ propertyName: "slidesContainer", first: true, predicate: ["slidesContainer"], descendants: true }, { propertyName: "rightBleedContainer", first: true, predicate: ["rightBleedContainer"], descendants: true }], ngImport: i0, template: "<div class=\"c-carousel-fixed-container\" #rightBleedContainer>\n <div \n class=\"c-carousel-fixed-slides\" \n #slidesContainer\n [style.transform]=\"'translateX(' + translateX + 'px)'\" \n (mousedown)=\"onMouseDown($event)\"\n (mousemove)=\"onMouseMove($event)\"\n (mouseup)=\"onMouseUp($event)\"\n (mouseleave)=\"onMouseLeave($event)\"\n (touchstart)=\"onTouchStart($event)\" \n (touchmove)=\"onTouchMove($event)\" \n (touchend)=\"onTouchEnd($event)\">\n <ng-content></ng-content>\n </div>\n</div>\n<div class=\"c-carousel-fixed-footer\" *ngIf=\"showArrows || showDots\">\n <button *ngIf=\"showArrows && getDotsArray().length > 1\"\n class=\"c-carousel-fixed-nav prev\" \n [disabled]=\"!canGoPrevious()\"\n title=\"Item anterior\" \n aria-label=\"Item anterior\" \n (click)=\"prevItem()\">\n <lib-elux-icon [icon]=\"'Chevron_Left.svg'\" [size]=\"'16'\" [sizeType]=\"'px'\" [color]=\"'#020F2E'\"></lib-elux-icon>\n </button>\n\n <div class=\"c-carousel-fixed-dots\" *ngIf=\"showDots && getDotsArray().length > 1\">\n <ng-container *ngFor=\"let dot of getDotsArray(); let idx = index\">\n <span \n class=\"c-carousel-fixed-dot\" \n [class.active]=\"idx === getCurrentDotIndex()\" \n (click)=\"goToDot(idx)\">\n </span>\n </ng-container>\n </div>\n\n <button *ngIf=\"showArrows && getDotsArray().length > 1\"\n class=\"c-carousel-fixed-nav next\" \n [disabled]=\"!canGoNext()\"\n title=\"Pr\u00F3ximo item\" \n aria-label=\"Pr\u00F3ximo item\" \n (click)=\"nextItem()\">\n <lib-elux-icon [icon]=\"'Chevron_Right.svg'\" [size]=\"'16'\" [sizeType]=\"'px'\" [color]=\"'#020F2E'\"></lib-elux-icon>\n </button>\n</div>\n", styles: [".c-carousel-fixed-container{overflow-x:hidden;width:calc(100vw - var(--left-offset, 0px) - var(--scrollbar-width, 0px))}.c-carousel-fixed-slides{display:flex;transition:transform .5s ease-out;touch-action:pan-y;cursor:grab;will-change:transform}.c-carousel-fixed-slides:active{cursor:grabbing}.c-carousel-fixed-footer{display:flex;justify-content:space-between;padding:16px}.c-carousel-fixed-footer .c-carousel-fixed-nav{background:none;border:none;cursor:pointer;padding:8px;border-radius:50px;background-color:#dfe7ea;transition:all ease-in-out .2s;z-index:2}.c-carousel-fixed-footer .c-carousel-fixed-nav:hover:not(:disabled){transform:scale(1.2)}.c-carousel-fixed-footer .c-carousel-fixed-nav:disabled{opacity:.3;cursor:not-allowed}.c-carousel-fixed-footer .c-carousel-fixed-nav:disabled:hover{transform:none}.c-carousel-fixed-footer .c-carousel-fixed-nav ::ng-deep span{display:block}.c-carousel-fixed-footer .c-carousel-fixed-dots{display:flex;align-items:center;gap:8px;margin:0 16px}.c-carousel-fixed-footer .c-carousel-fixed-dots .c-carousel-fixed-dot{width:10px;height:10px;border-radius:50%;background:#dfe7ea;transition:background .3s;cursor:pointer;display:inline-block}.c-carousel-fixed-footer .c-carousel-fixed-dots .c-carousel-fixed-dot.active{background:#011e41}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: EluxIcon, selector: "lib-elux-icon", inputs: ["color", "useSubscription", "icon", "description", "size", "height", "width", "sizeType"] }] }); }
|
|
2399
2564
|
}
|
|
2400
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2565
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxCarouselFixedComponent, decorators: [{
|
|
2401
2566
|
type: Component,
|
|
2402
2567
|
args: [{ selector: 'lib-elux-carousel-fixed', imports: [CommonModule, EluxIcon], template: "<div class=\"c-carousel-fixed-container\" #rightBleedContainer>\n <div \n class=\"c-carousel-fixed-slides\" \n #slidesContainer\n [style.transform]=\"'translateX(' + translateX + 'px)'\" \n (mousedown)=\"onMouseDown($event)\"\n (mousemove)=\"onMouseMove($event)\"\n (mouseup)=\"onMouseUp($event)\"\n (mouseleave)=\"onMouseLeave($event)\"\n (touchstart)=\"onTouchStart($event)\" \n (touchmove)=\"onTouchMove($event)\" \n (touchend)=\"onTouchEnd($event)\">\n <ng-content></ng-content>\n </div>\n</div>\n<div class=\"c-carousel-fixed-footer\" *ngIf=\"showArrows || showDots\">\n <button *ngIf=\"showArrows && getDotsArray().length > 1\"\n class=\"c-carousel-fixed-nav prev\" \n [disabled]=\"!canGoPrevious()\"\n title=\"Item anterior\" \n aria-label=\"Item anterior\" \n (click)=\"prevItem()\">\n <lib-elux-icon [icon]=\"'Chevron_Left.svg'\" [size]=\"'16'\" [sizeType]=\"'px'\" [color]=\"'#020F2E'\"></lib-elux-icon>\n </button>\n\n <div class=\"c-carousel-fixed-dots\" *ngIf=\"showDots && getDotsArray().length > 1\">\n <ng-container *ngFor=\"let dot of getDotsArray(); let idx = index\">\n <span \n class=\"c-carousel-fixed-dot\" \n [class.active]=\"idx === getCurrentDotIndex()\" \n (click)=\"goToDot(idx)\">\n </span>\n </ng-container>\n </div>\n\n <button *ngIf=\"showArrows && getDotsArray().length > 1\"\n class=\"c-carousel-fixed-nav next\" \n [disabled]=\"!canGoNext()\"\n title=\"Pr\u00F3ximo item\" \n aria-label=\"Pr\u00F3ximo item\" \n (click)=\"nextItem()\">\n <lib-elux-icon [icon]=\"'Chevron_Right.svg'\" [size]=\"'16'\" [sizeType]=\"'px'\" [color]=\"'#020F2E'\"></lib-elux-icon>\n </button>\n</div>\n", styles: [".c-carousel-fixed-container{overflow-x:hidden;width:calc(100vw - var(--left-offset, 0px) - var(--scrollbar-width, 0px))}.c-carousel-fixed-slides{display:flex;transition:transform .5s ease-out;touch-action:pan-y;cursor:grab;will-change:transform}.c-carousel-fixed-slides:active{cursor:grabbing}.c-carousel-fixed-footer{display:flex;justify-content:space-between;padding:16px}.c-carousel-fixed-footer .c-carousel-fixed-nav{background:none;border:none;cursor:pointer;padding:8px;border-radius:50px;background-color:#dfe7ea;transition:all ease-in-out .2s;z-index:2}.c-carousel-fixed-footer .c-carousel-fixed-nav:hover:not(:disabled){transform:scale(1.2)}.c-carousel-fixed-footer .c-carousel-fixed-nav:disabled{opacity:.3;cursor:not-allowed}.c-carousel-fixed-footer .c-carousel-fixed-nav:disabled:hover{transform:none}.c-carousel-fixed-footer .c-carousel-fixed-nav ::ng-deep span{display:block}.c-carousel-fixed-footer .c-carousel-fixed-dots{display:flex;align-items:center;gap:8px;margin:0 16px}.c-carousel-fixed-footer .c-carousel-fixed-dots .c-carousel-fixed-dot{width:10px;height:10px;border-radius:50%;background:#dfe7ea;transition:background .3s;cursor:pointer;display:inline-block}.c-carousel-fixed-footer .c-carousel-fixed-dots .c-carousel-fixed-dot.active{background:#011e41}\n"] }]
|
|
2403
2568
|
}], ctorParameters: () => [{ type: i0.Renderer2 }], propDecorators: { items: [{
|
|
@@ -2432,10 +2597,10 @@ class EluxArrowLink {
|
|
|
2432
2597
|
this.icon_name = '';
|
|
2433
2598
|
this.icon_size = '26';
|
|
2434
2599
|
}
|
|
2435
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2436
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
2600
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxArrowLink, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2601
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.28", type: EluxArrowLink, isStandalone: true, selector: "lib-elux-arrow-link", inputs: { title: "title", reverse: "reverse", icon_name: "icon_name", icon_size: "icon_size" }, ngImport: i0, template: "<div *ngIf=\"title\" class=\"single-action mat-elevation-z0\">\n <div class=\"text-container\">\n <lib-elux-icon *ngIf=\"reverse\" class=\"back\" [icon]=\"'Chevron_Left.svg'\" [color]=\"'#A5742E'\" [size]=\"'24'\" [sizeType]=\"'px'\"> </lib-elux-icon>\n <div class=\"content\">\n <lib-elux-icon class=\"content-icon\" *ngIf=\"!!icon_name\" [icon]=\"icon_name\" [sizeType]=\"'px'\" [size]=\"icon_size\"> </lib-elux-icon>\n <span>{{ title }}</span> \n </div>\n <lib-elux-icon *ngIf=\"!reverse\" class=\"go\" [icon]=\"'Chevron_Right.svg'\" [color]=\"'#A5742E'\" [size]=\"'24'\" [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,.single-action .content{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,.single-action .content{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}}.single-action{transition:margin-right ease-in-out .3s;padding-top:16px;padding-bottom:16px;padding-right:22px;display:inline-block;cursor:pointer}.single-action *{transition:margin-right ease-in-out .3s}.single-action .text-container{display:flex;align-items:center;justify-content:space-between;color:#011e41}.single-action .content{display:flex;align-items:center;color:#011e41;margin-right:8px}.single-action .content .content-icon{margin-right:10px}.single-action .go,.single-action .back{transition:.3s}.single-action:hover .text-container,.single-action:hover .text-container .content{color:#011e41}.single-action:hover .go{transform:translate(10px)}.single-action:hover .back{transform:translate(-10px)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: RouterModule }, { kind: "component", type: EluxIcon, selector: "lib-elux-icon", inputs: ["color", "useSubscription", "icon", "description", "size", "height", "width", "sizeType"] }] }); }
|
|
2437
2602
|
}
|
|
2438
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2603
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxArrowLink, decorators: [{
|
|
2439
2604
|
type: Component,
|
|
2440
2605
|
args: [{ selector: 'lib-elux-arrow-link', imports: [CommonModule, RouterModule, EluxIcon], template: "<div *ngIf=\"title\" class=\"single-action mat-elevation-z0\">\n <div class=\"text-container\">\n <lib-elux-icon *ngIf=\"reverse\" class=\"back\" [icon]=\"'Chevron_Left.svg'\" [color]=\"'#A5742E'\" [size]=\"'24'\" [sizeType]=\"'px'\"> </lib-elux-icon>\n <div class=\"content\">\n <lib-elux-icon class=\"content-icon\" *ngIf=\"!!icon_name\" [icon]=\"icon_name\" [sizeType]=\"'px'\" [size]=\"icon_size\"> </lib-elux-icon>\n <span>{{ title }}</span> \n </div>\n <lib-elux-icon *ngIf=\"!reverse\" class=\"go\" [icon]=\"'Chevron_Right.svg'\" [color]=\"'#A5742E'\" [size]=\"'24'\" [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,.single-action .content{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,.single-action .content{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}}.single-action{transition:margin-right ease-in-out .3s;padding-top:16px;padding-bottom:16px;padding-right:22px;display:inline-block;cursor:pointer}.single-action *{transition:margin-right ease-in-out .3s}.single-action .text-container{display:flex;align-items:center;justify-content:space-between;color:#011e41}.single-action .content{display:flex;align-items:center;color:#011e41;margin-right:8px}.single-action .content .content-icon{margin-right:10px}.single-action .go,.single-action .back{transition:.3s}.single-action:hover .text-container,.single-action:hover .text-container .content{color:#011e41}.single-action:hover .go{transform:translate(10px)}.single-action:hover .back{transform:translate(-10px)}\n"] }]
|
|
2441
2606
|
}], propDecorators: { title: [{
|
|
@@ -2474,10 +2639,10 @@ class EluxCardProduct {
|
|
|
2474
2639
|
}
|
|
2475
2640
|
return '';
|
|
2476
2641
|
}
|
|
2477
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2478
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
2642
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxCardProduct, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2643
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.28", type: EluxCardProduct, isStandalone: true, selector: "lib-elux-card-product", inputs: { orientation: "orientation", image: "image", imageAlt: "imageAlt", model: "model", description: "description", voltage: "voltage", link: "link", removeIcon: "removeIcon", incompleteRegister: "incompleteRegister", connectedProduct: "connectedProduct" }, outputs: { removeEvent: "removeEvent" }, ngImport: i0, template: "<div class=\"position-relative\">\n <a [routerLink]=\"link\" class=\"product-card\" [class.product-card--vertical]=\"orientation === 'vertical'\">\n <div class=\"div-image mr-2\" *ngIf=\"!!image\">\n <div class=\"connected-product\" *ngIf=\"connectedProduct\">\n <lib-elux-icon icon=\"Logo_small.svg\" color=\"#FFF\" size=\"12\"></lib-elux-icon>\n </div>\n <img [src]=\"image\" [alt]=\"imageAlt\" class=\"image\" />\n </div>\n <div class=\"content\">\n <div class=\"d-flex align-items-center gap\">\n <span class=\"product-code\">{{ model | uppercase }}</span>\n <span class=\"incomplete-register-tag\" *ngIf=\"incompleteRegister\">\n Registro incompleto\n </span>\n </div>\n <span class=\"product-name\">{{ capitalizeDescription() }}</span>\n <span class=\"voltage-tag\" *ngIf=\"!!voltage\"> {{ voltage }} </span>\n </div>\n </a>\n\n <lib-elux-icon\n *ngIf=\"removeIcon\"\n class=\"close-icon\"\n icon=\"Close.svg\"\n tabindex=\"0\"\n color=\"#011E41\"\n size=\"18\"\n sizeType=\"px\"\n (keyup.enter)=\"removeProduct()\"\n (click)=\"removeProduct()\"\n ></lib-elux-icon>\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{padding:16px;border:solid 1px #DEE7EA;border-radius:4px;display:flex;flex-direction:row;text-decoration:none;background-color:#fff;box-shadow:0 4px 18px #0000001f}.product-card:focus-visible{outline:none;border-color:transparent}.product-card:focus{box-shadow:0 0 0 2px #16a748;outline:none;border-color:transparent}.product-card .div-image{width:64px;flex-shrink:0;margin-right:8px;overflow:hidden;display:flex;align-items:center;justify-content:center}.product-card .div-image .connected-product{background-color:#011e41;position:absolute;width:22px;height:22px;border-radius:6px;display:flex;justify-content:center;align-items:center;left:16px;bottom:16px}.product-card .div-image .connected-product ::ng-deep lib-elux-icon{display:flex!important}.product-card .div-image .image{width:100%;height:100%;object-fit:contain}.product-card .content{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.product-card .content .gap{gap:6px}.product-card .content .product-code{font-size:14px;font-weight:400;display:block;color:#515253}.product-card .content .product-name{font-size:16px;font-weight:400;line-height:19px;display:block;color:#03183f;white-space:break-spaces}.product-card .content .incomplete-register-tag{font-size:10px;line-height:10px;padding:2px 8px;border-radius:14px;background-color:#d01935;color:#fff;height:16px}.product-card .content .voltage-tag{font-size:12px;line-height:14px;font-weight:600;color:#fff;height:20px;padding:2px 8px;border-radius:4px;background-color:#3d5275}.product-card--vertical{flex-direction:column;height:280px;justify-content:space-between;box-shadow:none}.product-card--vertical .div-image{width:100%;height:130px;margin-right:0}.product-card--vertical .div-image .connected-product{bottom:unset;top:16px}.product-card--vertical .content{width:100%}.close-icon{cursor:pointer;position:absolute;top:8px;right:10px}\n"], dependencies: [{ kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1$1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: EluxIcon, selector: "lib-elux-icon", inputs: ["color", "useSubscription", "icon", "description", "size", "height", "width", "sizeType"] }, { kind: "pipe", type: i1.UpperCasePipe, name: "uppercase" }] }); }
|
|
2479
2644
|
}
|
|
2480
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2645
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxCardProduct, decorators: [{
|
|
2481
2646
|
type: Component,
|
|
2482
2647
|
args: [{ imports: [RouterModule, CommonModule, EluxIcon], selector: 'lib-elux-card-product', template: "<div class=\"position-relative\">\n <a [routerLink]=\"link\" class=\"product-card\" [class.product-card--vertical]=\"orientation === 'vertical'\">\n <div class=\"div-image mr-2\" *ngIf=\"!!image\">\n <div class=\"connected-product\" *ngIf=\"connectedProduct\">\n <lib-elux-icon icon=\"Logo_small.svg\" color=\"#FFF\" size=\"12\"></lib-elux-icon>\n </div>\n <img [src]=\"image\" [alt]=\"imageAlt\" class=\"image\" />\n </div>\n <div class=\"content\">\n <div class=\"d-flex align-items-center gap\">\n <span class=\"product-code\">{{ model | uppercase }}</span>\n <span class=\"incomplete-register-tag\" *ngIf=\"incompleteRegister\">\n Registro incompleto\n </span>\n </div>\n <span class=\"product-name\">{{ capitalizeDescription() }}</span>\n <span class=\"voltage-tag\" *ngIf=\"!!voltage\"> {{ voltage }} </span>\n </div>\n </a>\n\n <lib-elux-icon\n *ngIf=\"removeIcon\"\n class=\"close-icon\"\n icon=\"Close.svg\"\n tabindex=\"0\"\n color=\"#011E41\"\n size=\"18\"\n sizeType=\"px\"\n (keyup.enter)=\"removeProduct()\"\n (click)=\"removeProduct()\"\n ></lib-elux-icon>\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{padding:16px;border:solid 1px #DEE7EA;border-radius:4px;display:flex;flex-direction:row;text-decoration:none;background-color:#fff;box-shadow:0 4px 18px #0000001f}.product-card:focus-visible{outline:none;border-color:transparent}.product-card:focus{box-shadow:0 0 0 2px #16a748;outline:none;border-color:transparent}.product-card .div-image{width:64px;flex-shrink:0;margin-right:8px;overflow:hidden;display:flex;align-items:center;justify-content:center}.product-card .div-image .connected-product{background-color:#011e41;position:absolute;width:22px;height:22px;border-radius:6px;display:flex;justify-content:center;align-items:center;left:16px;bottom:16px}.product-card .div-image .connected-product ::ng-deep lib-elux-icon{display:flex!important}.product-card .div-image .image{width:100%;height:100%;object-fit:contain}.product-card .content{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.product-card .content .gap{gap:6px}.product-card .content .product-code{font-size:14px;font-weight:400;display:block;color:#515253}.product-card .content .product-name{font-size:16px;font-weight:400;line-height:19px;display:block;color:#03183f;white-space:break-spaces}.product-card .content .incomplete-register-tag{font-size:10px;line-height:10px;padding:2px 8px;border-radius:14px;background-color:#d01935;color:#fff;height:16px}.product-card .content .voltage-tag{font-size:12px;line-height:14px;font-weight:600;color:#fff;height:20px;padding:2px 8px;border-radius:4px;background-color:#3d5275}.product-card--vertical{flex-direction:column;height:280px;justify-content:space-between;box-shadow:none}.product-card--vertical .div-image{width:100%;height:130px;margin-right:0}.product-card--vertical .div-image .connected-product{bottom:unset;top:16px}.product-card--vertical .content{width:100%}.close-icon{cursor:pointer;position:absolute;top:8px;right:10px}\n"] }]
|
|
2483
2648
|
}], propDecorators: { orientation: [{
|
|
@@ -2521,10 +2686,10 @@ class EluxCardProduct2 {
|
|
|
2521
2686
|
onRedirectClick(event) {
|
|
2522
2687
|
this.redirectClick.emit(event);
|
|
2523
2688
|
}
|
|
2524
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2525
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
2689
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxCardProduct2, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2690
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.28", 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: "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"] }, { kind: "pipe", type: i1.TitleCasePipe, name: "titlecase" }] }); }
|
|
2526
2691
|
}
|
|
2527
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2692
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxCardProduct2, decorators: [{
|
|
2528
2693
|
type: Component,
|
|
2529
2694
|
args: [{ selector: 'lib-elux-card-product-2', 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
2695
|
}], propDecorators: { productCode: [{
|
|
@@ -2554,10 +2719,10 @@ class EluxCardArticle {
|
|
|
2554
2719
|
return '';
|
|
2555
2720
|
return title.length > this.BREAK_VALUE ? `${title.substring(0, this.BREAK_VALUE)}...` : title;
|
|
2556
2721
|
}
|
|
2557
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2558
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
2722
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxCardArticle, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2723
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.28", type: EluxCardArticle, isStandalone: true, selector: "lib-elux-card-article", inputs: { title: "title", routerLink: "routerLink", image: "image", imageAlt: "imageAlt" }, ngImport: i0, template: "<a [routerLink]=\"routerLink\" class=\"card-article\">\n <div class=\"card-article__image-wrapper\">\n <img [src]=\"image\" [alt]=\"imageAlt\" class=\"card-article__image\" />\n </div>\n <div class=\"card-article__content\">\n <span class=\"card-article__title\">{{ truncateTitle(title) }}</span>\n <span class=\"card-article__link\">\n <lib-elux-icon [icon]=\"'Link.svg'\" size=\"18\"/>\n Acessar\n </span>\n </div>\n</a>", 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}}.card-article{display:flex;flex-direction:column;background-color:#d7dad5;border-radius:4px;overflow:hidden;text-decoration:none;transition:transform .3s ease,box-shadow .3s ease;height:100%;width:100%;min-width:160px;max-width:330px}.card-article:hover{transform:translateY(-4px);box-shadow:0 4px 12px #0000001a}.card-article__image-wrapper{width:100%;height:120px;overflow:hidden}.card-article__image{width:100%;height:100%;object-fit:cover;display:block}.card-article__content{height:150px;padding:24px;display:flex;flex-direction:column;justify-content:space-between}.card-article__title{color:#2b3227;font-size:16px;font-weight:600;line-height:19px}.card-article__link{display:inline-flex;align-items:center;gap:6px;color:#2b3227;font-size:14px;font-weight:500;text-decoration:underline;cursor:pointer}@media(min-width:992px){.card-article{width:100%;min-width:210px;max-width:350px}.card-article__image-wrapper{width:100%;height:200px;overflow:hidden}.card-article__title{font-size:20px;font-weight:600;line-height:24px}}\n"], dependencies: [{ kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1$1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: CommonModule }, { kind: "component", type: EluxIcon, selector: "lib-elux-icon", inputs: ["color", "useSubscription", "icon", "description", "size", "height", "width", "sizeType"] }] }); }
|
|
2559
2724
|
}
|
|
2560
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2725
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxCardArticle, decorators: [{
|
|
2561
2726
|
type: Component,
|
|
2562
2727
|
args: [{ imports: [RouterModule, CommonModule, EluxIcon], selector: 'lib-elux-card-article', template: "<a [routerLink]=\"routerLink\" class=\"card-article\">\n <div class=\"card-article__image-wrapper\">\n <img [src]=\"image\" [alt]=\"imageAlt\" class=\"card-article__image\" />\n </div>\n <div class=\"card-article__content\">\n <span class=\"card-article__title\">{{ truncateTitle(title) }}</span>\n <span class=\"card-article__link\">\n <lib-elux-icon [icon]=\"'Link.svg'\" size=\"18\"/>\n Acessar\n </span>\n </div>\n</a>", 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}}.card-article{display:flex;flex-direction:column;background-color:#d7dad5;border-radius:4px;overflow:hidden;text-decoration:none;transition:transform .3s ease,box-shadow .3s ease;height:100%;width:100%;min-width:160px;max-width:330px}.card-article:hover{transform:translateY(-4px);box-shadow:0 4px 12px #0000001a}.card-article__image-wrapper{width:100%;height:120px;overflow:hidden}.card-article__image{width:100%;height:100%;object-fit:cover;display:block}.card-article__content{height:150px;padding:24px;display:flex;flex-direction:column;justify-content:space-between}.card-article__title{color:#2b3227;font-size:16px;font-weight:600;line-height:19px}.card-article__link{display:inline-flex;align-items:center;gap:6px;color:#2b3227;font-size:14px;font-weight:500;text-decoration:underline;cursor:pointer}@media(min-width:992px){.card-article{width:100%;min-width:210px;max-width:350px}.card-article__image-wrapper{width:100%;height:200px;overflow:hidden}.card-article__title{font-size:20px;font-weight:600;line-height:24px}}\n"] }]
|
|
2563
2728
|
}], propDecorators: { title: [{
|
|
@@ -2644,10 +2809,10 @@ class EluxCardBenefit {
|
|
|
2644
2809
|
this.copiedTimeoutId = null;
|
|
2645
2810
|
}, 2000);
|
|
2646
2811
|
}
|
|
2647
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2648
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
2812
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxCardBenefit, deps: [{ token: i1$2.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2813
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.28", type: EluxCardBenefit, isStandalone: true, selector: "lib-elux-card-benefit", inputs: { title: "title", image: "image", imageAlt: "imageAlt", icon: "icon", description: "description", link: "link", routerLink: "routerLink", buttonText: "buttonText", showInfoIcon: "showInfoIcon", cupomCode: "cupomCode" }, outputs: { infoClick: "infoClick" }, ngImport: i0, template: "<ng-container *ngIf=\"routerLink; else externalCard\">\n <a class=\"card-benefit\" [routerLink]=\"routerLink\">\n <ng-container *ngTemplateOutlet=\"cardBenefitContent\"></ng-container>\n </a>\n</ng-container>\n\n<ng-template #externalCard>\n <a\n class=\"card-benefit\"\n [attr.href]=\"link || null\"\n [attr.target]=\"link ? '_blank' : null\"\n [attr.rel]=\"link ? 'noopener noreferrer' : null\"\n >\n <ng-container *ngTemplateOutlet=\"cardBenefitContent\"></ng-container>\n </a>\n</ng-template>\n\n<ng-template #cardBenefitContent>\n <div class=\"card-benefit__image-wrapper\">\n <img [src]=\"image\" [alt]=\"imageAlt\" class=\"card-benefit__image\" width=\"370\" height=\"250\" />\n <button\n *ngIf=\"showInfoIcon\"\n type=\"button\"\n class=\"card-benefit__info-button\"\n aria-label=\"Mostrar informa\u00E7\u00F5es legais\"\n (click)=\"onInfoClick($event)\"\n >\n <img src=\"assets/icons/Info.svg\" alt=\"Info\" class=\"card-benefit__info-icon\" />\n </button>\n </div>\n <div class=\"card-benefit__content\">\n <div class=\"d-flex flex-column\">\n <img\n *ngIf=\"icon\"\n [src]=\"icon\"\n loading=\"lazy\"\n width=\"24px\"\n height=\"24px\"\n class=\"card-benefit__icon\"\n />\n <span class=\"card-benefit__title\">{{ truncateTitle(title) }}</span>\n </div>\n <div\n *ngIf=\"descriptionHtml\"\n class=\"card-benefit__description\"\n [innerHTML]=\"descriptionHtml\"\n ></div>\n <div *ngIf=\"cupomCode\" class=\"card-benefit__coupon\">\n <span class=\"card-benefit__coupon-text\">\n C\u00F3digo do cupom:\n <span *ngIf=\"!couponCopied; else copiedFeedback\" class=\"card-benefit__coupon-code\">\n {{ cupomCode }}\n </span>\n </span>\n <button\n type=\"button\"\n class=\"card-benefit__coupon-copy\"\n aria-label=\"Copiar c\u00F3digo do cupom\"\n (click)=\"copyCouponCode($event)\"\n >\n <img src=\"assets/icons/Copy.svg\" alt=\"Copiar\" class=\"card-benefit__coupon-copy-icon\" />\n </button>\n <ng-template #copiedFeedback>\n <span class=\"card-benefit__coupon-feedback\" aria-live=\"polite\">Copiado!</span>\n </ng-template>\n </div>\n </div>\n <lib-elux-button\n *ngIf=\"buttonText\"\n class=\"card-bebenfit__button\"\n [content]=\"buttonText\"\n [type]=\"'basic-dark'\"\n />\n</ng-template>\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}}.card-benefit{display:flex;flex-direction:column;background-color:#312e3c;overflow:hidden;text-decoration:none;transition:transform .3s ease,box-shadow .3s ease;padding:16px;height:100%;width:100%;min-width:300px;max-width:370px}.card-benefit:hover{transform:translateY(-4px);box-shadow:0 4px 12px #0000001a}.card-benefit__image-wrapper{position:relative;width:100%;height:200px;overflow:hidden;margin-bottom:24px}.card-benefit__image{width:100%;height:100%;object-fit:cover;display:block}.card-benefit__info-button{position:absolute;left:12px;bottom:12px;width:32px;height:32px;border:none;border-radius:50%;background-color:#00000080;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0}.card-benefit__info-icon{width:16px;height:16px;display:block;filter:brightness(0) invert(1)}.card-benefit__content{display:flex;flex-grow:1;flex-direction:column;gap:16px;margin-bottom:16px}.card-benefit__icon{align-self:flex-start;margin-bottom:8px}.card-benefit__title{color:#fff;font-size:18px;font-weight:600;line-height:22px}.card-benefit__description{color:#fff;font-size:14px;font-weight:400;line-height:21px}.card-benefit__coupon{display:inline-flex;align-items:center;gap:8px;color:#fff}.card-benefit__coupon-text{font-size:14px;line-height:18px}.card-benefit__coupon-code{font-size:14px;font-weight:600;line-height:18px}.card-benefit__coupon-copy{border:none;background:transparent;padding:0;width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.card-benefit__coupon-copy-icon{width:16px;height:16px;display:block;filter:brightness(0) invert(1)}.card-benefit__coupon-feedback{font-size:14px;font-weight:600;line-height:18px;color:#d8f3dc;animation:coupon-feedback-in .2s ease}.card-benefit__button,.card-benefit .card-bebenfit__button{align-self:flex-start}.card-benefit__link{display:inline-flex;align-items:center;gap:6px;color:#2b3227;font-size:14px;font-weight:500;text-decoration:underline;cursor:pointer}@media(min-width:992px){.card-benefit{width:100%;min-width:300px;max-width:370px}.card-benefit__image-wrapper{width:100%;height:250px;overflow:hidden}}@keyframes coupon-feedback-in{0%{opacity:0;transform:translateY(2px)}to{opacity:1;transform:translateY(0)}}\n"], dependencies: [{ kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1$1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: EluxButton, selector: "lib-elux-button", inputs: ["disabled", "type", "typeButton", "content", "done", "routerLink", "link", "size", "icon", "iconAlign", "externalLink", "loading", "onlyfirstLetterUpper", "rounded"], outputs: ["onClick"] }] }); }
|
|
2649
2814
|
}
|
|
2650
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2815
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxCardBenefit, decorators: [{
|
|
2651
2816
|
type: Component,
|
|
2652
2817
|
args: [{ imports: [RouterModule, CommonModule, EluxButton], selector: 'lib-elux-card-benefit', template: "<ng-container *ngIf=\"routerLink; else externalCard\">\n <a class=\"card-benefit\" [routerLink]=\"routerLink\">\n <ng-container *ngTemplateOutlet=\"cardBenefitContent\"></ng-container>\n </a>\n</ng-container>\n\n<ng-template #externalCard>\n <a\n class=\"card-benefit\"\n [attr.href]=\"link || null\"\n [attr.target]=\"link ? '_blank' : null\"\n [attr.rel]=\"link ? 'noopener noreferrer' : null\"\n >\n <ng-container *ngTemplateOutlet=\"cardBenefitContent\"></ng-container>\n </a>\n</ng-template>\n\n<ng-template #cardBenefitContent>\n <div class=\"card-benefit__image-wrapper\">\n <img [src]=\"image\" [alt]=\"imageAlt\" class=\"card-benefit__image\" width=\"370\" height=\"250\" />\n <button\n *ngIf=\"showInfoIcon\"\n type=\"button\"\n class=\"card-benefit__info-button\"\n aria-label=\"Mostrar informa\u00E7\u00F5es legais\"\n (click)=\"onInfoClick($event)\"\n >\n <img src=\"assets/icons/Info.svg\" alt=\"Info\" class=\"card-benefit__info-icon\" />\n </button>\n </div>\n <div class=\"card-benefit__content\">\n <div class=\"d-flex flex-column\">\n <img\n *ngIf=\"icon\"\n [src]=\"icon\"\n loading=\"lazy\"\n width=\"24px\"\n height=\"24px\"\n class=\"card-benefit__icon\"\n />\n <span class=\"card-benefit__title\">{{ truncateTitle(title) }}</span>\n </div>\n <div\n *ngIf=\"descriptionHtml\"\n class=\"card-benefit__description\"\n [innerHTML]=\"descriptionHtml\"\n ></div>\n <div *ngIf=\"cupomCode\" class=\"card-benefit__coupon\">\n <span class=\"card-benefit__coupon-text\">\n C\u00F3digo do cupom:\n <span *ngIf=\"!couponCopied; else copiedFeedback\" class=\"card-benefit__coupon-code\">\n {{ cupomCode }}\n </span>\n </span>\n <button\n type=\"button\"\n class=\"card-benefit__coupon-copy\"\n aria-label=\"Copiar c\u00F3digo do cupom\"\n (click)=\"copyCouponCode($event)\"\n >\n <img src=\"assets/icons/Copy.svg\" alt=\"Copiar\" class=\"card-benefit__coupon-copy-icon\" />\n </button>\n <ng-template #copiedFeedback>\n <span class=\"card-benefit__coupon-feedback\" aria-live=\"polite\">Copiado!</span>\n </ng-template>\n </div>\n </div>\n <lib-elux-button\n *ngIf=\"buttonText\"\n class=\"card-bebenfit__button\"\n [content]=\"buttonText\"\n [type]=\"'basic-dark'\"\n />\n</ng-template>\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}}.card-benefit{display:flex;flex-direction:column;background-color:#312e3c;overflow:hidden;text-decoration:none;transition:transform .3s ease,box-shadow .3s ease;padding:16px;height:100%;width:100%;min-width:300px;max-width:370px}.card-benefit:hover{transform:translateY(-4px);box-shadow:0 4px 12px #0000001a}.card-benefit__image-wrapper{position:relative;width:100%;height:200px;overflow:hidden;margin-bottom:24px}.card-benefit__image{width:100%;height:100%;object-fit:cover;display:block}.card-benefit__info-button{position:absolute;left:12px;bottom:12px;width:32px;height:32px;border:none;border-radius:50%;background-color:#00000080;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0}.card-benefit__info-icon{width:16px;height:16px;display:block;filter:brightness(0) invert(1)}.card-benefit__content{display:flex;flex-grow:1;flex-direction:column;gap:16px;margin-bottom:16px}.card-benefit__icon{align-self:flex-start;margin-bottom:8px}.card-benefit__title{color:#fff;font-size:18px;font-weight:600;line-height:22px}.card-benefit__description{color:#fff;font-size:14px;font-weight:400;line-height:21px}.card-benefit__coupon{display:inline-flex;align-items:center;gap:8px;color:#fff}.card-benefit__coupon-text{font-size:14px;line-height:18px}.card-benefit__coupon-code{font-size:14px;font-weight:600;line-height:18px}.card-benefit__coupon-copy{border:none;background:transparent;padding:0;width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.card-benefit__coupon-copy-icon{width:16px;height:16px;display:block;filter:brightness(0) invert(1)}.card-benefit__coupon-feedback{font-size:14px;font-weight:600;line-height:18px;color:#d8f3dc;animation:coupon-feedback-in .2s ease}.card-benefit__button,.card-benefit .card-bebenfit__button{align-self:flex-start}.card-benefit__link{display:inline-flex;align-items:center;gap:6px;color:#2b3227;font-size:14px;font-weight:500;text-decoration:underline;cursor:pointer}@media(min-width:992px){.card-benefit{width:100%;min-width:300px;max-width:370px}.card-benefit__image-wrapper{width:100%;height:250px;overflow:hidden}}@keyframes coupon-feedback-in{0%{opacity:0;transform:translateY(2px)}to{opacity:1;transform:translateY(0)}}\n"] }]
|
|
2653
2818
|
}], ctorParameters: () => [{ type: i1$2.DomSanitizer }], propDecorators: { title: [{
|
|
@@ -2701,10 +2866,10 @@ class EluxCardServiceOrder {
|
|
|
2701
2866
|
const luminance = 0.299 * r + 0.587 * g + 0.114 * b;
|
|
2702
2867
|
return luminance > 186 ? blackColor : whiteColor;
|
|
2703
2868
|
}
|
|
2704
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2705
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
2869
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxCardServiceOrder, deps: [{ token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2870
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.28", type: EluxCardServiceOrder, isStandalone: true, selector: "lib-elux-card-service-order", inputs: { type: "type", routerLink: "routerLink", date: "date", productName: "productName", productImageUrl: "productImageUrl", statusName: "statusName", statusColor: "statusColor" }, ngImport: i0, template: "<div class=\"card-container\">\n <div class=\"card-section\">\n <div class=\"d-flex flex-column justify-content-center pr-2\">\n <img #image class=\"card-image\" [src]=\"productImageUrl\" [alt]=\"productName\" (error)=\"image.src = ''\" />\n </div>\n\n <div class=\"d-flex flex-column justify-content-center\">\n <div class=\"d-flex flex-column card-description\">\n <span>{{ type }}</span>\n <h4>{{ productName }}</h4>\n <div class=\"d-flex flex-row mt-2\" *ngIf=\"!!date\">\n <lib-elux-icon \n icon=\"Calendar.svg\" \n color=\"#515253\"\n size=\"16\" \n sizeType=\"px\" />\n <p class=\"ms-1 mb-0\">{{ date }}</p>\n </div>\n </div>\n <div class=\"d-flex w-100 mt-3\">\n <div class=\"card-status\" [style.background-color]=\"statusColor\" [style.color]=\"getContrastTextColor(statusColor)\">\n <p>{{ statusName }}</p>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"w-100 mt-auto\">\n <hr>\n </div>\n\n <div class=\"card-section\">\n <div class=\"card-link\" (click)=\"navigateToDetail()\">\n <a class=\"d-flex\">\n <span>Acessar detalhes</span>\n <lib-elux-icon \n icon=\"Chevron_Right.svg\" \n color=\"#011E41\"\n size=\"24\" \n sizeType=\"px\" />\n </a>\n </div>\n </div>\n</div>", 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}}.card-container{display:flex;flex-direction:column;align-items:flex-start;height:100%;padding:16px;gap:16px;background:#fff;box-sizing:border-box;box-shadow:4px 4px 8px #0000001a;border:1px solid #DEE7EA;border-radius:4px}.card-container .card-section{display:flex;flex-direction:row;width:100%}.card-container .card-image{width:64px;height:64px;-webkit-user-select:none;user-select:none;-ms-user-select:none;background-color:#fff}.card-container .card-image[src=\"\"]{visibility:hidden}.card-container .card-description span{font-family:Electrolux Sans;font-style:normal;font-weight:400;font-size:14px;line-height:17px;color:#515253}.card-container .card-description h4{font-family:Electrolux Sans;font-style:normal;font-weight:600;font-size:14px;line-height:17px;color:#011e41;margin-top:4px;margin-bottom:0}.card-container .card-status{display:flex;flex-direction:row;align-items:center;justify-content:center;padding:3px 8px;background-color:#ffd726;border-radius:16px}.card-container .card-status p{font-family:Electrolux Sans;font-style:normal;font-weight:400;font-size:14px;line-height:16px;margin:0}.card-container .card-link{display:block;margin-left:auto;-webkit-user-select:none;user-select:none;-ms-user-select:none}.card-container .card-link a{font-family:Electrolux Sans;font-style:normal;font-weight:600;font-size:16px;line-height:28px;color:#011e41;text-decoration:none}.card-container .card-link a:visited{text-decoration:none}.card-container .card-link a:hover{text-decoration:none;cursor:pointer}.card-container hr{margin:8px 0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: RouterModule }, { kind: "component", type: EluxIcon, selector: "lib-elux-icon", inputs: ["color", "useSubscription", "icon", "description", "size", "height", "width", "sizeType"] }] }); }
|
|
2706
2871
|
}
|
|
2707
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2872
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxCardServiceOrder, decorators: [{
|
|
2708
2873
|
type: Component,
|
|
2709
2874
|
args: [{ imports: [CommonModule, RouterModule, EluxIcon], selector: 'lib-elux-card-service-order', template: "<div class=\"card-container\">\n <div class=\"card-section\">\n <div class=\"d-flex flex-column justify-content-center pr-2\">\n <img #image class=\"card-image\" [src]=\"productImageUrl\" [alt]=\"productName\" (error)=\"image.src = ''\" />\n </div>\n\n <div class=\"d-flex flex-column justify-content-center\">\n <div class=\"d-flex flex-column card-description\">\n <span>{{ type }}</span>\n <h4>{{ productName }}</h4>\n <div class=\"d-flex flex-row mt-2\" *ngIf=\"!!date\">\n <lib-elux-icon \n icon=\"Calendar.svg\" \n color=\"#515253\"\n size=\"16\" \n sizeType=\"px\" />\n <p class=\"ms-1 mb-0\">{{ date }}</p>\n </div>\n </div>\n <div class=\"d-flex w-100 mt-3\">\n <div class=\"card-status\" [style.background-color]=\"statusColor\" [style.color]=\"getContrastTextColor(statusColor)\">\n <p>{{ statusName }}</p>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"w-100 mt-auto\">\n <hr>\n </div>\n\n <div class=\"card-section\">\n <div class=\"card-link\" (click)=\"navigateToDetail()\">\n <a class=\"d-flex\">\n <span>Acessar detalhes</span>\n <lib-elux-icon \n icon=\"Chevron_Right.svg\" \n color=\"#011E41\"\n size=\"24\" \n sizeType=\"px\" />\n </a>\n </div>\n </div>\n</div>", 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}}.card-container{display:flex;flex-direction:column;align-items:flex-start;height:100%;padding:16px;gap:16px;background:#fff;box-sizing:border-box;box-shadow:4px 4px 8px #0000001a;border:1px solid #DEE7EA;border-radius:4px}.card-container .card-section{display:flex;flex-direction:row;width:100%}.card-container .card-image{width:64px;height:64px;-webkit-user-select:none;user-select:none;-ms-user-select:none;background-color:#fff}.card-container .card-image[src=\"\"]{visibility:hidden}.card-container .card-description span{font-family:Electrolux Sans;font-style:normal;font-weight:400;font-size:14px;line-height:17px;color:#515253}.card-container .card-description h4{font-family:Electrolux Sans;font-style:normal;font-weight:600;font-size:14px;line-height:17px;color:#011e41;margin-top:4px;margin-bottom:0}.card-container .card-status{display:flex;flex-direction:row;align-items:center;justify-content:center;padding:3px 8px;background-color:#ffd726;border-radius:16px}.card-container .card-status p{font-family:Electrolux Sans;font-style:normal;font-weight:400;font-size:14px;line-height:16px;margin:0}.card-container .card-link{display:block;margin-left:auto;-webkit-user-select:none;user-select:none;-ms-user-select:none}.card-container .card-link a{font-family:Electrolux Sans;font-style:normal;font-weight:600;font-size:16px;line-height:28px;color:#011e41;text-decoration:none}.card-container .card-link a:visited{text-decoration:none}.card-container .card-link a:hover{text-decoration:none;cursor:pointer}.card-container hr{margin:8px 0}\n"] }]
|
|
2710
2875
|
}], ctorParameters: () => [{ type: i1$1.Router }], propDecorators: { type: [{
|
|
@@ -2737,10 +2902,10 @@ class EluxCardManual {
|
|
|
2737
2902
|
urlClick() {
|
|
2738
2903
|
this.urlClickEvent.emit();
|
|
2739
2904
|
}
|
|
2740
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2741
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
2905
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxCardManual, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2906
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.28", type: EluxCardManual, isStandalone: true, selector: "lib-elux-card-manual", inputs: { url: "url", text: "text" }, outputs: { urlClickEvent: "urlClickEvent" }, ngImport: i0, template: "<div class=\"elux-manual-link\">\n <div class=\"content\">\n <lib-elux-icon [color]=\"'#BB8C48'\" [icon]=\"'Document.svg'\" [size]=\"'24'\" />\n <span class=\"text\">{{ text || 'Arquivo para download' }}</span>\n </div>\n <a class=\"action\" target=\"_blank\" [href]=\"url\" (click)=\"urlClick()\">\n <lib-elux-button class=\"violet-button\" [content]=\"'Abrir'\" [type]=\"'basic'\" [rounded]=\"true\"></lib-elux-button>\n </a>\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}}.elux-manual-link{display:flex;flex-direction:column;align-items:center;justify-content:space-between;transition:transform .3s ease,box-shadow .3s ease;padding:16px 16px 10px;border:1px solid;background:#fff;border-color:#eaebed;border-radius:8px;width:160px;height:120px}.elux-manual-link:hover{transform:translateY(-4px);box-shadow:0 4px 12px #0000001a}.elux-manual-link .content{display:flex;flex-direction:row;justify-content:space-between;gap:12px;text-align:left}.elux-manual-link .text{font-size:16px;line-height:20px;font-weight:600;color:#011e41}.elux-manual-link .action{display:flex;justify-content:center;text-decoration:none;width:100%}.elux-manual-link .action .violet-button{width:100%}.elux-manual-link .action .violet-button ::ng-deep .elux-button{height:34px;background-color:#797487}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: EluxButton, selector: "lib-elux-button", inputs: ["disabled", "type", "typeButton", "content", "done", "routerLink", "link", "size", "icon", "iconAlign", "externalLink", "loading", "onlyfirstLetterUpper", "rounded"], outputs: ["onClick"] }, { kind: "component", type: EluxIcon, selector: "lib-elux-icon", inputs: ["color", "useSubscription", "icon", "description", "size", "height", "width", "sizeType"] }] }); }
|
|
2742
2907
|
}
|
|
2743
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2908
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxCardManual, decorators: [{
|
|
2744
2909
|
type: Component,
|
|
2745
2910
|
args: [{ imports: [CommonModule, EluxButton, EluxIcon], selector: 'lib-elux-card-manual', template: "<div class=\"elux-manual-link\">\n <div class=\"content\">\n <lib-elux-icon [color]=\"'#BB8C48'\" [icon]=\"'Document.svg'\" [size]=\"'24'\" />\n <span class=\"text\">{{ text || 'Arquivo para download' }}</span>\n </div>\n <a class=\"action\" target=\"_blank\" [href]=\"url\" (click)=\"urlClick()\">\n <lib-elux-button class=\"violet-button\" [content]=\"'Abrir'\" [type]=\"'basic'\" [rounded]=\"true\"></lib-elux-button>\n </a>\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}}.elux-manual-link{display:flex;flex-direction:column;align-items:center;justify-content:space-between;transition:transform .3s ease,box-shadow .3s ease;padding:16px 16px 10px;border:1px solid;background:#fff;border-color:#eaebed;border-radius:8px;width:160px;height:120px}.elux-manual-link:hover{transform:translateY(-4px);box-shadow:0 4px 12px #0000001a}.elux-manual-link .content{display:flex;flex-direction:row;justify-content:space-between;gap:12px;text-align:left}.elux-manual-link .text{font-size:16px;line-height:20px;font-weight:600;color:#011e41}.elux-manual-link .action{display:flex;justify-content:center;text-decoration:none;width:100%}.elux-manual-link .action .violet-button{width:100%}.elux-manual-link .action .violet-button ::ng-deep .elux-button{height:34px;background-color:#797487}\n"] }]
|
|
2746
2911
|
}], propDecorators: { url: [{
|
|
@@ -2797,10 +2962,10 @@ class EluxCardRoutine {
|
|
|
2797
2962
|
}
|
|
2798
2963
|
return totalMonths;
|
|
2799
2964
|
}
|
|
2800
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2801
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
2965
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxCardRoutine, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2966
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.28", type: EluxCardRoutine, isStandalone: true, selector: "elux-card-routine", inputs: { image: "image", routerLink: "routerLink", title: "title", nextExecutionDate: "nextExecutionDate", lastExecutionDate: "lastExecutionDate", activationDate: "activationDate", frequencyInMonths: "frequencyInMonths" }, ngImport: i0, template: "<a [routerLink]=\"routerLink\">\n <div class=\"elux-card-routine\">\n <div class=\"d-flex align-items-center\">\n <img class=\"image\" [src]=\"image\" alt=\"Product Image\" />\n </div>\n <div class=\"content\">\n <div>\n <span class=\"tag\" [style.background-color]=\"getReminderStatusColor()\">\n {{ getReminderStatus() }}\n </span>\n </div>\n <span class=\"title\">{{ title }}</span>\n <span class=\"caption\">\n Pr\u00F3xima: <strong>{{ formatDate(nextExecutionDate) }}</strong>\n </span>\n </div>\n </div>\n</a>\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}}a{text-decoration:none}.elux-card-routine{height:100%;background-color:#fff;border:solid 1px #dee7ea;border-radius:2px;display:flex;flex-direction:row;padding:8px;gap:8px;box-shadow:4px 4px 15px #0000001a}.elux-card-routine .image{width:64px;height:64px}.elux-card-routine .content{display:flex;flex-direction:column;justify-content:center;gap:8px}.elux-card-routine .content .tag{padding:2px 8px;border-radius:16px;font-size:12px;line-height:15px;font-weight:400;font-style:normal;color:#fff}.elux-card-routine .content .title{color:#011e41;font-size:16px;font-style:normal;font-weight:600;line-height:normal}.elux-card-routine .content .caption{color:#515253;font-size:14px;font-size:normal;font-weight:400;line-height:21px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1$1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }] }); }
|
|
2802
2967
|
}
|
|
2803
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2968
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxCardRoutine, decorators: [{
|
|
2804
2969
|
type: Component,
|
|
2805
2970
|
args: [{ imports: [CommonModule, RouterModule], selector: 'elux-card-routine', template: "<a [routerLink]=\"routerLink\">\n <div class=\"elux-card-routine\">\n <div class=\"d-flex align-items-center\">\n <img class=\"image\" [src]=\"image\" alt=\"Product Image\" />\n </div>\n <div class=\"content\">\n <div>\n <span class=\"tag\" [style.background-color]=\"getReminderStatusColor()\">\n {{ getReminderStatus() }}\n </span>\n </div>\n <span class=\"title\">{{ title }}</span>\n <span class=\"caption\">\n Pr\u00F3xima: <strong>{{ formatDate(nextExecutionDate) }}</strong>\n </span>\n </div>\n </div>\n</a>\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}}a{text-decoration:none}.elux-card-routine{height:100%;background-color:#fff;border:solid 1px #dee7ea;border-radius:2px;display:flex;flex-direction:row;padding:8px;gap:8px;box-shadow:4px 4px 15px #0000001a}.elux-card-routine .image{width:64px;height:64px}.elux-card-routine .content{display:flex;flex-direction:column;justify-content:center;gap:8px}.elux-card-routine .content .tag{padding:2px 8px;border-radius:16px;font-size:12px;line-height:15px;font-weight:400;font-style:normal;color:#fff}.elux-card-routine .content .title{color:#011e41;font-size:16px;font-style:normal;font-weight:600;line-height:normal}.elux-card-routine .content .caption{color:#515253;font-size:14px;font-size:normal;font-weight:400;line-height:21px}\n"] }]
|
|
2806
2971
|
}], propDecorators: { image: [{
|
|
@@ -3350,10 +3515,10 @@ class EluxCarouselBleedComponent {
|
|
|
3350
3515
|
this.updateTransform();
|
|
3351
3516
|
this.scrollActiveDotIntoView(0);
|
|
3352
3517
|
}
|
|
3353
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3354
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
3518
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxCarouselBleedComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3519
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.28", type: EluxCarouselBleedComponent, isStandalone: true, selector: "lib-elux-carousel-bleed", inputs: { itemWidth: "itemWidth", gap: "gap", title: "title", theme: "theme" }, outputs: { previousClickEventEmitter: "previousClickEventEmitter", nextClickEventEmitter: "nextClickEventEmitter", dotClickEventEmitter: "dotClickEventEmitter" }, queries: [{ propertyName: "items", predicate: ["carouselItem"], read: ElementRef }], viewQueries: [{ propertyName: "slidesContainer", first: true, predicate: ["slidesContainer"], descendants: true }, { propertyName: "bleedShell", first: true, predicate: ["bleedShell"], descendants: true }, { propertyName: "dotsContainer", first: true, predicate: ["dotsContainer"], descendants: true }], ngImport: i0, template: "<div\n class=\"c-carousel-fixed-shell\"\n [class.theme-1]=\"theme === 'theme1'\"\n [class.theme-2]=\"theme === 'theme2'\"\n #bleedShell\n>\n <ng-template #prevNav>\n <button\n class=\"c-carousel-fixed-nav\"\n [class.prev]=\"true\"\n [disabled]=\"!canGoPrevious()\"\n title=\"P\u00E1gina anterior\"\n aria-label=\"P\u00E1gina anterior\"\n (click)=\"prevPage()\"\n >\n <lib-elux-icon\n [icon]=\"'Chevron_Left.svg'\"\n [size]=\"'16'\"\n [sizeType]=\"'px'\"\n [color]=\"'#020F2E'\"\n ></lib-elux-icon>\n </button>\n </ng-template>\n\n <ng-template #nextNav>\n <button\n class=\"c-carousel-fixed-nav\"\n [class.next]=\"true\"\n [disabled]=\"!canGoNext()\"\n title=\"Pr\u00F3xima p\u00E1gina\"\n aria-label=\"Pr\u00F3xima p\u00E1gina\"\n (click)=\"nextPage()\"\n >\n <lib-elux-icon\n [icon]=\"'Chevron_Right.svg'\"\n [size]=\"'16'\"\n [sizeType]=\"'px'\"\n [color]=\"'#020F2E'\"\n ></lib-elux-icon>\n </button>\n </ng-template>\n\n <div *ngIf=\"title\" class=\"c-carousel-fixed-header\">\n <div class=\"c-carousel-fixed-header-inner\">\n <div class=\"c-carousel-fixed-title\">\n {{ title }}\n </div>\n <div class=\"c-carousel-fixed-controls\" *ngIf=\"getDotsArray().length > 1\">\n <ng-container\n *ngTemplateOutlet=\"prevNav\"\n ></ng-container>\n\n <ng-container\n *ngTemplateOutlet=\"nextNav\"\n ></ng-container>\n </div>\n </div>\n </div>\n\n <div class=\"c-carousel-fixed-container\">\n <div\n class=\"c-carousel-fixed-slides\"\n #slidesContainer\n [style.transform]=\"'translateX(' + translateX + 'px)'\"\n (pointerdown)=\"onPointerDown($event)\"\n (pointermove)=\"onPointerMove($event)\"\n (pointerup)=\"onPointerUp($event)\"\n (pointercancel)=\"onPointerCancel($event)\"\n >\n <ng-content></ng-content>\n </div>\n </div>\n\n <div class=\"c-carousel-fixed-footer\" *ngIf=\"getDotsArray().length > 1\">\n <div class=\"c-carousel-fixed-controls\">\n <ng-container *ngIf=\"title == ''\">\n <ng-container\n *ngTemplateOutlet=\"prevNav\"\n ></ng-container>\n </ng-container>\n\n <div class=\"c-carousel-fixed-dots\" #dotsContainer>\n <ng-container *ngFor=\"let dot of getDotsArray(); let idx = index\">\n <span\n class=\"c-carousel-fixed-dot\"\n [class.active]=\"idx === getCurrentDotIndex()\"\n (click)=\"goToDot(idx)\"\n >\n </span>\n </ng-container>\n </div>\n\n <ng-container *ngIf=\"title == ''\">\n <ng-container\n *ngTemplateOutlet=\"nextNav\"\n ></ng-container>\n </ng-container>\n </div>\n </div>\n</div>\n", styles: [".c-carousel-fixed-shell{position:relative;--carousel-nav-inactive-bg: #DCE3E7;--carousel-nav-active-bg: #D6DEE3;--carousel-dot-active: #3D5275;--carousel-dot-inactive: #6F7F99}.c-carousel-fixed-shell.theme-2{--carousel-nav-inactive-bg: #F0F1F2;--carousel-nav-active-bg: #E9EBED;--carousel-dot-active: #6A6A6A;--carousel-dot-inactive: #8D8D8D}.c-carousel-fixed-controls{display:flex;align-items:center;gap:12px;min-width:0}.c-carousel-fixed-nav{background:none;border:none;cursor:pointer;width:24px;height:24px;padding:0;border-radius:50%;background-color:var(--carousel-nav-active-bg);transition:all ease-in-out .2s;z-index:2;display:inline-flex;align-items:center;justify-content:center}.c-carousel-fixed-nav:hover:not(:disabled){transform:scale(1.2)}.c-carousel-fixed-nav:disabled{opacity:1;background-color:var(--carousel-nav-inactive-bg);cursor:not-allowed}.c-carousel-fixed-nav:disabled ::ng-deep span{opacity:.3}.c-carousel-fixed-nav:disabled:hover{transform:none}.c-carousel-fixed-nav ::ng-deep span{display:block}.c-carousel-fixed-header{margin-bottom:32px}@media(min-width:992px){.c-carousel-fixed-header{margin-bottom:40px}}.c-carousel-fixed-header .c-carousel-fixed-header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px}.c-carousel-fixed-header .c-carousel-fixed-header-inner .c-carousel-fixed-title{font-size:20px;font-weight:600;line-height:24px;color:#011e41}@media(min-width:992px){.c-carousel-fixed-header .c-carousel-fixed-header-inner .c-carousel-fixed-title{font-size:32px;line-height:35px}}.c-carousel-fixed-container{overflow-x:hidden;width:calc(100vw - var(--scrollbar-width, 0px));margin-left:calc(-1 * var(--left-offset, 0px));padding-left:var(--left-offset, 0px)}.c-carousel-fixed-slides{display:flex;transition:transform .5s ease-out;touch-action:pan-y;cursor:default;will-change:transform}:host ::ng-deep .c-carousel-fixed-item{cursor:grab}:host ::ng-deep .c-carousel-fixed-item:active{cursor:grabbing}.c-carousel-fixed-footer{display:flex;justify-content:center;margin-top:32px}@media(min-width:992px){.c-carousel-fixed-footer{margin-top:40px}}.c-carousel-fixed-footer .c-carousel-fixed-dots{display:flex;align-items:center;gap:8px;margin:0 8px;min-width:0;white-space:nowrap;position:relative;scroll-behavior:smooth}.c-carousel-fixed-footer .c-carousel-fixed-dots .c-carousel-fixed-dot{width:7px;height:7px;border-radius:50%;background:var(--carousel-dot-inactive);transition:background .3s;cursor:pointer;display:inline-block;flex-shrink:0}.c-carousel-fixed-footer .c-carousel-fixed-dots .c-carousel-fixed-dot.active{width:10px;height:10px;background:var(--carousel-dot-active)}@media(max-width:768px){.c-carousel-fixed-footer .c-carousel-fixed-dots{margin:0 12px;max-width:100px;overflow:hidden}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: EluxIcon, selector: "lib-elux-icon", inputs: ["color", "useSubscription", "icon", "description", "size", "height", "width", "sizeType"] }] }); }
|
|
3355
3520
|
}
|
|
3356
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3521
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxCarouselBleedComponent, decorators: [{
|
|
3357
3522
|
type: Component,
|
|
3358
3523
|
args: [{ selector: 'lib-elux-carousel-bleed', imports: [CommonModule, EluxIcon], template: "<div\n class=\"c-carousel-fixed-shell\"\n [class.theme-1]=\"theme === 'theme1'\"\n [class.theme-2]=\"theme === 'theme2'\"\n #bleedShell\n>\n <ng-template #prevNav>\n <button\n class=\"c-carousel-fixed-nav\"\n [class.prev]=\"true\"\n [disabled]=\"!canGoPrevious()\"\n title=\"P\u00E1gina anterior\"\n aria-label=\"P\u00E1gina anterior\"\n (click)=\"prevPage()\"\n >\n <lib-elux-icon\n [icon]=\"'Chevron_Left.svg'\"\n [size]=\"'16'\"\n [sizeType]=\"'px'\"\n [color]=\"'#020F2E'\"\n ></lib-elux-icon>\n </button>\n </ng-template>\n\n <ng-template #nextNav>\n <button\n class=\"c-carousel-fixed-nav\"\n [class.next]=\"true\"\n [disabled]=\"!canGoNext()\"\n title=\"Pr\u00F3xima p\u00E1gina\"\n aria-label=\"Pr\u00F3xima p\u00E1gina\"\n (click)=\"nextPage()\"\n >\n <lib-elux-icon\n [icon]=\"'Chevron_Right.svg'\"\n [size]=\"'16'\"\n [sizeType]=\"'px'\"\n [color]=\"'#020F2E'\"\n ></lib-elux-icon>\n </button>\n </ng-template>\n\n <div *ngIf=\"title\" class=\"c-carousel-fixed-header\">\n <div class=\"c-carousel-fixed-header-inner\">\n <div class=\"c-carousel-fixed-title\">\n {{ title }}\n </div>\n <div class=\"c-carousel-fixed-controls\" *ngIf=\"getDotsArray().length > 1\">\n <ng-container\n *ngTemplateOutlet=\"prevNav\"\n ></ng-container>\n\n <ng-container\n *ngTemplateOutlet=\"nextNav\"\n ></ng-container>\n </div>\n </div>\n </div>\n\n <div class=\"c-carousel-fixed-container\">\n <div\n class=\"c-carousel-fixed-slides\"\n #slidesContainer\n [style.transform]=\"'translateX(' + translateX + 'px)'\"\n (pointerdown)=\"onPointerDown($event)\"\n (pointermove)=\"onPointerMove($event)\"\n (pointerup)=\"onPointerUp($event)\"\n (pointercancel)=\"onPointerCancel($event)\"\n >\n <ng-content></ng-content>\n </div>\n </div>\n\n <div class=\"c-carousel-fixed-footer\" *ngIf=\"getDotsArray().length > 1\">\n <div class=\"c-carousel-fixed-controls\">\n <ng-container *ngIf=\"title == ''\">\n <ng-container\n *ngTemplateOutlet=\"prevNav\"\n ></ng-container>\n </ng-container>\n\n <div class=\"c-carousel-fixed-dots\" #dotsContainer>\n <ng-container *ngFor=\"let dot of getDotsArray(); let idx = index\">\n <span\n class=\"c-carousel-fixed-dot\"\n [class.active]=\"idx === getCurrentDotIndex()\"\n (click)=\"goToDot(idx)\"\n >\n </span>\n </ng-container>\n </div>\n\n <ng-container *ngIf=\"title == ''\">\n <ng-container\n *ngTemplateOutlet=\"nextNav\"\n ></ng-container>\n </ng-container>\n </div>\n </div>\n</div>\n", styles: [".c-carousel-fixed-shell{position:relative;--carousel-nav-inactive-bg: #DCE3E7;--carousel-nav-active-bg: #D6DEE3;--carousel-dot-active: #3D5275;--carousel-dot-inactive: #6F7F99}.c-carousel-fixed-shell.theme-2{--carousel-nav-inactive-bg: #F0F1F2;--carousel-nav-active-bg: #E9EBED;--carousel-dot-active: #6A6A6A;--carousel-dot-inactive: #8D8D8D}.c-carousel-fixed-controls{display:flex;align-items:center;gap:12px;min-width:0}.c-carousel-fixed-nav{background:none;border:none;cursor:pointer;width:24px;height:24px;padding:0;border-radius:50%;background-color:var(--carousel-nav-active-bg);transition:all ease-in-out .2s;z-index:2;display:inline-flex;align-items:center;justify-content:center}.c-carousel-fixed-nav:hover:not(:disabled){transform:scale(1.2)}.c-carousel-fixed-nav:disabled{opacity:1;background-color:var(--carousel-nav-inactive-bg);cursor:not-allowed}.c-carousel-fixed-nav:disabled ::ng-deep span{opacity:.3}.c-carousel-fixed-nav:disabled:hover{transform:none}.c-carousel-fixed-nav ::ng-deep span{display:block}.c-carousel-fixed-header{margin-bottom:32px}@media(min-width:992px){.c-carousel-fixed-header{margin-bottom:40px}}.c-carousel-fixed-header .c-carousel-fixed-header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px}.c-carousel-fixed-header .c-carousel-fixed-header-inner .c-carousel-fixed-title{font-size:20px;font-weight:600;line-height:24px;color:#011e41}@media(min-width:992px){.c-carousel-fixed-header .c-carousel-fixed-header-inner .c-carousel-fixed-title{font-size:32px;line-height:35px}}.c-carousel-fixed-container{overflow-x:hidden;width:calc(100vw - var(--scrollbar-width, 0px));margin-left:calc(-1 * var(--left-offset, 0px));padding-left:var(--left-offset, 0px)}.c-carousel-fixed-slides{display:flex;transition:transform .5s ease-out;touch-action:pan-y;cursor:default;will-change:transform}:host ::ng-deep .c-carousel-fixed-item{cursor:grab}:host ::ng-deep .c-carousel-fixed-item:active{cursor:grabbing}.c-carousel-fixed-footer{display:flex;justify-content:center;margin-top:32px}@media(min-width:992px){.c-carousel-fixed-footer{margin-top:40px}}.c-carousel-fixed-footer .c-carousel-fixed-dots{display:flex;align-items:center;gap:8px;margin:0 8px;min-width:0;white-space:nowrap;position:relative;scroll-behavior:smooth}.c-carousel-fixed-footer .c-carousel-fixed-dots .c-carousel-fixed-dot{width:7px;height:7px;border-radius:50%;background:var(--carousel-dot-inactive);transition:background .3s;cursor:pointer;display:inline-block;flex-shrink:0}.c-carousel-fixed-footer .c-carousel-fixed-dots .c-carousel-fixed-dot.active{width:10px;height:10px;background:var(--carousel-dot-active)}@media(max-width:768px){.c-carousel-fixed-footer .c-carousel-fixed-dots{margin:0 12px;max-width:100px;overflow:hidden}}\n"] }]
|
|
3359
3524
|
}], ctorParameters: () => [{ type: i0.Renderer2 }], propDecorators: { items: [{
|
|
@@ -3493,10 +3658,10 @@ class EluxToDoList {
|
|
|
3493
3658
|
this.scheduleProgressUpdate();
|
|
3494
3659
|
}
|
|
3495
3660
|
ecommerceItem(product) { }
|
|
3496
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3497
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
3661
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxToDoList, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3662
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.28", type: EluxToDoList, isStandalone: true, selector: "lib-elux-to-do-list", inputs: { items: "items" }, host: { listeners: { "window:scroll": "onWindowScroll()", "window:wheel": "onWindowWheel()", "window:touchmove": "onWindowTouchMove()", "window:keydown": "onWindowKeydown($event)", "window:resize": "onWindowResize()" } }, viewQueries: [{ propertyName: "contentWrappers", predicate: ["contentWrapper"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"container\">\n @for (item of items; track item.order; let itemIndex = $index) {\n <div class=\"list__item\" [class.list__item--final]=\"item.variant === 'final'\">\n <div class=\"list__header\">\n @if (item.variant === 'final') {\n <span\n class=\"list__final-icon\"\n [class.list__final-icon--active]=\"isFinalIconActive(itemIndex)\"\n >\n <lib-elux-icon [icon]=\"'Check.svg'\" [height]=\"'16'\" [color]=\"'#fff'\" />\n </span>\n } @else {\n <span class=\"list__number\" [class.list__number--active]=\"isStepActive(itemIndex)\">\n {{ item.order }}\n </span>\n }\n <span class=\"list__item-title\">{{ item.title }}</span>\n </div>\n <div\n #contentWrapper\n class=\"list__content-wrapper\"\n [class.list__content-wrapper--no-line]=\"item.variant === 'final'\"\n >\n @if (item.variant !== 'final') {\n <span class=\"list__line\" [style.--line-progress]=\"getLineProgress(itemIndex)\"></span>\n }\n <div class=\"list__content\">\n @if (item.image) {\n <img [src]=\"item.image\" [alt]=\"item.title\" class=\"list__image\" />\n }\n <div class=\"list__text\" [innerHTML]=\"item.description\"></div>\n @if (item.hint) {\n <div class=\"list__hint mt-3\">\n <lib-elux-icon\n [icon]=\"'Info.svg'\"\n [height]=\"'21'\"\n [width]=\"'21'\"\n [color]=\"'#715C01'\"\n />\n <span [innerHTML]=\"item.hint\"></span>\n </div>\n }\n @if (item.relatedItemsCTA && item.relatedItems?.length) {\n <div class=\"mt-3\">\n <span class=\"body mt-3\" style=\"color: #111\">{{ item.relatedItemsCTA }}</span>\n @for (relatedProduct of item.relatedItems; track relatedProduct.model) {\n <a\n [href]=\"relatedProduct.url\"\n target=\"_blank\"\n class=\"d-flex flex-row ecommerce-item mt-3\"\n (click)=\"ecommerceItem(relatedProduct)\"\n >\n <div>\n <img\n width=\"64px\"\n height=\"64px\"\n [src]=\"relatedProduct.image\"\n [alt]=\"relatedProduct.name\"\n />\n </div>\n <div class=\"d-flex flex-column justify-content-center ml-3\">\n <span class=\"body\">{{ relatedProduct.name }}</span>\n </div>\n </a>\n }\n </div>\n }\n </div>\n </div>\n </div>\n }\n</div>\n", styles: [".container{--list-progress-color: #16a748}.list__number{width:24px;min-width:24px;height:24px;flex:0 0 24px;border-radius:50%;background-color:#adb9c3;color:#011e41;display:flex;align-items:center;justify-content:center;font-size:16px;font-style:normal;font-weight:600;line-height:20px;transition:background-color .18s ease,color .18s ease}.list__number--active{background-color:var(--list-progress-color);color:#fff}.list__image{width:100%;max-width:350px;height:auto;display:block;border-radius:8px;object-fit:cover;margin-bottom:16px}.list__final-icon{width:24px;height:24px;border-radius:50%;background-color:#011e41;display:flex;justify-content:center}.list__final-icon lib-elux-icon{display:flex;align-items:center}.list__final-icon--active{background-color:var(--list-progress-color)}.list__item-title{color:#011e41;font-size:16px;font-style:normal;font-weight:600;line-height:20px}.list__text{color:#515253;font-size:16px;font-style:normal;font-weight:400;line-height:21px}.list__hint{color:#262626;font-size:16px;font-style:normal;font-weight:400;line-height:21px}.list__item{margin-bottom:24px;max-width:700px}.list__header{display:flex;align-items:center;gap:16px;margin-bottom:16px}.list__content-wrapper{display:flex;gap:28px;padding-left:12px}.list__content-wrapper--no-line{padding-left:40px}.list__line{--line-progress: 0%;position:relative;width:2px;flex:0 0 2px}.list__line:before,.list__line:after{content:\"\";position:absolute;top:0;left:50%;transform:translate(-50%);border-radius:999px}.list__line:before{width:1px;height:100%;background-color:#cfd8e0}.list__line:after{width:2px;height:var(--line-progress);background-color:var(--list-progress-color)}.list__content{width:100%}.list__hint{background-color:#fff7d6;color:#715c01;padding:16px;display:flex;align-items:flex-start;gap:16px}.ecommerce-item,.ecommerce-item:hover{text-decoration:none;color:inherit}@media(max-width:991px){.ecommerce-item .body{max-width:200px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}.feedback{background-color:#eaebed;border-radius:4px}::ng-deep .list__text ul{padding-inline-start:30px!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: EluxIcon, selector: "lib-elux-icon", inputs: ["color", "useSubscription", "icon", "description", "size", "height", "width", "sizeType"] }] }); }
|
|
3498
3663
|
}
|
|
3499
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3664
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: EluxToDoList, decorators: [{
|
|
3500
3665
|
type: Component,
|
|
3501
3666
|
args: [{ selector: 'lib-elux-to-do-list', imports: [CommonModule, EluxIcon], template: "<div class=\"container\">\n @for (item of items; track item.order; let itemIndex = $index) {\n <div class=\"list__item\" [class.list__item--final]=\"item.variant === 'final'\">\n <div class=\"list__header\">\n @if (item.variant === 'final') {\n <span\n class=\"list__final-icon\"\n [class.list__final-icon--active]=\"isFinalIconActive(itemIndex)\"\n >\n <lib-elux-icon [icon]=\"'Check.svg'\" [height]=\"'16'\" [color]=\"'#fff'\" />\n </span>\n } @else {\n <span class=\"list__number\" [class.list__number--active]=\"isStepActive(itemIndex)\">\n {{ item.order }}\n </span>\n }\n <span class=\"list__item-title\">{{ item.title }}</span>\n </div>\n <div\n #contentWrapper\n class=\"list__content-wrapper\"\n [class.list__content-wrapper--no-line]=\"item.variant === 'final'\"\n >\n @if (item.variant !== 'final') {\n <span class=\"list__line\" [style.--line-progress]=\"getLineProgress(itemIndex)\"></span>\n }\n <div class=\"list__content\">\n @if (item.image) {\n <img [src]=\"item.image\" [alt]=\"item.title\" class=\"list__image\" />\n }\n <div class=\"list__text\" [innerHTML]=\"item.description\"></div>\n @if (item.hint) {\n <div class=\"list__hint mt-3\">\n <lib-elux-icon\n [icon]=\"'Info.svg'\"\n [height]=\"'21'\"\n [width]=\"'21'\"\n [color]=\"'#715C01'\"\n />\n <span [innerHTML]=\"item.hint\"></span>\n </div>\n }\n @if (item.relatedItemsCTA && item.relatedItems?.length) {\n <div class=\"mt-3\">\n <span class=\"body mt-3\" style=\"color: #111\">{{ item.relatedItemsCTA }}</span>\n @for (relatedProduct of item.relatedItems; track relatedProduct.model) {\n <a\n [href]=\"relatedProduct.url\"\n target=\"_blank\"\n class=\"d-flex flex-row ecommerce-item mt-3\"\n (click)=\"ecommerceItem(relatedProduct)\"\n >\n <div>\n <img\n width=\"64px\"\n height=\"64px\"\n [src]=\"relatedProduct.image\"\n [alt]=\"relatedProduct.name\"\n />\n </div>\n <div class=\"d-flex flex-column justify-content-center ml-3\">\n <span class=\"body\">{{ relatedProduct.name }}</span>\n </div>\n </a>\n }\n </div>\n }\n </div>\n </div>\n </div>\n }\n</div>\n", styles: [".container{--list-progress-color: #16a748}.list__number{width:24px;min-width:24px;height:24px;flex:0 0 24px;border-radius:50%;background-color:#adb9c3;color:#011e41;display:flex;align-items:center;justify-content:center;font-size:16px;font-style:normal;font-weight:600;line-height:20px;transition:background-color .18s ease,color .18s ease}.list__number--active{background-color:var(--list-progress-color);color:#fff}.list__image{width:100%;max-width:350px;height:auto;display:block;border-radius:8px;object-fit:cover;margin-bottom:16px}.list__final-icon{width:24px;height:24px;border-radius:50%;background-color:#011e41;display:flex;justify-content:center}.list__final-icon lib-elux-icon{display:flex;align-items:center}.list__final-icon--active{background-color:var(--list-progress-color)}.list__item-title{color:#011e41;font-size:16px;font-style:normal;font-weight:600;line-height:20px}.list__text{color:#515253;font-size:16px;font-style:normal;font-weight:400;line-height:21px}.list__hint{color:#262626;font-size:16px;font-style:normal;font-weight:400;line-height:21px}.list__item{margin-bottom:24px;max-width:700px}.list__header{display:flex;align-items:center;gap:16px;margin-bottom:16px}.list__content-wrapper{display:flex;gap:28px;padding-left:12px}.list__content-wrapper--no-line{padding-left:40px}.list__line{--line-progress: 0%;position:relative;width:2px;flex:0 0 2px}.list__line:before,.list__line:after{content:\"\";position:absolute;top:0;left:50%;transform:translate(-50%);border-radius:999px}.list__line:before{width:1px;height:100%;background-color:#cfd8e0}.list__line:after{width:2px;height:var(--line-progress);background-color:var(--list-progress-color)}.list__content{width:100%}.list__hint{background-color:#fff7d6;color:#715c01;padding:16px;display:flex;align-items:flex-start;gap:16px}.ecommerce-item,.ecommerce-item:hover{text-decoration:none;color:inherit}@media(max-width:991px){.ecommerce-item .body{max-width:200px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}.feedback{background-color:#eaebed;border-radius:4px}::ng-deep .list__text ul{padding-inline-start:30px!important}\n"] }]
|
|
3502
3667
|
}], propDecorators: { contentWrappers: [{
|
|
@@ -3540,14 +3705,15 @@ const ElectroluxComponents = [
|
|
|
3540
3705
|
EluxCarouselComponent,
|
|
3541
3706
|
EluxSwitch,
|
|
3542
3707
|
EluxChip,
|
|
3708
|
+
EluxPopover,
|
|
3543
3709
|
];
|
|
3544
3710
|
|
|
3545
3711
|
class ElectroluxDesignSystemModule {
|
|
3546
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3547
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
3548
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
3712
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: ElectroluxDesignSystemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3713
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.28", ngImport: i0, type: ElectroluxDesignSystemModule, imports: [CommonModule, EluxBreadcrumb, EluxButton, EluxDatepicker, EluxDropdown, EluxIcon, EluxPaginator, EluxStepBar, EluxToast, EluxDataTable, EluxAccordion, EluxModal, EluxInputSearchComponent, EluxInputSearchModalComponent, EluxLoading, EluxDropdownMultiple, EluxCarouselComponent, EluxSwitch, EluxChip, EluxPopover], exports: [EluxBreadcrumb, EluxButton, EluxDatepicker, EluxDropdown, EluxIcon, EluxPaginator, EluxStepBar, EluxToast, EluxDataTable, EluxAccordion, EluxModal, EluxInputSearchComponent, EluxInputSearchModalComponent, EluxLoading, EluxDropdownMultiple, EluxCarouselComponent, EluxSwitch, EluxChip, EluxPopover] }); }
|
|
3714
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: ElectroluxDesignSystemModule, imports: [CommonModule, EluxBreadcrumb, EluxButton, EluxDatepicker, EluxDropdown, EluxIcon, EluxPaginator, EluxStepBar, EluxToast, EluxDataTable, EluxAccordion, EluxModal, EluxInputSearchComponent, EluxInputSearchModalComponent, EluxLoading, EluxDropdownMultiple, EluxCarouselComponent, EluxChip, EluxPopover] }); }
|
|
3549
3715
|
}
|
|
3550
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3716
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: ElectroluxDesignSystemModule, decorators: [{
|
|
3551
3717
|
type: NgModule,
|
|
3552
3718
|
args: [{
|
|
3553
3719
|
imports: [CommonModule, ...ElectroluxComponents],
|
|
@@ -3559,5 +3725,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
3559
3725
|
* Generated bundle index. Do not edit.
|
|
3560
3726
|
*/
|
|
3561
3727
|
|
|
3562
|
-
export { ElectroluxComponents, ElectroluxDesignSystemModule, EluxAccordion, EluxArrowLink, EluxBreadcrumb, EluxButton, EluxCard1, EluxCard2, EluxCard3, EluxCard4, EluxCardArticle, EluxCardBenefit, EluxCardManual, EluxCardProduct, EluxCardProduct2, EluxCardRoutine, EluxCardServiceOrder, EluxCarouselBleedComponent, EluxCarouselComponent, EluxCarouselFixedComponent, EluxChip, EluxDataTable, EluxDatepicker, EluxDropdown, EluxDropdownMultiple, EluxIcon, EluxInputSearchComponent, EluxInputSearchModalComponent, EluxLoading, EluxLoading2, EluxModal, EluxPaginator, EluxStepBar, EluxSwitch, EluxToDoList, EluxToast, ToasterService };
|
|
3728
|
+
export { ElectroluxComponents, ElectroluxDesignSystemModule, EluxAccordion, EluxArrowLink, EluxBreadcrumb, EluxButton, EluxCard1, EluxCard2, EluxCard3, EluxCard4, EluxCardArticle, EluxCardBenefit, EluxCardManual, EluxCardProduct, EluxCardProduct2, EluxCardRoutine, EluxCardServiceOrder, EluxCarouselBleedComponent, EluxCarouselComponent, EluxCarouselFixedComponent, EluxChip, EluxDataTable, EluxDatepicker, EluxDropdown, EluxDropdownMultiple, EluxIcon, EluxInputSearchComponent, EluxInputSearchModalComponent, EluxLoading, EluxLoading2, EluxModal, EluxPaginator, EluxPopover, EluxStepBar, EluxSwitch, EluxToDoList, EluxToast, ToasterService };
|
|
3563
3729
|
//# sourceMappingURL=elxjs-ui.mjs.map
|