@posiwise/user-module 0.0.141 → 0.0.143
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/posiwise-user-module.mjs +334 -177
- package/fesm2022/posiwise-user-module.mjs.map +1 -1
- package/package.json +6 -6
- package/types/posiwise-user-module.d.ts +992 -0
- package/index.d.ts +0 -28
- package/lib/account/account-details/account-details.component.d.ts +0 -75
- package/lib/account/account.component.d.ts +0 -14
- package/lib/account/subscriptions/add-subscription/add-subscription.component.d.ts +0 -36
- package/lib/account/subscriptions/saved-card-details/saved-card-details.component.d.ts +0 -32
- package/lib/account/subscriptions/subscription-credential/subscription-credential.component.d.ts +0 -59
- package/lib/account/subscriptions/update-payment-details/update-payment-details.component.d.ts +0 -33
- package/lib/account/subscriptions/upgrade-subscription/upgrade-subscription.component.d.ts +0 -58
- package/lib/account/subscriptions/user-subscription-details/user-subscription-details.component.d.ts +0 -67
- package/lib/account/subscriptions/user-subscriptions-list/user-subscriptions-list.component.d.ts +0 -81
- package/lib/account/user-invoice/user-invoice.component.d.ts +0 -25
- package/lib/settings-tabs/communication-tab/communication-tab.component.d.ts +0 -23
- package/lib/settings-tabs/others-tab/others-tab.component.d.ts +0 -19
- package/lib/settings-tabs/security-tab/security-tab.component.d.ts +0 -32
- package/lib/settings-tabs/settings-tabs.component.d.ts +0 -15
- package/lib/shared/interface/user-module.interface.d.ts +0 -144
- package/lib/support/support-details/support-details.component.d.ts +0 -32
- package/lib/support/support.component.d.ts +0 -16
- package/lib/user-module.module.d.ts +0 -53
- package/lib/user-profile/edit-portfolios/edit-portfolios.component.d.ts +0 -37
- package/lib/user-profile/edit-project-modal/edit-project-modal.component.d.ts +0 -38
- package/lib/user-profile/edit-qualifications-modal/edit-qualifications-modal.component.d.ts +0 -31
- package/lib/user-profile/edit-recommendation-modal/edit-recommendation-modal.component.d.ts +0 -23
- package/lib/user-profile/edit-skills-modal/edit-skills-modal.component.d.ts +0 -36
- package/lib/user-profile/edit-social-links/edit-social-links.component.d.ts +0 -26
- package/lib/user-profile/edit-user-profile-modal/edit-user-profile-modal.component.d.ts +0 -35
- package/lib/user-profile/user-about/user-about.component.d.ts +0 -55
- package/lib/user-profile/user-portfolios/user-portfolios.component.d.ts +0 -24
- package/lib/user-profile/user-profile-page.component.d.ts +0 -47
- package/lib/user-profile/user-projects/user-projects.component.d.ts +0 -35
package/index.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export * from './lib/user-module.module';
|
|
2
|
-
export * from './lib/account/account.component';
|
|
3
|
-
export * from './lib/account/account-details/account-details.component';
|
|
4
|
-
export * from './lib/account/subscriptions/add-subscription/add-subscription.component';
|
|
5
|
-
export * from './lib/account/subscriptions/saved-card-details/saved-card-details.component';
|
|
6
|
-
export * from './lib/account/subscriptions/subscription-credential/subscription-credential.component';
|
|
7
|
-
export * from './lib/account/subscriptions/update-payment-details/update-payment-details.component';
|
|
8
|
-
export * from './lib/account/subscriptions/upgrade-subscription/upgrade-subscription.component';
|
|
9
|
-
export * from './lib/account/subscriptions/user-subscription-details/user-subscription-details.component';
|
|
10
|
-
export * from './lib/account/subscriptions/user-subscriptions-list/user-subscriptions-list.component';
|
|
11
|
-
export * from './lib/account/user-invoice/user-invoice.component';
|
|
12
|
-
export * from './lib/settings-tabs/settings-tabs.component';
|
|
13
|
-
export * from './lib/settings-tabs/communication-tab/communication-tab.component';
|
|
14
|
-
export * from './lib/settings-tabs/others-tab/others-tab.component';
|
|
15
|
-
export * from './lib/settings-tabs/security-tab/security-tab.component';
|
|
16
|
-
export * from './lib/support/support.component';
|
|
17
|
-
export * from './lib/support/support-details/support-details.component';
|
|
18
|
-
export * from './lib/user-profile/user-profile-page.component';
|
|
19
|
-
export * from './lib/user-profile/edit-portfolios/edit-portfolios.component';
|
|
20
|
-
export * from './lib/user-profile/edit-project-modal/edit-project-modal.component';
|
|
21
|
-
export * from './lib/user-profile/edit-qualifications-modal/edit-qualifications-modal.component';
|
|
22
|
-
export * from './lib/user-profile/edit-recommendation-modal/edit-recommendation-modal.component';
|
|
23
|
-
export * from './lib/user-profile/edit-skills-modal/edit-skills-modal.component';
|
|
24
|
-
export * from './lib/user-profile/edit-social-links/edit-social-links.component';
|
|
25
|
-
export * from './lib/user-profile/edit-user-profile-modal/edit-user-profile-modal.component';
|
|
26
|
-
export * from './lib/user-profile/user-about/user-about.component';
|
|
27
|
-
export * from './lib/user-profile/user-portfolios/user-portfolios.component';
|
|
28
|
-
export * from './lib/user-profile/user-projects/user-projects.component';
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { ElementRef, Injector, OnInit } from '@angular/core';
|
|
2
|
-
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { NgxGpAutocompleteDirective } from '@angular-magic/ngx-gp-autocomplete';
|
|
4
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
5
|
-
import { 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
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class AccountDetailsComponent extends AppBaseComponent implements OnInit {
|
|
11
|
-
private readonly fb;
|
|
12
|
-
private readonly modalService;
|
|
13
|
-
private readonly authService;
|
|
14
|
-
private readonly geoService;
|
|
15
|
-
private readonly profileService;
|
|
16
|
-
placesRef: NgxGpAutocompleteDirective;
|
|
17
|
-
passwordRef: ElementRef;
|
|
18
|
-
emailForm: UntypedFormGroup;
|
|
19
|
-
passwordForm: UntypedFormGroup;
|
|
20
|
-
profileForm: UntypedFormGroup;
|
|
21
|
-
image: string;
|
|
22
|
-
countries$: Observable<Country[]>;
|
|
23
|
-
states: Country[];
|
|
24
|
-
validatedEmail: string;
|
|
25
|
-
toggleEmail: boolean;
|
|
26
|
-
togglePassword: boolean;
|
|
27
|
-
toggleNickName: boolean;
|
|
28
|
-
passwordVerified: boolean;
|
|
29
|
-
isCurrentPasswordValid: boolean;
|
|
30
|
-
selectedState: any;
|
|
31
|
-
user: User;
|
|
32
|
-
slug: string;
|
|
33
|
-
isLoaded: boolean;
|
|
34
|
-
passwordBusyButton: boolean;
|
|
35
|
-
slugBusyButton: boolean;
|
|
36
|
-
emailBusyButton: boolean;
|
|
37
|
-
validatePasswordBusyButton: boolean;
|
|
38
|
-
profileBusyButton: boolean;
|
|
39
|
-
showApiToken: boolean;
|
|
40
|
-
showApiClientId: boolean;
|
|
41
|
-
refreshingTokens: boolean;
|
|
42
|
-
constructor(fb: UntypedFormBuilder, modalService: NgbModal, authService: AuthService, geoService: GeoService, profileService: ProfileService, injector: Injector);
|
|
43
|
-
ngOnInit(): void;
|
|
44
|
-
handleAddressChange(_event: any): void;
|
|
45
|
-
private getUserProfile;
|
|
46
|
-
/**
|
|
47
|
-
* Updates Email Address
|
|
48
|
-
* this needs to be separate and requires the email to be validated from email before it's actually changed
|
|
49
|
-
*/
|
|
50
|
-
onEmailFormSubmit(): void;
|
|
51
|
-
validatePassword(): void;
|
|
52
|
-
handleImageError(event: Event, fallbackPath: any): void;
|
|
53
|
-
checkValidity(): void;
|
|
54
|
-
onPasswordFormSubmit(): void;
|
|
55
|
-
onProfileFormSubmit(): void;
|
|
56
|
-
onAvatarSave(): void;
|
|
57
|
-
openModal(content: any): void;
|
|
58
|
-
onUpdateSlug(): void;
|
|
59
|
-
onImageSelection(event: any): void;
|
|
60
|
-
sendMailToResetPassword(): void;
|
|
61
|
-
getRegion(countryId: number | string): void;
|
|
62
|
-
private getForms;
|
|
63
|
-
private passwordMatcher;
|
|
64
|
-
dataURLtoBlob(dataUrl: string): Blob;
|
|
65
|
-
onToggleEmail(): void;
|
|
66
|
-
onTogglePassword(): void;
|
|
67
|
-
onClose(): void;
|
|
68
|
-
shouldUserChangeEmail(): void;
|
|
69
|
-
toggleApiTokenVisibility(): void;
|
|
70
|
-
toggleApiClientIdVisibility(): void;
|
|
71
|
-
refreshApiTokens(): void;
|
|
72
|
-
private performTokenRefresh;
|
|
73
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AccountDetailsComponent, never>;
|
|
74
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AccountDetailsComponent, "pw-account-details", never, {}, {}, never, never, false, never>;
|
|
75
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Router } from '@angular/router';
|
|
2
|
-
import { MenuItem } from 'primeng/api';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class AccountComponent {
|
|
5
|
-
private readonly router;
|
|
6
|
-
menu: MenuItem[];
|
|
7
|
-
items: MenuItem[];
|
|
8
|
-
activeItem: MenuItem;
|
|
9
|
-
path: string;
|
|
10
|
-
constructor(router: Router);
|
|
11
|
-
activateMenu(): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AccountComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AccountComponent, "pw-user-account", never, {}, {}, never, never, false, never>;
|
|
14
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
-
import { ProductService } from '@posiwise/common-services';
|
|
5
|
-
import { Product, PRODUCT_CATEGORY, Subscription, User } from '@posiwise/common-utilities';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class AddSubscriptionComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
8
|
-
private readonly productService;
|
|
9
|
-
private readonly singleProducts;
|
|
10
|
-
private readonly enterpriseProducts;
|
|
11
|
-
form: UntypedFormGroup;
|
|
12
|
-
busy: boolean;
|
|
13
|
-
isLoaded: boolean;
|
|
14
|
-
selectedProduct: boolean;
|
|
15
|
-
isPurchaseAttempted: boolean;
|
|
16
|
-
userLoggedIn: boolean;
|
|
17
|
-
availableProducts: Product[];
|
|
18
|
-
products: Product[];
|
|
19
|
-
user: User;
|
|
20
|
-
unitError: string;
|
|
21
|
-
category: typeof PRODUCT_CATEGORY;
|
|
22
|
-
units: number;
|
|
23
|
-
subscribedPermissionKeys: any[];
|
|
24
|
-
currentSubscription: Subscription;
|
|
25
|
-
subscriptionId: number;
|
|
26
|
-
constructor(productService: ProductService, injector: Injector);
|
|
27
|
-
ngOnInit(): void;
|
|
28
|
-
private getProducts;
|
|
29
|
-
private getSingleCategoryProducts;
|
|
30
|
-
onChangeCategory(category: any): void;
|
|
31
|
-
onSelection(product: any): void;
|
|
32
|
-
trackByProduct(_index: number, item: Product): number;
|
|
33
|
-
ngOnDestroy(): void;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AddSubscriptionComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AddSubscriptionComponent, "pw-add-subscription", never, {}, {}, never, never, false, never>;
|
|
36
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @summary Shows the saved credit card details of the user
|
|
3
|
-
* @author anikets43
|
|
4
|
-
*
|
|
5
|
-
* Created at : 2020-02-08 16:56:18
|
|
6
|
-
* Last modified : 2020-02-08 17:06:29
|
|
7
|
-
*/
|
|
8
|
-
import { EventEmitter } from '@angular/core';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class SavedCardDetailsComponent {
|
|
11
|
-
/**
|
|
12
|
-
* Credit Card details like brand, exp_month, exp_year, card_number
|
|
13
|
-
*/
|
|
14
|
-
data: {
|
|
15
|
-
brand?: string;
|
|
16
|
-
exp_month?: string;
|
|
17
|
-
exp_year?: string;
|
|
18
|
-
card_number?: string;
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
* boolean: change payment option
|
|
22
|
-
*/
|
|
23
|
-
isChangePayment: boolean;
|
|
24
|
-
showNewCard: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Emitter: on payment change request
|
|
27
|
-
*/
|
|
28
|
-
changeEvent: EventEmitter<boolean>;
|
|
29
|
-
OnPaymentChange(value: any): void;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SavedCardDetailsComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SavedCardDetailsComponent, "pw-saved-card-details", never, { "data": { "alias": "data"; "required": false; }; "isChangePayment": { "alias": "isChangePayment"; "required": false; }; "showNewCard": { "alias": "showNewCard"; "required": false; }; }, { "changeEvent": "changeEvent"; }, never, never, false, never>;
|
|
32
|
-
}
|
package/lib/account/subscriptions/subscription-credential/subscription-credential.component.d.ts
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { UntypedFormArray, UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
-
import { SubscriptionService } from '@posiwise/common-services';
|
|
5
|
-
import { PasswordValidationComponent } from '@posiwise/shared-components';
|
|
6
|
-
import { CredentialData } from '../../../shared/interface/user-module.interface';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class SubscriptionCredentialComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
9
|
-
private readonly fb;
|
|
10
|
-
private readonly subscriptionService;
|
|
11
|
-
private credentialToEdit;
|
|
12
|
-
passwordValidationModalForRevealCredential: PasswordValidationComponent;
|
|
13
|
-
passwordValidationModalForEditCredential: PasswordValidationComponent;
|
|
14
|
-
passwordValidationModalForAddCredential: PasswordValidationComponent;
|
|
15
|
-
form: UntypedFormGroup;
|
|
16
|
-
data: any[];
|
|
17
|
-
subscriptionId: number;
|
|
18
|
-
totalRecords: number;
|
|
19
|
-
allSubscriptionCredentials: CredentialData[];
|
|
20
|
-
availableCredentials: CredentialData[];
|
|
21
|
-
credentialsSelect: CredentialData[];
|
|
22
|
-
updatedCredential: CredentialData;
|
|
23
|
-
uniqueCredential: any[];
|
|
24
|
-
isEdit: boolean;
|
|
25
|
-
submitted: boolean;
|
|
26
|
-
buttonBusy: boolean;
|
|
27
|
-
isLoaded: boolean;
|
|
28
|
-
credentials: any[];
|
|
29
|
-
showForm: boolean;
|
|
30
|
-
credentialSaved: string;
|
|
31
|
-
credentialName: string;
|
|
32
|
-
credentialToReveal: any;
|
|
33
|
-
constructor(fb: UntypedFormBuilder, subscriptionService: SubscriptionService, injector: Injector);
|
|
34
|
-
ngOnInit(): void;
|
|
35
|
-
get credentialsGroup(): UntypedFormArray;
|
|
36
|
-
/** Function to get all credentials */
|
|
37
|
-
private getAllCredentials;
|
|
38
|
-
/** Function to get available Credentials */
|
|
39
|
-
private getAllAvailableCredentials;
|
|
40
|
-
/** Function to get credential on select */
|
|
41
|
-
selectedOption(event: any): void;
|
|
42
|
-
/** Function to post credentials */
|
|
43
|
-
saveCredentials(): void;
|
|
44
|
-
revealCredentials(credential: any): void;
|
|
45
|
-
hideCredentials(): void;
|
|
46
|
-
showCredentials(): void;
|
|
47
|
-
/** Function to get form controls */
|
|
48
|
-
get f(): {
|
|
49
|
-
[key: string]: import("@angular/forms").AbstractControl<any, any>;
|
|
50
|
-
};
|
|
51
|
-
onCancel(): void;
|
|
52
|
-
openCredentialsForAdd(): void;
|
|
53
|
-
openCredentialsForEdit(credential: any): void;
|
|
54
|
-
editCredentials(): void;
|
|
55
|
-
showEditForm(): void;
|
|
56
|
-
ngOnDestroy(): void;
|
|
57
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SubscriptionCredentialComponent, never>;
|
|
58
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SubscriptionCredentialComponent, "pw-subscription-credential", never, {}, {}, never, never, false, never>;
|
|
59
|
-
}
|
package/lib/account/subscriptions/update-payment-details/update-payment-details.component.d.ts
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Injector, OnInit } from '@angular/core';
|
|
2
|
-
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
-
import { ProductService, ScriptLoaderService, SubscriptionService } from '@posiwise/common-services';
|
|
5
|
-
import { CardDetails } from '../../../shared/interface/user-module.interface';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class UpdatePaymentDetailsComponent extends AppBaseComponent implements OnInit {
|
|
8
|
-
private readonly fb;
|
|
9
|
-
private readonly scriptLoader;
|
|
10
|
-
private readonly productService;
|
|
11
|
-
private readonly subscriptionService;
|
|
12
|
-
form: UntypedFormGroup;
|
|
13
|
-
years: any[];
|
|
14
|
-
months: any[];
|
|
15
|
-
busy: boolean;
|
|
16
|
-
isChangePayment: boolean;
|
|
17
|
-
cardDetails: CardDetails[];
|
|
18
|
-
loading: boolean;
|
|
19
|
-
errorMessage: string;
|
|
20
|
-
stripePublishKey: string;
|
|
21
|
-
errorMsg: string;
|
|
22
|
-
subscriptionId: number;
|
|
23
|
-
productId: number;
|
|
24
|
-
constructor(fb: UntypedFormBuilder, scriptLoader: ScriptLoaderService, productService: ProductService, subscriptionService: SubscriptionService, injector: Injector);
|
|
25
|
-
ngOnInit(): void;
|
|
26
|
-
private getCardDetails;
|
|
27
|
-
onUpdatePaymentDetailsCancel(): void;
|
|
28
|
-
onSave(): void;
|
|
29
|
-
cancel(): void;
|
|
30
|
-
onChange(value: any): void;
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UpdatePaymentDetailsComponent, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UpdatePaymentDetailsComponent, "pw-update-payment-details", never, {}, {}, never, never, false, never>;
|
|
33
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
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
|
-
import { PasswordValidationComponent } from '@posiwise/shared-components';
|
|
8
|
-
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
9
|
-
import { Store } from '@ngrx/store';
|
|
10
|
-
import { CardDetails } from '../../../shared/interface/user-module.interface';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
export declare class UpgradeSubscriptionComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
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
|
-
passwordValidationModal: PasswordValidationComponent;
|
|
20
|
-
form: UntypedFormGroup;
|
|
21
|
-
product: Product;
|
|
22
|
-
subscription: Subscription;
|
|
23
|
-
user: User;
|
|
24
|
-
cardDetails: CardDetails;
|
|
25
|
-
units: number;
|
|
26
|
-
subscriptionId: number;
|
|
27
|
-
productId: number;
|
|
28
|
-
unitError: string;
|
|
29
|
-
password: string;
|
|
30
|
-
stripePublishKey: string;
|
|
31
|
-
busy: boolean;
|
|
32
|
-
isPurchaseAttempted: boolean;
|
|
33
|
-
months: any[];
|
|
34
|
-
years: any[];
|
|
35
|
-
showNewCard: boolean;
|
|
36
|
-
passwordModalVisible: boolean;
|
|
37
|
-
errorMsg: any;
|
|
38
|
-
get totalAmount(): number;
|
|
39
|
-
constructor(injector: Injector, productService: ProductService, fb: UntypedFormBuilder, modalService: NgbModal, subscriptionService: SubscriptionService, store: Store<AppState>, scriptLoader: ScriptLoaderService);
|
|
40
|
-
ngOnInit(): void;
|
|
41
|
-
getSubscriptionDetails(): void;
|
|
42
|
-
getProductDetails(): void;
|
|
43
|
-
onMaxReached(event: any): void;
|
|
44
|
-
onMinReached(event: any): void;
|
|
45
|
-
onUnitChange(event: any): void;
|
|
46
|
-
onValidatePassword(isSuccess: boolean): void;
|
|
47
|
-
private postCreateToken;
|
|
48
|
-
attemptPurchase(): void;
|
|
49
|
-
private onPurchaseSubmit;
|
|
50
|
-
private enrollUserToSubscription;
|
|
51
|
-
private noPasswordModal;
|
|
52
|
-
private getCardDetails;
|
|
53
|
-
onDiscardToggle(): void;
|
|
54
|
-
updateCardDetails(): void;
|
|
55
|
-
ngOnDestroy(): void;
|
|
56
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UpgradeSubscriptionComponent, never>;
|
|
57
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UpgradeSubscriptionComponent, "pw-upgrade-subscription", never, {}, {}, never, never, false, never>;
|
|
58
|
-
}
|
package/lib/account/subscriptions/user-subscription-details/user-subscription-details.component.d.ts
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
-
import { AppState } from '@posiwise/app-store';
|
|
5
|
-
import { GeoService, SubscriptionService } from '@posiwise/common-services';
|
|
6
|
-
import { Country, Product, Subscription, User } from '@posiwise/common-utilities';
|
|
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
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
export declare class UserSubscriptionDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
13
|
-
private readonly fb;
|
|
14
|
-
private readonly geoService;
|
|
15
|
-
private readonly modalService;
|
|
16
|
-
private readonly subscriptionService;
|
|
17
|
-
private readonly store;
|
|
18
|
-
modal: PasswordValidationComponent;
|
|
19
|
-
allowUpdate: boolean;
|
|
20
|
-
hasUnitChanged: boolean;
|
|
21
|
-
busyButton: boolean;
|
|
22
|
-
form: UntypedFormGroup;
|
|
23
|
-
unitError: string;
|
|
24
|
-
subscription: Subscription;
|
|
25
|
-
units: number;
|
|
26
|
-
countries$: Observable<Country[]>;
|
|
27
|
-
squaredLogo: string;
|
|
28
|
-
fullLogo: string;
|
|
29
|
-
slug: string;
|
|
30
|
-
userId: number;
|
|
31
|
-
subscriptionId: number;
|
|
32
|
-
user: User;
|
|
33
|
-
showApiToken: boolean;
|
|
34
|
-
showApiClientId: boolean;
|
|
35
|
-
refreshingTokens: boolean;
|
|
36
|
-
totalAmount(): number;
|
|
37
|
-
constructor(fb: UntypedFormBuilder, geoService: GeoService, modalService: NgbModal, subscriptionService: SubscriptionService, store: Store<AppState>, injector: Injector);
|
|
38
|
-
ngOnInit(): void;
|
|
39
|
-
private fetchData;
|
|
40
|
-
private getForm;
|
|
41
|
-
private commaSeparatedEmailsValidator;
|
|
42
|
-
/** *
|
|
43
|
-
* Update seats for all the products of subscription
|
|
44
|
-
*/
|
|
45
|
-
updateUnits(): void;
|
|
46
|
-
openModal(content: any): void;
|
|
47
|
-
onImgError(event: Event, fallbackSrc: string): void;
|
|
48
|
-
onImageSelection(event: any): void;
|
|
49
|
-
uploadSquaredLogo(event: any): void;
|
|
50
|
-
onClose(): void;
|
|
51
|
-
dataURLtoBlob(dataUrl: any): Blob;
|
|
52
|
-
onSaveDetails(): void;
|
|
53
|
-
onPasswordValidation(_event: any): void;
|
|
54
|
-
onMaxReached(event: any): void;
|
|
55
|
-
onMinReached(event: any): void;
|
|
56
|
-
onUnitChange(event: any): void;
|
|
57
|
-
/** Function to execute on location select */
|
|
58
|
-
handleAddressChange(event: any): void;
|
|
59
|
-
toggleApiTokenVisibility(): void;
|
|
60
|
-
toggleApiClientIdVisibility(): void;
|
|
61
|
-
refreshApiTokens(): void;
|
|
62
|
-
private performTokenRefresh;
|
|
63
|
-
trackByProduct(_index: number, item: Product): number;
|
|
64
|
-
ngOnDestroy(): void;
|
|
65
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserSubscriptionDetailsComponent, never>;
|
|
66
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UserSubscriptionDetailsComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
67
|
-
}
|
package/lib/account/subscriptions/user-subscriptions-list/user-subscriptions-list.component.d.ts
DELETED
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { Clipboard } from '@angular/cdk/clipboard';
|
|
2
|
-
import { Injector, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
3
|
-
import { AdminService } from '@posiwise/admin-module-utils';
|
|
4
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
5
|
-
import { AppState } from '@posiwise/app-store';
|
|
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';
|
|
12
|
-
import { CurrentItem } from '../../../shared/interface/user-module.interface';
|
|
13
|
-
import { AddSubscriptionComponent } from '../add-subscription/add-subscription.component';
|
|
14
|
-
import * as i0 from "@angular/core";
|
|
15
|
-
export declare class UserSubscriptionListComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
16
|
-
private readonly subscriptionService;
|
|
17
|
-
private readonly adminService;
|
|
18
|
-
private readonly modalService;
|
|
19
|
-
private readonly store;
|
|
20
|
-
private readonly clipboard;
|
|
21
|
-
menu: MenuItem[];
|
|
22
|
-
changeSubscriptionRef: AddSubscriptionComponent;
|
|
23
|
-
passwordValidationModalForAccountDelete: PasswordValidationComponent;
|
|
24
|
-
passwordValidationModalForKey: PasswordValidationComponent;
|
|
25
|
-
passwordValidationForUnsubscribe: PasswordValidationComponent;
|
|
26
|
-
cancelSubscriptionModal: TemplateRef<unknown>;
|
|
27
|
-
showApiKey: boolean;
|
|
28
|
-
password: string;
|
|
29
|
-
productName: string;
|
|
30
|
-
subscribedSubscriptions: any[];
|
|
31
|
-
activeItem: MenuItem;
|
|
32
|
-
isAddNew: boolean;
|
|
33
|
-
user: User;
|
|
34
|
-
isUpdatePayment: false;
|
|
35
|
-
selectedSubscription: {
|
|
36
|
-
id: number;
|
|
37
|
-
productId: number;
|
|
38
|
-
};
|
|
39
|
-
editing: boolean;
|
|
40
|
-
isLoaded: boolean;
|
|
41
|
-
reasonToCancel: string;
|
|
42
|
-
currentItem: CurrentItem;
|
|
43
|
-
showTos: boolean;
|
|
44
|
-
objectKeys: {
|
|
45
|
-
(o: object): string[];
|
|
46
|
-
(o: {}): string[];
|
|
47
|
-
};
|
|
48
|
-
items: MenuItem[];
|
|
49
|
-
productId: number;
|
|
50
|
-
constructor(subscriptionService: SubscriptionService, adminService: AdminService, modalService: NgbModal, store: Store<AppState>, clipboard: Clipboard, injector: Injector);
|
|
51
|
-
ngOnInit(): void;
|
|
52
|
-
onClipboardCopy(accessCode: string): void;
|
|
53
|
-
attemptUnsubscribe(item: any, productId: number): void;
|
|
54
|
-
openCancelSubscriptionModal(): void;
|
|
55
|
-
private getSubscribedProduct;
|
|
56
|
-
updateApiKey(item: any): void;
|
|
57
|
-
showKey(item: any): void;
|
|
58
|
-
displayApiKey(): void;
|
|
59
|
-
activateMenu(): void;
|
|
60
|
-
onUnsubscribe(item: any, reasonToCancel: string): void;
|
|
61
|
-
onValidatePassword(isSuccess: boolean): void;
|
|
62
|
-
onConfirmCancel(): void;
|
|
63
|
-
discardEdit(): void;
|
|
64
|
-
onSaveDetails(): void;
|
|
65
|
-
onUpdatePaymentDetailsCancel(): void;
|
|
66
|
-
attemptUpgrade(subscription: Subscription, product: Product): void;
|
|
67
|
-
private noPasswordModal;
|
|
68
|
-
showModalForAccountDeletion(): void;
|
|
69
|
-
deleteUser(_event: any): void;
|
|
70
|
-
showPrivacyAndTos(product: Product): void;
|
|
71
|
-
onCancel(): void;
|
|
72
|
-
trackBySubscription(_index: number, item: {
|
|
73
|
-
id: number;
|
|
74
|
-
}): number;
|
|
75
|
-
trackByProduct(_index: number, item: {
|
|
76
|
-
id: number;
|
|
77
|
-
}): number;
|
|
78
|
-
ngOnDestroy(): void;
|
|
79
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserSubscriptionListComponent, never>;
|
|
80
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UserSubscriptionListComponent, "pw-user-subscriptions-list", never, {}, {}, never, never, false, never>;
|
|
81
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { Injector, OnDestroy } from '@angular/core';
|
|
2
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
-
import { LazyLoadEvent } from 'primeng/api';
|
|
4
|
-
import { Subscription } from 'rxjs';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class UserInvoiceComponent extends AppBaseComponent implements OnDestroy {
|
|
7
|
-
invoices: any[];
|
|
8
|
-
buttonBusy: boolean;
|
|
9
|
-
userId: number;
|
|
10
|
-
totalRecordsUnFiltered: number;
|
|
11
|
-
searchText: string;
|
|
12
|
-
subscription: Subscription;
|
|
13
|
-
intervalTimer: import("rxjs").Observable<number>;
|
|
14
|
-
isLoaded: boolean;
|
|
15
|
-
page: number;
|
|
16
|
-
totalRecords: number;
|
|
17
|
-
invoiceFrequency: string[];
|
|
18
|
-
constructor(injector: Injector);
|
|
19
|
-
onLazyLoad(event: LazyLoadEvent): void;
|
|
20
|
-
private fetchInvoices;
|
|
21
|
-
private pollForInvoices;
|
|
22
|
-
ngOnDestroy(): void;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserInvoiceComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UserInvoiceComponent, "pw-user-invoice", never, {}, {}, never, never, false, never>;
|
|
25
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Injector, OnInit } from '@angular/core';
|
|
2
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
-
import { AppState } from '@posiwise/app-store';
|
|
4
|
-
import { CommonService, ProfileService } from '@posiwise/common-services';
|
|
5
|
-
import { User } from '@posiwise/common-utilities';
|
|
6
|
-
import { Store } from '@ngrx/store';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class CommunicationTabComponent extends AppBaseComponent implements OnInit {
|
|
9
|
-
private readonly commonService;
|
|
10
|
-
private readonly profileService;
|
|
11
|
-
private readonly store;
|
|
12
|
-
subscriptions: any[];
|
|
13
|
-
userSubscription: any[];
|
|
14
|
-
isLoaded: boolean;
|
|
15
|
-
user: User;
|
|
16
|
-
constructor(commonService: CommonService, profileService: ProfileService, store: Store<AppState>, injector: Injector);
|
|
17
|
-
ngOnInit(): void;
|
|
18
|
-
private getAllSubscription;
|
|
19
|
-
onValueChange(item: any, value: any): void;
|
|
20
|
-
updateUser(): void;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CommunicationTabComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CommunicationTabComponent, "pw-communication-tab", never, {}, {}, never, never, false, never>;
|
|
23
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
-
import { CommonService } from '@posiwise/common-services';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class OthersTabComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
6
|
-
private readonly commonService;
|
|
7
|
-
subscriptionConfigs: any[];
|
|
8
|
-
globalConfigs: any[];
|
|
9
|
-
userId: number;
|
|
10
|
-
isLoaded: boolean;
|
|
11
|
-
constructor(commonService: CommonService, injector: Injector);
|
|
12
|
-
ngOnInit(): void;
|
|
13
|
-
private getGlobalSubscriptionConfig;
|
|
14
|
-
private getGlobalConfigs;
|
|
15
|
-
onValueChange(item: any, value: any): void;
|
|
16
|
-
ngOnDestroy(): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OthersTabComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OthersTabComponent, "pw-others-tab", never, {}, {}, never, never, false, never>;
|
|
19
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { ElementRef, Injector, OnInit } from '@angular/core';
|
|
2
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SecurityTabComponent extends AppBaseComponent implements OnInit {
|
|
5
|
-
passwordRef: ElementRef;
|
|
6
|
-
verificationCode: ElementRef;
|
|
7
|
-
ssoPasswordRef: ElementRef;
|
|
8
|
-
showSSOSection: boolean;
|
|
9
|
-
ssoPasswordVerified: boolean;
|
|
10
|
-
isSSOPasswordInvalid: boolean;
|
|
11
|
-
user: any;
|
|
12
|
-
isCurrentPasswordValid: boolean;
|
|
13
|
-
passwordVerified: boolean;
|
|
14
|
-
show2FA: boolean;
|
|
15
|
-
created2faDetails: object;
|
|
16
|
-
constructor(injector: Injector);
|
|
17
|
-
ngOnInit(): void;
|
|
18
|
-
private getUser;
|
|
19
|
-
validatePassword(): void;
|
|
20
|
-
checkValidity(): void;
|
|
21
|
-
private create2FA;
|
|
22
|
-
verify2FA(): void;
|
|
23
|
-
private enable2FA;
|
|
24
|
-
private disable2FA;
|
|
25
|
-
reset(): void;
|
|
26
|
-
checkSSOPasswordValidity(): void;
|
|
27
|
-
validateSSOPassword(): void;
|
|
28
|
-
triggerSSO(): void;
|
|
29
|
-
resetSSO(): void;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SecurityTabComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SecurityTabComponent, "pw-security-tab", never, {}, {}, never, never, false, never>;
|
|
32
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Router } from '@angular/router';
|
|
2
|
-
import { PermissionService } from '@posiwise/common-services';
|
|
3
|
-
import { MenuItem } from 'primeng/api';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class SettingsComponent {
|
|
6
|
-
private readonly router;
|
|
7
|
-
private readonly permissionService;
|
|
8
|
-
menu: MenuItem[];
|
|
9
|
-
items: MenuItem[];
|
|
10
|
-
activeItem: MenuItem;
|
|
11
|
-
constructor(router: Router, permissionService: PermissionService);
|
|
12
|
-
activateMenu(): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SettingsComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SettingsComponent, "pw-settings", never, {}, {}, never, never, false, never>;
|
|
15
|
-
}
|