@posiwise/user-module 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -0
- package/assets/scss/_bootstrap_modules.scss +40 -0
- package/assets/scss/_custom-bootstrap.scss +13 -0
- package/assets/scss/_dashboard.scss +31 -0
- package/assets/scss/_dynamic-styles.scss +534 -0
- package/assets/scss/_plugins.scss +3 -0
- package/assets/scss/_public-pages.scss +7 -0
- package/assets/scss/_shared.scss +3 -0
- package/assets/scss/_variables.scss +5 -0
- package/assets/scss/common/landing-page-a/landing-page-style-1.scss +670 -0
- package/assets/scss/common/landing-page-b/banner.scss +141 -0
- package/assets/scss/common/landing-page-b/contact-us.scss +167 -0
- package/assets/scss/common/landing-page-b/explainer.scss +75 -0
- package/assets/scss/common/landing-page-b/explainer2.scss +35 -0
- package/assets/scss/common/landing-page-b/header.scss +56 -0
- package/assets/scss/common/landing-page-b/landing-page-style-2.scss +20 -0
- package/assets/scss/custom-bootstrap/_badge.scss +468 -0
- package/assets/scss/custom-bootstrap/_bootstrap_variables.scss +30 -0
- package/assets/scss/custom-bootstrap/_buttons.scss +84 -0
- package/assets/scss/custom-bootstrap/_card.scss +319 -0
- package/assets/scss/custom-bootstrap/_carousel.scss +6 -0
- package/assets/scss/custom-bootstrap/_form_select.scss +7 -0
- package/assets/scss/custom-bootstrap/_forms.scss +337 -0
- package/assets/scss/custom-bootstrap/_links.scss +7 -0
- package/assets/scss/custom-bootstrap/_modal.scss +16 -0
- package/assets/scss/custom-bootstrap/_navbar.scss +42 -0
- package/assets/scss/custom-bootstrap/_popover.scss +10 -0
- package/assets/scss/custom-bootstrap/_progress.scss +12 -0
- package/assets/scss/custom-bootstrap/_reboot.scss +93 -0
- package/assets/scss/custom-bootstrap/_type.scss +202 -0
- package/assets/scss/dashboard/_admin.scss +15 -0
- package/assets/scss/dashboard/_animations.scss +20 -0
- package/assets/scss/dashboard/_bootstrap-social.scss +641 -0
- package/assets/scss/dashboard/_chat.scss +250 -0
- package/assets/scss/dashboard/_coming-soon.scss +34 -0
- package/assets/scss/dashboard/_components.scss +229 -0
- package/assets/scss/dashboard/_email.scss +184 -0
- package/assets/scss/dashboard/_fixed-navbar.scss +18 -0
- package/assets/scss/dashboard/_gallery.scss +1201 -0
- package/assets/scss/dashboard/_helper.scss +736 -0
- package/assets/scss/dashboard/_horizontal-timeline.scss +314 -0
- package/assets/scss/dashboard/_icons.scss +107 -0
- package/assets/scss/dashboard/_layout.scss +23 -0
- package/assets/scss/dashboard/_misc.scss +220 -0
- package/assets/scss/dashboard/_notifications.scss +27 -0
- package/assets/scss/dashboard/_palette.scss +308 -0
- package/assets/scss/dashboard/_profile.scss +36 -0
- package/assets/scss/dashboard/_responsive.scss +209 -0
- package/assets/scss/dashboard/_search.scss +33 -0
- package/assets/scss/dashboard/_select.scss +16 -0
- package/assets/scss/dashboard/_sidebar-content.scss +632 -0
- package/assets/scss/dashboard/_tables.scss +17 -0
- package/assets/scss/dashboard/_tabs.scss +151 -0
- package/assets/scss/dashboard/_ui-switch.scss +6 -0
- package/assets/scss/dashboard/_upload.scss +249 -0
- package/assets/scss/dashboard/_utilities.scss +105 -0
- package/assets/scss/dashboard/_vertical-timeline.scss +1261 -0
- package/assets/scss/dashboard/mixins/_buttons.scss +78 -0
- package/assets/scss/dashboard/mixins/_colors.scss +29 -0
- package/assets/scss/dashboard/mixins/_custom.scss +34 -0
- package/assets/scss/dashboard/mixins/_shadows.scss +62 -0
- package/assets/scss/dashboard/mixins/_type.scss +16 -0
- package/assets/scss/dashboard/mixins/_typography.scss +29 -0
- package/assets/scss/dashboard/mixins/_utilities.scss +129 -0
- package/assets/scss/dashboard/mixins/_vendor-prefixes.scss +71 -0
- package/assets/scss/plugins/_plugin-nouislider.scss +199 -0
- package/assets/scss/plugins/_toastr.scss +71 -0
- package/assets/scss/plugins/perfect-scrollbar/_main.scss +3 -0
- package/assets/scss/plugins/perfect-scrollbar/_mixins.scss +135 -0
- package/assets/scss/plugins/perfect-scrollbar/_ps-custom.scss +134 -0
- package/assets/scss/plugins/perfect-scrollbar/_themes.scss +23 -0
- package/assets/scss/plugins/perfect-scrollbar/_variables.scss +19 -0
- package/assets/scss/public-pages/_buttons.scss +136 -0
- package/assets/scss/public-pages/_input-fields.scss +29 -0
- package/assets/scss/public-pages/_layout.scss +108 -0
- package/assets/scss/public-pages/mixins/_buttons.scss +28 -0
- package/assets/scss/shared/_modal.scss +28 -0
- package/assets/scss/shared/_prime-ng-tables.scss +107 -0
- package/assets/scss/shared/_prime-ng.scss +5100 -0
- package/assets/scss/variables/_app-colors-variables.scss +760 -0
- package/assets/scss/variables/_branding-variables.scss +93 -0
- package/assets/scss/variables/_dashboard-variables.scss +96 -0
- package/assets/scss/variables/_generic-variables.scss +33 -0
- package/assets/scss/variables/_landing-page-new-variables.scss +11 -0
- package/assets/scss/variables/_primeng-variables.scss +190 -0
- package/esm2020/index.mjs +33 -0
- package/esm2020/lib/account/account-details/account-details.component.mjs +272 -0
- package/esm2020/lib/account/account.component.mjs +45 -0
- package/esm2020/lib/account/subscriptions/add-subscription/add-subscription.component.mjs +87 -0
- package/esm2020/lib/account/subscriptions/saved-card-details/saved-card-details.component.mjs +36 -0
- package/esm2020/lib/account/subscriptions/subscription-credential/subscription-credential.component.mjs +207 -0
- package/esm2020/lib/account/subscriptions/update-payment-details/update-payment-details.component.mjs +117 -0
- package/esm2020/lib/account/subscriptions/upgrade-subscription/upgrade-subscription.component.mjs +292 -0
- package/esm2020/lib/account/subscriptions/user-subscription-details/user-subscription-details.component.mjs +191 -0
- package/esm2020/lib/account/subscriptions/user-subscriptions-list/user-subscriptions-list.component.mjs +219 -0
- package/esm2020/lib/account/user-invoice/user-invoice.component.mjs +51 -0
- package/esm2020/lib/settings-tabs/communication-tab/communication-tab.component.mjs +84 -0
- package/esm2020/lib/settings-tabs/others-tab/others-tab.component.mjs +71 -0
- package/esm2020/lib/settings-tabs/security-tab/security-tab.component.mjs +101 -0
- package/esm2020/lib/settings-tabs/settings-tabs.component.mjs +48 -0
- package/esm2020/lib/support/support-details/support-details.component.mjs +80 -0
- package/esm2020/lib/support/support.component.mjs +42 -0
- package/esm2020/lib/user-module.module.mjs +192 -0
- package/esm2020/lib/user-profile/edit-portfolios/edit-portfolios.component.mjs +104 -0
- package/esm2020/lib/user-profile/edit-project-modal/edit-project-modal.component.mjs +147 -0
- package/esm2020/lib/user-profile/edit-qualifications-modal/edit-qualifications-modal.component.mjs +111 -0
- package/esm2020/lib/user-profile/edit-recommendation-modal/edit-recommendation-modal.component.mjs +70 -0
- package/esm2020/lib/user-profile/edit-skills-modal/edit-skills-modal.component.mjs +111 -0
- package/esm2020/lib/user-profile/edit-social-links/edit-social-links.component.mjs +87 -0
- package/esm2020/lib/user-profile/edit-user-profile-modal/edit-user-profile-modal.component.mjs +131 -0
- package/esm2020/lib/user-profile/user-about/user-about.component.mjs +144 -0
- package/esm2020/lib/user-profile/user-portfolios/user-portfolios.component.mjs +63 -0
- package/esm2020/lib/user-profile/user-profile-page.component.mjs +155 -0
- package/esm2020/lib/user-profile/user-projects/user-projects.component.mjs +103 -0
- package/esm2020/user-module.mjs +5 -0
- package/fesm2015/user-module.mjs +3019 -0
- package/fesm2015/user-module.mjs.map +1 -0
- package/fesm2020/user-module.mjs +3007 -0
- package/fesm2020/user-module.mjs.map +1 -0
- package/index.d.ts +28 -0
- package/lib/account/account-details/account-details.component.d.ts +62 -0
- package/lib/account/account.component.d.ts +14 -0
- package/lib/account/subscriptions/add-subscription/add-subscription.component.d.ts +39 -0
- package/lib/account/subscriptions/saved-card-details/saved-card-details.component.d.ts +27 -0
- package/lib/account/subscriptions/subscription-credential/subscription-credential.component.d.ts +58 -0
- package/lib/account/subscriptions/update-payment-details/update-payment-details.component.d.ts +32 -0
- package/lib/account/subscriptions/upgrade-subscription/upgrade-subscription.component.d.ts +57 -0
- package/lib/account/subscriptions/user-subscription-details/user-subscription-details.component.d.ts +58 -0
- package/lib/account/subscriptions/user-subscriptions-list/user-subscriptions-list.component.d.ts +69 -0
- package/lib/account/user-invoice/user-invoice.component.d.ts +17 -0
- package/lib/settings-tabs/communication-tab/communication-tab.component.d.ts +23 -0
- package/lib/settings-tabs/others-tab/others-tab.component.d.ts +19 -0
- package/lib/settings-tabs/security-tab/security-tab.component.d.ts +23 -0
- package/lib/settings-tabs/settings-tabs.component.d.ts +15 -0
- package/lib/support/support-details/support-details.component.d.ts +22 -0
- package/lib/support/support.component.d.ts +16 -0
- package/lib/user-module.module.d.ts +43 -0
- package/lib/user-profile/edit-portfolios/edit-portfolios.component.d.ts +32 -0
- package/lib/user-profile/edit-project-modal/edit-project-modal.component.d.ts +36 -0
- package/lib/user-profile/edit-qualifications-modal/edit-qualifications-modal.component.d.ts +29 -0
- package/lib/user-profile/edit-recommendation-modal/edit-recommendation-modal.component.d.ts +22 -0
- package/lib/user-profile/edit-skills-modal/edit-skills-modal.component.d.ts +35 -0
- package/lib/user-profile/edit-social-links/edit-social-links.component.d.ts +23 -0
- package/lib/user-profile/edit-user-profile-modal/edit-user-profile-modal.component.d.ts +33 -0
- package/lib/user-profile/user-about/user-about.component.d.ts +52 -0
- package/lib/user-profile/user-portfolios/user-portfolios.component.d.ts +22 -0
- package/lib/user-profile/user-profile-page.component.d.ts +40 -0
- package/lib/user-profile/user-projects/user-projects.component.d.ts +36 -0
- package/package.json +52 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
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';
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { ElementRef, Injector, OnInit } from '@angular/core';
|
|
2
|
+
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
4
|
+
import { GooglePlaceDirective } from 'ngx-google-places-autocomplete';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
6
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
7
|
+
import { Country, User } from '@posiwise/common-utilities';
|
|
8
|
+
import { AuthService, GeoService, ProfileService } from '@posiwise/common-services';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class AccountDetailsComponent extends AppBaseComponent implements OnInit {
|
|
11
|
+
private fb;
|
|
12
|
+
private modalService;
|
|
13
|
+
private authService;
|
|
14
|
+
private geoService;
|
|
15
|
+
private profileService;
|
|
16
|
+
passwordRef: ElementRef;
|
|
17
|
+
emailForm: UntypedFormGroup;
|
|
18
|
+
passwordForm: UntypedFormGroup;
|
|
19
|
+
profileForm: UntypedFormGroup;
|
|
20
|
+
image: string;
|
|
21
|
+
countries$: Observable<any>;
|
|
22
|
+
states: Country[];
|
|
23
|
+
validatedEmail: string;
|
|
24
|
+
toggleEmail: boolean;
|
|
25
|
+
togglePassword: boolean;
|
|
26
|
+
toggleNickName: boolean;
|
|
27
|
+
passwordVerified: boolean;
|
|
28
|
+
selectedState: any;
|
|
29
|
+
user: User;
|
|
30
|
+
slug: string;
|
|
31
|
+
isCurrentPasswordValid: boolean;
|
|
32
|
+
places: GooglePlaceDirective;
|
|
33
|
+
isLoaded: boolean;
|
|
34
|
+
constructor(fb: UntypedFormBuilder, modalService: NgbModal, authService: AuthService, geoService: GeoService, profileService: ProfileService, injector: Injector);
|
|
35
|
+
ngOnInit(): void;
|
|
36
|
+
handleAddressChange(_event: any): void;
|
|
37
|
+
private getUserProfile;
|
|
38
|
+
/**
|
|
39
|
+
* Updates Email Address
|
|
40
|
+
* this needs to be separate and requires the email to be validated from email before it's actually changed
|
|
41
|
+
*/
|
|
42
|
+
onEmailFormSubmit(): void;
|
|
43
|
+
validatePassword(): void;
|
|
44
|
+
checkValidity(): void;
|
|
45
|
+
onPasswordFormSubmit(): void;
|
|
46
|
+
onProfileFormSubmit(): void;
|
|
47
|
+
onAvatarSave(): void;
|
|
48
|
+
openModal(content: any): void;
|
|
49
|
+
onUpdateSlug(): void;
|
|
50
|
+
onImageSelection(event: any): void;
|
|
51
|
+
sendMailToResetPassword(): void;
|
|
52
|
+
getRegion(countryId: number | string): void;
|
|
53
|
+
private getForms;
|
|
54
|
+
private passwordMatcher;
|
|
55
|
+
dataURLtoBlob(dataurl: string): Blob;
|
|
56
|
+
onToggleEmail(): void;
|
|
57
|
+
onTogglePassword(): void;
|
|
58
|
+
onClose(): void;
|
|
59
|
+
shouldUserChangeEmail(): void;
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AccountDetailsComponent, never>;
|
|
61
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AccountDetailsComponent, "pw-account-details", never, {}, {}, never, never, false, never>;
|
|
62
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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 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
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
+
import { PRODUCT_CATEGORY } from '@posiwise/common-utilities';
|
|
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
|
+
import { ProductService } from '@posiwise/common-services';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class AddSubscriptionComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
11
|
+
private productService;
|
|
12
|
+
busy: boolean;
|
|
13
|
+
form: UntypedFormGroup;
|
|
14
|
+
isLoaded: boolean;
|
|
15
|
+
availableProducts: Product[];
|
|
16
|
+
products: Product[];
|
|
17
|
+
selectedProduct: any;
|
|
18
|
+
user: User;
|
|
19
|
+
unitError: string;
|
|
20
|
+
category: typeof PRODUCT_CATEGORY;
|
|
21
|
+
private singleProducts;
|
|
22
|
+
private enterpriseProducts;
|
|
23
|
+
isPurchaseAttempted: boolean;
|
|
24
|
+
units: number;
|
|
25
|
+
subscribedPermissionKeys: any[];
|
|
26
|
+
currentSubscription: Subscription;
|
|
27
|
+
subscriptionId: number;
|
|
28
|
+
userLoggedIn: boolean;
|
|
29
|
+
constructor(productService: ProductService, injector: Injector);
|
|
30
|
+
ngOnInit(): void;
|
|
31
|
+
private getProducts;
|
|
32
|
+
private getSingleCategoryProducts;
|
|
33
|
+
onChangeCategory(category: any): void;
|
|
34
|
+
onSelection(product: any): void;
|
|
35
|
+
trackByProduct(_index: number, item: any): any;
|
|
36
|
+
ngOnDestroy(): void;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AddSubscriptionComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AddSubscriptionComponent, "pw-add-subscription", never, {}, {}, never, never, false, never>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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: any;
|
|
15
|
+
/**
|
|
16
|
+
* boolean: change payment option
|
|
17
|
+
*/
|
|
18
|
+
isChangePayment: boolean;
|
|
19
|
+
showNewCard: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Emitter: on payment change request
|
|
22
|
+
*/
|
|
23
|
+
changeEvent: EventEmitter<any>;
|
|
24
|
+
OnPaymentChange(value: any): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SavedCardDetailsComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SavedCardDetailsComponent, "pw-saved-card-details", never, { "data": "data"; "isChangePayment": "isChangePayment"; "showNewCard": "showNewCard"; }, { "changeEvent": "changeEvent"; }, never, never, false, never>;
|
|
27
|
+
}
|
package/lib/account/subscriptions/subscription-credential/subscription-credential.component.d.ts
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
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 { PasswordValidationComponent } from '@posiwise/shared-components';
|
|
5
|
+
import { SubscriptionService } from '@posiwise/common-services';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class SubscriptionCredentialComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
8
|
+
private fb;
|
|
9
|
+
private subscriptionService;
|
|
10
|
+
passwordValidationModalForRevealCredential: PasswordValidationComponent;
|
|
11
|
+
passwordValidationModalForEditCredential: PasswordValidationComponent;
|
|
12
|
+
passwordValidationModalForAddCredential: PasswordValidationComponent;
|
|
13
|
+
form: UntypedFormGroup;
|
|
14
|
+
data: any[];
|
|
15
|
+
subscriptionId: number;
|
|
16
|
+
isEdit: boolean;
|
|
17
|
+
allSubscriptionCredentials: any[];
|
|
18
|
+
totalRecords: number;
|
|
19
|
+
submitted: boolean;
|
|
20
|
+
buttonBusy: boolean;
|
|
21
|
+
availableCredentials: any[];
|
|
22
|
+
isLoaded: boolean;
|
|
23
|
+
credentials: any[];
|
|
24
|
+
credentialsSelect: any;
|
|
25
|
+
uniqueCredential: any[];
|
|
26
|
+
updatedCredential: any;
|
|
27
|
+
showForm: boolean;
|
|
28
|
+
credentialSaved: any;
|
|
29
|
+
credentialName: string;
|
|
30
|
+
credentialToReveal: any;
|
|
31
|
+
private credentialToEdit;
|
|
32
|
+
constructor(fb: UntypedFormBuilder, subscriptionService: SubscriptionService, injector: Injector);
|
|
33
|
+
ngOnInit(): void;
|
|
34
|
+
get credentialsGroup(): UntypedFormArray;
|
|
35
|
+
/** Function to get all credentials */
|
|
36
|
+
private getAllCredentials;
|
|
37
|
+
/** Function to get available Credentials */
|
|
38
|
+
private getAllAvailableCredentials;
|
|
39
|
+
/** Function to get credential on select */
|
|
40
|
+
selectedOption(event: any): void;
|
|
41
|
+
/** Function to post credentials */
|
|
42
|
+
saveCredentials(): void;
|
|
43
|
+
revealCredentials(credential: any): void;
|
|
44
|
+
hideCredentials(): void;
|
|
45
|
+
showCredentials(): void;
|
|
46
|
+
/** Function to get form controls */
|
|
47
|
+
get f(): {
|
|
48
|
+
[key: string]: import("@angular/forms").AbstractControl<any, any>;
|
|
49
|
+
};
|
|
50
|
+
onCancel(): void;
|
|
51
|
+
openCredentialsForAdd(): void;
|
|
52
|
+
openCredentialsForEdit(credential: any): void;
|
|
53
|
+
editCredentials(): void;
|
|
54
|
+
showEditForm(): void;
|
|
55
|
+
ngOnDestroy(): void;
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SubscriptionCredentialComponent, never>;
|
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SubscriptionCredentialComponent, "pw-subscription-credential", never, {}, {}, never, never, false, never>;
|
|
58
|
+
}
|
package/lib/account/subscriptions/update-payment-details/update-payment-details.component.d.ts
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Injector, OnInit } from '@angular/core';
|
|
2
|
+
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
+
import { SubscriptionService, ScriptLoaderService, ProductService } from '@posiwise/common-services';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class UpdatePaymentDetailsComponent extends AppBaseComponent implements OnInit {
|
|
7
|
+
private fb;
|
|
8
|
+
private scriptLoader;
|
|
9
|
+
private productService;
|
|
10
|
+
private subscriptionService;
|
|
11
|
+
form: UntypedFormGroup;
|
|
12
|
+
years: any[];
|
|
13
|
+
errorMsg: string;
|
|
14
|
+
busy: boolean;
|
|
15
|
+
cardDetails: any;
|
|
16
|
+
isChangePayment: boolean;
|
|
17
|
+
loading: boolean;
|
|
18
|
+
months: any[];
|
|
19
|
+
errorMessage: string;
|
|
20
|
+
subscriptionId: number;
|
|
21
|
+
productId: number;
|
|
22
|
+
stripePublishKey: string;
|
|
23
|
+
constructor(fb: UntypedFormBuilder, scriptLoader: ScriptLoaderService, productService: ProductService, subscriptionService: SubscriptionService, injector: Injector);
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
private getCardDetails;
|
|
26
|
+
onUpdatePaymentDetailsCancel(): void;
|
|
27
|
+
onSave(): void;
|
|
28
|
+
cancel(): void;
|
|
29
|
+
onChange(value: any): void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpdatePaymentDetailsComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UpdatePaymentDetailsComponent, "pw-update-payment-details", never, {}, {}, never, never, false, never>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
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 { AppBaseComponent } from '@posiwise/app-base-component';
|
|
7
|
+
import { PasswordValidationComponent } from '@posiwise/shared-components';
|
|
8
|
+
import { User, Product, Subscription } from '@posiwise/common-utilities';
|
|
9
|
+
import { ScriptLoaderService, SubscriptionService, ProductService } from '@posiwise/common-services';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class UpgradeSubscriptionComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
12
|
+
private productService;
|
|
13
|
+
private fb;
|
|
14
|
+
private modalService;
|
|
15
|
+
private subscriptionService;
|
|
16
|
+
private store;
|
|
17
|
+
private scriptLoader;
|
|
18
|
+
passwordValidationModal: PasswordValidationComponent;
|
|
19
|
+
product: Product;
|
|
20
|
+
subscription: Subscription;
|
|
21
|
+
form: UntypedFormGroup;
|
|
22
|
+
units: number;
|
|
23
|
+
unitError: string;
|
|
24
|
+
subscriptionId: number;
|
|
25
|
+
productId: number;
|
|
26
|
+
password: string;
|
|
27
|
+
busy: boolean;
|
|
28
|
+
isPurchaseAttempted: boolean;
|
|
29
|
+
user: User;
|
|
30
|
+
cardDetails: any;
|
|
31
|
+
months: any[];
|
|
32
|
+
years: any[];
|
|
33
|
+
showNewCard: boolean;
|
|
34
|
+
stripePublishKey: string;
|
|
35
|
+
errorMsg: any;
|
|
36
|
+
passwordModalVisible: boolean;
|
|
37
|
+
get totalAmount(): number;
|
|
38
|
+
constructor(injector: Injector, productService: ProductService, fb: UntypedFormBuilder, modalService: NgbModal, subscriptionService: SubscriptionService, store: Store<AppState>, scriptLoader: ScriptLoaderService);
|
|
39
|
+
ngOnInit(): void;
|
|
40
|
+
getSubscriptionDetails(): void;
|
|
41
|
+
getProductDetails(): void;
|
|
42
|
+
onMaxReached(event: any): void;
|
|
43
|
+
onMinReached(event: any): void;
|
|
44
|
+
onUnitChange(event: any): void;
|
|
45
|
+
onValidatePassword(isSuccess: boolean): void;
|
|
46
|
+
private postCreateToken;
|
|
47
|
+
attemptPurchase(): void;
|
|
48
|
+
private onPurchaseSubmit;
|
|
49
|
+
private enrollUserToSubscription;
|
|
50
|
+
private noPasswordModal;
|
|
51
|
+
private getCardDetails;
|
|
52
|
+
onDiscardToggle(): void;
|
|
53
|
+
updateCardDetails(): void;
|
|
54
|
+
ngOnDestroy(): void;
|
|
55
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpgradeSubscriptionComponent, never>;
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UpgradeSubscriptionComponent, "pw-upgrade-subscription", never, {}, {}, never, never, false, never>;
|
|
57
|
+
}
|
package/lib/account/subscriptions/user-subscription-details/user-subscription-details.component.d.ts
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
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
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
8
|
+
import { PasswordValidationComponent } from '@posiwise/shared-components';
|
|
9
|
+
import { User } from '@posiwise/common-utilities';
|
|
10
|
+
import { GeoService } from '@posiwise/common-services';
|
|
11
|
+
import { SubscriptionService } from '@posiwise/common-services';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
export declare class UserSubscriptionDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
14
|
+
private fb;
|
|
15
|
+
private geoService;
|
|
16
|
+
private modalService;
|
|
17
|
+
private subscriptionService;
|
|
18
|
+
private store;
|
|
19
|
+
modal: PasswordValidationComponent;
|
|
20
|
+
allowUpdate: boolean;
|
|
21
|
+
hasUnitChanged: boolean;
|
|
22
|
+
subscriptionId: number;
|
|
23
|
+
form: UntypedFormGroup;
|
|
24
|
+
unitError: string;
|
|
25
|
+
subscription: any;
|
|
26
|
+
units: number;
|
|
27
|
+
countries$: Observable<any>;
|
|
28
|
+
squaredLogo: string;
|
|
29
|
+
fullLogo: string;
|
|
30
|
+
slug: string;
|
|
31
|
+
userId: number;
|
|
32
|
+
user: User;
|
|
33
|
+
totalAmount(): number;
|
|
34
|
+
constructor(fb: UntypedFormBuilder, geoService: GeoService, modalService: NgbModal, subscriptionService: SubscriptionService, store: Store<AppState>, injector: Injector);
|
|
35
|
+
ngOnInit(): void;
|
|
36
|
+
private fetchData;
|
|
37
|
+
private getForm;
|
|
38
|
+
/** *
|
|
39
|
+
* Update seats for all the products of subscription
|
|
40
|
+
*/
|
|
41
|
+
updateUnits(): void;
|
|
42
|
+
openModal(content: any): void;
|
|
43
|
+
onImageSelection(event: any): void;
|
|
44
|
+
uploadSquaredLogo(event: any): void;
|
|
45
|
+
onClose(): void;
|
|
46
|
+
dataURLtoBlob(dataurl: any): Blob;
|
|
47
|
+
onSaveDetails(): void;
|
|
48
|
+
onPasswordValidation(_event: any): void;
|
|
49
|
+
onMaxReached(event: any): void;
|
|
50
|
+
onMinReached(event: any): void;
|
|
51
|
+
onUnitChange(event: any): void;
|
|
52
|
+
/** Function to execute on location select */
|
|
53
|
+
handleAddressChange(event: any): void;
|
|
54
|
+
trackByProduct(_index: number, item: any): any;
|
|
55
|
+
ngOnDestroy(): void;
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserSubscriptionDetailsComponent, never>;
|
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserSubscriptionDetailsComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
58
|
+
}
|
package/lib/account/subscriptions/user-subscriptions-list/user-subscriptions-list.component.d.ts
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { Clipboard } from '@angular/cdk/clipboard';
|
|
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
|
+
import { AdminService } from '@posiwise/admin-module-utils';
|
|
8
|
+
import { AddSubscriptionComponent } from '../add-subscription/add-subscription.component';
|
|
9
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
10
|
+
import { PasswordValidationComponent } from '@posiwise/shared-components';
|
|
11
|
+
import { Product, User, Subscription } from '@posiwise/common-utilities';
|
|
12
|
+
import { SubscriptionService } from '@posiwise/common-services';
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
14
|
+
export declare class UserSubscriptionListComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
15
|
+
private subscriptionService;
|
|
16
|
+
private adminService;
|
|
17
|
+
private modalService;
|
|
18
|
+
private store;
|
|
19
|
+
private clipboard;
|
|
20
|
+
menu: MenuItem[];
|
|
21
|
+
changeSubscriptionRef: AddSubscriptionComponent;
|
|
22
|
+
passwordValidationModalForAccountDelete: PasswordValidationComponent;
|
|
23
|
+
passwordValidationModalForKey: PasswordValidationComponent;
|
|
24
|
+
passwordValidationForUnsubscribe: PasswordValidationComponent;
|
|
25
|
+
showApiKey: boolean;
|
|
26
|
+
password: string;
|
|
27
|
+
subscribedSubscriptions: any[];
|
|
28
|
+
activeItem: MenuItem;
|
|
29
|
+
isAddNew: boolean;
|
|
30
|
+
user: User;
|
|
31
|
+
isUpdatePayment: false;
|
|
32
|
+
selectedSubscription: any;
|
|
33
|
+
editing: boolean;
|
|
34
|
+
isLoaded: boolean;
|
|
35
|
+
currentItem: any;
|
|
36
|
+
showTos: boolean;
|
|
37
|
+
objectKeys: {
|
|
38
|
+
(o: object): string[];
|
|
39
|
+
(o: {}): string[];
|
|
40
|
+
};
|
|
41
|
+
items: MenuItem[];
|
|
42
|
+
productId: number;
|
|
43
|
+
productName: string;
|
|
44
|
+
constructor(subscriptionService: SubscriptionService, adminService: AdminService, modalService: NgbModal, store: Store<AppState>, clipboard: Clipboard, injector: Injector);
|
|
45
|
+
ngOnInit(): void;
|
|
46
|
+
onClipboardCopy(accessCode: string): void;
|
|
47
|
+
attemptUnsubscribe(item: any, productId: number): void;
|
|
48
|
+
private getSubscribedProduct;
|
|
49
|
+
updateAPIKEY(item: any): void;
|
|
50
|
+
showKey(item: any): void;
|
|
51
|
+
displayApiKey(): void;
|
|
52
|
+
activateMenu(): void;
|
|
53
|
+
onUnsubscribe(item: any): void;
|
|
54
|
+
onValidatePassword(isSuccess: boolean): void;
|
|
55
|
+
discardEdit(): void;
|
|
56
|
+
onSaveDetails(): void;
|
|
57
|
+
onUpdatePaymentDetailsCancel(): void;
|
|
58
|
+
attemptUpgrade(subscription: Subscription, product: Product): void;
|
|
59
|
+
private noPasswordModal;
|
|
60
|
+
showModalForAccountDeletion(): void;
|
|
61
|
+
deleteUser(_evnt: any): void;
|
|
62
|
+
showPrivacyAndTos(product: Product): void;
|
|
63
|
+
onCancel(): void;
|
|
64
|
+
trackBySubscription(_index: number, item: any): any;
|
|
65
|
+
trackByProduct(_index: number, item: any): any;
|
|
66
|
+
ngOnDestroy(): void;
|
|
67
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserSubscriptionListComponent, never>;
|
|
68
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserSubscriptionListComponent, "pw-user-subscriptions-list", never, {}, {}, never, never, false, never>;
|
|
69
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { Subscription } from 'rxjs';
|
|
3
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class UserInvoiceComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
6
|
+
invoices: any[];
|
|
7
|
+
userId: number;
|
|
8
|
+
subscription: Subscription;
|
|
9
|
+
intervalTimer: import("rxjs").Observable<number>;
|
|
10
|
+
isLoaded: boolean;
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
private fetchInvoices;
|
|
13
|
+
private pollForInvoices;
|
|
14
|
+
ngOnDestroy(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserInvoiceComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserInvoiceComponent, "pw-user-invoice", never, {}, {}, never, never, false, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Injector, OnInit } from '@angular/core';
|
|
2
|
+
import { Store } from '@ngrx/store';
|
|
3
|
+
import { AppState } from '@posiwise/app-store';
|
|
4
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
5
|
+
import { User } from '@posiwise/common-utilities';
|
|
6
|
+
import { CommonService, ProfileService } from '@posiwise/common-services';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class CommunicationTabComponent extends AppBaseComponent implements OnInit {
|
|
9
|
+
private commonService;
|
|
10
|
+
private profileService;
|
|
11
|
+
private store;
|
|
12
|
+
subscriptions: any[];
|
|
13
|
+
isLoaded: boolean;
|
|
14
|
+
userSubscription: any[];
|
|
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
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
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 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
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ElementRef, 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
|
+
user: any;
|
|
8
|
+
isCurrentPasswordValid: boolean;
|
|
9
|
+
passwordVerified: boolean;
|
|
10
|
+
show2FA: boolean;
|
|
11
|
+
created2faDetails: any;
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
private getUser;
|
|
14
|
+
validatePassword(): void;
|
|
15
|
+
checkValidity(): void;
|
|
16
|
+
private create2FA;
|
|
17
|
+
verfiy2FA(): void;
|
|
18
|
+
private enable2FA;
|
|
19
|
+
private disable2FA;
|
|
20
|
+
reset(): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SecurityTabComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SecurityTabComponent, "pw-security-tab", never, {}, {}, never, never, false, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Router } from '@angular/router';
|
|
2
|
+
import { MenuItem } from 'primeng/api';
|
|
3
|
+
import { PermissionService } from '@posiwise/common-services';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SettingsComponent {
|
|
6
|
+
private router;
|
|
7
|
+
private 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
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
|
+
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
+
import { AuthService, CommonService } from '@posiwise/common-services';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class SupportDetailsComponent extends AppBaseComponent {
|
|
7
|
+
private commonService;
|
|
8
|
+
private authService;
|
|
9
|
+
form: UntypedFormGroup;
|
|
10
|
+
uploadedFiles: any[];
|
|
11
|
+
siteKey: string;
|
|
12
|
+
isSubmitClicked: boolean;
|
|
13
|
+
recaptcha: any;
|
|
14
|
+
isLoading: boolean;
|
|
15
|
+
constructor(injector: Injector, commonService: CommonService, authService: AuthService);
|
|
16
|
+
onSave(): void;
|
|
17
|
+
handleSuccess(token: string): void;
|
|
18
|
+
onSelect(event?: any): void;
|
|
19
|
+
onRemove(event: any): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SupportDetailsComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SupportDetailsComponent, "pw-support-details", never, {}, {}, never, never, false, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Injector, OnInit } from '@angular/core';
|
|
2
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
+
import { CommonService } from '@posiwise/common-services';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SupportComponent extends AppBaseComponent implements OnInit {
|
|
6
|
+
private commonService;
|
|
7
|
+
supports: any[];
|
|
8
|
+
subscriptionId: number;
|
|
9
|
+
isLoading: boolean;
|
|
10
|
+
isLoaded: boolean;
|
|
11
|
+
constructor(injector: Injector, commonService: CommonService);
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
private getAllSupport;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SupportComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SupportComponent, "pw-support", never, {}, {}, never, never, false, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./account/account.component";
|
|
3
|
+
import * as i2 from "./account/account-details/account-details.component";
|
|
4
|
+
import * as i3 from "./account/subscriptions/add-subscription/add-subscription.component";
|
|
5
|
+
import * as i4 from "./account/subscriptions/saved-card-details/saved-card-details.component";
|
|
6
|
+
import * as i5 from "./account/subscriptions/subscription-credential/subscription-credential.component";
|
|
7
|
+
import * as i6 from "./account/subscriptions/update-payment-details/update-payment-details.component";
|
|
8
|
+
import * as i7 from "./account/subscriptions/upgrade-subscription/upgrade-subscription.component";
|
|
9
|
+
import * as i8 from "./account/subscriptions/user-subscription-details/user-subscription-details.component";
|
|
10
|
+
import * as i9 from "./account/subscriptions/user-subscriptions-list/user-subscriptions-list.component";
|
|
11
|
+
import * as i10 from "./account/user-invoice/user-invoice.component";
|
|
12
|
+
import * as i11 from "./settings-tabs/communication-tab/communication-tab.component";
|
|
13
|
+
import * as i12 from "./settings-tabs/others-tab/others-tab.component";
|
|
14
|
+
import * as i13 from "./settings-tabs/security-tab/security-tab.component";
|
|
15
|
+
import * as i14 from "./settings-tabs/settings-tabs.component";
|
|
16
|
+
import * as i15 from "./support/support.component";
|
|
17
|
+
import * as i16 from "./user-profile/edit-portfolios/edit-portfolios.component";
|
|
18
|
+
import * as i17 from "./user-profile/edit-project-modal/edit-project-modal.component";
|
|
19
|
+
import * as i18 from "./user-profile/edit-qualifications-modal/edit-qualifications-modal.component";
|
|
20
|
+
import * as i19 from "./user-profile/edit-recommendation-modal/edit-recommendation-modal.component";
|
|
21
|
+
import * as i20 from "./user-profile/edit-skills-modal/edit-skills-modal.component";
|
|
22
|
+
import * as i21 from "./user-profile/edit-social-links/edit-social-links.component";
|
|
23
|
+
import * as i22 from "./user-profile/edit-user-profile-modal/edit-user-profile-modal.component";
|
|
24
|
+
import * as i23 from "./user-profile/user-about/user-about.component";
|
|
25
|
+
import * as i24 from "./user-profile/user-portfolios/user-portfolios.component";
|
|
26
|
+
import * as i25 from "./user-profile/user-profile-page.component";
|
|
27
|
+
import * as i26 from "./user-profile/user-projects/user-projects.component";
|
|
28
|
+
import * as i27 from "./support/support-details/support-details.component";
|
|
29
|
+
import * as i28 from "@posiwise/directives";
|
|
30
|
+
import * as i29 from "@angular/common";
|
|
31
|
+
import * as i30 from "@angular/forms";
|
|
32
|
+
import * as i31 from "@posiwise/core-transloco";
|
|
33
|
+
import * as i32 from "ngx-google-places-autocomplete";
|
|
34
|
+
import * as i33 from "@posiwise/shared-components";
|
|
35
|
+
import * as i34 from "primeng/progressspinner";
|
|
36
|
+
import * as i35 from "primeng/accordion";
|
|
37
|
+
import * as i36 from "primeng/fileupload";
|
|
38
|
+
import * as i37 from "@node_modules/@ng-bootstrap/ng-bootstrap";
|
|
39
|
+
export declare class UserModuleModule {
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserModuleModule, never>;
|
|
41
|
+
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.DirectivesModule, typeof i29.CommonModule, typeof i30.ReactiveFormsModule, typeof i31.CoreTranslocoModule, typeof i32.GooglePlaceModule, typeof i33.SharedComponentsModule, typeof i34.ProgressSpinnerModule, typeof i35.AccordionModule, typeof i36.FileUploadModule, typeof i37.NgbModalModule, typeof i37.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]>;
|
|
42
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<UserModuleModule>;
|
|
43
|
+
}
|