@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
package/index.d.ts
CHANGED
|
@@ -54,3 +54,6 @@ export { LockScreenPageComponent } from './lib/lock-screen/lock-screen-page.comp
|
|
|
54
54
|
export { MaintenancePageComponent } from './lib/maintenance/maintenance-page.component';
|
|
55
55
|
export { ResourceMeetingsComponent } from './lib/resource-meetings/resource-meetings.component';
|
|
56
56
|
export { NotfoundPageComponent } from './lib/notfound-page/notfound-page.component';
|
|
57
|
+
export * from './lib/components/trial4-contact-us/trial4-contact-us.module';
|
|
58
|
+
export * from './lib/components/trial4-contact-us/trial4-contact-us.component';
|
|
59
|
+
export * from './lib/shared/resource-modal.interface';
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
|
+
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
4
|
+
import { AdminService } from '@posiwise/admin-module-utils';
|
|
5
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
6
|
+
import { AbTestService, AuthService } from '@posiwise/common-services';
|
|
7
|
+
import { User } from '@posiwise/common-utilities';
|
|
8
|
+
import { CustomUploaderComponent } from '@posiwise/utils';
|
|
9
|
+
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
10
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
11
|
+
import { ResourceModalContext } from '../../shared/resource-modal.interface';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
export declare class Trial4ContactUsComponent extends AppBaseComponent implements OnInit, AfterViewInit, OnChanges, OnDestroy {
|
|
14
|
+
private readonly fb;
|
|
15
|
+
private readonly authService;
|
|
16
|
+
private readonly crmService;
|
|
17
|
+
private readonly sanitizer;
|
|
18
|
+
private readonly adminService;
|
|
19
|
+
private readonly abTestService;
|
|
20
|
+
private readonly modalService;
|
|
21
|
+
private readonly cdr;
|
|
22
|
+
private readonly document;
|
|
23
|
+
footerSection: ElementRef;
|
|
24
|
+
content: TemplateRef<ResourceModalContext>;
|
|
25
|
+
editFooterLinksModal: TemplateRef<CustomUploaderComponent>;
|
|
26
|
+
logoModal: TemplateRef<CustomUploaderComponent>;
|
|
27
|
+
logoUploader: CustomUploaderComponent;
|
|
28
|
+
hubspotEditModal: TemplateRef<ResourceModalContext>;
|
|
29
|
+
socialEditModal: TemplateRef<CustomUploaderComponent>;
|
|
30
|
+
questionsEditModal: TemplateRef<CustomUploaderComponent>;
|
|
31
|
+
editingQuestions: any[];
|
|
32
|
+
isHubspotReady: boolean;
|
|
33
|
+
isFooterVisible: boolean;
|
|
34
|
+
private observer?;
|
|
35
|
+
openQuestionsEditModal(): void;
|
|
36
|
+
editingYoutubeUrl: string;
|
|
37
|
+
editingLinkedInUrl: string;
|
|
38
|
+
editingCompanyName: string;
|
|
39
|
+
form: UntypedFormGroup;
|
|
40
|
+
recaptcha: any;
|
|
41
|
+
previewData: any;
|
|
42
|
+
subscriptionId: any;
|
|
43
|
+
sourceId: any;
|
|
44
|
+
masterSubscriptionId: any;
|
|
45
|
+
experimentName: any;
|
|
46
|
+
microserviceName: any;
|
|
47
|
+
shardName: any;
|
|
48
|
+
user: User;
|
|
49
|
+
canEditResourcesValue: boolean;
|
|
50
|
+
userLoggedIn: boolean;
|
|
51
|
+
id: any;
|
|
52
|
+
logo: any;
|
|
53
|
+
trialBgImage2: any;
|
|
54
|
+
tosId: any;
|
|
55
|
+
description: any;
|
|
56
|
+
email: any;
|
|
57
|
+
companyName: any;
|
|
58
|
+
street: any;
|
|
59
|
+
questions: any;
|
|
60
|
+
hubspot: any;
|
|
61
|
+
footerLinks: any;
|
|
62
|
+
footerLinksData: any;
|
|
63
|
+
youtubeUrl: any;
|
|
64
|
+
linkedInUrl: any;
|
|
65
|
+
domainId: any;
|
|
66
|
+
editingEmail: any;
|
|
67
|
+
isEditingEmail: boolean;
|
|
68
|
+
editingHubspotHtml: string;
|
|
69
|
+
editingHubspotId: string;
|
|
70
|
+
captchaKeyV2: string;
|
|
71
|
+
hubspotHtml: any;
|
|
72
|
+
abTests: any;
|
|
73
|
+
submitted: boolean;
|
|
74
|
+
isCaptchaVerified: boolean;
|
|
75
|
+
isEmailValid: boolean;
|
|
76
|
+
isEditingStreet: boolean;
|
|
77
|
+
psaOptions: any;
|
|
78
|
+
question: any;
|
|
79
|
+
editingFooterLinks: {
|
|
80
|
+
items: any[];
|
|
81
|
+
};
|
|
82
|
+
editingStreet: string;
|
|
83
|
+
constructor(fb: UntypedFormBuilder, authService: AuthService, crmService: CrmService, sanitizer: DomSanitizer, adminService: AdminService, injector: Injector, abTestService: AbTestService, modalService: NgbModal, cdr: ChangeDetectorRef, document: Document);
|
|
84
|
+
ngOnInit(): void;
|
|
85
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
86
|
+
openLogoEditModal(): void;
|
|
87
|
+
onSaveFile(event: any): void;
|
|
88
|
+
saveQuestions(modal: any): void;
|
|
89
|
+
addNewQuestion(): void;
|
|
90
|
+
addQuestionOption(qIndex: number): void;
|
|
91
|
+
removeQuestionOption(qIndex: number, optIndex: number): void;
|
|
92
|
+
dropQuestions(event: any): void;
|
|
93
|
+
dropQuestionOptions(qIndex: number, event: any): void;
|
|
94
|
+
openSocialEditModal(): void;
|
|
95
|
+
saveSocialLinks(modal: any): void;
|
|
96
|
+
hasValidOptions(): boolean;
|
|
97
|
+
ngAfterViewInit(): void;
|
|
98
|
+
openEditFooterLinksModal(content: any): void;
|
|
99
|
+
private watchIframeHeightChange;
|
|
100
|
+
onHubspotLoad(event: Event): void;
|
|
101
|
+
private callAbTestFinish;
|
|
102
|
+
contactUsForm(): void;
|
|
103
|
+
onSubmit(): void;
|
|
104
|
+
handleSuccess(token: string): void;
|
|
105
|
+
scrollToTop(): void;
|
|
106
|
+
getFooterHubspotForm(): any;
|
|
107
|
+
navigateToBookMeeting(): void;
|
|
108
|
+
validateEmail(): void;
|
|
109
|
+
addFooterLink(): void;
|
|
110
|
+
removeFooterLink(index: number): void;
|
|
111
|
+
addSubtitle(footerIndex: number): void;
|
|
112
|
+
removeSubtitle(footerIndex: number, subtitleIndex: number): void;
|
|
113
|
+
dropFooterLinks(event: any): void;
|
|
114
|
+
dropSubtitles(footerIndex: number, event: any): void;
|
|
115
|
+
saveFooterLinks(modal: any): void;
|
|
116
|
+
saveEmail(): void;
|
|
117
|
+
saveStreet(): void;
|
|
118
|
+
cancelStreet(): void;
|
|
119
|
+
openHubspotEditModal(footerItem: any): void;
|
|
120
|
+
saveHubspotHtml(modal: any): void;
|
|
121
|
+
private updateCanEditResourcesValue;
|
|
122
|
+
canEditResources(): boolean;
|
|
123
|
+
ngOnDestroy(): void;
|
|
124
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Trial4ContactUsComponent, never>;
|
|
125
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Trial4ContactUsComponent, "pw-trial-4-contact-us", never, { "subscriptionId": { "alias": "subscriptionId"; "required": false; }; "sourceId": { "alias": "sourceId"; "required": false; }; "masterSubscriptionId": { "alias": "masterSubscriptionId"; "required": false; }; "experimentName": { "alias": "experimentName"; "required": false; }; "microserviceName": { "alias": "microserviceName"; "required": false; }; "shardName": { "alias": "shardName"; "required": false; }; "user": { "alias": "user"; "required": false; }; "userLoggedIn": { "alias": "userLoggedIn"; "required": false; }; }, {}, never, never, false, never>;
|
|
126
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./trial4-contact-us.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "@angular/router";
|
|
6
|
+
import * as i5 from "@angular/cdk/drag-drop";
|
|
7
|
+
import * as i6 from "@ng-bootstrap/ng-bootstrap";
|
|
8
|
+
import * as i7 from "@posiwise/directives";
|
|
9
|
+
import * as i8 from "@posiwise/pipes";
|
|
10
|
+
import * as i9 from "@posiwise/core-transloco";
|
|
11
|
+
import * as i10 from "ngx-captcha";
|
|
12
|
+
import * as i11 from "primeng/dropdown";
|
|
13
|
+
import * as i12 from "@posiwise/utils";
|
|
14
|
+
import * as i13 from "@posiwise/admin-module-utils";
|
|
15
|
+
/**
|
|
16
|
+
* Lightweight standalone module for Trial4ContactUsComponent (pw-trial-4-contact-us)
|
|
17
|
+
* Located in public-modules - NO dependencies on shared-components or resource-shared
|
|
18
|
+
*
|
|
19
|
+
* NO dependencies on:
|
|
20
|
+
* - shared-components
|
|
21
|
+
* - resource-module/resource-shared
|
|
22
|
+
*
|
|
23
|
+
* Only uses:
|
|
24
|
+
* - Lightweight core modules (DirectivesModule, PipesModule, CoreTranslocoModule)
|
|
25
|
+
* - Utils modules (ProfileImageCropperModule, FieldErrorDisplayModule)
|
|
26
|
+
* - AdminModuleUtilsModule (for admin features)
|
|
27
|
+
*/
|
|
28
|
+
export declare class Trial4ContactUsModule {
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Trial4ContactUsModule, never>;
|
|
30
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<Trial4ContactUsModule, [typeof i1.Trial4ContactUsComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.RouterModule, typeof i5.DragDropModule, typeof i6.NgbModalModule, typeof i6.NgbTooltipModule, typeof i7.DirectivesModule, typeof i8.PipesModule, typeof i9.CoreTranslocoModule, typeof i10.NgxCaptchaModule, typeof i11.DropdownModule, typeof i12.ProfileImageCropperModule, typeof i12.FieldErrorDisplayModule, typeof i13.AdminModuleUtilsModule], [typeof i1.Trial4ContactUsComponent]>;
|
|
31
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<Trial4ContactUsModule>;
|
|
32
|
+
}
|
|
@@ -11,7 +11,7 @@ import * as i9 from "@angular/router";
|
|
|
11
11
|
import * as i10 from "@posiwise/core-transloco";
|
|
12
12
|
import * as i11 from "ngx-pagination";
|
|
13
13
|
import * as i12 from "@ng-bootstrap/ng-bootstrap";
|
|
14
|
-
import * as i13 from "@posiwise/
|
|
14
|
+
import * as i13 from "@posiwise/utils";
|
|
15
15
|
import * as i14 from "@posiwise/shared-components";
|
|
16
16
|
export declare class ErrorStatusPagesModule {
|
|
17
17
|
constructor();
|
|
@@ -33,7 +33,7 @@ import * as i31 from "@posiwise/core-transloco";
|
|
|
33
33
|
import * as i32 from "@posiwise/directives";
|
|
34
34
|
import * as i33 from "@posiwise/pipes";
|
|
35
35
|
import * as i34 from "ngx-captcha";
|
|
36
|
-
import * as i35 from "@posiwise/
|
|
36
|
+
import * as i35 from "@posiwise/utils";
|
|
37
37
|
import * as i36 from "./ab-test/ab-test.module";
|
|
38
38
|
/**
|
|
39
39
|
* Dedicated module for landing page components only.
|