@posiwise/user-module 0.0.173 → 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
|
}],
|
|
@@ -4294,11 +4325,11 @@ var AiKnowledgeTabComponent = class AiKnowledgeTabComponent {
|
|
|
4294
4325
|
isStandalone: false,
|
|
4295
4326
|
selector: "pw-ai-knowledge-tab",
|
|
4296
4327
|
ngImport: i0,
|
|
4297
|
-
template: "@if (!ready) {\n <pw-loader [isVisible]=\"true\"></pw-loader>\n} @else if (!isAlpha) {\n <pw-no-data [withImage]=\"true\" [message]=\"'AiKnowledge.NotAvailable' | transloco\"></pw-no-data>\n} @else if (subscription) {\n
|
|
4328
|
+
template: "@if (!ready) {\n <pw-loader [isVisible]=\"true\"></pw-loader>\n} @else if (!isAlpha) {\n <pw-no-data [withImage]=\"true\" [message]=\"'AiKnowledge.NotAvailable' | transloco\"></pw-no-data>\n} @else if (subscription) {\n <pw-ai-knowledge scope=\"personal\"\n [subscriptionId]=\"subscription.id\"\n [subscriptionName]=\"subscription.organisation\"\n [useOwnData]=\"useOwnData\"></pw-ai-knowledge>\n} @else {\n <pw-no-data [withImage]=\"true\" [message]=\"'AiKnowledge.NoSubscription' | transloco\"></pw-no-data>\n}\n",
|
|
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",
|
|
@@ -4313,7 +4344,8 @@ var AiKnowledgeTabComponent = class AiKnowledgeTabComponent {
|
|
|
4313
4344
|
inputs: [
|
|
4314
4345
|
"scope",
|
|
4315
4346
|
"subscriptionId",
|
|
4316
|
-
"subscriptionName"
|
|
4347
|
+
"subscriptionName",
|
|
4348
|
+
"useOwnData"
|
|
4317
4349
|
]
|
|
4318
4350
|
},
|
|
4319
4351
|
{
|
|
@@ -4328,7 +4360,7 @@ var AiKnowledgeTabComponent = class AiKnowledgeTabComponent {
|
|
|
4328
4360
|
},
|
|
4329
4361
|
{
|
|
4330
4362
|
kind: "pipe",
|
|
4331
|
-
type:
|
|
4363
|
+
type: i14.TranslocoPipe,
|
|
4332
4364
|
name: "transloco"
|
|
4333
4365
|
}
|
|
4334
4366
|
]
|
|
@@ -4345,7 +4377,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
4345
4377
|
args: [{
|
|
4346
4378
|
selector: "pw-ai-knowledge-tab",
|
|
4347
4379
|
standalone: false,
|
|
4348
|
-
template: "@if (!ready) {\n <pw-loader [isVisible]=\"true\"></pw-loader>\n} @else if (!isAlpha) {\n <pw-no-data [withImage]=\"true\" [message]=\"'AiKnowledge.NotAvailable' | transloco\"></pw-no-data>\n} @else if (subscription) {\n
|
|
4380
|
+
template: "@if (!ready) {\n <pw-loader [isVisible]=\"true\"></pw-loader>\n} @else if (!isAlpha) {\n <pw-no-data [withImage]=\"true\" [message]=\"'AiKnowledge.NotAvailable' | transloco\"></pw-no-data>\n} @else if (subscription) {\n <pw-ai-knowledge scope=\"personal\"\n [subscriptionId]=\"subscription.id\"\n [subscriptionName]=\"subscription.organisation\"\n [useOwnData]=\"useOwnData\"></pw-ai-knowledge>\n} @else {\n <pw-no-data [withImage]=\"true\" [message]=\"'AiKnowledge.NoSubscription' | transloco\"></pw-no-data>\n}\n"
|
|
4349
4381
|
}]
|
|
4350
4382
|
}],
|
|
4351
4383
|
ctorParameters: () => [{ type: i3.PermissionService }]
|
|
@@ -4436,7 +4468,7 @@ var CommunicationTabComponent = class CommunicationTabComponent extends AppBaseC
|
|
|
4436
4468
|
dependencies: [
|
|
4437
4469
|
{
|
|
4438
4470
|
kind: "component",
|
|
4439
|
-
type:
|
|
4471
|
+
type: i12$1.ProgressSpinner,
|
|
4440
4472
|
selector: "p-progress-spinner, p-progressspinner",
|
|
4441
4473
|
inputs: [
|
|
4442
4474
|
"value",
|
|
@@ -4488,7 +4520,7 @@ var CommunicationTabComponent = class CommunicationTabComponent extends AppBaseC
|
|
|
4488
4520
|
},
|
|
4489
4521
|
{
|
|
4490
4522
|
kind: "pipe",
|
|
4491
|
-
type:
|
|
4523
|
+
type: i14.TranslocoPipe,
|
|
4492
4524
|
name: "transloco"
|
|
4493
4525
|
}
|
|
4494
4526
|
]
|
|
@@ -4597,7 +4629,7 @@ var OthersTabComponent = class OthersTabComponent extends AppBaseComponent {
|
|
|
4597
4629
|
dependencies: [
|
|
4598
4630
|
{
|
|
4599
4631
|
kind: "component",
|
|
4600
|
-
type:
|
|
4632
|
+
type: i12$1.ProgressSpinner,
|
|
4601
4633
|
selector: "p-progress-spinner, p-progressspinner",
|
|
4602
4634
|
inputs: [
|
|
4603
4635
|
"value",
|
|
@@ -4649,7 +4681,7 @@ var OthersTabComponent = class OthersTabComponent extends AppBaseComponent {
|
|
|
4649
4681
|
},
|
|
4650
4682
|
{
|
|
4651
4683
|
kind: "pipe",
|
|
4652
|
-
type:
|
|
4684
|
+
type: i14.TranslocoPipe,
|
|
4653
4685
|
name: "transloco"
|
|
4654
4686
|
}
|
|
4655
4687
|
]
|
|
@@ -4827,7 +4859,7 @@ var SecurityTabComponent = class SecurityTabComponent extends AppBaseComponent {
|
|
|
4827
4859
|
dependencies: [
|
|
4828
4860
|
{
|
|
4829
4861
|
kind: "directive",
|
|
4830
|
-
type:
|
|
4862
|
+
type: i7$1.LazyImgDirective,
|
|
4831
4863
|
selector: "img"
|
|
4832
4864
|
},
|
|
4833
4865
|
{
|
|
@@ -5040,7 +5072,7 @@ var SupportComponent = class SupportComponent extends AppBaseComponent {
|
|
|
5040
5072
|
dependencies: [
|
|
5041
5073
|
{
|
|
5042
5074
|
kind: "directive",
|
|
5043
|
-
type:
|
|
5075
|
+
type: i7$1.LazyImgDirective,
|
|
5044
5076
|
selector: "img"
|
|
5045
5077
|
},
|
|
5046
5078
|
{
|
|
@@ -5064,7 +5096,7 @@ var SupportComponent = class SupportComponent extends AppBaseComponent {
|
|
|
5064
5096
|
},
|
|
5065
5097
|
{
|
|
5066
5098
|
kind: "component",
|
|
5067
|
-
type:
|
|
5099
|
+
type: i12$1.ProgressSpinner,
|
|
5068
5100
|
selector: "p-progress-spinner, p-progressspinner",
|
|
5069
5101
|
inputs: [
|
|
5070
5102
|
"value",
|
|
@@ -5291,7 +5323,7 @@ var SupportDetailsComponent = class SupportDetailsComponent extends AppBaseCompo
|
|
|
5291
5323
|
},
|
|
5292
5324
|
{
|
|
5293
5325
|
kind: "component",
|
|
5294
|
-
type:
|
|
5326
|
+
type: i12$1.ProgressSpinner,
|
|
5295
5327
|
selector: "p-progress-spinner, p-progressspinner",
|
|
5296
5328
|
inputs: [
|
|
5297
5329
|
"value",
|
|
@@ -5405,7 +5437,7 @@ var SupportDetailsComponent = class SupportDetailsComponent extends AppBaseCompo
|
|
|
5405
5437
|
},
|
|
5406
5438
|
{
|
|
5407
5439
|
kind: "pipe",
|
|
5408
|
-
type:
|
|
5440
|
+
type: i14.TranslocoPipe,
|
|
5409
5441
|
name: "transloco"
|
|
5410
5442
|
}
|
|
5411
5443
|
]
|
|
@@ -5554,13 +5586,13 @@ var EditPortfoliosComponent = class EditPortfoliosComponent {
|
|
|
5554
5586
|
dependencies: [
|
|
5555
5587
|
{
|
|
5556
5588
|
kind: "directive",
|
|
5557
|
-
type:
|
|
5589
|
+
type: i7$1.ButtonBusyDirective,
|
|
5558
5590
|
selector: "[buttonBusy]",
|
|
5559
5591
|
inputs: ["buttonBusy", "busyText"]
|
|
5560
5592
|
},
|
|
5561
5593
|
{
|
|
5562
5594
|
kind: "directive",
|
|
5563
|
-
type:
|
|
5595
|
+
type: i7$1.LazyImgDirective,
|
|
5564
5596
|
selector: "img"
|
|
5565
5597
|
},
|
|
5566
5598
|
{
|
|
@@ -5793,13 +5825,13 @@ var EditProjectModalComponent = class EditProjectModalComponent extends AppBaseC
|
|
|
5793
5825
|
dependencies: [
|
|
5794
5826
|
{
|
|
5795
5827
|
kind: "directive",
|
|
5796
|
-
type:
|
|
5828
|
+
type: i7$1.ButtonBusyDirective,
|
|
5797
5829
|
selector: "[buttonBusy]",
|
|
5798
5830
|
inputs: ["buttonBusy", "busyText"]
|
|
5799
5831
|
},
|
|
5800
5832
|
{
|
|
5801
5833
|
kind: "directive",
|
|
5802
|
-
type:
|
|
5834
|
+
type: i8$1.NgClass,
|
|
5803
5835
|
selector: "[ngClass]",
|
|
5804
5836
|
inputs: ["class", "ngClass"]
|
|
5805
5837
|
},
|
|
@@ -5855,7 +5887,7 @@ var EditProjectModalComponent = class EditProjectModalComponent extends AppBaseC
|
|
|
5855
5887
|
},
|
|
5856
5888
|
{
|
|
5857
5889
|
kind: "component",
|
|
5858
|
-
type:
|
|
5890
|
+
type: i11.Select,
|
|
5859
5891
|
selector: "p-select",
|
|
5860
5892
|
inputs: [
|
|
5861
5893
|
"id",
|
|
@@ -5948,7 +5980,7 @@ var EditProjectModalComponent = class EditProjectModalComponent extends AppBaseC
|
|
|
5948
5980
|
},
|
|
5949
5981
|
{
|
|
5950
5982
|
kind: "pipe",
|
|
5951
|
-
type:
|
|
5983
|
+
type: i14.TranslocoPipe,
|
|
5952
5984
|
name: "transloco"
|
|
5953
5985
|
}
|
|
5954
5986
|
]
|
|
@@ -6128,7 +6160,7 @@ var EditQualificationsModalComponent = class EditQualificationsModalComponent ex
|
|
|
6128
6160
|
dependencies: [
|
|
6129
6161
|
{
|
|
6130
6162
|
kind: "directive",
|
|
6131
|
-
type:
|
|
6163
|
+
type: i7$1.ButtonBusyDirective,
|
|
6132
6164
|
selector: "[buttonBusy]",
|
|
6133
6165
|
inputs: ["buttonBusy", "busyText"]
|
|
6134
6166
|
},
|
|
@@ -6173,7 +6205,7 @@ var EditQualificationsModalComponent = class EditQualificationsModalComponent ex
|
|
|
6173
6205
|
},
|
|
6174
6206
|
{
|
|
6175
6207
|
kind: "component",
|
|
6176
|
-
type:
|
|
6208
|
+
type: i11.Select,
|
|
6177
6209
|
selector: "p-select",
|
|
6178
6210
|
inputs: [
|
|
6179
6211
|
"id",
|
|
@@ -6344,7 +6376,7 @@ var EditQualificationsModalComponent = class EditQualificationsModalComponent ex
|
|
|
6344
6376
|
},
|
|
6345
6377
|
{
|
|
6346
6378
|
kind: "pipe",
|
|
6347
|
-
type:
|
|
6379
|
+
type: i14.TranslocoPipe,
|
|
6348
6380
|
name: "transloco"
|
|
6349
6381
|
}
|
|
6350
6382
|
]
|
|
@@ -6461,7 +6493,7 @@ var EditRecommendationModalComponent = class EditRecommendationModalComponent {
|
|
|
6461
6493
|
dependencies: [
|
|
6462
6494
|
{
|
|
6463
6495
|
kind: "directive",
|
|
6464
|
-
type:
|
|
6496
|
+
type: i7$1.ButtonBusyDirective,
|
|
6465
6497
|
selector: "[buttonBusy]",
|
|
6466
6498
|
inputs: ["buttonBusy", "busyText"]
|
|
6467
6499
|
},
|
|
@@ -6978,13 +7010,13 @@ var EditSocialLinksComponent = class EditSocialLinksComponent extends AppBaseCom
|
|
|
6978
7010
|
dependencies: [
|
|
6979
7011
|
{
|
|
6980
7012
|
kind: "directive",
|
|
6981
|
-
type:
|
|
7013
|
+
type: i7$1.ButtonBusyDirective,
|
|
6982
7014
|
selector: "[buttonBusy]",
|
|
6983
7015
|
inputs: ["buttonBusy", "busyText"]
|
|
6984
7016
|
},
|
|
6985
7017
|
{
|
|
6986
7018
|
kind: "directive",
|
|
6987
|
-
type:
|
|
7019
|
+
type: i7$1.LazyImgDirective,
|
|
6988
7020
|
selector: "img"
|
|
6989
7021
|
},
|
|
6990
7022
|
{
|
|
@@ -7028,7 +7060,7 @@ var EditSocialLinksComponent = class EditSocialLinksComponent extends AppBaseCom
|
|
|
7028
7060
|
},
|
|
7029
7061
|
{
|
|
7030
7062
|
kind: "pipe",
|
|
7031
|
-
type:
|
|
7063
|
+
type: i14.TranslocoPipe,
|
|
7032
7064
|
name: "transloco"
|
|
7033
7065
|
}
|
|
7034
7066
|
]
|
|
@@ -7211,7 +7243,7 @@ var EditUserProfileModalComponent = class EditUserProfileModalComponent extends
|
|
|
7211
7243
|
dependencies: [
|
|
7212
7244
|
{
|
|
7213
7245
|
kind: "directive",
|
|
7214
|
-
type:
|
|
7246
|
+
type: i7$1.ButtonBusyDirective,
|
|
7215
7247
|
selector: "[buttonBusy]",
|
|
7216
7248
|
inputs: ["buttonBusy", "busyText"]
|
|
7217
7249
|
},
|
|
@@ -7256,7 +7288,7 @@ var EditUserProfileModalComponent = class EditUserProfileModalComponent extends
|
|
|
7256
7288
|
},
|
|
7257
7289
|
{
|
|
7258
7290
|
kind: "directive",
|
|
7259
|
-
type:
|
|
7291
|
+
type: i9.NgxGpAutocompleteDirective,
|
|
7260
7292
|
selector: "[ngx-gp-autocomplete]",
|
|
7261
7293
|
inputs: ["options"],
|
|
7262
7294
|
outputs: ["onAddressChange"],
|
|
@@ -7264,7 +7296,7 @@ var EditUserProfileModalComponent = class EditUserProfileModalComponent extends
|
|
|
7264
7296
|
},
|
|
7265
7297
|
{
|
|
7266
7298
|
kind: "component",
|
|
7267
|
-
type:
|
|
7299
|
+
type: i11.Select,
|
|
7268
7300
|
selector: "p-select",
|
|
7269
7301
|
inputs: [
|
|
7270
7302
|
"id",
|
|
@@ -7414,12 +7446,12 @@ var EditUserProfileModalComponent = class EditUserProfileModalComponent extends
|
|
|
7414
7446
|
},
|
|
7415
7447
|
{
|
|
7416
7448
|
kind: "pipe",
|
|
7417
|
-
type:
|
|
7449
|
+
type: i8$1.AsyncPipe,
|
|
7418
7450
|
name: "async"
|
|
7419
7451
|
},
|
|
7420
7452
|
{
|
|
7421
7453
|
kind: "pipe",
|
|
7422
|
-
type:
|
|
7454
|
+
type: i14.TranslocoPipe,
|
|
7423
7455
|
name: "transloco"
|
|
7424
7456
|
}
|
|
7425
7457
|
]
|
|
@@ -7621,12 +7653,12 @@ var UserAboutComponent = class UserAboutComponent extends AppBaseComponent {
|
|
|
7621
7653
|
dependencies: [
|
|
7622
7654
|
{
|
|
7623
7655
|
kind: "directive",
|
|
7624
|
-
type:
|
|
7656
|
+
type: i7$1.LazyImgDirective,
|
|
7625
7657
|
selector: "img"
|
|
7626
7658
|
},
|
|
7627
7659
|
{
|
|
7628
7660
|
kind: "component",
|
|
7629
|
-
type:
|
|
7661
|
+
type: i12$1.ProgressSpinner,
|
|
7630
7662
|
selector: "p-progress-spinner, p-progressspinner",
|
|
7631
7663
|
inputs: [
|
|
7632
7664
|
"value",
|
|
@@ -7672,7 +7704,7 @@ var UserAboutComponent = class UserAboutComponent extends AppBaseComponent {
|
|
|
7672
7704
|
},
|
|
7673
7705
|
{
|
|
7674
7706
|
kind: "pipe",
|
|
7675
|
-
type:
|
|
7707
|
+
type: i14.TranslocoPipe,
|
|
7676
7708
|
name: "transloco"
|
|
7677
7709
|
},
|
|
7678
7710
|
{
|
|
@@ -7799,12 +7831,12 @@ var PortfoliosComponent = class PortfoliosComponent {
|
|
|
7799
7831
|
dependencies: [
|
|
7800
7832
|
{
|
|
7801
7833
|
kind: "directive",
|
|
7802
|
-
type:
|
|
7834
|
+
type: i7$1.LazyImgDirective,
|
|
7803
7835
|
selector: "img"
|
|
7804
7836
|
},
|
|
7805
7837
|
{
|
|
7806
7838
|
kind: "component",
|
|
7807
|
-
type:
|
|
7839
|
+
type: i12$1.ProgressSpinner,
|
|
7808
7840
|
selector: "p-progress-spinner, p-progressspinner",
|
|
7809
7841
|
inputs: [
|
|
7810
7842
|
"value",
|
|
@@ -7979,12 +8011,12 @@ var UserProjectsComponent = class UserProjectsComponent extends AppBaseComponent
|
|
|
7979
8011
|
dependencies: [
|
|
7980
8012
|
{
|
|
7981
8013
|
kind: "directive",
|
|
7982
|
-
type:
|
|
8014
|
+
type: i7$1.LazyImgDirective,
|
|
7983
8015
|
selector: "img"
|
|
7984
8016
|
},
|
|
7985
8017
|
{
|
|
7986
8018
|
kind: "directive",
|
|
7987
|
-
type:
|
|
8019
|
+
type: i8$1.NgClass,
|
|
7988
8020
|
selector: "[ngClass]",
|
|
7989
8021
|
inputs: ["class", "ngClass"]
|
|
7990
8022
|
},
|
|
@@ -7995,7 +8027,7 @@ var UserProjectsComponent = class UserProjectsComponent extends AppBaseComponent
|
|
|
7995
8027
|
},
|
|
7996
8028
|
{
|
|
7997
8029
|
kind: "component",
|
|
7998
|
-
type:
|
|
8030
|
+
type: i12$1.ProgressSpinner,
|
|
7999
8031
|
selector: "p-progress-spinner, p-progressspinner",
|
|
8000
8032
|
inputs: [
|
|
8001
8033
|
"value",
|
|
@@ -8084,7 +8116,7 @@ var UserProjectsComponent = class UserProjectsComponent extends AppBaseComponent
|
|
|
8084
8116
|
},
|
|
8085
8117
|
{
|
|
8086
8118
|
kind: "pipe",
|
|
8087
|
-
type:
|
|
8119
|
+
type: i14.TranslocoPipe,
|
|
8088
8120
|
name: "transloco"
|
|
8089
8121
|
}
|
|
8090
8122
|
]
|
|
@@ -8331,7 +8363,7 @@ var UserProfilePageComponent = class UserProfilePageComponent extends AppBaseCom
|
|
|
8331
8363
|
dependencies: [
|
|
8332
8364
|
{
|
|
8333
8365
|
kind: "directive",
|
|
8334
|
-
type:
|
|
8366
|
+
type: i7$1.LazyImgDirective,
|
|
8335
8367
|
selector: "img"
|
|
8336
8368
|
},
|
|
8337
8369
|
{
|
|
@@ -8363,7 +8395,7 @@ var UserProfilePageComponent = class UserProfilePageComponent extends AppBaseCom
|
|
|
8363
8395
|
},
|
|
8364
8396
|
{
|
|
8365
8397
|
kind: "component",
|
|
8366
|
-
type:
|
|
8398
|
+
type: i12$1.ProgressSpinner,
|
|
8367
8399
|
selector: "p-progress-spinner, p-progressspinner",
|
|
8368
8400
|
inputs: [
|
|
8369
8401
|
"value",
|
|
@@ -8377,7 +8409,7 @@ var UserProfilePageComponent = class UserProfilePageComponent extends AppBaseCom
|
|
|
8377
8409
|
},
|
|
8378
8410
|
{
|
|
8379
8411
|
kind: "component",
|
|
8380
|
-
type:
|
|
8412
|
+
type: i13.ProfileImageCropperComponent,
|
|
8381
8413
|
selector: "pw-image-cropper",
|
|
8382
8414
|
inputs: ["aspectRatio", "dynamicData"],
|
|
8383
8415
|
outputs: [
|
|
@@ -8411,7 +8443,7 @@ var UserProfilePageComponent = class UserProfilePageComponent extends AppBaseCom
|
|
|
8411
8443
|
},
|
|
8412
8444
|
{
|
|
8413
8445
|
kind: "pipe",
|
|
8414
|
-
type:
|
|
8446
|
+
type: i14.TranslocoPipe,
|
|
8415
8447
|
name: "transloco"
|
|
8416
8448
|
}
|
|
8417
8449
|
]
|