@posiwise/public-modules 0.0.121 → 0.0.127
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/index.mjs +5 -1
- package/esm2022/lib/components/trial4-contact-us/trial4-contact-us.component.mjs +512 -0
- package/esm2022/lib/components/trial4-contact-us/trial4-contact-us.module.mjs +86 -0
- package/esm2022/lib/error-status-pages.module.mjs +2 -2
- package/esm2022/lib/incidents-status/incidents-status.component.mjs +1 -1
- package/esm2022/lib/landing-page-shared.module.mjs +2 -2
- package/esm2022/lib/landing-pages/hiring/careers-contact-us/careers-contact-us.component.mjs +1 -1
- package/esm2022/lib/landing-pages/landing-page/sections/landing-page-contact/landing-page-contact.component.mjs +1 -1
- package/esm2022/lib/landing-pages/landing-page/sections-b/landing-page-contact-b/landing-page-contact-b.component.mjs +1 -1
- package/esm2022/lib/resource-meetings/resource-meetings.component.mjs +1 -1
- package/esm2022/lib/shared/resource-modal.interface.mjs +2 -0
- package/fesm2022/posiwise-public-modules.mjs +570 -8
- package/fesm2022/posiwise-public-modules.mjs.map +1 -1
- package/index.d.ts +3 -0
- package/lib/components/trial4-contact-us/trial4-contact-us.component.d.ts +126 -0
- package/lib/components/trial4-contact-us/trial4-contact-us.module.d.ts +32 -0
- package/lib/error-status-pages.module.d.ts +1 -1
- package/lib/landing-page-shared.module.d.ts +1 -1
- package/lib/shared/resource-modal.interface.d.ts +6 -0
- package/package.json +1 -1
|
@@ -8,16 +8,18 @@ import { CoreTranslocoModule } from '@posiwise/core-transloco';
|
|
|
8
8
|
import * as i2 from '@posiwise/directives';
|
|
9
9
|
import { DirectivesModule } from '@posiwise/directives';
|
|
10
10
|
import * as i3$1 from '@posiwise/shared-components';
|
|
11
|
-
import {
|
|
11
|
+
import { SharedComponentsModule, DemoCardsModule } from '@posiwise/shared-components';
|
|
12
12
|
import * as i6 from 'ngx-captcha';
|
|
13
13
|
import { NgxCaptchaModule } from 'ngx-captcha';
|
|
14
14
|
import * as i4 from 'ngx-pagination';
|
|
15
15
|
import { NgxPaginationModule } from 'ngx-pagination';
|
|
16
16
|
import * as i5 from '@ng-bootstrap/ng-bootstrap';
|
|
17
|
-
import { NgbNavModule } from '@ng-bootstrap/ng-bootstrap';
|
|
17
|
+
import { NgbNavModule, NgbModalModule, NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap';
|
|
18
18
|
import * as i2$2 from '@angular/router';
|
|
19
19
|
import { RouterModule } from '@angular/router';
|
|
20
20
|
import { PipesModule } from '@posiwise/pipes';
|
|
21
|
+
import * as i6$1 from '@posiwise/utils';
|
|
22
|
+
import { FieldErrorDisplayModule, ResourceHeaderModule, ProfileImageCropperModule } from '@posiwise/utils';
|
|
21
23
|
import * as i1 from '@posiwise/common-services';
|
|
22
24
|
import { FormHelperService, ValidationService, CustomToastService, MainApiHttpService } from '@posiwise/common-services';
|
|
23
25
|
import { AB_TEST_ACTIONS, COUNTRIES_CODE, MICRO_SERVICE } from '@posiwise/common-utilities';
|
|
@@ -26,9 +28,15 @@ import swal from 'sweetalert2';
|
|
|
26
28
|
import { HelperService } from '@posiwise/helper-service';
|
|
27
29
|
import * as i2$3 from '@posiwise/smart-crm-shared';
|
|
28
30
|
import { CHAT_MENU, ENTERPRISE_MENU, FAQ_Menu } from '@posiwise/dashboard-module';
|
|
29
|
-
import * as i6$1 from '@posiwise/resource-module';
|
|
30
|
-
import { ResourceHeaderModule } from '@posiwise/resource-module';
|
|
31
31
|
import * as i2$4 from '@angular/platform-browser';
|
|
32
|
+
import * as i9 from '@angular/cdk/drag-drop';
|
|
33
|
+
import { moveItemInArray, DragDropModule } from '@angular/cdk/drag-drop';
|
|
34
|
+
import * as i5$1 from '@posiwise/admin-module-utils';
|
|
35
|
+
import { AdminModuleUtilsModule } from '@posiwise/admin-module-utils';
|
|
36
|
+
import * as i12 from 'primeng/dropdown';
|
|
37
|
+
import { DropdownModule } from 'primeng/dropdown';
|
|
38
|
+
import { StatusCodes } from 'http-status-codes';
|
|
39
|
+
import * as i14 from '@jsverse/transloco';
|
|
32
40
|
|
|
33
41
|
class AbTestContainerComponent {
|
|
34
42
|
constructor(service) {
|
|
@@ -237,7 +245,7 @@ class LandingPageContactComponent extends AppBaseComponent {
|
|
|
237
245
|
}
|
|
238
246
|
}
|
|
239
247
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: LandingPageContactComponent, deps: [{ token: i1.CommonService }, { token: i2$1.UntypedFormBuilder }, { token: i1.AuthService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
240
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: LandingPageContactComponent, selector: "pw-landing-page-contact", inputs: { gaEventObj: "gaEventObj" }, usesInheritance: true, ngImport: i0, template: "<section class=\"get-in-touch\">\n <div class=\"container\">\n <h2>\n If you\u2019ve lived the problem, we\u2019ll build the solution.\n </h2>\n <p class=\"description\"></p>\n <div class=\"col-md-5 col-sm-12 float-start contact-form\">\n <form [formGroup]=\"form\"\n (ngSubmit)=\"onSubmit()\"\n class=\"contact-form-inner\">\n <div class=\"mb-3\">\n <input type=\"text\"\n class=\"form-control\"\n formControlName=\"name\"\n placeholder=\"Name*\" />\n <pw-field-error-display [displayError]=\"\n !form.get('name').valid && (form.get('name').touched || submitted)\n \"\n errorMsg=\"Name is required\">\n </pw-field-error-display>\n </div>\n <div class=\"mb-3\">\n <input type=\"text\"\n class=\"form-control\"\n formControlName=\"email\"\n placeholder=\"Your Email*\"\n [ngClass]=\"!isEmailValid ? 'border border-danger' : ''\"\n (keyup)=\"validateEmail()\" />\n <pw-field-error-display [displayError]=\"\n !form.get('email').valid && (form.get('email').touched || submitted)\n \"\n errorMsg=\"Email is invalid\">\n </pw-field-error-display>\n </div>\n <div class=\"mb-3\">\n <textarea name=\"message\"\n cols=\"\"\n rows=\"\"\n formControlName=\"message\"\n class=\"form-control textarea\"\n placeholder=\"Message*\"></textarea>\n <pw-field-error-display [displayError]=\"\n !form.get('message').valid && (form.get('message').touched || submitted)\n \"\n errorMsg=\"Message is required\">\n </pw-field-error-display>\n </div>\n <button type=\"submit\"\n *ngIf=\"!isSubscribeClicked && !isCaptchaVerified\"\n class=\"contact-btn\">\n Apply to Build\n </button>\n <div class=\"mt-3\"\n *ngIf=\"isSubscribeClicked && !isCaptchaVerified\">\n <ngx-recaptcha2 [siteKey]=\"siteKey\"\n size=\"normal\"\n [(ngModel)]=\"recaptcha\"\n [ngModelOptions]=\"{ standalone: true }\"\n (success)=\"handleSuccess($event)\">\n </ngx-recaptcha2>\n </div>\n <div class=\"text-primary\"\n *ngIf=\"isCaptchaVerified && isSubscribeClicked\">\n We've received your request. Thanks. We'll get back to you quickly.\n </div>\n <div class=\"my-4\">\n <hr />\n </div>\n <div class=\"book-demo login-button text-center\">\n <p>Alternatively, you can book a time to talk to us.</p>\n <a [eventTracker]=\"{\n category: 'request-demo',\n action: 'click',\n label: 'landing-page-contact-a',\n value: 1\n }\"\n href=\"https://calendly.com/d/cw7y-6nr-ygb/let-s-talk-posiwise-venture-call\"\n target=\"_blank\"\n rel=\"noopener noreferrer\">Talk to the Team</a>\n </div>\n </form>\n </div>\n <div class=\"col-md-7 col-sm-12 address-block-container float-end\">\n <div class=\"address-block\">\n <div class=\"address-white-block\">\n <h6>Don\u2019t pitch us an idea. Bring us a problem you\u2019ve lived.</h6>\n <p>\n We build - and fund - profitable software companies from lived pain.\n </p>\n <p>\n If you\u2019ve seen a broken system up close \u2014 and want to productise the fix \u2014 we want to hear from you. No fluff. No\n tourists.\n </p>\n <strong> Where to find us: </strong>\n <ul>\n <li class=\"d-none\">\n <span><i class=\"fas fa-phone\"></i></span>\n <div class=\"address-info\">\n <strong>Phone</strong>\n <p>\n Belgium<br />\n <a href=\"callto:+32484163170\"> +32 (0) 484 16 31 70 </a>\n </p>\n <p>\n Australia<br />\n <a href=\"callto:+61478682100\"> +61 (0) 478 68 21 00 </a>\n </p>\n </div>\n </li>\n <li>\n <span>\n <i class=\"fas fa-map-marker-alt\"></i>\n </span>\n <div class=\"address-info\">\n <strong>Address</strong>\n <p class=\"mb-0\">Rue des Hirondelles 15</p>\n <p>1000 Brussels - Belgium</p>\n <p class=\"mb-0\">12/24 Ocean Street N</p>\n <p>2026 Bondi - NSW - Australia</p>\n </div>\n </li>\n <li>\n <span>\n <i class=\"fas fa-regular fa-globe\"></i>\n </span>\n <div class=\"address-info\">\n <strong>Email</strong>\n <p><a href=\"mailto:info@posiwise.com\">info@posiwise.com</a></p>\n </div>\n </li>\n </ul>\n </div>\n </div>\n </div>\n </div>\n</section>\n", styles: [":root{--first: rgb(23 105 225);--second: rgb(54 194 131);--third: rgb(255 171 0);--text: rgb(34 34 34);--tabs_bg: rgb(23 105 225);--tabs_sub_bg: rgb(70, 136, 236);--tabs_text: rgb(255 255 255);--titles: rgb(34 34 34);--sidebar_bg: rgb(0, 48, 63);--sidebar_text: rgb(255 255 255)}.get-in-touch{background:#ecf5fc;padding:90px 0 70px}.get-in-touch h2{color:#2e3238!important;font-family:Roboto,sans-serif;font-size:44px;font-weight:900;text-align:center}.get-in-touch .description{color:#42526e;font-family:Roboto,sans-serif;font-size:30px;font-weight:300;margin-bottom:60px;padding:0 0 25px;position:relative;text-align:center}.get-in-touch:after{background:#ffab00;bottom:0;height:4px;left:0;margin:auto;position:absolute;right:0;width:80px}.contact-form-inner{background-color:#fff;box-shadow:1px 1px 57px #0000001a;padding:40px!important;position:relative;z-index:4}.contact-form-inner .book-demo a{display:inline-block;font-size:20px}.contact-form{position:relative}.contact-form:before{background:url(/assets/img/landing-page/form-rounded-img.png) left top no-repeat;content:\"\";height:257px;left:-123px;position:absolute;top:-106px;width:257px;z-index:1}.contact-form-inner .form-control{background-color:#f5f5f5;border:0;border-radius:0;color:#42526e;font-family:Roboto,sans-serif;font-size:16px;font-weight:300;height:55px;margin-bottom:20px;outline:0;padding:0 24px}.textarea{height:135px!important;padding:21px 24px!important}.address-white-block{background-color:#fff;box-shadow:1px 1px 57px #0000001a;float:left;padding:51px 37px 40px!important;position:relative;text-align:left;z-index:2}.address-white-block h6{color:#2e3238!important;font-size:24px;font-weight:900;margin-bottom:19px}.address-white-block p{color:#42526e;font-size:18px;font-weight:300;line-height:24px;margin-bottom:12px}.address-white-block strong{color:#2e3238;display:inline-block;font-size:24px;font-weight:900;margin-bottom:19px;padding:24px 0 0;width:100%}.address-white-block li{float:left;width:265px}.address-white-block li:nth-child(2){float:left;width:314px}.address-white-block li:nth-child(3){float:left;width:265px}.address-white-block li:nth-child(3) .address-info{width:210px}.address-white-block li strong{color:#2e3238;font-size:18px;font-weight:700;margin:0;padding:0}.address-white-block li span{float:left;width:25px}.address-white-block li p{color:#42526e;font-size:15px;font-weight:300;line-height:30px}.address-white-block li p a{color:#42526e;text-decoration:none}.address-white-block li p:hover{color:#000;text-decoration:underline}.address-white-block li i.fa-phone{transform:rotate(90deg)}.address-white-block li i{font-size:17px;color:var(--first)}.address-info{float:left;width:240px}.address-block{position:absolute}.address-block:before{background:url(/assets/img/landing-page/form-rounded-img2.png) center top no-repeat;content:\"\";height:194px;position:absolute;right:-90px;top:-92px;width:194px;z-index:1}.address-block:after{background:url(/assets/img/landing-page/form-rounded-img3.png) center top no-repeat;bottom:-143px;content:\"\";height:352px;position:absolute;right:-160px;width:352px;z-index:1}@media screen and (max-width: 1499px){.get-in-touch{overflow:hidden}}@media screen and (max-width: 991px){.address-white-block{padding:30px 37px 40px!important}}@media screen and (max-width: 991px){.address-block{position:relative}}@media screen and (max-width: 767px){.get-in-touch h2{font-size:31px}.get-in-touch .description{font-size:20px;position:relative;z-index:2}.address-block{float:left;height:100%;position:relative;width:100%}.contact-form-inner{padding:20px!important}}@media screen and (max-width: 575px){.contact-form{padding:0!important}.get-in-touch{padding:50px 0 54px}.get-in-touch h2{font-size:29px}.address-white-block{max-width:100%;padding:20px!important}.address-white-block p{font-size:17px}.address-white-block li p{font-size:15px}}.address-block-container{position:relative;padding-right:15px;padding-left:29px}@media (min-width: 768px){.col-md-7{flex:0 0 auto;width:58.33333333%;position:relative;padding-right:15px;padding-left:29px}}@media screen and (min-width: 768px){.banner-left-bar{flex:0 0 auto;width:58.33333333%;padding-right:15px;padding-left:29px}}\n"], dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i2.EventTrackerDirective, selector: "[eventTracker]", inputs: ["eventTracker"] }, { kind: "component", type: i6.ReCaptcha2Component, selector: "ngx-recaptcha2", inputs: ["theme", "size"] }, { kind: "component", type: i3$1.FieldErrorDisplayComponent, selector: "pw-field-error-display", inputs: ["errorMsg", "displayError"] }] }); }
|
|
248
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: LandingPageContactComponent, selector: "pw-landing-page-contact", inputs: { gaEventObj: "gaEventObj" }, usesInheritance: true, ngImport: i0, template: "<section class=\"get-in-touch\">\n <div class=\"container\">\n <h2>\n If you\u2019ve lived the problem, we\u2019ll build the solution.\n </h2>\n <p class=\"description\"></p>\n <div class=\"col-md-5 col-sm-12 float-start contact-form\">\n <form [formGroup]=\"form\"\n (ngSubmit)=\"onSubmit()\"\n class=\"contact-form-inner\">\n <div class=\"mb-3\">\n <input type=\"text\"\n class=\"form-control\"\n formControlName=\"name\"\n placeholder=\"Name*\" />\n <pw-field-error-display [displayError]=\"\n !form.get('name').valid && (form.get('name').touched || submitted)\n \"\n errorMsg=\"Name is required\">\n </pw-field-error-display>\n </div>\n <div class=\"mb-3\">\n <input type=\"text\"\n class=\"form-control\"\n formControlName=\"email\"\n placeholder=\"Your Email*\"\n [ngClass]=\"!isEmailValid ? 'border border-danger' : ''\"\n (keyup)=\"validateEmail()\" />\n <pw-field-error-display [displayError]=\"\n !form.get('email').valid && (form.get('email').touched || submitted)\n \"\n errorMsg=\"Email is invalid\">\n </pw-field-error-display>\n </div>\n <div class=\"mb-3\">\n <textarea name=\"message\"\n cols=\"\"\n rows=\"\"\n formControlName=\"message\"\n class=\"form-control textarea\"\n placeholder=\"Message*\"></textarea>\n <pw-field-error-display [displayError]=\"\n !form.get('message').valid && (form.get('message').touched || submitted)\n \"\n errorMsg=\"Message is required\">\n </pw-field-error-display>\n </div>\n <button type=\"submit\"\n *ngIf=\"!isSubscribeClicked && !isCaptchaVerified\"\n class=\"contact-btn\">\n Apply to Build\n </button>\n <div class=\"mt-3\"\n *ngIf=\"isSubscribeClicked && !isCaptchaVerified\">\n <ngx-recaptcha2 [siteKey]=\"siteKey\"\n size=\"normal\"\n [(ngModel)]=\"recaptcha\"\n [ngModelOptions]=\"{ standalone: true }\"\n (success)=\"handleSuccess($event)\">\n </ngx-recaptcha2>\n </div>\n <div class=\"text-primary\"\n *ngIf=\"isCaptchaVerified && isSubscribeClicked\">\n We've received your request. Thanks. We'll get back to you quickly.\n </div>\n <div class=\"my-4\">\n <hr />\n </div>\n <div class=\"book-demo login-button text-center\">\n <p>Alternatively, you can book a time to talk to us.</p>\n <a [eventTracker]=\"{\n category: 'request-demo',\n action: 'click',\n label: 'landing-page-contact-a',\n value: 1\n }\"\n href=\"https://calendly.com/d/cw7y-6nr-ygb/let-s-talk-posiwise-venture-call\"\n target=\"_blank\"\n rel=\"noopener noreferrer\">Talk to the Team</a>\n </div>\n </form>\n </div>\n <div class=\"col-md-7 col-sm-12 address-block-container float-end\">\n <div class=\"address-block\">\n <div class=\"address-white-block\">\n <h6>Don\u2019t pitch us an idea. Bring us a problem you\u2019ve lived.</h6>\n <p>\n We build - and fund - profitable software companies from lived pain.\n </p>\n <p>\n If you\u2019ve seen a broken system up close \u2014 and want to productise the fix \u2014 we want to hear from you. No fluff. No\n tourists.\n </p>\n <strong> Where to find us: </strong>\n <ul>\n <li class=\"d-none\">\n <span><i class=\"fas fa-phone\"></i></span>\n <div class=\"address-info\">\n <strong>Phone</strong>\n <p>\n Belgium<br />\n <a href=\"callto:+32484163170\"> +32 (0) 484 16 31 70 </a>\n </p>\n <p>\n Australia<br />\n <a href=\"callto:+61478682100\"> +61 (0) 478 68 21 00 </a>\n </p>\n </div>\n </li>\n <li>\n <span>\n <i class=\"fas fa-map-marker-alt\"></i>\n </span>\n <div class=\"address-info\">\n <strong>Address</strong>\n <p class=\"mb-0\">Rue des Hirondelles 15</p>\n <p>1000 Brussels - Belgium</p>\n <p class=\"mb-0\">12/24 Ocean Street N</p>\n <p>2026 Bondi - NSW - Australia</p>\n </div>\n </li>\n <li>\n <span>\n <i class=\"fas fa-regular fa-globe\"></i>\n </span>\n <div class=\"address-info\">\n <strong>Email</strong>\n <p><a href=\"mailto:info@posiwise.com\">info@posiwise.com</a></p>\n </div>\n </li>\n </ul>\n </div>\n </div>\n </div>\n </div>\n</section>\n", styles: [":root{--first: rgb(23 105 225);--second: rgb(54 194 131);--third: rgb(255 171 0);--text: rgb(34 34 34);--tabs_bg: rgb(23 105 225);--tabs_sub_bg: rgb(70, 136, 236);--tabs_text: rgb(255 255 255);--titles: rgb(34 34 34);--sidebar_bg: rgb(0, 48, 63);--sidebar_text: rgb(255 255 255)}.get-in-touch{background:#ecf5fc;padding:90px 0 70px}.get-in-touch h2{color:#2e3238!important;font-family:Roboto,sans-serif;font-size:44px;font-weight:900;text-align:center}.get-in-touch .description{color:#42526e;font-family:Roboto,sans-serif;font-size:30px;font-weight:300;margin-bottom:60px;padding:0 0 25px;position:relative;text-align:center}.get-in-touch:after{background:#ffab00;bottom:0;height:4px;left:0;margin:auto;position:absolute;right:0;width:80px}.contact-form-inner{background-color:#fff;box-shadow:1px 1px 57px #0000001a;padding:40px!important;position:relative;z-index:4}.contact-form-inner .book-demo a{display:inline-block;font-size:20px}.contact-form{position:relative}.contact-form:before{background:url(/assets/img/landing-page/form-rounded-img.png) left top no-repeat;content:\"\";height:257px;left:-123px;position:absolute;top:-106px;width:257px;z-index:1}.contact-form-inner .form-control{background-color:#f5f5f5;border:0;border-radius:0;color:#42526e;font-family:Roboto,sans-serif;font-size:16px;font-weight:300;height:55px;margin-bottom:20px;outline:0;padding:0 24px}.textarea{height:135px!important;padding:21px 24px!important}.address-white-block{background-color:#fff;box-shadow:1px 1px 57px #0000001a;float:left;padding:51px 37px 40px!important;position:relative;text-align:left;z-index:2}.address-white-block h6{color:#2e3238!important;font-size:24px;font-weight:900;margin-bottom:19px}.address-white-block p{color:#42526e;font-size:18px;font-weight:300;line-height:24px;margin-bottom:12px}.address-white-block strong{color:#2e3238;display:inline-block;font-size:24px;font-weight:900;margin-bottom:19px;padding:24px 0 0;width:100%}.address-white-block li{float:left;width:265px}.address-white-block li:nth-child(2){float:left;width:314px}.address-white-block li:nth-child(3){float:left;width:265px}.address-white-block li:nth-child(3) .address-info{width:210px}.address-white-block li strong{color:#2e3238;font-size:18px;font-weight:700;margin:0;padding:0}.address-white-block li span{float:left;width:25px}.address-white-block li p{color:#42526e;font-size:15px;font-weight:300;line-height:30px}.address-white-block li p a{color:#42526e;text-decoration:none}.address-white-block li p:hover{color:#000;text-decoration:underline}.address-white-block li i.fa-phone{transform:rotate(90deg)}.address-white-block li i{font-size:17px;color:var(--first)}.address-info{float:left;width:240px}.address-block{position:absolute}.address-block:before{background:url(/assets/img/landing-page/form-rounded-img2.png) center top no-repeat;content:\"\";height:194px;position:absolute;right:-90px;top:-92px;width:194px;z-index:1}.address-block:after{background:url(/assets/img/landing-page/form-rounded-img3.png) center top no-repeat;bottom:-143px;content:\"\";height:352px;position:absolute;right:-160px;width:352px;z-index:1}@media screen and (max-width: 1499px){.get-in-touch{overflow:hidden}}@media screen and (max-width: 991px){.address-white-block{padding:30px 37px 40px!important}}@media screen and (max-width: 991px){.address-block{position:relative}}@media screen and (max-width: 767px){.get-in-touch h2{font-size:31px}.get-in-touch .description{font-size:20px;position:relative;z-index:2}.address-block{float:left;height:100%;position:relative;width:100%}.contact-form-inner{padding:20px!important}}@media screen and (max-width: 575px){.contact-form{padding:0!important}.get-in-touch{padding:50px 0 54px}.get-in-touch h2{font-size:29px}.address-white-block{max-width:100%;padding:20px!important}.address-white-block p{font-size:17px}.address-white-block li p{font-size:15px}}.address-block-container{position:relative;padding-right:15px;padding-left:29px}@media (min-width: 768px){.col-md-7{flex:0 0 auto;width:58.33333333%;position:relative;padding-right:15px;padding-left:29px}}@media screen and (min-width: 768px){.banner-left-bar{flex:0 0 auto;width:58.33333333%;padding-right:15px;padding-left:29px}}\n"], dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i2.EventTrackerDirective, selector: "[eventTracker]", inputs: ["eventTracker"] }, { kind: "component", type: i6.ReCaptcha2Component, selector: "ngx-recaptcha2", inputs: ["theme", "size"] }, { kind: "component", type: i6$1.FieldErrorDisplayComponent, selector: "pw-field-error-display", inputs: ["errorMsg", "displayError"] }] }); }
|
|
241
249
|
}
|
|
242
250
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: LandingPageContactComponent, decorators: [{
|
|
243
251
|
type: Component,
|
|
@@ -500,7 +508,7 @@ class LandingPageContactBComponent extends AppBaseComponent {
|
|
|
500
508
|
}
|
|
501
509
|
}
|
|
502
510
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: LandingPageContactBComponent, deps: [{ token: i1.CommonService }, { token: i2$1.UntypedFormBuilder }, { token: i1.AuthService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
503
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: LandingPageContactBComponent, selector: "pw-landing-page-contact-b", inputs: { gaEventObj: "gaEventObj" }, usesInheritance: true, ngImport: i0, template: "<section class=\"get-in-touch\">\n <div class=\"container\">\n <h2>\n If you\u2019ve lived the problem, we\u2019ll build the solution.\n </h2>\n <p class=\"description\"></p>\n <div class=\"col-md-5 col-sm-12 float-start contact-form\">\n <form [formGroup]=\"form\"\n (ngSubmit)=\"onSubmit()\"\n class=\"contact-form-inner\">\n <div class=\"mb-3\">\n <input type=\"text\"\n class=\"form-control\"\n formControlName=\"name\"\n placeholder=\"Name*\" />\n <pw-field-error-display [displayError]=\"\n !form.get('name').valid && (form.get('name').touched || submitted)\n \"\n errorMsg=\"Name is required\">\n </pw-field-error-display>\n </div>\n <div class=\"mb-3\">\n <input type=\"text\"\n class=\"form-control\"\n formControlName=\"email\"\n placeholder=\"Your Email*\"\n [ngClass]=\"!isEmailValid ? 'border border-danger' : ''\"\n (keyup)=\"validateEmail()\" />\n <pw-field-error-display [displayError]=\"\n !form.get('email').valid && (form.get('email').touched || submitted)\n \"\n errorMsg=\"Email is invalid\">\n </pw-field-error-display>\n </div>\n <div class=\"mb-3\">\n <textarea name=\"message\"\n cols=\"\"\n rows=\"\"\n formControlName=\"message\"\n class=\"form-control textarea\"\n placeholder=\"Message*\"></textarea>\n <pw-field-error-display [displayError]=\"\n !form.get('message').valid && (form.get('message').touched || submitted)\n \"\n errorMsg=\"Message is required\">\n </pw-field-error-display>\n </div>\n <button type=\"submit\"\n *ngIf=\"!isSubscribeClicked && !isCaptchaVerified\"\n class=\"contact-btn\">\n Submit\n </button>\n <div class=\"mt-3\"\n *ngIf=\"isSubscribeClicked && !isCaptchaVerified\">\n <ngx-recaptcha2 [siteKey]=\"siteKey\"\n size=\"normal\"\n [(ngModel)]=\"recaptcha\"\n [ngModelOptions]=\"{ standalone: true }\"\n (success)=\"handleSuccess($event)\">\n </ngx-recaptcha2>\n </div>\n <div class=\"text-primary\"\n *ngIf=\"isCaptchaVerified && isSubscribeClicked\">\n We've received your request. Thanks. We'll get back to you quickly.\n </div>\n <div class=\"my-4\">\n <hr />\n </div>\n <div class=\"book-demo login-button text-center\">\n <p>Alternatively, you can book a time to talk to us.</p>\n <a [eventTracker]=\"{\n category: 'request-demo',\n action: 'click',\n label: 'landing-page-contact-b',\n value: 1\n }\"\n href=\"https://calendly.com/d/cw7y-6nr-ygb/let-s-talk-posiwise-venture-call\"\n target=\"_blank\"\n rel=\"noopener noreferrer\">Talk to the Team</a>\n </div>\n </form>\n </div>\n <div class=\"col-md-7 col-sm-12 float-end\">\n <div class=\"address-block\">\n <div class=\"address-white-block\">\n <h6>Don\u2019t pitch us an idea. Bring us a problem you\u2019ve lived.</h6>\n <p>\n We build - and fund - profitable software companies from lived pain.\n </p>\n <p>\n If you\u2019ve seen a broken system up close \u2014 and want to productise the fix \u2014 we want to hear from you. No fluff. No\n tourists.\n </p>\n <strong> Where to find us: </strong>\n <ul>\n <li class=\"d-none\">\n <span><i class=\"fas fa-phone\"></i></span>\n <div class=\"address-info\">\n <strong>Phone</strong>\n <p>\n Belgium<br />\n <a href=\"callto:+32484163170\"> +32 (0) 484 16 31 70 </a>\n </p>\n <p>\n Australia<br />\n <a href=\"callto:+61478682100\"> +61 (0) 478 68 21 00 </a>\n </p>\n </div>\n </li>\n <li>\n <span>\n <i class=\"fas fa-map-marker-alt\"></i>\n </span>\n <div class=\"address-info\">\n <strong>Address</strong>\n <p class=\"mb-0\">Rue des Hirondelles 15</p>\n <p>1000 Brussels - Belgium</p>\n <p class=\"mb-0\">12/24 Ocean Street N</p>\n <p>2026 Bondi - NSW - Australia</p>\n </div>\n </li>\n <li>\n <span>\n <i class=\"fas fa-regular fa-globe\"></i>\n </span>\n <div class=\"address-info\">\n <strong>Email</strong>\n <p><a href=\"mailto:info@posiwise.com\">info@posiwise.com</a></p>\n </div>\n </li>\n </ul>\n </div>\n </div>\n </div>\n </div>\n</section>\n", styles: [":root{--first: rgb(23 105 225);--second: rgb(54 194 131);--third: rgb(255 171 0);--text: rgb(34 34 34);--tabs_bg: rgb(23 105 225);--tabs_sub_bg: rgb(70, 136, 236);--tabs_text: rgb(255 255 255);--titles: rgb(34 34 34);--sidebar_bg: rgb(0, 48, 63);--sidebar_text: rgb(255 255 255)}.get-in-touch{background:#ecf5fc;padding:90px 0 70px}.get-in-touch h2{color:#2e3238!important;font-family:Roboto,sans-serif;font-size:44px;font-weight:900;text-align:center}.get-in-touch .description{color:#42526e;font-family:Roboto,sans-serif;font-size:30px;font-weight:300;margin-bottom:60px;padding:0 0 25px;position:relative;text-align:center}.get-in-touch:after{background:#ffab00;bottom:0;height:4px;left:0;margin:auto;position:absolute;right:0;width:80px}.contact-form-inner{background-color:#fff;box-shadow:1px 1px 57px #0000001a;padding:40px!important;position:relative;z-index:4}.contact-form-inner .book-demo a{display:inline-block;font-size:20px}.contact-form{position:relative}.contact-form:before{background:url(/assets/img/landing-page/form-rounded-img.png) left top no-repeat;content:\"\";height:257px;left:-123px;position:absolute;top:-106px;width:257px;z-index:1}.contact-form-inner .form-control{background-color:#f5f5f5;border:0;border-radius:0;color:#42526e;font-family:Roboto,sans-serif;font-size:16px;font-weight:300;height:55px;margin-bottom:20px;outline:0;padding:0 24px}.textarea{height:135px!important;padding:21px 24px!important}.address-white-block{background-color:#fff;box-shadow:1px 1px 57px #0000001a;float:left;padding:51px 37px 40px!important;position:relative;text-align:left;z-index:2}.address-white-block h6{color:#2e3238!important;font-size:24px;font-weight:900;margin-bottom:19px}.address-white-block p{color:#42526e;font-size:18px;font-weight:300;line-height:24px;margin-bottom:12px}.address-white-block strong{color:#2e3238;display:inline-block;font-size:24px;font-weight:900;margin-bottom:19px;padding:24px 0 0;width:100%}.address-white-block li{float:left;width:265px}.address-white-block li:nth-child(2){float:left;width:314px}.address-white-block li:nth-child(3){float:left;width:265px}.address-white-block li:nth-child(3) .address-info{width:210px}.address-white-block li strong{color:#2e3238;font-size:18px;font-weight:700;margin:0;padding:0}.address-white-block li span{float:left;width:25px}.address-white-block li p{color:#42526e;font-size:15px;font-weight:300;line-height:30px}.address-white-block li p a{color:#42526e;text-decoration:none}.address-white-block li p:hover{color:#000;text-decoration:underline}.address-white-block li i.fa-phone{transform:rotate(90deg)}.address-white-block li i{font-size:17px;color:var(--first)}.address-info{float:left;width:240px}.address-block{position:absolute}.address-block:before{background:url(/assets/img/landing-page/form-rounded-img2.png) center top no-repeat;content:\"\";height:194px;position:absolute;right:-90px;top:-92px;width:194px;z-index:1}.address-block:after{background:url(/assets/img/landing-page/form-rounded-img3.png) center top no-repeat;bottom:-143px;content:\"\";height:352px;position:absolute;right:-160px;width:352px;z-index:1}@media screen and (max-width: 1499px){.get-in-touch{overflow:hidden}}@media screen and (max-width: 991px){.address-white-block{padding:30px 37px 40px!important}}@media screen and (max-width: 991px){.address-block{position:relative}}@media screen and (max-width: 767px){.get-in-touch h2{font-size:31px}.get-in-touch .description{font-size:20px;position:relative;z-index:2}.address-block{float:left;height:100%;position:relative;width:100%}.contact-form-inner{padding:20px!important}}@media screen and (max-width: 575px){.contact-form{padding:0!important}.get-in-touch{padding:50px 0 54px}.get-in-touch h2{font-size:29px}.address-white-block{max-width:100%;padding:20px!important}.address-white-block p{font-size:17px}.address-white-block li p{font-size:15px}}.address-block-container{position:relative;padding-right:15px;padding-left:29px}@media (min-width: 768px){.col-md-7{flex:0 0 auto;width:58.33333333%;position:relative;padding-right:15px;padding-left:29px}}@media screen and (min-width: 768px){.banner-left-bar{flex:0 0 auto;width:58.33333333%;padding-right:15px;padding-left:29px}}\n"], dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i2.EventTrackerDirective, selector: "[eventTracker]", inputs: ["eventTracker"] }, { kind: "component", type: i6.ReCaptcha2Component, selector: "ngx-recaptcha2", inputs: ["theme", "size"] }, { kind: "component", type: i3$1.FieldErrorDisplayComponent, selector: "pw-field-error-display", inputs: ["errorMsg", "displayError"] }] }); }
|
|
511
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: LandingPageContactBComponent, selector: "pw-landing-page-contact-b", inputs: { gaEventObj: "gaEventObj" }, usesInheritance: true, ngImport: i0, template: "<section class=\"get-in-touch\">\n <div class=\"container\">\n <h2>\n If you\u2019ve lived the problem, we\u2019ll build the solution.\n </h2>\n <p class=\"description\"></p>\n <div class=\"col-md-5 col-sm-12 float-start contact-form\">\n <form [formGroup]=\"form\"\n (ngSubmit)=\"onSubmit()\"\n class=\"contact-form-inner\">\n <div class=\"mb-3\">\n <input type=\"text\"\n class=\"form-control\"\n formControlName=\"name\"\n placeholder=\"Name*\" />\n <pw-field-error-display [displayError]=\"\n !form.get('name').valid && (form.get('name').touched || submitted)\n \"\n errorMsg=\"Name is required\">\n </pw-field-error-display>\n </div>\n <div class=\"mb-3\">\n <input type=\"text\"\n class=\"form-control\"\n formControlName=\"email\"\n placeholder=\"Your Email*\"\n [ngClass]=\"!isEmailValid ? 'border border-danger' : ''\"\n (keyup)=\"validateEmail()\" />\n <pw-field-error-display [displayError]=\"\n !form.get('email').valid && (form.get('email').touched || submitted)\n \"\n errorMsg=\"Email is invalid\">\n </pw-field-error-display>\n </div>\n <div class=\"mb-3\">\n <textarea name=\"message\"\n cols=\"\"\n rows=\"\"\n formControlName=\"message\"\n class=\"form-control textarea\"\n placeholder=\"Message*\"></textarea>\n <pw-field-error-display [displayError]=\"\n !form.get('message').valid && (form.get('message').touched || submitted)\n \"\n errorMsg=\"Message is required\">\n </pw-field-error-display>\n </div>\n <button type=\"submit\"\n *ngIf=\"!isSubscribeClicked && !isCaptchaVerified\"\n class=\"contact-btn\">\n Submit\n </button>\n <div class=\"mt-3\"\n *ngIf=\"isSubscribeClicked && !isCaptchaVerified\">\n <ngx-recaptcha2 [siteKey]=\"siteKey\"\n size=\"normal\"\n [(ngModel)]=\"recaptcha\"\n [ngModelOptions]=\"{ standalone: true }\"\n (success)=\"handleSuccess($event)\">\n </ngx-recaptcha2>\n </div>\n <div class=\"text-primary\"\n *ngIf=\"isCaptchaVerified && isSubscribeClicked\">\n We've received your request. Thanks. We'll get back to you quickly.\n </div>\n <div class=\"my-4\">\n <hr />\n </div>\n <div class=\"book-demo login-button text-center\">\n <p>Alternatively, you can book a time to talk to us.</p>\n <a [eventTracker]=\"{\n category: 'request-demo',\n action: 'click',\n label: 'landing-page-contact-b',\n value: 1\n }\"\n href=\"https://calendly.com/d/cw7y-6nr-ygb/let-s-talk-posiwise-venture-call\"\n target=\"_blank\"\n rel=\"noopener noreferrer\">Talk to the Team</a>\n </div>\n </form>\n </div>\n <div class=\"col-md-7 col-sm-12 float-end\">\n <div class=\"address-block\">\n <div class=\"address-white-block\">\n <h6>Don\u2019t pitch us an idea. Bring us a problem you\u2019ve lived.</h6>\n <p>\n We build - and fund - profitable software companies from lived pain.\n </p>\n <p>\n If you\u2019ve seen a broken system up close \u2014 and want to productise the fix \u2014 we want to hear from you. No fluff. No\n tourists.\n </p>\n <strong> Where to find us: </strong>\n <ul>\n <li class=\"d-none\">\n <span><i class=\"fas fa-phone\"></i></span>\n <div class=\"address-info\">\n <strong>Phone</strong>\n <p>\n Belgium<br />\n <a href=\"callto:+32484163170\"> +32 (0) 484 16 31 70 </a>\n </p>\n <p>\n Australia<br />\n <a href=\"callto:+61478682100\"> +61 (0) 478 68 21 00 </a>\n </p>\n </div>\n </li>\n <li>\n <span>\n <i class=\"fas fa-map-marker-alt\"></i>\n </span>\n <div class=\"address-info\">\n <strong>Address</strong>\n <p class=\"mb-0\">Rue des Hirondelles 15</p>\n <p>1000 Brussels - Belgium</p>\n <p class=\"mb-0\">12/24 Ocean Street N</p>\n <p>2026 Bondi - NSW - Australia</p>\n </div>\n </li>\n <li>\n <span>\n <i class=\"fas fa-regular fa-globe\"></i>\n </span>\n <div class=\"address-info\">\n <strong>Email</strong>\n <p><a href=\"mailto:info@posiwise.com\">info@posiwise.com</a></p>\n </div>\n </li>\n </ul>\n </div>\n </div>\n </div>\n </div>\n</section>\n", styles: [":root{--first: rgb(23 105 225);--second: rgb(54 194 131);--third: rgb(255 171 0);--text: rgb(34 34 34);--tabs_bg: rgb(23 105 225);--tabs_sub_bg: rgb(70, 136, 236);--tabs_text: rgb(255 255 255);--titles: rgb(34 34 34);--sidebar_bg: rgb(0, 48, 63);--sidebar_text: rgb(255 255 255)}.get-in-touch{background:#ecf5fc;padding:90px 0 70px}.get-in-touch h2{color:#2e3238!important;font-family:Roboto,sans-serif;font-size:44px;font-weight:900;text-align:center}.get-in-touch .description{color:#42526e;font-family:Roboto,sans-serif;font-size:30px;font-weight:300;margin-bottom:60px;padding:0 0 25px;position:relative;text-align:center}.get-in-touch:after{background:#ffab00;bottom:0;height:4px;left:0;margin:auto;position:absolute;right:0;width:80px}.contact-form-inner{background-color:#fff;box-shadow:1px 1px 57px #0000001a;padding:40px!important;position:relative;z-index:4}.contact-form-inner .book-demo a{display:inline-block;font-size:20px}.contact-form{position:relative}.contact-form:before{background:url(/assets/img/landing-page/form-rounded-img.png) left top no-repeat;content:\"\";height:257px;left:-123px;position:absolute;top:-106px;width:257px;z-index:1}.contact-form-inner .form-control{background-color:#f5f5f5;border:0;border-radius:0;color:#42526e;font-family:Roboto,sans-serif;font-size:16px;font-weight:300;height:55px;margin-bottom:20px;outline:0;padding:0 24px}.textarea{height:135px!important;padding:21px 24px!important}.address-white-block{background-color:#fff;box-shadow:1px 1px 57px #0000001a;float:left;padding:51px 37px 40px!important;position:relative;text-align:left;z-index:2}.address-white-block h6{color:#2e3238!important;font-size:24px;font-weight:900;margin-bottom:19px}.address-white-block p{color:#42526e;font-size:18px;font-weight:300;line-height:24px;margin-bottom:12px}.address-white-block strong{color:#2e3238;display:inline-block;font-size:24px;font-weight:900;margin-bottom:19px;padding:24px 0 0;width:100%}.address-white-block li{float:left;width:265px}.address-white-block li:nth-child(2){float:left;width:314px}.address-white-block li:nth-child(3){float:left;width:265px}.address-white-block li:nth-child(3) .address-info{width:210px}.address-white-block li strong{color:#2e3238;font-size:18px;font-weight:700;margin:0;padding:0}.address-white-block li span{float:left;width:25px}.address-white-block li p{color:#42526e;font-size:15px;font-weight:300;line-height:30px}.address-white-block li p a{color:#42526e;text-decoration:none}.address-white-block li p:hover{color:#000;text-decoration:underline}.address-white-block li i.fa-phone{transform:rotate(90deg)}.address-white-block li i{font-size:17px;color:var(--first)}.address-info{float:left;width:240px}.address-block{position:absolute}.address-block:before{background:url(/assets/img/landing-page/form-rounded-img2.png) center top no-repeat;content:\"\";height:194px;position:absolute;right:-90px;top:-92px;width:194px;z-index:1}.address-block:after{background:url(/assets/img/landing-page/form-rounded-img3.png) center top no-repeat;bottom:-143px;content:\"\";height:352px;position:absolute;right:-160px;width:352px;z-index:1}@media screen and (max-width: 1499px){.get-in-touch{overflow:hidden}}@media screen and (max-width: 991px){.address-white-block{padding:30px 37px 40px!important}}@media screen and (max-width: 991px){.address-block{position:relative}}@media screen and (max-width: 767px){.get-in-touch h2{font-size:31px}.get-in-touch .description{font-size:20px;position:relative;z-index:2}.address-block{float:left;height:100%;position:relative;width:100%}.contact-form-inner{padding:20px!important}}@media screen and (max-width: 575px){.contact-form{padding:0!important}.get-in-touch{padding:50px 0 54px}.get-in-touch h2{font-size:29px}.address-white-block{max-width:100%;padding:20px!important}.address-white-block p{font-size:17px}.address-white-block li p{font-size:15px}}.address-block-container{position:relative;padding-right:15px;padding-left:29px}@media (min-width: 768px){.col-md-7{flex:0 0 auto;width:58.33333333%;position:relative;padding-right:15px;padding-left:29px}}@media screen and (min-width: 768px){.banner-left-bar{flex:0 0 auto;width:58.33333333%;padding-right:15px;padding-left:29px}}\n"], dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i2.EventTrackerDirective, selector: "[eventTracker]", inputs: ["eventTracker"] }, { kind: "component", type: i6.ReCaptcha2Component, selector: "ngx-recaptcha2", inputs: ["theme", "size"] }, { kind: "component", type: i6$1.FieldErrorDisplayComponent, selector: "pw-field-error-display", inputs: ["errorMsg", "displayError"] }] }); }
|
|
504
512
|
}
|
|
505
513
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: LandingPageContactBComponent, decorators: [{
|
|
506
514
|
type: Component,
|
|
@@ -1123,7 +1131,7 @@ class CareersContactUsComponent extends BaseContactFormComponent {
|
|
|
1123
1131
|
return 'From career section';
|
|
1124
1132
|
}
|
|
1125
1133
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: CareersContactUsComponent, deps: [{ token: i1.CommonService }, { token: i2$1.UntypedFormBuilder }, { token: i1.AuthService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1126
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: CareersContactUsComponent, selector: "pw-careers-contact-us", usesInheritance: true, ngImport: i0, template: "<section class=\"get-in-touch\">\n <div class=\"container\">\n <h2>\n If you\u2019ve lived the problem, we\u2019ll build the solution.<br />\n </h2>\n <p class=\"description\"></p>\n <div class=\"col-md-5 col-sm-12 float-start contact-form\">\n <form [formGroup]=\"form\"\n (ngSubmit)=\"onSubmit()\"\n class=\"contact-form-inner\">\n <div class=\"mb-3\">\n <input type=\"text\"\n class=\"form-control\"\n formControlName=\"name\"\n placeholder=\"Name*\" />\n <pw-field-error-display [displayError]=\"\n !form.get('name').valid && (form.get('name').touched || submitted)\n \"\n errorMsg=\"Name is required\">\n </pw-field-error-display>\n </div>\n <div class=\"mb-3\">\n <input type=\"text\"\n class=\"form-control\"\n formControlName=\"email\"\n placeholder=\"Your Email*\"\n [ngClass]=\"!isEmailValid ? 'border border-danger' : ''\"\n (keyup)=\"validateEmail()\" />\n <pw-field-error-display [displayError]=\"\n !form.get('email').valid && (form.get('email').touched || submitted)\n \"\n errorMsg=\"Email is invalid\">\n </pw-field-error-display>\n </div>\n <div class=\"mb-3\">\n <textarea name=\"message\"\n cols=\"\"\n rows=\"\"\n formControlName=\"message\"\n class=\"form-control textarea\"\n placeholder=\"Message*\"></textarea>\n <pw-field-error-display [displayError]=\"\n !form.get('message').valid && (form.get('message').touched || submitted)\n \"\n errorMsg=\"Message is required\">\n </pw-field-error-display>\n </div>\n <button type=\"submit\"\n *ngIf=\"!isSubscribeClicked && !isCaptchaVerified\"\n class=\"contact-btn\">\n Submit\n </button>\n <div class=\"mt-3\"\n *ngIf=\"isSubscribeClicked && !isCaptchaVerified\">\n <ngx-recaptcha2 [siteKey]=\"siteKey\"\n size=\"normal\"\n [(ngModel)]=\"recaptcha\"\n [ngModelOptions]=\"{ standalone: true }\"\n (success)=\"handleSuccess($event)\">\n </ngx-recaptcha2>\n </div>\n <div class=\"text-primary\"\n *ngIf=\"isCaptchaVerified && isSubscribeClicked\">\n We've received your request. Thanks. We'll get back to you quickly.\n </div>\n </form>\n </div>\n <div class=\"col-md-7 col-sm-12 address-block-container float-end\">\n <div class=\"address-block\">\n <div class=\"address-white-block\">\n <h6>Ready to build what no one else will?</h6>\n <p>\n We don\u2019t work with many. But if you\u2019ve lived the problem \u2014 we\u2019ll build the solution.\n <br/>\n And if it works \u2014 we\u2019ll help fund it.\n </p>\n <p>\n Whether you're looking to be a founder, a member of our core team or join\n one of our companies - we've got something for you.\n </p>\n <p>Get in touch; we can't wait to meet you.</p>\n <strong> Where to find us: </strong>\n <ul>\n <li class=\"d-none\">\n <span><img src=\"/assets/img/landing-page/phone-icon.png\"\n alt=\"Icon\" /></span>\n <div class=\"address-info\">\n <strong>Phone</strong>\n <p>\n Belgium<br />\n <a href=\"callto:+32484163170\"> +32 (0) 484 16 31 70 </a>\n </p>\n <p>\n Australia<br />\n <a href=\"callto:+61478682100\"> +61 (0) 478 68 21 00 </a>\n </p>\n </div>\n </li>\n <li>\n <span><img src=\"/assets/img/landing-page/address-icon.png\"\n alt=\"Icon\" /></span>\n <div class=\"address-info\">\n <strong>Address</strong>\n <p class=\"mb-0\">Rue des Hirondelles 15</p>\n <p>1000 Brussels - Belgium</p>\n <p class=\"mb-0\">12/24 Ocean Street N</p>\n <p>2026 Bondi - NSW - Australia</p>\n </div>\n </li>\n <li>\n <span><img src=\"/assets/img/landing-page/website-icon.png\"\n alt=\"Icon\" /></span>\n <div class=\"address-info\">\n <strong>Email</strong>\n <p>\n <a href=\"mailto:careers@posiwise.com\">careers@posiwise.com</a>\n </p>\n </div>\n </li>\n </ul>\n </div>\n </div>\n </div>\n </div>\n</section>\n", styles: [":root{--first: rgb(23 105 225);--second: rgb(54 194 131);--third: rgb(255 171 0);--text: rgb(34 34 34);--tabs_bg: rgb(23 105 225);--tabs_sub_bg: rgb(70, 136, 236);--tabs_text: rgb(255 255 255);--titles: rgb(34 34 34);--sidebar_bg: rgb(0, 48, 63);--sidebar_text: rgb(255 255 255)}.get-in-touch{background:#ecf5fc;padding:90px 0 70px}.get-in-touch h2{color:#2e3238!important;font-family:Roboto,sans-serif;font-size:44px;font-weight:900;text-align:center}.get-in-touch .description{color:#42526e;font-family:Roboto,sans-serif;font-size:30px;font-weight:300;margin-bottom:60px;padding:0 0 25px;position:relative;text-align:center}.get-in-touch:after{background:#ffab00;bottom:0;height:4px;left:0;margin:auto;position:absolute;right:0;width:80px}.contact-form-inner{background-color:#fff;box-shadow:1px 1px 57px #0000001a;padding:40px!important;position:relative;z-index:4}.contact-form-inner .book-demo a{display:inline-block;font-size:20px}.contact-form{position:relative}.contact-form:before{background:url(/assets/img/landing-page/form-rounded-img.png) left top no-repeat;content:\"\";height:257px;left:-123px;position:absolute;top:-106px;width:257px;z-index:1}.contact-form-inner .form-control{background-color:#f5f5f5;border:0;border-radius:0;color:#42526e;font-family:Roboto,sans-serif;font-size:16px;font-weight:300;height:55px;margin-bottom:20px;outline:0;padding:0 24px}.textarea{height:135px!important;padding:21px 24px!important}.address-white-block{background-color:#fff;box-shadow:1px 1px 57px #0000001a;float:left;padding:51px 37px 40px!important;position:relative;text-align:left;z-index:2}.address-white-block h6{color:#2e3238!important;font-size:24px;font-weight:900;margin-bottom:19px}.address-white-block p{color:#42526e;font-size:18px;font-weight:300;line-height:24px;margin-bottom:12px}.address-white-block strong{color:#2e3238;display:inline-block;font-size:24px;font-weight:900;margin-bottom:19px;padding:24px 0 0;width:100%}.address-white-block li{float:left;width:265px}.address-white-block li:nth-child(2){float:left;width:314px}.address-white-block li:nth-child(3){float:left;width:265px}.address-white-block li:nth-child(3) .address-info{width:210px}.address-white-block li strong{color:#2e3238;font-size:18px;font-weight:700;margin:0;padding:0}.address-white-block li span{float:left;width:25px}.address-white-block li p{color:#42526e;font-size:15px;font-weight:300;line-height:30px}.address-white-block li p a{color:#42526e;text-decoration:none}.address-white-block li p:hover{color:#000;text-decoration:underline}.address-white-block li i.fa-phone{transform:rotate(90deg)}.address-white-block li i{font-size:17px;color:var(--first)}.address-info{float:left;width:240px}.address-block{position:absolute}.address-block:before{background:url(/assets/img/landing-page/form-rounded-img2.png) center top no-repeat;content:\"\";height:194px;position:absolute;right:-90px;top:-92px;width:194px;z-index:1}.address-block:after{background:url(/assets/img/landing-page/form-rounded-img3.png) center top no-repeat;bottom:-143px;content:\"\";height:352px;position:absolute;right:-160px;width:352px;z-index:1}@media screen and (max-width: 1499px){.get-in-touch{overflow:hidden}}@media screen and (max-width: 991px){.address-white-block{padding:30px 37px 40px!important}}@media screen and (max-width: 991px){.address-block{position:relative}}@media screen and (max-width: 767px){.get-in-touch h2{font-size:31px}.get-in-touch .description{font-size:20px;position:relative;z-index:2}.address-block{float:left;height:100%;position:relative;width:100%}.contact-form-inner{padding:20px!important}}@media screen and (max-width: 575px){.contact-form{padding:0!important}.get-in-touch{padding:50px 0 54px}.get-in-touch h2{font-size:29px}.address-white-block{max-width:100%;padding:20px!important}.address-white-block p{font-size:17px}.address-white-block li p{font-size:15px}}.address-block-container{position:relative;padding-right:15px;padding-left:29px}@media (min-width: 768px){.col-md-7{flex:0 0 auto;width:58.33333333%;position:relative;padding-right:15px;padding-left:29px}}@media screen and (min-width: 768px){.banner-left-bar{flex:0 0 auto;width:58.33333333%;padding-right:15px;padding-left:29px}}\n"], dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i2.LazyImgDirective, selector: "img" }, { kind: "component", type: i3$1.FieldErrorDisplayComponent, selector: "pw-field-error-display", inputs: ["errorMsg", "displayError"] }, { kind: "component", type: i6.ReCaptcha2Component, selector: "ngx-recaptcha2", inputs: ["theme", "size"] }] }); }
|
|
1134
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: CareersContactUsComponent, selector: "pw-careers-contact-us", usesInheritance: true, ngImport: i0, template: "<section class=\"get-in-touch\">\n <div class=\"container\">\n <h2>\n If you\u2019ve lived the problem, we\u2019ll build the solution.<br />\n </h2>\n <p class=\"description\"></p>\n <div class=\"col-md-5 col-sm-12 float-start contact-form\">\n <form [formGroup]=\"form\"\n (ngSubmit)=\"onSubmit()\"\n class=\"contact-form-inner\">\n <div class=\"mb-3\">\n <input type=\"text\"\n class=\"form-control\"\n formControlName=\"name\"\n placeholder=\"Name*\" />\n <pw-field-error-display [displayError]=\"\n !form.get('name').valid && (form.get('name').touched || submitted)\n \"\n errorMsg=\"Name is required\">\n </pw-field-error-display>\n </div>\n <div class=\"mb-3\">\n <input type=\"text\"\n class=\"form-control\"\n formControlName=\"email\"\n placeholder=\"Your Email*\"\n [ngClass]=\"!isEmailValid ? 'border border-danger' : ''\"\n (keyup)=\"validateEmail()\" />\n <pw-field-error-display [displayError]=\"\n !form.get('email').valid && (form.get('email').touched || submitted)\n \"\n errorMsg=\"Email is invalid\">\n </pw-field-error-display>\n </div>\n <div class=\"mb-3\">\n <textarea name=\"message\"\n cols=\"\"\n rows=\"\"\n formControlName=\"message\"\n class=\"form-control textarea\"\n placeholder=\"Message*\"></textarea>\n <pw-field-error-display [displayError]=\"\n !form.get('message').valid && (form.get('message').touched || submitted)\n \"\n errorMsg=\"Message is required\">\n </pw-field-error-display>\n </div>\n <button type=\"submit\"\n *ngIf=\"!isSubscribeClicked && !isCaptchaVerified\"\n class=\"contact-btn\">\n Submit\n </button>\n <div class=\"mt-3\"\n *ngIf=\"isSubscribeClicked && !isCaptchaVerified\">\n <ngx-recaptcha2 [siteKey]=\"siteKey\"\n size=\"normal\"\n [(ngModel)]=\"recaptcha\"\n [ngModelOptions]=\"{ standalone: true }\"\n (success)=\"handleSuccess($event)\">\n </ngx-recaptcha2>\n </div>\n <div class=\"text-primary\"\n *ngIf=\"isCaptchaVerified && isSubscribeClicked\">\n We've received your request. Thanks. We'll get back to you quickly.\n </div>\n </form>\n </div>\n <div class=\"col-md-7 col-sm-12 address-block-container float-end\">\n <div class=\"address-block\">\n <div class=\"address-white-block\">\n <h6>Ready to build what no one else will?</h6>\n <p>\n We don\u2019t work with many. But if you\u2019ve lived the problem \u2014 we\u2019ll build the solution.\n <br/>\n And if it works \u2014 we\u2019ll help fund it.\n </p>\n <p>\n Whether you're looking to be a founder, a member of our core team or join\n one of our companies - we've got something for you.\n </p>\n <p>Get in touch; we can't wait to meet you.</p>\n <strong> Where to find us: </strong>\n <ul>\n <li class=\"d-none\">\n <span><img src=\"/assets/img/landing-page/phone-icon.png\"\n alt=\"Icon\" /></span>\n <div class=\"address-info\">\n <strong>Phone</strong>\n <p>\n Belgium<br />\n <a href=\"callto:+32484163170\"> +32 (0) 484 16 31 70 </a>\n </p>\n <p>\n Australia<br />\n <a href=\"callto:+61478682100\"> +61 (0) 478 68 21 00 </a>\n </p>\n </div>\n </li>\n <li>\n <span><img src=\"/assets/img/landing-page/address-icon.png\"\n alt=\"Icon\" /></span>\n <div class=\"address-info\">\n <strong>Address</strong>\n <p class=\"mb-0\">Rue des Hirondelles 15</p>\n <p>1000 Brussels - Belgium</p>\n <p class=\"mb-0\">12/24 Ocean Street N</p>\n <p>2026 Bondi - NSW - Australia</p>\n </div>\n </li>\n <li>\n <span><img src=\"/assets/img/landing-page/website-icon.png\"\n alt=\"Icon\" /></span>\n <div class=\"address-info\">\n <strong>Email</strong>\n <p>\n <a href=\"mailto:careers@posiwise.com\">careers@posiwise.com</a>\n </p>\n </div>\n </li>\n </ul>\n </div>\n </div>\n </div>\n </div>\n</section>\n", styles: [":root{--first: rgb(23 105 225);--second: rgb(54 194 131);--third: rgb(255 171 0);--text: rgb(34 34 34);--tabs_bg: rgb(23 105 225);--tabs_sub_bg: rgb(70, 136, 236);--tabs_text: rgb(255 255 255);--titles: rgb(34 34 34);--sidebar_bg: rgb(0, 48, 63);--sidebar_text: rgb(255 255 255)}.get-in-touch{background:#ecf5fc;padding:90px 0 70px}.get-in-touch h2{color:#2e3238!important;font-family:Roboto,sans-serif;font-size:44px;font-weight:900;text-align:center}.get-in-touch .description{color:#42526e;font-family:Roboto,sans-serif;font-size:30px;font-weight:300;margin-bottom:60px;padding:0 0 25px;position:relative;text-align:center}.get-in-touch:after{background:#ffab00;bottom:0;height:4px;left:0;margin:auto;position:absolute;right:0;width:80px}.contact-form-inner{background-color:#fff;box-shadow:1px 1px 57px #0000001a;padding:40px!important;position:relative;z-index:4}.contact-form-inner .book-demo a{display:inline-block;font-size:20px}.contact-form{position:relative}.contact-form:before{background:url(/assets/img/landing-page/form-rounded-img.png) left top no-repeat;content:\"\";height:257px;left:-123px;position:absolute;top:-106px;width:257px;z-index:1}.contact-form-inner .form-control{background-color:#f5f5f5;border:0;border-radius:0;color:#42526e;font-family:Roboto,sans-serif;font-size:16px;font-weight:300;height:55px;margin-bottom:20px;outline:0;padding:0 24px}.textarea{height:135px!important;padding:21px 24px!important}.address-white-block{background-color:#fff;box-shadow:1px 1px 57px #0000001a;float:left;padding:51px 37px 40px!important;position:relative;text-align:left;z-index:2}.address-white-block h6{color:#2e3238!important;font-size:24px;font-weight:900;margin-bottom:19px}.address-white-block p{color:#42526e;font-size:18px;font-weight:300;line-height:24px;margin-bottom:12px}.address-white-block strong{color:#2e3238;display:inline-block;font-size:24px;font-weight:900;margin-bottom:19px;padding:24px 0 0;width:100%}.address-white-block li{float:left;width:265px}.address-white-block li:nth-child(2){float:left;width:314px}.address-white-block li:nth-child(3){float:left;width:265px}.address-white-block li:nth-child(3) .address-info{width:210px}.address-white-block li strong{color:#2e3238;font-size:18px;font-weight:700;margin:0;padding:0}.address-white-block li span{float:left;width:25px}.address-white-block li p{color:#42526e;font-size:15px;font-weight:300;line-height:30px}.address-white-block li p a{color:#42526e;text-decoration:none}.address-white-block li p:hover{color:#000;text-decoration:underline}.address-white-block li i.fa-phone{transform:rotate(90deg)}.address-white-block li i{font-size:17px;color:var(--first)}.address-info{float:left;width:240px}.address-block{position:absolute}.address-block:before{background:url(/assets/img/landing-page/form-rounded-img2.png) center top no-repeat;content:\"\";height:194px;position:absolute;right:-90px;top:-92px;width:194px;z-index:1}.address-block:after{background:url(/assets/img/landing-page/form-rounded-img3.png) center top no-repeat;bottom:-143px;content:\"\";height:352px;position:absolute;right:-160px;width:352px;z-index:1}@media screen and (max-width: 1499px){.get-in-touch{overflow:hidden}}@media screen and (max-width: 991px){.address-white-block{padding:30px 37px 40px!important}}@media screen and (max-width: 991px){.address-block{position:relative}}@media screen and (max-width: 767px){.get-in-touch h2{font-size:31px}.get-in-touch .description{font-size:20px;position:relative;z-index:2}.address-block{float:left;height:100%;position:relative;width:100%}.contact-form-inner{padding:20px!important}}@media screen and (max-width: 575px){.contact-form{padding:0!important}.get-in-touch{padding:50px 0 54px}.get-in-touch h2{font-size:29px}.address-white-block{max-width:100%;padding:20px!important}.address-white-block p{font-size:17px}.address-white-block li p{font-size:15px}}.address-block-container{position:relative;padding-right:15px;padding-left:29px}@media (min-width: 768px){.col-md-7{flex:0 0 auto;width:58.33333333%;position:relative;padding-right:15px;padding-left:29px}}@media screen and (min-width: 768px){.banner-left-bar{flex:0 0 auto;width:58.33333333%;padding-right:15px;padding-left:29px}}\n"], dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i2.LazyImgDirective, selector: "img" }, { kind: "component", type: i6$1.FieldErrorDisplayComponent, selector: "pw-field-error-display", inputs: ["errorMsg", "displayError"] }, { kind: "component", type: i6.ReCaptcha2Component, selector: "ngx-recaptcha2", inputs: ["theme", "size"] }] }); }
|
|
1127
1135
|
}
|
|
1128
1136
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: CareersContactUsComponent, decorators: [{
|
|
1129
1137
|
type: Component,
|
|
@@ -1742,9 +1750,563 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImpo
|
|
|
1742
1750
|
}]
|
|
1743
1751
|
}], ctorParameters: () => [] });
|
|
1744
1752
|
|
|
1753
|
+
class Trial4ContactUsComponent extends AppBaseComponent {
|
|
1754
|
+
openQuestionsEditModal() {
|
|
1755
|
+
this.editingQuestions = JSON.parse(JSON.stringify(this.editingQuestions ?? []));
|
|
1756
|
+
this.modalService.open(this.questionsEditModal, { centered: true, size: 'lg' });
|
|
1757
|
+
}
|
|
1758
|
+
constructor(fb, authService, crmService, sanitizer, adminService, injector, abTestService, modalService, cdr, document) {
|
|
1759
|
+
super(injector);
|
|
1760
|
+
this.fb = fb;
|
|
1761
|
+
this.authService = authService;
|
|
1762
|
+
this.crmService = crmService;
|
|
1763
|
+
this.sanitizer = sanitizer;
|
|
1764
|
+
this.adminService = adminService;
|
|
1765
|
+
this.abTestService = abTestService;
|
|
1766
|
+
this.modalService = modalService;
|
|
1767
|
+
this.cdr = cdr;
|
|
1768
|
+
this.document = document;
|
|
1769
|
+
this.editingQuestions = [];
|
|
1770
|
+
this.isFooterVisible = false;
|
|
1771
|
+
this.recaptcha = null;
|
|
1772
|
+
this.subscriptionId = this.appConfig.crm.subscription_id;
|
|
1773
|
+
this.sourceId = this.appConfig.crm.source_id;
|
|
1774
|
+
this.masterSubscriptionId = this.appConfig.master_subscription.subscription_id;
|
|
1775
|
+
this.canEditResourcesValue = false;
|
|
1776
|
+
this.logo = this.appConfig?.company?.logos?.main_contrast?.url;
|
|
1777
|
+
this.trialBgImage2 = this.appConfig?.signup_config.trial?.image_bg2?.url;
|
|
1778
|
+
this.tosId = this.appConfig?.main_tos_id;
|
|
1779
|
+
this.description = this.appConfig.company.description;
|
|
1780
|
+
this.email = this.appConfig.company.email;
|
|
1781
|
+
this.companyName = this.appConfig.company.name;
|
|
1782
|
+
this.street = this.appConfig.company.street;
|
|
1783
|
+
this.questions = this.appConfig?.pages_config?.contact_us?.questions;
|
|
1784
|
+
this.hubspot = this.appConfig?.pages_config?.contact_us?.hubspot;
|
|
1785
|
+
this.footerLinks = this.appConfig?.pages_config?.footer_links?.items;
|
|
1786
|
+
this.footerLinksData = this.appConfig?.pages_config?.footer_links;
|
|
1787
|
+
this.youtubeUrl = this.appConfig.social?.youtube_url;
|
|
1788
|
+
this.linkedInUrl = this.appConfig.social?.linkedin_url;
|
|
1789
|
+
this.domainId = this.appConfig.domain_id;
|
|
1790
|
+
this.editingEmail = this.email;
|
|
1791
|
+
this.isEditingEmail = false;
|
|
1792
|
+
this.submitted = false;
|
|
1793
|
+
this.isCaptchaVerified = false;
|
|
1794
|
+
this.isEmailValid = true;
|
|
1795
|
+
this.isEditingStreet = false;
|
|
1796
|
+
this.editingFooterLinks = {
|
|
1797
|
+
items: []
|
|
1798
|
+
};
|
|
1799
|
+
this.captchaKeyV2 = this.appConfig.integrations.captcha_key_V2;
|
|
1800
|
+
this.contactUsForm();
|
|
1801
|
+
}
|
|
1802
|
+
ngOnInit() {
|
|
1803
|
+
setTimeout(() => (this.isHubspotReady = true), 2000);
|
|
1804
|
+
if (this.userLoggedIn) {
|
|
1805
|
+
this.localStorage.getItem$('product').subscribe(res => {
|
|
1806
|
+
const data = res ? JSON.parse(res) : null;
|
|
1807
|
+
this.id = data?.subscriptionId;
|
|
1808
|
+
});
|
|
1809
|
+
}
|
|
1810
|
+
this.previewData = {
|
|
1811
|
+
url: this.logo,
|
|
1812
|
+
name: 'logo_main_contrast.png'
|
|
1813
|
+
};
|
|
1814
|
+
this.editingStreet = this.street;
|
|
1815
|
+
if (Array.isArray(this.appConfig.pages_config?.ab_tests)) {
|
|
1816
|
+
this.abTests = this.appConfig.pages_config.ab_tests.find(test => test.description === 'contact-us');
|
|
1817
|
+
this.microserviceName = this.abTests?.microservice_name;
|
|
1818
|
+
this.experimentName = this.abTests?.experiment_name;
|
|
1819
|
+
this.shardName = this.abTests?.db_shard;
|
|
1820
|
+
}
|
|
1821
|
+
const footerItem = this.getFooterHubspotForm();
|
|
1822
|
+
if (footerItem?.div) {
|
|
1823
|
+
// NOSONAR: Trusted HTML content is handled safely here
|
|
1824
|
+
this.hubspotHtml = this.sanitizer.bypassSecurityTrustHtml(footerItem.div); // NOSONAR
|
|
1825
|
+
}
|
|
1826
|
+
this.editingQuestions = this.questions;
|
|
1827
|
+
this.question = this.questions?.[0]?.question;
|
|
1828
|
+
this.psaOptions = [
|
|
1829
|
+
{ label: 'Select PSA', value: '' },
|
|
1830
|
+
...(this.questions?.[0]?.options ?? [])
|
|
1831
|
+
.filter(q => q.option?.trim())
|
|
1832
|
+
.map(q => ({
|
|
1833
|
+
label: q.option,
|
|
1834
|
+
value: q.option
|
|
1835
|
+
}))
|
|
1836
|
+
];
|
|
1837
|
+
}
|
|
1838
|
+
ngOnChanges(changes) {
|
|
1839
|
+
if (changes['user'] || changes['userLoggedIn']) {
|
|
1840
|
+
if (this.userLoggedIn && this.user) {
|
|
1841
|
+
this.updateCanEditResourcesValue();
|
|
1842
|
+
}
|
|
1843
|
+
}
|
|
1844
|
+
}
|
|
1845
|
+
openLogoEditModal() {
|
|
1846
|
+
this.modalService.open(this.logoModal, {
|
|
1847
|
+
centered: true,
|
|
1848
|
+
size: 'md'
|
|
1849
|
+
});
|
|
1850
|
+
}
|
|
1851
|
+
onSaveFile(event) {
|
|
1852
|
+
const formData = new FormData();
|
|
1853
|
+
const data = { subscription_id: this.subscriptionId };
|
|
1854
|
+
if (event.file instanceof File) {
|
|
1855
|
+
data[event.name] = event.file;
|
|
1856
|
+
}
|
|
1857
|
+
else if (event.file === null) {
|
|
1858
|
+
data[`remove_${event.name}`] = true;
|
|
1859
|
+
}
|
|
1860
|
+
for (const key in data) {
|
|
1861
|
+
formData.append(key, data[key]);
|
|
1862
|
+
}
|
|
1863
|
+
this.adminService.updateDomainConfig(this.domainId, formData).subscribe(() => {
|
|
1864
|
+
if (event.file) {
|
|
1865
|
+
this.logo = URL.createObjectURL(event.file);
|
|
1866
|
+
this.modalService.dismissAll();
|
|
1867
|
+
}
|
|
1868
|
+
this.toast.success(event.file ? 'Logo updated' : 'Logo removed');
|
|
1869
|
+
});
|
|
1870
|
+
}
|
|
1871
|
+
saveQuestions(modal) {
|
|
1872
|
+
const updateData = {
|
|
1873
|
+
contact_us: {
|
|
1874
|
+
...this.appConfig.pages_config?.contact_us,
|
|
1875
|
+
questions: this.editingQuestions
|
|
1876
|
+
},
|
|
1877
|
+
subscription_id: this.id
|
|
1878
|
+
};
|
|
1879
|
+
this.adminService.updateDomainConfig(this.domainId, updateData).subscribe(() => {
|
|
1880
|
+
this.questions = this.editingQuestions;
|
|
1881
|
+
this.toast.success('Questions updated');
|
|
1882
|
+
this.question = this.editingQuestions?.[0]?.question;
|
|
1883
|
+
if (this.editingQuestions?.[0]?.options?.length > 0) {
|
|
1884
|
+
this.psaOptions = [
|
|
1885
|
+
{ label: 'Select PSA', value: '' },
|
|
1886
|
+
...(this.questions?.[0]?.options ?? [])
|
|
1887
|
+
.filter(q => q.option?.trim())
|
|
1888
|
+
.map(q => ({
|
|
1889
|
+
label: q.option,
|
|
1890
|
+
value: q.option
|
|
1891
|
+
}))
|
|
1892
|
+
];
|
|
1893
|
+
}
|
|
1894
|
+
else {
|
|
1895
|
+
this.psaOptions = [];
|
|
1896
|
+
}
|
|
1897
|
+
modal.close();
|
|
1898
|
+
});
|
|
1899
|
+
}
|
|
1900
|
+
addNewQuestion() {
|
|
1901
|
+
this.editingQuestions.push({ question: '', options: [] });
|
|
1902
|
+
}
|
|
1903
|
+
addQuestionOption(qIndex) {
|
|
1904
|
+
this.editingQuestions[qIndex].options.push({ option: '' });
|
|
1905
|
+
}
|
|
1906
|
+
removeQuestionOption(qIndex, optIndex) {
|
|
1907
|
+
this.editingQuestions[qIndex].options.splice(optIndex, 1);
|
|
1908
|
+
}
|
|
1909
|
+
dropQuestions(event) {
|
|
1910
|
+
moveItemInArray(this.editingQuestions, event.previousIndex, event.currentIndex);
|
|
1911
|
+
}
|
|
1912
|
+
dropQuestionOptions(qIndex, event) {
|
|
1913
|
+
moveItemInArray(this.editingQuestions[qIndex].options, event.previousIndex, event.currentIndex);
|
|
1914
|
+
}
|
|
1915
|
+
openSocialEditModal() {
|
|
1916
|
+
this.editingYoutubeUrl = this.youtubeUrl;
|
|
1917
|
+
this.editingLinkedInUrl = this.linkedInUrl;
|
|
1918
|
+
this.editingCompanyName = this.companyName;
|
|
1919
|
+
this.modalService.open(this.socialEditModal, { centered: true, size: 'lg' });
|
|
1920
|
+
}
|
|
1921
|
+
saveSocialLinks(modal) {
|
|
1922
|
+
const updateData = {
|
|
1923
|
+
youtube_url: this.editingYoutubeUrl,
|
|
1924
|
+
linkedin_url: this.editingLinkedInUrl,
|
|
1925
|
+
company_name: this.editingCompanyName,
|
|
1926
|
+
subscription_id: this.id
|
|
1927
|
+
};
|
|
1928
|
+
this.adminService.updateDomainConfig(this.domainId, updateData).subscribe(() => {
|
|
1929
|
+
this.youtubeUrl = this.editingYoutubeUrl;
|
|
1930
|
+
this.linkedInUrl = this.editingLinkedInUrl;
|
|
1931
|
+
this.companyName = this.editingCompanyName;
|
|
1932
|
+
this.toast.success('Social links and company name updated');
|
|
1933
|
+
modal.close();
|
|
1934
|
+
});
|
|
1935
|
+
}
|
|
1936
|
+
hasValidOptions() {
|
|
1937
|
+
return this.questions?.[0]?.options?.some(opt => opt.option?.trim());
|
|
1938
|
+
}
|
|
1939
|
+
ngAfterViewInit() {
|
|
1940
|
+
this.watchIframeHeightChange();
|
|
1941
|
+
this.observer = new IntersectionObserver(([entry]) => {
|
|
1942
|
+
if (entry.isIntersecting) {
|
|
1943
|
+
this.isFooterVisible = true;
|
|
1944
|
+
this.cdr.detectChanges();
|
|
1945
|
+
this.observer?.disconnect();
|
|
1946
|
+
}
|
|
1947
|
+
}, { threshold: 0.1 });
|
|
1948
|
+
this.observer.observe(this.footerSection.nativeElement);
|
|
1949
|
+
}
|
|
1950
|
+
openEditFooterLinksModal(content) {
|
|
1951
|
+
this.footerLinksData = this.footerLinksData ?? {};
|
|
1952
|
+
this.footerLinksData.items = this.footerLinksData.items ?? [];
|
|
1953
|
+
this.editingFooterLinks = JSON.parse(JSON.stringify(this.footerLinksData));
|
|
1954
|
+
this.modalService.open(content, {
|
|
1955
|
+
size: 'lg',
|
|
1956
|
+
centered: true,
|
|
1957
|
+
windowClass: 'modal-holder'
|
|
1958
|
+
});
|
|
1959
|
+
}
|
|
1960
|
+
watchIframeHeightChange() {
|
|
1961
|
+
const iframe = this.document.querySelector('.hubspot-container');
|
|
1962
|
+
if (!iframe)
|
|
1963
|
+
return;
|
|
1964
|
+
const interval = setInterval(() => {
|
|
1965
|
+
const newHeight = iframe['offsetHeight'];
|
|
1966
|
+
if (newHeight === 250) {
|
|
1967
|
+
clearInterval(interval);
|
|
1968
|
+
this.callAbTestFinish();
|
|
1969
|
+
}
|
|
1970
|
+
}, 300);
|
|
1971
|
+
}
|
|
1972
|
+
// New method to handle Hubspot content loading
|
|
1973
|
+
onHubspotLoad(event) {
|
|
1974
|
+
const container = event.target;
|
|
1975
|
+
container.classList.add('content-loaded');
|
|
1976
|
+
// Optional: Trigger layout recalculation
|
|
1977
|
+
setTimeout(() => {
|
|
1978
|
+
window.dispatchEvent(new Event('resize'));
|
|
1979
|
+
}, 100);
|
|
1980
|
+
}
|
|
1981
|
+
callAbTestFinish() {
|
|
1982
|
+
if (this.experimentName && this.microserviceName) {
|
|
1983
|
+
this.abTestService
|
|
1984
|
+
.finishABExperiment(this.experimentName, this.microserviceName)
|
|
1985
|
+
.subscribe(() => {
|
|
1986
|
+
this.modalService.open(this.content, {
|
|
1987
|
+
centered: true,
|
|
1988
|
+
windowClass: 'modal-holder'
|
|
1989
|
+
});
|
|
1990
|
+
});
|
|
1991
|
+
}
|
|
1992
|
+
}
|
|
1993
|
+
contactUsForm() {
|
|
1994
|
+
this.form = this.fb.group({
|
|
1995
|
+
first_name: ['', Validators.required],
|
|
1996
|
+
last_name: [''],
|
|
1997
|
+
company: [''],
|
|
1998
|
+
psa: [''],
|
|
1999
|
+
enquiry: ['', Validators.required],
|
|
2000
|
+
email: ['', Validators.required]
|
|
2001
|
+
});
|
|
2002
|
+
}
|
|
2003
|
+
onSubmit() {
|
|
2004
|
+
this.submitted = true;
|
|
2005
|
+
if (this.form.valid) {
|
|
2006
|
+
this.isCaptchaVerified = true;
|
|
2007
|
+
this.submitted = false;
|
|
2008
|
+
}
|
|
2009
|
+
}
|
|
2010
|
+
handleSuccess(token) {
|
|
2011
|
+
if (token) {
|
|
2012
|
+
this.authService.validateReCaptcha(token).subscribe((isSuccess) => {
|
|
2013
|
+
if (isSuccess && this.form.valid) {
|
|
2014
|
+
const data = { ...this.form.getRawValue() };
|
|
2015
|
+
const formattedEnquiry = `${data.enquiry}; Question: ${this.question}; Answer: ${data.psa}`;
|
|
2016
|
+
const postData = {
|
|
2017
|
+
first_name: `${data.first_name}`,
|
|
2018
|
+
last_name: `${data.first_name}`,
|
|
2019
|
+
company: `${data.first_name}`,
|
|
2020
|
+
email: `${data.email}`,
|
|
2021
|
+
enquiry: this.psaOptions.length ? formattedEnquiry : `${data.enquiry}`,
|
|
2022
|
+
psa: data.psa,
|
|
2023
|
+
subscription_id: this.subscriptionId,
|
|
2024
|
+
crm_source_id: this.sourceId,
|
|
2025
|
+
master_subscription_id: this.masterSubscriptionId,
|
|
2026
|
+
notify_user: false,
|
|
2027
|
+
is_manual: false
|
|
2028
|
+
};
|
|
2029
|
+
this.crmService.postCrmLead(this.subscriptionId, postData).subscribe(resp => {
|
|
2030
|
+
// example of snippet to close the experiment and track in GA
|
|
2031
|
+
if (resp?.status === StatusCodes.OK) {
|
|
2032
|
+
this.googleAnalyticsService.sendEvent('new-lead-registration', // category, eg: videos
|
|
2033
|
+
'subscribe-success', // action, eg: Play
|
|
2034
|
+
'coming-soon-three', // label, eg: Chappy
|
|
2035
|
+
1 // value, eg: 10
|
|
2036
|
+
);
|
|
2037
|
+
if (this.experimentName && this.microserviceName) {
|
|
2038
|
+
this.abTestService
|
|
2039
|
+
.finishABExperiment(this.experimentName, this.microserviceName)
|
|
2040
|
+
.subscribe(() => {
|
|
2041
|
+
this.modalService.open(this.content, {
|
|
2042
|
+
centered: true,
|
|
2043
|
+
windowClass: 'modal-holder'
|
|
2044
|
+
});
|
|
2045
|
+
});
|
|
2046
|
+
}
|
|
2047
|
+
else {
|
|
2048
|
+
swal.fire(resp.message);
|
|
2049
|
+
}
|
|
2050
|
+
}
|
|
2051
|
+
this.form.reset();
|
|
2052
|
+
this.isCaptchaVerified = false;
|
|
2053
|
+
});
|
|
2054
|
+
}
|
|
2055
|
+
});
|
|
2056
|
+
}
|
|
2057
|
+
}
|
|
2058
|
+
scrollToTop() {
|
|
2059
|
+
this.document.documentElement.scrollTop = 0;
|
|
2060
|
+
}
|
|
2061
|
+
getFooterHubspotForm() {
|
|
2062
|
+
if (!this.hubspot?.length) {
|
|
2063
|
+
return null;
|
|
2064
|
+
}
|
|
2065
|
+
return this.hubspot.find(item => item.position === 'footer') ?? null;
|
|
2066
|
+
}
|
|
2067
|
+
navigateToBookMeeting() {
|
|
2068
|
+
const bookDemoUrl = this.appConfig?.signup_config?.trial?.book_demo_url ??
|
|
2069
|
+
'https://calendly.com/cloudolive';
|
|
2070
|
+
window.open(bookDemoUrl, '_blank', 'noreferrer noopener');
|
|
2071
|
+
}
|
|
2072
|
+
validateEmail() {
|
|
2073
|
+
const email = this.form.get('email').value;
|
|
2074
|
+
if (email) {
|
|
2075
|
+
this.isEmailValid = ValidationService.email(email);
|
|
2076
|
+
}
|
|
2077
|
+
else {
|
|
2078
|
+
this.isEmailValid = true;
|
|
2079
|
+
}
|
|
2080
|
+
}
|
|
2081
|
+
addFooterLink() {
|
|
2082
|
+
this.editingFooterLinks.items.push({
|
|
2083
|
+
title: '',
|
|
2084
|
+
path: '',
|
|
2085
|
+
subtitles: []
|
|
2086
|
+
});
|
|
2087
|
+
}
|
|
2088
|
+
removeFooterLink(index) {
|
|
2089
|
+
this.editingFooterLinks.items.splice(index, 1);
|
|
2090
|
+
}
|
|
2091
|
+
addSubtitle(footerIndex) {
|
|
2092
|
+
this.editingFooterLinks.items[footerIndex].subtitles.push({
|
|
2093
|
+
title: '',
|
|
2094
|
+
path: ''
|
|
2095
|
+
});
|
|
2096
|
+
}
|
|
2097
|
+
removeSubtitle(footerIndex, subtitleIndex) {
|
|
2098
|
+
this.editingFooterLinks.items[footerIndex].subtitles.splice(subtitleIndex, 1);
|
|
2099
|
+
}
|
|
2100
|
+
dropFooterLinks(event) {
|
|
2101
|
+
moveItemInArray(this.editingFooterLinks.items, event.previousIndex, event.currentIndex);
|
|
2102
|
+
}
|
|
2103
|
+
dropSubtitles(footerIndex, event) {
|
|
2104
|
+
moveItemInArray(this.editingFooterLinks.items[footerIndex].subtitles, event.previousIndex, event.currentIndex);
|
|
2105
|
+
}
|
|
2106
|
+
saveFooterLinks(modal) {
|
|
2107
|
+
const updatedConfig = {
|
|
2108
|
+
footer_links: this.editingFooterLinks,
|
|
2109
|
+
subscription_id: this.id
|
|
2110
|
+
};
|
|
2111
|
+
this.adminService
|
|
2112
|
+
.updateDomainConfig(this.appConfig?.domain_id, updatedConfig)
|
|
2113
|
+
.subscribe(() => {
|
|
2114
|
+
this.toast.success('Footer links updated');
|
|
2115
|
+
this.footerLinks = [...this.editingFooterLinks.items];
|
|
2116
|
+
this.footerLinksData = { ...this.editingFooterLinks };
|
|
2117
|
+
modal.close();
|
|
2118
|
+
});
|
|
2119
|
+
}
|
|
2120
|
+
saveEmail() {
|
|
2121
|
+
this.email = this.editingEmail;
|
|
2122
|
+
this.adminService
|
|
2123
|
+
.updateDomainConfig(this.appConfig?.domain_id, {
|
|
2124
|
+
company_email: this.editingEmail,
|
|
2125
|
+
subscription_id: this.id
|
|
2126
|
+
})
|
|
2127
|
+
.subscribe(() => {
|
|
2128
|
+
this.toast.success('Email updated');
|
|
2129
|
+
this.isEditingEmail = false;
|
|
2130
|
+
});
|
|
2131
|
+
}
|
|
2132
|
+
saveStreet() {
|
|
2133
|
+
this.adminService
|
|
2134
|
+
.updateDomainConfig(this.appConfig?.domain_id, {
|
|
2135
|
+
company_address: this.editingStreet,
|
|
2136
|
+
subscription_id: this.id
|
|
2137
|
+
})
|
|
2138
|
+
.subscribe(() => {
|
|
2139
|
+
this.toast.success('Street updated');
|
|
2140
|
+
this.street = this.editingStreet;
|
|
2141
|
+
this.isEditingStreet = false;
|
|
2142
|
+
});
|
|
2143
|
+
}
|
|
2144
|
+
cancelStreet() {
|
|
2145
|
+
this.editingStreet = this.street;
|
|
2146
|
+
this.isEditingStreet = false;
|
|
2147
|
+
}
|
|
2148
|
+
openHubspotEditModal(footerItem) {
|
|
2149
|
+
this.editingHubspotHtml = footerItem.div;
|
|
2150
|
+
this.editingHubspotId = footerItem.id;
|
|
2151
|
+
this.modalService.open(this.hubspotEditModal, { centered: true, size: 'lg' });
|
|
2152
|
+
}
|
|
2153
|
+
saveHubspotHtml(modal) {
|
|
2154
|
+
const updatedConfig = {
|
|
2155
|
+
contact_us: {
|
|
2156
|
+
...this.appConfig?.pages_config?.contact_us,
|
|
2157
|
+
hubspot: [
|
|
2158
|
+
{
|
|
2159
|
+
id: '7423639',
|
|
2160
|
+
position: 'footer',
|
|
2161
|
+
div: this.editingHubspotHtml
|
|
2162
|
+
}
|
|
2163
|
+
]
|
|
2164
|
+
},
|
|
2165
|
+
subscription_id: this.id
|
|
2166
|
+
};
|
|
2167
|
+
this.adminService
|
|
2168
|
+
.updateDomainConfig(this.appConfig?.domain_id, updatedConfig)
|
|
2169
|
+
.subscribe(() => {
|
|
2170
|
+
// NOSONAR: Trusted HTML content is handled safely here
|
|
2171
|
+
this.hubspotHtml = this.sanitizer.bypassSecurityTrustHtml(this.editingHubspotHtml); // NOSONAR
|
|
2172
|
+
this.toast.success('Hubspot Embed updated');
|
|
2173
|
+
modal.close();
|
|
2174
|
+
});
|
|
2175
|
+
}
|
|
2176
|
+
updateCanEditResourcesValue() {
|
|
2177
|
+
this.canEditResourcesValue = HelperService.canEditResources(this.user, this.userLoggedIn, this.permissionService);
|
|
2178
|
+
}
|
|
2179
|
+
canEditResources() {
|
|
2180
|
+
return this.canEditResourcesValue;
|
|
2181
|
+
}
|
|
2182
|
+
ngOnDestroy() {
|
|
2183
|
+
this.observer?.disconnect();
|
|
2184
|
+
}
|
|
2185
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: Trial4ContactUsComponent, deps: [{ token: i2$1.UntypedFormBuilder }, { token: i1.AuthService }, { token: i2$3.CrmService }, { token: i2$4.DomSanitizer }, { token: i5$1.AdminService }, { token: i0.Injector }, { token: i1.AbTestService }, { token: i5.NgbModal }, { token: i0.ChangeDetectorRef }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2186
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: Trial4ContactUsComponent, selector: "pw-trial-4-contact-us", inputs: { subscriptionId: "subscriptionId", sourceId: "sourceId", masterSubscriptionId: "masterSubscriptionId", experimentName: "experimentName", microserviceName: "microserviceName", shardName: "shardName", user: "user", userLoggedIn: "userLoggedIn" }, viewQueries: [{ propertyName: "footerSection", first: true, predicate: ["footerSection"], descendants: true, static: true }, { propertyName: "content", first: true, predicate: ["bookMeeting"], descendants: true, static: true }, { propertyName: "editFooterLinksModal", first: true, predicate: ["editFooterLinksModal"], descendants: true }, { propertyName: "logoModal", first: true, predicate: ["logoModal"], descendants: true }, { propertyName: "logoUploader", first: true, predicate: ["logoUploader"], descendants: true }, { propertyName: "hubspotEditModal", first: true, predicate: ["hubspotEditModal"], descendants: true }, { propertyName: "socialEditModal", first: true, predicate: ["socialEditModal"], descendants: true }, { propertyName: "questionsEditModal", first: true, predicate: ["questionsEditModal"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<section #footerSection class=\"bg-black text-white py-5 footer-section\">\n <div class=\"container\" *ngIf=\"isFooterVisible\">\n <div class=\"row\">\n\n <!-- LEFT COLUMN -->\n <div class=\"col-md-6 mb-4 d-flex flex-column justify-content-between\" [ngClass]=\"{ 'site-column': getFooterHubspotForm() }\">\n <div>\n <h3 class=\"mb-4 d-flex align-items-center\">\n <span class=\"me-2 text-white\">Site Map:</span>\n <i *ngIf=\"canEditResourcesValue\" class=\"fa fa-edit in-page-edit-icon cursor-pointer text-white ms-3\" (click)=\"openEditFooterLinksModal(editFooterLinksModal)\" (keydown.enter)=\"openEditFooterLinksModal(editFooterLinksModal)\" (keydown.space)=\"openEditFooterLinksModal(editFooterLinksModal)\" ngbTooltip=\"Edit Footer Links\"></i>\n </h3>\n <ul class=\"mt-4\">\n <li routerLink=\"/\"\n class=\"cursor-pointer user-info-label link-label\"> Home </li>\n <li *ngFor=\"let link of footerLinks\" [routerLink]=\"link?.path\"\n class=\"cursor-pointer user-info-label link-label mt-4\"><span *ngIf=\"link?.title\">{{link?.title}}</span> </li>\n <li routerLink=\"/login\"\n class=\"cursor-pointer user-info-label mt-4 link-label\"> Log in </li>\n <li [routerLink]=\"'/privacy-and-tos/' + tosId\"\n class=\"cursor-pointer user-info-label mt-4 link-label\"> Privacy statement </li>\n </ul>\n <p class=\"address-section email-section mb-4\">\n <span class=\"user-info-label\">Email: </span>\n <ng-container *ngIf=\"!isEditingEmail; else editEmail\">\n <span class=\"user-info\">{{ email }}</span>\n <i *ngIf=\"canEditResourcesValue\" class=\"fa fa-edit in-page-edit-icon text-white cursor-pointer ms-3\" (click)=\"isEditingEmail = true\" (keydown.enter)=\"isEditingEmail = true\" (keydown.space)=\"isEditingEmail = true\"></i>\n </ng-container>\n\n <ng-template #editEmail>\n <input\n class=\"form-control d-inline w-auto\"\n [(ngModel)]=\"editingEmail\"\n />\n <button class=\"btn btn-sm btn-primary ms-2\" (click)=\"saveEmail()\">Save</button>\n <button class=\"btn btn-sm btn-secondary ms-2\" (click)=\"isEditingEmail = false\">Cancel</button>\n </ng-template>\n </p>\n <span class=\"email-section mt-3 address-text\">\n <span class=\"user-info-label\">\n Address:\n <i *ngIf=\"canEditResourcesValue\"\n class=\"fa fa-edit in-page-edit-icon cursor-pointer ms-2 text-white\"\n title=\"Edit Address\"\n (click)=\"isEditingStreet = true\"\n (keydown.enter)=\"isEditingStreet = true\"\n (keydown.space)=\"isEditingStreet = true\"></i>\n </span><br/>\n\n <ng-container *ngIf=\"!isEditingStreet; else editStreetBlock\">\n <span class=\"address-text user-info\">{{ street }}</span>\n </ng-container>\n\n <ng-template #editStreetBlock>\n <div class=\"d-flex align-items-center mt-3\">\n <input class=\"form-control form-control-sm\" [(ngModel)]=\"editingStreet\" />\n <button class=\"btn btn-sm btn-primary ms-2\" (click)=\"saveStreet()\">Save</button>\n <button class=\"btn btn-sm btn-secondary ms-2\" (click)=\"cancelStreet()\">Cancel</button>\n </div>\n </ng-template>\n\n </span>\n\n </div>\n <div class=\"d-flex\">\n <img [src]=\"logo\"\n alt=\"Company logo\"\n class=\"img-fluid mt-4 logo-image cursor-pointer\"\n width=\"160\"\n height=\"35\"\n (click)=\"scrollToTop()\"\n (keydown.enter)=\"scrollToTop()\"\n (keydown.space)=\"scrollToTop()\"\n title=\"Click to go to top of page\" />\n <i *ngIf=\"canEditResourcesValue\"\n class=\"fa fa-edit in-page-edit-icon fa-sm ms-3 cursor-pointer text-white align-self-center mt-3\"\n (click)=\"openLogoEditModal()\"\n (keydown.enter)=\"openLogoEditModal()\"\n (keydown.space)=\"openLogoEditModal()\"\n title=\"Edit Logo\"></i>\n </div>\n </div>\n\n <!-- RIGHT COLUMN -->\n <div class=\"col-md-6\" *ngIf=\"isFooterVisible\">\n <ng-container *ngIf=\"getFooterHubspotForm() as footerItem; else defaultForm\">\n <div class=\"d-flex\">\n <div\n *ngIf=\"isHubspotReady\"\n class=\"hubspot-container w-100 content-loaded\"\n [innerHTML]=\"hubspotHtml\"\n (load)=\"onHubspotLoad($event)\">\n </div>\n <i *ngIf=\"canEditResourcesValue\"\n class=\"fa fa-edit in-page-edit-icon text-white cursor-pointer\"\n (click)=\"openHubspotEditModal(footerItem)\"\n (keydown.enter)=\"openHubspotEditModal(footerItem)\"\n (keydown.space)=\"openHubspotEditModal(footerItem)\"\n title=\"Edit Hubspot Embed\"></i>\n </div>\n </ng-container>\n\n <ng-template #defaultForm>\n <div class=\"d-flex\">\n <h3 class=\"text-white mb-4\"> <span class=\"text-white\">Get in touch:</span></h3>\n <i *ngIf=\"canEditResourcesValue\"\n class=\"fa fa-edit in-page-edit-icon text-white cursor-pointer ms-3 mt-2\"\n (click)=\"openQuestionsEditModal()\"\n (keydown.enter)=\"openQuestionsEditModal()\"\n (keydown.space)=\"openQuestionsEditModal()\"\n title=\"Edit Questions\"></i>\n </div>\n <div class=\"contact-form\">\n <form [formGroup]=\"form\">\n <div class=\"mb-3\">\n <div class=\"email\">\n <div class=\"form-field\">\n <label for=\"email\">Email:</label>\n <div class=\"w-100\">\n <input type=\"text\"\n class=\"mb-1\"\n id=\"email\"\n formControlName=\"email\" />\n <pw-field-error-display [displayError]=\"\n !form.get('email').valid && (form.get('email').touched || submitted)\n \"\n errorMsg=\"Email is required\">\n </pw-field-error-display>\n </div>\n </div>\n <div class=\"form-field\">\n <label for=\"first_name\">First name:</label>\n <div class=\"w-100\">\n <input input type=\"text\"\n id=\"first_name\"\n formControlName=\"first_name\" />\n <pw-field-error-display [displayError]=\"\n !form.get('first_name').valid && (form.get('first_name').touched || submitted)\n \"\n errorMsg=\"First name is required\">\n </pw-field-error-display>\n </div>\n </div>\n <div class=\"form-field\">\n <label for=\"last_name\">Last name:</label>\n <input type=\"text\"\n id=\"last_name\"\n formControlName=\"last_name\" />\n </div>\n <div class=\"form-field\">\n <label for=\"company\">Company:</label>\n <input type=\"text\"\n id=\"company\"\n formControlName=\"company\" />\n </div>\n <div class=\"form-field\" *ngIf=\"hasValidOptions()\">\n <label for=\"psa\" class=\"select-label\">{{question}}</label>\n <p-dropdown\n formControlName=\"psa\"\n [options]=\"psaOptions\"\n [placeholder]=\"'Select PSA'\"\n styleClass=\"input-select\">\n </p-dropdown>\n </div>\n <div class=\"form-field\">\n <label for=\"enquiry\" class=\"select-label\">How can we help you?</label>\n <div class=\"enquiry-field\">\n <textarea id=\"enquiry\" formControlName=\"enquiry\" class=\"\">\n </textarea>\n <pw-field-error-display [displayError]=\"\n !form.get('enquiry').valid && (form.get('enquiry').touched || submitted)\n \"\n errorMsg=\"Enquiry is required\">\n </pw-field-error-display>\n </div>\n </div>\n </div>\n </div>\n <div class=\"text-end\">\n <div class=\"captcha-wrapper-container\"\n *ngIf=\"isCaptchaVerified\">\n <ngx-recaptcha2 [ngModelOptions]=\"{ standalone: true }\"\n [siteKey]=\"captchaKeyV2\"\n size=\"normal\"\n [(ngModel)]=\"recaptcha\"\n (success)=\"handleSuccess($event)\">\n </ngx-recaptcha2>\n </div>\n <button type=\"submit\"\n (click)=\"onSubmit()\"\n *ngIf=\"!isCaptchaVerified\"\n class=\"sign-btn sign-header-btn mt-3\">\n {{ 'Button.Submit' | transloco }}\n </button>\n </div>\n\n <div class=\"d-flex align-items-center mt-4\">\n <div class=\"icons d-flex align-items-center\">\n <a [eventTracker]=\"{\n category: 'youtube',\n action: 'click',\n label: 'cloudolive-landing-page-b',\n value: 1\n }\"\n [href]=\"youtubeUrl\"\n target=\"_blank\"\n rel=\"noopener noreferrer\">\n <img src=\"/assets/img/icons/youtube.png\"\n class=\"img-fluid youtube-icon\"\n width=\"54\"\n height=\"54\"\n alt=\"\" />\n </a>\n <a [eventTracker]=\"{\n category: 'linkedin',\n action: 'click',\n label: 'cloudolive-landing-page-b',\n value: 1\n }\"\n [href]=\"linkedInUrl\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n class=\"ms-3\">\n <img src=\"/assets/img/icons/social/linkedin.svg\"\n class=\"img-fluid linkedin-icon\"\n width=\"48\"\n height=\"48\"\n alt=\"\" />\n </a>\n <i *ngIf=\"canEditResourcesValue\"\n class=\"fa fa-edit in-page-edit-icon text-white cursor-pointer ms-3\"\n (click)=\"openSocialEditModal()\"\n (keydown.enter)=\"openSocialEditModal()\"\n (keydown.space)=\"openSocialEditModal()\"\n title=\"Edit Social Links & Company Name\"></i>\n </div>\n <div class=\"copyright text-white\">\n 2025 {{companyName}}.\n </div>\n </div>\n </form>\n </div>\n </ng-template>\n </div>\n </div>\n </div>\n</section>\n\n\n\n<ng-template #bookMeeting\n let-modal>\n <div class=\"modal-header\">\n <button type=\"button\"\n class=\"btn-close float-end\"\n aria-label=\"Close\"\n (click)=\"modal.dismiss()\">\n </button>\n </div>\n <div class=\"modal-body\">\n <h3 class=\"text-center modal-basic-title\">\n Thanks for getting in touch! Our team will be in contact shortly, or we\n can compare calendars now & schedule a time\n </h3>\n <button type=\"button\"\n [eventTracker]=\"{\n category: 'request-demo',\n action: 'click',\n label: 'cloudolive-landing-page-b',\n value: 1\n }\"\n (click)=\"navigateToBookMeeting()\"\n class=\"sign-btn sign-header-btn mx-auto d-block mb-3\">\n Let's do it\n </button>\n </div>\n</ng-template>\n\n\n<ng-template #editFooterLinksModal let-modal>\n <div class=\"modal-header\">\n <h5 class=\"modal-title\">Edit Footer Links</h5>\n <button type=\"button\" class=\"btn-close\" aria-label=\"Close\" (click)=\"modal.dismiss()\"></button>\n </div>\n\n <div class=\"modal-body\">\n <h4 class=\"mb-3\">Footer Links Section</h4>\n <div cdkDropList (cdkDropListDropped)=\"dropFooterLinks($event)\">\n <div *ngFor=\"let footer of editingFooterLinks.items; let i = index\" class=\"border p-3 mb-3\" cdkDrag>\n <div class=\"row\">\n <div class=\"col-md-5 mb-2\">\n <label for=\"footerTitle{{i}}\" class=\"form-label\">Title</label>\n <input id=\"footerTitle{{i}}\" class=\"form-control\" [(ngModel)]=\"footer.title\" />\n </div>\n <div class=\"col-md-5 mb-2\">\n <label for=\"footerPath{{i}}\" class=\"form-label\">Path</label>\n <input id=\"footerPath{{i}}\" class=\"form-control\" [(ngModel)]=\"footer.path\" />\n </div>\n <div class=\"col-md-2 d-flex justify-content-between align-items-center mt-4\">\n <i class=\"fa fa-trash in-page-trash-icon text-danger cursor-pointer\" (click)=\"removeFooterLink(i)\" (keydown.enter)=\"removeFooterLink(i)\" (keydown.space)=\"removeFooterLink(i)\"></i>\n <i class=\"fa fa-bars in-page-bars-icon cursor-move\" cdkDragHandle></i>\n </div>\n </div>\n\n <!-- Subtitles -->\n <div cdkDropList (cdkDropListDropped)=\"dropSubtitles(i, $event)\">\n <div *ngFor=\"let sub of footer.subtitles; let j = index\" class=\"row border p-3 mb-2 align-items-center\" cdkDrag>\n <div class=\"col-md-5\">\n <label for=\"subtitleTitle{{i}}{{j}}\" class=\"form-label\">Subtitle Title</label>\n <input id=\"subtitleTitle{{i}}{{j}}\" class=\"form-control\" [(ngModel)]=\"sub.title\" />\n </div>\n <div class=\"col-md-5\">\n <label for=\"subtitlePath{{i}}{{j}}\" class=\"form-label\">Subtitle Path</label>\n <input id=\"subtitlePath{{i}}{{j}}\" class=\"form-control\" [(ngModel)]=\"sub.path\" />\n </div>\n <div class=\"col-md-2 d-flex justify-content-between align-items-center mt-4\">\n <i class=\"fa fa-trash in-page-trash-icon text-danger cursor-pointer\" (click)=\"removeSubtitle(i, j)\" (keydown.enter)=\"removeSubtitle(i, j)\" (keydown.space)=\"removeSubtitle(i, j)\"></i>\n <i class=\"fa fa-bars cursor-move in-page-bars-icon\" cdkDragHandle></i>\n </div>\n </div>\n </div>\n\n <button class=\"btn btn-outline-primary btn-sm mt-2\" (click)=\"addSubtitle(i)\">\n + Add Subtitle\n </button>\n </div>\n </div>\n\n <button class=\"btn btn-primary mt-3\" (click)=\"addFooterLink()\">\n + Add Footer Link\n </button>\n </div>\n\n <div class=\"modal-footer\">\n <button class=\"btn btn-secondary\" (click)=\"modal.dismiss()\">Cancel</button>\n <button class=\"btn btn-primary\" (click)=\"saveFooterLinks(modal)\">Save</button>\n </div>\n</ng-template>\n\n\n\n\n\n<ng-template #logoModal let-modal>\n <div class=\"modal-header\">\n <h5 class=\"modal-title\">Upload Logo</h5>\n <button type=\"button\" class=\"btn-close\" aria-label=\"Close\" (click)=\"modal.dismiss()\"></button>\n </div>\n <div class=\"modal-body\">\n <pw-custom-uploader\n [aspectRatio]=\"'fullLogo'\"\n [title]=\"'Main Contrast Logo'\"\n [controlName]=\"'logo_main_contrast'\"\n [previewData]=\"previewData\"\n (saveEvent)=\"onSaveFile($event)\">\n </pw-custom-uploader>\n </div>\n</ng-template>\n\n\n\n<ng-template #hubspotEditModal let-modal>\n <div class=\"modal-header\">\n <h5 class=\"modal-title\">Edit Hubspot Embed</h5>\n <button type=\"button\" class=\"btn-close\" aria-label=\"Close\" (click)=\"modal.dismiss()\"></button>\n </div>\n <div class=\"modal-body\">\n <div class=\"mb-3\">\n <label for=\"hubspotId\" class=\"form-label\">Hubspot ID</label>\n <input id=\"hubspotId\" [(ngModel)]=\"editingHubspotId\" class=\"form-control\" />\n </div>\n <div class=\"mb-3\">\n <label for=\"hubspotEmbedDiv\" class=\"form-label\">Embed DIV</label>\n <textarea id=\"hubspotEmbedDiv\" [(ngModel)]=\"editingHubspotHtml\" rows=\"8\" class=\"form-control\"></textarea>\n </div>\n </div>\n <div class=\"modal-footer\">\n <button class=\"btn btn-primary\" (click)=\"saveHubspotHtml(modal)\">Save</button>\n <button class=\"btn btn-secondary\" (click)=\"modal.dismiss()\">Cancel</button>\n </div>\n</ng-template>\n\n\n<ng-template #socialEditModal let-modal>\n <div class=\"modal-header\">\n <h5 class=\"modal-title\">Edit Social Links & Company Name</h5>\n <button type=\"button\" class=\"btn-close\" aria-label=\"Close\" (click)=\"modal.dismiss()\"></button>\n </div>\n <div class=\"modal-body\">\n <div class=\"mb-3\">\n <label for=\"youtubeUrl\" class=\"form-label\">YouTube URL</label>\n <input id=\"youtubeUrl\" [(ngModel)]=\"editingYoutubeUrl\" class=\"form-control\" />\n </div>\n <div class=\"mb-3\">\n <label for=\"linkedinUrl\" class=\"form-label\">LinkedIn URL</label>\n <input id=\"linkedinUrl\" [(ngModel)]=\"editingLinkedInUrl\" class=\"form-control\" />\n </div>\n <div class=\"mb-3\">\n <label for=\"companyName\" class=\"form-label\">Company Name</label>\n <input id=\"companyName\" [(ngModel)]=\"editingCompanyName\" class=\"form-control\" />\n </div>\n </div>\n <div class=\"modal-footer\">\n <button class=\"btn btn-primary\" (click)=\"saveSocialLinks(modal)\">Save</button>\n <button class=\"btn btn-secondary\" (click)=\"modal.dismiss()\">Cancel</button>\n </div>\n</ng-template>\n\n\n\n<ng-template #questionsEditModal let-modal>\n <div class=\"modal-header\">\n <h5 class=\"modal-title\">Edit Questions</h5>\n <button type=\"button\" class=\"btn-close\" aria-label=\"Close\" (click)=\"modal.dismiss()\"></button>\n </div>\n\n <div class=\"modal-body\">\n <h4 class=\"mb-3\">Questions Section</h4>\n <div cdkDropList (cdkDropListDropped)=\"dropQuestions($event)\">\n <div *ngFor=\"let q of editingQuestions; let i = index\" class=\"border p-3 mb-3\" cdkDrag>\n <div class=\"row\">\n <div class=\"col-md-11 mb-2\">\n <label for=\"questionText{{i}}\" class=\"form-label\">Question</label>\n <input id=\"questionText{{i}}\" class=\"form-control\" [(ngModel)]=\"q.question\" placeholder=\"Enter question\" />\n </div>\n <div class=\"col-md-1 d-flex justify-content-end align-items-start mt-4\">\n <i class=\"fa fa-bars in-page-bars-icon cursor-move\" cdkDragHandle></i>\n </div>\n </div>\n\n <!-- Options Section -->\n <div cdkDropList (cdkDropListDropped)=\"dropQuestionOptions(i, $event)\">\n <div *ngFor=\"let opt of q.options; let j = index\" class=\"row border p-3 mb-2 align-items-center\" cdkDrag>\n <div class=\"col-md-7 mb-2\">\n <label for=\"questionOption{{i}}{{j}}\" class=\"form-label\">Option</label>\n <input id=\"questionOption{{i}}{{j}}\" class=\"form-control\" [(ngModel)]=\"opt.option\" placeholder=\"Enter option\" />\n </div>\n <div class=\"col-md-2 d-flex justify-content-between align-items-center mt-4\">\n <i class=\"fa fa-trash in-page-trash-icon text-danger cursor-pointer\" (click)=\"removeQuestionOption(i, j)\" (keydown.enter)=\"removeQuestionOption(i, j)\" (keydown.enter)=\"removeQuestionOption(i, j)\"></i>\n <i class=\"fa fa-bars in-page-bars-icon cursor-move\" cdkDragHandle></i>\n </div>\n </div>\n </div>\n\n <button class=\"btn btn-outline-primary btn-sm mt-2\" (click)=\"addQuestionOption(i)\">+ Add Option</button>\n </div>\n </div>\n\n <button class=\"btn btn-primary mt-3\" (click)=\"addNewQuestion()\">+ Add Question</button>\n </div>\n\n <div class=\"modal-footer\">\n <button class=\"btn btn-secondary\" (click)=\"modal.dismiss()\">Cancel</button>\n <button class=\"btn btn-primary\" (click)=\"saveQuestions(modal)\">Save</button>\n </div>\n</ng-template>\n\n\n\n\n\n", styles: [".product-explainer-section{background-color:#000}.footer-section input.form-control,.footer-section select.form-control,.footer-section textarea.form-control{background-color:#fff;border:none;color:#000;font-size:14px}.btn-primary{background-color:#007bff;border:none}.site-column{margin-top:2.9rem}.email-section{color:#fff;font-size:2rem}.address-section{margin-top:5rem}.address-text{line-height:2.2rem}.user-info{font-size:1.5rem}.user-info-label{font-size:1.7rem;font-weight:700}.contact-form form .form-field{display:flex;align-items:center;margin-bottom:1.2rem}.contact-form form .form-field label{width:130px;min-width:130px;margin:0;font-size:14px;color:#fff;font-weight:600;text-transform:uppercase;letter-spacing:1px}.contact-form form .form-field p-dropdown{width:100%}.contact-form form .form-field input,.contact-form form .form-field select,.contact-form form .form-field textarea,.contact-form form .form-field ::ng-deep p-dropdown .p-inputwrapper{flex:1;border:none;border-radius:30px;padding:12px 20px;font-size:14px;width:100%!important;max-width:100%;color:#000}.contact-form form .form-field textarea{resize:vertical}.contact-form form .submit-button{background-color:#3b82f6;border:none;border-radius:30px;font-size:16px;font-weight:500;padding:10px 24px;margin-top:1.2rem}.input-select{height:43px}.select-label{width:210px!important}.copyright{margin-top:2rem;margin-left:4rem;font-size:19px;font-weight:700}.d-flex img{margin-right:0!important}.youtube-icon{height:38px}.enquiry-field{margin-left:.5rem;width:63%}::ng-deep .text-danger{margin-top:.25rem!important;margin-left:.5rem!important}@media (min-width: 768px){.hubspot-container{margin-top:-3rem}}@media (min-width: 768px) and (max-width: 1200px){.container{padding:0rem 6rem!important}}.link-label{cursor:pointer;transition:color .3s}.link-label:hover{color:var(--first)}.icons img{transition:transform .3s ease,filter .3s ease;cursor:pointer}.icons img:hover{transform:scale(1.1);filter:brightness(1.2)}.logo-image{max-width:160px;width:160px;height:35px;object-fit:contain;aspect-ratio:160/35}\n"], dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i2$2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i9.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: i9.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: i9.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { kind: "directive", type: i5.NgbTooltip, selector: "[ngbTooltip]", inputs: ["animation", "autoClose", "placement", "popperOptions", "triggers", "positionTarget", "container", "disableTooltip", "tooltipClass", "tooltipContext", "openDelay", "closeDelay", "ngbTooltip"], outputs: ["shown", "hidden"], exportAs: ["ngbTooltip"] }, { kind: "directive", type: i2.EventTrackerDirective, selector: "[eventTracker]", inputs: ["eventTracker"] }, { kind: "directive", type: i2.LazyImgDirective, selector: "img" }, { kind: "component", type: i6.ReCaptcha2Component, selector: "ngx-recaptcha2", inputs: ["theme", "size"] }, { kind: "component", type: i12.Dropdown, selector: "p-dropdown", inputs: ["id", "scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "variant", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "maxlength", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "disabled", "itemSize", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "filterValue", "options"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "component", type: i6$1.CustomUploaderComponent, selector: "pw-custom-uploader", inputs: ["controlName", "previewData", "aspectRatio", "title"], outputs: ["saveEvent"] }, { kind: "component", type: i6$1.FieldErrorDisplayComponent, selector: "pw-field-error-display", inputs: ["errorMsg", "displayError"] }, { kind: "pipe", type: i14.TranslocoPipe, name: "transloco" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2187
|
+
}
|
|
2188
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: Trial4ContactUsComponent, decorators: [{
|
|
2189
|
+
type: Component,
|
|
2190
|
+
args: [{ selector: 'pw-trial-4-contact-us', changeDetection: ChangeDetectionStrategy.OnPush, template: "<section #footerSection class=\"bg-black text-white py-5 footer-section\">\n <div class=\"container\" *ngIf=\"isFooterVisible\">\n <div class=\"row\">\n\n <!-- LEFT COLUMN -->\n <div class=\"col-md-6 mb-4 d-flex flex-column justify-content-between\" [ngClass]=\"{ 'site-column': getFooterHubspotForm() }\">\n <div>\n <h3 class=\"mb-4 d-flex align-items-center\">\n <span class=\"me-2 text-white\">Site Map:</span>\n <i *ngIf=\"canEditResourcesValue\" class=\"fa fa-edit in-page-edit-icon cursor-pointer text-white ms-3\" (click)=\"openEditFooterLinksModal(editFooterLinksModal)\" (keydown.enter)=\"openEditFooterLinksModal(editFooterLinksModal)\" (keydown.space)=\"openEditFooterLinksModal(editFooterLinksModal)\" ngbTooltip=\"Edit Footer Links\"></i>\n </h3>\n <ul class=\"mt-4\">\n <li routerLink=\"/\"\n class=\"cursor-pointer user-info-label link-label\"> Home </li>\n <li *ngFor=\"let link of footerLinks\" [routerLink]=\"link?.path\"\n class=\"cursor-pointer user-info-label link-label mt-4\"><span *ngIf=\"link?.title\">{{link?.title}}</span> </li>\n <li routerLink=\"/login\"\n class=\"cursor-pointer user-info-label mt-4 link-label\"> Log in </li>\n <li [routerLink]=\"'/privacy-and-tos/' + tosId\"\n class=\"cursor-pointer user-info-label mt-4 link-label\"> Privacy statement </li>\n </ul>\n <p class=\"address-section email-section mb-4\">\n <span class=\"user-info-label\">Email: </span>\n <ng-container *ngIf=\"!isEditingEmail; else editEmail\">\n <span class=\"user-info\">{{ email }}</span>\n <i *ngIf=\"canEditResourcesValue\" class=\"fa fa-edit in-page-edit-icon text-white cursor-pointer ms-3\" (click)=\"isEditingEmail = true\" (keydown.enter)=\"isEditingEmail = true\" (keydown.space)=\"isEditingEmail = true\"></i>\n </ng-container>\n\n <ng-template #editEmail>\n <input\n class=\"form-control d-inline w-auto\"\n [(ngModel)]=\"editingEmail\"\n />\n <button class=\"btn btn-sm btn-primary ms-2\" (click)=\"saveEmail()\">Save</button>\n <button class=\"btn btn-sm btn-secondary ms-2\" (click)=\"isEditingEmail = false\">Cancel</button>\n </ng-template>\n </p>\n <span class=\"email-section mt-3 address-text\">\n <span class=\"user-info-label\">\n Address:\n <i *ngIf=\"canEditResourcesValue\"\n class=\"fa fa-edit in-page-edit-icon cursor-pointer ms-2 text-white\"\n title=\"Edit Address\"\n (click)=\"isEditingStreet = true\"\n (keydown.enter)=\"isEditingStreet = true\"\n (keydown.space)=\"isEditingStreet = true\"></i>\n </span><br/>\n\n <ng-container *ngIf=\"!isEditingStreet; else editStreetBlock\">\n <span class=\"address-text user-info\">{{ street }}</span>\n </ng-container>\n\n <ng-template #editStreetBlock>\n <div class=\"d-flex align-items-center mt-3\">\n <input class=\"form-control form-control-sm\" [(ngModel)]=\"editingStreet\" />\n <button class=\"btn btn-sm btn-primary ms-2\" (click)=\"saveStreet()\">Save</button>\n <button class=\"btn btn-sm btn-secondary ms-2\" (click)=\"cancelStreet()\">Cancel</button>\n </div>\n </ng-template>\n\n </span>\n\n </div>\n <div class=\"d-flex\">\n <img [src]=\"logo\"\n alt=\"Company logo\"\n class=\"img-fluid mt-4 logo-image cursor-pointer\"\n width=\"160\"\n height=\"35\"\n (click)=\"scrollToTop()\"\n (keydown.enter)=\"scrollToTop()\"\n (keydown.space)=\"scrollToTop()\"\n title=\"Click to go to top of page\" />\n <i *ngIf=\"canEditResourcesValue\"\n class=\"fa fa-edit in-page-edit-icon fa-sm ms-3 cursor-pointer text-white align-self-center mt-3\"\n (click)=\"openLogoEditModal()\"\n (keydown.enter)=\"openLogoEditModal()\"\n (keydown.space)=\"openLogoEditModal()\"\n title=\"Edit Logo\"></i>\n </div>\n </div>\n\n <!-- RIGHT COLUMN -->\n <div class=\"col-md-6\" *ngIf=\"isFooterVisible\">\n <ng-container *ngIf=\"getFooterHubspotForm() as footerItem; else defaultForm\">\n <div class=\"d-flex\">\n <div\n *ngIf=\"isHubspotReady\"\n class=\"hubspot-container w-100 content-loaded\"\n [innerHTML]=\"hubspotHtml\"\n (load)=\"onHubspotLoad($event)\">\n </div>\n <i *ngIf=\"canEditResourcesValue\"\n class=\"fa fa-edit in-page-edit-icon text-white cursor-pointer\"\n (click)=\"openHubspotEditModal(footerItem)\"\n (keydown.enter)=\"openHubspotEditModal(footerItem)\"\n (keydown.space)=\"openHubspotEditModal(footerItem)\"\n title=\"Edit Hubspot Embed\"></i>\n </div>\n </ng-container>\n\n <ng-template #defaultForm>\n <div class=\"d-flex\">\n <h3 class=\"text-white mb-4\"> <span class=\"text-white\">Get in touch:</span></h3>\n <i *ngIf=\"canEditResourcesValue\"\n class=\"fa fa-edit in-page-edit-icon text-white cursor-pointer ms-3 mt-2\"\n (click)=\"openQuestionsEditModal()\"\n (keydown.enter)=\"openQuestionsEditModal()\"\n (keydown.space)=\"openQuestionsEditModal()\"\n title=\"Edit Questions\"></i>\n </div>\n <div class=\"contact-form\">\n <form [formGroup]=\"form\">\n <div class=\"mb-3\">\n <div class=\"email\">\n <div class=\"form-field\">\n <label for=\"email\">Email:</label>\n <div class=\"w-100\">\n <input type=\"text\"\n class=\"mb-1\"\n id=\"email\"\n formControlName=\"email\" />\n <pw-field-error-display [displayError]=\"\n !form.get('email').valid && (form.get('email').touched || submitted)\n \"\n errorMsg=\"Email is required\">\n </pw-field-error-display>\n </div>\n </div>\n <div class=\"form-field\">\n <label for=\"first_name\">First name:</label>\n <div class=\"w-100\">\n <input input type=\"text\"\n id=\"first_name\"\n formControlName=\"first_name\" />\n <pw-field-error-display [displayError]=\"\n !form.get('first_name').valid && (form.get('first_name').touched || submitted)\n \"\n errorMsg=\"First name is required\">\n </pw-field-error-display>\n </div>\n </div>\n <div class=\"form-field\">\n <label for=\"last_name\">Last name:</label>\n <input type=\"text\"\n id=\"last_name\"\n formControlName=\"last_name\" />\n </div>\n <div class=\"form-field\">\n <label for=\"company\">Company:</label>\n <input type=\"text\"\n id=\"company\"\n formControlName=\"company\" />\n </div>\n <div class=\"form-field\" *ngIf=\"hasValidOptions()\">\n <label for=\"psa\" class=\"select-label\">{{question}}</label>\n <p-dropdown\n formControlName=\"psa\"\n [options]=\"psaOptions\"\n [placeholder]=\"'Select PSA'\"\n styleClass=\"input-select\">\n </p-dropdown>\n </div>\n <div class=\"form-field\">\n <label for=\"enquiry\" class=\"select-label\">How can we help you?</label>\n <div class=\"enquiry-field\">\n <textarea id=\"enquiry\" formControlName=\"enquiry\" class=\"\">\n </textarea>\n <pw-field-error-display [displayError]=\"\n !form.get('enquiry').valid && (form.get('enquiry').touched || submitted)\n \"\n errorMsg=\"Enquiry is required\">\n </pw-field-error-display>\n </div>\n </div>\n </div>\n </div>\n <div class=\"text-end\">\n <div class=\"captcha-wrapper-container\"\n *ngIf=\"isCaptchaVerified\">\n <ngx-recaptcha2 [ngModelOptions]=\"{ standalone: true }\"\n [siteKey]=\"captchaKeyV2\"\n size=\"normal\"\n [(ngModel)]=\"recaptcha\"\n (success)=\"handleSuccess($event)\">\n </ngx-recaptcha2>\n </div>\n <button type=\"submit\"\n (click)=\"onSubmit()\"\n *ngIf=\"!isCaptchaVerified\"\n class=\"sign-btn sign-header-btn mt-3\">\n {{ 'Button.Submit' | transloco }}\n </button>\n </div>\n\n <div class=\"d-flex align-items-center mt-4\">\n <div class=\"icons d-flex align-items-center\">\n <a [eventTracker]=\"{\n category: 'youtube',\n action: 'click',\n label: 'cloudolive-landing-page-b',\n value: 1\n }\"\n [href]=\"youtubeUrl\"\n target=\"_blank\"\n rel=\"noopener noreferrer\">\n <img src=\"/assets/img/icons/youtube.png\"\n class=\"img-fluid youtube-icon\"\n width=\"54\"\n height=\"54\"\n alt=\"\" />\n </a>\n <a [eventTracker]=\"{\n category: 'linkedin',\n action: 'click',\n label: 'cloudolive-landing-page-b',\n value: 1\n }\"\n [href]=\"linkedInUrl\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n class=\"ms-3\">\n <img src=\"/assets/img/icons/social/linkedin.svg\"\n class=\"img-fluid linkedin-icon\"\n width=\"48\"\n height=\"48\"\n alt=\"\" />\n </a>\n <i *ngIf=\"canEditResourcesValue\"\n class=\"fa fa-edit in-page-edit-icon text-white cursor-pointer ms-3\"\n (click)=\"openSocialEditModal()\"\n (keydown.enter)=\"openSocialEditModal()\"\n (keydown.space)=\"openSocialEditModal()\"\n title=\"Edit Social Links & Company Name\"></i>\n </div>\n <div class=\"copyright text-white\">\n 2025 {{companyName}}.\n </div>\n </div>\n </form>\n </div>\n </ng-template>\n </div>\n </div>\n </div>\n</section>\n\n\n\n<ng-template #bookMeeting\n let-modal>\n <div class=\"modal-header\">\n <button type=\"button\"\n class=\"btn-close float-end\"\n aria-label=\"Close\"\n (click)=\"modal.dismiss()\">\n </button>\n </div>\n <div class=\"modal-body\">\n <h3 class=\"text-center modal-basic-title\">\n Thanks for getting in touch! Our team will be in contact shortly, or we\n can compare calendars now & schedule a time\n </h3>\n <button type=\"button\"\n [eventTracker]=\"{\n category: 'request-demo',\n action: 'click',\n label: 'cloudolive-landing-page-b',\n value: 1\n }\"\n (click)=\"navigateToBookMeeting()\"\n class=\"sign-btn sign-header-btn mx-auto d-block mb-3\">\n Let's do it\n </button>\n </div>\n</ng-template>\n\n\n<ng-template #editFooterLinksModal let-modal>\n <div class=\"modal-header\">\n <h5 class=\"modal-title\">Edit Footer Links</h5>\n <button type=\"button\" class=\"btn-close\" aria-label=\"Close\" (click)=\"modal.dismiss()\"></button>\n </div>\n\n <div class=\"modal-body\">\n <h4 class=\"mb-3\">Footer Links Section</h4>\n <div cdkDropList (cdkDropListDropped)=\"dropFooterLinks($event)\">\n <div *ngFor=\"let footer of editingFooterLinks.items; let i = index\" class=\"border p-3 mb-3\" cdkDrag>\n <div class=\"row\">\n <div class=\"col-md-5 mb-2\">\n <label for=\"footerTitle{{i}}\" class=\"form-label\">Title</label>\n <input id=\"footerTitle{{i}}\" class=\"form-control\" [(ngModel)]=\"footer.title\" />\n </div>\n <div class=\"col-md-5 mb-2\">\n <label for=\"footerPath{{i}}\" class=\"form-label\">Path</label>\n <input id=\"footerPath{{i}}\" class=\"form-control\" [(ngModel)]=\"footer.path\" />\n </div>\n <div class=\"col-md-2 d-flex justify-content-between align-items-center mt-4\">\n <i class=\"fa fa-trash in-page-trash-icon text-danger cursor-pointer\" (click)=\"removeFooterLink(i)\" (keydown.enter)=\"removeFooterLink(i)\" (keydown.space)=\"removeFooterLink(i)\"></i>\n <i class=\"fa fa-bars in-page-bars-icon cursor-move\" cdkDragHandle></i>\n </div>\n </div>\n\n <!-- Subtitles -->\n <div cdkDropList (cdkDropListDropped)=\"dropSubtitles(i, $event)\">\n <div *ngFor=\"let sub of footer.subtitles; let j = index\" class=\"row border p-3 mb-2 align-items-center\" cdkDrag>\n <div class=\"col-md-5\">\n <label for=\"subtitleTitle{{i}}{{j}}\" class=\"form-label\">Subtitle Title</label>\n <input id=\"subtitleTitle{{i}}{{j}}\" class=\"form-control\" [(ngModel)]=\"sub.title\" />\n </div>\n <div class=\"col-md-5\">\n <label for=\"subtitlePath{{i}}{{j}}\" class=\"form-label\">Subtitle Path</label>\n <input id=\"subtitlePath{{i}}{{j}}\" class=\"form-control\" [(ngModel)]=\"sub.path\" />\n </div>\n <div class=\"col-md-2 d-flex justify-content-between align-items-center mt-4\">\n <i class=\"fa fa-trash in-page-trash-icon text-danger cursor-pointer\" (click)=\"removeSubtitle(i, j)\" (keydown.enter)=\"removeSubtitle(i, j)\" (keydown.space)=\"removeSubtitle(i, j)\"></i>\n <i class=\"fa fa-bars cursor-move in-page-bars-icon\" cdkDragHandle></i>\n </div>\n </div>\n </div>\n\n <button class=\"btn btn-outline-primary btn-sm mt-2\" (click)=\"addSubtitle(i)\">\n + Add Subtitle\n </button>\n </div>\n </div>\n\n <button class=\"btn btn-primary mt-3\" (click)=\"addFooterLink()\">\n + Add Footer Link\n </button>\n </div>\n\n <div class=\"modal-footer\">\n <button class=\"btn btn-secondary\" (click)=\"modal.dismiss()\">Cancel</button>\n <button class=\"btn btn-primary\" (click)=\"saveFooterLinks(modal)\">Save</button>\n </div>\n</ng-template>\n\n\n\n\n\n<ng-template #logoModal let-modal>\n <div class=\"modal-header\">\n <h5 class=\"modal-title\">Upload Logo</h5>\n <button type=\"button\" class=\"btn-close\" aria-label=\"Close\" (click)=\"modal.dismiss()\"></button>\n </div>\n <div class=\"modal-body\">\n <pw-custom-uploader\n [aspectRatio]=\"'fullLogo'\"\n [title]=\"'Main Contrast Logo'\"\n [controlName]=\"'logo_main_contrast'\"\n [previewData]=\"previewData\"\n (saveEvent)=\"onSaveFile($event)\">\n </pw-custom-uploader>\n </div>\n</ng-template>\n\n\n\n<ng-template #hubspotEditModal let-modal>\n <div class=\"modal-header\">\n <h5 class=\"modal-title\">Edit Hubspot Embed</h5>\n <button type=\"button\" class=\"btn-close\" aria-label=\"Close\" (click)=\"modal.dismiss()\"></button>\n </div>\n <div class=\"modal-body\">\n <div class=\"mb-3\">\n <label for=\"hubspotId\" class=\"form-label\">Hubspot ID</label>\n <input id=\"hubspotId\" [(ngModel)]=\"editingHubspotId\" class=\"form-control\" />\n </div>\n <div class=\"mb-3\">\n <label for=\"hubspotEmbedDiv\" class=\"form-label\">Embed DIV</label>\n <textarea id=\"hubspotEmbedDiv\" [(ngModel)]=\"editingHubspotHtml\" rows=\"8\" class=\"form-control\"></textarea>\n </div>\n </div>\n <div class=\"modal-footer\">\n <button class=\"btn btn-primary\" (click)=\"saveHubspotHtml(modal)\">Save</button>\n <button class=\"btn btn-secondary\" (click)=\"modal.dismiss()\">Cancel</button>\n </div>\n</ng-template>\n\n\n<ng-template #socialEditModal let-modal>\n <div class=\"modal-header\">\n <h5 class=\"modal-title\">Edit Social Links & Company Name</h5>\n <button type=\"button\" class=\"btn-close\" aria-label=\"Close\" (click)=\"modal.dismiss()\"></button>\n </div>\n <div class=\"modal-body\">\n <div class=\"mb-3\">\n <label for=\"youtubeUrl\" class=\"form-label\">YouTube URL</label>\n <input id=\"youtubeUrl\" [(ngModel)]=\"editingYoutubeUrl\" class=\"form-control\" />\n </div>\n <div class=\"mb-3\">\n <label for=\"linkedinUrl\" class=\"form-label\">LinkedIn URL</label>\n <input id=\"linkedinUrl\" [(ngModel)]=\"editingLinkedInUrl\" class=\"form-control\" />\n </div>\n <div class=\"mb-3\">\n <label for=\"companyName\" class=\"form-label\">Company Name</label>\n <input id=\"companyName\" [(ngModel)]=\"editingCompanyName\" class=\"form-control\" />\n </div>\n </div>\n <div class=\"modal-footer\">\n <button class=\"btn btn-primary\" (click)=\"saveSocialLinks(modal)\">Save</button>\n <button class=\"btn btn-secondary\" (click)=\"modal.dismiss()\">Cancel</button>\n </div>\n</ng-template>\n\n\n\n<ng-template #questionsEditModal let-modal>\n <div class=\"modal-header\">\n <h5 class=\"modal-title\">Edit Questions</h5>\n <button type=\"button\" class=\"btn-close\" aria-label=\"Close\" (click)=\"modal.dismiss()\"></button>\n </div>\n\n <div class=\"modal-body\">\n <h4 class=\"mb-3\">Questions Section</h4>\n <div cdkDropList (cdkDropListDropped)=\"dropQuestions($event)\">\n <div *ngFor=\"let q of editingQuestions; let i = index\" class=\"border p-3 mb-3\" cdkDrag>\n <div class=\"row\">\n <div class=\"col-md-11 mb-2\">\n <label for=\"questionText{{i}}\" class=\"form-label\">Question</label>\n <input id=\"questionText{{i}}\" class=\"form-control\" [(ngModel)]=\"q.question\" placeholder=\"Enter question\" />\n </div>\n <div class=\"col-md-1 d-flex justify-content-end align-items-start mt-4\">\n <i class=\"fa fa-bars in-page-bars-icon cursor-move\" cdkDragHandle></i>\n </div>\n </div>\n\n <!-- Options Section -->\n <div cdkDropList (cdkDropListDropped)=\"dropQuestionOptions(i, $event)\">\n <div *ngFor=\"let opt of q.options; let j = index\" class=\"row border p-3 mb-2 align-items-center\" cdkDrag>\n <div class=\"col-md-7 mb-2\">\n <label for=\"questionOption{{i}}{{j}}\" class=\"form-label\">Option</label>\n <input id=\"questionOption{{i}}{{j}}\" class=\"form-control\" [(ngModel)]=\"opt.option\" placeholder=\"Enter option\" />\n </div>\n <div class=\"col-md-2 d-flex justify-content-between align-items-center mt-4\">\n <i class=\"fa fa-trash in-page-trash-icon text-danger cursor-pointer\" (click)=\"removeQuestionOption(i, j)\" (keydown.enter)=\"removeQuestionOption(i, j)\" (keydown.enter)=\"removeQuestionOption(i, j)\"></i>\n <i class=\"fa fa-bars in-page-bars-icon cursor-move\" cdkDragHandle></i>\n </div>\n </div>\n </div>\n\n <button class=\"btn btn-outline-primary btn-sm mt-2\" (click)=\"addQuestionOption(i)\">+ Add Option</button>\n </div>\n </div>\n\n <button class=\"btn btn-primary mt-3\" (click)=\"addNewQuestion()\">+ Add Question</button>\n </div>\n\n <div class=\"modal-footer\">\n <button class=\"btn btn-secondary\" (click)=\"modal.dismiss()\">Cancel</button>\n <button class=\"btn btn-primary\" (click)=\"saveQuestions(modal)\">Save</button>\n </div>\n</ng-template>\n\n\n\n\n\n", styles: [".product-explainer-section{background-color:#000}.footer-section input.form-control,.footer-section select.form-control,.footer-section textarea.form-control{background-color:#fff;border:none;color:#000;font-size:14px}.btn-primary{background-color:#007bff;border:none}.site-column{margin-top:2.9rem}.email-section{color:#fff;font-size:2rem}.address-section{margin-top:5rem}.address-text{line-height:2.2rem}.user-info{font-size:1.5rem}.user-info-label{font-size:1.7rem;font-weight:700}.contact-form form .form-field{display:flex;align-items:center;margin-bottom:1.2rem}.contact-form form .form-field label{width:130px;min-width:130px;margin:0;font-size:14px;color:#fff;font-weight:600;text-transform:uppercase;letter-spacing:1px}.contact-form form .form-field p-dropdown{width:100%}.contact-form form .form-field input,.contact-form form .form-field select,.contact-form form .form-field textarea,.contact-form form .form-field ::ng-deep p-dropdown .p-inputwrapper{flex:1;border:none;border-radius:30px;padding:12px 20px;font-size:14px;width:100%!important;max-width:100%;color:#000}.contact-form form .form-field textarea{resize:vertical}.contact-form form .submit-button{background-color:#3b82f6;border:none;border-radius:30px;font-size:16px;font-weight:500;padding:10px 24px;margin-top:1.2rem}.input-select{height:43px}.select-label{width:210px!important}.copyright{margin-top:2rem;margin-left:4rem;font-size:19px;font-weight:700}.d-flex img{margin-right:0!important}.youtube-icon{height:38px}.enquiry-field{margin-left:.5rem;width:63%}::ng-deep .text-danger{margin-top:.25rem!important;margin-left:.5rem!important}@media (min-width: 768px){.hubspot-container{margin-top:-3rem}}@media (min-width: 768px) and (max-width: 1200px){.container{padding:0rem 6rem!important}}.link-label{cursor:pointer;transition:color .3s}.link-label:hover{color:var(--first)}.icons img{transition:transform .3s ease,filter .3s ease;cursor:pointer}.icons img:hover{transform:scale(1.1);filter:brightness(1.2)}.logo-image{max-width:160px;width:160px;height:35px;object-fit:contain;aspect-ratio:160/35}\n"] }]
|
|
2191
|
+
}], ctorParameters: () => [{ type: i2$1.UntypedFormBuilder }, { type: i1.AuthService }, { type: i2$3.CrmService }, { type: i2$4.DomSanitizer }, { type: i5$1.AdminService }, { type: i0.Injector }, { type: i1.AbTestService }, { type: i5.NgbModal }, { type: i0.ChangeDetectorRef }, { type: Document, decorators: [{
|
|
2192
|
+
type: Inject,
|
|
2193
|
+
args: [DOCUMENT]
|
|
2194
|
+
}] }], propDecorators: { footerSection: [{
|
|
2195
|
+
type: ViewChild,
|
|
2196
|
+
args: ['footerSection', { static: true }]
|
|
2197
|
+
}], content: [{
|
|
2198
|
+
type: ViewChild,
|
|
2199
|
+
args: ['bookMeeting', { static: true }]
|
|
2200
|
+
}], editFooterLinksModal: [{
|
|
2201
|
+
type: ViewChild,
|
|
2202
|
+
args: ['editFooterLinksModal']
|
|
2203
|
+
}], logoModal: [{
|
|
2204
|
+
type: ViewChild,
|
|
2205
|
+
args: ['logoModal']
|
|
2206
|
+
}], logoUploader: [{
|
|
2207
|
+
type: ViewChild,
|
|
2208
|
+
args: ['logoUploader']
|
|
2209
|
+
}], hubspotEditModal: [{
|
|
2210
|
+
type: ViewChild,
|
|
2211
|
+
args: ['hubspotEditModal']
|
|
2212
|
+
}], socialEditModal: [{
|
|
2213
|
+
type: ViewChild,
|
|
2214
|
+
args: ['socialEditModal']
|
|
2215
|
+
}], questionsEditModal: [{
|
|
2216
|
+
type: ViewChild,
|
|
2217
|
+
args: ['questionsEditModal']
|
|
2218
|
+
}], subscriptionId: [{
|
|
2219
|
+
type: Input
|
|
2220
|
+
}], sourceId: [{
|
|
2221
|
+
type: Input
|
|
2222
|
+
}], masterSubscriptionId: [{
|
|
2223
|
+
type: Input
|
|
2224
|
+
}], experimentName: [{
|
|
2225
|
+
type: Input
|
|
2226
|
+
}], microserviceName: [{
|
|
2227
|
+
type: Input
|
|
2228
|
+
}], shardName: [{
|
|
2229
|
+
type: Input
|
|
2230
|
+
}], user: [{
|
|
2231
|
+
type: Input
|
|
2232
|
+
}], userLoggedIn: [{
|
|
2233
|
+
type: Input
|
|
2234
|
+
}] } });
|
|
2235
|
+
|
|
2236
|
+
/**
|
|
2237
|
+
* Lightweight standalone module for Trial4ContactUsComponent (pw-trial-4-contact-us)
|
|
2238
|
+
* Located in public-modules - NO dependencies on shared-components or resource-shared
|
|
2239
|
+
*
|
|
2240
|
+
* NO dependencies on:
|
|
2241
|
+
* - shared-components
|
|
2242
|
+
* - resource-module/resource-shared
|
|
2243
|
+
*
|
|
2244
|
+
* Only uses:
|
|
2245
|
+
* - Lightweight core modules (DirectivesModule, PipesModule, CoreTranslocoModule)
|
|
2246
|
+
* - Utils modules (ProfileImageCropperModule, FieldErrorDisplayModule)
|
|
2247
|
+
* - AdminModuleUtilsModule (for admin features)
|
|
2248
|
+
*/
|
|
2249
|
+
class Trial4ContactUsModule {
|
|
2250
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: Trial4ContactUsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2251
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.11", ngImport: i0, type: Trial4ContactUsModule, declarations: [Trial4ContactUsComponent], imports: [CommonModule,
|
|
2252
|
+
FormsModule,
|
|
2253
|
+
ReactiveFormsModule,
|
|
2254
|
+
RouterModule,
|
|
2255
|
+
DragDropModule,
|
|
2256
|
+
NgbModalModule,
|
|
2257
|
+
NgbTooltipModule,
|
|
2258
|
+
DirectivesModule,
|
|
2259
|
+
PipesModule,
|
|
2260
|
+
CoreTranslocoModule,
|
|
2261
|
+
NgxCaptchaModule,
|
|
2262
|
+
DropdownModule,
|
|
2263
|
+
ProfileImageCropperModule, // For pw-custom-uploader + pw-image-cropper
|
|
2264
|
+
FieldErrorDisplayModule, // For pw-field-error-display
|
|
2265
|
+
AdminModuleUtilsModule], exports: [Trial4ContactUsComponent] }); }
|
|
2266
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: Trial4ContactUsModule, imports: [CommonModule,
|
|
2267
|
+
FormsModule,
|
|
2268
|
+
ReactiveFormsModule,
|
|
2269
|
+
RouterModule,
|
|
2270
|
+
DragDropModule,
|
|
2271
|
+
NgbModalModule,
|
|
2272
|
+
NgbTooltipModule,
|
|
2273
|
+
DirectivesModule,
|
|
2274
|
+
PipesModule,
|
|
2275
|
+
CoreTranslocoModule,
|
|
2276
|
+
NgxCaptchaModule,
|
|
2277
|
+
DropdownModule,
|
|
2278
|
+
ProfileImageCropperModule, // For pw-custom-uploader + pw-image-cropper
|
|
2279
|
+
FieldErrorDisplayModule, // For pw-field-error-display
|
|
2280
|
+
AdminModuleUtilsModule] }); }
|
|
2281
|
+
}
|
|
2282
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: Trial4ContactUsModule, decorators: [{
|
|
2283
|
+
type: NgModule,
|
|
2284
|
+
args: [{
|
|
2285
|
+
declarations: [Trial4ContactUsComponent],
|
|
2286
|
+
imports: [
|
|
2287
|
+
CommonModule,
|
|
2288
|
+
FormsModule,
|
|
2289
|
+
ReactiveFormsModule,
|
|
2290
|
+
RouterModule,
|
|
2291
|
+
DragDropModule,
|
|
2292
|
+
NgbModalModule,
|
|
2293
|
+
NgbTooltipModule,
|
|
2294
|
+
DirectivesModule,
|
|
2295
|
+
PipesModule,
|
|
2296
|
+
CoreTranslocoModule,
|
|
2297
|
+
NgxCaptchaModule,
|
|
2298
|
+
DropdownModule,
|
|
2299
|
+
ProfileImageCropperModule, // For pw-custom-uploader + pw-image-cropper
|
|
2300
|
+
FieldErrorDisplayModule, // For pw-field-error-display
|
|
2301
|
+
AdminModuleUtilsModule
|
|
2302
|
+
],
|
|
2303
|
+
exports: [Trial4ContactUsComponent]
|
|
2304
|
+
}]
|
|
2305
|
+
}] });
|
|
2306
|
+
|
|
1745
2307
|
/**
|
|
1746
2308
|
* Generated bundle index. Do not edit.
|
|
1747
2309
|
*/
|
|
1748
2310
|
|
|
1749
|
-
export { AbAlternativeComponent, AbTestContainerComponent, AbTestModule, BaseContactFormComponent, BaseLandingPageComponent, CareersComponent, CareersContactUsComponent, CareersExplainerComponent, CommunicationAndNotificationsComponent, CoreFeatureExplainerComponent, CoreFeaturesComponent, CustomerSuccessComponent, EnterpriseManagementComponent, ErrorPageComponent, ErrorStatusPagesModule, GeoTemplateComponent, IncidentsStatusComponent, IpManagementComponent, LandingPageAboutUsBComponent, LandingPageAboutUsComponent, LandingPageBannerBComponent, LandingPageBannerComponent, LandingPageChangeAdaptBComponent, LandingPageChangeAdaptComponent, LandingPageComponent, LandingPageContactBComponent, LandingPageContactComponent, LandingPageFooterComponent, LandingPageHeaderBComponent, LandingPageHeaderComponent, LandingPageInnovateBComponent, LandingPageInnovateComponent, LandingPageOurProductsBComponent, LandingPageOurProductsComponent, LandingPageServicesBComponent, LandingPageServicesComponent, LandingPageSharedComponentsModule, LandingPageSubscribeBComponent, LandingPageSubscribeComponent, LandingPageTeamBComponent, LandingPageTeamComponent, LandingPageTestimonialsBComponent, LandingPageTestimonialsComponent, LockScreenPageComponent, MainExplainerBComponent, MainExplainerComponent, MaintenancePageComponent, NotfoundPageComponent, PaymentsComponent, PublicModule, ResourceMeetingsComponent, SecurityComponent, UiBuilderComponent, UserManagementComponent, VentureComponent, VentureExplainerComponent };
|
|
2311
|
+
export { AbAlternativeComponent, AbTestContainerComponent, AbTestModule, BaseContactFormComponent, BaseLandingPageComponent, CareersComponent, CareersContactUsComponent, CareersExplainerComponent, CommunicationAndNotificationsComponent, CoreFeatureExplainerComponent, CoreFeaturesComponent, CustomerSuccessComponent, EnterpriseManagementComponent, ErrorPageComponent, ErrorStatusPagesModule, GeoTemplateComponent, IncidentsStatusComponent, IpManagementComponent, LandingPageAboutUsBComponent, LandingPageAboutUsComponent, LandingPageBannerBComponent, LandingPageBannerComponent, LandingPageChangeAdaptBComponent, LandingPageChangeAdaptComponent, LandingPageComponent, LandingPageContactBComponent, LandingPageContactComponent, LandingPageFooterComponent, LandingPageHeaderBComponent, LandingPageHeaderComponent, LandingPageInnovateBComponent, LandingPageInnovateComponent, LandingPageOurProductsBComponent, LandingPageOurProductsComponent, LandingPageServicesBComponent, LandingPageServicesComponent, LandingPageSharedComponentsModule, LandingPageSubscribeBComponent, LandingPageSubscribeComponent, LandingPageTeamBComponent, LandingPageTeamComponent, LandingPageTestimonialsBComponent, LandingPageTestimonialsComponent, LockScreenPageComponent, MainExplainerBComponent, MainExplainerComponent, MaintenancePageComponent, NotfoundPageComponent, PaymentsComponent, PublicModule, ResourceMeetingsComponent, SecurityComponent, Trial4ContactUsComponent, Trial4ContactUsModule, UiBuilderComponent, UserManagementComponent, VentureComponent, VentureExplainerComponent };
|
|
1750
2312
|
//# sourceMappingURL=posiwise-public-modules.mjs.map
|