@jooler/jooler-websites-shared 0.0.136 → 0.0.137
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/esm2020/lib/call-to-action-section/call-to-action-section.component.mjs +8 -4
- package/fesm2015/jooler-websites-shared.mjs +6 -3
- package/fesm2015/jooler-websites-shared.mjs.map +1 -1
- package/fesm2020/jooler-websites-shared.mjs +6 -3
- package/fesm2020/jooler-websites-shared.mjs.map +1 -1
- package/lib/call-to-action-section/call-to-action-section.component.d.ts +3 -2
- package/package.json +1 -1
|
@@ -300,6 +300,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
300
300
|
class CallToActionSectionComponent {
|
|
301
301
|
constructor(_Router) {
|
|
302
302
|
this._Router = _Router;
|
|
303
|
+
this.titleOnRightSide = true;
|
|
303
304
|
}
|
|
304
305
|
ngOnInit() {
|
|
305
306
|
}
|
|
@@ -308,11 +309,13 @@ class CallToActionSectionComponent {
|
|
|
308
309
|
}
|
|
309
310
|
}
|
|
310
311
|
CallToActionSectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CallToActionSectionComponent, deps: [{ token: i1.Router }], target: i0.ɵɵFactoryTarget.Component });
|
|
311
|
-
CallToActionSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CallToActionSectionComponent, selector: "call-to-action-section", inputs: {
|
|
312
|
+
CallToActionSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: CallToActionSectionComponent, selector: "call-to-action-section", inputs: { sectionContent: "sectionContent", titleOnRightSide: "titleOnRightSide" }, ngImport: i0, template: "<div class=\"page\">\n <div class=\"cta-box\" [ngClass]=\"{'title-right-side':titleOnRightSide,'title-left-side':!titleOnRightSide}\">\n <div class=\"heading-side\">\n <section-title [sectionTitle]=\"{title:sectionContent.title, subtitle:sectionContent.subtitle,isWithoutDivider:true,alignLeft:true}\"></section-title>\n </div>\n <div class=\"cta-side\">\n <div class=\"box\">\n <div class=\"description\">\n {{sectionContent.description}}\n </div>\n <div class=\"button\">\n <button type=\"button\" mat-raised-button (click)=\"onClickGetStarted(sectionContent.button.route)\">{{sectionContent.button.name}}</button>\n </div>\n </div>\n </div>\n </div>\n</div>", styles: ["@import\"~@angular/material/prebuilt-themes/indigo-pink.css\";@import\"https://fonts.googleapis.com/icon?family=Material+Icons\";@import\"~@ng-select/ng-select/themes/material.theme.css\";@import\"~primeng/resources/themes/saga-blue/theme.css\";@import\"~primeng/resources/primeng.min.css\";@import\"~primeicons/primeicons.css\";@import\"~ag-grid-community/styles/ag-grid.css\";@import\"~ag-grid-community/styles/ag-theme-material.css\";html{font-size:62.5%;scroll-behavior:smooth}@media only screen and (max-width: 112.5em){html{font-size:56.25%}}@media only screen and (max-width: 75em){html{font-size:56.25%}}@media only screen and (max-width: 56.25em){html{font-size:50%}}@media only screen and (min-width: 112.5em){html{font-size:75%}}app-root{font-family:sans-serif;font-size:1.6rem}input{font-size:1.2rem;padding:.5rem}input:focus{outline:none}.page{display:grid;margin:7rem auto;width:90%}@media only screen and (min-width: 1500px){.page{width:150rem}}.page .title-right-side{flex-direction:row-reverse}.page .title-left-side{flex-direction:row}.page .cta-box{width:100%;display:flex;column-gap:2%;border-radius:1.5rem;position:relative;box-shadow:.2rem .2rem .4rem #00000040;background-color:#f7f8f9;padding:3rem}.page .cta-box .left-bg{width:2rem;position:absolute;top:10%;left:0}.page .cta-box .right-bg{width:15rem;top:0;right:0;position:absolute}.page .cta-box .heading-side{display:grid;color:#fff;width:63%}.page .cta-box .cta-side{display:grid;padding:1rem;height:100%;width:35%;align-items:center;padding:2rem 0}.page .cta-box .cta-side .box{background:#155ED4;align-self:center;width:100%;padding:1.5rem;border-radius:1rem;color:#fff;box-shadow:#64646f33 0 .7rem 2.9rem}.page .cta-box .cta-side .box .description{font-weight:400;font-size:1.6rem;margin-bottom:1rem}.page .cta-box .cta-side .box .button{margin-top:2rem}.page .cta-box .cta-side .box .button button{padding:1rem;font-size:1.4rem;font-weight:400;font-family:inherit;color:#155ed4;background-color:#f7f8f9}@media only screen and (max-width: 56.25em){.page .cta-box{flex-direction:column;row-gap:2rem}.page .cta-box .cta-side{width:90%}.page .cta-box .heading-side{width:100%}}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i3$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: SectionTitleComponent, selector: "section-title", inputs: ["sectionTitle"] }] });
|
|
312
313
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CallToActionSectionComponent, decorators: [{
|
|
313
314
|
type: Component,
|
|
314
|
-
args: [{ selector: 'call-to-action-section', template: "<div class=\"page\">\n <div class=\"cta-box\"
|
|
315
|
-
}], ctorParameters: function () { return [{ type: i1.Router }]; }, propDecorators: {
|
|
315
|
+
args: [{ selector: 'call-to-action-section', template: "<div class=\"page\">\n <div class=\"cta-box\" [ngClass]=\"{'title-right-side':titleOnRightSide,'title-left-side':!titleOnRightSide}\">\n <div class=\"heading-side\">\n <section-title [sectionTitle]=\"{title:sectionContent.title, subtitle:sectionContent.subtitle,isWithoutDivider:true,alignLeft:true}\"></section-title>\n </div>\n <div class=\"cta-side\">\n <div class=\"box\">\n <div class=\"description\">\n {{sectionContent.description}}\n </div>\n <div class=\"button\">\n <button type=\"button\" mat-raised-button (click)=\"onClickGetStarted(sectionContent.button.route)\">{{sectionContent.button.name}}</button>\n </div>\n </div>\n </div>\n </div>\n</div>", styles: ["@import\"~@angular/material/prebuilt-themes/indigo-pink.css\";@import\"https://fonts.googleapis.com/icon?family=Material+Icons\";@import\"~@ng-select/ng-select/themes/material.theme.css\";@import\"~primeng/resources/themes/saga-blue/theme.css\";@import\"~primeng/resources/primeng.min.css\";@import\"~primeicons/primeicons.css\";@import\"~ag-grid-community/styles/ag-grid.css\";@import\"~ag-grid-community/styles/ag-theme-material.css\";html{font-size:62.5%;scroll-behavior:smooth}@media only screen and (max-width: 112.5em){html{font-size:56.25%}}@media only screen and (max-width: 75em){html{font-size:56.25%}}@media only screen and (max-width: 56.25em){html{font-size:50%}}@media only screen and (min-width: 112.5em){html{font-size:75%}}app-root{font-family:sans-serif;font-size:1.6rem}input{font-size:1.2rem;padding:.5rem}input:focus{outline:none}.page{display:grid;margin:7rem auto;width:90%}@media only screen and (min-width: 1500px){.page{width:150rem}}.page .title-right-side{flex-direction:row-reverse}.page .title-left-side{flex-direction:row}.page .cta-box{width:100%;display:flex;column-gap:2%;border-radius:1.5rem;position:relative;box-shadow:.2rem .2rem .4rem #00000040;background-color:#f7f8f9;padding:3rem}.page .cta-box .left-bg{width:2rem;position:absolute;top:10%;left:0}.page .cta-box .right-bg{width:15rem;top:0;right:0;position:absolute}.page .cta-box .heading-side{display:grid;color:#fff;width:63%}.page .cta-box .cta-side{display:grid;padding:1rem;height:100%;width:35%;align-items:center;padding:2rem 0}.page .cta-box .cta-side .box{background:#155ED4;align-self:center;width:100%;padding:1.5rem;border-radius:1rem;color:#fff;box-shadow:#64646f33 0 .7rem 2.9rem}.page .cta-box .cta-side .box .description{font-weight:400;font-size:1.6rem;margin-bottom:1rem}.page .cta-box .cta-side .box .button{margin-top:2rem}.page .cta-box .cta-side .box .button button{padding:1rem;font-size:1.4rem;font-weight:400;font-family:inherit;color:#155ed4;background-color:#f7f8f9}@media only screen and (max-width: 56.25em){.page .cta-box{flex-direction:column;row-gap:2rem}.page .cta-box .cta-side{width:90%}.page .cta-box .heading-side{width:100%}}\n"] }]
|
|
316
|
+
}], ctorParameters: function () { return [{ type: i1.Router }]; }, propDecorators: { sectionContent: [{
|
|
317
|
+
type: Input
|
|
318
|
+
}], titleOnRightSide: [{
|
|
316
319
|
type: Input
|
|
317
320
|
}] } });
|
|
318
321
|
|