@posiwise/user-module 0.0.1
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/README.md +7 -0
- package/assets/scss/_bootstrap_modules.scss +40 -0
- package/assets/scss/_custom-bootstrap.scss +13 -0
- package/assets/scss/_dashboard.scss +31 -0
- package/assets/scss/_dynamic-styles.scss +534 -0
- package/assets/scss/_plugins.scss +3 -0
- package/assets/scss/_public-pages.scss +7 -0
- package/assets/scss/_shared.scss +3 -0
- package/assets/scss/_variables.scss +5 -0
- package/assets/scss/common/landing-page-a/landing-page-style-1.scss +670 -0
- package/assets/scss/common/landing-page-b/banner.scss +141 -0
- package/assets/scss/common/landing-page-b/contact-us.scss +167 -0
- package/assets/scss/common/landing-page-b/explainer.scss +75 -0
- package/assets/scss/common/landing-page-b/explainer2.scss +35 -0
- package/assets/scss/common/landing-page-b/header.scss +56 -0
- package/assets/scss/common/landing-page-b/landing-page-style-2.scss +20 -0
- package/assets/scss/custom-bootstrap/_badge.scss +468 -0
- package/assets/scss/custom-bootstrap/_bootstrap_variables.scss +30 -0
- package/assets/scss/custom-bootstrap/_buttons.scss +84 -0
- package/assets/scss/custom-bootstrap/_card.scss +319 -0
- package/assets/scss/custom-bootstrap/_carousel.scss +6 -0
- package/assets/scss/custom-bootstrap/_form_select.scss +7 -0
- package/assets/scss/custom-bootstrap/_forms.scss +337 -0
- package/assets/scss/custom-bootstrap/_links.scss +7 -0
- package/assets/scss/custom-bootstrap/_modal.scss +16 -0
- package/assets/scss/custom-bootstrap/_navbar.scss +42 -0
- package/assets/scss/custom-bootstrap/_popover.scss +10 -0
- package/assets/scss/custom-bootstrap/_progress.scss +12 -0
- package/assets/scss/custom-bootstrap/_reboot.scss +93 -0
- package/assets/scss/custom-bootstrap/_type.scss +202 -0
- package/assets/scss/dashboard/_admin.scss +15 -0
- package/assets/scss/dashboard/_animations.scss +20 -0
- package/assets/scss/dashboard/_bootstrap-social.scss +641 -0
- package/assets/scss/dashboard/_chat.scss +250 -0
- package/assets/scss/dashboard/_coming-soon.scss +34 -0
- package/assets/scss/dashboard/_components.scss +229 -0
- package/assets/scss/dashboard/_email.scss +184 -0
- package/assets/scss/dashboard/_fixed-navbar.scss +18 -0
- package/assets/scss/dashboard/_gallery.scss +1201 -0
- package/assets/scss/dashboard/_helper.scss +736 -0
- package/assets/scss/dashboard/_horizontal-timeline.scss +314 -0
- package/assets/scss/dashboard/_icons.scss +107 -0
- package/assets/scss/dashboard/_layout.scss +23 -0
- package/assets/scss/dashboard/_misc.scss +220 -0
- package/assets/scss/dashboard/_notifications.scss +27 -0
- package/assets/scss/dashboard/_palette.scss +308 -0
- package/assets/scss/dashboard/_profile.scss +36 -0
- package/assets/scss/dashboard/_responsive.scss +209 -0
- package/assets/scss/dashboard/_search.scss +33 -0
- package/assets/scss/dashboard/_select.scss +16 -0
- package/assets/scss/dashboard/_sidebar-content.scss +632 -0
- package/assets/scss/dashboard/_tables.scss +17 -0
- package/assets/scss/dashboard/_tabs.scss +151 -0
- package/assets/scss/dashboard/_ui-switch.scss +6 -0
- package/assets/scss/dashboard/_upload.scss +249 -0
- package/assets/scss/dashboard/_utilities.scss +105 -0
- package/assets/scss/dashboard/_vertical-timeline.scss +1261 -0
- package/assets/scss/dashboard/mixins/_buttons.scss +78 -0
- package/assets/scss/dashboard/mixins/_colors.scss +29 -0
- package/assets/scss/dashboard/mixins/_custom.scss +34 -0
- package/assets/scss/dashboard/mixins/_shadows.scss +62 -0
- package/assets/scss/dashboard/mixins/_type.scss +16 -0
- package/assets/scss/dashboard/mixins/_typography.scss +29 -0
- package/assets/scss/dashboard/mixins/_utilities.scss +129 -0
- package/assets/scss/dashboard/mixins/_vendor-prefixes.scss +71 -0
- package/assets/scss/plugins/_plugin-nouislider.scss +199 -0
- package/assets/scss/plugins/_toastr.scss +71 -0
- package/assets/scss/plugins/perfect-scrollbar/_main.scss +3 -0
- package/assets/scss/plugins/perfect-scrollbar/_mixins.scss +135 -0
- package/assets/scss/plugins/perfect-scrollbar/_ps-custom.scss +134 -0
- package/assets/scss/plugins/perfect-scrollbar/_themes.scss +23 -0
- package/assets/scss/plugins/perfect-scrollbar/_variables.scss +19 -0
- package/assets/scss/public-pages/_buttons.scss +136 -0
- package/assets/scss/public-pages/_input-fields.scss +29 -0
- package/assets/scss/public-pages/_layout.scss +108 -0
- package/assets/scss/public-pages/mixins/_buttons.scss +28 -0
- package/assets/scss/shared/_modal.scss +28 -0
- package/assets/scss/shared/_prime-ng-tables.scss +107 -0
- package/assets/scss/shared/_prime-ng.scss +5100 -0
- package/assets/scss/variables/_app-colors-variables.scss +760 -0
- package/assets/scss/variables/_branding-variables.scss +93 -0
- package/assets/scss/variables/_dashboard-variables.scss +96 -0
- package/assets/scss/variables/_generic-variables.scss +33 -0
- package/assets/scss/variables/_landing-page-new-variables.scss +11 -0
- package/assets/scss/variables/_primeng-variables.scss +190 -0
- package/esm2020/index.mjs +33 -0
- package/esm2020/lib/account/account-details/account-details.component.mjs +272 -0
- package/esm2020/lib/account/account.component.mjs +45 -0
- package/esm2020/lib/account/subscriptions/add-subscription/add-subscription.component.mjs +87 -0
- package/esm2020/lib/account/subscriptions/saved-card-details/saved-card-details.component.mjs +36 -0
- package/esm2020/lib/account/subscriptions/subscription-credential/subscription-credential.component.mjs +207 -0
- package/esm2020/lib/account/subscriptions/update-payment-details/update-payment-details.component.mjs +117 -0
- package/esm2020/lib/account/subscriptions/upgrade-subscription/upgrade-subscription.component.mjs +292 -0
- package/esm2020/lib/account/subscriptions/user-subscription-details/user-subscription-details.component.mjs +191 -0
- package/esm2020/lib/account/subscriptions/user-subscriptions-list/user-subscriptions-list.component.mjs +219 -0
- package/esm2020/lib/account/user-invoice/user-invoice.component.mjs +51 -0
- package/esm2020/lib/settings-tabs/communication-tab/communication-tab.component.mjs +84 -0
- package/esm2020/lib/settings-tabs/others-tab/others-tab.component.mjs +71 -0
- package/esm2020/lib/settings-tabs/security-tab/security-tab.component.mjs +101 -0
- package/esm2020/lib/settings-tabs/settings-tabs.component.mjs +48 -0
- package/esm2020/lib/support/support-details/support-details.component.mjs +80 -0
- package/esm2020/lib/support/support.component.mjs +42 -0
- package/esm2020/lib/user-module.module.mjs +192 -0
- package/esm2020/lib/user-profile/edit-portfolios/edit-portfolios.component.mjs +104 -0
- package/esm2020/lib/user-profile/edit-project-modal/edit-project-modal.component.mjs +147 -0
- package/esm2020/lib/user-profile/edit-qualifications-modal/edit-qualifications-modal.component.mjs +111 -0
- package/esm2020/lib/user-profile/edit-recommendation-modal/edit-recommendation-modal.component.mjs +70 -0
- package/esm2020/lib/user-profile/edit-skills-modal/edit-skills-modal.component.mjs +111 -0
- package/esm2020/lib/user-profile/edit-social-links/edit-social-links.component.mjs +87 -0
- package/esm2020/lib/user-profile/edit-user-profile-modal/edit-user-profile-modal.component.mjs +131 -0
- package/esm2020/lib/user-profile/user-about/user-about.component.mjs +144 -0
- package/esm2020/lib/user-profile/user-portfolios/user-portfolios.component.mjs +63 -0
- package/esm2020/lib/user-profile/user-profile-page.component.mjs +155 -0
- package/esm2020/lib/user-profile/user-projects/user-projects.component.mjs +103 -0
- package/esm2020/user-module.mjs +5 -0
- package/fesm2015/user-module.mjs +3019 -0
- package/fesm2015/user-module.mjs.map +1 -0
- package/fesm2020/user-module.mjs +3007 -0
- package/fesm2020/user-module.mjs.map +1 -0
- package/index.d.ts +28 -0
- package/lib/account/account-details/account-details.component.d.ts +62 -0
- package/lib/account/account.component.d.ts +14 -0
- package/lib/account/subscriptions/add-subscription/add-subscription.component.d.ts +39 -0
- package/lib/account/subscriptions/saved-card-details/saved-card-details.component.d.ts +27 -0
- package/lib/account/subscriptions/subscription-credential/subscription-credential.component.d.ts +58 -0
- package/lib/account/subscriptions/update-payment-details/update-payment-details.component.d.ts +32 -0
- package/lib/account/subscriptions/upgrade-subscription/upgrade-subscription.component.d.ts +57 -0
- package/lib/account/subscriptions/user-subscription-details/user-subscription-details.component.d.ts +58 -0
- package/lib/account/subscriptions/user-subscriptions-list/user-subscriptions-list.component.d.ts +69 -0
- package/lib/account/user-invoice/user-invoice.component.d.ts +17 -0
- package/lib/settings-tabs/communication-tab/communication-tab.component.d.ts +23 -0
- package/lib/settings-tabs/others-tab/others-tab.component.d.ts +19 -0
- package/lib/settings-tabs/security-tab/security-tab.component.d.ts +23 -0
- package/lib/settings-tabs/settings-tabs.component.d.ts +15 -0
- package/lib/support/support-details/support-details.component.d.ts +22 -0
- package/lib/support/support.component.d.ts +16 -0
- package/lib/user-module.module.d.ts +43 -0
- package/lib/user-profile/edit-portfolios/edit-portfolios.component.d.ts +32 -0
- package/lib/user-profile/edit-project-modal/edit-project-modal.component.d.ts +36 -0
- package/lib/user-profile/edit-qualifications-modal/edit-qualifications-modal.component.d.ts +29 -0
- package/lib/user-profile/edit-recommendation-modal/edit-recommendation-modal.component.d.ts +22 -0
- package/lib/user-profile/edit-skills-modal/edit-skills-modal.component.d.ts +35 -0
- package/lib/user-profile/edit-social-links/edit-social-links.component.d.ts +23 -0
- package/lib/user-profile/edit-user-profile-modal/edit-user-profile-modal.component.d.ts +33 -0
- package/lib/user-profile/user-about/user-about.component.d.ts +52 -0
- package/lib/user-profile/user-portfolios/user-portfolios.component.d.ts +22 -0
- package/lib/user-profile/user-profile-page.component.d.ts +40 -0
- package/lib/user-profile/user-projects/user-projects.component.d.ts +36 -0
- package/package.json +52 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
+
import { FileUpload } from 'primeng/fileupload';
|
|
4
|
+
import { ProfileService } from '@posiwise/common-services';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class EditPortfoliosComponent {
|
|
7
|
+
private modalService;
|
|
8
|
+
private profileService;
|
|
9
|
+
content: TemplateRef<any>;
|
|
10
|
+
uploader: FileUpload;
|
|
11
|
+
uploadedFiles: any[];
|
|
12
|
+
project: any[];
|
|
13
|
+
projectPictures: any[];
|
|
14
|
+
successEvent: EventEmitter<any>;
|
|
15
|
+
id: number;
|
|
16
|
+
slug: string;
|
|
17
|
+
busy: boolean;
|
|
18
|
+
constructor(modalService: NgbModal, profileService: ProfileService);
|
|
19
|
+
openModal(id: number): void;
|
|
20
|
+
onSelect(event?: any): void;
|
|
21
|
+
getProjectPictures(): void;
|
|
22
|
+
/**
|
|
23
|
+
* Uploads multiple images for the project
|
|
24
|
+
* @param form
|
|
25
|
+
*/
|
|
26
|
+
onSave(form: any): void;
|
|
27
|
+
deleteProjectPicture(id: number): void;
|
|
28
|
+
trackByImage(_index: number, item: any): any;
|
|
29
|
+
onRemove(event: any): void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditPortfoliosComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditPortfoliosComponent, "pw-edit-portfolios", never, { "id": "id"; "slug": "slug"; }, { "successEvent": "successEvent"; }, never, never, false, never>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { EventEmitter, Injector, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
4
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
5
|
+
import { ProfileService } from '@posiwise/common-services';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class EditProjectModalComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
8
|
+
modalService: NgbModal;
|
|
9
|
+
private fb;
|
|
10
|
+
private profileService;
|
|
11
|
+
content: TemplateRef<any>;
|
|
12
|
+
cancelEvent: EventEmitter<any>;
|
|
13
|
+
saveEvent: EventEmitter<any>;
|
|
14
|
+
form: UntypedFormGroup;
|
|
15
|
+
weeks: any;
|
|
16
|
+
title: string;
|
|
17
|
+
startYears: any[];
|
|
18
|
+
endYears: any[];
|
|
19
|
+
submitted: boolean;
|
|
20
|
+
private currentProject;
|
|
21
|
+
userId: number;
|
|
22
|
+
constructor(modalService: NgbModal, fb: UntypedFormBuilder, profileService: ProfileService, injector: Injector);
|
|
23
|
+
get f(): {
|
|
24
|
+
[key: string]: import("@angular/forms").AbstractControl<any, any>;
|
|
25
|
+
};
|
|
26
|
+
ngOnInit(): void;
|
|
27
|
+
ngOnDestroy(): void;
|
|
28
|
+
getStartYear(): void;
|
|
29
|
+
getEndYears(start_year: any): void;
|
|
30
|
+
private getWeeks;
|
|
31
|
+
onOpen(item?: any): void;
|
|
32
|
+
onSaveDetail(): void;
|
|
33
|
+
private getForm;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditProjectModalComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditProjectModalComponent, "pw-edit-project-modal", never, {}, { "cancelEvent": "cancelEvent"; "saveEvent": "saveEvent"; }, never, never, false, never>;
|
|
36
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { EventEmitter, Injector, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
4
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
5
|
+
import { QualificationService } from '@posiwise/common-services';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class EditQualificationsModalComponent extends AppBaseComponent implements OnInit {
|
|
8
|
+
modalService: NgbModal;
|
|
9
|
+
private fb;
|
|
10
|
+
private qualificationService;
|
|
11
|
+
saveEvent: EventEmitter<any>;
|
|
12
|
+
content: TemplateRef<any>;
|
|
13
|
+
title: string;
|
|
14
|
+
form: UntypedFormGroup;
|
|
15
|
+
userId: number;
|
|
16
|
+
now: Date;
|
|
17
|
+
minToDate: Date;
|
|
18
|
+
qualifications: {
|
|
19
|
+
value: number;
|
|
20
|
+
label: string;
|
|
21
|
+
}[];
|
|
22
|
+
constructor(modalService: NgbModal, fb: UntypedFormBuilder, qualificationService: QualificationService, injector: Injector);
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
onOpen(value?: any): void;
|
|
25
|
+
onDateChange(): void;
|
|
26
|
+
onSaveDetail(): void;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditQualificationsModalComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditQualificationsModalComponent, "pw-edit-qualifications-modal", never, {}, { "saveEvent": "saveEvent"; }, never, never, false, never>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
4
|
+
import { User } from '@posiwise/common-utilities';
|
|
5
|
+
import { Project } from '@posiwise/common-utilities';
|
|
6
|
+
import { ProfileService } from '@posiwise/common-services';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class EditRecommendationModalComponent {
|
|
9
|
+
modalService: NgbModal;
|
|
10
|
+
private fb;
|
|
11
|
+
private profileService;
|
|
12
|
+
title: string;
|
|
13
|
+
content: TemplateRef<any>;
|
|
14
|
+
form: UntypedFormGroup;
|
|
15
|
+
user: User;
|
|
16
|
+
project: Project;
|
|
17
|
+
constructor(modalService: NgbModal, fb: UntypedFormBuilder, profileService: ProfileService);
|
|
18
|
+
onOpen(value?: any): void;
|
|
19
|
+
onSaveDetail(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditRecommendationModalComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditRecommendationModalComponent, "pw-edit-recommendation-modal", never, { "user": "user"; }, {}, never, never, false, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { EventEmitter, Injector, TemplateRef } from '@angular/core';
|
|
2
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
+
import { TAG_ENTITY, TAG_TYPE } from '@posiwise/common-utilities';
|
|
4
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
5
|
+
import { TagService } from '@posiwise/common-services';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class EditSkillsModalComponent extends AppBaseComponent {
|
|
8
|
+
private modalService;
|
|
9
|
+
private tagService;
|
|
10
|
+
content: TemplateRef<any>;
|
|
11
|
+
userId: number;
|
|
12
|
+
slug: string;
|
|
13
|
+
entityType: TAG_TYPE;
|
|
14
|
+
entityEntity: TAG_ENTITY;
|
|
15
|
+
saveEvent: EventEmitter<any>;
|
|
16
|
+
allSkills: any[];
|
|
17
|
+
searchSkills: any[];
|
|
18
|
+
selectedSkills: any[];
|
|
19
|
+
constructor(modalService: NgbModal, tagService: TagService, injector: Injector);
|
|
20
|
+
open(): void;
|
|
21
|
+
/**
|
|
22
|
+
* Populate all the skills for the dropdown
|
|
23
|
+
*/
|
|
24
|
+
private getSkills;
|
|
25
|
+
/**
|
|
26
|
+
* Skills Search
|
|
27
|
+
* @param event: keyword to search
|
|
28
|
+
*/
|
|
29
|
+
search(event: any): void;
|
|
30
|
+
close(modal: any): void;
|
|
31
|
+
private getEntitySkills;
|
|
32
|
+
saveUserSkills(): void;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditSkillsModalComponent, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditSkillsModalComponent, "pw-edit-skills-modal", never, { "userId": "userId"; "slug": "slug"; "entityType": "entityType"; "entityEntity": "entityEntity"; }, { "saveEvent": "saveEvent"; }, never, never, false, never>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { EventEmitter, Injector, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
4
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
5
|
+
import { ProfileService } from '@posiwise/common-services';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class EditSocialLinksComponent extends AppBaseComponent implements OnInit {
|
|
8
|
+
private modalService;
|
|
9
|
+
private fb;
|
|
10
|
+
private profileService;
|
|
11
|
+
content: TemplateRef<any>;
|
|
12
|
+
form: UntypedFormGroup;
|
|
13
|
+
links: any;
|
|
14
|
+
userId: number;
|
|
15
|
+
saveEvent: EventEmitter<any>;
|
|
16
|
+
constructor(injector: Injector, modalService: NgbModal, fb: UntypedFormBuilder, profileService: ProfileService);
|
|
17
|
+
private urlValidator;
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
onOpen(): void;
|
|
20
|
+
onSaveDetail(): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditSocialLinksComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditSocialLinksComponent, "pw-edit-social-links", never, { "links": "links"; "userId": "userId"; }, { "saveEvent": "saveEvent"; }, never, never, false, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { EventEmitter, Injector, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
4
|
+
import { GooglePlaceDirective } from 'ngx-google-places-autocomplete';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
6
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
7
|
+
import { User, Country } from '@posiwise/common-utilities';
|
|
8
|
+
import { GeoService, ProfileService } from '@posiwise/common-services';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class EditUserProfileModalComponent extends AppBaseComponent implements OnInit {
|
|
11
|
+
modalService: NgbModal;
|
|
12
|
+
private fb;
|
|
13
|
+
private profileService;
|
|
14
|
+
private geoService;
|
|
15
|
+
content: TemplateRef<any>;
|
|
16
|
+
slug: string;
|
|
17
|
+
saveEvent: EventEmitter<any>;
|
|
18
|
+
user: User | any;
|
|
19
|
+
places: GooglePlaceDirective;
|
|
20
|
+
form: UntypedFormGroup;
|
|
21
|
+
countries$: Observable<any>;
|
|
22
|
+
states: Country[];
|
|
23
|
+
constructor(modalService: NgbModal, fb: UntypedFormBuilder, profileService: ProfileService, geoService: GeoService, injector: Injector);
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
getValues(): void;
|
|
26
|
+
handleAddressChange(_event: any): void;
|
|
27
|
+
onOpen(): void;
|
|
28
|
+
getRegion(countryId: any): void;
|
|
29
|
+
onSaveDetail(): void;
|
|
30
|
+
save(): void;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditUserProfileModalComponent, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditUserProfileModalComponent, "pw-edit-user-profile-modal", never, { "slug": "slug"; "user": "user"; }, { "saveEvent": "saveEvent"; }, never, never, false, never>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { EventEmitter, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { EditQualificationsModalComponent } from '../edit-qualifications-modal/edit-qualifications-modal.component';
|
|
3
|
+
import { EditSkillsModalComponent } from '../edit-skills-modal/edit-skills-modal.component';
|
|
4
|
+
import { EditSocialLinksComponent } from '../edit-social-links/edit-social-links.component';
|
|
5
|
+
import { EditUserProfileModalComponent } from '../edit-user-profile-modal/edit-user-profile-modal.component';
|
|
6
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
7
|
+
import { User } from '@posiwise/common-utilities';
|
|
8
|
+
import { ProfileService, QualificationService, TagService } from '@posiwise/common-services';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class UserAboutComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
11
|
+
private profileService;
|
|
12
|
+
private qualificationService;
|
|
13
|
+
private tagService;
|
|
14
|
+
user: User;
|
|
15
|
+
isEdit: boolean;
|
|
16
|
+
saveEvent: EventEmitter<boolean>;
|
|
17
|
+
modal: EditUserProfileModalComponent;
|
|
18
|
+
qualificationModal: EditQualificationsModalComponent;
|
|
19
|
+
skillsModal: EditSkillsModalComponent;
|
|
20
|
+
socialModal: EditSocialLinksComponent;
|
|
21
|
+
private navigationSubscription;
|
|
22
|
+
allSkills: any[];
|
|
23
|
+
searchSkills: any[];
|
|
24
|
+
selectedSkills: any;
|
|
25
|
+
objectKeys: {
|
|
26
|
+
(o: object): string[];
|
|
27
|
+
(o: {}): string[];
|
|
28
|
+
};
|
|
29
|
+
user_profile: any;
|
|
30
|
+
qualifications: any;
|
|
31
|
+
userLinks: any;
|
|
32
|
+
noUserLinks: boolean;
|
|
33
|
+
loading: boolean;
|
|
34
|
+
constructor(profileService: ProfileService, qualificationService: QualificationService, tagService: TagService, injector: Injector);
|
|
35
|
+
ngOnInit(): void;
|
|
36
|
+
getUserDetails(): void;
|
|
37
|
+
/**
|
|
38
|
+
* Populate all the skills for the dropdown
|
|
39
|
+
*/
|
|
40
|
+
private getSkills;
|
|
41
|
+
onProfileOpen(): void;
|
|
42
|
+
openSkills(): void;
|
|
43
|
+
onProfileSaved(_event: any): void;
|
|
44
|
+
onOpenSocial(): void;
|
|
45
|
+
editQualification(item: any): void;
|
|
46
|
+
deleteQualification(item: any): void;
|
|
47
|
+
onSaveUserLinks(): void;
|
|
48
|
+
trackByQualification(_index: number, item: any): any;
|
|
49
|
+
ngOnDestroy(): void;
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserAboutComponent, never>;
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserAboutComponent, "pw-user-about", never, { "user": "user"; "isEdit": "isEdit"; }, { "saveEvent": "saveEvent"; }, never, never, false, never>;
|
|
52
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
+
import { User } from '@posiwise/common-utilities';
|
|
4
|
+
import { ProfileService } from '@posiwise/common-services';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class PortfoliosComponent implements OnInit {
|
|
7
|
+
private service;
|
|
8
|
+
private modalService;
|
|
9
|
+
projectPictures: any[];
|
|
10
|
+
selectedPicURL: string;
|
|
11
|
+
isLoaded: boolean;
|
|
12
|
+
user: User;
|
|
13
|
+
isEdit: boolean;
|
|
14
|
+
constructor(service: ProfileService, modalService: NgbModal);
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
private getProjectPictures;
|
|
17
|
+
deletePicture(id: any): void;
|
|
18
|
+
trackByImage(_index: number, item: any): any;
|
|
19
|
+
showFullImage(picture: any, content: any, evt: any): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PortfoliosComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PortfoliosComponent, "pw-portfolios", never, { "user": "user"; "isEdit": "isEdit"; }, {}, never, never, false, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
+
import { MenuItem } from 'primeng/api';
|
|
4
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
5
|
+
import { User } from '@posiwise/common-utilities';
|
|
6
|
+
import { ProfileService } from '@posiwise/common-services';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class UserProfilePageComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
9
|
+
private profileService;
|
|
10
|
+
private modalService;
|
|
11
|
+
menu: MenuItem[];
|
|
12
|
+
user: User;
|
|
13
|
+
slug: string;
|
|
14
|
+
objectKeys: {
|
|
15
|
+
(o: object): string[];
|
|
16
|
+
(o: {}): string[];
|
|
17
|
+
};
|
|
18
|
+
image: string;
|
|
19
|
+
isFollowing: boolean;
|
|
20
|
+
isLoaded: boolean;
|
|
21
|
+
userProfile: any;
|
|
22
|
+
private loggedInUserDetails;
|
|
23
|
+
items: MenuItem[];
|
|
24
|
+
activeItem: MenuItem;
|
|
25
|
+
activateMenu(): void;
|
|
26
|
+
constructor(injector: Injector, profileService: ProfileService, modalService: NgbModal);
|
|
27
|
+
get allowEdit(): boolean;
|
|
28
|
+
ngOnInit(): void;
|
|
29
|
+
private dataURLtoBlob;
|
|
30
|
+
openModal(content: any): void;
|
|
31
|
+
onImageSelection(event: any): void;
|
|
32
|
+
getUserBySlug(): void;
|
|
33
|
+
onClose(): void;
|
|
34
|
+
private getCurrentUserDetails;
|
|
35
|
+
sendMessageSlug(): void;
|
|
36
|
+
followUser(): void;
|
|
37
|
+
ngOnDestroy(): void;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserProfilePageComponent, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserProfilePageComponent, "pw-user-profile-page", never, {}, {}, never, never, false, never>;
|
|
40
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Injector, OnInit } from '@angular/core';
|
|
2
|
+
import { EditPortfoliosComponent } from '../edit-portfolios/edit-portfolios.component';
|
|
3
|
+
import { EditProjectModalComponent } from '../edit-project-modal/edit-project-modal.component';
|
|
4
|
+
import { EditRecommendationModalComponent } from '../edit-recommendation-modal/edit-recommendation-modal.component';
|
|
5
|
+
import { EditSkillsModalComponent } from '../edit-skills-modal/edit-skills-modal.component';
|
|
6
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
7
|
+
import { User } from '@posiwise/common-utilities';
|
|
8
|
+
import { ProfileService } from '@posiwise/common-services';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class UserProjectsComponent extends AppBaseComponent implements OnInit {
|
|
11
|
+
private service;
|
|
12
|
+
user: User;
|
|
13
|
+
isEdit: boolean;
|
|
14
|
+
projectModal: EditProjectModalComponent;
|
|
15
|
+
skillModal: EditSkillsModalComponent;
|
|
16
|
+
recommendationModal: EditRecommendationModalComponent;
|
|
17
|
+
porfolios: EditPortfoliosComponent;
|
|
18
|
+
projects: any;
|
|
19
|
+
submitted: boolean;
|
|
20
|
+
weeks: any[];
|
|
21
|
+
isLoaded: boolean;
|
|
22
|
+
constructor(service: ProfileService, injector: Injector);
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
onEditProject(item: any): void;
|
|
25
|
+
editRecommendation(item: any): void;
|
|
26
|
+
openSkills(project: any): void;
|
|
27
|
+
getProjects(): void;
|
|
28
|
+
onSkillsSave(): void;
|
|
29
|
+
onSaveProject(_event: any): void;
|
|
30
|
+
openPortfolis(id: number): void;
|
|
31
|
+
onDeleteProject(project: any): void;
|
|
32
|
+
trackByProject(_index: number, item: any): any;
|
|
33
|
+
deletePicture(project: any): void;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserProjectsComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserProjectsComponent, "pw-user-projects", never, { "user": "user"; "isEdit": "isEdit"; }, {}, never, never, false, never>;
|
|
36
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@posiwise/user-module",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular/common": "15.2.5",
|
|
6
|
+
"@angular/core": "15.2.5",
|
|
7
|
+
"@posiwise/core-styles": "^1.0.0",
|
|
8
|
+
"@posiwise/app-base-component": "^0.0.11",
|
|
9
|
+
"@posiwise/utils": "^0.0.2",
|
|
10
|
+
"@posiwise/shared-components": "^0.0.17",
|
|
11
|
+
"@posiwise/admin-module-utils": "^0.0.1",
|
|
12
|
+
"@angular/forms": "15.2.5",
|
|
13
|
+
"@ng-bootstrap/ng-bootstrap": "14.1.0",
|
|
14
|
+
"http-status-codes": "2.2.0",
|
|
15
|
+
"ngx-google-places-autocomplete": "2.0.5",
|
|
16
|
+
"rxjs": "7.8.1",
|
|
17
|
+
"sweetalert2": "11.7.3"
|
|
18
|
+
},
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"tslib": "^2.3.0"
|
|
21
|
+
},
|
|
22
|
+
"sideEffects": false,
|
|
23
|
+
"module": "fesm2015/user-module.mjs",
|
|
24
|
+
"es2020": "fesm2020/user-module.mjs",
|
|
25
|
+
"esm2020": "esm2020/user-module.mjs",
|
|
26
|
+
"fesm2020": "fesm2020/user-module.mjs",
|
|
27
|
+
"fesm2015": "fesm2015/user-module.mjs",
|
|
28
|
+
"typings": "index.d.ts",
|
|
29
|
+
"exports": {
|
|
30
|
+
"./package.json": {
|
|
31
|
+
"default": "./package.json"
|
|
32
|
+
},
|
|
33
|
+
".": {
|
|
34
|
+
"types": "./index.d.ts",
|
|
35
|
+
"esm2020": "./esm2020/user-module.mjs",
|
|
36
|
+
"es2020": "./fesm2020/user-module.mjs",
|
|
37
|
+
"es2015": "./fesm2015/user-module.mjs",
|
|
38
|
+
"node": "./fesm2015/user-module.mjs",
|
|
39
|
+
"default": "./fesm2020/user-module.mjs"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"description": "This library was generated with [Nx](https://nx.dev).",
|
|
43
|
+
"main": "index.js",
|
|
44
|
+
"directories": {
|
|
45
|
+
"lib": "lib"
|
|
46
|
+
},
|
|
47
|
+
"scripts": {
|
|
48
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
49
|
+
},
|
|
50
|
+
"author": "",
|
|
51
|
+
"license": "ISC"
|
|
52
|
+
}
|