@posiwise/user-module 0.0.109 → 0.0.111
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 +13 -12
- package/esm2022/lib/account/account.component.mjs +1 -1
- package/esm2022/lib/account/subscriptions/add-subscription/add-subscription.component.mjs +6 -6
- package/esm2022/lib/account/subscriptions/subscription-credential/subscription-credential.component.mjs +11 -10
- package/esm2022/lib/account/subscriptions/update-payment-details/update-payment-details.component.mjs +9 -8
- package/esm2022/lib/account/subscriptions/upgrade-subscription/upgrade-subscription.component.mjs +13 -12
- package/esm2022/lib/account/subscriptions/user-subscription-details/user-subscription-details.component.mjs +11 -10
- package/esm2022/lib/account/subscriptions/user-subscriptions-list/user-subscriptions-list.component.mjs +8 -8
- package/esm2022/lib/account/user-invoice/user-invoice.component.mjs +4 -4
- package/esm2022/lib/settings-tabs/communication-tab/communication-tab.component.mjs +4 -4
- package/esm2022/lib/settings-tabs/others-tab/others-tab.component.mjs +1 -1
- package/esm2022/lib/settings-tabs/security-tab/security-tab.component.mjs +48 -4
- package/esm2022/lib/settings-tabs/settings-tabs.component.mjs +1 -1
- package/esm2022/lib/support/support-details/support-details.component.mjs +6 -4
- package/esm2022/lib/support/support.component.mjs +4 -4
- package/esm2022/lib/user-module.module.mjs +23 -23
- package/esm2022/lib/user-profile/edit-portfolios/edit-portfolios.component.mjs +4 -4
- package/esm2022/lib/user-profile/edit-project-modal/edit-project-modal.component.mjs +5 -4
- package/esm2022/lib/user-profile/edit-qualifications-modal/edit-qualifications-modal.component.mjs +4 -4
- package/esm2022/lib/user-profile/edit-recommendation-modal/edit-recommendation-modal.component.mjs +3 -3
- package/esm2022/lib/user-profile/edit-skills-modal/edit-skills-modal.component.mjs +3 -3
- package/esm2022/lib/user-profile/edit-social-links/edit-social-links.component.mjs +3 -3
- package/esm2022/lib/user-profile/edit-user-profile-modal/edit-user-profile-modal.component.mjs +12 -10
- package/esm2022/lib/user-profile/user-about/user-about.component.mjs +6 -6
- package/esm2022/lib/user-profile/user-portfolios/user-portfolios.component.mjs +4 -4
- package/esm2022/lib/user-profile/user-profile-page.component.mjs +10 -6
- package/esm2022/lib/user-profile/user-projects/user-projects.component.mjs +5 -5
- package/fesm2022/posiwise-user-module.mjs +242 -192
- package/fesm2022/posiwise-user-module.mjs.map +1 -1
- package/lib/account/account-details/account-details.component.d.ts +5 -5
- package/lib/account/subscriptions/add-subscription/add-subscription.component.d.ts +7 -7
- package/lib/account/subscriptions/subscription-credential/subscription-credential.component.d.ts +8 -8
- package/lib/account/subscriptions/update-payment-details/update-payment-details.component.d.ts +5 -5
- package/lib/account/subscriptions/upgrade-subscription/upgrade-subscription.component.d.ts +11 -11
- package/lib/account/subscriptions/user-subscription-details/user-subscription-details.component.d.ts +7 -7
- package/lib/account/subscriptions/user-subscriptions-list/user-subscriptions-list.component.d.ts +8 -8
- package/lib/account/user-invoice/user-invoice.component.d.ts +1 -1
- package/lib/settings-tabs/communication-tab/communication-tab.component.d.ts +4 -4
- package/lib/settings-tabs/security-tab/security-tab.component.d.ts +8 -0
- package/lib/settings-tabs/settings-tabs.component.d.ts +1 -1
- package/lib/support/support-details/support-details.component.d.ts +5 -3
- package/lib/user-profile/edit-portfolios/edit-portfolios.component.d.ts +5 -5
- 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 +1 -1
- package/lib/user-profile/edit-recommendation-modal/edit-recommendation-modal.component.d.ts +4 -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 +3 -3
- package/lib/user-profile/edit-user-profile-modal/edit-user-profile-modal.component.d.ts +5 -5
- package/lib/user-profile/user-about/user-about.component.d.ts +3 -3
- package/lib/user-profile/user-portfolios/user-portfolios.component.d.ts +4 -4
- package/lib/user-profile/user-profile-page.component.d.ts +4 -4
- package/lib/user-profile/user-projects/user-projects.component.d.ts +3 -3
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ElementRef, Injector, OnInit } from '@angular/core';
|
|
2
2
|
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
4
3
|
import { NgxGpAutocompleteDirective } from '@angular-magic/ngx-gp-autocomplete';
|
|
5
|
-
import { Observable } from 'rxjs';
|
|
6
4
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
7
|
-
import { Country, User } from '@posiwise/common-utilities';
|
|
8
5
|
import { AuthService, GeoService, ProfileService } from '@posiwise/common-services';
|
|
6
|
+
import { Country, User } from '@posiwise/common-utilities';
|
|
7
|
+
import { Observable } from 'rxjs';
|
|
8
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class AccountDetailsComponent extends AppBaseComponent implements OnInit {
|
|
11
11
|
private readonly fb;
|
|
@@ -13,6 +13,7 @@ export declare class AccountDetailsComponent extends AppBaseComponent implements
|
|
|
13
13
|
private readonly authService;
|
|
14
14
|
private readonly geoService;
|
|
15
15
|
private readonly profileService;
|
|
16
|
+
placesRef: NgxGpAutocompleteDirective;
|
|
16
17
|
passwordRef: ElementRef;
|
|
17
18
|
emailForm: UntypedFormGroup;
|
|
18
19
|
passwordForm: UntypedFormGroup;
|
|
@@ -25,11 +26,10 @@ export declare class AccountDetailsComponent extends AppBaseComponent implements
|
|
|
25
26
|
togglePassword: boolean;
|
|
26
27
|
toggleNickName: boolean;
|
|
27
28
|
passwordVerified: boolean;
|
|
29
|
+
isCurrentPasswordValid: boolean;
|
|
28
30
|
selectedState: any;
|
|
29
31
|
user: User;
|
|
30
32
|
slug: string;
|
|
31
|
-
isCurrentPasswordValid: boolean;
|
|
32
|
-
placesRef: NgxGpAutocompleteDirective;
|
|
33
33
|
isLoaded: boolean;
|
|
34
34
|
passwordBusyButton: boolean;
|
|
35
35
|
slugBusyButton: boolean;
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { PRODUCT_CATEGORY, User, Product, Subscription } from '@posiwise/common-utilities';
|
|
4
3
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
5
4
|
import { ProductService } from '@posiwise/common-services';
|
|
5
|
+
import { Product, PRODUCT_CATEGORY, Subscription, User } from '@posiwise/common-utilities';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class AddSubscriptionComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
8
8
|
private readonly productService;
|
|
9
|
-
|
|
9
|
+
private readonly singleProducts;
|
|
10
|
+
private readonly enterpriseProducts;
|
|
10
11
|
form: UntypedFormGroup;
|
|
12
|
+
busy: boolean;
|
|
11
13
|
isLoaded: boolean;
|
|
14
|
+
selectedProduct: boolean;
|
|
15
|
+
isPurchaseAttempted: boolean;
|
|
16
|
+
userLoggedIn: boolean;
|
|
12
17
|
availableProducts: Product[];
|
|
13
18
|
products: Product[];
|
|
14
|
-
selectedProduct: boolean;
|
|
15
19
|
user: User;
|
|
16
20
|
unitError: string;
|
|
17
21
|
category: typeof PRODUCT_CATEGORY;
|
|
18
|
-
private readonly singleProducts;
|
|
19
|
-
private readonly enterpriseProducts;
|
|
20
|
-
isPurchaseAttempted: boolean;
|
|
21
22
|
units: number;
|
|
22
23
|
subscribedPermissionKeys: any[];
|
|
23
24
|
currentSubscription: Subscription;
|
|
24
25
|
subscriptionId: number;
|
|
25
|
-
userLoggedIn: boolean;
|
|
26
26
|
constructor(productService: ProductService, injector: Injector);
|
|
27
27
|
ngOnInit(): void;
|
|
28
28
|
private getProducts;
|
package/lib/account/subscriptions/subscription-credential/subscription-credential.component.d.ts
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { UntypedFormArray, UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
3
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
-
import { PasswordValidationComponent } from '@posiwise/shared-components';
|
|
5
4
|
import { SubscriptionService } from '@posiwise/common-services';
|
|
5
|
+
import { PasswordValidationComponent } from '@posiwise/shared-components';
|
|
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
9
|
private readonly fb;
|
|
10
10
|
private readonly subscriptionService;
|
|
11
|
+
private credentialToEdit;
|
|
11
12
|
passwordValidationModalForRevealCredential: PasswordValidationComponent;
|
|
12
13
|
passwordValidationModalForEditCredential: PasswordValidationComponent;
|
|
13
14
|
passwordValidationModalForAddCredential: PasswordValidationComponent;
|
|
14
15
|
form: UntypedFormGroup;
|
|
15
16
|
data: any[];
|
|
16
17
|
subscriptionId: number;
|
|
17
|
-
isEdit: boolean;
|
|
18
|
-
allSubscriptionCredentials: CredentialData[];
|
|
19
18
|
totalRecords: number;
|
|
19
|
+
allSubscriptionCredentials: CredentialData[];
|
|
20
|
+
availableCredentials: CredentialData[];
|
|
21
|
+
credentialsSelect: CredentialData[];
|
|
22
|
+
updatedCredential: CredentialData;
|
|
23
|
+
uniqueCredential: any[];
|
|
24
|
+
isEdit: boolean;
|
|
20
25
|
submitted: boolean;
|
|
21
26
|
buttonBusy: boolean;
|
|
22
|
-
availableCredentials: CredentialData[];
|
|
23
27
|
isLoaded: boolean;
|
|
24
28
|
credentials: any[];
|
|
25
|
-
credentialsSelect: CredentialData[];
|
|
26
|
-
uniqueCredential: any[];
|
|
27
|
-
updatedCredential: CredentialData;
|
|
28
29
|
showForm: boolean;
|
|
29
30
|
credentialSaved: string;
|
|
30
31
|
credentialName: string;
|
|
31
32
|
credentialToReveal: any;
|
|
32
|
-
private credentialToEdit;
|
|
33
33
|
constructor(fb: UntypedFormBuilder, subscriptionService: SubscriptionService, injector: Injector);
|
|
34
34
|
ngOnInit(): void;
|
|
35
35
|
get credentialsGroup(): UntypedFormArray;
|
package/lib/account/subscriptions/update-payment-details/update-payment-details.component.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Injector, OnInit } from '@angular/core';
|
|
2
2
|
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
3
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
-
import {
|
|
4
|
+
import { ProductService, ScriptLoaderService, SubscriptionService } from '@posiwise/common-services';
|
|
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 {
|
|
@@ -11,16 +11,16 @@ export declare class UpdatePaymentDetailsComponent extends AppBaseComponent impl
|
|
|
11
11
|
private readonly subscriptionService;
|
|
12
12
|
form: UntypedFormGroup;
|
|
13
13
|
years: any[];
|
|
14
|
-
|
|
14
|
+
months: any[];
|
|
15
15
|
busy: boolean;
|
|
16
|
-
cardDetails: CardDetails[];
|
|
17
16
|
isChangePayment: boolean;
|
|
17
|
+
cardDetails: CardDetails[];
|
|
18
18
|
loading: boolean;
|
|
19
|
-
months: any[];
|
|
20
19
|
errorMessage: string;
|
|
20
|
+
stripePublishKey: string;
|
|
21
|
+
errorMsg: string;
|
|
21
22
|
subscriptionId: number;
|
|
22
23
|
productId: number;
|
|
23
|
-
stripePublishKey: string;
|
|
24
24
|
constructor(fb: UntypedFormBuilder, scriptLoader: ScriptLoaderService, productService: ProductService, subscriptionService: SubscriptionService, injector: Injector);
|
|
25
25
|
ngOnInit(): void;
|
|
26
26
|
private getCardDetails;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
4
|
-
import { Store } from '@ngrx/store';
|
|
5
|
-
import { AppState } from '@posiwise/app-store';
|
|
6
3
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
+
import { AppState } from '@posiwise/app-store';
|
|
5
|
+
import { ProductService, ScriptLoaderService, SubscriptionService } from '@posiwise/common-services';
|
|
6
|
+
import { Product, Subscription, User } from '@posiwise/common-utilities';
|
|
7
7
|
import { PasswordValidationComponent } from '@posiwise/shared-components';
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
8
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
9
|
+
import { Store } from '@ngrx/store';
|
|
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 {
|
|
@@ -17,24 +17,24 @@ export declare class UpgradeSubscriptionComponent extends AppBaseComponent imple
|
|
|
17
17
|
private readonly store;
|
|
18
18
|
private readonly scriptLoader;
|
|
19
19
|
passwordValidationModal: PasswordValidationComponent;
|
|
20
|
+
form: UntypedFormGroup;
|
|
20
21
|
product: Product;
|
|
21
22
|
subscription: Subscription;
|
|
22
|
-
|
|
23
|
+
user: User;
|
|
24
|
+
cardDetails: CardDetails;
|
|
23
25
|
units: number;
|
|
24
|
-
unitError: string;
|
|
25
26
|
subscriptionId: number;
|
|
26
27
|
productId: number;
|
|
28
|
+
unitError: string;
|
|
27
29
|
password: string;
|
|
30
|
+
stripePublishKey: string;
|
|
28
31
|
busy: boolean;
|
|
29
32
|
isPurchaseAttempted: boolean;
|
|
30
|
-
user: User;
|
|
31
|
-
cardDetails: CardDetails;
|
|
32
33
|
months: any[];
|
|
33
34
|
years: any[];
|
|
34
35
|
showNewCard: boolean;
|
|
35
|
-
stripePublishKey: string;
|
|
36
|
-
errorMsg: any;
|
|
37
36
|
passwordModalVisible: boolean;
|
|
37
|
+
errorMsg: any;
|
|
38
38
|
get totalAmount(): number;
|
|
39
39
|
constructor(injector: Injector, productService: ProductService, fb: UntypedFormBuilder, modalService: NgbModal, subscriptionService: SubscriptionService, store: Store<AppState>, scriptLoader: ScriptLoaderService);
|
|
40
40
|
ngOnInit(): void;
|
package/lib/account/subscriptions/user-subscription-details/user-subscription-details.component.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
4
|
-
import { Store } from '@ngrx/store';
|
|
5
|
-
import { AppState } from '@posiwise/app-store';
|
|
6
|
-
import { Observable } from 'rxjs';
|
|
7
3
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
8
|
-
import {
|
|
4
|
+
import { AppState } from '@posiwise/app-store';
|
|
5
|
+
import { GeoService, SubscriptionService } from '@posiwise/common-services';
|
|
9
6
|
import { Country, Product, Subscription, User } from '@posiwise/common-utilities';
|
|
10
|
-
import {
|
|
7
|
+
import { PasswordValidationComponent } from '@posiwise/shared-components';
|
|
8
|
+
import { Observable } from 'rxjs';
|
|
9
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
10
|
+
import { Store } from '@ngrx/store';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
export declare class UserSubscriptionDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
13
13
|
private readonly fb;
|
|
@@ -19,7 +19,6 @@ export declare class UserSubscriptionDetailsComponent extends AppBaseComponent i
|
|
|
19
19
|
allowUpdate: boolean;
|
|
20
20
|
hasUnitChanged: boolean;
|
|
21
21
|
busyButton: boolean;
|
|
22
|
-
subscriptionId: number;
|
|
23
22
|
form: UntypedFormGroup;
|
|
24
23
|
unitError: string;
|
|
25
24
|
subscription: Subscription;
|
|
@@ -29,6 +28,7 @@ export declare class UserSubscriptionDetailsComponent extends AppBaseComponent i
|
|
|
29
28
|
fullLogo: string;
|
|
30
29
|
slug: string;
|
|
31
30
|
userId: number;
|
|
31
|
+
subscriptionId: number;
|
|
32
32
|
user: User;
|
|
33
33
|
totalAmount(): number;
|
|
34
34
|
constructor(fb: UntypedFormBuilder, geoService: GeoService, modalService: NgbModal, subscriptionService: SubscriptionService, store: Store<AppState>, injector: Injector);
|
package/lib/account/subscriptions/user-subscriptions-list/user-subscriptions-list.component.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Clipboard } from '@angular/cdk/clipboard';
|
|
2
2
|
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
3
|
-
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
4
|
-
import { Store } from '@ngrx/store';
|
|
5
|
-
import { AppState } from '@posiwise/app-store';
|
|
6
|
-
import { MenuItem } from 'primeng/api';
|
|
7
3
|
import { AdminService } from '@posiwise/admin-module-utils';
|
|
8
|
-
import { AddSubscriptionComponent } from '../add-subscription/add-subscription.component';
|
|
9
4
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
10
|
-
import {
|
|
11
|
-
import { Product, User, Subscription } from '@posiwise/common-utilities';
|
|
5
|
+
import { AppState } from '@posiwise/app-store';
|
|
12
6
|
import { SubscriptionService } from '@posiwise/common-services';
|
|
7
|
+
import { Product, Subscription, User } from '@posiwise/common-utilities';
|
|
8
|
+
import { PasswordValidationComponent } from '@posiwise/shared-components';
|
|
9
|
+
import { MenuItem } from 'primeng/api';
|
|
10
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
11
|
+
import { Store } from '@ngrx/store';
|
|
13
12
|
import { CurrentItem } from '../../../shared/interface/user-module.interface';
|
|
13
|
+
import { AddSubscriptionComponent } from '../add-subscription/add-subscription.component';
|
|
14
14
|
import * as i0 from "@angular/core";
|
|
15
15
|
export declare class UserSubscriptionListComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
16
16
|
private readonly subscriptionService;
|
|
@@ -25,6 +25,7 @@ export declare class UserSubscriptionListComponent extends AppBaseComponent impl
|
|
|
25
25
|
passwordValidationForUnsubscribe: PasswordValidationComponent;
|
|
26
26
|
showApiKey: boolean;
|
|
27
27
|
password: string;
|
|
28
|
+
productName: string;
|
|
28
29
|
subscribedSubscriptions: any[];
|
|
29
30
|
activeItem: MenuItem;
|
|
30
31
|
isAddNew: boolean;
|
|
@@ -44,7 +45,6 @@ export declare class UserSubscriptionListComponent extends AppBaseComponent impl
|
|
|
44
45
|
};
|
|
45
46
|
items: MenuItem[];
|
|
46
47
|
productId: number;
|
|
47
|
-
productName: string;
|
|
48
48
|
constructor(subscriptionService: SubscriptionService, adminService: AdminService, modalService: NgbModal, store: Store<AppState>, clipboard: Clipboard, injector: Injector);
|
|
49
49
|
ngOnInit(): void;
|
|
50
50
|
onClipboardCopy(accessCode: string): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Injector, OnDestroy } from '@angular/core';
|
|
2
|
-
import { Subscription } from 'rxjs';
|
|
3
2
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
3
|
import { LazyLoadEvent } from 'primeng/api';
|
|
4
|
+
import { Subscription } from 'rxjs';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class UserInvoiceComponent extends AppBaseComponent implements OnDestroy {
|
|
7
7
|
invoices: any[];
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { Injector, OnInit } from '@angular/core';
|
|
2
|
-
import { Store } from '@ngrx/store';
|
|
3
|
-
import { AppState } from '@posiwise/app-store';
|
|
4
2
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
5
|
-
import {
|
|
3
|
+
import { AppState } from '@posiwise/app-store';
|
|
6
4
|
import { CommonService, ProfileService } from '@posiwise/common-services';
|
|
5
|
+
import { User } from '@posiwise/common-utilities';
|
|
6
|
+
import { Store } from '@ngrx/store';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class CommunicationTabComponent extends AppBaseComponent implements OnInit {
|
|
9
9
|
private readonly commonService;
|
|
10
10
|
private readonly profileService;
|
|
11
11
|
private readonly store;
|
|
12
12
|
subscriptions: any[];
|
|
13
|
-
isLoaded: boolean;
|
|
14
13
|
userSubscription: any[];
|
|
14
|
+
isLoaded: boolean;
|
|
15
15
|
user: User;
|
|
16
16
|
constructor(commonService: CommonService, profileService: ProfileService, store: Store<AppState>, injector: Injector);
|
|
17
17
|
ngOnInit(): void;
|
|
@@ -4,6 +4,10 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class SecurityTabComponent extends AppBaseComponent implements OnInit {
|
|
5
5
|
passwordRef: ElementRef;
|
|
6
6
|
verificationCode: ElementRef;
|
|
7
|
+
ssoPasswordRef: ElementRef;
|
|
8
|
+
showSSOSection: boolean;
|
|
9
|
+
ssoPasswordVerified: boolean;
|
|
10
|
+
isSSOPasswordInvalid: boolean;
|
|
7
11
|
user: any;
|
|
8
12
|
isCurrentPasswordValid: boolean;
|
|
9
13
|
passwordVerified: boolean;
|
|
@@ -19,6 +23,10 @@ export declare class SecurityTabComponent extends AppBaseComponent implements On
|
|
|
19
23
|
private enable2FA;
|
|
20
24
|
private disable2FA;
|
|
21
25
|
reset(): void;
|
|
26
|
+
checkSSOPasswordValidity(): void;
|
|
27
|
+
validateSSOPassword(): void;
|
|
28
|
+
triggerSSO(): void;
|
|
29
|
+
resetSSO(): void;
|
|
22
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<SecurityTabComponent, never>;
|
|
23
31
|
static ɵcmp: i0.ɵɵComponentDeclaration<SecurityTabComponent, "pw-security-tab", never, {}, {}, never, never, false, never>;
|
|
24
32
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Router } from '@angular/router';
|
|
2
|
-
import { MenuItem } from 'primeng/api';
|
|
3
2
|
import { PermissionService } from '@posiwise/common-services';
|
|
3
|
+
import { MenuItem } from 'primeng/api';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class SettingsComponent {
|
|
6
6
|
private readonly router;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AfterViewInit, ElementRef, Injector, OnInit, Renderer2 } from '@angular/core';
|
|
2
2
|
import { UntypedFormGroup } from '@angular/forms';
|
|
3
3
|
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
|
-
export declare class SupportDetailsComponent extends AppBaseComponent implements AfterViewInit {
|
|
6
|
+
export declare class SupportDetailsComponent extends AppBaseComponent implements AfterViewInit, OnInit {
|
|
7
7
|
private readonly commonService;
|
|
8
8
|
private readonly authService;
|
|
9
9
|
private readonly renderer;
|
|
@@ -11,12 +11,14 @@ export declare class SupportDetailsComponent extends AppBaseComponent implements
|
|
|
11
11
|
form: UntypedFormGroup;
|
|
12
12
|
uploadedFiles: any[];
|
|
13
13
|
invalidFile: boolean;
|
|
14
|
-
siteKey: string;
|
|
15
14
|
isSubmitClicked: boolean;
|
|
15
|
+
siteKey: string;
|
|
16
16
|
recaptcha: any;
|
|
17
17
|
isLoading: boolean;
|
|
18
18
|
filesUploaded: boolean;
|
|
19
|
+
subscriptionId: any;
|
|
19
20
|
constructor(injector: Injector, commonService: CommonService, authService: AuthService, renderer: Renderer2, el: ElementRef);
|
|
21
|
+
ngOnInit(): void;
|
|
20
22
|
ngAfterViewInit(): void;
|
|
21
23
|
onSave(): void;
|
|
22
24
|
handleSuccess(token: string): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
-
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
-
import { FileUpload } from 'primeng/fileupload';
|
|
4
2
|
import { ProfileService } from '@posiwise/common-services';
|
|
3
|
+
import { FileUpload } from 'primeng/fileupload';
|
|
4
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
5
5
|
import { ModalContext } from '../../shared/interface/user-module.interface';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class EditPortfoliosComponent {
|
|
@@ -9,12 +9,12 @@ export declare class EditPortfoliosComponent {
|
|
|
9
9
|
private readonly profileService;
|
|
10
10
|
content: TemplateRef<ModalContext>;
|
|
11
11
|
uploader: FileUpload;
|
|
12
|
-
uploadedFiles: any[];
|
|
13
|
-
project: any[];
|
|
14
|
-
projectPictures: any[];
|
|
15
12
|
successEvent: EventEmitter<boolean>;
|
|
16
13
|
id: number;
|
|
17
14
|
slug: string;
|
|
15
|
+
uploadedFiles: any[];
|
|
16
|
+
project: any[];
|
|
17
|
+
projectPictures: any[];
|
|
18
18
|
busy: boolean;
|
|
19
19
|
filesUploaded: boolean;
|
|
20
20
|
constructor(modalService: NgbModal, profileService: ProfileService);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EventEmitter, Injector, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
4
3
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
5
4
|
import { ProfileService } from '@posiwise/common-services';
|
|
5
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
6
6
|
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 {
|
|
@@ -14,9 +14,9 @@ export declare class EditProjectModalComponent extends AppBaseComponent implemen
|
|
|
14
14
|
saveEvent: EventEmitter<boolean>;
|
|
15
15
|
form: UntypedFormGroup;
|
|
16
16
|
weeks: number[];
|
|
17
|
-
title: string;
|
|
18
17
|
startYears: number[];
|
|
19
18
|
endYears: number[];
|
|
19
|
+
title: string;
|
|
20
20
|
submitted: boolean;
|
|
21
21
|
buttonBusy: boolean;
|
|
22
22
|
private currentProject;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EventEmitter, Injector, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
4
3
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
5
4
|
import { QualificationService } from '@posiwise/common-services';
|
|
5
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
6
6
|
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 {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
4
|
-
import { User, Project } from '@posiwise/common-utilities';
|
|
5
3
|
import { ProfileService } from '@posiwise/common-services';
|
|
4
|
+
import { Project, User } from '@posiwise/common-utilities';
|
|
5
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
6
6
|
import { ModalContext } from '../../shared/interface/user-module.interface';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class EditRecommendationModalComponent {
|
|
9
9
|
modalService: NgbModal;
|
|
10
10
|
private readonly fb;
|
|
11
11
|
private readonly profileService;
|
|
12
|
-
title: string;
|
|
13
12
|
content: TemplateRef<ModalContext>;
|
|
13
|
+
user: User;
|
|
14
14
|
form: UntypedFormGroup;
|
|
15
|
+
title: string;
|
|
15
16
|
buttonBusy: boolean;
|
|
16
|
-
user: User;
|
|
17
17
|
project: Project;
|
|
18
18
|
constructor(modalService: NgbModal, fb: UntypedFormBuilder, profileService: ProfileService);
|
|
19
19
|
onOpen(value?: any): void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
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
2
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
5
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
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 {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ChangeDetectorRef, EventEmitter, Injector, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
4
3
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
5
4
|
import { ProfileService } from '@posiwise/common-services';
|
|
5
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
6
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 {
|
|
@@ -11,11 +11,11 @@ export declare class EditSocialLinksComponent extends AppBaseComponent implement
|
|
|
11
11
|
private readonly profileService;
|
|
12
12
|
private readonly cdr;
|
|
13
13
|
content: TemplateRef<ModalContext>;
|
|
14
|
-
form: UntypedFormGroup;
|
|
15
|
-
buttonBusy: boolean;
|
|
16
14
|
links: Record<string, string>;
|
|
17
15
|
userId: number;
|
|
18
16
|
saveEvent: EventEmitter<void>;
|
|
17
|
+
form: UntypedFormGroup;
|
|
18
|
+
buttonBusy: boolean;
|
|
19
19
|
constructor(injector: Injector, modalService: NgbModal, fb: UntypedFormBuilder, profileService: ProfileService, cdr: ChangeDetectorRef);
|
|
20
20
|
private urlValidator;
|
|
21
21
|
ngOnInit(): void;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { EventEmitter, Injector, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import {
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
3
|
+
import { NgxGpAutocompleteDirective } from '@angular-magic/ngx-gp-autocomplete';
|
|
5
4
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
6
|
-
import { Country } from '@posiwise/common-utilities';
|
|
7
5
|
import { GeoService, ProfileService } from '@posiwise/common-services';
|
|
8
|
-
import {
|
|
6
|
+
import { Country } from '@posiwise/common-utilities';
|
|
7
|
+
import { Observable } from 'rxjs';
|
|
8
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
9
9
|
import { EditUser, ModalContext, UserProfile } from '../../shared/interface/user-module.interface';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export declare class EditUserProfileModalComponent extends AppBaseComponent implements OnInit {
|
|
@@ -15,8 +15,8 @@ export declare class EditUserProfileModalComponent extends AppBaseComponent impl
|
|
|
15
15
|
private readonly geoService;
|
|
16
16
|
content: TemplateRef<ModalContext>;
|
|
17
17
|
slug: string;
|
|
18
|
-
saveEvent: EventEmitter<UserProfile>;
|
|
19
18
|
user: EditUser;
|
|
19
|
+
saveEvent: EventEmitter<UserProfile>;
|
|
20
20
|
placesRef: NgxGpAutocompleteDirective;
|
|
21
21
|
form: UntypedFormGroup;
|
|
22
22
|
countries$: Observable<Country>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
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';
|
|
2
4
|
import { User } from '@posiwise/common-utilities';
|
|
5
|
+
import { AboutUserProfile, Qualification, Skill } from '../../shared/interface/user-module.interface';
|
|
3
6
|
import { EditQualificationsModalComponent } from '../edit-qualifications-modal/edit-qualifications-modal.component';
|
|
4
7
|
import { EditSkillsModalComponent } from '../edit-skills-modal/edit-skills-modal.component';
|
|
5
8
|
import { EditSocialLinksComponent } from '../edit-social-links/edit-social-links.component';
|
|
6
9
|
import { EditUserProfileModalComponent } from '../edit-user-profile-modal/edit-user-profile-modal.component';
|
|
7
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
8
|
-
import { ProfileService, QualificationService, TagService } from '@posiwise/common-services';
|
|
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
12
|
private readonly profileService;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
-
import { User } from '@posiwise/common-utilities';
|
|
4
2
|
import { ProfileService } from '@posiwise/common-services';
|
|
3
|
+
import { User } from '@posiwise/common-utilities';
|
|
4
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class PortfoliosComponent implements OnInit {
|
|
7
7
|
private readonly service;
|
|
8
8
|
private readonly modalService;
|
|
9
|
+
user: User;
|
|
10
|
+
isEdit: boolean;
|
|
9
11
|
projectPictures: any[];
|
|
10
12
|
selectedPicURL: string;
|
|
11
13
|
isLoaded: boolean;
|
|
12
|
-
user: User;
|
|
13
|
-
isEdit: boolean;
|
|
14
14
|
constructor(service: ProfileService, modalService: NgbModal);
|
|
15
15
|
ngOnInit(): void;
|
|
16
16
|
private getProjectPictures;
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
-
import { MenuItem } from 'primeng/api';
|
|
4
2
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
5
|
-
import { User } from '@posiwise/common-utilities';
|
|
6
3
|
import { ProfileService } from '@posiwise/common-services';
|
|
4
|
+
import { User } from '@posiwise/common-utilities';
|
|
5
|
+
import { MenuItem } from 'primeng/api';
|
|
6
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
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
10
|
private readonly profileService;
|
|
11
11
|
private readonly modalService;
|
|
12
12
|
menu: MenuItem[];
|
|
13
|
+
private loggedInUserDetails;
|
|
13
14
|
user: User;
|
|
14
15
|
slug: string;
|
|
15
16
|
objectKeys: {
|
|
@@ -20,7 +21,6 @@ export declare class UserProfilePageComponent extends AppBaseComponent implement
|
|
|
20
21
|
isFollowing: boolean;
|
|
21
22
|
isLoaded: boolean;
|
|
22
23
|
userProfile: UserProfile;
|
|
23
|
-
private loggedInUserDetails;
|
|
24
24
|
items: MenuItem[];
|
|
25
25
|
activeItem: MenuItem;
|
|
26
26
|
activateMenu(): void;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
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';
|
|
2
5
|
import { EditPortfoliosComponent } from '../edit-portfolios/edit-portfolios.component';
|
|
3
6
|
import { EditProjectModalComponent } from '../edit-project-modal/edit-project-modal.component';
|
|
4
7
|
import { EditRecommendationModalComponent } from '../edit-recommendation-modal/edit-recommendation-modal.component';
|
|
5
8
|
import { EditSkillsModalComponent } from '../edit-skills-modal/edit-skills-modal.component';
|
|
6
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
7
|
-
import { Project, User } from '@posiwise/common-utilities';
|
|
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
11
|
private readonly service;
|