@posiwise/user-module 0.0.141 → 0.0.143

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.
Files changed (34) hide show
  1. package/fesm2022/posiwise-user-module.mjs +334 -177
  2. package/fesm2022/posiwise-user-module.mjs.map +1 -1
  3. package/package.json +6 -6
  4. package/types/posiwise-user-module.d.ts +992 -0
  5. package/index.d.ts +0 -28
  6. package/lib/account/account-details/account-details.component.d.ts +0 -75
  7. package/lib/account/account.component.d.ts +0 -14
  8. package/lib/account/subscriptions/add-subscription/add-subscription.component.d.ts +0 -36
  9. package/lib/account/subscriptions/saved-card-details/saved-card-details.component.d.ts +0 -32
  10. package/lib/account/subscriptions/subscription-credential/subscription-credential.component.d.ts +0 -59
  11. package/lib/account/subscriptions/update-payment-details/update-payment-details.component.d.ts +0 -33
  12. package/lib/account/subscriptions/upgrade-subscription/upgrade-subscription.component.d.ts +0 -58
  13. package/lib/account/subscriptions/user-subscription-details/user-subscription-details.component.d.ts +0 -67
  14. package/lib/account/subscriptions/user-subscriptions-list/user-subscriptions-list.component.d.ts +0 -81
  15. package/lib/account/user-invoice/user-invoice.component.d.ts +0 -25
  16. package/lib/settings-tabs/communication-tab/communication-tab.component.d.ts +0 -23
  17. package/lib/settings-tabs/others-tab/others-tab.component.d.ts +0 -19
  18. package/lib/settings-tabs/security-tab/security-tab.component.d.ts +0 -32
  19. package/lib/settings-tabs/settings-tabs.component.d.ts +0 -15
  20. package/lib/shared/interface/user-module.interface.d.ts +0 -144
  21. package/lib/support/support-details/support-details.component.d.ts +0 -32
  22. package/lib/support/support.component.d.ts +0 -16
  23. package/lib/user-module.module.d.ts +0 -53
  24. package/lib/user-profile/edit-portfolios/edit-portfolios.component.d.ts +0 -37
  25. package/lib/user-profile/edit-project-modal/edit-project-modal.component.d.ts +0 -38
  26. package/lib/user-profile/edit-qualifications-modal/edit-qualifications-modal.component.d.ts +0 -31
  27. package/lib/user-profile/edit-recommendation-modal/edit-recommendation-modal.component.d.ts +0 -23
  28. package/lib/user-profile/edit-skills-modal/edit-skills-modal.component.d.ts +0 -36
  29. package/lib/user-profile/edit-social-links/edit-social-links.component.d.ts +0 -26
  30. package/lib/user-profile/edit-user-profile-modal/edit-user-profile-modal.component.d.ts +0 -35
  31. package/lib/user-profile/user-about/user-about.component.d.ts +0 -55
  32. package/lib/user-profile/user-portfolios/user-portfolios.component.d.ts +0 -24
  33. package/lib/user-profile/user-profile-page.component.d.ts +0 -47
  34. package/lib/user-profile/user-projects/user-projects.component.d.ts +0 -35
