@posiwise/user-module 0.0.106 → 0.0.108
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/lib/account/account-details/account-details.component.mjs +10 -7
- package/esm2022/lib/account/account.component.mjs +1 -1
- package/esm2022/lib/account/subscriptions/add-subscription/add-subscription.component.mjs +3 -3
- package/esm2022/lib/account/subscriptions/saved-card-details/saved-card-details.component.mjs +3 -3
- package/esm2022/lib/account/subscriptions/subscription-credential/subscription-credential.component.mjs +3 -3
- package/esm2022/lib/account/subscriptions/update-payment-details/update-payment-details.component.mjs +3 -3
- package/esm2022/lib/account/subscriptions/upgrade-subscription/upgrade-subscription.component.mjs +3 -3
- package/esm2022/lib/account/subscriptions/user-subscription-details/user-subscription-details.component.mjs +5 -6
- package/esm2022/lib/account/subscriptions/user-subscriptions-list/user-subscriptions-list.component.mjs +3 -3
- package/esm2022/lib/account/user-invoice/user-invoice.component.mjs +12 -11
- package/esm2022/lib/settings-tabs/communication-tab/communication-tab.component.mjs +4 -4
- package/esm2022/lib/settings-tabs/others-tab/others-tab.component.mjs +3 -3
- package/esm2022/lib/settings-tabs/settings-tabs.component.mjs +1 -1
- package/esm2022/lib/support/support-details/support-details.component.mjs +3 -3
- package/esm2022/lib/support/support.component.mjs +4 -5
- package/esm2022/lib/user-module.module.mjs +13 -7
- package/esm2022/lib/user-profile/edit-portfolios/edit-portfolios.component.mjs +1 -1
- package/esm2022/lib/user-profile/edit-project-modal/edit-project-modal.component.mjs +4 -6
- package/esm2022/lib/user-profile/edit-qualifications-modal/edit-qualifications-modal.component.mjs +4 -5
- package/esm2022/lib/user-profile/edit-recommendation-modal/edit-recommendation-modal.component.mjs +1 -1
- package/esm2022/lib/user-profile/edit-skills-modal/edit-skills-modal.component.mjs +1 -1
- package/esm2022/lib/user-profile/edit-social-links/edit-social-links.component.mjs +12 -8
- package/esm2022/lib/user-profile/edit-user-profile-modal/edit-user-profile-modal.component.mjs +3 -2
- package/esm2022/lib/user-profile/user-about/user-about.component.mjs +7 -5
- package/esm2022/lib/user-profile/user-portfolios/user-portfolios.component.mjs +3 -3
- package/esm2022/lib/user-profile/user-profile-page.component.mjs +8 -4
- package/esm2022/lib/user-profile/user-projects/user-projects.component.mjs +3 -3
- package/fesm2022/posiwise-user-module.mjs +97 -76
- package/fesm2022/posiwise-user-module.mjs.map +1 -1
- package/lib/account/account-details/account-details.component.d.ts +6 -5
- package/lib/account/account.component.d.ts +1 -1
- package/lib/account/subscriptions/add-subscription/add-subscription.component.d.ts +4 -7
- package/lib/account/subscriptions/subscription-credential/subscription-credential.component.d.ts +2 -2
- package/lib/account/subscriptions/update-payment-details/update-payment-details.component.d.ts +4 -4
- package/lib/account/subscriptions/upgrade-subscription/upgrade-subscription.component.d.ts +6 -6
- package/lib/account/subscriptions/user-subscription-details/user-subscription-details.component.d.ts +6 -7
- package/lib/account/subscriptions/user-subscriptions-list/user-subscriptions-list.component.d.ts +5 -5
- package/lib/settings-tabs/communication-tab/communication-tab.component.d.ts +3 -3
- package/lib/settings-tabs/others-tab/others-tab.component.d.ts +1 -1
- package/lib/settings-tabs/settings-tabs.component.d.ts +2 -2
- package/lib/support/support-details/support-details.component.d.ts +4 -4
- package/lib/support/support.component.d.ts +1 -1
- package/lib/user-module.module.d.ts +20 -18
- package/lib/user-profile/edit-portfolios/edit-portfolios.component.d.ts +2 -2
- package/lib/user-profile/edit-project-modal/edit-project-modal.component.d.ts +2 -2
- package/lib/user-profile/edit-qualifications-modal/edit-qualifications-modal.component.d.ts +2 -2
- package/lib/user-profile/edit-recommendation-modal/edit-recommendation-modal.component.d.ts +3 -4
- package/lib/user-profile/edit-skills-modal/edit-skills-modal.component.d.ts +2 -2
- package/lib/user-profile/edit-social-links/edit-social-links.component.d.ts +9 -8
- package/lib/user-profile/edit-user-profile-modal/edit-user-profile-modal.component.d.ts +3 -3
- package/lib/user-profile/user-about/user-about.component.d.ts +7 -7
- package/lib/user-profile/user-portfolios/user-portfolios.component.d.ts +2 -2
- package/lib/user-profile/user-profile-page.component.d.ts +3 -2
- package/lib/user-profile/user-projects/user-projects.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -8,11 +8,11 @@ import { Country, User } from '@posiwise/common-utilities';
|
|
|
8
8
|
import { AuthService, GeoService, ProfileService } from '@posiwise/common-services';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class AccountDetailsComponent extends AppBaseComponent implements OnInit {
|
|
11
|
-
private fb;
|
|
12
|
-
private modalService;
|
|
13
|
-
private authService;
|
|
14
|
-
private geoService;
|
|
15
|
-
private profileService;
|
|
11
|
+
private readonly fb;
|
|
12
|
+
private readonly modalService;
|
|
13
|
+
private readonly authService;
|
|
14
|
+
private readonly geoService;
|
|
15
|
+
private readonly profileService;
|
|
16
16
|
passwordRef: ElementRef;
|
|
17
17
|
emailForm: UntypedFormGroup;
|
|
18
18
|
passwordForm: UntypedFormGroup;
|
|
@@ -46,6 +46,7 @@ export declare class AccountDetailsComponent extends AppBaseComponent implements
|
|
|
46
46
|
*/
|
|
47
47
|
onEmailFormSubmit(): void;
|
|
48
48
|
validatePassword(): void;
|
|
49
|
+
handleImageError(event: Event, fallbackPath: any): void;
|
|
49
50
|
checkValidity(): void;
|
|
50
51
|
onPasswordFormSubmit(): void;
|
|
51
52
|
onProfileFormSubmit(): void;
|
|
@@ -2,7 +2,7 @@ import { Router } from '@angular/router';
|
|
|
2
2
|
import { MenuItem } from 'primeng/api';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class AccountComponent {
|
|
5
|
-
private router;
|
|
5
|
+
private readonly router;
|
|
6
6
|
menu: MenuItem[];
|
|
7
7
|
items: MenuItem[];
|
|
8
8
|
activeItem: MenuItem;
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { PRODUCT_CATEGORY } from '@posiwise/common-utilities';
|
|
3
|
+
import { PRODUCT_CATEGORY, User, Product, Subscription } from '@posiwise/common-utilities';
|
|
4
4
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
5
|
-
import { Subscription } from '@posiwise/common-utilities';
|
|
6
|
-
import { User } from '@posiwise/common-utilities';
|
|
7
|
-
import { Product } from '@posiwise/common-utilities';
|
|
8
5
|
import { ProductService } from '@posiwise/common-services';
|
|
9
6
|
import * as i0 from "@angular/core";
|
|
10
7
|
export declare class AddSubscriptionComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
11
|
-
private productService;
|
|
8
|
+
private readonly productService;
|
|
12
9
|
busy: boolean;
|
|
13
10
|
form: UntypedFormGroup;
|
|
14
11
|
isLoaded: boolean;
|
|
@@ -18,8 +15,8 @@ export declare class AddSubscriptionComponent extends AppBaseComponent implement
|
|
|
18
15
|
user: User;
|
|
19
16
|
unitError: string;
|
|
20
17
|
category: typeof PRODUCT_CATEGORY;
|
|
21
|
-
private singleProducts;
|
|
22
|
-
private enterpriseProducts;
|
|
18
|
+
private readonly singleProducts;
|
|
19
|
+
private readonly enterpriseProducts;
|
|
23
20
|
isPurchaseAttempted: boolean;
|
|
24
21
|
units: number;
|
|
25
22
|
subscribedPermissionKeys: any[];
|
package/lib/account/subscriptions/subscription-credential/subscription-credential.component.d.ts
CHANGED
|
@@ -6,8 +6,8 @@ import { SubscriptionService } from '@posiwise/common-services';
|
|
|
6
6
|
import { CredentialData } from '../../../shared/interface/user-module.interface';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class SubscriptionCredentialComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
9
|
-
private fb;
|
|
10
|
-
private subscriptionService;
|
|
9
|
+
private readonly fb;
|
|
10
|
+
private readonly subscriptionService;
|
|
11
11
|
passwordValidationModalForRevealCredential: PasswordValidationComponent;
|
|
12
12
|
passwordValidationModalForEditCredential: PasswordValidationComponent;
|
|
13
13
|
passwordValidationModalForAddCredential: PasswordValidationComponent;
|
package/lib/account/subscriptions/update-payment-details/update-payment-details.component.d.ts
CHANGED
|
@@ -5,10 +5,10 @@ import { SubscriptionService, ScriptLoaderService, ProductService } from '@posiw
|
|
|
5
5
|
import { CardDetails } from '../../../shared/interface/user-module.interface';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class UpdatePaymentDetailsComponent extends AppBaseComponent implements OnInit {
|
|
8
|
-
private fb;
|
|
9
|
-
private scriptLoader;
|
|
10
|
-
private productService;
|
|
11
|
-
private subscriptionService;
|
|
8
|
+
private readonly fb;
|
|
9
|
+
private readonly scriptLoader;
|
|
10
|
+
private readonly productService;
|
|
11
|
+
private readonly subscriptionService;
|
|
12
12
|
form: UntypedFormGroup;
|
|
13
13
|
years: any[];
|
|
14
14
|
errorMsg: string;
|
|
@@ -10,12 +10,12 @@ import { ScriptLoaderService, SubscriptionService, ProductService } from '@posiw
|
|
|
10
10
|
import { CardDetails } from '../../../shared/interface/user-module.interface';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
export declare class UpgradeSubscriptionComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
13
|
-
private productService;
|
|
14
|
-
private fb;
|
|
15
|
-
private modalService;
|
|
16
|
-
private subscriptionService;
|
|
17
|
-
private store;
|
|
18
|
-
private scriptLoader;
|
|
13
|
+
private readonly productService;
|
|
14
|
+
private readonly fb;
|
|
15
|
+
private readonly modalService;
|
|
16
|
+
private readonly subscriptionService;
|
|
17
|
+
private readonly store;
|
|
18
|
+
private readonly scriptLoader;
|
|
19
19
|
passwordValidationModal: PasswordValidationComponent;
|
|
20
20
|
product: Product;
|
|
21
21
|
subscription: Subscription;
|
package/lib/account/subscriptions/user-subscription-details/user-subscription-details.component.d.ts
CHANGED
|
@@ -7,15 +7,14 @@ import { Observable } from 'rxjs';
|
|
|
7
7
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
8
8
|
import { PasswordValidationComponent } from '@posiwise/shared-components';
|
|
9
9
|
import { Country, Product, Subscription, User } from '@posiwise/common-utilities';
|
|
10
|
-
import { GeoService } from '@posiwise/common-services';
|
|
11
|
-
import { SubscriptionService } from '@posiwise/common-services';
|
|
10
|
+
import { SubscriptionService, GeoService } from '@posiwise/common-services';
|
|
12
11
|
import * as i0 from "@angular/core";
|
|
13
12
|
export declare class UserSubscriptionDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
14
|
-
private fb;
|
|
15
|
-
private geoService;
|
|
16
|
-
private modalService;
|
|
17
|
-
private subscriptionService;
|
|
18
|
-
private store;
|
|
13
|
+
private readonly fb;
|
|
14
|
+
private readonly geoService;
|
|
15
|
+
private readonly modalService;
|
|
16
|
+
private readonly subscriptionService;
|
|
17
|
+
private readonly store;
|
|
19
18
|
modal: PasswordValidationComponent;
|
|
20
19
|
allowUpdate: boolean;
|
|
21
20
|
hasUnitChanged: boolean;
|
package/lib/account/subscriptions/user-subscriptions-list/user-subscriptions-list.component.d.ts
CHANGED
|
@@ -13,11 +13,11 @@ import { SubscriptionService } from '@posiwise/common-services';
|
|
|
13
13
|
import { CurrentItem } from '../../../shared/interface/user-module.interface';
|
|
14
14
|
import * as i0 from "@angular/core";
|
|
15
15
|
export declare class UserSubscriptionListComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
16
|
-
private subscriptionService;
|
|
17
|
-
private adminService;
|
|
18
|
-
private modalService;
|
|
19
|
-
private store;
|
|
20
|
-
private clipboard;
|
|
16
|
+
private readonly subscriptionService;
|
|
17
|
+
private readonly adminService;
|
|
18
|
+
private readonly modalService;
|
|
19
|
+
private readonly store;
|
|
20
|
+
private readonly clipboard;
|
|
21
21
|
menu: MenuItem[];
|
|
22
22
|
changeSubscriptionRef: AddSubscriptionComponent;
|
|
23
23
|
passwordValidationModalForAccountDelete: PasswordValidationComponent;
|
|
@@ -6,9 +6,9 @@ import { User } from '@posiwise/common-utilities';
|
|
|
6
6
|
import { CommonService, ProfileService } from '@posiwise/common-services';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class CommunicationTabComponent extends AppBaseComponent implements OnInit {
|
|
9
|
-
private commonService;
|
|
10
|
-
private profileService;
|
|
11
|
-
private store;
|
|
9
|
+
private readonly commonService;
|
|
10
|
+
private readonly profileService;
|
|
11
|
+
private readonly store;
|
|
12
12
|
subscriptions: any[];
|
|
13
13
|
isLoaded: boolean;
|
|
14
14
|
userSubscription: any[];
|
|
@@ -3,7 +3,7 @@ import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
|
3
3
|
import { CommonService } from '@posiwise/common-services';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class OthersTabComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
6
|
-
private commonService;
|
|
6
|
+
private readonly commonService;
|
|
7
7
|
subscriptionConfigs: any[];
|
|
8
8
|
globalConfigs: any[];
|
|
9
9
|
userId: number;
|
|
@@ -3,8 +3,8 @@ import { MenuItem } from 'primeng/api';
|
|
|
3
3
|
import { PermissionService } from '@posiwise/common-services';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class SettingsComponent {
|
|
6
|
-
private router;
|
|
7
|
-
private permissionService;
|
|
6
|
+
private readonly router;
|
|
7
|
+
private readonly permissionService;
|
|
8
8
|
menu: MenuItem[];
|
|
9
9
|
items: MenuItem[];
|
|
10
10
|
activeItem: MenuItem;
|
|
@@ -4,10 +4,10 @@ import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
|
4
4
|
import { AuthService, CommonService } from '@posiwise/common-services';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class SupportDetailsComponent extends AppBaseComponent implements AfterViewInit {
|
|
7
|
-
private commonService;
|
|
8
|
-
private authService;
|
|
9
|
-
private renderer;
|
|
10
|
-
private el;
|
|
7
|
+
private readonly commonService;
|
|
8
|
+
private readonly authService;
|
|
9
|
+
private readonly renderer;
|
|
10
|
+
private readonly el;
|
|
11
11
|
form: UntypedFormGroup;
|
|
12
12
|
uploadedFiles: any[];
|
|
13
13
|
invalidFile: boolean;
|
|
@@ -3,7 +3,7 @@ import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
|
3
3
|
import { CommonService } from '@posiwise/common-services';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class SupportComponent extends AppBaseComponent implements OnInit {
|
|
6
|
-
private commonService;
|
|
6
|
+
private readonly commonService;
|
|
7
7
|
supports: any[];
|
|
8
8
|
subscriptionId: number;
|
|
9
9
|
isLoading: boolean;
|
|
@@ -26,25 +26,27 @@ import * as i24 from "./user-profile/user-portfolios/user-portfolios.component";
|
|
|
26
26
|
import * as i25 from "./user-profile/user-profile-page.component";
|
|
27
27
|
import * as i26 from "./user-profile/user-projects/user-projects.component";
|
|
28
28
|
import * as i27 from "./support/support-details/support-details.component";
|
|
29
|
-
import * as i28 from "
|
|
30
|
-
import * as i29 from "@
|
|
31
|
-
import * as i30 from "@angular/
|
|
32
|
-
import * as i31 from "@
|
|
33
|
-
import * as i32 from "@
|
|
34
|
-
import * as i33 from "@
|
|
35
|
-
import * as i34 from "@posiwise/
|
|
36
|
-
import * as i35 from "
|
|
37
|
-
import * as i36 from "ngx-
|
|
38
|
-
import * as i37 from "
|
|
39
|
-
import * as i38 from "primeng/
|
|
40
|
-
import * as i39 from "primeng/
|
|
41
|
-
import * as i40 from "primeng/
|
|
42
|
-
import * as i41 from "primeng/
|
|
43
|
-
import * as i42 from "primeng/
|
|
44
|
-
import * as i43 from "primeng/
|
|
45
|
-
import * as i44 from "
|
|
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/forms";
|
|
33
|
+
import * as i32 from "@posiwise/core-transloco";
|
|
34
|
+
import * as i33 from "@angular-magic/ngx-gp-autocomplete";
|
|
35
|
+
import * as i34 from "@posiwise/shared-components";
|
|
36
|
+
import * as i35 from "@posiwise/pipes";
|
|
37
|
+
import * as i36 from "ngx-ui-switch";
|
|
38
|
+
import * as i37 from "ngx-captcha";
|
|
39
|
+
import * as i38 from "primeng/calendar";
|
|
40
|
+
import * as i39 from "primeng/multiselect";
|
|
41
|
+
import * as i40 from "primeng/progressspinner";
|
|
42
|
+
import * as i41 from "primeng/accordion";
|
|
43
|
+
import * as i42 from "primeng/fileupload";
|
|
44
|
+
import * as i43 from "primeng/dropdown";
|
|
45
|
+
import * as i44 from "primeng/rating";
|
|
46
|
+
import * as i45 from "primeng/selectbutton";
|
|
47
|
+
import * as i46 from "@ng-bootstrap/ng-bootstrap";
|
|
46
48
|
export declare class UserModuleModule {
|
|
47
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserModuleModule, never>;
|
|
48
|
-
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.
|
|
50
|
+
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.ReactiveFormsModule, typeof i32.CoreTranslocoModule, typeof i33.NgxGpAutocompleteModule, typeof i34.SharedComponentsModule, typeof i35.PipesModule, typeof i36.UiSwitchModule, typeof i37.NgxCaptchaModule, typeof i31.FormsModule, typeof i38.CalendarModule, typeof i39.MultiSelectModule, typeof i40.ProgressSpinnerModule, typeof i41.AccordionModule, typeof i42.FileUploadModule, typeof i43.DropdownModule, typeof i44.RatingModule, typeof i45.SelectButtonModule, typeof i46.NgbModalModule, typeof i46.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]>;
|
|
49
51
|
static ɵinj: i0.ɵɵInjectorDeclaration<UserModuleModule>;
|
|
50
52
|
}
|
|
@@ -5,8 +5,8 @@ import { ProfileService } from '@posiwise/common-services';
|
|
|
5
5
|
import { ModalContext } from '../../shared/interface/user-module.interface';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class EditPortfoliosComponent {
|
|
8
|
-
private modalService;
|
|
9
|
-
private profileService;
|
|
8
|
+
private readonly modalService;
|
|
9
|
+
private readonly profileService;
|
|
10
10
|
content: TemplateRef<ModalContext>;
|
|
11
11
|
uploader: FileUpload;
|
|
12
12
|
uploadedFiles: any[];
|
|
@@ -7,8 +7,8 @@ import { ModalContext } from '../../shared/interface/user-module.interface';
|
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class EditProjectModalComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
9
9
|
modalService: NgbModal;
|
|
10
|
-
private fb;
|
|
11
|
-
private profileService;
|
|
10
|
+
private readonly fb;
|
|
11
|
+
private readonly profileService;
|
|
12
12
|
content: TemplateRef<ModalContext>;
|
|
13
13
|
cancelEvent: EventEmitter<void>;
|
|
14
14
|
saveEvent: EventEmitter<boolean>;
|
|
@@ -7,8 +7,8 @@ import { ModalContext } from '../../shared/interface/user-module.interface';
|
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class EditQualificationsModalComponent extends AppBaseComponent implements OnInit {
|
|
9
9
|
modalService: NgbModal;
|
|
10
|
-
private fb;
|
|
11
|
-
private qualificationService;
|
|
10
|
+
private readonly fb;
|
|
11
|
+
private readonly qualificationService;
|
|
12
12
|
saveEvent: EventEmitter<void>;
|
|
13
13
|
content: TemplateRef<ModalContext>;
|
|
14
14
|
title: string;
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
3
|
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
4
|
-
import { User } from '@posiwise/common-utilities';
|
|
5
|
-
import { Project } from '@posiwise/common-utilities';
|
|
4
|
+
import { User, Project } from '@posiwise/common-utilities';
|
|
6
5
|
import { ProfileService } from '@posiwise/common-services';
|
|
7
6
|
import { ModalContext } from '../../shared/interface/user-module.interface';
|
|
8
7
|
import * as i0 from "@angular/core";
|
|
9
8
|
export declare class EditRecommendationModalComponent {
|
|
10
9
|
modalService: NgbModal;
|
|
11
|
-
private fb;
|
|
12
|
-
private profileService;
|
|
10
|
+
private readonly fb;
|
|
11
|
+
private readonly profileService;
|
|
13
12
|
title: string;
|
|
14
13
|
content: TemplateRef<ModalContext>;
|
|
15
14
|
form: UntypedFormGroup;
|
|
@@ -6,8 +6,8 @@ import { TagService } from '@posiwise/common-services';
|
|
|
6
6
|
import { ModalContext } from '../../shared/interface/user-module.interface';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class EditSkillsModalComponent extends AppBaseComponent {
|
|
9
|
-
private modalService;
|
|
10
|
-
private tagService;
|
|
9
|
+
private readonly modalService;
|
|
10
|
+
private readonly tagService;
|
|
11
11
|
content: TemplateRef<ModalContext>;
|
|
12
12
|
userId: number;
|
|
13
13
|
slug: string;
|
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
import { EventEmitter, Injector, OnInit, TemplateRef } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, Injector, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
3
|
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
4
4
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
5
5
|
import { ProfileService } from '@posiwise/common-services';
|
|
6
|
-
import { ModalContext
|
|
6
|
+
import { ModalContext } from '../../shared/interface/user-module.interface';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class EditSocialLinksComponent extends AppBaseComponent implements OnInit {
|
|
9
|
-
private modalService;
|
|
10
|
-
private fb;
|
|
11
|
-
private profileService;
|
|
9
|
+
private readonly modalService;
|
|
10
|
+
private readonly fb;
|
|
11
|
+
private readonly profileService;
|
|
12
|
+
private readonly cdr;
|
|
12
13
|
content: TemplateRef<ModalContext>;
|
|
13
14
|
form: UntypedFormGroup;
|
|
14
15
|
buttonBusy: boolean;
|
|
15
|
-
links:
|
|
16
|
+
links: Record<string, string>;
|
|
16
17
|
userId: number;
|
|
17
18
|
saveEvent: EventEmitter<void>;
|
|
18
|
-
constructor(injector: Injector, modalService: NgbModal, fb: UntypedFormBuilder, profileService: ProfileService);
|
|
19
|
+
constructor(injector: Injector, modalService: NgbModal, fb: UntypedFormBuilder, profileService: ProfileService, cdr: ChangeDetectorRef);
|
|
19
20
|
private urlValidator;
|
|
20
21
|
ngOnInit(): void;
|
|
21
|
-
onOpen(): void;
|
|
22
|
+
onOpen(links: any): void;
|
|
22
23
|
onSaveDetail(): void;
|
|
23
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<EditSocialLinksComponent, never>;
|
|
24
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>;
|
|
@@ -10,9 +10,9 @@ import { EditUser, ModalContext, UserProfile } from '../../shared/interface/user
|
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export declare class EditUserProfileModalComponent extends AppBaseComponent implements OnInit {
|
|
12
12
|
modalService: NgbModal;
|
|
13
|
-
private fb;
|
|
14
|
-
private profileService;
|
|
15
|
-
private geoService;
|
|
13
|
+
private readonly fb;
|
|
14
|
+
private readonly profileService;
|
|
15
|
+
private readonly geoService;
|
|
16
16
|
content: TemplateRef<ModalContext>;
|
|
17
17
|
slug: string;
|
|
18
18
|
saveEvent: EventEmitter<UserProfile>;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { EventEmitter, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { User } from '@posiwise/common-utilities';
|
|
2
3
|
import { EditQualificationsModalComponent } from '../edit-qualifications-modal/edit-qualifications-modal.component';
|
|
3
4
|
import { EditSkillsModalComponent } from '../edit-skills-modal/edit-skills-modal.component';
|
|
4
5
|
import { EditSocialLinksComponent } from '../edit-social-links/edit-social-links.component';
|
|
5
6
|
import { EditUserProfileModalComponent } from '../edit-user-profile-modal/edit-user-profile-modal.component';
|
|
6
7
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
7
|
-
import { User } from '@posiwise/common-utilities';
|
|
8
8
|
import { ProfileService, QualificationService, TagService } from '@posiwise/common-services';
|
|
9
|
-
import { AboutUserProfile, Qualification, Skill
|
|
9
|
+
import { AboutUserProfile, Qualification, Skill } from '../../shared/interface/user-module.interface';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export declare class UserAboutComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
12
|
-
private profileService;
|
|
13
|
-
private qualificationService;
|
|
14
|
-
private tagService;
|
|
12
|
+
private readonly profileService;
|
|
13
|
+
private readonly qualificationService;
|
|
14
|
+
private readonly tagService;
|
|
15
15
|
user: User;
|
|
16
16
|
isEdit: boolean;
|
|
17
17
|
saveEvent: EventEmitter<boolean>;
|
|
@@ -19,7 +19,7 @@ export declare class UserAboutComponent extends AppBaseComponent implements OnIn
|
|
|
19
19
|
qualificationModal: EditQualificationsModalComponent;
|
|
20
20
|
skillsModal: EditSkillsModalComponent;
|
|
21
21
|
socialModal: EditSocialLinksComponent;
|
|
22
|
-
private navigationSubscription;
|
|
22
|
+
private readonly navigationSubscription;
|
|
23
23
|
allSkills: any[];
|
|
24
24
|
searchSkills: any[];
|
|
25
25
|
selectedSkills: Skill[];
|
|
@@ -29,7 +29,7 @@ export declare class UserAboutComponent extends AppBaseComponent implements OnIn
|
|
|
29
29
|
};
|
|
30
30
|
user_profile: AboutUserProfile;
|
|
31
31
|
qualifications: Qualification[];
|
|
32
|
-
userLinks:
|
|
32
|
+
userLinks: Record<string, string>;
|
|
33
33
|
noUserLinks: boolean;
|
|
34
34
|
loading: boolean;
|
|
35
35
|
constructor(profileService: ProfileService, qualificationService: QualificationService, tagService: TagService, injector: Injector);
|
|
@@ -4,8 +4,8 @@ import { User } from '@posiwise/common-utilities';
|
|
|
4
4
|
import { ProfileService } from '@posiwise/common-services';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class PortfoliosComponent implements OnInit {
|
|
7
|
-
private service;
|
|
8
|
-
private modalService;
|
|
7
|
+
private readonly service;
|
|
8
|
+
private readonly modalService;
|
|
9
9
|
projectPictures: any[];
|
|
10
10
|
selectedPicURL: string;
|
|
11
11
|
isLoaded: boolean;
|
|
@@ -7,8 +7,8 @@ import { ProfileService } from '@posiwise/common-services';
|
|
|
7
7
|
import { UserProfile } from '../shared/interface/user-module.interface';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class UserProfilePageComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
10
|
-
private profileService;
|
|
11
|
-
private modalService;
|
|
10
|
+
private readonly profileService;
|
|
11
|
+
private readonly modalService;
|
|
12
12
|
menu: MenuItem[];
|
|
13
13
|
user: User;
|
|
14
14
|
slug: string;
|
|
@@ -27,6 +27,7 @@ export declare class UserProfilePageComponent extends AppBaseComponent implement
|
|
|
27
27
|
constructor(injector: Injector, profileService: ProfileService, modalService: NgbModal);
|
|
28
28
|
get allowEdit(): boolean;
|
|
29
29
|
ngOnInit(): void;
|
|
30
|
+
handleImageError(event: Event, fallbackPath: any): void;
|
|
30
31
|
private dataURLtoBlob;
|
|
31
32
|
openModal(content: any): void;
|
|
32
33
|
onImageSelection(event: any): void;
|
|
@@ -8,7 +8,7 @@ import { Project, User } from '@posiwise/common-utilities';
|
|
|
8
8
|
import { ProfileService } from '@posiwise/common-services';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class UserProjectsComponent extends AppBaseComponent implements OnInit {
|
|
11
|
-
private service;
|
|
11
|
+
private readonly service;
|
|
12
12
|
user: User;
|
|
13
13
|
isEdit: boolean;
|
|
14
14
|
projectModal: EditProjectModalComponent;
|