@posiwise/user-module 0.0.174 → 0.0.175
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as i8$1 from "@angular/common";
|
|
2
2
|
import { CommonModule } from "@angular/common";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import { Component, Directive, EventEmitter, HostListener, Input, NgModule, Optional, Output, Pipe, Self, ViewChild } from "@angular/core";
|
|
@@ -6,13 +6,13 @@ import * as i1$1 from "@angular/forms";
|
|
|
6
6
|
import { FormsModule, ReactiveFormsModule, Validators } from "@angular/forms";
|
|
7
7
|
import * as i1$2 from "@angular/router";
|
|
8
8
|
import { RouterModule } from "@angular/router";
|
|
9
|
-
import * as
|
|
9
|
+
import * as i9 from "@angular-magic/ngx-gp-autocomplete";
|
|
10
10
|
import { NgxGpAutocompleteModule } from "@angular-magic/ngx-gp-autocomplete";
|
|
11
11
|
import { AppConfigService } from "@posiwise/app-config-service";
|
|
12
|
-
import * as
|
|
12
|
+
import * as i6$3 from "@posiwise/app-loader";
|
|
13
13
|
import { AppLoaderModule } from "@posiwise/app-loader";
|
|
14
14
|
import { CoreTranslocoModule } from "@posiwise/core-transloco";
|
|
15
|
-
import * as
|
|
15
|
+
import * as i7$1 from "@posiwise/directives";
|
|
16
16
|
import { DirectivesModule } from "@posiwise/directives";
|
|
17
17
|
import * as i6$2 from "@posiwise/pipes";
|
|
18
18
|
import { PipesModule } from "@posiwise/pipes";
|
|
@@ -31,15 +31,15 @@ import { FileUploadModule } from "primeng/fileupload";
|
|
|
31
31
|
import * as i1 from "primeng/inputtext";
|
|
32
32
|
import { InputTextModule } from "primeng/inputtext";
|
|
33
33
|
import { MultiSelectModule } from "primeng/multiselect";
|
|
34
|
-
import * as
|
|
34
|
+
import * as i12$1 from "primeng/progressspinner";
|
|
35
35
|
import { ProgressSpinnerModule } from "primeng/progressspinner";
|
|
36
36
|
import * as i6 from "primeng/rating";
|
|
37
37
|
import { RatingModule } from "primeng/rating";
|
|
38
|
-
import * as
|
|
38
|
+
import * as i11 from "primeng/select";
|
|
39
39
|
import { SelectModule } from "primeng/select";
|
|
40
40
|
import * as i8 from "primeng/selectbutton";
|
|
41
41
|
import { SelectButtonModule } from "primeng/selectbutton";
|
|
42
|
-
import * as
|
|
42
|
+
import * as i10 from "primeng/tooltip";
|
|
43
43
|
import { TooltipModule } from "primeng/tooltip";
|
|
44
44
|
import { Loader } from "@googlemaps/js-api-loader";
|
|
45
45
|
import * as i2$2 from "@ng-bootstrap/ng-bootstrap";
|
|
@@ -48,14 +48,15 @@ import { __decorate } from "tslib";
|
|
|
48
48
|
import { AppBaseComponent } from "@posiwise/app-base-component";
|
|
49
49
|
import { AppUser, POLL_TIMEOUT, PRODUCT_CATEGORY, Project, TAG_ENTITY, TAG_TYPE } from "@posiwise/common-utilities";
|
|
50
50
|
import { HelperService } from "@posiwise/helper-service";
|
|
51
|
-
import * as
|
|
51
|
+
import * as i13 from "@posiwise/utils";
|
|
52
52
|
import { ValidateForm, appendQueryParam, clearQueryParams } from "@posiwise/utils";
|
|
53
53
|
import { StatusCodes } from "http-status-codes";
|
|
54
54
|
import { firstValueFrom, forkJoin, from, interval, map } from "rxjs";
|
|
55
55
|
import { getDomain } from "tldts";
|
|
56
56
|
import * as i3 from "@posiwise/common-services";
|
|
57
57
|
import { FormHelperService, PermissionService, ValidationService, hasKnowledgeAlpha } from "@posiwise/common-services";
|
|
58
|
-
import * as
|
|
58
|
+
import * as i5$2 from "@posiwise/core-guards";
|
|
59
|
+
import * as i14 from "@jsverse/transloco";
|
|
59
60
|
import cloneDeep from "lodash/cloneDeep";
|
|
60
61
|
import sortBy from "lodash/sortBy";
|
|
61
62
|
import { distinct, mergeMap } from "rxjs/operators";
|
|
@@ -159,7 +160,7 @@ const MCP_ENV_SEGMENTS = [
|
|
|
159
160
|
];
|
|
160
161
|
const MCP_PROD_SEGMENT = "go";
|
|
161
162
|
var AccountDetailsComponent = class AccountDetailsComponent extends AppBaseComponent {
|
|
162
|
-
constructor(fb, modalService, authService, geoService, profileService, injector, cdr, confirmDialog) {
|
|
163
|
+
constructor(fb, modalService, authService, geoService, profileService, injector, cdr, confirmDialog, unsavedChanges) {
|
|
163
164
|
super(injector);
|
|
164
165
|
this.fb = fb;
|
|
165
166
|
this.modalService = modalService;
|
|
@@ -168,6 +169,7 @@ var AccountDetailsComponent = class AccountDetailsComponent extends AppBaseCompo
|
|
|
168
169
|
this.profileService = profileService;
|
|
169
170
|
this.cdr = cdr;
|
|
170
171
|
this.confirmDialog = confirmDialog;
|
|
172
|
+
this.unsavedChanges = unsavedChanges;
|
|
171
173
|
this.image = "assets/img/icons/male.png";
|
|
172
174
|
this.states = [];
|
|
173
175
|
this.passwordVerified = false;
|
|
@@ -184,6 +186,7 @@ var AccountDetailsComponent = class AccountDetailsComponent extends AppBaseCompo
|
|
|
184
186
|
this.updatingScope = false;
|
|
185
187
|
this.connections = [];
|
|
186
188
|
this.loadingConnections = false;
|
|
189
|
+
this.unregisterUnsaved = null;
|
|
187
190
|
this.getForms();
|
|
188
191
|
}
|
|
189
192
|
ngOnInit() {
|
|
@@ -197,6 +200,14 @@ var AccountDetailsComponent = class AccountDetailsComponent extends AppBaseCompo
|
|
|
197
200
|
}, ...countries]));
|
|
198
201
|
this.cdr.markForCheck();
|
|
199
202
|
});
|
|
203
|
+
this.unregisterUnsaved = this.unsavedChanges.watch(() => this.hasUnsavedChanges());
|
|
204
|
+
}
|
|
205
|
+
ngOnDestroy() {
|
|
206
|
+
this.unregisterUnsaved?.();
|
|
207
|
+
super.ngOnDestroy();
|
|
208
|
+
}
|
|
209
|
+
hasUnsavedChanges() {
|
|
210
|
+
return !!(this.emailForm?.dirty || this.passwordForm?.dirty || this.profileForm?.dirty);
|
|
200
211
|
}
|
|
201
212
|
handleAddressChange(_event) {
|
|
202
213
|
this.profileForm.patchValue({
|
|
@@ -303,6 +314,7 @@ var AccountDetailsComponent = class AccountDetailsComponent extends AppBaseCompo
|
|
|
303
314
|
if (val === "" || val === null) delete data[key];
|
|
304
315
|
});
|
|
305
316
|
this.profileService.updateUserProfile(data).subscribe(() => {
|
|
317
|
+
this.profileForm.markAsPristine();
|
|
306
318
|
this.toast.success(this.translation.translate("User.Profile.ProfileUpdated"));
|
|
307
319
|
this.cdr.markForCheck();
|
|
308
320
|
}).add(() => {
|
|
@@ -313,6 +325,7 @@ var AccountDetailsComponent = class AccountDetailsComponent extends AppBaseCompo
|
|
|
313
325
|
onAvatarSave() {
|
|
314
326
|
const data = { avatar: this.profileForm.get("avatar")?.value };
|
|
315
327
|
this.profileService.updateUserProfile(data).subscribe(() => {
|
|
328
|
+
this.profileForm.markAsPristine();
|
|
316
329
|
this.toast.success(this.translation.translate("User.Profile.ProfileUpdated"));
|
|
317
330
|
this.cdr.markForCheck();
|
|
318
331
|
});
|
|
@@ -525,7 +538,8 @@ var AccountDetailsComponent = class AccountDetailsComponent extends AppBaseCompo
|
|
|
525
538
|
{ token: i3.ProfileService },
|
|
526
539
|
{ token: i0.Injector },
|
|
527
540
|
{ token: i0.ChangeDetectorRef },
|
|
528
|
-
{ token: i2$3.ConfirmDialogService }
|
|
541
|
+
{ token: i2$3.ConfirmDialogService },
|
|
542
|
+
{ token: i5$2.UnsavedChangesService }
|
|
529
543
|
],
|
|
530
544
|
target: i0.ɵɵFactoryTarget.Component
|
|
531
545
|
});
|
|
@@ -555,7 +569,7 @@ var AccountDetailsComponent = class AccountDetailsComponent extends AppBaseCompo
|
|
|
555
569
|
dependencies: [
|
|
556
570
|
{
|
|
557
571
|
kind: "component",
|
|
558
|
-
type:
|
|
572
|
+
type: i6$3.AppLoaderComponent,
|
|
559
573
|
selector: "pw-loader",
|
|
560
574
|
inputs: [
|
|
561
575
|
"isVisible",
|
|
@@ -565,18 +579,18 @@ var AccountDetailsComponent = class AccountDetailsComponent extends AppBaseCompo
|
|
|
565
579
|
},
|
|
566
580
|
{
|
|
567
581
|
kind: "directive",
|
|
568
|
-
type:
|
|
582
|
+
type: i7$1.ButtonBusyDirective,
|
|
569
583
|
selector: "[buttonBusy]",
|
|
570
584
|
inputs: ["buttonBusy", "busyText"]
|
|
571
585
|
},
|
|
572
586
|
{
|
|
573
587
|
kind: "directive",
|
|
574
|
-
type:
|
|
588
|
+
type: i7$1.LazyImgDirective,
|
|
575
589
|
selector: "img"
|
|
576
590
|
},
|
|
577
591
|
{
|
|
578
592
|
kind: "directive",
|
|
579
|
-
type:
|
|
593
|
+
type: i8$1.NgClass,
|
|
580
594
|
selector: "[ngClass]",
|
|
581
595
|
inputs: ["class", "ngClass"]
|
|
582
596
|
},
|
|
@@ -621,7 +635,7 @@ var AccountDetailsComponent = class AccountDetailsComponent extends AppBaseCompo
|
|
|
621
635
|
},
|
|
622
636
|
{
|
|
623
637
|
kind: "directive",
|
|
624
|
-
type:
|
|
638
|
+
type: i9.NgxGpAutocompleteDirective,
|
|
625
639
|
selector: "[ngx-gp-autocomplete]",
|
|
626
640
|
inputs: ["options"],
|
|
627
641
|
outputs: ["onAddressChange"],
|
|
@@ -629,7 +643,7 @@ var AccountDetailsComponent = class AccountDetailsComponent extends AppBaseCompo
|
|
|
629
643
|
},
|
|
630
644
|
{
|
|
631
645
|
kind: "directive",
|
|
632
|
-
type:
|
|
646
|
+
type: i10.Tooltip,
|
|
633
647
|
selector: "[pTooltip]",
|
|
634
648
|
inputs: [
|
|
635
649
|
"tooltipPosition",
|
|
@@ -657,7 +671,7 @@ var AccountDetailsComponent = class AccountDetailsComponent extends AppBaseCompo
|
|
|
657
671
|
},
|
|
658
672
|
{
|
|
659
673
|
kind: "component",
|
|
660
|
-
type:
|
|
674
|
+
type: i11.Select,
|
|
661
675
|
selector: "p-select",
|
|
662
676
|
inputs: [
|
|
663
677
|
"id",
|
|
@@ -727,7 +741,7 @@ var AccountDetailsComponent = class AccountDetailsComponent extends AppBaseCompo
|
|
|
727
741
|
},
|
|
728
742
|
{
|
|
729
743
|
kind: "component",
|
|
730
|
-
type:
|
|
744
|
+
type: i12$1.ProgressSpinner,
|
|
731
745
|
selector: "p-progress-spinner, p-progressspinner",
|
|
732
746
|
inputs: [
|
|
733
747
|
"value",
|
|
@@ -754,7 +768,7 @@ var AccountDetailsComponent = class AccountDetailsComponent extends AppBaseCompo
|
|
|
754
768
|
},
|
|
755
769
|
{
|
|
756
770
|
kind: "component",
|
|
757
|
-
type:
|
|
771
|
+
type: i13.ProfileImageCropperComponent,
|
|
758
772
|
selector: "pw-image-cropper",
|
|
759
773
|
inputs: ["aspectRatio", "dynamicData"],
|
|
760
774
|
outputs: [
|
|
@@ -823,22 +837,22 @@ var AccountDetailsComponent = class AccountDetailsComponent extends AppBaseCompo
|
|
|
823
837
|
},
|
|
824
838
|
{
|
|
825
839
|
kind: "pipe",
|
|
826
|
-
type:
|
|
840
|
+
type: i8$1.AsyncPipe,
|
|
827
841
|
name: "async"
|
|
828
842
|
},
|
|
829
843
|
{
|
|
830
844
|
kind: "pipe",
|
|
831
|
-
type:
|
|
845
|
+
type: i8$1.DecimalPipe,
|
|
832
846
|
name: "number"
|
|
833
847
|
},
|
|
834
848
|
{
|
|
835
849
|
kind: "pipe",
|
|
836
|
-
type:
|
|
850
|
+
type: i8$1.DatePipe,
|
|
837
851
|
name: "date"
|
|
838
852
|
},
|
|
839
853
|
{
|
|
840
854
|
kind: "pipe",
|
|
841
|
-
type:
|
|
855
|
+
type: i14.TranslocoPipe,
|
|
842
856
|
name: "transloco"
|
|
843
857
|
}
|
|
844
858
|
]
|
|
@@ -868,7 +882,8 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
868
882
|
{ type: i3.ProfileService },
|
|
869
883
|
{ type: i0.Injector },
|
|
870
884
|
{ type: i0.ChangeDetectorRef },
|
|
871
|
-
{ type: i2$3.ConfirmDialogService }
|
|
885
|
+
{ type: i2$3.ConfirmDialogService },
|
|
886
|
+
{ type: i5$2.UnsavedChangesService }
|
|
872
887
|
],
|
|
873
888
|
propDecorators: {
|
|
874
889
|
placesRef: [{
|
|
@@ -998,12 +1013,12 @@ var AddSubscriptionComponent = class AddSubscriptionComponent extends AppBaseCom
|
|
|
998
1013
|
},
|
|
999
1014
|
{
|
|
1000
1015
|
kind: "pipe",
|
|
1001
|
-
type:
|
|
1016
|
+
type: i8$1.DecimalPipe,
|
|
1002
1017
|
name: "number"
|
|
1003
1018
|
},
|
|
1004
1019
|
{
|
|
1005
1020
|
kind: "pipe",
|
|
1006
|
-
type:
|
|
1021
|
+
type: i14.TranslocoPipe,
|
|
1007
1022
|
name: "transloco"
|
|
1008
1023
|
},
|
|
1009
1024
|
{
|
|
@@ -1286,11 +1301,13 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1286
1301
|
}]
|
|
1287
1302
|
});
|
|
1288
1303
|
var SubscriptionCredentialComponent = class SubscriptionCredentialComponent extends AppBaseComponent {
|
|
1289
|
-
constructor(fb, subscriptionService, injector, cdr) {
|
|
1304
|
+
constructor(fb, subscriptionService, injector, cdr, unsavedChanges) {
|
|
1290
1305
|
super(injector);
|
|
1291
1306
|
this.fb = fb;
|
|
1292
1307
|
this.subscriptionService = subscriptionService;
|
|
1293
1308
|
this.cdr = cdr;
|
|
1309
|
+
this.unsavedChanges = unsavedChanges;
|
|
1310
|
+
this.unregisterUnsaved = null;
|
|
1294
1311
|
this.data = [];
|
|
1295
1312
|
this.availableCredentials = [];
|
|
1296
1313
|
this.uniqueCredential = [];
|
|
@@ -1308,6 +1325,10 @@ var SubscriptionCredentialComponent = class SubscriptionCredentialComponent exte
|
|
|
1308
1325
|
if (this.subscriptionId) this.getAllCredentials();
|
|
1309
1326
|
this.cdr.markForCheck();
|
|
1310
1327
|
});
|
|
1328
|
+
this.unregisterUnsaved = this.unsavedChanges.watch(() => this.hasUnsavedChanges());
|
|
1329
|
+
}
|
|
1330
|
+
hasUnsavedChanges() {
|
|
1331
|
+
return !!this.form?.dirty;
|
|
1311
1332
|
}
|
|
1312
1333
|
get credentialsGroup() {
|
|
1313
1334
|
return this.form.get("credentials");
|
|
@@ -1384,8 +1405,10 @@ var SubscriptionCredentialComponent = class SubscriptionCredentialComponent exte
|
|
|
1384
1405
|
}
|
|
1385
1406
|
});
|
|
1386
1407
|
forkJoin(subscription$).subscribe((response) => {
|
|
1387
|
-
if (response?.length)
|
|
1388
|
-
|
|
1408
|
+
if (response?.length) {
|
|
1409
|
+
this.form.markAsPristine();
|
|
1410
|
+
this.toast.success(this.translation.translate("User.Subscriptions.SubscriptionCredentials.UpdateMessage"));
|
|
1411
|
+
} else this.toast.error(`Something went wrong while saving credentials`);
|
|
1389
1412
|
this.cdr.markForCheck();
|
|
1390
1413
|
}).add(() => {
|
|
1391
1414
|
this.submitted = false;
|
|
@@ -1435,6 +1458,7 @@ var SubscriptionCredentialComponent = class SubscriptionCredentialComponent exte
|
|
|
1435
1458
|
this.showForm = true;
|
|
1436
1459
|
}
|
|
1437
1460
|
ngOnDestroy() {
|
|
1461
|
+
this.unregisterUnsaved?.();
|
|
1438
1462
|
super.ngOnDestroy();
|
|
1439
1463
|
}
|
|
1440
1464
|
static {
|
|
@@ -1447,7 +1471,8 @@ var SubscriptionCredentialComponent = class SubscriptionCredentialComponent exte
|
|
|
1447
1471
|
{ token: i1$1.UntypedFormBuilder },
|
|
1448
1472
|
{ token: i3.SubscriptionService },
|
|
1449
1473
|
{ token: i0.Injector },
|
|
1450
|
-
{ token: i0.ChangeDetectorRef }
|
|
1474
|
+
{ token: i0.ChangeDetectorRef },
|
|
1475
|
+
{ token: i5$2.UnsavedChangesService }
|
|
1451
1476
|
],
|
|
1452
1477
|
target: i0.ɵɵFactoryTarget.Component
|
|
1453
1478
|
});
|
|
@@ -1486,7 +1511,7 @@ var SubscriptionCredentialComponent = class SubscriptionCredentialComponent exte
|
|
|
1486
1511
|
dependencies: [
|
|
1487
1512
|
{
|
|
1488
1513
|
kind: "component",
|
|
1489
|
-
type:
|
|
1514
|
+
type: i6$3.AppLoaderComponent,
|
|
1490
1515
|
selector: "pw-loader",
|
|
1491
1516
|
inputs: [
|
|
1492
1517
|
"isVisible",
|
|
@@ -1496,13 +1521,13 @@ var SubscriptionCredentialComponent = class SubscriptionCredentialComponent exte
|
|
|
1496
1521
|
},
|
|
1497
1522
|
{
|
|
1498
1523
|
kind: "directive",
|
|
1499
|
-
type:
|
|
1524
|
+
type: i7$1.ButtonBusyDirective,
|
|
1500
1525
|
selector: "[buttonBusy]",
|
|
1501
1526
|
inputs: ["buttonBusy", "busyText"]
|
|
1502
1527
|
},
|
|
1503
1528
|
{
|
|
1504
1529
|
kind: "directive",
|
|
1505
|
-
type:
|
|
1530
|
+
type: i8$1.NgClass,
|
|
1506
1531
|
selector: "[ngClass]",
|
|
1507
1532
|
inputs: ["class", "ngClass"]
|
|
1508
1533
|
},
|
|
@@ -1566,7 +1591,7 @@ var SubscriptionCredentialComponent = class SubscriptionCredentialComponent exte
|
|
|
1566
1591
|
},
|
|
1567
1592
|
{
|
|
1568
1593
|
kind: "component",
|
|
1569
|
-
type:
|
|
1594
|
+
type: i11.Select,
|
|
1570
1595
|
selector: "p-select",
|
|
1571
1596
|
inputs: [
|
|
1572
1597
|
"id",
|
|
@@ -1674,12 +1699,12 @@ var SubscriptionCredentialComponent = class SubscriptionCredentialComponent exte
|
|
|
1674
1699
|
},
|
|
1675
1700
|
{
|
|
1676
1701
|
kind: "pipe",
|
|
1677
|
-
type:
|
|
1702
|
+
type: i8$1.AsyncPipe,
|
|
1678
1703
|
name: "async"
|
|
1679
1704
|
},
|
|
1680
1705
|
{
|
|
1681
1706
|
kind: "pipe",
|
|
1682
|
-
type:
|
|
1707
|
+
type: i14.TranslocoPipe,
|
|
1683
1708
|
name: "transloco"
|
|
1684
1709
|
},
|
|
1685
1710
|
{
|
|
@@ -1719,7 +1744,8 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1719
1744
|
{ type: i1$1.UntypedFormBuilder },
|
|
1720
1745
|
{ type: i3.SubscriptionService },
|
|
1721
1746
|
{ type: i0.Injector },
|
|
1722
|
-
{ type: i0.ChangeDetectorRef }
|
|
1747
|
+
{ type: i0.ChangeDetectorRef },
|
|
1748
|
+
{ type: i5$2.UnsavedChangesService }
|
|
1723
1749
|
],
|
|
1724
1750
|
propDecorators: {
|
|
1725
1751
|
passwordValidationModalForRevealCredential: [{
|
|
@@ -1935,7 +1961,7 @@ var SecondaryPaymentMethodComponent = class SecondaryPaymentMethodComponent {
|
|
|
1935
1961
|
{ token: i3.SubscriptionService },
|
|
1936
1962
|
{ token: i3.UserService },
|
|
1937
1963
|
{ token: i3.CustomToastService },
|
|
1938
|
-
{ token:
|
|
1964
|
+
{ token: i14.TranslocoService },
|
|
1939
1965
|
{ token: i0.ChangeDetectorRef }
|
|
1940
1966
|
],
|
|
1941
1967
|
target: i0.ɵɵFactoryTarget.Component
|
|
@@ -1967,13 +1993,13 @@ var SecondaryPaymentMethodComponent = class SecondaryPaymentMethodComponent {
|
|
|
1967
1993
|
dependencies: [
|
|
1968
1994
|
{
|
|
1969
1995
|
kind: "directive",
|
|
1970
|
-
type:
|
|
1996
|
+
type: i7$1.ButtonBusyDirective,
|
|
1971
1997
|
selector: "[buttonBusy]",
|
|
1972
1998
|
inputs: ["buttonBusy", "busyText"]
|
|
1973
1999
|
},
|
|
1974
2000
|
{
|
|
1975
2001
|
kind: "directive",
|
|
1976
|
-
type:
|
|
2002
|
+
type: i10.Tooltip,
|
|
1977
2003
|
selector: "[pTooltip]",
|
|
1978
2004
|
inputs: [
|
|
1979
2005
|
"tooltipPosition",
|
|
@@ -2001,7 +2027,7 @@ var SecondaryPaymentMethodComponent = class SecondaryPaymentMethodComponent {
|
|
|
2001
2027
|
},
|
|
2002
2028
|
{
|
|
2003
2029
|
kind: "component",
|
|
2004
|
-
type:
|
|
2030
|
+
type: i12$1.ProgressSpinner,
|
|
2005
2031
|
selector: "p-progress-spinner, p-progressspinner",
|
|
2006
2032
|
inputs: [
|
|
2007
2033
|
"value",
|
|
@@ -2026,7 +2052,7 @@ var SecondaryPaymentMethodComponent = class SecondaryPaymentMethodComponent {
|
|
|
2026
2052
|
},
|
|
2027
2053
|
{
|
|
2028
2054
|
kind: "pipe",
|
|
2029
|
-
type:
|
|
2055
|
+
type: i14.TranslocoPipe,
|
|
2030
2056
|
name: "transloco"
|
|
2031
2057
|
}
|
|
2032
2058
|
]
|
|
@@ -2051,7 +2077,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2051
2077
|
{ type: i3.SubscriptionService },
|
|
2052
2078
|
{ type: i3.UserService },
|
|
2053
2079
|
{ type: i3.CustomToastService },
|
|
2054
|
-
{ type:
|
|
2080
|
+
{ type: i14.TranslocoService },
|
|
2055
2081
|
{ type: i0.ChangeDetectorRef }
|
|
2056
2082
|
],
|
|
2057
2083
|
propDecorators: {
|
|
@@ -2184,13 +2210,13 @@ var UpdatePaymentDetailsComponent = class UpdatePaymentDetailsComponent extends
|
|
|
2184
2210
|
dependencies: [
|
|
2185
2211
|
{
|
|
2186
2212
|
kind: "directive",
|
|
2187
|
-
type:
|
|
2213
|
+
type: i7$1.ButtonBusyDirective,
|
|
2188
2214
|
selector: "[buttonBusy]",
|
|
2189
2215
|
inputs: ["buttonBusy", "busyText"]
|
|
2190
2216
|
},
|
|
2191
2217
|
{
|
|
2192
2218
|
kind: "directive",
|
|
2193
|
-
type:
|
|
2219
|
+
type: i7$1.LazyImgDirective,
|
|
2194
2220
|
selector: "img"
|
|
2195
2221
|
},
|
|
2196
2222
|
{
|
|
@@ -2234,7 +2260,7 @@ var UpdatePaymentDetailsComponent = class UpdatePaymentDetailsComponent extends
|
|
|
2234
2260
|
},
|
|
2235
2261
|
{
|
|
2236
2262
|
kind: "component",
|
|
2237
|
-
type:
|
|
2263
|
+
type: i11.Select,
|
|
2238
2264
|
selector: "p-select",
|
|
2239
2265
|
inputs: [
|
|
2240
2266
|
"id",
|
|
@@ -2304,7 +2330,7 @@ var UpdatePaymentDetailsComponent = class UpdatePaymentDetailsComponent extends
|
|
|
2304
2330
|
},
|
|
2305
2331
|
{
|
|
2306
2332
|
kind: "component",
|
|
2307
|
-
type:
|
|
2333
|
+
type: i12$1.ProgressSpinner,
|
|
2308
2334
|
selector: "p-progress-spinner, p-progressspinner",
|
|
2309
2335
|
inputs: [
|
|
2310
2336
|
"value",
|
|
@@ -2341,7 +2367,7 @@ var UpdatePaymentDetailsComponent = class UpdatePaymentDetailsComponent extends
|
|
|
2341
2367
|
},
|
|
2342
2368
|
{
|
|
2343
2369
|
kind: "pipe",
|
|
2344
|
-
type:
|
|
2370
|
+
type: i14.TranslocoPipe,
|
|
2345
2371
|
name: "transloco"
|
|
2346
2372
|
}
|
|
2347
2373
|
]
|
|
@@ -2642,13 +2668,13 @@ var UpgradeSubscriptionComponent = class UpgradeSubscriptionComponent extends Ap
|
|
|
2642
2668
|
dependencies: [
|
|
2643
2669
|
{
|
|
2644
2670
|
kind: "directive",
|
|
2645
|
-
type:
|
|
2671
|
+
type: i7$1.ButtonBusyDirective,
|
|
2646
2672
|
selector: "[buttonBusy]",
|
|
2647
2673
|
inputs: ["buttonBusy", "busyText"]
|
|
2648
2674
|
},
|
|
2649
2675
|
{
|
|
2650
2676
|
kind: "directive",
|
|
2651
|
-
type:
|
|
2677
|
+
type: i7$1.LazyImgDirective,
|
|
2652
2678
|
selector: "img"
|
|
2653
2679
|
},
|
|
2654
2680
|
{
|
|
@@ -2718,7 +2744,7 @@ var UpgradeSubscriptionComponent = class UpgradeSubscriptionComponent extends Ap
|
|
|
2718
2744
|
},
|
|
2719
2745
|
{
|
|
2720
2746
|
kind: "component",
|
|
2721
|
-
type:
|
|
2747
|
+
type: i11.Select,
|
|
2722
2748
|
selector: "p-select",
|
|
2723
2749
|
inputs: [
|
|
2724
2750
|
"id",
|
|
@@ -2837,12 +2863,12 @@ var UpgradeSubscriptionComponent = class UpgradeSubscriptionComponent extends Ap
|
|
|
2837
2863
|
},
|
|
2838
2864
|
{
|
|
2839
2865
|
kind: "pipe",
|
|
2840
|
-
type:
|
|
2866
|
+
type: i8$1.DecimalPipe,
|
|
2841
2867
|
name: "number"
|
|
2842
2868
|
},
|
|
2843
2869
|
{
|
|
2844
2870
|
kind: "pipe",
|
|
2845
|
-
type:
|
|
2871
|
+
type: i14.TranslocoPipe,
|
|
2846
2872
|
name: "transloco"
|
|
2847
2873
|
}
|
|
2848
2874
|
]
|
|
@@ -3132,24 +3158,24 @@ var UserSubscriptionDetailsComponent = class UserSubscriptionDetailsComponent ex
|
|
|
3132
3158
|
dependencies: [
|
|
3133
3159
|
{
|
|
3134
3160
|
kind: "directive",
|
|
3135
|
-
type:
|
|
3161
|
+
type: i7$1.ButtonBusyDirective,
|
|
3136
3162
|
selector: "[buttonBusy]",
|
|
3137
3163
|
inputs: ["buttonBusy", "busyText"]
|
|
3138
3164
|
},
|
|
3139
3165
|
{
|
|
3140
3166
|
kind: "directive",
|
|
3141
|
-
type:
|
|
3167
|
+
type: i7$1.LazyImgDirective,
|
|
3142
3168
|
selector: "img"
|
|
3143
3169
|
},
|
|
3144
3170
|
{
|
|
3145
3171
|
kind: "directive",
|
|
3146
|
-
type:
|
|
3172
|
+
type: i7$1.RbacAllowDirective,
|
|
3147
3173
|
selector: "[rbacAllow]",
|
|
3148
3174
|
inputs: ["rbacAllow"]
|
|
3149
3175
|
},
|
|
3150
3176
|
{
|
|
3151
3177
|
kind: "directive",
|
|
3152
|
-
type:
|
|
3178
|
+
type: i8$1.NgClass,
|
|
3153
3179
|
selector: "[ngClass]",
|
|
3154
3180
|
inputs: ["class", "ngClass"]
|
|
3155
3181
|
},
|
|
@@ -3213,7 +3239,7 @@ var UserSubscriptionDetailsComponent = class UserSubscriptionDetailsComponent ex
|
|
|
3213
3239
|
},
|
|
3214
3240
|
{
|
|
3215
3241
|
kind: "directive",
|
|
3216
|
-
type:
|
|
3242
|
+
type: i9.NgxGpAutocompleteDirective,
|
|
3217
3243
|
selector: "[ngx-gp-autocomplete]",
|
|
3218
3244
|
inputs: ["options"],
|
|
3219
3245
|
outputs: ["onAddressChange"],
|
|
@@ -3228,7 +3254,7 @@ var UserSubscriptionDetailsComponent = class UserSubscriptionDetailsComponent ex
|
|
|
3228
3254
|
},
|
|
3229
3255
|
{
|
|
3230
3256
|
kind: "directive",
|
|
3231
|
-
type:
|
|
3257
|
+
type: i10.Tooltip,
|
|
3232
3258
|
selector: "[pTooltip]",
|
|
3233
3259
|
inputs: [
|
|
3234
3260
|
"tooltipPosition",
|
|
@@ -3256,7 +3282,7 @@ var UserSubscriptionDetailsComponent = class UserSubscriptionDetailsComponent ex
|
|
|
3256
3282
|
},
|
|
3257
3283
|
{
|
|
3258
3284
|
kind: "component",
|
|
3259
|
-
type:
|
|
3285
|
+
type: i11.Select,
|
|
3260
3286
|
selector: "p-select",
|
|
3261
3287
|
inputs: [
|
|
3262
3288
|
"id",
|
|
@@ -3392,7 +3418,7 @@ var UserSubscriptionDetailsComponent = class UserSubscriptionDetailsComponent ex
|
|
|
3392
3418
|
},
|
|
3393
3419
|
{
|
|
3394
3420
|
kind: "component",
|
|
3395
|
-
type:
|
|
3421
|
+
type: i13.ProfileImageCropperComponent,
|
|
3396
3422
|
selector: "pw-image-cropper",
|
|
3397
3423
|
inputs: ["aspectRatio", "dynamicData"],
|
|
3398
3424
|
outputs: [
|
|
@@ -3426,22 +3452,22 @@ var UserSubscriptionDetailsComponent = class UserSubscriptionDetailsComponent ex
|
|
|
3426
3452
|
},
|
|
3427
3453
|
{
|
|
3428
3454
|
kind: "pipe",
|
|
3429
|
-
type:
|
|
3455
|
+
type: i8$1.AsyncPipe,
|
|
3430
3456
|
name: "async"
|
|
3431
3457
|
},
|
|
3432
3458
|
{
|
|
3433
3459
|
kind: "pipe",
|
|
3434
|
-
type:
|
|
3460
|
+
type: i8$1.DecimalPipe,
|
|
3435
3461
|
name: "number"
|
|
3436
3462
|
},
|
|
3437
3463
|
{
|
|
3438
3464
|
kind: "pipe",
|
|
3439
|
-
type:
|
|
3465
|
+
type: i8$1.CurrencyPipe,
|
|
3440
3466
|
name: "currency"
|
|
3441
3467
|
},
|
|
3442
3468
|
{
|
|
3443
3469
|
kind: "pipe",
|
|
3444
|
-
type:
|
|
3470
|
+
type: i14.TranslocoPipe,
|
|
3445
3471
|
name: "transloco"
|
|
3446
3472
|
},
|
|
3447
3473
|
{
|
|
@@ -3739,13 +3765,13 @@ var UserSubscriptionListComponent = class UserSubscriptionListComponent extends
|
|
|
3739
3765
|
dependencies: [
|
|
3740
3766
|
{
|
|
3741
3767
|
kind: "directive",
|
|
3742
|
-
type:
|
|
3768
|
+
type: i7$1.RbacAllowDirective,
|
|
3743
3769
|
selector: "[rbacAllow]",
|
|
3744
3770
|
inputs: ["rbacAllow"]
|
|
3745
3771
|
},
|
|
3746
3772
|
{
|
|
3747
3773
|
kind: "directive",
|
|
3748
|
-
type:
|
|
3774
|
+
type: i8$1.NgClass,
|
|
3749
3775
|
selector: "[ngClass]",
|
|
3750
3776
|
inputs: ["class", "ngClass"]
|
|
3751
3777
|
},
|
|
@@ -3800,7 +3826,7 @@ var UserSubscriptionListComponent = class UserSubscriptionListComponent extends
|
|
|
3800
3826
|
},
|
|
3801
3827
|
{
|
|
3802
3828
|
kind: "directive",
|
|
3803
|
-
type:
|
|
3829
|
+
type: i10.Tooltip,
|
|
3804
3830
|
selector: "[pTooltip]",
|
|
3805
3831
|
inputs: [
|
|
3806
3832
|
"tooltipPosition",
|
|
@@ -3828,7 +3854,7 @@ var UserSubscriptionListComponent = class UserSubscriptionListComponent extends
|
|
|
3828
3854
|
},
|
|
3829
3855
|
{
|
|
3830
3856
|
kind: "component",
|
|
3831
|
-
type:
|
|
3857
|
+
type: i12$1.ProgressSpinner,
|
|
3832
3858
|
selector: "p-progress-spinner, p-progressspinner",
|
|
3833
3859
|
inputs: [
|
|
3834
3860
|
"value",
|
|
@@ -3871,17 +3897,17 @@ var UserSubscriptionListComponent = class UserSubscriptionListComponent extends
|
|
|
3871
3897
|
},
|
|
3872
3898
|
{
|
|
3873
3899
|
kind: "pipe",
|
|
3874
|
-
type:
|
|
3900
|
+
type: i8$1.UpperCasePipe,
|
|
3875
3901
|
name: "uppercase"
|
|
3876
3902
|
},
|
|
3877
3903
|
{
|
|
3878
3904
|
kind: "pipe",
|
|
3879
|
-
type:
|
|
3905
|
+
type: i8$1.DecimalPipe,
|
|
3880
3906
|
name: "number"
|
|
3881
3907
|
},
|
|
3882
3908
|
{
|
|
3883
3909
|
kind: "pipe",
|
|
3884
|
-
type:
|
|
3910
|
+
type: i14.TranslocoPipe,
|
|
3885
3911
|
name: "transloco"
|
|
3886
3912
|
},
|
|
3887
3913
|
{
|
|
@@ -3955,7 +3981,6 @@ var UserInvoiceComponent = class UserInvoiceComponent extends AppBaseComponent {
|
|
|
3955
3981
|
this.intervalTimer = interval(POLL_TIMEOUT * 60 * 1e3);
|
|
3956
3982
|
this.isLoaded = false;
|
|
3957
3983
|
this.page = 0;
|
|
3958
|
-
this.totalRecords = 0;
|
|
3959
3984
|
this.invoiceFrequency = [
|
|
3960
3985
|
"week",
|
|
3961
3986
|
"month",
|
|
@@ -4019,7 +4044,7 @@ var UserInvoiceComponent = class UserInvoiceComponent extends AppBaseComponent {
|
|
|
4019
4044
|
selector: "pw-user-invoice",
|
|
4020
4045
|
usesInheritance: true,
|
|
4021
4046
|
ngImport: i0,
|
|
4022
|
-
template: "<div class=\"row\" [class.custom-disable-wrapper]=\"buttonBusy\">\n <div class=\"col-12 d-flex flex-wrap justify-content-between align-items-center\">\n <h2 class=\"card-title p-0 float-start\">Your Invoices</h2>\n </div>\n</div>\n\n@if (!isLoaded) {\n <div class=\"w-100 text-center mt-3\">\n <p-progress-spinner strokeWidth=\"2\"></p-progress-spinner>\n </div>\n}\n<div class=\"row primeng-datatable-container actions-collapsed mt-0\" [class.custom-disable-wrapper]=\"buttonBusy\" [class.hideTable]=\"totalRecordsUnFiltered === 0\">\n <div class=\"col-12 px-0\">\n <p-table #tt\n [value]=\"invoices\"\n [paginator]=\"totalRecords !== 0\"\n [rows]=\"PAGE_SIZE\"\n [lazy]=\"true\"\n [totalRecords]=\"totalRecords\"\n (onLazyLoad)=\"onLazyLoad($event)\"\n >\n <ng-template #caption>\n <div class=\"search-filter justify-content-end\">\n <div class=\"text-end\">\n <label for=\"user-invoice-search\" class=\"visually-hidden\">Search Invoices</label>\n <p-iconfield iconPosition=\"left\">\n <p-inputicon><i class=\"fa fa-search\" aria-hidden=\"true\"></i></p-inputicon>\n <input id=\"user-invoice-search\"\n name=\"user-invoice-search\"\n [(ngModel)]=\"searchText\"\n (input)=\"tt.filterGlobal($event.target.value, 'contains')\"\n type=\"text\"\n pInputText\n placeholder=\"Search invoices...\"\n data-cy=\"incident-search\"\n aria-label=\"Search invoices...\" />\n </p-iconfield>\n </div>\n </div>\n </ng-template>\n\n <ng-template #header>\n <tr>\n <th scope=\"col\" pSortableColumn=\"date\">Invoice Date <p-sort-icon field=\"date\"></p-sort-icon></th>\n <th scope=\"col\" pSortableColumn=\"frequency\">Frequency <p-sort-icon field=\"frequency\"></p-sort-icon></th>\n <th scope=\"col\" pSortableColumn=\"seatsPurchased\">Seats Purchased <p-sort-icon field=\"seatsPurchased\"></p-sort-icon></th>\n <th scope=\"col\" pSortableColumn=\"subtotal\">Subtotal <p-sort-icon field=\"subtotal\"></p-sort-icon></th>\n <th scope=\"col\" pSortableColumn=\"total\">Total (incl. tax) <p-sort-icon field=\"total\"></p-sort-icon></th>\n <th scope=\"col\">Action</th>\n </tr>\n </ng-template>\n\n <ng-template #body let-invoice>\n <tr>\n <td>{{ invoice.date | date:'dd-MMM-yyyy' }}</td>\n <td>\n <span class=\"badge\"\n [appDynamicBadge]=\"{\n itemsArray: invoiceFrequency,\n item: invoice.product.billing_frequency\n }\"\n color=\"blue-grey\">{{ invoice.product.billing_frequency }}</span>\n </td>\n <td>{{ invoice?.subscription_product?.purchased_units }}</td>\n <td>{{ (invoice.subtotal_in_cents / 100) | currency:invoice?.product?.currency }}</td>\n <td class=\"td-total\">{{ (invoice.total_in_cents / 100) | currency:invoice?.product?.currency }}</td>\n <td>\n @if (invoice?.file?.url) {\n <a class=\"btn btn-sm btn-primary\" [attr.href]=\"invoice.file.url\" target=\"_blank\" title=\"Download\">\n <i class=\"fa fa-download\"> Download</i>\n </a>\n } @else {\n <a class=\"btn btn-sm btn-primary\" [attr.href]=\"invoice?.stripe_invoice_pdf\" target=\"_blank\" title=\"Download\">\n <i class=\"fa fa-download\"> Download</i>\n </a>\n }\n </td>\n </tr>\n </ng-template>\n </p-table>\n @if (totalRecords === 0 && totalRecordsUnFiltered !== 0) {\n <div>\n <pw-no-data [withImage]=\"true\" [message]=\"'Search.NoDataMessage' | transloco\" [description]=\"'Search.NoDataDescription' | transloco\" >\n </pw-no-data>\n </div>\n }\n\n @if (totalRecords !== 0) {\n <pw-records-summary [showing]=\"tt?.value?.length ?? 0\" [total]=\"totalRecords\" />\n }\n\n </div>\n</div>\n@if (totalRecordsUnFiltered === 0 && isLoaded) {\n <pw-no-data [withImage]=\"true\" message=\"You don't have any invoice yet.\">\n </pw-no-data>\n}\n\n",
|
|
4047
|
+
template: "<div class=\"row\" [class.custom-disable-wrapper]=\"buttonBusy\">\n <div class=\"col-12 d-flex flex-wrap justify-content-between align-items-center\">\n <h2 class=\"card-title p-0 float-start\">Your Invoices</h2>\n </div>\n</div>\n\n@if (!isLoaded) {\n <div class=\"w-100 text-center mt-3\">\n <p-progress-spinner strokeWidth=\"2\"></p-progress-spinner>\n </div>\n}\n<div class=\"row primeng-datatable-container actions-collapsed mt-0\" [class.custom-disable-wrapper]=\"buttonBusy\" [class.hideTable]=\"totalRecordsUnFiltered === 0\">\n <div class=\"col-12 px-0\">\n <p-table #tt\n [value]=\"invoices\"\n [paginator]=\"totalRecords !== 0\"\n [rows]=\"PAGE_SIZE\"\n [lazy]=\"true\"\n [totalRecords]=\"totalRecords\"\n (onLazyLoad)=\"onLazyLoad($event)\"\n stateKey=\"pw-table.user-invoice\"\n stateStorage=\"session\"\n [resizableColumns]=\"true\"\n columnResizeMode=\"expand\"\n >\n <ng-template #caption>\n <div class=\"search-filter justify-content-end\">\n <div class=\"text-end\">\n <label for=\"user-invoice-search\" class=\"visually-hidden\">Search Invoices</label>\n <p-iconfield iconPosition=\"left\">\n <p-inputicon><i class=\"fa fa-search\" aria-hidden=\"true\"></i></p-inputicon>\n <input id=\"user-invoice-search\"\n name=\"user-invoice-search\"\n [(ngModel)]=\"searchText\"\n (input)=\"tt.filterGlobal($event.target.value, 'contains')\"\n type=\"text\"\n pInputText\n placeholder=\"Search invoices...\"\n data-cy=\"incident-search\"\n aria-label=\"Search invoices...\" />\n </p-iconfield>\n </div>\n </div>\n </ng-template>\n\n <ng-template #header>\n <tr>\n <th pResizableColumn scope=\"col\" pSortableColumn=\"date\">Invoice Date <p-sort-icon field=\"date\"></p-sort-icon></th>\n <th pResizableColumn scope=\"col\" pSortableColumn=\"frequency\">Frequency <p-sort-icon field=\"frequency\"></p-sort-icon></th>\n <th pResizableColumn scope=\"col\" pSortableColumn=\"seatsPurchased\">Seats Purchased <p-sort-icon field=\"seatsPurchased\"></p-sort-icon></th>\n <th pResizableColumn scope=\"col\" pSortableColumn=\"subtotal\">Subtotal <p-sort-icon field=\"subtotal\"></p-sort-icon></th>\n <th pResizableColumn scope=\"col\" pSortableColumn=\"total\">Total (incl. tax) <p-sort-icon field=\"total\"></p-sort-icon></th>\n <th pResizableColumn scope=\"col\">Action</th>\n </tr>\n </ng-template>\n\n <ng-template #body let-invoice>\n <tr>\n <td>{{ invoice.date | date:'dd-MMM-yyyy' }}</td>\n <td>\n <span class=\"badge\"\n [appDynamicBadge]=\"{\n itemsArray: invoiceFrequency,\n item: invoice.product.billing_frequency\n }\"\n color=\"blue-grey\">{{ invoice.product.billing_frequency }}</span>\n </td>\n <td>{{ invoice?.subscription_product?.purchased_units }}</td>\n <td>{{ (invoice.subtotal_in_cents / 100) | currency:invoice?.product?.currency }}</td>\n <td class=\"td-total\">{{ (invoice.total_in_cents / 100) | currency:invoice?.product?.currency }}</td>\n <td>\n @if (invoice?.file?.url) {\n <a class=\"btn btn-sm btn-primary\" [attr.href]=\"invoice.file.url\" target=\"_blank\" title=\"Download\">\n <i class=\"fa fa-download\"> Download</i>\n </a>\n } @else {\n <a class=\"btn btn-sm btn-primary\" [attr.href]=\"invoice?.stripe_invoice_pdf\" target=\"_blank\" title=\"Download\">\n <i class=\"fa fa-download\"> Download</i>\n </a>\n }\n </td>\n </tr>\n </ng-template>\n </p-table>\n @if (totalRecords === 0 && totalRecordsUnFiltered !== 0) {\n <div>\n <pw-no-data [withImage]=\"true\" [message]=\"'Search.NoDataMessage' | transloco\" [description]=\"'Search.NoDataDescription' | transloco\" >\n </pw-no-data>\n </div>\n }\n\n @if (totalRecords !== 0) {\n <pw-records-summary [showing]=\"tt?.value?.length ?? 0\" [total]=\"totalRecords\" />\n }\n\n </div>\n</div>\n@if (totalRecordsUnFiltered === 0 && isLoaded) {\n <pw-no-data [withImage]=\"true\" message=\"You don't have any invoice yet.\">\n </pw-no-data>\n}\n\n",
|
|
4023
4048
|
styles: [".page-heading{background:#fcfcfc;border-bottom:1px solid rgba(0,0,0,.1);position:relative;width:100%}.page-heading:after{clear:both;content:\"\";display:table}.page-heading .page-heading__container{padding:15px 20px;position:relative}.page-heading .page-heading__container .title{color:#242437;font-size:15px;font-weight:500;line-height:20px;margin:3px 0 0;overflow:hidden;padding:0;text-overflow:ellipsis;width:95%}.card .card-container{position:absolute;right:20px;top:25px;z-index:1}.td-total{font-weight:700}.card-inner-container{background:#0000000d;border:1px dashed rgba(0,0,0,.1);border-radius:3px;margin-bottom:20px;padding:20px}.invoice-text{display:flex;font-size:13px;justify-content:space-between;margin:10px 0}.invoice-template{min-height:calc(100vh - 190px)}\n"],
|
|
4024
4049
|
dependencies: [
|
|
4025
4050
|
{
|
|
@@ -4038,7 +4063,7 @@ var UserInvoiceComponent = class UserInvoiceComponent extends AppBaseComponent {
|
|
|
4038
4063
|
},
|
|
4039
4064
|
{
|
|
4040
4065
|
kind: "directive",
|
|
4041
|
-
type:
|
|
4066
|
+
type: i7$1.DynamicBadgeDirective,
|
|
4042
4067
|
selector: "[appDynamicBadge]",
|
|
4043
4068
|
inputs: [
|
|
4044
4069
|
"appDynamicBadge",
|
|
@@ -4176,6 +4201,12 @@ var UserInvoiceComponent = class UserInvoiceComponent extends AppBaseComponent {
|
|
|
4176
4201
|
selector: "[pSortableColumn]",
|
|
4177
4202
|
inputs: ["pSortableColumn", "pSortableColumnDisabled"]
|
|
4178
4203
|
},
|
|
4204
|
+
{
|
|
4205
|
+
kind: "directive",
|
|
4206
|
+
type: i4$2.ResizableColumn,
|
|
4207
|
+
selector: "[pResizableColumn]",
|
|
4208
|
+
inputs: ["pResizableColumnDisabled"]
|
|
4209
|
+
},
|
|
4179
4210
|
{
|
|
4180
4211
|
kind: "component",
|
|
4181
4212
|
type: i4$2.SortIcon,
|
|
@@ -4184,7 +4215,7 @@ var UserInvoiceComponent = class UserInvoiceComponent extends AppBaseComponent {
|
|
|
4184
4215
|
},
|
|
4185
4216
|
{
|
|
4186
4217
|
kind: "component",
|
|
4187
|
-
type:
|
|
4218
|
+
type: i12$1.ProgressSpinner,
|
|
4188
4219
|
selector: "p-progress-spinner, p-progressspinner",
|
|
4189
4220
|
inputs: [
|
|
4190
4221
|
"value",
|
|
@@ -4227,17 +4258,17 @@ var UserInvoiceComponent = class UserInvoiceComponent extends AppBaseComponent {
|
|
|
4227
4258
|
},
|
|
4228
4259
|
{
|
|
4229
4260
|
kind: "pipe",
|
|
4230
|
-
type:
|
|
4261
|
+
type: i8$1.CurrencyPipe,
|
|
4231
4262
|
name: "currency"
|
|
4232
4263
|
},
|
|
4233
4264
|
{
|
|
4234
4265
|
kind: "pipe",
|
|
4235
|
-
type:
|
|
4266
|
+
type: i8$1.DatePipe,
|
|
4236
4267
|
name: "date"
|
|
4237
4268
|
},
|
|
4238
4269
|
{
|
|
4239
4270
|
kind: "pipe",
|
|
4240
|
-
type:
|
|
4271
|
+
type: i14.TranslocoPipe,
|
|
4241
4272
|
name: "transloco"
|
|
4242
4273
|
}
|
|
4243
4274
|
]
|
|
@@ -4254,7 +4285,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
4254
4285
|
args: [{
|
|
4255
4286
|
selector: "pw-user-invoice",
|
|
4256
4287
|
standalone: false,
|
|
4257
|
-
template: "<div class=\"row\" [class.custom-disable-wrapper]=\"buttonBusy\">\n <div class=\"col-12 d-flex flex-wrap justify-content-between align-items-center\">\n <h2 class=\"card-title p-0 float-start\">Your Invoices</h2>\n </div>\n</div>\n\n@if (!isLoaded) {\n <div class=\"w-100 text-center mt-3\">\n <p-progress-spinner strokeWidth=\"2\"></p-progress-spinner>\n </div>\n}\n<div class=\"row primeng-datatable-container actions-collapsed mt-0\" [class.custom-disable-wrapper]=\"buttonBusy\" [class.hideTable]=\"totalRecordsUnFiltered === 0\">\n <div class=\"col-12 px-0\">\n <p-table #tt\n [value]=\"invoices\"\n [paginator]=\"totalRecords !== 0\"\n [rows]=\"PAGE_SIZE\"\n [lazy]=\"true\"\n [totalRecords]=\"totalRecords\"\n (onLazyLoad)=\"onLazyLoad($event)\"\n >\n <ng-template #caption>\n <div class=\"search-filter justify-content-end\">\n <div class=\"text-end\">\n <label for=\"user-invoice-search\" class=\"visually-hidden\">Search Invoices</label>\n <p-iconfield iconPosition=\"left\">\n <p-inputicon><i class=\"fa fa-search\" aria-hidden=\"true\"></i></p-inputicon>\n <input id=\"user-invoice-search\"\n name=\"user-invoice-search\"\n [(ngModel)]=\"searchText\"\n (input)=\"tt.filterGlobal($event.target.value, 'contains')\"\n type=\"text\"\n pInputText\n placeholder=\"Search invoices...\"\n data-cy=\"incident-search\"\n aria-label=\"Search invoices...\" />\n </p-iconfield>\n </div>\n </div>\n </ng-template>\n\n <ng-template #header>\n <tr>\n <th scope=\"col\" pSortableColumn=\"date\">Invoice Date <p-sort-icon field=\"date\"></p-sort-icon></th>\n <th scope=\"col\" pSortableColumn=\"frequency\">Frequency <p-sort-icon field=\"frequency\"></p-sort-icon></th>\n <th scope=\"col\" pSortableColumn=\"seatsPurchased\">Seats Purchased <p-sort-icon field=\"seatsPurchased\"></p-sort-icon></th>\n <th scope=\"col\" pSortableColumn=\"subtotal\">Subtotal <p-sort-icon field=\"subtotal\"></p-sort-icon></th>\n <th scope=\"col\" pSortableColumn=\"total\">Total (incl. tax) <p-sort-icon field=\"total\"></p-sort-icon></th>\n <th scope=\"col\">Action</th>\n </tr>\n </ng-template>\n\n <ng-template #body let-invoice>\n <tr>\n <td>{{ invoice.date | date:'dd-MMM-yyyy' }}</td>\n <td>\n <span class=\"badge\"\n [appDynamicBadge]=\"{\n itemsArray: invoiceFrequency,\n item: invoice.product.billing_frequency\n }\"\n color=\"blue-grey\">{{ invoice.product.billing_frequency }}</span>\n </td>\n <td>{{ invoice?.subscription_product?.purchased_units }}</td>\n <td>{{ (invoice.subtotal_in_cents / 100) | currency:invoice?.product?.currency }}</td>\n <td class=\"td-total\">{{ (invoice.total_in_cents / 100) | currency:invoice?.product?.currency }}</td>\n <td>\n @if (invoice?.file?.url) {\n <a class=\"btn btn-sm btn-primary\" [attr.href]=\"invoice.file.url\" target=\"_blank\" title=\"Download\">\n <i class=\"fa fa-download\"> Download</i>\n </a>\n } @else {\n <a class=\"btn btn-sm btn-primary\" [attr.href]=\"invoice?.stripe_invoice_pdf\" target=\"_blank\" title=\"Download\">\n <i class=\"fa fa-download\"> Download</i>\n </a>\n }\n </td>\n </tr>\n </ng-template>\n </p-table>\n @if (totalRecords === 0 && totalRecordsUnFiltered !== 0) {\n <div>\n <pw-no-data [withImage]=\"true\" [message]=\"'Search.NoDataMessage' | transloco\" [description]=\"'Search.NoDataDescription' | transloco\" >\n </pw-no-data>\n </div>\n }\n\n @if (totalRecords !== 0) {\n <pw-records-summary [showing]=\"tt?.value?.length ?? 0\" [total]=\"totalRecords\" />\n }\n\n </div>\n</div>\n@if (totalRecordsUnFiltered === 0 && isLoaded) {\n <pw-no-data [withImage]=\"true\" message=\"You don't have any invoice yet.\">\n </pw-no-data>\n}\n\n",
|
|
4288
|
+
template: "<div class=\"row\" [class.custom-disable-wrapper]=\"buttonBusy\">\n <div class=\"col-12 d-flex flex-wrap justify-content-between align-items-center\">\n <h2 class=\"card-title p-0 float-start\">Your Invoices</h2>\n </div>\n</div>\n\n@if (!isLoaded) {\n <div class=\"w-100 text-center mt-3\">\n <p-progress-spinner strokeWidth=\"2\"></p-progress-spinner>\n </div>\n}\n<div class=\"row primeng-datatable-container actions-collapsed mt-0\" [class.custom-disable-wrapper]=\"buttonBusy\" [class.hideTable]=\"totalRecordsUnFiltered === 0\">\n <div class=\"col-12 px-0\">\n <p-table #tt\n [value]=\"invoices\"\n [paginator]=\"totalRecords !== 0\"\n [rows]=\"PAGE_SIZE\"\n [lazy]=\"true\"\n [totalRecords]=\"totalRecords\"\n (onLazyLoad)=\"onLazyLoad($event)\"\n stateKey=\"pw-table.user-invoice\"\n stateStorage=\"session\"\n [resizableColumns]=\"true\"\n columnResizeMode=\"expand\"\n >\n <ng-template #caption>\n <div class=\"search-filter justify-content-end\">\n <div class=\"text-end\">\n <label for=\"user-invoice-search\" class=\"visually-hidden\">Search Invoices</label>\n <p-iconfield iconPosition=\"left\">\n <p-inputicon><i class=\"fa fa-search\" aria-hidden=\"true\"></i></p-inputicon>\n <input id=\"user-invoice-search\"\n name=\"user-invoice-search\"\n [(ngModel)]=\"searchText\"\n (input)=\"tt.filterGlobal($event.target.value, 'contains')\"\n type=\"text\"\n pInputText\n placeholder=\"Search invoices...\"\n data-cy=\"incident-search\"\n aria-label=\"Search invoices...\" />\n </p-iconfield>\n </div>\n </div>\n </ng-template>\n\n <ng-template #header>\n <tr>\n <th pResizableColumn scope=\"col\" pSortableColumn=\"date\">Invoice Date <p-sort-icon field=\"date\"></p-sort-icon></th>\n <th pResizableColumn scope=\"col\" pSortableColumn=\"frequency\">Frequency <p-sort-icon field=\"frequency\"></p-sort-icon></th>\n <th pResizableColumn scope=\"col\" pSortableColumn=\"seatsPurchased\">Seats Purchased <p-sort-icon field=\"seatsPurchased\"></p-sort-icon></th>\n <th pResizableColumn scope=\"col\" pSortableColumn=\"subtotal\">Subtotal <p-sort-icon field=\"subtotal\"></p-sort-icon></th>\n <th pResizableColumn scope=\"col\" pSortableColumn=\"total\">Total (incl. tax) <p-sort-icon field=\"total\"></p-sort-icon></th>\n <th pResizableColumn scope=\"col\">Action</th>\n </tr>\n </ng-template>\n\n <ng-template #body let-invoice>\n <tr>\n <td>{{ invoice.date | date:'dd-MMM-yyyy' }}</td>\n <td>\n <span class=\"badge\"\n [appDynamicBadge]=\"{\n itemsArray: invoiceFrequency,\n item: invoice.product.billing_frequency\n }\"\n color=\"blue-grey\">{{ invoice.product.billing_frequency }}</span>\n </td>\n <td>{{ invoice?.subscription_product?.purchased_units }}</td>\n <td>{{ (invoice.subtotal_in_cents / 100) | currency:invoice?.product?.currency }}</td>\n <td class=\"td-total\">{{ (invoice.total_in_cents / 100) | currency:invoice?.product?.currency }}</td>\n <td>\n @if (invoice?.file?.url) {\n <a class=\"btn btn-sm btn-primary\" [attr.href]=\"invoice.file.url\" target=\"_blank\" title=\"Download\">\n <i class=\"fa fa-download\"> Download</i>\n </a>\n } @else {\n <a class=\"btn btn-sm btn-primary\" [attr.href]=\"invoice?.stripe_invoice_pdf\" target=\"_blank\" title=\"Download\">\n <i class=\"fa fa-download\"> Download</i>\n </a>\n }\n </td>\n </tr>\n </ng-template>\n </p-table>\n @if (totalRecords === 0 && totalRecordsUnFiltered !== 0) {\n <div>\n <pw-no-data [withImage]=\"true\" [message]=\"'Search.NoDataMessage' | transloco\" [description]=\"'Search.NoDataDescription' | transloco\" >\n </pw-no-data>\n </div>\n }\n\n @if (totalRecords !== 0) {\n <pw-records-summary [showing]=\"tt?.value?.length ?? 0\" [total]=\"totalRecords\" />\n }\n\n </div>\n</div>\n@if (totalRecordsUnFiltered === 0 && isLoaded) {\n <pw-no-data [withImage]=\"true\" message=\"You don't have any invoice yet.\">\n </pw-no-data>\n}\n\n",
|
|
4258
4289
|
styles: [".page-heading{background:#fcfcfc;border-bottom:1px solid rgba(0,0,0,.1);position:relative;width:100%}.page-heading:after{clear:both;content:\"\";display:table}.page-heading .page-heading__container{padding:15px 20px;position:relative}.page-heading .page-heading__container .title{color:#242437;font-size:15px;font-weight:500;line-height:20px;margin:3px 0 0;overflow:hidden;padding:0;text-overflow:ellipsis;width:95%}.card .card-container{position:absolute;right:20px;top:25px;z-index:1}.td-total{font-weight:700}.card-inner-container{background:#0000000d;border:1px dashed rgba(0,0,0,.1);border-radius:3px;margin-bottom:20px;padding:20px}.invoice-text{display:flex;font-size:13px;justify-content:space-between;margin:10px 0}.invoice-template{min-height:calc(100vh - 190px)}\n"]
|
|
4259
4290
|
}]
|
|
4260
4291
|
}],
|
|
@@ -4298,7 +4329,7 @@ var AiKnowledgeTabComponent = class AiKnowledgeTabComponent {
|
|
|
4298
4329
|
dependencies: [
|
|
4299
4330
|
{
|
|
4300
4331
|
kind: "component",
|
|
4301
|
-
type:
|
|
4332
|
+
type: i6$3.AppLoaderComponent,
|
|
4302
4333
|
selector: "pw-loader",
|
|
4303
4334
|
inputs: [
|
|
4304
4335
|
"isVisible",
|
|
@@ -4329,7 +4360,7 @@ var AiKnowledgeTabComponent = class AiKnowledgeTabComponent {
|
|
|
4329
4360
|
},
|
|
4330
4361
|
{
|
|
4331
4362
|
kind: "pipe",
|
|
4332
|
-
type:
|
|
4363
|
+
type: i14.TranslocoPipe,
|
|
4333
4364
|
name: "transloco"
|
|
4334
4365
|
}
|
|
4335
4366
|
]
|
|
@@ -4437,7 +4468,7 @@ var CommunicationTabComponent = class CommunicationTabComponent extends AppBaseC
|
|
|
4437
4468
|
dependencies: [
|
|
4438
4469
|
{
|
|
4439
4470
|
kind: "component",
|
|
4440
|
-
type:
|
|
4471
|
+
type: i12$1.ProgressSpinner,
|
|
4441
4472
|
selector: "p-progress-spinner, p-progressspinner",
|
|
4442
4473
|
inputs: [
|
|
4443
4474
|
"value",
|
|
@@ -4489,7 +4520,7 @@ var CommunicationTabComponent = class CommunicationTabComponent extends AppBaseC
|
|
|
4489
4520
|
},
|
|
4490
4521
|
{
|
|
4491
4522
|
kind: "pipe",
|
|
4492
|
-
type:
|
|
4523
|
+
type: i14.TranslocoPipe,
|
|
4493
4524
|
name: "transloco"
|
|
4494
4525
|
}
|
|
4495
4526
|
]
|
|
@@ -4598,7 +4629,7 @@ var OthersTabComponent = class OthersTabComponent extends AppBaseComponent {
|
|
|
4598
4629
|
dependencies: [
|
|
4599
4630
|
{
|
|
4600
4631
|
kind: "component",
|
|
4601
|
-
type:
|
|
4632
|
+
type: i12$1.ProgressSpinner,
|
|
4602
4633
|
selector: "p-progress-spinner, p-progressspinner",
|
|
4603
4634
|
inputs: [
|
|
4604
4635
|
"value",
|
|
@@ -4650,7 +4681,7 @@ var OthersTabComponent = class OthersTabComponent extends AppBaseComponent {
|
|
|
4650
4681
|
},
|
|
4651
4682
|
{
|
|
4652
4683
|
kind: "pipe",
|
|
4653
|
-
type:
|
|
4684
|
+
type: i14.TranslocoPipe,
|
|
4654
4685
|
name: "transloco"
|
|
4655
4686
|
}
|
|
4656
4687
|
]
|
|
@@ -4828,7 +4859,7 @@ var SecurityTabComponent = class SecurityTabComponent extends AppBaseComponent {
|
|
|
4828
4859
|
dependencies: [
|
|
4829
4860
|
{
|
|
4830
4861
|
kind: "directive",
|
|
4831
|
-
type:
|
|
4862
|
+
type: i7$1.LazyImgDirective,
|
|
4832
4863
|
selector: "img"
|
|
4833
4864
|
},
|
|
4834
4865
|
{
|
|
@@ -5041,7 +5072,7 @@ var SupportComponent = class SupportComponent extends AppBaseComponent {
|
|
|
5041
5072
|
dependencies: [
|
|
5042
5073
|
{
|
|
5043
5074
|
kind: "directive",
|
|
5044
|
-
type:
|
|
5075
|
+
type: i7$1.LazyImgDirective,
|
|
5045
5076
|
selector: "img"
|
|
5046
5077
|
},
|
|
5047
5078
|
{
|
|
@@ -5065,7 +5096,7 @@ var SupportComponent = class SupportComponent extends AppBaseComponent {
|
|
|
5065
5096
|
},
|
|
5066
5097
|
{
|
|
5067
5098
|
kind: "component",
|
|
5068
|
-
type:
|
|
5099
|
+
type: i12$1.ProgressSpinner,
|
|
5069
5100
|
selector: "p-progress-spinner, p-progressspinner",
|
|
5070
5101
|
inputs: [
|
|
5071
5102
|
"value",
|
|
@@ -5292,7 +5323,7 @@ var SupportDetailsComponent = class SupportDetailsComponent extends AppBaseCompo
|
|
|
5292
5323
|
},
|
|
5293
5324
|
{
|
|
5294
5325
|
kind: "component",
|
|
5295
|
-
type:
|
|
5326
|
+
type: i12$1.ProgressSpinner,
|
|
5296
5327
|
selector: "p-progress-spinner, p-progressspinner",
|
|
5297
5328
|
inputs: [
|
|
5298
5329
|
"value",
|
|
@@ -5406,7 +5437,7 @@ var SupportDetailsComponent = class SupportDetailsComponent extends AppBaseCompo
|
|
|
5406
5437
|
},
|
|
5407
5438
|
{
|
|
5408
5439
|
kind: "pipe",
|
|
5409
|
-
type:
|
|
5440
|
+
type: i14.TranslocoPipe,
|
|
5410
5441
|
name: "transloco"
|
|
5411
5442
|
}
|
|
5412
5443
|
]
|
|
@@ -5555,13 +5586,13 @@ var EditPortfoliosComponent = class EditPortfoliosComponent {
|
|
|
5555
5586
|
dependencies: [
|
|
5556
5587
|
{
|
|
5557
5588
|
kind: "directive",
|
|
5558
|
-
type:
|
|
5589
|
+
type: i7$1.ButtonBusyDirective,
|
|
5559
5590
|
selector: "[buttonBusy]",
|
|
5560
5591
|
inputs: ["buttonBusy", "busyText"]
|
|
5561
5592
|
},
|
|
5562
5593
|
{
|
|
5563
5594
|
kind: "directive",
|
|
5564
|
-
type:
|
|
5595
|
+
type: i7$1.LazyImgDirective,
|
|
5565
5596
|
selector: "img"
|
|
5566
5597
|
},
|
|
5567
5598
|
{
|
|
@@ -5794,13 +5825,13 @@ var EditProjectModalComponent = class EditProjectModalComponent extends AppBaseC
|
|
|
5794
5825
|
dependencies: [
|
|
5795
5826
|
{
|
|
5796
5827
|
kind: "directive",
|
|
5797
|
-
type:
|
|
5828
|
+
type: i7$1.ButtonBusyDirective,
|
|
5798
5829
|
selector: "[buttonBusy]",
|
|
5799
5830
|
inputs: ["buttonBusy", "busyText"]
|
|
5800
5831
|
},
|
|
5801
5832
|
{
|
|
5802
5833
|
kind: "directive",
|
|
5803
|
-
type:
|
|
5834
|
+
type: i8$1.NgClass,
|
|
5804
5835
|
selector: "[ngClass]",
|
|
5805
5836
|
inputs: ["class", "ngClass"]
|
|
5806
5837
|
},
|
|
@@ -5856,7 +5887,7 @@ var EditProjectModalComponent = class EditProjectModalComponent extends AppBaseC
|
|
|
5856
5887
|
},
|
|
5857
5888
|
{
|
|
5858
5889
|
kind: "component",
|
|
5859
|
-
type:
|
|
5890
|
+
type: i11.Select,
|
|
5860
5891
|
selector: "p-select",
|
|
5861
5892
|
inputs: [
|
|
5862
5893
|
"id",
|
|
@@ -5949,7 +5980,7 @@ var EditProjectModalComponent = class EditProjectModalComponent extends AppBaseC
|
|
|
5949
5980
|
},
|
|
5950
5981
|
{
|
|
5951
5982
|
kind: "pipe",
|
|
5952
|
-
type:
|
|
5983
|
+
type: i14.TranslocoPipe,
|
|
5953
5984
|
name: "transloco"
|
|
5954
5985
|
}
|
|
5955
5986
|
]
|
|
@@ -6129,7 +6160,7 @@ var EditQualificationsModalComponent = class EditQualificationsModalComponent ex
|
|
|
6129
6160
|
dependencies: [
|
|
6130
6161
|
{
|
|
6131
6162
|
kind: "directive",
|
|
6132
|
-
type:
|
|
6163
|
+
type: i7$1.ButtonBusyDirective,
|
|
6133
6164
|
selector: "[buttonBusy]",
|
|
6134
6165
|
inputs: ["buttonBusy", "busyText"]
|
|
6135
6166
|
},
|
|
@@ -6174,7 +6205,7 @@ var EditQualificationsModalComponent = class EditQualificationsModalComponent ex
|
|
|
6174
6205
|
},
|
|
6175
6206
|
{
|
|
6176
6207
|
kind: "component",
|
|
6177
|
-
type:
|
|
6208
|
+
type: i11.Select,
|
|
6178
6209
|
selector: "p-select",
|
|
6179
6210
|
inputs: [
|
|
6180
6211
|
"id",
|
|
@@ -6345,7 +6376,7 @@ var EditQualificationsModalComponent = class EditQualificationsModalComponent ex
|
|
|
6345
6376
|
},
|
|
6346
6377
|
{
|
|
6347
6378
|
kind: "pipe",
|
|
6348
|
-
type:
|
|
6379
|
+
type: i14.TranslocoPipe,
|
|
6349
6380
|
name: "transloco"
|
|
6350
6381
|
}
|
|
6351
6382
|
]
|
|
@@ -6462,7 +6493,7 @@ var EditRecommendationModalComponent = class EditRecommendationModalComponent {
|
|
|
6462
6493
|
dependencies: [
|
|
6463
6494
|
{
|
|
6464
6495
|
kind: "directive",
|
|
6465
|
-
type:
|
|
6496
|
+
type: i7$1.ButtonBusyDirective,
|
|
6466
6497
|
selector: "[buttonBusy]",
|
|
6467
6498
|
inputs: ["buttonBusy", "busyText"]
|
|
6468
6499
|
},
|
|
@@ -6979,13 +7010,13 @@ var EditSocialLinksComponent = class EditSocialLinksComponent extends AppBaseCom
|
|
|
6979
7010
|
dependencies: [
|
|
6980
7011
|
{
|
|
6981
7012
|
kind: "directive",
|
|
6982
|
-
type:
|
|
7013
|
+
type: i7$1.ButtonBusyDirective,
|
|
6983
7014
|
selector: "[buttonBusy]",
|
|
6984
7015
|
inputs: ["buttonBusy", "busyText"]
|
|
6985
7016
|
},
|
|
6986
7017
|
{
|
|
6987
7018
|
kind: "directive",
|
|
6988
|
-
type:
|
|
7019
|
+
type: i7$1.LazyImgDirective,
|
|
6989
7020
|
selector: "img"
|
|
6990
7021
|
},
|
|
6991
7022
|
{
|
|
@@ -7029,7 +7060,7 @@ var EditSocialLinksComponent = class EditSocialLinksComponent extends AppBaseCom
|
|
|
7029
7060
|
},
|
|
7030
7061
|
{
|
|
7031
7062
|
kind: "pipe",
|
|
7032
|
-
type:
|
|
7063
|
+
type: i14.TranslocoPipe,
|
|
7033
7064
|
name: "transloco"
|
|
7034
7065
|
}
|
|
7035
7066
|
]
|
|
@@ -7212,7 +7243,7 @@ var EditUserProfileModalComponent = class EditUserProfileModalComponent extends
|
|
|
7212
7243
|
dependencies: [
|
|
7213
7244
|
{
|
|
7214
7245
|
kind: "directive",
|
|
7215
|
-
type:
|
|
7246
|
+
type: i7$1.ButtonBusyDirective,
|
|
7216
7247
|
selector: "[buttonBusy]",
|
|
7217
7248
|
inputs: ["buttonBusy", "busyText"]
|
|
7218
7249
|
},
|
|
@@ -7257,7 +7288,7 @@ var EditUserProfileModalComponent = class EditUserProfileModalComponent extends
|
|
|
7257
7288
|
},
|
|
7258
7289
|
{
|
|
7259
7290
|
kind: "directive",
|
|
7260
|
-
type:
|
|
7291
|
+
type: i9.NgxGpAutocompleteDirective,
|
|
7261
7292
|
selector: "[ngx-gp-autocomplete]",
|
|
7262
7293
|
inputs: ["options"],
|
|
7263
7294
|
outputs: ["onAddressChange"],
|
|
@@ -7265,7 +7296,7 @@ var EditUserProfileModalComponent = class EditUserProfileModalComponent extends
|
|
|
7265
7296
|
},
|
|
7266
7297
|
{
|
|
7267
7298
|
kind: "component",
|
|
7268
|
-
type:
|
|
7299
|
+
type: i11.Select,
|
|
7269
7300
|
selector: "p-select",
|
|
7270
7301
|
inputs: [
|
|
7271
7302
|
"id",
|
|
@@ -7415,12 +7446,12 @@ var EditUserProfileModalComponent = class EditUserProfileModalComponent extends
|
|
|
7415
7446
|
},
|
|
7416
7447
|
{
|
|
7417
7448
|
kind: "pipe",
|
|
7418
|
-
type:
|
|
7449
|
+
type: i8$1.AsyncPipe,
|
|
7419
7450
|
name: "async"
|
|
7420
7451
|
},
|
|
7421
7452
|
{
|
|
7422
7453
|
kind: "pipe",
|
|
7423
|
-
type:
|
|
7454
|
+
type: i14.TranslocoPipe,
|
|
7424
7455
|
name: "transloco"
|
|
7425
7456
|
}
|
|
7426
7457
|
]
|
|
@@ -7622,12 +7653,12 @@ var UserAboutComponent = class UserAboutComponent extends AppBaseComponent {
|
|
|
7622
7653
|
dependencies: [
|
|
7623
7654
|
{
|
|
7624
7655
|
kind: "directive",
|
|
7625
|
-
type:
|
|
7656
|
+
type: i7$1.LazyImgDirective,
|
|
7626
7657
|
selector: "img"
|
|
7627
7658
|
},
|
|
7628
7659
|
{
|
|
7629
7660
|
kind: "component",
|
|
7630
|
-
type:
|
|
7661
|
+
type: i12$1.ProgressSpinner,
|
|
7631
7662
|
selector: "p-progress-spinner, p-progressspinner",
|
|
7632
7663
|
inputs: [
|
|
7633
7664
|
"value",
|
|
@@ -7673,7 +7704,7 @@ var UserAboutComponent = class UserAboutComponent extends AppBaseComponent {
|
|
|
7673
7704
|
},
|
|
7674
7705
|
{
|
|
7675
7706
|
kind: "pipe",
|
|
7676
|
-
type:
|
|
7707
|
+
type: i14.TranslocoPipe,
|
|
7677
7708
|
name: "transloco"
|
|
7678
7709
|
},
|
|
7679
7710
|
{
|
|
@@ -7800,12 +7831,12 @@ var PortfoliosComponent = class PortfoliosComponent {
|
|
|
7800
7831
|
dependencies: [
|
|
7801
7832
|
{
|
|
7802
7833
|
kind: "directive",
|
|
7803
|
-
type:
|
|
7834
|
+
type: i7$1.LazyImgDirective,
|
|
7804
7835
|
selector: "img"
|
|
7805
7836
|
},
|
|
7806
7837
|
{
|
|
7807
7838
|
kind: "component",
|
|
7808
|
-
type:
|
|
7839
|
+
type: i12$1.ProgressSpinner,
|
|
7809
7840
|
selector: "p-progress-spinner, p-progressspinner",
|
|
7810
7841
|
inputs: [
|
|
7811
7842
|
"value",
|
|
@@ -7980,12 +8011,12 @@ var UserProjectsComponent = class UserProjectsComponent extends AppBaseComponent
|
|
|
7980
8011
|
dependencies: [
|
|
7981
8012
|
{
|
|
7982
8013
|
kind: "directive",
|
|
7983
|
-
type:
|
|
8014
|
+
type: i7$1.LazyImgDirective,
|
|
7984
8015
|
selector: "img"
|
|
7985
8016
|
},
|
|
7986
8017
|
{
|
|
7987
8018
|
kind: "directive",
|
|
7988
|
-
type:
|
|
8019
|
+
type: i8$1.NgClass,
|
|
7989
8020
|
selector: "[ngClass]",
|
|
7990
8021
|
inputs: ["class", "ngClass"]
|
|
7991
8022
|
},
|
|
@@ -7996,7 +8027,7 @@ var UserProjectsComponent = class UserProjectsComponent extends AppBaseComponent
|
|
|
7996
8027
|
},
|
|
7997
8028
|
{
|
|
7998
8029
|
kind: "component",
|
|
7999
|
-
type:
|
|
8030
|
+
type: i12$1.ProgressSpinner,
|
|
8000
8031
|
selector: "p-progress-spinner, p-progressspinner",
|
|
8001
8032
|
inputs: [
|
|
8002
8033
|
"value",
|
|
@@ -8085,7 +8116,7 @@ var UserProjectsComponent = class UserProjectsComponent extends AppBaseComponent
|
|
|
8085
8116
|
},
|
|
8086
8117
|
{
|
|
8087
8118
|
kind: "pipe",
|
|
8088
|
-
type:
|
|
8119
|
+
type: i14.TranslocoPipe,
|
|
8089
8120
|
name: "transloco"
|
|
8090
8121
|
}
|
|
8091
8122
|
]
|
|
@@ -8332,7 +8363,7 @@ var UserProfilePageComponent = class UserProfilePageComponent extends AppBaseCom
|
|
|
8332
8363
|
dependencies: [
|
|
8333
8364
|
{
|
|
8334
8365
|
kind: "directive",
|
|
8335
|
-
type:
|
|
8366
|
+
type: i7$1.LazyImgDirective,
|
|
8336
8367
|
selector: "img"
|
|
8337
8368
|
},
|
|
8338
8369
|
{
|
|
@@ -8364,7 +8395,7 @@ var UserProfilePageComponent = class UserProfilePageComponent extends AppBaseCom
|
|
|
8364
8395
|
},
|
|
8365
8396
|
{
|
|
8366
8397
|
kind: "component",
|
|
8367
|
-
type:
|
|
8398
|
+
type: i12$1.ProgressSpinner,
|
|
8368
8399
|
selector: "p-progress-spinner, p-progressspinner",
|
|
8369
8400
|
inputs: [
|
|
8370
8401
|
"value",
|
|
@@ -8378,7 +8409,7 @@ var UserProfilePageComponent = class UserProfilePageComponent extends AppBaseCom
|
|
|
8378
8409
|
},
|
|
8379
8410
|
{
|
|
8380
8411
|
kind: "component",
|
|
8381
|
-
type:
|
|
8412
|
+
type: i13.ProfileImageCropperComponent,
|
|
8382
8413
|
selector: "pw-image-cropper",
|
|
8383
8414
|
inputs: ["aspectRatio", "dynamicData"],
|
|
8384
8415
|
outputs: [
|
|
@@ -8412,7 +8443,7 @@ var UserProfilePageComponent = class UserProfilePageComponent extends AppBaseCom
|
|
|
8412
8443
|
},
|
|
8413
8444
|
{
|
|
8414
8445
|
kind: "pipe",
|
|
8415
|
-
type:
|
|
8446
|
+
type: i14.TranslocoPipe,
|
|
8416
8447
|
name: "transloco"
|
|
8417
8448
|
}
|
|
8418
8449
|
]
|