@@ -1,144 +0,0 @@
1
- export interface CredentialData {
2
- name: string;
3
- field: string;
4
- description?: string;
5
- id?: number;
6
- is_required?: boolean;
7
- value?: string;
8
- subscription_credential_id?: number;
9
- credential_id?: number;
10
- }
11
- export interface SubscriptionCredentialGroup {
12
- credential_name: string;
13
- credentials: Credential[];
14
- }
15
- export interface CardDetails {
16
- card_number?: string;
17
- cvc: string;
18
- exp_month: string;
19
- exp_year: string;
20
- }
21
- export interface StripeCardResponse {
22
- id: string;
23
- object: string;
24
- card: {
25
- id: string;
26
- object: string;
27
- address_city: string | null;
28
- address_country: string | null;
29
- address_line1: string | null;
30
- address_line1_check: string | null;
31
- address_line2: string | null;
32
- address_state: string | null;
33
- address_zip: string | null;
34
- address_zip_check: string | null;
35
- brand: string;
36
- country: string;
37
- cvc_check: string | null;
38
- dynamic_last4: string | null;
39
- exp_month: string;
40
- exp_year: number;
41
- funding: string;
42
- last4: string;
43
- name: string | null;
44
- tokenization_method: string | null;
45
- };
46
- client_ip: string | null;
47
- created: number;
48
- email: string | null;
49
- liveMode: boolean;
50
- type: string;
51
- used: boolean;
52
- error?: {
53
- message: string;
54
- };
55
- }
56
- export interface UserProfile {
57
- slug: string;
58
- headline: string;
59
- }
60
- export interface UserRelationship {
61
- followed_id: number;
62
- follower_id: number;
63
- }
64
- export interface AboutUser {
65
- id: number;
66
- slug: string;
67
- email: string;
68
- joined_at: string;
69
- profile?: AboutUserProfile;
70
- }
71
- export interface AboutUserProfile {
72
- description: string;
73
- dob: string;
74
- country: string;
75
- website_url: string;
76
- gender: string;
77
- phone_number: string;
78
- }
79
- export interface Qualification {
80
- id: number;
81
- degree: string;
82
- course: string;
83
- school: string;
84
- started_on: string;
85
- ended_on: string;
86
- }
87
- export interface UserLink {
88
- [key: string]: string;
89
- }
90
- export interface Skill {
91
- category_name: string;
92
- tags: {
93
- name: string;
94
- }[];
95
- }
96
- export interface ModalContext {
97
- modal: {
98
- dismiss: () => void;
99
- close: () => void;
100
- };
101
- }
102
- export interface EditUser {
103
- id: number;
104
- slug: string;
105
- email: string;
106
- joined_at: string;
107
- first_name: string;
108
- last_name: string;
109
- profile?: EditUserProfile;
110
- }
111
- export interface EditUserProfile {
112
- description: string;
113
- dob: string;
114
- country: string;
115
- website_url: string;
116
- gender: string;
117
- phone_number: string;
118
- postcode: string;
119
- location?: string;
120
- state: string;
121
- province: string;
122
- }
123
- export interface SocialLinks {
124
- youtube: string;
125
- skype: string;
126
- linkedin: string;
127
- twitter: string;
128
- instagram: string;
129
- facebook: string;
130
- stackOverflow: string;
131
- github: string;
132
- bitbucket: string;
133
- gitlab: string;
134
- }
135
- export interface ValidationError {
136
- urlMalformed?: {
137
- value: string;
138
- };
139
- }
140
- export interface CurrentItem {
141
- id: number;
142
- api_access_token?: string;
143
- masked?: string;
144
- }
@@ -1,32 +0,0 @@
1
- import { AfterViewInit, ElementRef, Injector, OnInit, Renderer2 } from '@angular/core';
2
- import { UntypedFormGroup } from '@angular/forms';
3
- import { AppBaseComponent } from '@posiwise/app-base-component';
4
- import { AuthService, CommonService } from '@posiwise/common-services';
5
- import * as i0 from "@angular/core";
6
- export declare class SupportDetailsComponent extends AppBaseComponent implements AfterViewInit, OnInit {
7
- private readonly commonService;
8
- private readonly authService;
9
- private readonly renderer;
10
- private readonly el;
11
- form: UntypedFormGroup;
12
- uploadedFiles: any[];
13
- invalidFile: boolean;
14
- isSubmitClicked: boolean;
15
- siteKey: string;
16
- recaptcha: any;
17
- isLoading: boolean;
18
- filesUploaded: boolean;
19
- subscriptionId: any;
20
- constructor(injector: Injector, commonService: CommonService, authService: AuthService, renderer: Renderer2, el: ElementRef);
21
- ngOnInit(): void;
22
- ngAfterViewInit(): void;
23
- onSave(): void;
24
- handleSuccess(token: string): void;
25
- onSelect(event?: any): void;
26
- onRemove(event: any): void;
27
- attachCloseButtonListener(): void;
28
- handleCloseButtonClick(): void;
29
- onUploadError(event: any): void;
30
- static ɵfac: i0.ɵɵFactoryDeclaration<SupportDetailsComponent, never>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<SupportDetailsComponent, "pw-support-details", never, {}, {}, never, never, false, never>;
32
- }
@@ -1,16 +0,0 @@
1
- import { Injector, OnInit } from '@angular/core';
2
- import { AppBaseComponent } from '@posiwise/app-base-component';
3
- import { CommonService } from '@posiwise/common-services';
4
- import * as i0 from "@angular/core";
5
- export declare class SupportComponent extends AppBaseComponent implements OnInit {
6
- private readonly commonService;
7
- supports: any[];
8
- subscriptionId: number;
9
- isLoading: boolean;
10
- isLoaded: boolean;
11
- constructor(injector: Injector, commonService: CommonService);
12
- ngOnInit(): void;
13
- private getAllSupport;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<SupportComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<SupportComponent, "pw-support", never, {}, {}, never, never, false, never>;
16
- }
@@ -1,53 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./account/account.component";
3
- import * as i2 from "./account/account-details/account-details.component";
4
- import * as i3 from "./account/subscriptions/add-subscription/add-subscription.component";
5
- import * as i4 from "./account/subscriptions/saved-card-details/saved-card-details.component";
6
- import * as i5 from "./account/subscriptions/subscription-credential/subscription-credential.component";
7
- import * as i6 from "./account/subscriptions/update-payment-details/update-payment-details.component";
8
- import * as i7 from "./account/subscriptions/upgrade-subscription/upgrade-subscription.component";
9
- import * as i8 from "./account/subscriptions/user-subscription-details/user-subscription-details.component";
10
- import * as i9 from "./account/subscriptions/user-subscriptions-list/user-subscriptions-list.component";
11
- import * as i10 from "./account/user-invoice/user-invoice.component";
12
- import * as i11 from "./settings-tabs/communication-tab/communication-tab.component";
13
- import * as i12 from "./settings-tabs/others-tab/others-tab.component";
14
- import * as i13 from "./settings-tabs/security-tab/security-tab.component";
15
- import * as i14 from "./settings-tabs/settings-tabs.component";
16
- import * as i15 from "./support/support.component";
17
- import * as i16 from "./user-profile/edit-portfolios/edit-portfolios.component";
18
- import * as i17 from "./user-profile/edit-project-modal/edit-project-modal.component";
19
- import * as i18 from "./user-profile/edit-qualifications-modal/edit-qualifications-modal.component";
20
- import * as i19 from "./user-profile/edit-recommendation-modal/edit-recommendation-modal.component";
21
- import * as i20 from "./user-profile/edit-skills-modal/edit-skills-modal.component";
22
- import * as i21 from "./user-profile/edit-social-links/edit-social-links.component";
23
- import * as i22 from "./user-profile/edit-user-profile-modal/edit-user-profile-modal.component";
24
- import * as i23 from "./user-profile/user-about/user-about.component";
25
- import * as i24 from "./user-profile/user-portfolios/user-portfolios.component";
26
- import * as i25 from "./user-profile/user-profile-page.component";
27
- import * as i26 from "./user-profile/user-projects/user-projects.component";
28
- import * as i27 from "./support/support-details/support-details.component";
29
- import * as i28 from "primeng/inputtext";
30
- import * as i29 from "@posiwise/directives";
31
- import * as i30 from "@angular/common";
32
- import * as i31 from "@angular/router";
33
- import * as i32 from "@angular/forms";
34
- import * as i33 from "@posiwise/core-transloco";
35
- import * as i34 from "@angular-magic/ngx-gp-autocomplete";
36
- import * as i35 from "@posiwise/shared-components";
37
- import * as i36 from "@posiwise/pipes";
38
- import * as i37 from "ngx-ui-switch";
39
- import * as i38 from "ngx-captcha";
40
- import * as i39 from "primeng/calendar";
41
- import * as i40 from "primeng/multiselect";
42
- import * as i41 from "primeng/progressspinner";
43
- import * as i42 from "primeng/accordion";
44
- import * as i43 from "primeng/fileupload";
45
- import * as i44 from "primeng/select";
46
- import * as i45 from "primeng/rating";
47
- import * as i46 from "primeng/selectbutton";
48
- import * as i47 from "@ng-bootstrap/ng-bootstrap";
49
- export declare class UserModuleModule {
50
- static ɵfac: i0.ɵɵFactoryDeclaration<UserModuleModule, never>;
51
- static ɵmod: i0.ɵɵNgModuleDeclaration<UserModuleModule, [typeof i1.AccountComponent, typeof i2.AccountDetailsComponent, typeof i3.AddSubscriptionComponent, typeof i4.SavedCardDetailsComponent, typeof i5.SubscriptionCredentialComponent, typeof i6.UpdatePaymentDetailsComponent, typeof i7.UpgradeSubscriptionComponent, typeof i8.UserSubscriptionDetailsComponent, typeof i9.UserSubscriptionListComponent, typeof i10.UserInvoiceComponent, typeof i11.CommunicationTabComponent, typeof i12.OthersTabComponent, typeof i13.SecurityTabComponent, typeof i14.SettingsComponent, typeof i15.SupportComponent, typeof i16.EditPortfoliosComponent, typeof i17.EditProjectModalComponent, typeof i18.EditQualificationsModalComponent, typeof i19.EditRecommendationModalComponent, typeof i20.EditSkillsModalComponent, typeof i21.EditSocialLinksComponent, typeof i22.EditUserProfileModalComponent, typeof i23.UserAboutComponent, typeof i24.PortfoliosComponent, typeof i25.UserProfilePageComponent, typeof i26.UserProjectsComponent, typeof i27.SupportDetailsComponent], [typeof i28.InputTextModule, typeof i29.DirectivesModule, typeof i30.CommonModule, typeof i31.RouterModule, typeof i32.ReactiveFormsModule, typeof i33.CoreTranslocoModule, typeof i34.NgxGpAutocompleteModule, typeof i35.SharedComponentsModule, typeof i36.PipesModule, typeof i37.UiSwitchModule, typeof i38.NgxCaptchaModule, typeof i32.FormsModule, typeof i39.CalendarModule, typeof i40.MultiSelectModule, typeof i41.ProgressSpinnerModule, typeof i42.AccordionModule, typeof i43.FileUploadModule, typeof i44.SelectModule, typeof i45.RatingModule, typeof i46.SelectButtonModule, typeof i47.NgbModalModule, typeof i47.NgbDatepickerModule], [typeof i1.AccountComponent, typeof i2.AccountDetailsComponent, typeof i3.AddSubscriptionComponent, typeof i4.SavedCardDetailsComponent, typeof i5.SubscriptionCredentialComponent, typeof i6.UpdatePaymentDetailsComponent, typeof i7.UpgradeSubscriptionComponent, typeof i8.UserSubscriptionDetailsComponent, typeof i9.UserSubscriptionListComponent, typeof i10.UserInvoiceComponent, typeof i11.CommunicationTabComponent, typeof i12.OthersTabComponent, typeof i13.SecurityTabComponent, typeof i14.SettingsComponent, typeof i15.SupportComponent, typeof i16.EditPortfoliosComponent, typeof i17.EditProjectModalComponent, typeof i18.EditQualificationsModalComponent, typeof i19.EditRecommendationModalComponent, typeof i20.EditSkillsModalComponent, typeof i21.EditSocialLinksComponent, typeof i22.EditUserProfileModalComponent, typeof i23.UserAboutComponent, typeof i24.PortfoliosComponent, typeof i25.UserProfilePageComponent, typeof i26.UserProjectsComponent, typeof i27.SupportDetailsComponent]>;
52
- static ɵinj: i0.ɵɵInjectorDeclaration<UserModuleModule>;
53
- }
@@ -1,37 +0,0 @@
1
- import { EventEmitter, TemplateRef } from '@angular/core';
2
- import { ProfileService } from '@posiwise/common-services';
3
- import { FileUpload } from 'primeng/fileupload';
4
- import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
5
- import { ModalContext } from '../../shared/interface/user-module.interface';
6
- import * as i0 from "@angular/core";
7
- export declare class EditPortfoliosComponent {
8
- private readonly modalService;
9
- private readonly profileService;
10
- content: TemplateRef<ModalContext>;
11
- uploader: FileUpload;
12
- successEvent: EventEmitter<boolean>;
13
- id: number;
14
- slug: string;
15
- uploadedFiles: any[];
16
- project: any[];
17
- projectPictures: any[];
18
- busy: boolean;
19
- filesUploaded: boolean;
20
- constructor(modalService: NgbModal, profileService: ProfileService);
21
- openModal(id: number): void;
22
- onSelect(event?: any): void;
23
- getProjectPictures(): void;
24
- /**
25
- * Uploads multiple images for the project
26
- * @param form
27
- */
28
- onSave(form: any): void;
29
- deleteProjectPicture(id: number): void;
30
- trackByImage(_index: number, item: {
31
- id: number;
32
- }): number;
33
- onRemove(event: any): void;
34
- onUploadError(event: any): void;
35
- static ɵfac: i0.ɵɵFactoryDeclaration<EditPortfoliosComponent, never>;
36
- static ɵcmp: i0.ɵɵComponentDeclaration<EditPortfoliosComponent, "pw-edit-portfolios", never, { "id": { "alias": "id"; "required": false; }; "slug": { "alias": "slug"; "required": false; }; }, { "successEvent": "successEvent"; }, never, never, false, never>;
37
- }
@@ -1,38 +0,0 @@
1
- import { EventEmitter, Injector, OnDestroy, OnInit, TemplateRef } from '@angular/core';
2
- import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
3
- import { AppBaseComponent } from '@posiwise/app-base-component';
4
- import { ProfileService } from '@posiwise/common-services';
5
- import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
6
- import { ModalContext } from '../../shared/interface/user-module.interface';
7
- import * as i0 from "@angular/core";
8
- export declare class EditProjectModalComponent extends AppBaseComponent implements OnInit, OnDestroy {
9
- modalService: NgbModal;
10
- private readonly fb;
11
- private readonly profileService;
12
- content: TemplateRef<ModalContext>;
13
- cancelEvent: EventEmitter<void>;
14
- saveEvent: EventEmitter<boolean>;
15
- form: UntypedFormGroup;
16
- weeks: number[];
17
- startYears: number[];
18
- endYears: number[];
19
- title: string;
20
- submitted: boolean;
21
- buttonBusy: boolean;
22
- private currentProject;
23
- userId: number;
24
- constructor(modalService: NgbModal, fb: UntypedFormBuilder, profileService: ProfileService, injector: Injector);
25
- get f(): {
26
- [key: string]: import("@angular/forms").AbstractControl<any, any>;
27
- };
28
- ngOnInit(): void;
29
- ngOnDestroy(): void;
30
- getStartYear(): void;
31
- getEndYears(start_year: any): void;
32
- private getWeeks;
33
- onOpen(item?: any): void;
34
- onSaveDetail(): void;
35
- private getForm;
36
- static ɵfac: i0.ɵɵFactoryDeclaration<EditProjectModalComponent, never>;
37
- static ɵcmp: i0.ɵɵComponentDeclaration<EditProjectModalComponent, "pw-edit-project-modal", never, {}, { "cancelEvent": "cancelEvent"; "saveEvent": "saveEvent"; }, never, never, false, never>;
38
- }
@@ -1,31 +0,0 @@
1
- import { EventEmitter, Injector, OnInit, TemplateRef } from '@angular/core';
2
- import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
3
- import { AppBaseComponent } from '@posiwise/app-base-component';
4
- import { QualificationService } from '@posiwise/common-services';
5
- import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
6
- import { ModalContext } from '../../shared/interface/user-module.interface';
7
- import * as i0 from "@angular/core";
8
- export declare class EditQualificationsModalComponent extends AppBaseComponent implements OnInit {
9
- modalService: NgbModal;
10
- private readonly fb;
11
- private readonly qualificationService;
12
- saveEvent: EventEmitter<void>;
13
- content: TemplateRef<ModalContext>;
14
- title: string;
15
- form: UntypedFormGroup;
16
- userId: number;
17
- now: Date;
18
- minToDate: Date;
19
- qualifications: {
20
- value: number;
21
- label: string;
22
- }[];
23
- buttonBusy: boolean;
24
- constructor(modalService: NgbModal, fb: UntypedFormBuilder, qualificationService: QualificationService, injector: Injector);
25
- ngOnInit(): void;
26
- onOpen(value?: any): void;
27
- onDateChange(): void;
28
- onSaveDetail(): void;
29
- static ɵfac: i0.ɵɵFactoryDeclaration<EditQualificationsModalComponent, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<EditQualificationsModalComponent, "pw-edit-qualifications-modal", never, {}, { "saveEvent": "saveEvent"; }, never, never, false, never>;
31
- }
@@ -1,23 +0,0 @@
1
- import { TemplateRef } from '@angular/core';
2
- import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
3
- import { ProfileService } from '@posiwise/common-services';
4
- import { Project, User } from '@posiwise/common-utilities';
5
- import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
6
- import { ModalContext } from '../../shared/interface/user-module.interface';
7
- import * as i0 from "@angular/core";
8
- export declare class EditRecommendationModalComponent {
9
- modalService: NgbModal;
10
- private readonly fb;
11
- private readonly profileService;
12
- content: TemplateRef<ModalContext>;
13
- user: User;
14
- form: UntypedFormGroup;
15
- title: string;
16
- buttonBusy: boolean;
17
- project: Project;
18
- constructor(modalService: NgbModal, fb: UntypedFormBuilder, profileService: ProfileService);
19
- onOpen(value?: any): void;
20
- onSaveDetail(): void;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<EditRecommendationModalComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<EditRecommendationModalComponent, "pw-edit-recommendation-modal", never, { "user": { "alias": "user"; "required": false; }; }, {}, never, never, false, never>;
23
- }
@@ -1,36 +0,0 @@
1
- import { EventEmitter, Injector, TemplateRef } from '@angular/core';
2
- import { AppBaseComponent } from '@posiwise/app-base-component';
3
- import { TagService } from '@posiwise/common-services';
4
- import { TAG_ENTITY, TAG_TYPE } from '@posiwise/common-utilities';
5
- import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
6
- import { ModalContext } from '../../shared/interface/user-module.interface';
7
- import * as i0 from "@angular/core";
8
- export declare class EditSkillsModalComponent extends AppBaseComponent {
9
- private readonly modalService;
10
- private readonly tagService;
11
- content: TemplateRef<ModalContext>;
12
- userId: number;
13
- slug: string;
14
- entityType: TAG_TYPE;
15
- entityEntity: TAG_ENTITY;
16
- saveEvent: EventEmitter<boolean>;
17
- allSkills: any[];
18
- searchSkills: any[];
19
- selectedSkills: any[];
20
- constructor(modalService: NgbModal, tagService: TagService, injector: Injector);
21
- open(): void;
22
- /**
23
- * Populate all the skills for the dropdown
24
- */
25
- private getSkills;
26
- /**
27
- * Skills Search
28
- * @param event: keyword to search
29
- */
30
- search(event: any): void;
31
- close(modal: any): void;
32
- private getEntitySkills;
33
- saveUserSkills(): void;
34
- static ɵfac: i0.ɵɵFactoryDeclaration<EditSkillsModalComponent, never>;
35
- static ɵcmp: i0.ɵɵComponentDeclaration<EditSkillsModalComponent, "pw-edit-skills-modal", never, { "userId": { "alias": "userId"; "required": false; }; "slug": { "alias": "slug"; "required": false; }; "entityType": { "alias": "entityType"; "required": false; }; "entityEntity": { "alias": "entityEntity"; "required": false; }; }, { "saveEvent": "saveEvent"; }, never, never, false, never>;
36
- }
@@ -1,26 +0,0 @@
1
- import { ChangeDetectorRef, EventEmitter, Injector, OnInit, TemplateRef } from '@angular/core';
2
- import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
3
- import { AppBaseComponent } from '@posiwise/app-base-component';
4
- import { ProfileService } from '@posiwise/common-services';
5
- import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
6
- import { ModalContext } from '../../shared/interface/user-module.interface';
7
- import * as i0 from "@angular/core";
8
- export declare class EditSocialLinksComponent extends AppBaseComponent implements OnInit {
9
- private readonly modalService;
10
- private readonly fb;
11
- private readonly profileService;
12
- private readonly cdr;
13
- content: TemplateRef<ModalContext>;
14
- links: Record<string, string>;
15
- userId: number;
16
- saveEvent: EventEmitter<void>;
17
- form: UntypedFormGroup;
18
- buttonBusy: boolean;
19
- constructor(injector: Injector, modalService: NgbModal, fb: UntypedFormBuilder, profileService: ProfileService, cdr: ChangeDetectorRef);
20
- private urlValidator;
21
- ngOnInit(): void;
22
- onOpen(links: any): void;
23
- onSaveDetail(): void;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<EditSocialLinksComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<EditSocialLinksComponent, "pw-edit-social-links", never, { "links": { "alias": "links"; "required": false; }; "userId": { "alias": "userId"; "required": false; }; }, { "saveEvent": "saveEvent"; }, never, never, false, never>;
26
- }
@@ -1,35 +0,0 @@
1
- import { EventEmitter, Injector, OnInit, TemplateRef } from '@angular/core';
2
- import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
3
- import { NgxGpAutocompleteDirective } from '@angular-magic/ngx-gp-autocomplete';
4
- import { AppBaseComponent } from '@posiwise/app-base-component';
5
- import { GeoService, ProfileService } from '@posiwise/common-services';
6
- import { Country } from '@posiwise/common-utilities';
7
- import { Observable } from 'rxjs';
8
- import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
9
- import { EditUser, ModalContext, UserProfile } from '../../shared/interface/user-module.interface';
10
- import * as i0 from "@angular/core";
11
- export declare class EditUserProfileModalComponent extends AppBaseComponent implements OnInit {
12
- modalService: NgbModal;
13
- private readonly fb;
14
- private readonly profileService;
15
- private readonly geoService;
16
- content: TemplateRef<ModalContext>;
17
- slug: string;
18
- user: EditUser;
19
- saveEvent: EventEmitter<UserProfile>;
20
- placesRef: NgxGpAutocompleteDirective;
21
- form: UntypedFormGroup;
22
- countries$: Observable<Country[]>;
23
- states: Country[];
24
- buttonBusy: boolean;
25
- constructor(modalService: NgbModal, fb: UntypedFormBuilder, profileService: ProfileService, geoService: GeoService, injector: Injector);
26
- ngOnInit(): void;
27
- getValues(): void;
28
- handleAddressChange(_event: any): void;
29
- onOpen(): void;
30
- getRegion(countryId: any): void;
31
- onSaveDetail(): void;
32
- save(): void;
33
- static ɵfac: i0.ɵɵFactoryDeclaration<EditUserProfileModalComponent, never>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<EditUserProfileModalComponent, "pw-edit-user-profile-modal", never, { "slug": { "alias": "slug"; "required": false; }; "user": { "alias": "user"; "required": false; }; }, { "saveEvent": "saveEvent"; }, never, never, false, never>;
35
- }
@@ -1,55 +0,0 @@
1
- import { EventEmitter, Injector, OnDestroy, OnInit } from '@angular/core';
2
- import { AppBaseComponent } from '@posiwise/app-base-component';
3
- import { ProfileService, QualificationService, TagService } from '@posiwise/common-services';
4
- import { User } from '@posiwise/common-utilities';
5
- import { AboutUserProfile, Qualification, Skill } from '../../shared/interface/user-module.interface';
6
- import { EditQualificationsModalComponent } from '../edit-qualifications-modal/edit-qualifications-modal.component';
7
- import { EditSkillsModalComponent } from '../edit-skills-modal/edit-skills-modal.component';
8
- import { EditSocialLinksComponent } from '../edit-social-links/edit-social-links.component';
9
- import { EditUserProfileModalComponent } from '../edit-user-profile-modal/edit-user-profile-modal.component';
10
- import * as i0 from "@angular/core";
11
- export declare class UserAboutComponent extends AppBaseComponent implements OnInit, OnDestroy {
12
- private readonly profileService;
13
- private readonly qualificationService;
14
- private readonly tagService;
15
- user: User;
16
- isEdit: boolean;
17
- saveEvent: EventEmitter<boolean>;
18
- modal: EditUserProfileModalComponent;
19
- qualificationModal: EditQualificationsModalComponent;
20
- skillsModal: EditSkillsModalComponent;
21
- socialModal: EditSocialLinksComponent;
22
- private readonly navigationSubscription;
23
- allSkills: any[];
24
- searchSkills: any[];
25
- selectedSkills: Skill[];
26
- objectKeys: {
27
- (o: object): string[];
28
- (o: {}): string[];
29
- };
30
- user_profile: AboutUserProfile;
31
- qualifications: Qualification[];
32
- userLinks: Record<string, string>;
33
- noUserLinks: boolean;
34
- loading: boolean;
35
- constructor(profileService: ProfileService, qualificationService: QualificationService, tagService: TagService, injector: Injector);
36
- ngOnInit(): void;
37
- getUserDetails(): void;
38
- /**
39
- * Populate all the skills for the dropdown
40
- */
41
- private getSkills;
42
- onProfileOpen(): void;
43
- openSkills(): void;
44
- onProfileSaved(_event: any): void;
45
- onOpenSocial(): void;
46
- editQualification(item: any): void;
47
- deleteQualification(item: any): void;
48
- onSaveUserLinks(): void;
49
- trackByQualification(_index: number, item: {
50
- id: number;
51
- }): number;
52
- ngOnDestroy(): void;
53
- static ɵfac: i0.ɵɵFactoryDeclaration<UserAboutComponent, never>;
54
- static ɵcmp: i0.ɵɵComponentDeclaration<UserAboutComponent, "pw-user-about", never, { "user": { "alias": "user"; "required": false; }; "isEdit": { "alias": "isEdit"; "required": false; }; }, { "saveEvent": "saveEvent"; }, never, never, false, never>;
55
- }
@@ -1,24 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { ProfileService } from '@posiwise/common-services';
3
- import { User } from '@posiwise/common-utilities';
4
- import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
5
- import * as i0 from "@angular/core";
6
- export declare class PortfoliosComponent implements OnInit {
7
- private readonly service;
8
- private readonly modalService;
9
- user: User;
10
- isEdit: boolean;
11
- projectPictures: any[];
12
- selectedPicURL: string;
13
- isLoaded: boolean;
14
- constructor(service: ProfileService, modalService: NgbModal);
15
- ngOnInit(): void;
16
- private getProjectPictures;
17
- deletePicture(id: any): void;
18
- trackByImage(_index: number, item: {
19
- id: number;
20
- }): number;
21
- showFullImage(picture: any, content: any, evt: any): void;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<PortfoliosComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<PortfoliosComponent, "pw-portfolios", never, { "user": { "alias": "user"; "required": false; }; "isEdit": { "alias": "isEdit"; "required": false; }; }, {}, never, never, false, never>;
24
- }
@@ -1,47 +0,0 @@
1
- import { Injector, OnDestroy, OnInit } from '@angular/core';
2
- import { AppBaseComponent } from '@posiwise/app-base-component';
3
- import { ProfileService } from '@posiwise/common-services';
4
- import { ScriptLoaderService } from '@posiwise/common-services';
5
- import { User } from '@posiwise/common-utilities';
6
- import { MenuItem } from 'primeng/api';
7
- import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
8
- import { UserProfile } from '../shared/interface/user-module.interface';
9
- import * as i0 from "@angular/core";
10
- export declare class UserProfilePageComponent extends AppBaseComponent implements OnInit, OnDestroy {
11
- private readonly profileService;
12
- private readonly modalService;
13
- private readonly scriptLoader;
14
- private loggedInUserDetails;
15
- user: User;
16
- slug: string;
17
- objectKeys: {
18
- (o: object): string[];
19
- (o: {}): string[];
20
- };
21
- image: string;
22
- isFollowing: boolean;
23
- isLoaded: boolean;
24
- userProfile: UserProfile;
25
- items: MenuItem[];
26
- activeItem: MenuItem;
27
- /** Current tab value for p-tabs */
28
- activeTabValue: string;
29
- onTabChange(value: string): void;
30
- constructor(injector: Injector, profileService: ProfileService, modalService: NgbModal, scriptLoader: ScriptLoaderService);
31
- get allowEdit(): boolean;
32
- ngOnInit(): void;
33
- handleImageError(event: Event, fallbackPath: any): void;
34
- private dataURLtoBlob;
35
- openModal(content: any): void;
36
- onImageSelection(event: any): void;
37
- getUserBySlug(): void;
38
- onClose(): void;
39
- private getCurrentUserDetails;
40
- sendMessageSlug(): void;
41
- followUser(): void;
42
- private waitForJQuery;
43
- private loadJQueryForUserProfile;
44
- ngOnDestroy(): void;
45
- static ɵfac: i0.ɵɵFactoryDeclaration<UserProfilePageComponent, never>;
46
- static ɵcmp: i0.ɵɵComponentDeclaration<UserProfilePageComponent, "pw-user-profile-page", never, {}, {}, never, never, false, never>;
47
- }
@@ -1,35 +0,0 @@
1
- import { Injector, OnInit } from '@angular/core';
2
- import { AppBaseComponent } from '@posiwise/app-base-component';
3
- import { ProfileService } from '@posiwise/common-services';
4
- import { Project, User } from '@posiwise/common-utilities';
5
- import { EditPortfoliosComponent } from '../edit-portfolios/edit-portfolios.component';
6
- import { EditProjectModalComponent } from '../edit-project-modal/edit-project-modal.component';
7
- import { EditRecommendationModalComponent } from '../edit-recommendation-modal/edit-recommendation-modal.component';
8
- import { EditSkillsModalComponent } from '../edit-skills-modal/edit-skills-modal.component';
9
- import * as i0 from "@angular/core";
10
- export declare class UserProjectsComponent extends AppBaseComponent implements OnInit {
11
- private readonly service;
12
- user: User;
13
- isEdit: boolean;
14
- projectModal: EditProjectModalComponent;
15
- skillModal: EditSkillsModalComponent;
16
- recommendationModal: EditRecommendationModalComponent;
17
- portfolios: EditPortfoliosComponent;
18
- projects: Project[];
19
- submitted: boolean;
20
- isLoaded: boolean;
21
- constructor(service: ProfileService, injector: Injector);
22
- ngOnInit(): void;
23
- onEditProject(item: any): void;
24
- editRecommendation(item: any): void;
25
- openSkills(project: any): void;
26
- getProjects(): void;
27
- onSkillsSave(): void;
28
- onSaveProject(_event: any): void;
29
- openPortfolios(id: number): void;
30
- onDeleteProject(project: any): void;
31
- trackByProject(_index: number, item: Project): number;
32
- deletePicture(project: any): void;
33
- static ɵfac: i0.ɵɵFactoryDeclaration<UserProjectsComponent, never>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<UserProjectsComponent, "pw-user-projects", never, { "user": { "alias": "user"; "required": false; }; "isEdit": { "alias": "isEdit"; "required": false; }; }, {}, never, never, false, never>;
35
- }