@posiwise/user-module 0.0.174 → 0.0.176

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 i7$1 from "@angular/common";
1
+ import * as i7$2 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,40 +6,42 @@ 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 i8$1 from "@angular-magic/ngx-gp-autocomplete";
9
+ import * as i9$1 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 i5$2 from "@posiwise/app-loader";
12
+ import * as i5$1 from "@posiwise/app-loader";
13
13
  import { AppLoaderModule } from "@posiwise/app-loader";
14
+ import * as i8$1 from "@posiwise/core-guards";
15
+ import { TrackDirtyFormDirective } from "@posiwise/core-guards";
14
16
  import { CoreTranslocoModule } from "@posiwise/core-transloco";
15
- import * as i6$3 from "@posiwise/directives";
17
+ import * as i6$2 from "@posiwise/directives";
16
18
  import { DirectivesModule } from "@posiwise/directives";
17
- import * as i6$2 from "@posiwise/pipes";
19
+ import * as i6$1 from "@posiwise/pipes";
18
20
  import { PipesModule } from "@posiwise/pipes";
19
21
  import * as i2$3 from "@posiwise/shared-components";
20
22
  import { SharedComponentsModule } from "@posiwise/shared-components";
21
- import * as i5 from "ngx-captcha";
23
+ import * as i6 from "ngx-captcha";
22
24
  import { NgxCaptchaModule } from "ngx-captcha";
23
- import * as i12 from "ngx-ui-switch";
25
+ import * as i13 from "ngx-ui-switch";
24
26
  import { UiSwitchModule } from "ngx-ui-switch";
25
27
  import * as i2 from "primeng/accordion";
26
28
  import { AccordionModule } from "primeng/accordion";
27
- import * as i7 from "primeng/datepicker";
29
+ import * as i8 from "primeng/datepicker";
28
30
  import { DatePickerModule } from "primeng/datepicker";
29
- import * as i6$1 from "primeng/fileupload";
31
+ import * as i7$1 from "primeng/fileupload";
30
32
  import { FileUploadModule } from "primeng/fileupload";
31
33
  import * as i1 from "primeng/inputtext";
32
34
  import { InputTextModule } from "primeng/inputtext";
33
35
  import { MultiSelectModule } from "primeng/multiselect";
34
- import * as i11 from "primeng/progressspinner";
36
+ import * as i12 from "primeng/progressspinner";
35
37
  import { ProgressSpinnerModule } from "primeng/progressspinner";
36
- import * as i6 from "primeng/rating";
38
+ import * as i7 from "primeng/rating";
37
39
  import { RatingModule } from "primeng/rating";
38
- import * as i10 from "primeng/select";
40
+ import * as i11 from "primeng/select";
39
41
  import { SelectModule } from "primeng/select";
40
- import * as i8 from "primeng/selectbutton";
42
+ import * as i9 from "primeng/selectbutton";
41
43
  import { SelectButtonModule } from "primeng/selectbutton";
42
- import * as i9 from "primeng/tooltip";
44
+ import * as i10 from "primeng/tooltip";
43
45
  import { TooltipModule } from "primeng/tooltip";
44
46
  import { Loader } from "@googlemaps/js-api-loader";
45
47
  import * as i2$2 from "@ng-bootstrap/ng-bootstrap";
@@ -48,14 +50,14 @@ import { __decorate } from "tslib";
48
50
  import { AppBaseComponent } from "@posiwise/app-base-component";
49
51
  import { AppUser, POLL_TIMEOUT, PRODUCT_CATEGORY, Project, TAG_ENTITY, TAG_TYPE } from "@posiwise/common-utilities";
50
52
  import { HelperService } from "@posiwise/helper-service";
51
- import * as i12$1 from "@posiwise/utils";
53
+ import * as i13$1 from "@posiwise/utils";
52
54
  import { ValidateForm, appendQueryParam, clearQueryParams } from "@posiwise/utils";
53
55
  import { StatusCodes } from "http-status-codes";
54
56
  import { firstValueFrom, forkJoin, from, interval, map } from "rxjs";
55
57
  import { getDomain } from "tldts";
56
58
  import * as i3 from "@posiwise/common-services";
57
59
  import { FormHelperService, PermissionService, ValidationService, hasKnowledgeAlpha } from "@posiwise/common-services";
58
- import * as i13 from "@jsverse/transloco";
60
+ import * as i14 from "@jsverse/transloco";
59
61
  import cloneDeep from "lodash/cloneDeep";
60
62
  import sortBy from "lodash/sortBy";
61
63
  import { distinct, mergeMap } from "rxjs/operators";
@@ -64,7 +66,7 @@ import { GetUser, getUser } from "@posiwise/app-store";
64
66
  import * as i4$3 from "@ngrx/store";
65
67
  import * as i2$1 from "@posiwise/admin-module-utils";
66
68
  import { AppAdmin } from "@posiwise/admin-module-utils";
67
- import * as i5$1 from "@angular/cdk/clipboard";
69
+ import * as i5 from "@angular/cdk/clipboard";
68
70
  import * as i4$2 from "primeng/table";
69
71
  import moment from "moment";
70
72
  import * as i4$1 from "primeng/autocomplete";
@@ -303,6 +305,7 @@ var AccountDetailsComponent = class AccountDetailsComponent extends AppBaseCompo
303
305
  if (val === "" || val === null) delete data[key];
304
306
  });
