@posiwise/user-module 0.0.175 → 0.0.177

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@posiwise/user-module",
3
- "version": "0.0.175",
3
+ "version": "0.0.177",
4
4
  "peerDependencies": {
5
5
  "@airwallex/components-sdk": "^1.35.2",
6
6
  "@angular/cdk": "^22.2.0",
@@ -5,40 +5,40 @@ import { Router } from "@angular/router";
5
5
  import { LazyLoadEvent, MenuItem } from "primeng/api";
6
6
  import * as i37 from "@angular/forms";
7
7
  import { NgControl, UntypedFormArray, UntypedFormBuilder, UntypedFormGroup } from "@angular/forms";
8
- import * as i39 from "@angular-magic/ngx-gp-autocomplete";
8
+ import * as i40 from "@angular-magic/ngx-gp-autocomplete";
9
9
  import { NgxGpAutocompleteDirective } from "@angular-magic/ngx-gp-autocomplete";
10
10
  import { AppBaseComponent } from "@posiwise/app-base-component";
11
11
  import { AuthService, CommonService, CustomToastService, GeoService, PermissionService, ProductService, ProfileService, QualificationService, ScriptLoaderService, SubscriptionService, TagService, UserService } from "@posiwise/common-services";
12
12
  import { Country, PRODUCT_CATEGORY, Product, Project, Subscription, TAG_ENTITY, TAG_TYPE, User } from "@posiwise/common-utilities";
13
- import { HasUnsavedChanges, UnsavedChangesService } from "@posiwise/core-guards";
14
- import * as i40 from "@posiwise/shared-components";
13
+ import * as i41 from "@posiwise/shared-components";
15
14
  import { ConfirmDialogService, PasswordValidationComponent } from "@posiwise/shared-components";
16
15
  import { Observable, Subscription as Subscription$1 } from "rxjs";
17
- import * as i53 from "@ng-bootstrap/ng-bootstrap";
16
+ import * as i54 from "@ng-bootstrap/ng-bootstrap";
18
17
  import { NgbModal } from "@ng-bootstrap/ng-bootstrap";
19
18
  import { TranslocoService } from "@jsverse/transloco";
20
19
  import { AppState } from "@posiwise/app-store";
21
20
  import { Store } from "@ngrx/store";
22
21
  import { Clipboard } from "@angular/cdk/clipboard";
23
22
  import { AdminService } from "@posiwise/admin-module-utils";
24
- import * as i48 from "primeng/fileupload";
23
+ import * as i49 from "primeng/fileupload";
25
24
  import { FileUpload } from "primeng/fileupload";
26
25
  import * as i32 from "primeng/inputtext";
27
26
  import * as i33 from "@posiwise/app-loader";
28
27
  import * as i34 from "@posiwise/directives";
29
28
  import * as i35 from "@angular/common";
30
- import * as i38 from "@posiwise/core-transloco";
31
- import * as i41 from "@posiwise/pipes";
32
- import * as i42 from "ngx-ui-switch";
33
- import * as i43 from "ngx-captcha";
34
- import * as i44 from "primeng/datepicker";
35
- import * as i45 from "primeng/multiselect";
36
- import * as i46 from "primeng/progressspinner";
37
- import * as i47 from "primeng/accordion";
38
- import * as i49 from "primeng/select";
39
- import * as i50 from "primeng/rating";
40
- import * as i51 from "primeng/selectbutton";
41
- import * as i52 from "primeng/tooltip";
29
+ import * as i38 from "@posiwise/core-guards";
30
+ import * as i39 from "@posiwise/core-transloco";
31
+ import * as i42 from "@posiwise/pipes";
32
+ import * as i43 from "ngx-ui-switch";
33
+ import * as i44 from "ngx-captcha";
34
+ import * as i45 from "primeng/datepicker";
35
+ import * as i46 from "primeng/multiselect";
36
+ import * as i47 from "primeng/progressspinner";
37
+ import * as i48 from "primeng/accordion";
38
+ import * as i50 from "primeng/select";
39
+ import * as i51 from "primeng/rating";
40
+ import * as i52 from "primeng/selectbutton";
41
+ import * as i53 from "primeng/tooltip";
42
42
  declare namespace account_component_d_exports {
43
43
  export { AccountComponent };
44
44
  }
@@ -56,7 +56,7 @@ export declare class AccountComponent {
56
56
  declare namespace account_details_component_d_exports {
57
57
  export { AccountDetailsComponent };
58
58
  }
59
- export declare class AccountDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy, HasUnsavedChanges {
59
+ export declare class AccountDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
60
60
  private readonly fb;
61
61
  private readonly modalService;
62
62
  private readonly authService;
@@ -64,7 +64,6 @@ export declare class AccountDetailsComponent extends AppBaseComponent implements
64
64
  private readonly profileService;
65
65
  private readonly cdr;
66
66
  private readonly confirmDialog;
67
- private readonly unsavedChanges;
68
67
  placesRef: NgxGpAutocompleteDirective;
69
68
  passwordRef: ElementRef;
70
69
  emailForm: UntypedFormGroup;
@@ -100,11 +99,8 @@ export declare class AccountDetailsComponent extends AppBaseComponent implements
100
99
  last_used_at: string | null;
101
100
  }[];
102
101
  loadingConnections: boolean;
103
- private unregisterUnsaved;
104
- constructor(fb: UntypedFormBuilder, modalService: NgbModal, authService: AuthService, geoService: GeoService, profileService: ProfileService, injector: Injector, cdr: ChangeDetectorRef, confirmDialog: ConfirmDialogService, unsavedChanges: UnsavedChangesService);
102
+ constructor(fb: UntypedFormBuilder, modalService: NgbModal, authService: AuthService, geoService: GeoService, profileService: ProfileService, injector: Injector, cdr: ChangeDetectorRef, confirmDialog: ConfirmDialogService);
105
103
  ngOnInit(): void;
106
- ngOnDestroy(): void;
107
- hasUnsavedChanges(): boolean;
108
104
  handleAddressChange(_event: any): void;
109
105
  private getUserProfile;
110
106
  /**
@@ -387,13 +383,11 @@ interface CurrentItem {
387
383
  declare namespace subscription_credential_component_d_exports {
388
384
  export { SubscriptionCredentialComponent };
389
385
  }
390
- export declare class SubscriptionCredentialComponent extends AppBaseComponent implements OnInit, OnDestroy, HasUnsavedChanges {
386
+ export declare class SubscriptionCredentialComponent extends AppBaseComponent implements OnInit, OnDestroy {
391
387
  private readonly fb;
392
388
  private readonly subscriptionService;
393
389
  private readonly cdr;
394
- private readonly unsavedChanges;
395
390
  private credentialToEdit;
396
- private unregisterUnsaved;
397
391
  passwordValidationModalForRevealCredential: PasswordValidationComponent;
398
392
  passwordValidationModalForEditCredential: PasswordValidationComponent;
399
393
  passwordValidationModalForAddCredential: PasswordValidationComponent;
@@ -415,9 +409,8 @@ export declare class SubscriptionCredentialComponent extends AppBaseComponent im
415
409
  credentialSaved: string;
416
410
  credentialName: string;
417
411
  credentialToReveal: any;
418
- constructor(fb: UntypedFormBuilder, subscriptionService: SubscriptionService, injector: Injector, cdr: ChangeDetectorRef, unsavedChanges: UnsavedChangesService);
412
+ constructor(fb: UntypedFormBuilder, subscriptionService: SubscriptionService, injector: Injector, cdr: ChangeDetectorRef);
419
413
  ngOnInit(): void;
420
- hasUnsavedChanges(): boolean;
421
414
  get credentialsGroup(): UntypedFormArray;
422
415
  /** Function to get all credentials */
423
416
  private getAllCredentials;
@@ -439,7 +432,6 @@ export declare class SubscriptionCredentialComponent extends AppBaseComponent im
439
432
  openCredentialsForEdit(credential: any): void;
440
433
  editCredentials(): void;
441
434
  showEditForm(): void;
442
- ngOnDestroy(): void;
443
435
  static ɵfac: i0.ɵɵFactoryDeclaration<SubscriptionCredentialComponent, never>;
444
436
  static ɵcmp: i0.ɵɵComponentDeclaration<SubscriptionCredentialComponent, "pw-subscription-credential", never, {}, {}, never, never, false, never>;
445
437
  }
@@ -1412,6 +1404,6 @@ export declare class SupportDetailsComponent extends AppBaseComponent implements
1412
1404
  }
