@posiwise/user-module 0.0.168 → 0.0.170
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 +4069 -8390
- package/fesm2022/posiwise-user-module.mjs.map +1 -1
- package/package.json +5 -6
- package/types/posiwise-user-module.d.ts +1065 -1298
|
@@ -1,1328 +1,1095 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import {
|
|
3
|
-
import * as i34 from
|
|
4
|
-
import { Router } from
|
|
5
|
-
import {
|
|
6
|
-
import * as
|
|
7
|
-
import {
|
|
8
|
-
import * as i37 from
|
|
9
|
-
import { NgxGpAutocompleteDirective } from
|
|
10
|
-
import { AppBaseComponent } from
|
|
11
|
-
import { AuthService,
|
|
12
|
-
import { Country,
|
|
13
|
-
import * as i38 from
|
|
14
|
-
import { ConfirmDialogService, PasswordValidationComponent } from
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import * as
|
|
26
|
-
import * as
|
|
27
|
-
import * as
|
|
28
|
-
import * as
|
|
29
|
-
import * as
|
|
30
|
-
import * as
|
|
31
|
-
import * as
|
|
32
|
-
import * as
|
|
33
|
-
import * as
|
|
34
|
-
import * as
|
|
35
|
-
import * as
|
|
36
|
-
import * as
|
|
37
|
-
import * as
|
|
38
|
-
import * as
|
|
39
|
-
import * as
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
declare
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
/**
|
|
210
|
-
* boolean: change payment option
|
|
211
|
-
*/
|
|
212
|
-
isChangePayment: boolean;
|
|
213
|
-
showNewCard: boolean;
|
|
214
|
-
/**
|
|
215
|
-
* Emitter: on payment change request
|
|
216
|
-
*/
|
|
217
|
-
changeEvent: EventEmitter<boolean>;
|
|
218
|
-
OnPaymentChange(value: any): void;
|
|
219
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SavedCardDetailsComponent, never>;
|
|
220
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SavedCardDetailsComponent, "pw-saved-card-details", never, {
|
|
221
|
-
"data": {
|
|
222
|
-
"alias": "data";
|
|
223
|
-
"required": false;
|
|
224
|
-
};
|
|
225
|
-
"isChangePayment": {
|
|
226
|
-
"alias": "isChangePayment";
|
|
227
|
-
"required": false;
|
|
228
|
-
};
|
|
229
|
-
"showNewCard": {
|
|
230
|
-
"alias": "showNewCard";
|
|
231
|
-
"required": false;
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnInit, ElementRef, Injector, ChangeDetectorRef, OnDestroy, EventEmitter, PipeTransform, TemplateRef, AfterViewInit, Renderer2 } from '@angular/core';
|
|
3
|
+
import * as i34 from '@angular/router';
|
|
4
|
+
import { Router } from '@angular/router';
|
|
5
|
+
import { MenuItem, LazyLoadEvent } from 'primeng/api';
|
|
6
|
+
import * as _angular_forms from '@angular/forms';
|
|
7
|
+
import { UntypedFormGroup, UntypedFormBuilder, UntypedFormArray, NgControl } from '@angular/forms';
|
|
8
|
+
import * as i37 from '@angular-magic/ngx-gp-autocomplete';
|
|
9
|
+
import { NgxGpAutocompleteDirective } from '@angular-magic/ngx-gp-autocomplete';
|
|
10
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
11
|
+
import { AuthService, GeoService, ProfileService, ProductService, SubscriptionService, ScriptLoaderService, CommonService, PermissionService, QualificationService, TagService } from '@posiwise/common-services';
|
|
12
|
+
import { Country, User, Product, PRODUCT_CATEGORY, Subscription, Project, TAG_TYPE, TAG_ENTITY } from '@posiwise/common-utilities';
|
|
13
|
+
import * as i38 from '@posiwise/shared-components';
|
|
14
|
+
import { ConfirmDialogService, PasswordValidationComponent } from '@posiwise/shared-components';
|
|
15
|
+
import * as rxjs from 'rxjs';
|
|
16
|
+
import { Observable, Subscription as Subscription$1 } from 'rxjs';
|
|
17
|
+
import * as i51 from '@ng-bootstrap/ng-bootstrap';
|
|
18
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
19
|
+
import { AppState } from '@posiwise/app-store';
|
|
20
|
+
import { Store } from '@ngrx/store';
|
|
21
|
+
import { Clipboard } from '@angular/cdk/clipboard';
|
|
22
|
+
import { AdminService } from '@posiwise/admin-module-utils';
|
|
23
|
+
import * as i46 from 'primeng/fileupload';
|
|
24
|
+
import { FileUpload } from 'primeng/fileupload';
|
|
25
|
+
import * as i30 from 'primeng/inputtext';
|
|
26
|
+
import * as i31 from '@posiwise/app-loader';
|
|
27
|
+
import * as i32 from '@posiwise/directives';
|
|
28
|
+
import * as i33 from '@angular/common';
|
|
29
|
+
import * as i36 from '@posiwise/core-transloco';
|
|
30
|
+
import * as i39 from '@posiwise/pipes';
|
|
31
|
+
import * as i40 from 'ngx-ui-switch';
|
|
32
|
+
import * as i41 from 'ngx-captcha';
|
|
33
|
+
import * as i42 from 'primeng/datepicker';
|
|
34
|
+
import * as i43 from 'primeng/multiselect';
|
|
35
|
+
import * as i44 from 'primeng/progressspinner';
|
|
36
|
+
import * as i45 from 'primeng/accordion';
|
|
37
|
+
import * as i47 from 'primeng/select';
|
|
38
|
+
import * as i48 from 'primeng/rating';
|
|
39
|
+
import * as i49 from 'primeng/selectbutton';
|
|
40
|
+
import * as i50 from 'primeng/tooltip';
|
|
41
|
+
|
|
42
|
+
declare class AccountComponent {
|
|
43
|
+
private readonly router;
|
|
44
|
+
menu: MenuItem[];
|
|
45
|
+
items: MenuItem[];
|
|
46
|
+
activeItem: MenuItem;
|
|
47
|
+
path: string;
|
|
48
|
+
constructor(router: Router);
|
|
49
|
+
activateMenu(): void;
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AccountComponent, never>;
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AccountComponent, "pw-user-account", never, {}, {}, never, never, false, never>;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
declare class AccountDetailsComponent extends AppBaseComponent implements OnInit {
|
|
55
|
+
private readonly fb;
|
|
56
|
+
private readonly modalService;
|
|
57
|
+
private readonly authService;
|
|
58
|
+
private readonly geoService;
|
|
59
|
+
private readonly profileService;
|
|
60
|
+
private readonly cdr;
|
|
61
|
+
private readonly confirmDialog;
|
|
62
|
+
placesRef: NgxGpAutocompleteDirective;
|
|
63
|
+
passwordRef: ElementRef;
|
|
64
|
+
emailForm: UntypedFormGroup;
|
|
65
|
+
passwordForm: UntypedFormGroup;
|
|
66
|
+
profileForm: UntypedFormGroup;
|
|
67
|
+
image: string;
|
|
68
|
+
countries$: Observable<Country[]>;
|
|
69
|
+
states: Country[];
|
|
70
|
+
validatedEmail: string;
|
|
71
|
+
toggleEmail: boolean;
|
|
72
|
+
togglePassword: boolean;
|
|
73
|
+
toggleNickName: boolean;
|
|
74
|
+
passwordVerified: boolean;
|
|
75
|
+
isCurrentPasswordValid: boolean;
|
|
76
|
+
selectedState: any;
|
|
77
|
+
user: User;
|
|
78
|
+
slug: string;
|
|
79
|
+
isLoaded: boolean;
|
|
80
|
+
passwordBusyButton: boolean;
|
|
81
|
+
slugBusyButton: boolean;
|
|
82
|
+
emailBusyButton: boolean;
|
|
83
|
+
validatePasswordBusyButton: boolean;
|
|
84
|
+
profileBusyButton: boolean;
|
|
85
|
+
showApiToken: boolean;
|
|
86
|
+
showApiClientId: boolean;
|
|
87
|
+
refreshingTokens: boolean;
|
|
88
|
+
updatingScope: boolean;
|
|
89
|
+
connections: {
|
|
90
|
+
id: number;
|
|
91
|
+
client_name: string;
|
|
92
|
+
created_at: string;
|
|
93
|
+
expires_at: string;
|
|
94
|
+
last_used_at: string | null;
|
|
95
|
+
}[];
|
|
96
|
+
loadingConnections: boolean;
|
|
97
|
+
constructor(fb: UntypedFormBuilder, modalService: NgbModal, authService: AuthService, geoService: GeoService, profileService: ProfileService, injector: Injector, cdr: ChangeDetectorRef, confirmDialog: ConfirmDialogService);
|
|
98
|
+
ngOnInit(): void;
|
|
99
|
+
handleAddressChange(_event: any): void;
|
|
100
|
+
private getUserProfile;
|
|
101
|
+
/**
|
|
102
|
+
* Updates Email Address
|
|
103
|
+
* this needs to be separate and requires the email to be validated from email before it's actually changed
|
|
104
|
+
*/
|
|
105
|
+
onEmailFormSubmit(): void;
|
|
106
|
+
validatePassword(): void;
|
|
107
|
+
handleImageError(event: Event, fallbackPath: any): void;
|
|
108
|
+
checkValidity(): void;
|
|
109
|
+
onPasswordFormSubmit(): void;
|
|
110
|
+
onProfileFormSubmit(): void;
|
|
111
|
+
onAvatarSave(): void;
|
|
112
|
+
openModal(content: any): void;
|
|
113
|
+
onUpdateSlug(): void;
|
|
114
|
+
onImageSelection(event: any): void;
|
|
115
|
+
sendMailToResetPassword(): void;
|
|
116
|
+
getRegion(countryId: number | string): void;
|
|
117
|
+
loadConnections(): void;
|
|
118
|
+
deregisterConnection(id: number): void;
|
|
119
|
+
private getForms;
|
|
120
|
+
private passwordMatcher;
|
|
121
|
+
dataURLtoBlob(dataUrl: string): Blob;
|
|
122
|
+
onToggleEmail(): void;
|
|
123
|
+
onTogglePassword(): void;
|
|
124
|
+
onClose(): void;
|
|
125
|
+
shouldUserChangeEmail(): void;
|
|
126
|
+
toggleApiTokenVisibility(): void;
|
|
127
|
+
toggleApiClientIdVisibility(): void;
|
|
128
|
+
refreshApiTokens(): void;
|
|
129
|
+
private performTokenRefresh;
|
|
130
|
+
get currentApiTokenScope(): string;
|
|
131
|
+
/**
|
|
132
|
+
* Tenant-dynamic MCP endpoint URL, resolved from the host the user is on.
|
|
133
|
+
* The MCP host is always `brain-api-mcp.{env}.{company-domain}`, so the
|
|
134
|
+
* environment segment has to survive the swap:
|
|
135
|
+
* www.dev.posiwise.com -> brain-api-mcp.dev.posiwise.com
|
|
136
|
+
* www.go.posiwise.com -> brain-api-mcp.go.posiwise.com
|
|
137
|
+
* www.posiwise.com -> brain-api-mcp.go.posiwise.com (apex = PROD)
|
|
138
|
+
* Stripping the first label unconditionally (the previous behaviour) broke
|
|
139
|
+
* PROD, where the app is also served from the apex: it produced
|
|
140
|
+
* `brain-api-mcp.posiwise.com`, which does not exist in DNS.
|
|
141
|
+
*/
|
|
142
|
+
get mcpEndpointUrl(): string;
|
|
143
|
+
/**
|
|
144
|
+
* Company domain prefixed by its environment segment. Resolves the company
|
|
145
|
+
* domain with the same `getDomain` the AppConfigService uses to identify the
|
|
146
|
+
* tenant, so multi-label TLDs (acme.co.uk) and arbitrary subdomains both
|
|
147
|
+
* reduce correctly. Only a recognised environment segment is carried over —
|
|
148
|
+
* anything else (`www`, a custom subdomain) falls back to PROD rather than
|
|
149
|
+
* being prefixed onto the host, which would misroute.
|
|
150
|
+
*/
|
|
151
|
+
private mcpHostBase;
|
|
152
|
+
/** Tenant company name (domain-metadata driven), falling back to PosiWise. */
|
|
153
|
+
get mcpCompanyName(): string;
|
|
154
|
+
changeApiTokenScope(scope: string): void;
|
|
155
|
+
private performScopeUpdate;
|
|
156
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AccountDetailsComponent, never>;
|
|
157
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AccountDetailsComponent, "pw-account-details", never, {}, {}, never, never, false, never>;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
declare class AddSubscriptionComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
161
|
+
private readonly productService;
|
|
162
|
+
private readonly cdr;
|
|
163
|
+
private readonly singleProducts;
|
|
164
|
+
private readonly enterpriseProducts;
|
|
165
|
+
form: UntypedFormGroup;
|
|
166
|
+
busy: boolean;
|
|
167
|
+
isLoaded: boolean;
|
|
168
|
+
selectedProduct: boolean;
|
|
169
|
+
isPurchaseAttempted: boolean;
|
|
170
|
+
userLoggedIn: boolean;
|
|
171
|
+
availableProducts: Product[];
|
|
172
|
+
products: Product[];
|
|
173
|
+
user: User;
|
|
174
|
+
unitError: string;
|
|
175
|
+
category: typeof PRODUCT_CATEGORY;
|
|
176
|
+
units: number;
|
|
177
|
+
subscribedPermissionKeys: any[];
|
|
178
|
+
currentSubscription: Subscription;
|
|
179
|
+
subscriptionId: number;
|
|
180
|
+
constructor(productService: ProductService, injector: Injector, cdr: ChangeDetectorRef);
|
|
181
|
+
ngOnInit(): void;
|
|
182
|
+
private getProducts;
|
|
183
|
+
private getSingleCategoryProducts;
|
|
184
|
+
onChangeCategory(category: any): void;
|
|
185
|
+
onSelection(product: any): void;
|
|
186
|
+
trackByProduct(_index: number, item: Product): number;
|
|
187
|
+
ngOnDestroy(): void;
|
|
188
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AddSubscriptionComponent, never>;
|
|
189
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AddSubscriptionComponent, "pw-add-subscription", never, {}, {}, never, never, false, never>;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* @summary Shows the saved credit card details of the user
|
|
194
|
+
* @author anikets43
|
|
195
|
+
*
|
|
196
|
+
* Created at : 2020-02-08 16:56:18
|
|
197
|
+
* Last modified : 2020-02-08 17:06:29
|
|
198
|
+
*/
|
|
199
|
+
|
|
200
|
+
declare class SavedCardDetailsComponent {
|
|
201
|
+
/**
|
|
202
|
+
* Credit Card details like brand, exp_month, exp_year, card_number
|
|
203
|
+
*/
|
|
204
|
+
data: {
|
|
205
|
+
brand?: string;
|
|
206
|
+
exp_month?: string;
|
|
207
|
+
exp_year?: string;
|
|
208
|
+
card_number?: string;
|
|
232
209
|
};
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
210
|
+
/**
|
|
211
|
+
* boolean: change payment option
|
|
212
|
+
*/
|
|
213
|
+
isChangePayment: boolean;
|
|
214
|
+
showNewCard: boolean;
|
|
215
|
+
/**
|
|
216
|
+
* Emitter: on payment change request
|
|
217
|
+
*/
|
|
218
|
+
changeEvent: EventEmitter<boolean>;
|
|
219
|
+
OnPaymentChange(value: any): void;
|
|
220
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SavedCardDetailsComponent, never>;
|
|
221
|
+
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>;
|
|
222
|
+
}
|
|
223
|
+
|
|
237
224
|
interface CredentialData {
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
}
|
|
247
|
-
interface SubscriptionCredentialGroup {
|
|
248
|
-
credential_name: string;
|
|
249
|
-
credentials: Credential[];
|
|
225
|
+
name: string;
|
|
226
|
+
field: string;
|
|
227
|
+
description?: string;
|
|
228
|
+
id?: number;
|
|
229
|
+
is_required?: boolean;
|
|
230
|
+
value?: string;
|
|
231
|
+
subscription_credential_id?: number;
|
|
232
|
+
credential_id?: number;
|
|
250
233
|
}
|
|
251
234
|
interface CardDetails {
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
exp_month: string;
|
|
255
|
-
exp_year: string;
|
|
256
|
-
}
|
|
257
|
-
interface StripeCardResponse {
|
|
258
|
-
id: string;
|
|
259
|
-
object: string;
|
|
260
|
-
card: {
|
|
261
|
-
id: string;
|
|
262
|
-
object: string;
|
|
263
|
-
address_city: string | null;
|
|
264
|
-
address_country: string | null;
|
|
265
|
-
address_line1: string | null;
|
|
266
|
-
address_line1_check: string | null;
|
|
267
|
-
address_line2: string | null;
|
|
268
|
-
address_state: string | null;
|
|
269
|
-
address_zip: string | null;
|
|
270
|
-
address_zip_check: string | null;
|
|
271
|
-
brand: string;
|
|
272
|
-
country: string;
|
|
273
|
-
cvc_check: string | null;
|
|
274
|
-
dynamic_last4: string | null;
|
|
235
|
+
card_number?: string;
|
|
236
|
+
cvc: string;
|
|
275
237
|
exp_month: string;
|
|
276
|
-
exp_year:
|
|
277
|
-
funding: string;
|
|
278
|
-
last4: string;
|
|
279
|
-
name: string | null;
|
|
280
|
-
tokenization_method: string | null;
|
|
281
|
-
};
|
|
282
|
-
client_ip: string | null;
|
|
283
|
-
created: number;
|
|
284
|
-
email: string | null;
|
|
285
|
-
liveMode: boolean;
|
|
286
|
-
type: string;
|
|
287
|
-
used: boolean;
|
|
288
|
-
error?: {
|
|
289
|
-
message: string;
|
|
290
|
-
};
|
|
238
|
+
exp_year: string;
|
|
291
239
|
}
|
|
292
240
|
interface UserProfile {
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
}
|
|
296
|
-
interface UserRelationship {
|
|
297
|
-
followed_id: number;
|
|
298
|
-
follower_id: number;
|
|
299
|
-
}
|
|
300
|
-
interface AboutUser {
|
|
301
|
-
id: number;
|
|
302
|
-
slug: string;
|
|
303
|
-
email: string;
|
|
304
|
-
joined_at: string;
|
|
305
|
-
profile?: AboutUserProfile;
|
|
241
|
+
slug: string;
|
|
242
|
+
headline: string;
|
|
306
243
|
}
|
|
307
244
|
interface AboutUserProfile {
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
245
|
+
description: string;
|
|
246
|
+
dob: string;
|
|
247
|
+
country: string;
|
|
248
|
+
website_url: string;
|
|
249
|
+
gender: string;
|
|
250
|
+
phone_number: string;
|
|
314
251
|
}
|
|
315
252
|
interface Qualification {
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
}
|
|
323
|
-
interface UserLink {
|
|
324
|
-
[key: string]: string;
|
|
253
|
+
id: number;
|
|
254
|
+
degree: string;
|
|
255
|
+
course: string;
|
|
256
|
+
school: string;
|
|
257
|
+
started_on: string;
|
|
258
|
+
ended_on: string;
|
|
325
259
|
}
|
|
326
260
|
interface Skill {
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
261
|
+
category_name: string;
|
|
262
|
+
tags: {
|
|
263
|
+
name: string;
|
|
264
|
+
}[];
|
|
331
265
|
}
|
|
332
266
|
interface ModalContext {
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
267
|
+
modal: {
|
|
268
|
+
dismiss: () => void;
|
|
269
|
+
close: () => void;
|
|
270
|
+
};
|
|
337
271
|
}
|
|
338
272
|
interface EditUser {
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
273
|
+
id: number;
|
|
274
|
+
slug: string;
|
|
275
|
+
email: string;
|
|
276
|
+
joined_at: string;
|
|
277
|
+
first_name: string;
|
|
278
|
+
last_name: string;
|
|
279
|
+
profile?: EditUserProfile;
|
|
346
280
|
}
|
|
347
281
|
interface EditUserProfile {
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
}
|
|
359
|
-
interface SocialLinks {
|
|
360
|
-
youtube: string;
|
|
361
|
-
skype: string;
|
|
362
|
-
linkedin: string;
|
|
363
|
-
twitter: string;
|
|
364
|
-
instagram: string;
|
|
365
|
-
facebook: string;
|
|
366
|
-
stackOverflow: string;
|
|
367
|
-
github: string;
|
|
368
|
-
bitbucket: string;
|
|
369
|
-
gitlab: string;
|
|
370
|
-
}
|
|
371
|
-
interface ValidationError {
|
|
372
|
-
urlMalformed?: {
|
|
373
|
-
value: string;
|
|
374
|
-
};
|
|
282
|
+
description: string;
|
|
283
|
+
dob: string;
|
|
284
|
+
country: string;
|
|
285
|
+
website_url: string;
|
|
286
|
+
gender: string;
|
|
287
|
+
phone_number: string;
|
|
288
|
+
postcode: string;
|
|
289
|
+
location?: string;
|
|
290
|
+
state: string;
|
|
291
|
+
province: string;
|
|
375
292
|
}
|
|
376
293
|
interface CurrentItem {
|
|
377
|
-
id: number;
|
|
378
|
-
api_access_token?: string;
|
|
379
|
-
masked?: string;
|
|
380
|
-
}
|
|
381
|
-
declare namespace subscription_credential_component_d_exports {
|
|
382
|
-
export { SubscriptionCredentialComponent };
|
|
383
|
-
}
|
|
384
|
-
export declare class SubscriptionCredentialComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
385
|
-
private readonly fb;
|
|
386
|
-
private readonly subscriptionService;
|
|
387
|
-
private readonly cdr;
|
|
388
|
-
private credentialToEdit;
|
|
389
|
-
passwordValidationModalForRevealCredential: PasswordValidationComponent;
|
|
390
|
-
passwordValidationModalForEditCredential: PasswordValidationComponent;
|
|
391
|
-
passwordValidationModalForAddCredential: PasswordValidationComponent;
|
|
392
|
-
form: UntypedFormGroup;
|
|
393
|
-
data: any[];
|
|
394
|
-
subscriptionId: number;
|
|
395
|
-
totalRecords: number;
|
|
396
|
-
allSubscriptionCredentials: CredentialData[];
|
|
397
|
-
availableCredentials: CredentialData[];
|
|
398
|
-
credentialsSelect: CredentialData[];
|
|
399
|
-
updatedCredential: CredentialData;
|
|
400
|
-
uniqueCredential: any[];
|
|
401
|
-
isEdit: boolean;
|
|
402
|
-
submitted: boolean;
|
|
403
|
-
buttonBusy: boolean;
|
|
404
|
-
isLoaded: boolean;
|
|
405
|
-
credentials: any[];
|
|
406
|
-
showForm: boolean;
|
|
407
|
-
credentialSaved: string;
|
|
408
|
-
credentialName: string;
|
|
409
|
-
credentialToReveal: any;
|
|
410
|
-
constructor(fb: UntypedFormBuilder, subscriptionService: SubscriptionService, injector: Injector, cdr: ChangeDetectorRef);
|
|
411
|
-
ngOnInit(): void;
|
|
412
|
-
get credentialsGroup(): UntypedFormArray;
|
|
413
|
-
/** Function to get all credentials */
|
|
414
|
-
private getAllCredentials;
|
|
415
|
-
/** Function to get available Credentials */
|
|
416
|
-
private getAllAvailableCredentials;
|
|
417
|
-
/** Function to get credential on select */
|
|
418
|
-
selectedOption(event: any): void;
|
|
419
|
-
/** Function to post credentials */
|
|
420
|
-
saveCredentials(): void;
|
|
421
|
-
revealCredentials(credential: any): void;
|
|
422
|
-
hideCredentials(): void;
|
|
423
|
-
showCredentials(): void;
|
|
424
|
-
/** Function to get form controls */
|
|
425
|
-
get f(): {
|
|
426
|
-
[key: string]: import("@angular/forms").AbstractControl<any, any, any>;
|
|
427
|
-
};
|
|
428
|
-
onCancel(): void;
|
|
429
|
-
openCredentialsForAdd(): void;
|
|
430
|
-
openCredentialsForEdit(credential: any): void;
|
|
431
|
-
editCredentials(): void;
|
|
432
|
-
showEditForm(): void;
|
|
433
|
-
ngOnDestroy(): void;
|
|
434
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SubscriptionCredentialComponent, never>;
|
|
435
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SubscriptionCredentialComponent, "pw-subscription-credential", never, {}, {}, never, never, false, never>;
|
|
436
|
-
}
|
|
437
|
-
declare namespace humanize_credential_name_pipe_d_exports {
|
|
438
|
-
export { CredentialAvatarHuePipe, HumanizeCredentialNamePipe, SubscriptionNameByIdPipe };
|
|
439
|
-
}
|
|
440
|
-
export declare class SubscriptionNameByIdPipe implements PipeTransform {
|
|
441
|
-
transform(subs: {
|
|
442
|
-
id: number | string;
|
|
443
|
-
organisation?: string;
|
|
444
|
-
organization?: string;
|
|
445
|
-
name?: string;
|
|
446
|
-
}[] | null | undefined, id: number | string | null | undefined): string;
|
|
447
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SubscriptionNameByIdPipe, never>;
|
|
448
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<SubscriptionNameByIdPipe, "subscriptionNameById", false>;
|
|
449
|
-
}
|
|
450
|
-
export declare class CredentialAvatarHuePipe implements PipeTransform {
|
|
451
|
-
transform(value: string | null | undefined): number;
|
|
452
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CredentialAvatarHuePipe, never>;
|
|
453
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<CredentialAvatarHuePipe, "credentialAvatarHue", false>;
|
|
454
|
-
}
|
|
455
|
-
export declare class HumanizeCredentialNamePipe implements PipeTransform {
|
|
456
|
-
transform(value: string | null | undefined): string;
|
|
457
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HumanizeCredentialNamePipe, never>;
|
|
458
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<HumanizeCredentialNamePipe, "humanizeCredentialName", false>;
|
|
459
|
-
}
|
|
460
|
-
declare namespace clear_masked_on_focus_directive_d_exports {
|
|
461
|
-
export { ClearMaskedOnFocusDirective };
|
|
462
|
-
}
|
|
463
|
-
export declare class ClearMaskedOnFocusDirective {
|
|
464
|
-
private readonly control;
|
|
465
|
-
constructor(control: NgControl);
|
|
466
|
-
onFocus(event: FocusEvent): void;
|
|
467
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ClearMaskedOnFocusDirective, [{
|
|
468
|
-
optional: true;
|
|
469
|
-
self: true;
|
|
470
|
-
}]>;
|
|
471
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ClearMaskedOnFocusDirective, "input[pwClearMaskedOnFocus]", never, {}, {}, never, never, false, never>;
|
|
472
|
-
}
|
|
473
|
-
interface BraintreeCardSummary {
|
|
474
|
-
provider: 'braintree';
|
|
475
|
-
token: string;
|
|
476
|
-
card_number: string;
|
|
477
|
-
exp_month: number;
|
|
478
|
-
exp_year: number;
|
|
479
|
-
}
|
|
480
|
-
interface StripeJsApi {
|
|
481
|
-
setPublishableKey(key: string): void;
|
|
482
|
-
card: {
|
|
483
|
-
createToken(card: CardDetails, callback: (status: number, response: StripeCardResponse) => void): void;
|
|
484
|
-
};
|
|
485
|
-
}
|
|
486
|
-
declare namespace update_payment_details_component_d_exports {
|
|
487
|
-
export { UpdatePaymentDetailsComponent };
|
|
488
|
-
}
|
|
489
|
-
export declare class UpdatePaymentDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
490
|
-
private readonly fb;
|
|
491
|
-
private readonly scriptLoader;
|
|
492
|
-
private readonly productService;
|
|
493
|
-
private readonly subscriptionService;
|
|
494
|
-
private readonly cdr;
|
|
495
|
-
form: UntypedFormGroup;
|
|
496
|
-
years: any[];
|
|
497
|
-
months: any[];
|
|
498
|
-
busy: boolean;
|
|
499
|
-
isChangePayment: boolean;
|
|
500
|
-
cardDetails: CardDetails | null;
|
|
501
|
-
secondaryCard: BraintreeCardSummary | null;
|
|
502
|
-
showBraintreeForm: boolean;
|
|
503
|
-
braintreeBusy: boolean;
|
|
504
|
-
loading: boolean;
|
|
505
|
-
errorMessage: string;
|
|
506
|
-
stripePublishKey: string;
|
|
507
|
-
errorMsg: string;
|
|
508
|
-
subscriptionId: number;
|
|
509
|
-
productId: number;
|
|
510
|
-
braintreeContainer?: ElementRef<HTMLDivElement>;
|
|
511
|
-
private readonly braintreeHelper;
|
|
512
|
-
constructor(fb: UntypedFormBuilder, scriptLoader: ScriptLoaderService, productService: ProductService, subscriptionService: SubscriptionService, injector: Injector, cdr: ChangeDetectorRef);
|
|
513
|
-
ngOnInit(): void;
|
|
514
|
-
ngOnDestroy(): void;
|
|
515
|
-
private refreshPaymentMethods;
|
|
516
|
-
onUpdatePaymentDetailsCancel(): void;
|
|
517
|
-
onSave(): void;
|
|
518
|
-
private onStripeToken;
|
|
519
|
-
cancel(): void;
|
|
520
|
-
onChange(value: any): void;
|
|
521
|
-
startBraintreeFlow(): Promise<void>;
|
|
522
|
-
submitBraintree(): Promise<void>;
|
|
523
|
-
cancelBraintreeFlow(): void;
|
|
524
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UpdatePaymentDetailsComponent, never>;
|
|
525
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UpdatePaymentDetailsComponent, "pw-update-payment-details", never, {}, {}, never, never, false, never>;
|
|
526
|
-
}
|
|
527
|
-
declare namespace upgrade_subscription_component_d_exports {
|
|
528
|
-
export { UpgradeSubscriptionComponent };
|
|
529
|
-
}
|
|
530
|
-
export declare class UpgradeSubscriptionComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
531
|
-
private readonly productService;
|
|
532
|
-
private readonly fb;
|
|
533
|
-
private readonly modalService;
|
|
534
|
-
private readonly subscriptionService;
|
|
535
|
-
private readonly store;
|
|
536
|
-
private readonly scriptLoader;
|
|
537
|
-
private readonly cdr;
|
|
538
|
-
private readonly confirmDialog;
|
|
539
|
-
passwordValidationModal: PasswordValidationComponent;
|
|
540
|
-
form: UntypedFormGroup;
|
|
541
|
-
product: Product;
|
|
542
|
-
subscription: Subscription;
|
|
543
|
-
user: User;
|
|
544
|
-
cardDetails: CardDetails;
|
|
545
|
-
units: number;
|
|
546
|
-
subscriptionId: number;
|
|
547
|
-
productId: number;
|
|
548
|
-
unitError: string;
|
|
549
|
-
password: string;
|
|
550
|
-
stripePublishKey: string;
|
|
551
|
-
busy: boolean;
|
|
552
|
-
isPurchaseAttempted: boolean;
|
|
553
|
-
months: any[];
|
|
554
|
-
years: any[];
|
|
555
|
-
showNewCard: boolean;
|
|
556
|
-
passwordModalVisible: boolean;
|
|
557
|
-
errorMsg: any;
|
|
558
|
-
get totalAmount(): number;
|
|
559
|
-
constructor(injector: Injector, productService: ProductService, fb: UntypedFormBuilder, modalService: NgbModal, subscriptionService: SubscriptionService, store: Store<AppState>, scriptLoader: ScriptLoaderService, cdr: ChangeDetectorRef, confirmDialog: ConfirmDialogService);
|
|
560
|
-
ngOnInit(): void;
|
|
561
|
-
getSubscriptionDetails(): void;
|
|
562
|
-
getProductDetails(): void;
|
|
563
|
-
onMaxReached(event: any): void;
|
|
564
|
-
onMinReached(event: any): void;
|
|
565
|
-
onUnitChange(event: any): void;
|
|
566
|
-
onValidatePassword(isSuccess: boolean): void;
|
|
567
|
-
private postCreateToken;
|
|
568
|
-
attemptPurchase(): void;
|
|
569
|
-
private onPurchaseSubmit;
|
|
570
|
-
private enrollUserToSubscription;
|
|
571
|
-
private noPasswordModal;
|
|
572
|
-
private getCardDetails;
|
|
573
|
-
onDiscardToggle(): void;
|
|
574
|
-
updateCardDetails(): void;
|
|
575
|
-
ngOnDestroy(): void;
|
|
576
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UpgradeSubscriptionComponent, never>;
|
|
577
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UpgradeSubscriptionComponent, "pw-upgrade-subscription", never, {}, {}, never, never, false, never>;
|
|
578
|
-
}
|
|
579
|
-
declare namespace user_subscription_details_component_d_exports {
|
|
580
|
-
export { UserSubscriptionDetailsComponent };
|
|
581
|
-
}
|
|
582
|
-
export declare class UserSubscriptionDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
583
|
-
private readonly fb;
|
|
584
|
-
private readonly geoService;
|
|
585
|
-
private readonly modalService;
|
|
586
|
-
private readonly subscriptionService;
|
|
587
|
-
private readonly store;
|
|
588
|
-
private readonly cdr;
|
|
589
|
-
private readonly confirmDialog;
|
|
590
|
-
modal: PasswordValidationComponent;
|
|
591
|
-
allowUpdate: boolean;
|
|
592
|
-
hasUnitChanged: boolean;
|
|
593
|
-
busyButton: boolean;
|
|
594
|
-
form: UntypedFormGroup;
|
|
595
|
-
unitError: string;
|
|
596
|
-
subscription: Subscription;
|
|
597
|
-
units: number;
|
|
598
|
-
countries$: Observable<Country[]>;
|
|
599
|
-
squaredLogo: string;
|
|
600
|
-
fullLogo: string;
|
|
601
|
-
fullLogoBroken: boolean;
|
|
602
|
-
squaredLogoBroken: boolean;
|
|
603
|
-
slug: string;
|
|
604
|
-
userId: number;
|
|
605
|
-
subscriptionId: number;
|
|
606
|
-
user: User;
|
|
607
|
-
showApiToken: boolean;
|
|
608
|
-
showApiClientId: boolean;
|
|
609
|
-
refreshingTokens: boolean;
|
|
610
|
-
totalAmount(): number;
|
|
611
|
-
constructor(fb: UntypedFormBuilder, geoService: GeoService, modalService: NgbModal, subscriptionService: SubscriptionService, store: Store<AppState>, injector: Injector, cdr: ChangeDetectorRef, confirmDialog: ConfirmDialogService);
|
|
612
|
-
ngOnInit(): void;
|
|
613
|
-
private fetchData;
|
|
614
|
-
/** White-label company name for "Your {brand} AI assistant" (same source as the login page and chat widget). */
|
|
615
|
-
get brandName(): string;
|
|
616
|
-
private getForm;
|
|
617
|
-
private commaSeparatedEmailsValidator;
|
|
618
|
-
/** *
|
|
619
|
-
* Update seats for all the products of subscription
|
|
620
|
-
*/
|
|
621
|
-
updateUnits(): void;
|
|
622
|
-
openModal(content: any): void;
|
|
623
|
-
onImageSelection(event: any): void;
|
|
624
|
-
uploadSquaredLogo(event: any): void;
|
|
625
|
-
onClose(): void;
|
|
626
|
-
dataURLtoBlob(dataUrl: any): Blob;
|
|
627
|
-
onSaveDetails(): void;
|
|
628
|
-
onPasswordValidation(_event: any): void;
|
|
629
|
-
onMaxReached(event: any): void;
|
|
630
|
-
onMinReached(event: any): void;
|
|
631
|
-
onUnitChange(event: any): void;
|
|
632
|
-
/** Function to execute on location select */
|
|
633
|
-
handleAddressChange(event: any): void;
|
|
634
|
-
toggleApiTokenVisibility(): void;
|
|
635
|
-
toggleApiClientIdVisibility(): void;
|
|
636
|
-
refreshApiTokens(): void;
|
|
637
|
-
private performTokenRefresh;
|
|
638
|
-
trackByProduct(_index: number, item: Product): number;
|
|
639
|
-
ngOnDestroy(): void;
|
|
640
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserSubscriptionDetailsComponent, never>;
|
|
641
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UserSubscriptionDetailsComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
642
|
-
}
|
|
643
|
-
declare namespace user_subscriptions_list_component_d_exports {
|
|
644
|
-
export { UserSubscriptionListComponent };
|
|
645
|
-
}
|
|
646
|
-
export declare class UserSubscriptionListComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
647
|
-
private readonly subscriptionService;
|
|
648
|
-
private readonly adminService;
|
|
649
|
-
private readonly modalService;
|
|
650
|
-
private readonly store;
|
|
651
|
-
private readonly clipboard;
|
|
652
|
-
private readonly cdr;
|
|
653
|
-
private readonly confirmDialog;
|
|
654
|
-
menu: MenuItem[];
|
|
655
|
-
changeSubscriptionRef: AddSubscriptionComponent;
|
|
656
|
-
passwordValidationModalForAccountDelete: PasswordValidationComponent;
|
|
657
|
-
passwordValidationModalForKey: PasswordValidationComponent;
|
|
658
|
-
passwordValidationForUnsubscribe: PasswordValidationComponent;
|
|
659
|
-
cancelSubscriptionModal: TemplateRef<unknown>;
|
|
660
|
-
showApiKey: boolean;
|
|
661
|
-
password: string;
|
|
662
|
-
productName: string;
|
|
663
|
-
subscribedSubscriptions: any[];
|
|
664
|
-
activeItem: MenuItem;
|
|
665
|
-
isAddNew: boolean;
|
|
666
|
-
user: User;
|
|
667
|
-
isUpdatePayment: false;
|
|
668
|
-
selectedSubscription: {
|
|
669
|
-
id: number;
|
|
670
|
-
productId: number;
|
|
671
|
-
};
|
|
672
|
-
editing: boolean;
|
|
673
|
-
isLoaded: boolean;
|
|
674
|
-
reasonToCancel: string;
|
|
675
|
-
currentItem: CurrentItem;
|
|
676
|
-
showTos: boolean;
|
|
677
|
-
objectKeys: {
|
|
678
|
-
(o: object): string[];
|
|
679
|
-
(o: {}): string[];
|
|
680
|
-
};
|
|
681
|
-
items: MenuItem[];
|
|
682
|
-
productId: number;
|
|
683
|
-
constructor(subscriptionService: SubscriptionService, adminService: AdminService, modalService: NgbModal, store: Store<AppState>, clipboard: Clipboard, injector: Injector, cdr: ChangeDetectorRef, confirmDialog: ConfirmDialogService);
|
|
684
|
-
ngOnInit(): void;
|
|
685
|
-
onClipboardCopy(accessCode: string): void;
|
|
686
|
-
attemptUnsubscribe(item: any, productId: number): void;
|
|
687
|
-
openCancelSubscriptionModal(): void;
|
|
688
|
-
private getSubscribedProduct;
|
|
689
|
-
updateApiKey(subscription: any, product: any): void;
|
|
690
|
-
showKey(item: any): void;
|
|
691
|
-
displayApiKey(): void;
|
|
692
|
-
activateMenu(): void;
|
|
693
|
-
onUnsubscribe(item: any, reasonToCancel: string): void;
|
|
694
|
-
onValidatePassword(isSuccess: boolean): void;
|
|
695
|
-
onConfirmCancel(): void;
|
|
696
|
-
discardEdit(): void;
|
|
697
|
-
onSaveDetails(): void;
|
|
698
|
-
onUpdatePaymentDetailsCancel(): void;
|
|
699
|
-
attemptUpgrade(subscription: Subscription, product: Product): void;
|
|
700
|
-
private noPasswordModal;
|
|
701
|
-
showModalForAccountDeletion(): void;
|
|
702
|
-
deleteUser(_event: any): void;
|
|
703
|
-
showPrivacyAndTos(product: Product): void;
|
|
704
|
-
onCancel(): void;
|
|
705
|
-
trackBySubscription(_index: number, item: {
|
|
706
|
-
id: number;
|
|
707
|
-
}): number;
|
|
708
|
-
trackByProduct(_index: number, item: {
|
|
709
|
-
id: number;
|
|
710
|
-
}): number;
|
|
711
|
-
ngOnDestroy(): void;
|
|
712
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserSubscriptionListComponent, never>;
|
|
713
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UserSubscriptionListComponent, "pw-user-subscriptions-list", never, {}, {}, never, never, false, never>;
|
|
714
|
-
}
|
|
715
|
-
declare namespace user_invoice_component_d_exports {
|
|
716
|
-
export { UserInvoiceComponent };
|
|
717
|
-
}
|
|
718
|
-
export declare class UserInvoiceComponent extends AppBaseComponent implements OnDestroy {
|
|
719
|
-
private readonly cdr;
|
|
720
|
-
invoices: any[];
|
|
721
|
-
buttonBusy: boolean;
|
|
722
|
-
userId: number;
|
|
723
|
-
totalRecordsUnFiltered: number;
|
|
724
|
-
searchText: string;
|
|
725
|
-
subscription: Subscription$1;
|
|
726
|
-
intervalTimer: import("rxjs").Observable<number>;
|
|
727
|
-
isLoaded: boolean;
|
|
728
|
-
page: number;
|
|
729
|
-
totalRecords: number;
|
|
730
|
-
invoiceFrequency: string[];
|
|
731
|
-
constructor(injector: Injector, cdr: ChangeDetectorRef);
|
|
732
|
-
onLazyLoad(event: LazyLoadEvent): void;
|
|
733
|
-
private fetchInvoices;
|
|
734
|
-
private pollForInvoices;
|
|
735
|
-
ngOnDestroy(): void;
|
|
736
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserInvoiceComponent, never>;
|
|
737
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UserInvoiceComponent, "pw-user-invoice", never, {}, {}, never, never, false, never>;
|
|
738
|
-
}
|
|
739
|
-
declare namespace communication_tab_component_d_exports {
|
|
740
|
-
export { CommunicationTabComponent };
|
|
741
|
-
}
|
|
742
|
-
export declare class CommunicationTabComponent extends AppBaseComponent implements OnInit {
|
|
743
|
-
private readonly commonService;
|
|
744
|
-
private readonly profileService;
|
|
745
|
-
private readonly store;
|
|
746
|
-
private readonly cdr;
|
|
747
|
-
subscriptions: any[];
|
|
748
|
-
userSubscription: any[];
|
|
749
|
-
isLoaded: boolean;
|
|
750
|
-
user: User;
|
|
751
|
-
constructor(commonService: CommonService, profileService: ProfileService, store: Store<AppState>, injector: Injector, cdr: ChangeDetectorRef);
|
|
752
|
-
ngOnInit(): void;
|
|
753
|
-
private getAllSubscription;
|
|
754
|
-
onValueChange(item: any, value: any): void;
|
|
755
|
-
updateUser(): void;
|
|
756
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CommunicationTabComponent, never>;
|
|
757
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CommunicationTabComponent, "pw-communication-tab", never, {}, {}, never, never, false, never>;
|
|
758
|
-
}
|
|
759
|
-
declare namespace others_tab_component_d_exports {
|
|
760
|
-
export { OthersTabComponent };
|
|
761
|
-
}
|
|
762
|
-
export declare class OthersTabComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
763
|
-
private readonly commonService;
|
|
764
|
-
private readonly cdr;
|
|
765
|
-
subscriptionConfigs: any[];
|
|
766
|
-
globalConfigs: any[];
|
|
767
|
-
userId: number;
|
|
768
|
-
isLoaded: boolean;
|
|
769
|
-
constructor(commonService: CommonService, injector: Injector, cdr: ChangeDetectorRef);
|
|
770
|
-
ngOnInit(): void;
|
|
771
|
-
private getGlobalSubscriptionConfig;
|
|
772
|
-
private getGlobalConfigs;
|
|
773
|
-
onValueChange(item: any, value: any): void;
|
|
774
|
-
ngOnDestroy(): void;
|
|
775
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OthersTabComponent, never>;
|
|
776
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OthersTabComponent, "pw-others-tab", never, {}, {}, never, never, false, never>;
|
|
777
|
-
}
|
|
778
|
-
declare namespace security_tab_component_d_exports {
|
|
779
|
-
export { SecurityTabComponent };
|
|
780
|
-
}
|
|
781
|
-
export declare class SecurityTabComponent extends AppBaseComponent implements OnInit {
|
|
782
|
-
private readonly cdr;
|
|
783
|
-
passwordRef: ElementRef;
|
|
784
|
-
verificationCode: ElementRef;
|
|
785
|
-
ssoPasswordRef: ElementRef;
|
|
786
|
-
showSSOSection: boolean;
|
|
787
|
-
ssoPasswordVerified: boolean;
|
|
788
|
-
isSSOPasswordInvalid: boolean;
|
|
789
|
-
user: any;
|
|
790
|
-
isCurrentPasswordValid: boolean;
|
|
791
|
-
passwordVerified: boolean;
|
|
792
|
-
show2FA: boolean;
|
|
793
|
-
created2faDetails: object;
|
|
794
|
-
constructor(injector: Injector, cdr: ChangeDetectorRef);
|
|
795
|
-
ngOnInit(): void;
|
|
796
|
-
private getUser;
|
|
797
|
-
validatePassword(): void;
|
|
798
|
-
checkValidity(): void;
|
|
799
|
-
private create2FA;
|
|
800
|
-
verify2FA(): void;
|
|
801
|
-
private enable2FA;
|
|
802
|
-
private disable2FA;
|
|
803
|
-
reset(): void;
|
|
804
|
-
checkSSOPasswordValidity(): void;
|
|
805
|
-
validateSSOPassword(): void;
|
|
806
|
-
triggerSSO(): void;
|
|
807
|
-
resetSSO(): void;
|
|
808
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SecurityTabComponent, never>;
|
|
809
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SecurityTabComponent, "pw-security-tab", never, {}, {}, never, never, false, never>;
|
|
810
|
-
}
|
|
811
|
-
declare namespace settings_tabs_component_d_exports {
|
|
812
|
-
export { SettingsComponent };
|
|
813
|
-
}
|
|
814
|
-
export declare class SettingsComponent {
|
|
815
|
-
private readonly router;
|
|
816
|
-
private readonly permissionService;
|
|
817
|
-
menu: MenuItem[];
|
|
818
|
-
items: MenuItem[];
|
|
819
|
-
activeItem: MenuItem;
|
|
820
|
-
constructor(router: Router, permissionService: PermissionService);
|
|
821
|
-
activateMenu(): void;
|
|
822
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SettingsComponent, never>;
|
|
823
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SettingsComponent, "pw-settings", never, {}, {}, never, never, false, never>;
|
|
824
|
-
}
|
|
825
|
-
declare namespace support_component_d_exports {
|
|
826
|
-
export { SupportComponent };
|
|
827
|
-
}
|
|
828
|
-
export declare class SupportComponent extends AppBaseComponent implements OnInit {
|
|
829
|
-
private readonly commonService;
|
|
830
|
-
private readonly cdr;
|
|
831
|
-
supports: any[];
|
|
832
|
-
subscriptionId: number;
|
|
833
|
-
isLoading: boolean;
|
|
834
|
-
isLoaded: boolean;
|
|
835
|
-
constructor(injector: Injector, commonService: CommonService, cdr: ChangeDetectorRef);
|
|
836
|
-
ngOnInit(): void;
|
|
837
|
-
private getAllSupport;
|
|
838
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SupportComponent, never>;
|
|
839
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SupportComponent, "pw-support", never, {}, {}, never, never, false, never>;
|
|
840
|
-
}
|
|
841
|
-
declare namespace edit_portfolios_component_d_exports {
|
|
842
|
-
export { EditPortfoliosComponent };
|
|
843
|
-
}
|
|
844
|
-
export declare class EditPortfoliosComponent {
|
|
845
|
-
private readonly modalService;
|
|
846
|
-
private readonly profileService;
|
|
847
|
-
private readonly cdr;
|
|
848
|
-
content: TemplateRef<ModalContext>;
|
|
849
|
-
uploader: FileUpload;
|
|
850
|
-
successEvent: EventEmitter<boolean>;
|
|
851
|
-
id: number;
|
|
852
|
-
slug: string;
|
|
853
|
-
uploadedFiles: any[];
|
|
854
|
-
project: any[];
|
|
855
|
-
projectPictures: any[];
|
|
856
|
-
busy: boolean;
|
|
857
|
-
filesUploaded: boolean;
|
|
858
|
-
constructor(modalService: NgbModal, profileService: ProfileService, cdr: ChangeDetectorRef);
|
|
859
|
-
openModal(id: number): void;
|
|
860
|
-
onSelect(event?: any): void;
|
|
861
|
-
getProjectPictures(): void;
|
|
862
|
-
/**
|
|
863
|
-
* Uploads multiple images for the project
|
|
864
|
-
* @param form
|
|
865
|
-
*/
|
|
866
|
-
onSave(form: any): void;
|
|
867
|
-
deleteProjectPicture(id: number): void;
|
|
868
|
-
trackByImage(_index: number, item: {
|
|
869
294
|
id: number;
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
onSaveDetail(): void;
|
|
918
|
-
private getForm;
|
|
919
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EditProjectModalComponent, never>;
|
|
920
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EditProjectModalComponent, "pw-edit-project-modal", never, {}, {
|
|
921
|
-
"cancelEvent": "cancelEvent";
|
|
922
|
-
"saveEvent": "saveEvent";
|
|
923
|
-
}, never, never, false, never>;
|
|
924
|
-
}
|
|
925
|
-
declare namespace edit_qualifications_modal_component_d_exports {
|
|
926
|
-
export { EditQualificationsModalComponent };
|
|
927
|
-
}
|
|
928
|
-
export declare class EditQualificationsModalComponent extends AppBaseComponent implements OnInit {
|
|
929
|
-
modalService: NgbModal;
|
|
930
|
-
private readonly fb;
|
|
931
|
-
private readonly qualificationService;
|
|
932
|
-
private readonly cdr;
|
|
933
|
-
saveEvent: EventEmitter<void>;
|
|
934
|
-
content: TemplateRef<ModalContext>;
|
|
935
|
-
title: string;
|
|
936
|
-
form: UntypedFormGroup;
|
|
937
|
-
userId: number;
|
|
938
|
-
now: Date;
|
|
939
|
-
minToDate: Date;
|
|
940
|
-
qualifications: {
|
|
941
|
-
value: number;
|
|
942
|
-
label: string;
|
|
943
|
-
}[];
|
|
944
|
-
buttonBusy: boolean;
|
|
945
|
-
constructor(modalService: NgbModal, fb: UntypedFormBuilder, qualificationService: QualificationService, injector: Injector, cdr: ChangeDetectorRef);
|
|
946
|
-
ngOnInit(): void;
|
|
947
|
-
onOpen(value?: any): void;
|
|
948
|
-
onDateChange(): void;
|
|
949
|
-
onSaveDetail(): void;
|
|
950
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EditQualificationsModalComponent, never>;
|
|
951
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EditQualificationsModalComponent, "pw-edit-qualifications-modal", never, {}, {
|
|
952
|
-
"saveEvent": "saveEvent";
|
|
953
|
-
}, never, never, false, never>;
|
|
954
|
-
}
|
|
955
|
-
declare namespace edit_recommendation_modal_component_d_exports {
|
|
956
|
-
export { EditRecommendationModalComponent };
|
|
957
|
-
}
|
|
958
|
-
export declare class EditRecommendationModalComponent {
|
|
959
|
-
modalService: NgbModal;
|
|
960
|
-
private readonly fb;
|
|
961
|
-
private readonly profileService;
|
|
962
|
-
private readonly cdr;
|
|
963
|
-
content: TemplateRef<ModalContext>;
|
|
964
|
-
user: User;
|
|
965
|
-
form: UntypedFormGroup;
|
|
966
|
-
title: string;
|
|
967
|
-
buttonBusy: boolean;
|
|
968
|
-
project: Project;
|
|
969
|
-
constructor(modalService: NgbModal, fb: UntypedFormBuilder, profileService: ProfileService, cdr: ChangeDetectorRef);
|
|
970
|
-
onOpen(value?: any): void;
|
|
971
|
-
onSaveDetail(): void;
|
|
972
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EditRecommendationModalComponent, never>;
|
|
973
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EditRecommendationModalComponent, "pw-edit-recommendation-modal", never, {
|
|
974
|
-
"user": {
|
|
975
|
-
"alias": "user";
|
|
976
|
-
"required": false;
|
|
977
|
-
};
|
|
978
|
-
}, {}, never, never, false, never>;
|
|
979
|
-
}
|
|
980
|
-
declare namespace edit_skills_modal_component_d_exports {
|
|
981
|
-
export { EditSkillsModalComponent };
|
|
982
|
-
}
|
|
983
|
-
export declare class EditSkillsModalComponent extends AppBaseComponent {
|
|
984
|
-
private readonly modalService;
|
|
985
|
-
private readonly tagService;
|
|
986
|
-
private readonly cdr;
|
|
987
|
-
content: TemplateRef<ModalContext>;
|
|
988
|
-
userId: number;
|
|
989
|
-
slug: string;
|
|
990
|
-
entityType: TAG_TYPE;
|
|
991
|
-
entityEntity: TAG_ENTITY;
|
|
992
|
-
saveEvent: EventEmitter<boolean>;
|
|
993
|
-
allSkills: any[];
|
|
994
|
-
searchSkills: any[];
|
|
995
|
-
selectedSkills: any[];
|
|
996
|
-
constructor(modalService: NgbModal, tagService: TagService, injector: Injector, cdr: ChangeDetectorRef);
|
|
997
|
-
open(): void;
|
|
998
|
-
/**
|
|
999
|
-
* Populate all the skills for the dropdown
|
|
1000
|
-
*/
|
|
1001
|
-
private getSkills;
|
|
1002
|
-
/**
|
|
1003
|
-
* Skills Search
|
|
1004
|
-
* @param event: keyword to search
|
|
1005
|
-
*/
|
|
1006
|
-
search(event: any): void;
|
|
1007
|
-
close(modal: any): void;
|
|
1008
|
-
private getEntitySkills;
|
|
1009
|
-
saveUserSkills(): void;
|
|
1010
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EditSkillsModalComponent, never>;
|
|
1011
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EditSkillsModalComponent, "pw-edit-skills-modal", never, {
|
|
1012
|
-
"userId": {
|
|
1013
|
-
"alias": "userId";
|
|
1014
|
-
"required": false;
|
|
1015
|
-
};
|
|
1016
|
-
"slug": {
|
|
1017
|
-
"alias": "slug";
|
|
1018
|
-
"required": false;
|
|
1019
|
-
};
|
|
1020
|
-
"entityType": {
|
|
1021
|
-
"alias": "entityType";
|
|
1022
|
-
"required": false;
|
|
1023
|
-
};
|
|
1024
|
-
"entityEntity": {
|
|
1025
|
-
"alias": "entityEntity";
|
|
1026
|
-
"required": false;
|
|
295
|
+
api_access_token?: string;
|
|
296
|
+
masked?: string;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
declare class SubscriptionCredentialComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
300
|
+
private readonly fb;
|
|
301
|
+
private readonly subscriptionService;
|
|
302
|
+
private readonly cdr;
|
|
303
|
+
private credentialToEdit;
|
|
304
|
+
passwordValidationModalForRevealCredential: PasswordValidationComponent;
|
|
305
|
+
passwordValidationModalForEditCredential: PasswordValidationComponent;
|
|
306
|
+
passwordValidationModalForAddCredential: PasswordValidationComponent;
|
|
307
|
+
form: UntypedFormGroup;
|
|
308
|
+
data: any[];
|
|
309
|
+
subscriptionId: number;
|
|
310
|
+
totalRecords: number;
|
|
311
|
+
allSubscriptionCredentials: CredentialData[];
|
|
312
|
+
availableCredentials: CredentialData[];
|
|
313
|
+
credentialsSelect: CredentialData[];
|
|
314
|
+
updatedCredential: CredentialData;
|
|
315
|
+
uniqueCredential: any[];
|
|
316
|
+
isEdit: boolean;
|
|
317
|
+
submitted: boolean;
|
|
318
|
+
buttonBusy: boolean;
|
|
319
|
+
isLoaded: boolean;
|
|
320
|
+
credentials: any[];
|
|
321
|
+
showForm: boolean;
|
|
322
|
+
credentialSaved: string;
|
|
323
|
+
credentialName: string;
|
|
324
|
+
credentialToReveal: any;
|
|
325
|
+
constructor(fb: UntypedFormBuilder, subscriptionService: SubscriptionService, injector: Injector, cdr: ChangeDetectorRef);
|
|
326
|
+
ngOnInit(): void;
|
|
327
|
+
get credentialsGroup(): UntypedFormArray;
|
|
328
|
+
/** Function to get all credentials */
|
|
329
|
+
private getAllCredentials;
|
|
330
|
+
/** Function to get available Credentials */
|
|
331
|
+
private getAllAvailableCredentials;
|
|
332
|
+
/** Function to get credential on select */
|
|
333
|
+
selectedOption(event: any): void;
|
|
334
|
+
/** Function to post credentials */
|
|
335
|
+
saveCredentials(): void;
|
|
336
|
+
revealCredentials(credential: any): void;
|
|
337
|
+
hideCredentials(): void;
|
|
338
|
+
showCredentials(): void;
|
|
339
|
+
/** Function to get form controls */
|
|
340
|
+
get f(): {
|
|
341
|
+
[key: string]: _angular_forms.AbstractControl<any, any, any>;
|
|
1027
342
|
};
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
}
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
declare namespace edit_user_profile_modal_component_d_exports {
|
|
1074
|
-
export { EditUserProfileModalComponent };
|
|
1075
|
-
}
|
|
1076
|
-
export declare class EditUserProfileModalComponent extends AppBaseComponent implements OnInit {
|
|
1077
|
-
modalService: NgbModal;
|
|
1078
|
-
private readonly fb;
|
|
1079
|
-
private readonly profileService;
|
|
1080
|
-
private readonly geoService;
|
|
1081
|
-
private readonly cdr;
|
|
1082
|
-
content: TemplateRef<ModalContext>;
|
|
1083
|
-
slug: string;
|
|
1084
|
-
user: EditUser;
|
|
1085
|
-
saveEvent: EventEmitter<UserProfile>;
|
|
1086
|
-
placesRef: NgxGpAutocompleteDirective;
|
|
1087
|
-
form: UntypedFormGroup;
|
|
1088
|
-
countries$: Observable<Country[]>;
|
|
1089
|
-
states: Country[];
|
|
1090
|
-
buttonBusy: boolean;
|
|
1091
|
-
constructor(modalService: NgbModal, fb: UntypedFormBuilder, profileService: ProfileService, geoService: GeoService, injector: Injector, cdr: ChangeDetectorRef);
|
|
1092
|
-
ngOnInit(): void;
|
|
1093
|
-
getValues(): void;
|
|
1094
|
-
handleAddressChange(_event: any): void;
|
|
1095
|
-
onOpen(): void;
|
|
1096
|
-
getRegion(countryId: any): void;
|
|
1097
|
-
onSaveDetail(): void;
|
|
1098
|
-
save(): void;
|
|
1099
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EditUserProfileModalComponent, never>;
|
|
1100
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EditUserProfileModalComponent, "pw-edit-user-profile-modal", never, {
|
|
1101
|
-
"slug": {
|
|
1102
|
-
"alias": "slug";
|
|
1103
|
-
"required": false;
|
|
1104
|
-
};
|
|
1105
|
-
"user": {
|
|
1106
|
-
"alias": "user";
|
|
1107
|
-
"required": false;
|
|
1108
|
-
};
|
|
1109
|
-
}, {
|
|
1110
|
-
"saveEvent": "saveEvent";
|
|
1111
|
-
}, never, never, false, never>;
|
|
1112
|
-
}
|
|
1113
|
-
declare namespace user_about_component_d_exports {
|
|
1114
|
-
export { UserAboutComponent };
|
|
343
|
+
onCancel(): void;
|
|
344
|
+
openCredentialsForAdd(): void;
|
|
345
|
+
openCredentialsForEdit(credential: any): void;
|
|
346
|
+
editCredentials(): void;
|
|
347
|
+
showEditForm(): void;
|
|
348
|
+
ngOnDestroy(): void;
|
|
349
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SubscriptionCredentialComponent, never>;
|
|
350
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SubscriptionCredentialComponent, "pw-subscription-credential", never, {}, {}, never, never, false, never>;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
declare class SubscriptionNameByIdPipe implements PipeTransform {
|
|
354
|
+
transform(subs: {
|
|
355
|
+
id: number | string;
|
|
356
|
+
organisation?: string;
|
|
357
|
+
organization?: string;
|
|
358
|
+
name?: string;
|
|
359
|
+
}[] | null | undefined, id: number | string | null | undefined): string;
|
|
360
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SubscriptionNameByIdPipe, never>;
|
|
361
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SubscriptionNameByIdPipe, "subscriptionNameById", false>;
|
|
362
|
+
}
|
|
363
|
+
declare class CredentialAvatarHuePipe implements PipeTransform {
|
|
364
|
+
transform(value: string | null | undefined): number;
|
|
365
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CredentialAvatarHuePipe, never>;
|
|
366
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CredentialAvatarHuePipe, "credentialAvatarHue", false>;
|
|
367
|
+
}
|
|
368
|
+
declare class HumanizeCredentialNamePipe implements PipeTransform {
|
|
369
|
+
transform(value: string | null | undefined): string;
|
|
370
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HumanizeCredentialNamePipe, never>;
|
|
371
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<HumanizeCredentialNamePipe, "humanizeCredentialName", false>;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
declare class ClearMaskedOnFocusDirective {
|
|
375
|
+
private readonly control;
|
|
376
|
+
constructor(control: NgControl);
|
|
377
|
+
onFocus(event: FocusEvent): void;
|
|
378
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClearMaskedOnFocusDirective, [{ optional: true; self: true; }]>;
|
|
379
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ClearMaskedOnFocusDirective, "input[pwClearMaskedOnFocus]", never, {}, {}, never, never, false, never>;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
interface BraintreeCardSummary {
|
|
383
|
+
provider: 'braintree';
|
|
384
|
+
token: string;
|
|
385
|
+
card_number: string;
|
|
386
|
+
exp_month: number;
|
|
387
|
+
exp_year: number;
|
|
1115
388
|
}
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
389
|
+
|
|
390
|
+
declare class UpdatePaymentDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
391
|
+
private readonly fb;
|
|
392
|
+
private readonly scriptLoader;
|
|
393
|
+
private readonly productService;
|
|
394
|
+
private readonly subscriptionService;
|
|
395
|
+
private readonly cdr;
|
|
396
|
+
form: UntypedFormGroup;
|
|
397
|
+
years: any[];
|
|
398
|
+
months: any[];
|
|
399
|
+
busy: boolean;
|
|
400
|
+
isChangePayment: boolean;
|
|
401
|
+
cardDetails: CardDetails | null;
|
|
402
|
+
secondaryCard: BraintreeCardSummary | null;
|
|
403
|
+
showBraintreeForm: boolean;
|
|
404
|
+
braintreeBusy: boolean;
|
|
405
|
+
loading: boolean;
|
|
406
|
+
errorMessage: string;
|
|
407
|
+
stripePublishKey: string;
|
|
408
|
+
errorMsg: string;
|
|
409
|
+
subscriptionId: number;
|
|
410
|
+
productId: number;
|
|
411
|
+
braintreeContainer?: ElementRef<HTMLDivElement>;
|
|
412
|
+
private readonly braintreeHelper;
|
|
413
|
+
constructor(fb: UntypedFormBuilder, scriptLoader: ScriptLoaderService, productService: ProductService, subscriptionService: SubscriptionService, injector: Injector, cdr: ChangeDetectorRef);
|
|
414
|
+
ngOnInit(): void;
|
|
415
|
+
ngOnDestroy(): void;
|
|
416
|
+
private refreshPaymentMethods;
|
|
417
|
+
onUpdatePaymentDetailsCancel(): void;
|
|
418
|
+
onSave(): void;
|
|
419
|
+
private onStripeToken;
|
|
420
|
+
cancel(): void;
|
|
421
|
+
onChange(value: any): void;
|
|
422
|
+
startBraintreeFlow(): Promise<void>;
|
|
423
|
+
submitBraintree(): Promise<void>;
|
|
424
|
+
cancelBraintreeFlow(): void;
|
|
425
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpdatePaymentDetailsComponent, never>;
|
|
426
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UpdatePaymentDetailsComponent, "pw-update-payment-details", never, {}, {}, never, never, false, never>;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
declare class UpgradeSubscriptionComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
430
|
+
private readonly productService;
|
|
431
|
+
private readonly fb;
|
|
432
|
+
private readonly modalService;
|
|
433
|
+
private readonly subscriptionService;
|
|
434
|
+
private readonly store;
|
|
435
|
+
private readonly scriptLoader;
|
|
436
|
+
private readonly cdr;
|
|
437
|
+
private readonly confirmDialog;
|
|
438
|
+
passwordValidationModal: PasswordValidationComponent;
|
|
439
|
+
form: UntypedFormGroup;
|
|
440
|
+
product: Product;
|
|
441
|
+
subscription: Subscription;
|
|
442
|
+
user: User;
|
|
443
|
+
cardDetails: CardDetails;
|
|
444
|
+
units: number;
|
|
445
|
+
subscriptionId: number;
|
|
446
|
+
productId: number;
|
|
447
|
+
unitError: string;
|
|
448
|
+
password: string;
|
|
449
|
+
stripePublishKey: string;
|
|
450
|
+
busy: boolean;
|
|
451
|
+
isPurchaseAttempted: boolean;
|
|
452
|
+
months: any[];
|
|
453
|
+
years: any[];
|
|
454
|
+
showNewCard: boolean;
|
|
455
|
+
passwordModalVisible: boolean;
|
|
456
|
+
errorMsg: any;
|
|
457
|
+
get totalAmount(): number;
|
|
458
|
+
constructor(injector: Injector, productService: ProductService, fb: UntypedFormBuilder, modalService: NgbModal, subscriptionService: SubscriptionService, store: Store<AppState>, scriptLoader: ScriptLoaderService, cdr: ChangeDetectorRef, confirmDialog: ConfirmDialogService);
|
|
459
|
+
ngOnInit(): void;
|
|
460
|
+
getSubscriptionDetails(): void;
|
|
461
|
+
getProductDetails(): void;
|
|
462
|
+
onMaxReached(event: any): void;
|
|
463
|
+
onMinReached(event: any): void;
|
|
464
|
+
onUnitChange(event: any): void;
|
|
465
|
+
onValidatePassword(isSuccess: boolean): void;
|
|
466
|
+
private postCreateToken;
|
|
467
|
+
attemptPurchase(): void;
|
|
468
|
+
private onPurchaseSubmit;
|
|
469
|
+
private enrollUserToSubscription;
|
|
470
|
+
private noPasswordModal;
|
|
471
|
+
private getCardDetails;
|
|
472
|
+
onDiscardToggle(): void;
|
|
473
|
+
updateCardDetails(): void;
|
|
474
|
+
ngOnDestroy(): void;
|
|
475
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpgradeSubscriptionComponent, never>;
|
|
476
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UpgradeSubscriptionComponent, "pw-upgrade-subscription", never, {}, {}, never, never, false, never>;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
declare class UserSubscriptionDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
480
|
+
private readonly fb;
|
|
481
|
+
private readonly geoService;
|
|
482
|
+
private readonly modalService;
|
|
483
|
+
private readonly subscriptionService;
|
|
484
|
+
private readonly store;
|
|
485
|
+
private readonly cdr;
|
|
486
|
+
private readonly confirmDialog;
|
|
487
|
+
modal: PasswordValidationComponent;
|
|
488
|
+
allowUpdate: boolean;
|
|
489
|
+
hasUnitChanged: boolean;
|
|
490
|
+
busyButton: boolean;
|
|
491
|
+
form: UntypedFormGroup;
|
|
492
|
+
unitError: string;
|
|
493
|
+
subscription: Subscription;
|
|
494
|
+
units: number;
|
|
495
|
+
countries$: Observable<Country[]>;
|
|
496
|
+
squaredLogo: string;
|
|
497
|
+
fullLogo: string;
|
|
498
|
+
fullLogoBroken: boolean;
|
|
499
|
+
squaredLogoBroken: boolean;
|
|
500
|
+
slug: string;
|
|
501
|
+
userId: number;
|
|
502
|
+
subscriptionId: number;
|
|
503
|
+
user: User;
|
|
504
|
+
showApiToken: boolean;
|
|
505
|
+
showApiClientId: boolean;
|
|
506
|
+
refreshingTokens: boolean;
|
|
507
|
+
totalAmount(): number;
|
|
508
|
+
constructor(fb: UntypedFormBuilder, geoService: GeoService, modalService: NgbModal, subscriptionService: SubscriptionService, store: Store<AppState>, injector: Injector, cdr: ChangeDetectorRef, confirmDialog: ConfirmDialogService);
|
|
509
|
+
ngOnInit(): void;
|
|
510
|
+
private fetchData;
|
|
511
|
+
/** White-label company name for "Your {brand} AI assistant" (same source as the login page and chat widget). */
|
|
512
|
+
get brandName(): string;
|
|
513
|
+
private getForm;
|
|
514
|
+
private commaSeparatedEmailsValidator;
|
|
515
|
+
/** *
|
|
516
|
+
* Update seats for all the products of subscription
|
|
517
|
+
*/
|
|
518
|
+
updateUnits(): void;
|
|
519
|
+
openModal(content: any): void;
|
|
520
|
+
onImageSelection(event: any): void;
|
|
521
|
+
uploadSquaredLogo(event: any): void;
|
|
522
|
+
onClose(): void;
|
|
523
|
+
dataURLtoBlob(dataUrl: any): Blob;
|
|
524
|
+
onSaveDetails(): void;
|
|
525
|
+
onPasswordValidation(_event: any): void;
|
|
526
|
+
onMaxReached(event: any): void;
|
|
527
|
+
onMinReached(event: any): void;
|
|
528
|
+
onUnitChange(event: any): void;
|
|
529
|
+
/** Function to execute on location select */
|
|
530
|
+
handleAddressChange(event: any): void;
|
|
531
|
+
toggleApiTokenVisibility(): void;
|
|
532
|
+
toggleApiClientIdVisibility(): void;
|
|
533
|
+
refreshApiTokens(): void;
|
|
534
|
+
private performTokenRefresh;
|
|
535
|
+
trackByProduct(_index: number, item: Product): number;
|
|
536
|
+
ngOnDestroy(): void;
|
|
537
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserSubscriptionDetailsComponent, never>;
|
|
538
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserSubscriptionDetailsComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
declare class UserSubscriptionListComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
542
|
+
private readonly subscriptionService;
|
|
543
|
+
private readonly adminService;
|
|
544
|
+
private readonly modalService;
|
|
545
|
+
private readonly store;
|
|
546
|
+
private readonly clipboard;
|
|
547
|
+
private readonly cdr;
|
|
548
|
+
private readonly confirmDialog;
|
|
549
|
+
menu: MenuItem[];
|
|
550
|
+
changeSubscriptionRef: AddSubscriptionComponent;
|
|
551
|
+
passwordValidationModalForAccountDelete: PasswordValidationComponent;
|
|
552
|
+
passwordValidationModalForKey: PasswordValidationComponent;
|
|
553
|
+
passwordValidationForUnsubscribe: PasswordValidationComponent;
|
|
554
|
+
cancelSubscriptionModal: TemplateRef<unknown>;
|
|
555
|
+
showApiKey: boolean;
|
|
556
|
+
password: string;
|
|
557
|
+
productName: string;
|
|
558
|
+
subscribedSubscriptions: any[];
|
|
559
|
+
activeItem: MenuItem;
|
|
560
|
+
isAddNew: boolean;
|
|
561
|
+
user: User;
|
|
562
|
+
isUpdatePayment: false;
|
|
563
|
+
selectedSubscription: {
|
|
564
|
+
id: number;
|
|
565
|
+
productId: number;
|
|
1165
566
|
};
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
567
|
+
editing: boolean;
|
|
568
|
+
isLoaded: boolean;
|
|
569
|
+
reasonToCancel: string;
|
|
570
|
+
currentItem: CurrentItem;
|
|
571
|
+
showTos: boolean;
|
|
572
|
+
objectKeys: {
|
|
573
|
+
(o: object): string[];
|
|
574
|
+
(o: {}): string[];
|
|
1169
575
|
};
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
576
|
+
items: MenuItem[];
|
|
577
|
+
productId: number;
|
|
578
|
+
constructor(subscriptionService: SubscriptionService, adminService: AdminService, modalService: NgbModal, store: Store<AppState>, clipboard: Clipboard, injector: Injector, cdr: ChangeDetectorRef, confirmDialog: ConfirmDialogService);
|
|
579
|
+
ngOnInit(): void;
|
|
580
|
+
onClipboardCopy(accessCode: string): void;
|
|
581
|
+
attemptUnsubscribe(item: any, productId: number): void;
|
|
582
|
+
openCancelSubscriptionModal(): void;
|
|
583
|
+
private getSubscribedProduct;
|
|
584
|
+
updateApiKey(subscription: any, product: any): void;
|
|
585
|
+
showKey(item: any): void;
|
|
586
|
+
displayApiKey(): void;
|
|
587
|
+
activateMenu(): void;
|
|
588
|
+
onUnsubscribe(item: any, reasonToCancel: string): void;
|
|
589
|
+
onValidatePassword(isSuccess: boolean): void;
|
|
590
|
+
onConfirmCancel(): void;
|
|
591
|
+
discardEdit(): void;
|
|
592
|
+
onSaveDetails(): void;
|
|
593
|
+
onUpdatePaymentDetailsCancel(): void;
|
|
594
|
+
attemptUpgrade(subscription: Subscription, product: Product): void;
|
|
595
|
+
private noPasswordModal;
|
|
596
|
+
showModalForAccountDeletion(): void;
|
|
597
|
+
deleteUser(_event: any): void;
|
|
598
|
+
showPrivacyAndTos(product: Product): void;
|
|
599
|
+
onCancel(): void;
|
|
600
|
+
trackBySubscription(_index: number, item: {
|
|
601
|
+
id: number;
|
|
602
|
+
}): number;
|
|
603
|
+
trackByProduct(_index: number, item: {
|
|
604
|
+
id: number;
|
|
605
|
+
}): number;
|
|
606
|
+
ngOnDestroy(): void;
|
|
607
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserSubscriptionListComponent, never>;
|
|
608
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserSubscriptionListComponent, "pw-user-subscriptions-list", never, {}, {}, never, never, false, never>;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
declare class UserInvoiceComponent extends AppBaseComponent implements OnDestroy {
|
|
612
|
+
private readonly cdr;
|
|
613
|
+
invoices: any[];
|
|
614
|
+
buttonBusy: boolean;
|
|
615
|
+
userId: number;
|
|
616
|
+
totalRecordsUnFiltered: number;
|
|
617
|
+
searchText: string;
|
|
618
|
+
subscription: Subscription$1;
|
|
619
|
+
intervalTimer: rxjs.Observable<number>;
|
|
620
|
+
isLoaded: boolean;
|
|
621
|
+
page: number;
|
|
622
|
+
totalRecords: number;
|
|
623
|
+
invoiceFrequency: string[];
|
|
624
|
+
constructor(injector: Injector, cdr: ChangeDetectorRef);
|
|
625
|
+
onLazyLoad(event: LazyLoadEvent): void;
|
|
626
|
+
private fetchInvoices;
|
|
627
|
+
private pollForInvoices;
|
|
628
|
+
ngOnDestroy(): void;
|
|
629
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserInvoiceComponent, never>;
|
|
630
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserInvoiceComponent, "pw-user-invoice", never, {}, {}, never, never, false, never>;
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
declare class CommunicationTabComponent extends AppBaseComponent implements OnInit {
|
|
634
|
+
private readonly commonService;
|
|
635
|
+
private readonly profileService;
|
|
636
|
+
private readonly store;
|
|
637
|
+
private readonly cdr;
|
|
638
|
+
subscriptions: any[];
|
|
639
|
+
userSubscription: any[];
|
|
640
|
+
isLoaded: boolean;
|
|
641
|
+
user: User;
|
|
642
|
+
constructor(commonService: CommonService, profileService: ProfileService, store: Store<AppState>, injector: Injector, cdr: ChangeDetectorRef);
|
|
643
|
+
ngOnInit(): void;
|
|
644
|
+
private getAllSubscription;
|
|
645
|
+
onValueChange(item: any, value: any): void;
|
|
646
|
+
updateUser(): void;
|
|
647
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CommunicationTabComponent, never>;
|
|
648
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CommunicationTabComponent, "pw-communication-tab", never, {}, {}, never, never, false, never>;
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
declare class OthersTabComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
652
|
+
private readonly commonService;
|
|
653
|
+
private readonly cdr;
|
|
654
|
+
subscriptionConfigs: any[];
|
|
655
|
+
globalConfigs: any[];
|
|
656
|
+
userId: number;
|
|
657
|
+
isLoaded: boolean;
|
|
658
|
+
constructor(commonService: CommonService, injector: Injector, cdr: ChangeDetectorRef);
|
|
659
|
+
ngOnInit(): void;
|
|
660
|
+
private getGlobalSubscriptionConfig;
|
|
661
|
+
private getGlobalConfigs;
|
|
662
|
+
onValueChange(item: any, value: any): void;
|
|
663
|
+
ngOnDestroy(): void;
|
|
664
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OthersTabComponent, never>;
|
|
665
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OthersTabComponent, "pw-others-tab", never, {}, {}, never, never, false, never>;
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
declare class SecurityTabComponent extends AppBaseComponent implements OnInit {
|
|
669
|
+
private readonly cdr;
|
|
670
|
+
passwordRef: ElementRef;
|
|
671
|
+
verificationCode: ElementRef;
|
|
672
|
+
ssoPasswordRef: ElementRef;
|
|
673
|
+
showSSOSection: boolean;
|
|
674
|
+
ssoPasswordVerified: boolean;
|
|
675
|
+
isSSOPasswordInvalid: boolean;
|
|
676
|
+
user: any;
|
|
677
|
+
isCurrentPasswordValid: boolean;
|
|
678
|
+
passwordVerified: boolean;
|
|
679
|
+
show2FA: boolean;
|
|
680
|
+
created2faDetails: object;
|
|
681
|
+
constructor(injector: Injector, cdr: ChangeDetectorRef);
|
|
682
|
+
ngOnInit(): void;
|
|
683
|
+
private getUser;
|
|
684
|
+
validatePassword(): void;
|
|
685
|
+
checkValidity(): void;
|
|
686
|
+
private create2FA;
|
|
687
|
+
verify2FA(): void;
|
|
688
|
+
private enable2FA;
|
|
689
|
+
private disable2FA;
|
|
690
|
+
reset(): void;
|
|
691
|
+
checkSSOPasswordValidity(): void;
|
|
692
|
+
validateSSOPassword(): void;
|
|
693
|
+
triggerSSO(): void;
|
|
694
|
+
resetSSO(): void;
|
|
695
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SecurityTabComponent, never>;
|
|
696
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SecurityTabComponent, "pw-security-tab", never, {}, {}, never, never, false, never>;
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
declare class SettingsComponent {
|
|
700
|
+
private readonly router;
|
|
701
|
+
private readonly permissionService;
|
|
702
|
+
menu: MenuItem[];
|
|
703
|
+
items: MenuItem[];
|
|
704
|
+
activeItem: MenuItem;
|
|
705
|
+
constructor(router: Router, permissionService: PermissionService);
|
|
706
|
+
activateMenu(): void;
|
|
707
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SettingsComponent, never>;
|
|
708
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SettingsComponent, "pw-settings", never, {}, {}, never, never, false, never>;
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
declare class SupportComponent extends AppBaseComponent implements OnInit {
|
|
712
|
+
private readonly commonService;
|
|
713
|
+
private readonly cdr;
|
|
714
|
+
supports: any[];
|
|
715
|
+
subscriptionId: number;
|
|
716
|
+
isLoading: boolean;
|
|
717
|
+
isLoaded: boolean;
|
|
718
|
+
constructor(injector: Injector, commonService: CommonService, cdr: ChangeDetectorRef);
|
|
719
|
+
ngOnInit(): void;
|
|
720
|
+
private getAllSupport;
|
|
721
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SupportComponent, never>;
|
|
722
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SupportComponent, "pw-support", never, {}, {}, never, never, false, never>;
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
declare class EditPortfoliosComponent {
|
|
726
|
+
private readonly modalService;
|
|
727
|
+
private readonly profileService;
|
|
728
|
+
private readonly cdr;
|
|
729
|
+
content: TemplateRef<ModalContext>;
|
|
730
|
+
uploader: FileUpload;
|
|
731
|
+
successEvent: EventEmitter<boolean>;
|
|
1191
732
|
id: number;
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
733
|
+
slug: string;
|
|
734
|
+
uploadedFiles: any[];
|
|
735
|
+
project: any[];
|
|
736
|
+
projectPictures: any[];
|
|
737
|
+
busy: boolean;
|
|
738
|
+
filesUploaded: boolean;
|
|
739
|
+
constructor(modalService: NgbModal, profileService: ProfileService, cdr: ChangeDetectorRef);
|
|
740
|
+
openModal(id: number): void;
|
|
741
|
+
onSelect(event?: any): void;
|
|
742
|
+
getProjectPictures(): void;
|
|
743
|
+
/**
|
|
744
|
+
* Uploads multiple images for the project
|
|
745
|
+
* @param form
|
|
746
|
+
*/
|
|
747
|
+
onSave(form: any): void;
|
|
748
|
+
deleteProjectPicture(id: number): void;
|
|
749
|
+
trackByImage(_index: number, item: {
|
|
750
|
+
id: number;
|
|
751
|
+
}): number;
|
|
752
|
+
onRemove(event: any): void;
|
|
753
|
+
onUploadError(event: any): void;
|
|
754
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditPortfoliosComponent, never>;
|
|
755
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditPortfoliosComponent, "pw-edit-portfolios", never, { "id": { "alias": "id"; "required": false; }; "slug": { "alias": "slug"; "required": false; }; }, { "successEvent": "successEvent"; }, never, never, false, never>;
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
declare class EditProjectModalComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
759
|
+
modalService: NgbModal;
|
|
760
|
+
private readonly fb;
|
|
761
|
+
private readonly profileService;
|
|
762
|
+
private readonly cdr;
|
|
763
|
+
content: TemplateRef<ModalContext>;
|
|
764
|
+
cancelEvent: EventEmitter<void>;
|
|
765
|
+
saveEvent: EventEmitter<boolean>;
|
|
766
|
+
form: UntypedFormGroup;
|
|
767
|
+
weeks: number[];
|
|
768
|
+
startYears: number[];
|
|
769
|
+
endYears: number[];
|
|
770
|
+
title: string;
|
|
771
|
+
submitted: boolean;
|
|
772
|
+
buttonBusy: boolean;
|
|
773
|
+
private currentProject;
|
|
774
|
+
userId: number;
|
|
775
|
+
constructor(modalService: NgbModal, fb: UntypedFormBuilder, profileService: ProfileService, injector: Injector, cdr: ChangeDetectorRef);
|
|
776
|
+
get f(): {
|
|
777
|
+
[key: string]: _angular_forms.AbstractControl<any, any, any>;
|
|
1199
778
|
};
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
779
|
+
ngOnInit(): void;
|
|
780
|
+
ngOnDestroy(): void;
|
|
781
|
+
getStartYear(): void;
|
|
782
|
+
getEndYears(start_year: any): void;
|
|
783
|
+
private getWeeks;
|
|
784
|
+
onOpen(item?: any): void;
|
|
785
|
+
onSaveDetail(): void;
|
|
786
|
+
private getForm;
|
|
787
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditProjectModalComponent, never>;
|
|
788
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditProjectModalComponent, "pw-edit-project-modal", never, {}, { "cancelEvent": "cancelEvent"; "saveEvent": "saveEvent"; }, never, never, false, never>;
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
declare class EditQualificationsModalComponent extends AppBaseComponent implements OnInit {
|
|
792
|
+
modalService: NgbModal;
|
|
793
|
+
private readonly fb;
|
|
794
|
+
private readonly qualificationService;
|
|
795
|
+
private readonly cdr;
|
|
796
|
+
saveEvent: EventEmitter<void>;
|
|
797
|
+
content: TemplateRef<ModalContext>;
|
|
798
|
+
title: string;
|
|
799
|
+
form: UntypedFormGroup;
|
|
800
|
+
userId: number;
|
|
801
|
+
now: Date;
|
|
802
|
+
minToDate: Date;
|
|
803
|
+
qualifications: {
|
|
804
|
+
value: number;
|
|
805
|
+
label: string;
|
|
806
|
+
}[];
|
|
807
|
+
buttonBusy: boolean;
|
|
808
|
+
constructor(modalService: NgbModal, fb: UntypedFormBuilder, qualificationService: QualificationService, injector: Injector, cdr: ChangeDetectorRef);
|
|
809
|
+
ngOnInit(): void;
|
|
810
|
+
onOpen(value?: any): void;
|
|
811
|
+
onDateChange(): void;
|
|
812
|
+
onSaveDetail(): void;
|
|
813
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditQualificationsModalComponent, never>;
|
|
814
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditQualificationsModalComponent, "pw-edit-qualifications-modal", never, {}, { "saveEvent": "saveEvent"; }, never, never, false, never>;
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
declare class EditRecommendationModalComponent {
|
|
818
|
+
modalService: NgbModal;
|
|
819
|
+
private readonly fb;
|
|
820
|
+
private readonly profileService;
|
|
821
|
+
private readonly cdr;
|
|
822
|
+
content: TemplateRef<ModalContext>;
|
|
823
|
+
user: User;
|
|
824
|
+
form: UntypedFormGroup;
|
|
825
|
+
title: string;
|
|
826
|
+
buttonBusy: boolean;
|
|
827
|
+
project: Project;
|
|
828
|
+
constructor(modalService: NgbModal, fb: UntypedFormBuilder, profileService: ProfileService, cdr: ChangeDetectorRef);
|
|
829
|
+
onOpen(value?: any): void;
|
|
830
|
+
onSaveDetail(): void;
|
|
831
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditRecommendationModalComponent, never>;
|
|
832
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditRecommendationModalComponent, "pw-edit-recommendation-modal", never, { "user": { "alias": "user"; "required": false; }; }, {}, never, never, false, never>;
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
declare class EditSkillsModalComponent extends AppBaseComponent {
|
|
836
|
+
private readonly modalService;
|
|
837
|
+
private readonly tagService;
|
|
838
|
+
private readonly cdr;
|
|
839
|
+
content: TemplateRef<ModalContext>;
|
|
840
|
+
userId: number;
|
|
841
|
+
slug: string;
|
|
842
|
+
entityType: TAG_TYPE;
|
|
843
|
+
entityEntity: TAG_ENTITY;
|
|
844
|
+
saveEvent: EventEmitter<boolean>;
|
|
845
|
+
allSkills: any[];
|
|
846
|
+
searchSkills: any[];
|
|
847
|
+
selectedSkills: any[];
|
|
848
|
+
constructor(modalService: NgbModal, tagService: TagService, injector: Injector, cdr: ChangeDetectorRef);
|
|
849
|
+
open(): void;
|
|
850
|
+
/**
|
|
851
|
+
* Populate all the skills for the dropdown
|
|
852
|
+
*/
|
|
853
|
+
private getSkills;
|
|
854
|
+
/**
|
|
855
|
+
* Skills Search
|
|
856
|
+
* @param event: keyword to search
|
|
857
|
+
*/
|
|
858
|
+
search(event: any): void;
|
|
859
|
+
close(modal: any): void;
|
|
860
|
+
private getEntitySkills;
|
|
861
|
+
saveUserSkills(): void;
|
|
862
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditSkillsModalComponent, never>;
|
|
863
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditSkillsModalComponent, "pw-edit-skills-modal", never, { "userId": { "alias": "userId"; "required": false; }; "slug": { "alias": "slug"; "required": false; }; "entityType": { "alias": "entityType"; "required": false; }; "entityEntity": { "alias": "entityEntity"; "required": false; }; }, { "saveEvent": "saveEvent"; }, never, never, false, never>;
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
declare class EditSocialLinksComponent extends AppBaseComponent implements OnInit {
|
|
867
|
+
private readonly modalService;
|
|
868
|
+
private readonly fb;
|
|
869
|
+
private readonly profileService;
|
|
870
|
+
private readonly cdr;
|
|
871
|
+
content: TemplateRef<ModalContext>;
|
|
872
|
+
links: Record<string, string>;
|
|
873
|
+
userId: number;
|
|
874
|
+
saveEvent: EventEmitter<void>;
|
|
875
|
+
form: UntypedFormGroup;
|
|
876
|
+
buttonBusy: boolean;
|
|
877
|
+
readonly socialNetworks: ReadonlyArray<{
|
|
878
|
+
key: string;
|
|
879
|
+
labelKey: string;
|
|
880
|
+
icon: string;
|
|
881
|
+
placeholder: string;
|
|
882
|
+
}>;
|
|
883
|
+
constructor(injector: Injector, modalService: NgbModal, fb: UntypedFormBuilder, profileService: ProfileService, cdr: ChangeDetectorRef);
|
|
884
|
+
/** Tenant company name (domain-metadata driven), falling back to PosiWise. */
|
|
885
|
+
get companyName(): string;
|
|
886
|
+
private urlValidator;
|
|
887
|
+
ngOnInit(): void;
|
|
888
|
+
onOpen(links: any): void;
|
|
889
|
+
onSaveDetail(): void;
|
|
890
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditSocialLinksComponent, never>;
|
|
891
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditSocialLinksComponent, "pw-edit-social-links", never, { "links": { "alias": "links"; "required": false; }; "userId": { "alias": "userId"; "required": false; }; }, { "saveEvent": "saveEvent"; }, never, never, false, never>;
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
declare class EditUserProfileModalComponent extends AppBaseComponent implements OnInit {
|
|
895
|
+
modalService: NgbModal;
|
|
896
|
+
private readonly fb;
|
|
897
|
+
private readonly profileService;
|
|
898
|
+
private readonly geoService;
|
|
899
|
+
private readonly cdr;
|
|
900
|
+
content: TemplateRef<ModalContext>;
|
|
901
|
+
slug: string;
|
|
902
|
+
user: EditUser;
|
|
903
|
+
saveEvent: EventEmitter<UserProfile>;
|
|
904
|
+
placesRef: NgxGpAutocompleteDirective;
|
|
905
|
+
form: UntypedFormGroup;
|
|
906
|
+
countries$: Observable<Country[]>;
|
|
907
|
+
states: Country[];
|
|
908
|
+
buttonBusy: boolean;
|
|
909
|
+
constructor(modalService: NgbModal, fb: UntypedFormBuilder, profileService: ProfileService, geoService: GeoService, injector: Injector, cdr: ChangeDetectorRef);
|
|
910
|
+
ngOnInit(): void;
|
|
911
|
+
getValues(): void;
|
|
912
|
+
handleAddressChange(_event: any): void;
|
|
913
|
+
onOpen(): void;
|
|
914
|
+
getRegion(countryId: any): void;
|
|
915
|
+
onSaveDetail(): void;
|
|
916
|
+
save(): void;
|
|
917
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditUserProfileModalComponent, never>;
|
|
918
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditUserProfileModalComponent, "pw-edit-user-profile-modal", never, { "slug": { "alias": "slug"; "required": false; }; "user": { "alias": "user"; "required": false; }; }, { "saveEvent": "saveEvent"; }, never, never, false, never>;
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
declare class UserAboutComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
922
|
+
private readonly profileService;
|
|
923
|
+
private readonly qualificationService;
|
|
924
|
+
private readonly tagService;
|
|
925
|
+
private readonly cdr;
|
|
926
|
+
private readonly confirmDialog;
|
|
927
|
+
user: User;
|
|
928
|
+
isEdit: boolean;
|
|
929
|
+
saveEvent: EventEmitter<boolean>;
|
|
930
|
+
modal: EditUserProfileModalComponent;
|
|
931
|
+
qualificationModal: EditQualificationsModalComponent;
|
|
932
|
+
skillsModal: EditSkillsModalComponent;
|
|
933
|
+
socialModal: EditSocialLinksComponent;
|
|
934
|
+
private readonly navigationSubscription;
|
|
935
|
+
allSkills: any[];
|
|
936
|
+
searchSkills: any[];
|
|
937
|
+
selectedSkills: Skill[];
|
|
938
|
+
objectKeys: {
|
|
939
|
+
(o: object): string[];
|
|
940
|
+
(o: {}): string[];
|
|
1203
941
|
};
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
(
|
|
1219
|
-
(
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
}
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
submitted: boolean;
|
|
1264
|
-
isLoaded: boolean;
|
|
1265
|
-
constructor(service: ProfileService, injector: Injector, cdr: ChangeDetectorRef, confirmDialog: ConfirmDialogService);
|
|
1266
|
-
ngOnInit(): void;
|
|
1267
|
-
onEditProject(item: any): void;
|
|
1268
|
-
editRecommendation(item: any): void;
|
|
1269
|
-
openSkills(project: any): void;
|
|
1270
|
-
getProjects(): void;
|
|
1271
|
-
onSkillsSave(): void;
|
|
1272
|
-
onSaveProject(_event: any): void;
|
|
1273
|
-
openPortfolios(id: number): void;
|
|
1274
|
-
onDeleteProject(project: any): void;
|
|
1275
|
-
trackByProject(_index: number, item: Project): number;
|
|
1276
|
-
deletePicture(project: any): void;
|
|
1277
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserProjectsComponent, never>;
|
|
1278
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UserProjectsComponent, "pw-user-projects", never, {
|
|
1279
|
-
"user": {
|
|
1280
|
-
"alias": "user";
|
|
1281
|
-
"required": false;
|
|
1282
|
-
};
|
|
1283
|
-
"isEdit": {
|
|
1284
|
-
"alias": "isEdit";
|
|
1285
|
-
"required": false;
|
|
1286
|
-
};
|
|
1287
|
-
"slug": {
|
|
1288
|
-
"alias": "slug";
|
|
1289
|
-
"required": false;
|
|
942
|
+
user_profile: AboutUserProfile;
|
|
943
|
+
qualifications: Qualification[];
|
|
944
|
+
userLinks: Record<string, string>;
|
|
945
|
+
noUserLinks: boolean;
|
|
946
|
+
loading: boolean;
|
|
947
|
+
constructor(profileService: ProfileService, qualificationService: QualificationService, tagService: TagService, injector: Injector, cdr: ChangeDetectorRef, confirmDialog: ConfirmDialogService);
|
|
948
|
+
ngOnInit(): void;
|
|
949
|
+
getUserDetails(): void;
|
|
950
|
+
/**
|
|
951
|
+
* Populate all the skills for the dropdown
|
|
952
|
+
*/
|
|
953
|
+
private getSkills;
|
|
954
|
+
onProfileOpen(): void;
|
|
955
|
+
openSkills(): void;
|
|
956
|
+
onProfileSaved(_event: any): void;
|
|
957
|
+
onOpenSocial(): void;
|
|
958
|
+
editQualification(item: any): void;
|
|
959
|
+
deleteQualification(item: any): void;
|
|
960
|
+
onSaveUserLinks(): void;
|
|
961
|
+
trackByQualification(_index: number, item: {
|
|
962
|
+
id: number;
|
|
963
|
+
}): number;
|
|
964
|
+
ngOnDestroy(): void;
|
|
965
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserAboutComponent, never>;
|
|
966
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserAboutComponent, "pw-user-about", never, { "user": { "alias": "user"; "required": false; }; "isEdit": { "alias": "isEdit"; "required": false; }; }, { "saveEvent": "saveEvent"; }, never, never, false, never>;
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
declare class PortfoliosComponent implements OnInit {
|
|
970
|
+
private readonly service;
|
|
971
|
+
private readonly modalService;
|
|
972
|
+
private readonly cdr;
|
|
973
|
+
user: User;
|
|
974
|
+
isEdit: boolean;
|
|
975
|
+
projectPictures: any[];
|
|
976
|
+
selectedPicURL: string;
|
|
977
|
+
isLoaded: boolean;
|
|
978
|
+
constructor(service: ProfileService, modalService: NgbModal, cdr: ChangeDetectorRef);
|
|
979
|
+
ngOnInit(): void;
|
|
980
|
+
private getProjectPictures;
|
|
981
|
+
deletePicture(id: any): void;
|
|
982
|
+
trackByImage(_index: number, item: {
|
|
983
|
+
id: number;
|
|
984
|
+
}): number;
|
|
985
|
+
showFullImage(picture: any, content: any, evt: any): void;
|
|
986
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PortfoliosComponent, never>;
|
|
987
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PortfoliosComponent, "pw-portfolios", never, { "user": { "alias": "user"; "required": false; }; "isEdit": { "alias": "isEdit"; "required": false; }; }, {}, never, never, false, never>;
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
declare class UserProfilePageComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
991
|
+
private readonly profileService;
|
|
992
|
+
private readonly modalService;
|
|
993
|
+
private readonly scriptLoader;
|
|
994
|
+
private readonly cdr;
|
|
995
|
+
private loggedInUserDetails;
|
|
996
|
+
user: User;
|
|
997
|
+
slug: string;
|
|
998
|
+
objectKeys: {
|
|
999
|
+
(o: object): string[];
|
|
1000
|
+
(o: {}): string[];
|
|
1290
1001
|
};
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1002
|
+
image: string;
|
|
1003
|
+
isFollowing: boolean;
|
|
1004
|
+
isLoaded: boolean;
|
|
1005
|
+
userProfile: UserProfile;
|
|
1006
|
+
items: MenuItem[];
|
|
1007
|
+
activeItem: MenuItem;
|
|
1008
|
+
/** Current tab value for p-tabs */
|
|
1009
|
+
activeTabValue: string;
|
|
1010
|
+
onTabChange(value: string): void;
|
|
1011
|
+
constructor(injector: Injector, profileService: ProfileService, modalService: NgbModal, scriptLoader: ScriptLoaderService, cdr: ChangeDetectorRef);
|
|
1012
|
+
get allowEdit(): boolean;
|
|
1013
|
+
ngOnInit(): void;
|
|
1014
|
+
handleImageError(event: Event, fallbackPath: any): void;
|
|
1015
|
+
private dataURLtoBlob;
|
|
1016
|
+
openModal(content: any): void;
|
|
1017
|
+
onImageSelection(event: any): void;
|
|
1018
|
+
getUserBySlug(): void;
|
|
1019
|
+
onClose(): void;
|
|
1020
|
+
private getCurrentUserDetails;
|
|
1021
|
+
sendMessageSlug(): void;
|
|
1022
|
+
followUser(): void;
|
|
1023
|
+
private waitForJQuery;
|
|
1024
|
+
private loadJQueryForUserProfile;
|
|
1025
|
+
ngOnDestroy(): void;
|
|
1026
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserProfilePageComponent, never>;
|
|
1027
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserProfilePageComponent, "pw-user-profile-page", never, {}, {}, never, never, false, never>;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
declare class UserProjectsComponent extends AppBaseComponent implements OnInit {
|
|
1031
|
+
private readonly service;
|
|
1032
|
+
private readonly cdr;
|
|
1033
|
+
private readonly confirmDialog;
|
|
1034
|
+
user: User;
|
|
1035
|
+
isEdit: boolean;
|
|
1036
|
+
slug: string;
|
|
1037
|
+
projectModal: EditProjectModalComponent;
|
|
1038
|
+
skillModal: EditSkillsModalComponent;
|
|
1039
|
+
recommendationModal: EditRecommendationModalComponent;
|
|
1040
|
+
portfolios: EditPortfoliosComponent;
|
|
1041
|
+
projects: Project[];
|
|
1042
|
+
submitted: boolean;
|
|
1043
|
+
isLoaded: boolean;
|
|
1044
|
+
constructor(service: ProfileService, injector: Injector, cdr: ChangeDetectorRef, confirmDialog: ConfirmDialogService);
|
|
1045
|
+
ngOnInit(): void;
|
|
1046
|
+
onEditProject(item: any): void;
|
|
1047
|
+
editRecommendation(item: any): void;
|
|
1048
|
+
openSkills(project: any): void;
|
|
1049
|
+
getProjects(): void;
|
|
1050
|
+
onSkillsSave(): void;
|
|
1051
|
+
onSaveProject(_event: any): void;
|
|
1052
|
+
openPortfolios(id: number): void;
|
|
1053
|
+
onDeleteProject(project: any): void;
|
|
1054
|
+
trackByProject(_index: number, item: Project): number;
|
|
1055
|
+
deletePicture(project: any): void;
|
|
1056
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserProjectsComponent, never>;
|
|
1057
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserProjectsComponent, "pw-user-projects", never, { "user": { "alias": "user"; "required": false; }; "isEdit": { "alias": "isEdit"; "required": false; }; "slug": { "alias": "slug"; "required": false; }; }, {}, never, never, false, never>;
|
|
1058
|
+
}
|
|
1059
|
+
|
|
1060
|
+
declare class SupportDetailsComponent extends AppBaseComponent implements AfterViewInit, OnInit {
|
|
1061
|
+
private readonly commonService;
|
|
1062
|
+
private readonly authService;
|
|
1063
|
+
private readonly renderer;
|
|
1064
|
+
private readonly el;
|
|
1065
|
+
private readonly cdr;
|
|
1066
|
+
form: UntypedFormGroup;
|
|
1067
|
+
uploadedFiles: any[];
|
|
1068
|
+
invalidFile: boolean;
|
|
1069
|
+
isSubmitClicked: boolean;
|
|
1070
|
+
siteKey: string;
|
|
1071
|
+
recaptcha: any;
|
|
1072
|
+
isLoading: boolean;
|
|
1073
|
+
filesUploaded: boolean;
|
|
1074
|
+
subscriptionId: any;
|
|
1075
|
+
constructor(injector: Injector, commonService: CommonService, authService: AuthService, renderer: Renderer2, el: ElementRef, cdr: ChangeDetectorRef);
|
|
1076
|
+
ngOnInit(): void;
|
|
1077
|
+
ngAfterViewInit(): void;
|
|
1078
|
+
onSave(): void;
|
|
1079
|
+
handleSuccess(token: string): void;
|
|
1080
|
+
onSelect(event?: any): void;
|
|
1081
|
+
onRemove(event: any): void;
|
|
1082
|
+
attachCloseButtonListener(): void;
|
|
1083
|
+
handleCloseButtonClick(): void;
|
|
1084
|
+
onUploadError(event: any): void;
|
|
1085
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SupportDetailsComponent, never>;
|
|
1086
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SupportDetailsComponent, "pw-support-details", never, {}, {}, never, never, false, never>;
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
declare class UserModuleModule {
|
|
1090
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserModuleModule, never>;
|
|
1091
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UserModuleModule, [typeof AccountComponent, typeof AccountDetailsComponent, typeof AddSubscriptionComponent, typeof SavedCardDetailsComponent, typeof SubscriptionCredentialComponent, typeof HumanizeCredentialNamePipe, typeof CredentialAvatarHuePipe, typeof SubscriptionNameByIdPipe, typeof ClearMaskedOnFocusDirective, typeof UpdatePaymentDetailsComponent, typeof UpgradeSubscriptionComponent, typeof UserSubscriptionDetailsComponent, typeof UserSubscriptionListComponent, typeof UserInvoiceComponent, typeof CommunicationTabComponent, typeof OthersTabComponent, typeof SecurityTabComponent, typeof SettingsComponent, typeof SupportComponent, typeof EditPortfoliosComponent, typeof EditProjectModalComponent, typeof EditQualificationsModalComponent, typeof EditRecommendationModalComponent, typeof EditSkillsModalComponent, typeof EditSocialLinksComponent, typeof EditUserProfileModalComponent, typeof UserAboutComponent, typeof PortfoliosComponent, typeof UserProfilePageComponent, typeof UserProjectsComponent, typeof SupportDetailsComponent], [typeof i30.InputTextModule, typeof i31.AppLoaderModule, typeof i32.DirectivesModule, typeof i33.CommonModule, typeof i34.RouterModule, typeof _angular_forms.ReactiveFormsModule, typeof i36.CoreTranslocoModule, typeof i37.NgxGpAutocompleteModule, typeof i38.SharedComponentsModule, typeof i39.PipesModule, typeof i40.UiSwitchModule, typeof i41.NgxCaptchaModule, typeof _angular_forms.FormsModule, typeof i42.DatePickerModule, typeof i43.MultiSelectModule, typeof i44.ProgressSpinnerModule, typeof i45.AccordionModule, typeof i46.FileUploadModule, typeof i47.SelectModule, typeof i48.RatingModule, typeof i49.SelectButtonModule, typeof i50.TooltipModule, typeof i51.NgbModalModule, typeof i51.NgbDatepickerModule], [typeof AccountComponent, typeof AccountDetailsComponent, typeof AddSubscriptionComponent, typeof SavedCardDetailsComponent, typeof SubscriptionCredentialComponent, typeof HumanizeCredentialNamePipe, typeof CredentialAvatarHuePipe, typeof SubscriptionNameByIdPipe, typeof ClearMaskedOnFocusDirective, typeof UpdatePaymentDetailsComponent, typeof UpgradeSubscriptionComponent, typeof UserSubscriptionDetailsComponent, typeof UserSubscriptionListComponent, typeof UserInvoiceComponent, typeof CommunicationTabComponent, typeof OthersTabComponent, typeof SecurityTabComponent, typeof SettingsComponent, typeof SupportComponent, typeof EditPortfoliosComponent, typeof EditProjectModalComponent, typeof EditQualificationsModalComponent, typeof EditRecommendationModalComponent, typeof EditSkillsModalComponent, typeof EditSocialLinksComponent, typeof EditUserProfileModalComponent, typeof UserAboutComponent, typeof PortfoliosComponent, typeof UserProfilePageComponent, typeof UserProjectsComponent, typeof SupportDetailsComponent]>;
|
|
1092
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<UserModuleModule>;
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
export { AccountComponent, AccountDetailsComponent, AddSubscriptionComponent, ClearMaskedOnFocusDirective, CommunicationTabComponent, CredentialAvatarHuePipe, EditPortfoliosComponent, EditProjectModalComponent, EditQualificationsModalComponent, EditRecommendationModalComponent, EditSkillsModalComponent, EditSocialLinksComponent, EditUserProfileModalComponent, HumanizeCredentialNamePipe, OthersTabComponent, PortfoliosComponent, SavedCardDetailsComponent, SecurityTabComponent, SettingsComponent, SubscriptionCredentialComponent, SubscriptionNameByIdPipe, SupportComponent, SupportDetailsComponent, UpdatePaymentDetailsComponent, UpgradeSubscriptionComponent, UserAboutComponent, UserInvoiceComponent, UserModuleModule, UserProfilePageComponent, UserProjectsComponent, UserSubscriptionDetailsComponent, UserSubscriptionListComponent };
|