305
307
  this.profileService.updateUserProfile(data).subscribe(() => {
308
+ this.profileForm.markAsPristine();
306
309
  this.toast.success(this.translation.translate("User.Profile.ProfileUpdated"));
307
310
  this.cdr.markForCheck();
308
311
  }).add(() => {
@@ -313,6 +316,7 @@ var AccountDetailsComponent = class AccountDetailsComponent extends AppBaseCompo
313
316
  onAvatarSave() {
314
317
  const data = { avatar: this.profileForm.get("avatar")?.value };
315
318
  this.profileService.updateUserProfile(data).subscribe(() => {
319
+ this.profileForm.markAsPristine();
316
320
  this.toast.success(this.translation.translate("User.Profile.ProfileUpdated"));
317
321
  this.cdr.markForCheck();
318
322
  });
@@ -555,7 +559,7 @@ var AccountDetailsComponent = class AccountDetailsComponent extends AppBaseCompo
555
559
  dependencies: [
556
560
  {
557
561
  kind: "component",
558
- type: i5$2.AppLoaderComponent,
562
+ type: i5$1.AppLoaderComponent,
559
563
  selector: "pw-loader",
560
564
  inputs: [
561
565
  "isVisible",
@@ -565,18 +569,18 @@ var AccountDetailsComponent = class AccountDetailsComponent extends AppBaseCompo
565
569
  },
566
570
  {
567
571
  kind: "directive",
568
- type: i6$3.ButtonBusyDirective,
572
+ type: i6$2.ButtonBusyDirective,
569
573
  selector: "[buttonBusy]",
570
574
  inputs: ["buttonBusy", "busyText"]
571
575
  },
572
576
  {
573
577
  kind: "directive",
574
- type: i6$3.LazyImgDirective,
578
+ type: i6$2.LazyImgDirective,
575
579
  selector: "img"
576
580
  },
577
581
  {
578
582
  kind: "directive",
579
- type: i7$1.NgClass,
583
+ type: i7$2.NgClass,
580
584
  selector: "[ngClass]",
581
585
  inputs: ["class", "ngClass"]
582
586
  },
@@ -621,7 +625,12 @@ var AccountDetailsComponent = class AccountDetailsComponent extends AppBaseCompo
621
625
  },
622
626
  {
623
627
  kind: "directive",
624
- type: i8$1.NgxGpAutocompleteDirective,
628
+ type: i8$1.TrackDirtyFormDirective,
629
+ selector: "[formGroup]:not([formGroupSkipDirty])"
630
+ },
631
+ {
632
+ kind: "directive",
633
+ type: i9$1.NgxGpAutocompleteDirective,
625
634
  selector: "[ngx-gp-autocomplete]",
626
635
  inputs: ["options"],
627
636
  outputs: ["onAddressChange"],
@@ -629,7 +638,7 @@ var AccountDetailsComponent = class AccountDetailsComponent extends AppBaseCompo
629
638
  },
630
639
  {
631
640
  kind: "directive",
632
- type: i9.Tooltip,
641
+ type: i10.Tooltip,
633
642
  selector: "[pTooltip]",
634
643
  inputs: [
635
644
  "tooltipPosition",
@@ -657,7 +666,7 @@ var AccountDetailsComponent = class AccountDetailsComponent extends AppBaseCompo
657
666
  },
658
667
  {
659
668
  kind: "component",
660
- type: i10.Select,
669
+ type: i11.Select,
661
670
  selector: "p-select",
662
671
  inputs: [
663
672
  "id",
@@ -727,7 +736,7 @@ var AccountDetailsComponent = class AccountDetailsComponent extends AppBaseCompo
727
736
  },
728
737
  {
729
738
  kind: "component",
730
- type: i11.ProgressSpinner,
739
+ type: i12.ProgressSpinner,
731
740
  selector: "p-progress-spinner, p-progressspinner",
732
741
  inputs: [
733
742
  "value",
@@ -754,7 +763,7 @@ var AccountDetailsComponent = class AccountDetailsComponent extends AppBaseCompo
754
763
  },
755
764
  {
756
765
  kind: "component",
757
- type: i12$1.ProfileImageCropperComponent,
766
+ type: i13$1.ProfileImageCropperComponent,
758
767
  selector: "pw-image-cropper",
759
768
  inputs: ["aspectRatio", "dynamicData"],
760
769
  outputs: [
@@ -823,22 +832,22 @@ var AccountDetailsComponent = class AccountDetailsComponent extends AppBaseCompo
823
832
  },
824
833
  {
825
834
  kind: "pipe",
826
- type: i7$1.AsyncPipe,
835
+ type: i7$2.AsyncPipe,
827
836
  name: "async"
828
837
  },
829
838
  {
830
839
  kind: "pipe",
831
- type: i7$1.DecimalPipe,
840
+ type: i7$2.DecimalPipe,
832
841
  name: "number"
833
842
  },
834
843
  {
835
844
  kind: "pipe",
836
- type: i7$1.DatePipe,
845
+ type: i7$2.DatePipe,
837
846
  name: "date"
838
847
  },
839
848
  {
840
849
  kind: "pipe",
841
- type: i13.TranslocoPipe,
850
+ type: i14.TranslocoPipe,
842
851
  name: "transloco"
843
852
  }
844
853
  ]
@@ -998,17 +1007,17 @@ var AddSubscriptionComponent = class AddSubscriptionComponent extends AppBaseCom
998
1007
  },
999
1008
  {
1000
1009
  kind: "pipe",
1001
- type: i7$1.DecimalPipe,
1010
+ type: i7$2.DecimalPipe,
1002
1011
  name: "number"
1003
1012
  },
1004
1013
  {
1005
1014
  kind: "pipe",
1006
- type: i13.TranslocoPipe,
1015
+ type: i14.TranslocoPipe,
1007
1016
  name: "transloco"
1008
1017
  },
1009
1018
  {
1010
1019
  kind: "pipe",
1011
- type: i6$2.CurrencySymbolPipe,
1020
+ type: i6$1.CurrencySymbolPipe,
1012
1021
  name: "currencySymbol"
1013
1022
  }
1014
1023
  ]
@@ -1384,8 +1393,10 @@ var SubscriptionCredentialComponent = class SubscriptionCredentialComponent exte
1384
1393
  }
1385
1394
  });
1386
1395
  forkJoin(subscription$).subscribe((response) => {
1387
- if (response?.length) this.toast.success(this.translation.translate("User.Subscriptions.SubscriptionCredentials.UpdateMessage"));
1388
- else this.toast.error(`Something went wrong while saving credentials`);
1396
+ if (response?.length) {
1397
+ this.form.markAsPristine();
1398
+ this.toast.success(this.translation.translate("User.Subscriptions.SubscriptionCredentials.UpdateMessage"));
1399
+ } else this.toast.error(`Something went wrong while saving credentials`);
1389
1400
  this.cdr.markForCheck();
1390
1401
  }).add(() => {
1391
1402
  this.submitted = false;
@@ -1434,9 +1445,6 @@ var SubscriptionCredentialComponent = class SubscriptionCredentialComponent exte
1434
1445
  this.isEdit = false;
1435
1446
  this.showForm = true;
1436
1447
  }
1437
- ngOnDestroy() {
1438
- super.ngOnDestroy();
1439
- }
1440
1448
  static {
1441
1449
  this.ɵfac = i0.ɵɵngDeclareFactory({
1442
1450
  minVersion: "12.0.0",
@@ -1486,7 +1494,7 @@ var SubscriptionCredentialComponent = class SubscriptionCredentialComponent exte
1486
1494
  dependencies: [
1487
1495
  {
1488
1496
  kind: "component",
1489
- type: i5$2.AppLoaderComponent,
1497
+ type: i5$1.AppLoaderComponent,
1490
1498
  selector: "pw-loader",
1491
1499
  inputs: [
1492
1500
  "isVisible",
@@ -1496,13 +1504,13 @@ var SubscriptionCredentialComponent = class SubscriptionCredentialComponent exte
1496
1504
  },
1497
1505
  {
1498
1506
  kind: "directive",
1499
- type: i6$3.ButtonBusyDirective,
1507
+ type: i6$2.ButtonBusyDirective,
1500
1508
  selector: "[buttonBusy]",
1501
1509
  inputs: ["buttonBusy", "busyText"]
1502
1510
  },
1503
1511
  {
1504
1512
  kind: "directive",
1505
- type: i7$1.NgClass,
1513
+ type: i7$2.NgClass,
1506
1514
  selector: "[ngClass]",
1507
1515
  inputs: ["class", "ngClass"]
1508
1516
  },
@@ -1557,6 +1565,11 @@ var SubscriptionCredentialComponent = class SubscriptionCredentialComponent exte
1557
1565
  selector: "[formArrayName]",
1558
1566
  inputs: ["formArrayName"]
1559
1567
  },
1568
+ {
1569
+ kind: "directive",
1570
+ type: i8$1.TrackDirtyFormDirective,
1571
+ selector: "[formGroup]:not([formGroupSkipDirty])"
1572
+ },
1560
1573
  {
1561
1574
  kind: "component",
1562
1575
  type: i2$3.PasswordValidationComponent,
@@ -1566,7 +1579,7 @@ var SubscriptionCredentialComponent = class SubscriptionCredentialComponent exte
1566
1579
  },
1567
1580
  {
1568
1581
  kind: "component",
1569
- type: i10.Select,
1582
+ type: i11.Select,
1570
1583
  selector: "p-select",
1571
1584
  inputs: [
1572
1585
  "id",
@@ -1674,12 +1687,12 @@ var SubscriptionCredentialComponent = class SubscriptionCredentialComponent exte
1674
1687
  },
1675
1688
  {
1676
1689
  kind: "pipe",
1677
- type: i7$1.AsyncPipe,
1690
+ type: i7$2.AsyncPipe,
1678
1691
  name: "async"
1679
1692
  },
1680
1693
  {
1681
1694
  kind: "pipe",
1682
- type: i13.TranslocoPipe,
1695
+ type: i14.TranslocoPipe,
1683
1696
  name: "transloco"
1684
1697
  },
1685
1698
  {
@@ -1935,7 +1948,7 @@ var SecondaryPaymentMethodComponent = class SecondaryPaymentMethodComponent {
1935
1948
  { token: i3.SubscriptionService },
1936
1949
  { token: i3.UserService },
1937
1950
  { token: i3.CustomToastService },
1938
- { token: i13.TranslocoService },
1951
+ { token: i14.TranslocoService },
1939
1952
  { token: i0.ChangeDetectorRef }
1940
1953
  ],
1941
1954
  target: i0.ɵɵFactoryTarget.Component
@@ -1967,13 +1980,13 @@ var SecondaryPaymentMethodComponent = class SecondaryPaymentMethodComponent {
1967
1980
  dependencies: [
1968
1981
  {
1969
1982
  kind: "directive",
1970
- type: i6$3.ButtonBusyDirective,
1983
+ type: i6$2.ButtonBusyDirective,
1971
1984
  selector: "[buttonBusy]",
1972
1985
  inputs: ["buttonBusy", "busyText"]
1973
1986
  },
1974
1987
  {
1975
1988
  kind: "directive",
1976
- type: i9.Tooltip,
1989
+ type: i10.Tooltip,
1977
1990
  selector: "[pTooltip]",
1978
1991
  inputs: [
1979
1992
  "tooltipPosition",
@@ -2001,7 +2014,7 @@ var SecondaryPaymentMethodComponent = class SecondaryPaymentMethodComponent {
2001
2014
  },
2002
2015
  {
2003
2016
  kind: "component",
2004
- type: i11.ProgressSpinner,
2017
+ type: i12.ProgressSpinner,
2005
2018
  selector: "p-progress-spinner, p-progressspinner",
2006
2019
  inputs: [
2007
2020
  "value",
@@ -2026,7 +2039,7 @@ var SecondaryPaymentMethodComponent = class SecondaryPaymentMethodComponent {
2026
2039
  },
2027
2040
  {
2028
2041
  kind: "pipe",
2029
- type: i13.TranslocoPipe,
2042
+ type: i14.TranslocoPipe,
2030
2043
  name: "transloco"
2031
2044
  }
2032
2045
  ]
@@ -2051,7 +2064,7 @@ i0.ɵɵngDeclareClassMetadata({
2051
2064
  { type: i3.SubscriptionService },
2052
2065
  { type: i3.UserService },
2053
2066
  { type: i3.CustomToastService },
2054
- { type: i13.TranslocoService },
2067
+ { type: i14.TranslocoService },
2055
2068
  { type: i0.ChangeDetectorRef }
2056
2069
  ],
2057
2070
  propDecorators: {
@@ -2141,6 +2154,7 @@ var UpdatePaymentDetailsComponent = class UpdatePaymentDetailsComponent extends
2141
2154
  this.subscriptionService.updateCardDetails(this.form.value, this.subscriptionId).subscribe({ next: (response) => {
2142
2155
  if (response.error) this.toast.error(response.error.errors[0].message);
2143
2156
  else if (response.status === StatusCodes.CREATED) this.toast.success(response.message);
2157
+ this.form.markAsPristine();
2144
2158
  this.cancel();
2145
2159
  } }).add(() => {
2146
2160
  this.busy = false;
@@ -2184,13 +2198,13 @@ var UpdatePaymentDetailsComponent = class UpdatePaymentDetailsComponent extends
2184
2198
  dependencies: [
2185
2199
  {
2186
2200
  kind: "directive",
2187
- type: i6$3.ButtonBusyDirective,
2201
+ type: i6$2.ButtonBusyDirective,
2188
2202
  selector: "[buttonBusy]",
2189
2203
  inputs: ["buttonBusy", "busyText"]
2190
2204
  },
2191
2205
  {
2192
2206
  kind: "directive",
2193
- type: i6$3.LazyImgDirective,
2207
+ type: i6$2.LazyImgDirective,
2194
2208
  selector: "img"
2195
2209
  },
2196
2210
  {
@@ -2232,9 +2246,14 @@ var UpdatePaymentDetailsComponent = class UpdatePaymentDetailsComponent extends
2232
2246
  ],
2233
2247
  outputs: ["ngModelChange"]
2234
2248
  },
2249
+ {
2250
+ kind: "directive",
2251
+ type: i8$1.TrackDirtyFormDirective,
2252
+ selector: "[formGroup]:not([formGroupSkipDirty])"
2253
+ },
2235
2254
  {
2236
2255
  kind: "component",
2237
- type: i10.Select,
2256
+ type: i11.Select,
2238
2257
  selector: "p-select",
2239
2258
  inputs: [
2240
2259
  "id",
@@ -2304,7 +2323,7 @@ var UpdatePaymentDetailsComponent = class UpdatePaymentDetailsComponent extends
2304
2323
  },
2305
2324
  {
2306
2325
  kind: "component",
2307
- type: i11.ProgressSpinner,
2326
+ type: i12.ProgressSpinner,
2308
2327
  selector: "p-progress-spinner, p-progressspinner",
2309
2328
  inputs: [
2310
2329
  "value",
@@ -2341,7 +2360,7 @@ var UpdatePaymentDetailsComponent = class UpdatePaymentDetailsComponent extends
2341
2360
  },
2342
2361
  {
2343
2362
  kind: "pipe",
2344
- type: i13.TranslocoPipe,
2363
+ type: i14.TranslocoPipe,
2345
2364
  name: "transloco"
2346
2365
  }
2347
2366
  ]
@@ -2466,6 +2485,7 @@ var UpgradeSubscriptionComponent = class UpgradeSubscriptionComponent extends Ap
2466
2485
  };
2467
2486
  this.userService.addNewSubscriptionUsingStripe(data).subscribe({
2468
2487
  next: () => {
2488
+ this.form.markAsPristine();
2469
2489
  this.toast.success(this.translation.translate("User.Subscriptions.SubscriptionPurchased"));
2470
2490
  this.router.navigate(["/account/subscriptions"]);
2471
2491
  this.modalService.dismissAll();
@@ -2525,6 +2545,7 @@ var UpgradeSubscriptionComponent = class UpgradeSubscriptionComponent extends Ap
2525
2545
  next: (response) => {
2526
2546
  this.store.dispatch(new GetUser());
2527
2547
  if (response.id) {
2548
+ this.form.markAsPristine();
2528
2549
  this.router.navigate(["/account/subscriptions"]);
2529
2550
  this.toast.success(this.translation.translate("User.Subscriptions.SubscriptionPurchased"));
2530
2551
  this.isPurchaseAttempted = false;
@@ -2642,13 +2663,13 @@ var UpgradeSubscriptionComponent = class UpgradeSubscriptionComponent extends Ap
2642
2663
  dependencies: [
2643
2664
  {
2644
2665
  kind: "directive",
2645
- type: i6$3.ButtonBusyDirective,
2666
+ type: i6$2.ButtonBusyDirective,
2646
2667
  selector: "[buttonBusy]",
2647
2668
  inputs: ["buttonBusy", "busyText"]
2648
2669
  },
2649
2670
  {
2650
2671
  kind: "directive",
2651
- type: i6$3.LazyImgDirective,
2672
+ type: i6$2.LazyImgDirective,
2652
2673
  selector: "img"
2653
2674
  },
2654
2675
  {
@@ -2709,6 +2730,11 @@ var UpgradeSubscriptionComponent = class UpgradeSubscriptionComponent extends Ap
2709
2730
  ],
2710
2731
  outputs: ["ngModelChange"]
2711
2732
  },
2733
+ {
2734
+ kind: "directive",
2735
+ type: i8$1.TrackDirtyFormDirective,
2736
+ selector: "[formGroup]:not([formGroupSkipDirty])"
2737
+ },
2712
2738
  {
2713
2739
  kind: "component",
2714
2740
  type: i2$3.PasswordValidationComponent,
@@ -2718,7 +2744,7 @@ var UpgradeSubscriptionComponent = class UpgradeSubscriptionComponent extends Ap
2718
2744
  },
2719
2745
  {
2720
2746
  kind: "component",
2721
- type: i10.Select,
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: i7$1.DecimalPipe,
2866
+ type: i7$2.DecimalPipe,
2841
2867
  name: "number"
2842
2868
  },
2843
2869
  {
2844
2870
  kind: "pipe",
2845
- type: i13.TranslocoPipe,
2871
+ type: i14.TranslocoPipe,
2846
2872
  name: "transloco"
2847
2873
  }
2848
2874
  ]
@@ -3024,6 +3050,7 @@ var UserSubscriptionDetailsComponent = class UserSubscriptionDetailsComponent ex
3024
3050
  const formValue = { ...this.form.value };
3025
3051
  if (formValue.invoice_recipient_emails) formValue.invoice_recipient_emails = formValue.invoice_recipient_emails.split(",").map((email) => email.trim()).join(",");
3026
3052
  this.subscriptionService.updateSubscription(Number(this.subscriptionId), formValue).subscribe(() => {
3053
+ this.form.markAsPristine();
3027
3054
  this.toast.success("Subscription details updated.");
3028
3055
  this.store.dispatch(new GetUser());
3029
3056
  this.back();
@@ -3132,24 +3159,24 @@ var UserSubscriptionDetailsComponent = class UserSubscriptionDetailsComponent ex
3132
3159
  dependencies: [
3133
3160
  {
3134
3161
  kind: "directive",
3135
- type: i6$3.ButtonBusyDirective,
3162
+ type: i6$2.ButtonBusyDirective,
3136
3163
  selector: "[buttonBusy]",
3137
3164
  inputs: ["buttonBusy", "busyText"]
3138
3165
  },
3139
3166
  {
3140
3167
  kind: "directive",
3141
- type: i6$3.LazyImgDirective,
3168
+ type: i6$2.LazyImgDirective,
3142
3169
  selector: "img"
3143
3170
  },
3144
3171
  {
3145
3172
  kind: "directive",
3146
- type: i6$3.RbacAllowDirective,
3173
+ type: i6$2.RbacAllowDirective,
3147
3174
  selector: "[rbacAllow]",
3148
3175
  inputs: ["rbacAllow"]
3149
3176
  },
3150
3177
  {
3151
3178
  kind: "directive",
3152
- type: i7$1.NgClass,
3179
+ type: i7$2.NgClass,
3153
3180
  selector: "[ngClass]",
3154
3181
  inputs: ["class", "ngClass"]
3155
3182
  },
@@ -3213,7 +3240,12 @@ var UserSubscriptionDetailsComponent = class UserSubscriptionDetailsComponent ex
3213
3240
  },
3214
3241
  {
3215
3242
  kind: "directive",
3216
- type: i8$1.NgxGpAutocompleteDirective,
3243
+ type: i8$1.TrackDirtyFormDirective,
3244
+ selector: "[formGroup]:not([formGroupSkipDirty])"
3245
+ },
3246
+ {
3247
+ kind: "directive",
3248
+ type: i9$1.NgxGpAutocompleteDirective,
3217
3249
  selector: "[ngx-gp-autocomplete]",
3218
3250
  inputs: ["options"],
3219
3251
  outputs: ["onAddressChange"],
@@ -3228,7 +3260,7 @@ var UserSubscriptionDetailsComponent = class UserSubscriptionDetailsComponent ex
3228
3260
  },
3229
3261
  {
3230
3262
  kind: "directive",
3231
- type: i9.Tooltip,
3263
+ type: i10.Tooltip,
3232
3264
  selector: "[pTooltip]",
3233
3265
  inputs: [
3234
3266
  "tooltipPosition",
@@ -3256,7 +3288,7 @@ var UserSubscriptionDetailsComponent = class UserSubscriptionDetailsComponent ex
3256
3288
  },
3257
3289
  {
3258
3290
  kind: "component",
3259
- type: i10.Select,
3291
+ type: i11.Select,
3260
3292
  selector: "p-select",
3261
3293
  inputs: [
3262
3294
  "id",
@@ -3326,7 +3358,7 @@ var UserSubscriptionDetailsComponent = class UserSubscriptionDetailsComponent ex
3326
3358
  },
3327
3359
  {
3328
3360
  kind: "component",
3329
- type: i12.UiSwitchComponent,
3361
+ type: i13.UiSwitchComponent,
3330
3362
  selector: "ui-switch",
3331
3363
  inputs: [
3332
3364
  "size",
@@ -3392,7 +3424,7 @@ var UserSubscriptionDetailsComponent = class UserSubscriptionDetailsComponent ex
3392
3424
  },
3393
3425
  {
3394
3426
  kind: "component",
3395
- type: i12$1.ProfileImageCropperComponent,
3427
+ type: i13$1.ProfileImageCropperComponent,
3396
3428
  selector: "pw-image-cropper",
3397
3429
  inputs: ["aspectRatio", "dynamicData"],
3398
3430
  outputs: [
@@ -3426,27 +3458,27 @@ var UserSubscriptionDetailsComponent = class UserSubscriptionDetailsComponent ex
3426
3458
  },
3427
3459
  {
3428
3460
  kind: "pipe",
3429
- type: i7$1.AsyncPipe,
3461
+ type: i7$2.AsyncPipe,
3430
3462
  name: "async"
3431
3463
  },
3432
3464
  {
3433
3465
  kind: "pipe",
3434
- type: i7$1.DecimalPipe,
3466
+ type: i7$2.DecimalPipe,
3435
3467
  name: "number"
3436
3468
  },
3437
3469
  {
3438
3470
  kind: "pipe",
3439
- type: i7$1.CurrencyPipe,
3471
+ type: i7$2.CurrencyPipe,
3440
3472
  name: "currency"
3441
3473
  },
3442
3474
  {
3443
3475
  kind: "pipe",
3444
- type: i13.TranslocoPipe,
3476
+ type: i14.TranslocoPipe,
3445
3477
  name: "transloco"
3446
3478
  },
3447
3479
  {
3448
3480
  kind: "pipe",
3449
- type: i6$2.CurrencySymbolPipe,
3481
+ type: i6$1.CurrencySymbolPipe,
3450
3482
  name: "currencySymbol"
3451
3483
  }
3452
3484
  ]
@@ -3679,7 +3711,7 @@ var UserSubscriptionListComponent = class UserSubscriptionListComponent extends
3679
3711
  { token: i2$1.AdminService },
3680
3712
  { token: i2$2.NgbModal },
3681
3713
  { token: i4$3.Store },
3682
- { token: i5$1.Clipboard },
3714
+ { token: i5.Clipboard },
3683
3715
  { token: i0.Injector },
3684
3716
  { token: i0.ChangeDetectorRef },
3685
3717
  { token: i2$3.ConfirmDialogService }
@@ -3739,13 +3771,13 @@ var UserSubscriptionListComponent = class UserSubscriptionListComponent extends
3739
3771
  dependencies: [
3740
3772
  {
3741
3773
  kind: "directive",
3742
- type: i6$3.RbacAllowDirective,
3774
+ type: i6$2.RbacAllowDirective,
3743
3775
  selector: "[rbacAllow]",
3744
3776
  inputs: ["rbacAllow"]
3745
3777
  },
3746
3778
  {
3747
3779
  kind: "directive",
3748
- type: i7$1.NgClass,
3780
+ type: i7$2.NgClass,
3749
3781
  selector: "[ngClass]",
3750
3782
  inputs: ["class", "ngClass"]
3751
3783
  },
@@ -3800,7 +3832,7 @@ var UserSubscriptionListComponent = class UserSubscriptionListComponent extends
3800
3832
  },
3801
3833
  {
3802
3834
  kind: "directive",
3803
- type: i9.Tooltip,
3835
+ type: i10.Tooltip,
3804
3836
  selector: "[pTooltip]",
3805
3837
  inputs: [
3806
3838
  "tooltipPosition",
@@ -3828,7 +3860,7 @@ var UserSubscriptionListComponent = class UserSubscriptionListComponent extends
3828
3860
  },
3829
3861
  {
3830
3862
  kind: "component",
3831
- type: i11.ProgressSpinner,
3863
+ type: i12.ProgressSpinner,
3832
3864
  selector: "p-progress-spinner, p-progressspinner",
3833
3865
  inputs: [
3834
3866
  "value",
@@ -3871,22 +3903,22 @@ var UserSubscriptionListComponent = class UserSubscriptionListComponent extends
3871
3903
  },
3872
3904
  {
3873
3905
  kind: "pipe",
3874
- type: i7$1.UpperCasePipe,
3906
+ type: i7$2.UpperCasePipe,
3875
3907
  name: "uppercase"
3876
3908
  },
3877
3909
  {
3878
3910
  kind: "pipe",
3879
- type: i7$1.DecimalPipe,
3911
+ type: i7$2.DecimalPipe,
3880
3912
  name: "number"
3881
3913
  },
3882
3914
  {
3883
3915
  kind: "pipe",
3884
- type: i13.TranslocoPipe,
3916
+ type: i14.TranslocoPipe,
3885
3917
  name: "transloco"
3886
3918
  },
3887
3919
  {
3888
3920
  kind: "pipe",
3889
- type: i6$2.DateFormatPipe,
3921
+ type: i6$1.DateFormatPipe,
3890
3922
  name: "dateFormat"
3891
3923
  }
3892
3924
  ]
@@ -3912,7 +3944,7 @@ i0.ɵɵngDeclareClassMetadata({
3912
3944
  { type: i2$1.AdminService },
3913
3945
  { type: i2$2.NgbModal },
3914
3946
  { type: i4$3.Store },
3915
- { type: i5$1.Clipboard },
3947
+ { type: i5.Clipboard },
3916
3948
  { type: i0.Injector },
3917
3949
  { type: i0.ChangeDetectorRef },
3918
3950
  { type: i2$3.ConfirmDialogService }
@@ -3955,7 +3987,6 @@ var UserInvoiceComponent = class UserInvoiceComponent extends AppBaseComponent {
3955
3987
  this.intervalTimer = interval(POLL_TIMEOUT * 60 * 1e3);
3956
3988
  this.isLoaded = false;
3957
3989
  this.page = 0;
3958
- this.totalRecords = 0;
3959
3990
  this.invoiceFrequency = [
3960
3991
  "week",
3961
3992
  "month",
@@ -4019,7 +4050,7 @@ var UserInvoiceComponent = class UserInvoiceComponent extends AppBaseComponent {
4019
4050
  selector: "pw-user-invoice",
4020
4051
  usesInheritance: true,
4021
4052
  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\">&nbsp;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\">&nbsp;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",
4053
+ 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\">&nbsp;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\">&nbsp;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
4054
  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
4055
  dependencies: [
4025
4056
  {
@@ -4038,7 +4069,7 @@ var UserInvoiceComponent = class UserInvoiceComponent extends AppBaseComponent {
4038
4069
  },
4039
4070
  {
4040
4071
  kind: "directive",
4041
- type: i6$3.DynamicBadgeDirective,
4072
+ type: i6$2.DynamicBadgeDirective,
4042
4073
  selector: "[appDynamicBadge]",
4043
4074
  inputs: [
4044
4075
  "appDynamicBadge",
@@ -4176,6 +4207,12 @@ var UserInvoiceComponent = class UserInvoiceComponent extends AppBaseComponent {
4176
4207
  selector: "[pSortableColumn]",
4177
4208
  inputs: ["pSortableColumn", "pSortableColumnDisabled"]
4178
4209
  },
4210
+ {
4211
+ kind: "directive",
4212
+ type: i4$2.ResizableColumn,
4213
+ selector: "[pResizableColumn]",
4214
+ inputs: ["pResizableColumnDisabled"]
4215
+ },
4179
4216
  {
4180
4217
  kind: "component",
4181
4218
  type: i4$2.SortIcon,
@@ -4184,7 +4221,7 @@ var UserInvoiceComponent = class UserInvoiceComponent extends AppBaseComponent {
4184
4221
  },
4185
4222
  {
4186
4223
  kind: "component",
4187
- type: i11.ProgressSpinner,
4224
+ type: i12.ProgressSpinner,
4188
4225
  selector: "p-progress-spinner, p-progressspinner",
4189
4226
  inputs: [
4190
4227
  "value",
@@ -4227,17 +4264,17 @@ var UserInvoiceComponent = class UserInvoiceComponent extends AppBaseComponent {
4227
4264
  },
4228
4265
  {
4229
4266
  kind: "pipe",
4230
- type: i7$1.CurrencyPipe,
4267
+ type: i7$2.CurrencyPipe,
4231
4268
  name: "currency"
4232
4269
  },
4233
4270
  {
4234
4271
  kind: "pipe",
4235
- type: i7$1.DatePipe,
4272
+ type: i7$2.DatePipe,
4236
4273
  name: "date"
4237
4274
  },
4238
4275
  {
4239
4276
  kind: "pipe",
4240
- type: i13.TranslocoPipe,
4277
+ type: i14.TranslocoPipe,
4241
4278
  name: "transloco"
4242
4279
  }
4243
4280
  ]
@@ -4254,7 +4291,7 @@ i0.ɵɵngDeclareClassMetadata({
4254
4291
  args: [{
4255
4292
  selector: "pw-user-invoice",
4256
4293
  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\">&nbsp;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\">&nbsp;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",
4294
+ 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\">&nbsp;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\">&nbsp;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
4295
  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
4296
  }]
4260
4297
  }],
@@ -4298,7 +4335,7 @@ var AiKnowledgeTabComponent = class AiKnowledgeTabComponent {
4298
4335
  dependencies: [
4299
4336
  {
4300
4337
  kind: "component",
4301
- type: i5$2.AppLoaderComponent,
4338
+ type: i5$1.AppLoaderComponent,
4302
4339
  selector: "pw-loader",
4303
4340
  inputs: [
4304
4341
  "isVisible",
@@ -4329,7 +4366,7 @@ var AiKnowledgeTabComponent = class AiKnowledgeTabComponent {
4329
4366
  },
4330
4367
  {
4331
4368
  kind: "pipe",
4332
- type: i13.TranslocoPipe,
4369
+ type: i14.TranslocoPipe,
4333
4370
  name: "transloco"
4334
4371
  }
4335
4372
  ]
@@ -4437,7 +4474,7 @@ var CommunicationTabComponent = class CommunicationTabComponent extends AppBaseC
4437
4474
  dependencies: [
4438
4475
  {
4439
4476
  kind: "component",
4440
- type: i11.ProgressSpinner,
4477
+ type: i12.ProgressSpinner,
4441
4478
  selector: "p-progress-spinner, p-progressspinner",
4442
4479
  inputs: [
4443
4480
  "value",
@@ -4451,7 +4488,7 @@ var CommunicationTabComponent = class CommunicationTabComponent extends AppBaseC
4451
4488
  },
4452
4489
  {
4453
4490
  kind: "component",
4454
- type: i12.UiSwitchComponent,
4491
+ type: i13.UiSwitchComponent,
4455
4492
  selector: "ui-switch",
4456
4493
  inputs: [
4457
4494
  "size",
@@ -4489,7 +4526,7 @@ var CommunicationTabComponent = class CommunicationTabComponent extends AppBaseC
4489
4526
  },
4490
4527
  {
4491
4528
  kind: "pipe",
4492
- type: i13.TranslocoPipe,
4529
+ type: i14.TranslocoPipe,
4493
4530
  name: "transloco"
4494
4531
  }
4495
4532
  ]
@@ -4598,7 +4635,7 @@ var OthersTabComponent = class OthersTabComponent extends AppBaseComponent {
4598
4635
  dependencies: [
4599
4636
  {
4600
4637
  kind: "component",
4601
- type: i11.ProgressSpinner,
4638
+ type: i12.ProgressSpinner,
4602
4639
  selector: "p-progress-spinner, p-progressspinner",
4603
4640
  inputs: [
4604
4641
  "value",
@@ -4612,7 +4649,7 @@ var OthersTabComponent = class OthersTabComponent extends AppBaseComponent {
4612
4649
  },
4613
4650
  {
4614
4651
  kind: "component",
4615
- type: i12.UiSwitchComponent,
4652
+ type: i13.UiSwitchComponent,
4616
4653
  selector: "ui-switch",
4617
4654
  inputs: [
4618
4655
  "size",
@@ -4650,7 +4687,7 @@ var OthersTabComponent = class OthersTabComponent extends AppBaseComponent {
4650
4687
  },
4651
4688
  {
4652
4689
  kind: "pipe",
4653
- type: i13.TranslocoPipe,
4690
+ type: i14.TranslocoPipe,
4654
4691
  name: "transloco"
4655
4692
  }
4656
4693
  ]
@@ -4828,7 +4865,7 @@ var SecurityTabComponent = class SecurityTabComponent extends AppBaseComponent {
4828
4865
  dependencies: [
4829
4866
  {
4830
4867
  kind: "directive",
4831
- type: i6$3.LazyImgDirective,
4868
+ type: i6$2.LazyImgDirective,
4832
4869
  selector: "img"
4833
4870
  },
4834
4871
  {
@@ -5041,7 +5078,7 @@ var SupportComponent = class SupportComponent extends AppBaseComponent {
5041
5078
  dependencies: [
5042
5079
  {
5043
5080
  kind: "directive",
5044
- type: i6$3.LazyImgDirective,
5081
+ type: i6$2.LazyImgDirective,
5045
5082
  selector: "img"
5046
5083
  },
5047
5084
  {
@@ -5065,7 +5102,7 @@ var SupportComponent = class SupportComponent extends AppBaseComponent {
5065
5102
  },
5066
5103
  {
5067
5104
  kind: "component",
5068
- type: i11.ProgressSpinner,
5105
+ type: i12.ProgressSpinner,
5069
5106
  selector: "p-progress-spinner, p-progressspinner",
5070
5107
  inputs: [
5071
5108
  "value",
@@ -5124,7 +5161,7 @@ var SupportComponent = class SupportComponent extends AppBaseComponent {
5124
5161
  },
5125
5162
  {
5126
5163
  kind: "pipe",
5127
- type: i6$2.DateFormatPipe,
5164
+ type: i6$1.DateFormatPipe,
5128
5165
  name: "dateFormat"
5129
5166
  }
5130
5167
  ]
@@ -5188,6 +5225,7 @@ var SupportDetailsComponent = class SupportDetailsComponent extends AppBaseCompo
5188
5225
  ...data,
5189
5226
  subscription_id: this.subscriptionId
5190
5227
  }).subscribe(() => {
5228
+ this.form.markAsPristine();
5191
5229
  this.back();
5192
5230
  }).add(() => {
5193
5231
  this.isLoading = false;
@@ -5290,9 +5328,14 @@ var SupportDetailsComponent = class SupportDetailsComponent extends AppBaseCompo
5290
5328
  ],
5291
5329
  outputs: ["ngModelChange"]
5292
5330
  },
5331
+ {
5332
+ kind: "directive",
5333
+ type: i8$1.TrackDirtyFormDirective,
5334
+ selector: "[formGroup]:not([formGroupSkipDirty])"
5335
+ },
5293
5336
  {
5294
5337
  kind: "component",
5295
- type: i11.ProgressSpinner,
5338
+ type: i12.ProgressSpinner,
5296
5339
  selector: "p-progress-spinner, p-progressspinner",
5297
5340
  inputs: [
5298
5341
  "value",
@@ -5342,13 +5385,13 @@ var SupportDetailsComponent = class SupportDetailsComponent extends AppBaseCompo
5342
5385
  },
5343
5386
  {
5344
5387
  kind: "component",
5345
- type: i5.ReCaptcha2Component,
5388
+ type: i6.ReCaptcha2Component,
5346
5389
  selector: "ngx-recaptcha2",
5347
5390
  inputs: ["theme", "size"]
5348
5391
  },
5349
5392
  {
5350
5393
  kind: "component",
5351
- type: i6$1.FileUpload,
5394
+ type: i7$1.FileUpload,
5352
5395
  selector: "p-fileupload",
5353
5396
  inputs: [
5354
5397
  "name",
@@ -5406,7 +5449,7 @@ var SupportDetailsComponent = class SupportDetailsComponent extends AppBaseCompo
5406
5449
  },
5407
5450
  {
5408
5451
  kind: "pipe",
5409
- type: i13.TranslocoPipe,
5452
+ type: i14.TranslocoPipe,
5410
5453
  name: "transloco"
5411
5454
  }
5412
5455
  ]
@@ -5555,18 +5598,18 @@ var EditPortfoliosComponent = class EditPortfoliosComponent {
5555
5598
  dependencies: [
5556
5599
  {
5557
5600
  kind: "directive",
5558
- type: i6$3.ButtonBusyDirective,
5601
+ type: i6$2.ButtonBusyDirective,
5559
5602
  selector: "[buttonBusy]",
5560
5603
  inputs: ["buttonBusy", "busyText"]
5561
5604
  },
5562
5605
  {
5563
5606
  kind: "directive",
5564
- type: i6$3.LazyImgDirective,
5607
+ type: i6$2.LazyImgDirective,
5565
5608
  selector: "img"
5566
5609
  },
5567
5610
  {
5568
5611
  kind: "component",
5569
- type: i6$1.FileUpload,
5612
+ type: i7$1.FileUpload,
5570
5613
  selector: "p-fileupload",
5571
5614
  inputs: [
5572
5615
  "name",
@@ -5794,13 +5837,13 @@ var EditProjectModalComponent = class EditProjectModalComponent extends AppBaseC
5794
5837
  dependencies: [
5795
5838
  {
5796
5839
  kind: "directive",
5797
- type: i6$3.ButtonBusyDirective,
5840
+ type: i6$2.ButtonBusyDirective,
5798
5841
  selector: "[buttonBusy]",
5799
5842
  inputs: ["buttonBusy", "busyText"]
5800
5843
  },
5801
5844
  {
5802
5845
  kind: "directive",
5803
- type: i7$1.NgClass,
5846
+ type: i7$2.NgClass,
5804
5847
  selector: "[ngClass]",
5805
5848
  inputs: ["class", "ngClass"]
5806
5849
  },
@@ -5854,9 +5897,14 @@ var EditProjectModalComponent = class EditProjectModalComponent extends AppBaseC
5854
5897
  ],
5855
5898
  outputs: ["ngModelChange"]
5856
5899
  },
5900
+ {
5901
+ kind: "directive",
5902
+ type: i8$1.TrackDirtyFormDirective,
5903
+ selector: "[formGroup]:not([formGroupSkipDirty])"
5904
+ },
5857
5905
  {
5858
5906
  kind: "component",
5859
- type: i10.Select,
5907
+ type: i11.Select,
5860
5908
  selector: "p-select",
5861
5909
  inputs: [
5862
5910
  "id",
@@ -5949,7 +5997,7 @@ var EditProjectModalComponent = class EditProjectModalComponent extends AppBaseC
5949
5997
  },
5950
5998
  {
5951
5999
  kind: "pipe",
5952
- type: i13.TranslocoPipe,
6000
+ type: i14.TranslocoPipe,
5953
6001
  name: "transloco"
5954
6002
  }
5955
6003
  ]
@@ -6129,7 +6177,7 @@ var EditQualificationsModalComponent = class EditQualificationsModalComponent ex
6129
6177
  dependencies: [
6130
6178
  {
6131
6179
  kind: "directive",
6132
- type: i6$3.ButtonBusyDirective,
6180
+ type: i6$2.ButtonBusyDirective,
6133
6181
  selector: "[buttonBusy]",
6134
6182
  inputs: ["buttonBusy", "busyText"]
6135
6183
  },
@@ -6172,9 +6220,14 @@ var EditQualificationsModalComponent = class EditQualificationsModalComponent ex
6172
6220
  ],
6173
6221
  outputs: ["ngModelChange"]
6174
6222
  },
6223
+ {
6224
+ kind: "directive",
6225
+ type: i8$1.TrackDirtyFormDirective,
6226
+ selector: "[formGroup]:not([formGroupSkipDirty])"
6227
+ },
6175
6228
  {
6176
6229
  kind: "component",
6177
- type: i10.Select,
6230
+ type: i11.Select,
6178
6231
  selector: "p-select",
6179
6232
  inputs: [
6180
6233
  "id",
@@ -6267,7 +6320,7 @@ var EditQualificationsModalComponent = class EditQualificationsModalComponent ex
6267
6320
  },
6268
6321
  {
6269
6322
  kind: "component",
6270
- type: i7.DatePicker,
6323
+ type: i8.DatePicker,
6271
6324
  selector: "p-datepicker, p-date-picker",
6272
6325
  inputs: [
6273
6326
  "iconDisplay",
@@ -6345,7 +6398,7 @@ var EditQualificationsModalComponent = class EditQualificationsModalComponent ex
6345
6398
  },
6346
6399
  {
6347
6400
  kind: "pipe",
6348
- type: i13.TranslocoPipe,
6401
+ type: i14.TranslocoPipe,
6349
6402
  name: "transloco"
6350
6403
  }
6351
6404
  ]
@@ -6462,7 +6515,7 @@ var EditRecommendationModalComponent = class EditRecommendationModalComponent {
6462
6515
  dependencies: [
6463
6516
  {
6464
6517
  kind: "directive",
6465
- type: i6$3.ButtonBusyDirective,
6518
+ type: i6$2.ButtonBusyDirective,
6466
6519
  selector: "[buttonBusy]",
6467
6520
  inputs: ["buttonBusy", "busyText"]
6468
6521
  },
@@ -6505,6 +6558,11 @@ var EditRecommendationModalComponent = class EditRecommendationModalComponent {
6505
6558
  ],
6506
6559
  outputs: ["ngModelChange"]
6507
6560
  },
6561
+ {
6562
+ kind: "directive",
6563
+ type: i8$1.TrackDirtyFormDirective,
6564
+ selector: "[formGroup]:not([formGroupSkipDirty])"
6565
+ },
6508
6566
  {
6509
6567
  kind: "component",
6510
6568
  type: i2$3.InputContainerComponent,
@@ -6530,7 +6588,7 @@ var EditRecommendationModalComponent = class EditRecommendationModalComponent {
6530
6588
  },
6531
6589
  {
6532
6590
  kind: "component",
6533
- type: i6.Rating,
6591
+ type: i7.Rating,
6534
6592
  selector: "p-rating",
6535
6593
  inputs: [
6536
6594
  "readonly",
@@ -6979,13 +7037,13 @@ var EditSocialLinksComponent = class EditSocialLinksComponent extends AppBaseCom
6979
7037
  dependencies: [
6980
7038
  {
6981
7039
  kind: "directive",
6982
- type: i6$3.ButtonBusyDirective,
7040
+ type: i6$2.ButtonBusyDirective,
6983
7041
  selector: "[buttonBusy]",
6984
7042
  inputs: ["buttonBusy", "busyText"]
6985
7043
  },
6986
7044
  {
6987
7045
  kind: "directive",
6988
- type: i6$3.LazyImgDirective,
7046
+ type: i6$2.LazyImgDirective,
6989
7047
  selector: "img"
6990
7048
  },
6991
7049
  {
@@ -7027,9 +7085,14 @@ var EditSocialLinksComponent = class EditSocialLinksComponent extends AppBaseCom
7027
7085
  ],
7028
7086
  outputs: ["ngModelChange"]
7029
7087
  },
7088
+ {
7089
+ kind: "directive",
7090
+ type: i8$1.TrackDirtyFormDirective,
7091
+ selector: "[formGroup]:not([formGroupSkipDirty])"
7092
+ },
7030
7093
  {
7031
7094
  kind: "pipe",
7032
- type: i13.TranslocoPipe,
7095
+ type: i14.TranslocoPipe,
7033
7096
  name: "transloco"
7034
7097
  }
7035
7098
  ]
@@ -7212,7 +7275,7 @@ var EditUserProfileModalComponent = class EditUserProfileModalComponent extends
7212
7275
  dependencies: [
7213
7276
  {
7214
7277
  kind: "directive",
7215
- type: i6$3.ButtonBusyDirective,
7278
+ type: i6$2.ButtonBusyDirective,
7216
7279
  selector: "[buttonBusy]",
7217
7280
  inputs: ["buttonBusy", "busyText"]
7218
7281
  },
@@ -7257,7 +7320,12 @@ var EditUserProfileModalComponent = class EditUserProfileModalComponent extends
7257
7320
  },
7258
7321
  {
7259
7322
  kind: "directive",
7260
- type: i8$1.NgxGpAutocompleteDirective,
7323
+ type: i8$1.TrackDirtyFormDirective,
7324
+ selector: "[formGroup]:not([formGroupSkipDirty])"
7325
+ },
7326
+ {
7327
+ kind: "directive",
7328
+ type: i9$1.NgxGpAutocompleteDirective,
7261
7329
  selector: "[ngx-gp-autocomplete]",
7262
7330
  inputs: ["options"],
7263
7331
  outputs: ["onAddressChange"],
@@ -7265,7 +7333,7 @@ var EditUserProfileModalComponent = class EditUserProfileModalComponent extends
7265
7333
  },
7266
7334
  {
7267
7335
  kind: "component",
7268
- type: i10.Select,
7336
+ type: i11.Select,
7269
7337
  selector: "p-select",
7270
7338
  inputs: [
7271
7339
  "id",
@@ -7358,7 +7426,7 @@ var EditUserProfileModalComponent = class EditUserProfileModalComponent extends
7358
7426
  },
7359
7427
  {
7360
7428
  kind: "component",
7361
- type: i8.SelectButton,
7429
+ type: i9.SelectButton,
7362
7430
  selector: "p-selectbutton, p-select-button",
7363
7431
  inputs: [
7364
7432
  "options",
@@ -7415,12 +7483,12 @@ var EditUserProfileModalComponent = class EditUserProfileModalComponent extends
7415
7483
  },
7416
7484
  {
7417
7485
  kind: "pipe",
7418
- type: i7$1.AsyncPipe,
7486
+ type: i7$2.AsyncPipe,
7419
7487
  name: "async"
7420
7488
  },
7421
7489
  {
7422
7490
  kind: "pipe",
7423
- type: i13.TranslocoPipe,
7491
+ type: i14.TranslocoPipe,
7424
7492
  name: "transloco"
7425
7493
  }
7426
7494
  ]
@@ -7622,12 +7690,12 @@ var UserAboutComponent = class UserAboutComponent extends AppBaseComponent {
7622
7690
  dependencies: [
7623
7691
  {
7624
7692
  kind: "directive",
7625
- type: i6$3.LazyImgDirective,
7693
+ type: i6$2.LazyImgDirective,
7626
7694
  selector: "img"
7627
7695
  },
7628
7696
  {
7629
7697
  kind: "component",
7630
- type: i11.ProgressSpinner,
7698
+ type: i12.ProgressSpinner,
7631
7699
  selector: "p-progress-spinner, p-progressspinner",
7632
7700
  inputs: [
7633
7701
  "value",
@@ -7673,12 +7741,12 @@ var UserAboutComponent = class UserAboutComponent extends AppBaseComponent {
7673
7741
  },
7674
7742
  {
7675
7743
  kind: "pipe",
7676
- type: i13.TranslocoPipe,
7744
+ type: i14.TranslocoPipe,
7677
7745
  name: "transloco"
7678
7746
  },
7679
7747
  {
7680
7748
  kind: "pipe",
7681
- type: i6$2.DateFormatPipe,
7749
+ type: i6$1.DateFormatPipe,
7682
7750
  name: "dateFormat"
7683
7751
  }
7684
7752
  ]
@@ -7800,12 +7868,12 @@ var PortfoliosComponent = class PortfoliosComponent {
7800
7868
  dependencies: [
7801
7869
  {
7802
7870
  kind: "directive",
7803
- type: i6$3.LazyImgDirective,
7871
+ type: i6$2.LazyImgDirective,
7804
7872
  selector: "img"
7805
7873
  },
7806
7874
  {
7807
7875
  kind: "component",
7808
- type: i11.ProgressSpinner,
7876
+ type: i12.ProgressSpinner,
7809
7877
  selector: "p-progress-spinner, p-progressspinner",
7810
7878
  inputs: [
7811
7879
  "value",
@@ -7980,12 +8048,12 @@ var UserProjectsComponent = class UserProjectsComponent extends AppBaseComponent
7980
8048
  dependencies: [
7981
8049
  {
7982
8050
  kind: "directive",
7983
- type: i6$3.LazyImgDirective,
8051
+ type: i6$2.LazyImgDirective,
7984
8052
  selector: "img"
7985
8053
  },
7986
8054
  {
7987
8055
  kind: "directive",
7988
- type: i7$1.NgClass,
8056
+ type: i7$2.NgClass,
7989
8057
  selector: "[ngClass]",
7990
8058
  inputs: ["class", "ngClass"]
7991
8059
  },
@@ -7996,7 +8064,7 @@ var UserProjectsComponent = class UserProjectsComponent extends AppBaseComponent
7996
8064
  },
7997
8065
  {
7998
8066
  kind: "component",
7999
- type: i11.ProgressSpinner,
8067
+ type: i12.ProgressSpinner,
8000
8068
  selector: "p-progress-spinner, p-progressspinner",
8001
8069
  inputs: [
8002
8070
  "value",
@@ -8033,7 +8101,7 @@ var UserProjectsComponent = class UserProjectsComponent extends AppBaseComponent
8033
8101
  },
8034
8102
  {
8035
8103
  kind: "component",
8036
- type: i6.Rating,
8104
+ type: i7.Rating,
8037
8105
  selector: "p-rating",
8038
8106
  inputs: [
8039
8107
  "readonly",
@@ -8085,7 +8153,7 @@ var UserProjectsComponent = class UserProjectsComponent extends AppBaseComponent
8085
8153
  },
8086
8154
  {
8087
8155
  kind: "pipe",
8088
- type: i13.TranslocoPipe,
8156
+ type: i14.TranslocoPipe,
8089
8157
  name: "transloco"
8090
8158
  }
8091
8159
  ]
@@ -8332,7 +8400,7 @@ var UserProfilePageComponent = class UserProfilePageComponent extends AppBaseCom
8332
8400
  dependencies: [
8333
8401
  {
8334
8402
  kind: "directive",
8335
- type: i6$3.LazyImgDirective,
8403
+ type: i6$2.LazyImgDirective,
8336
8404
  selector: "img"
8337
8405
  },
8338
8406
  {
@@ -8364,7 +8432,7 @@ var UserProfilePageComponent = class UserProfilePageComponent extends AppBaseCom
8364
8432
  },
8365
8433
  {
8366
8434
  kind: "component",
8367
- type: i11.ProgressSpinner,
8435
+ type: i12.ProgressSpinner,
8368
8436
  selector: "p-progress-spinner, p-progressspinner",
8369
8437
  inputs: [
8370
8438
  "value",
@@ -8378,7 +8446,7 @@ var UserProfilePageComponent = class UserProfilePageComponent extends AppBaseCom
8378
8446
  },
8379
8447
  {
8380
8448
  kind: "component",
8381
- type: i12$1.ProfileImageCropperComponent,
8449
+ type: i13$1.ProfileImageCropperComponent,
8382
8450
  selector: "pw-image-cropper",
8383
8451
  inputs: ["aspectRatio", "dynamicData"],
8384
8452
  outputs: [
@@ -8412,7 +8480,7 @@ var UserProfilePageComponent = class UserProfilePageComponent extends AppBaseCom
8412
8480
  },
8413
8481
  {
8414
8482
  kind: "pipe",
8415
- type: i13.TranslocoPipe,
8483
+ type: i14.TranslocoPipe,
8416
8484
  name: "transloco"
8417
8485
  }
8418
8486
  ]
@@ -8512,6 +8580,7 @@ var UserModuleModule = class UserModuleModule {
8512
8580
  CommonModule,
8513
8581
  RouterModule,
8514
8582
  ReactiveFormsModule,
8583
+ TrackDirtyFormDirective,
8515
8584
  CoreTranslocoModule,
8516
8585
  NgxGpAutocompleteModule,
8517
8586
  SharedComponentsModule,
@@ -8653,6 +8722,7 @@ i0.ɵɵngDeclareClassMetadata({
8653
8722
  CommonModule,
8654
8723
  RouterModule,
8655
8724
  ReactiveFormsModule,
8725
+ TrackDirtyFormDirective,
8656
8726
  CoreTranslocoModule,
8657
8727
  NgxGpAutocompleteModule,
8658
8728
  SharedComponentsModule,