1413
1405
  export declare class UserModuleModule {
1414
1406
  static ɵfac: i0.ɵɵFactoryDeclaration<UserModuleModule, never>;
1415
- static ɵmod: i0.ɵɵNgModuleDeclaration<UserModuleModule, [typeof AccountComponent, typeof AccountDetailsComponent, typeof AddSubscriptionComponent, typeof SavedCardDetailsComponent, typeof SubscriptionCredentialComponent, typeof HumanizeCredentialNamePipe, typeof CredentialAvatarHuePipe, typeof SubscriptionNameByIdPipe, typeof ClearMaskedOnFocusDirective, typeof UpdatePaymentDetailsComponent, typeof SecondaryPaymentMethodComponent, typeof UpgradeSubscriptionComponent, typeof UserSubscriptionDetailsComponent, typeof UserSubscriptionListComponent, typeof UserInvoiceComponent, typeof AiKnowledgeTabComponent, typeof CommunicationTabComponent, typeof OthersTabComponent, typeof SecurityTabComponent, typeof SettingsComponent, typeof SupportComponent, typeof EditPortfoliosComponent, typeof EditProjectModalComponent, typeof EditQualificationsModalComponent, typeof EditRecommendationModalComponent, typeof EditSkillsModalComponent, typeof EditSocialLinksComponent, typeof EditUserProfileModalComponent, typeof UserAboutComponent, typeof PortfoliosComponent, typeof UserProfilePageComponent, typeof UserProjectsComponent, typeof SupportDetailsComponent], [typeof i32.InputTextModule, typeof i33.AppLoaderModule, typeof i34.DirectivesModule, typeof i35.CommonModule, typeof i36.RouterModule, typeof i37.ReactiveFormsModule, typeof i38.CoreTranslocoModule, typeof i39.NgxGpAutocompleteModule, typeof i40.SharedComponentsModule, typeof i41.PipesModule, typeof i42.UiSwitchModule, typeof i43.NgxCaptchaModule, typeof i37.FormsModule, typeof i44.DatePickerModule, typeof i45.MultiSelectModule, typeof i46.ProgressSpinnerModule, typeof i47.AccordionModule, typeof i48.FileUploadModule, typeof i49.SelectModule, typeof i50.RatingModule, typeof i51.SelectButtonModule, typeof i52.TooltipModule, typeof i53.NgbModalModule, typeof i53.NgbDatepickerModule], [typeof AccountComponent, typeof AccountDetailsComponent, typeof AddSubscriptionComponent, typeof SavedCardDetailsComponent, typeof SubscriptionCredentialComponent, typeof HumanizeCredentialNamePipe, typeof CredentialAvatarHuePipe, typeof SubscriptionNameByIdPipe, typeof ClearMaskedOnFocusDirective, typeof UpdatePaymentDetailsComponent, typeof UpgradeSubscriptionComponent, typeof UserSubscriptionDetailsComponent, typeof UserSubscriptionListComponent, typeof UserInvoiceComponent, typeof AiKnowledgeTabComponent, typeof CommunicationTabComponent, typeof OthersTabComponent, typeof SecurityTabComponent, typeof SettingsComponent, typeof SupportComponent, typeof EditPortfoliosComponent, typeof EditProjectModalComponent, typeof EditQualificationsModalComponent, typeof EditRecommendationModalComponent, typeof EditSkillsModalComponent, typeof EditSocialLinksComponent, typeof EditUserProfileModalComponent, typeof UserAboutComponent, typeof PortfoliosComponent, typeof UserProfilePageComponent, typeof UserProjectsComponent, typeof SupportDetailsComponent]>;
1407
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UserModuleModule, [typeof AccountComponent, typeof AccountDetailsComponent, typeof AddSubscriptionComponent, typeof SavedCardDetailsComponent, typeof SubscriptionCredentialComponent, typeof HumanizeCredentialNamePipe, typeof CredentialAvatarHuePipe, typeof SubscriptionNameByIdPipe, typeof ClearMaskedOnFocusDirective, typeof UpdatePaymentDetailsComponent, typeof SecondaryPaymentMethodComponent, typeof UpgradeSubscriptionComponent, typeof UserSubscriptionDetailsComponent, typeof UserSubscriptionListComponent, typeof UserInvoiceComponent, typeof AiKnowledgeTabComponent, typeof CommunicationTabComponent, typeof OthersTabComponent, typeof SecurityTabComponent, typeof SettingsComponent, typeof SupportComponent, typeof EditPortfoliosComponent, typeof EditProjectModalComponent, typeof EditQualificationsModalComponent, typeof EditRecommendationModalComponent, typeof EditSkillsModalComponent, typeof EditSocialLinksComponent, typeof EditUserProfileModalComponent, typeof UserAboutComponent, typeof PortfoliosComponent, typeof UserProfilePageComponent, typeof UserProjectsComponent, typeof SupportDetailsComponent], [typeof i32.InputTextModule, typeof i33.AppLoaderModule, typeof i34.DirectivesModule, typeof i35.CommonModule, typeof i36.RouterModule, typeof i37.ReactiveFormsModule, typeof i38.TrackDirtyFormDirective, typeof i39.CoreTranslocoModule, typeof i40.NgxGpAutocompleteModule, typeof i41.SharedComponentsModule, typeof i42.PipesModule, typeof i43.UiSwitchModule, typeof i44.NgxCaptchaModule, typeof i37.FormsModule, typeof i45.DatePickerModule, typeof i46.MultiSelectModule, typeof i47.ProgressSpinnerModule, typeof i48.AccordionModule, typeof i49.FileUploadModule, typeof i50.SelectModule, typeof i51.RatingModule, typeof i52.SelectButtonModule, typeof i53.TooltipModule, typeof i54.NgbModalModule, typeof i54.NgbDatepickerModule], [typeof AccountComponent, typeof AccountDetailsComponent, typeof AddSubscriptionComponent, typeof SavedCardDetailsComponent, typeof SubscriptionCredentialComponent, typeof HumanizeCredentialNamePipe, typeof CredentialAvatarHuePipe, typeof SubscriptionNameByIdPipe, typeof ClearMaskedOnFocusDirective, typeof UpdatePaymentDetailsComponent, typeof UpgradeSubscriptionComponent, typeof UserSubscriptionDetailsComponent, typeof UserSubscriptionListComponent, typeof UserInvoiceComponent, typeof AiKnowledgeTabComponent, typeof CommunicationTabComponent, typeof OthersTabComponent, typeof SecurityTabComponent, typeof SettingsComponent, typeof SupportComponent, typeof EditPortfoliosComponent, typeof EditProjectModalComponent, typeof EditQualificationsModalComponent, typeof EditRecommendationModalComponent, typeof EditSkillsModalComponent, typeof EditSocialLinksComponent, typeof EditUserProfileModalComponent, typeof UserAboutComponent, typeof PortfoliosComponent, typeof UserProfilePageComponent, typeof UserProjectsComponent, typeof SupportDetailsComponent]>;
1416
1408
  static ɵinj: i0.ɵɵInjectorDeclaration<UserModuleModule>;
1417
1409
  }