@posiwise/user-module 0.0.105 → 0.0.107
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/esm2022/lib/user-profile/edit-social-links/edit-social-links.component.mjs +10 -6
- package/esm2022/lib/user-profile/user-about/user-about.component.mjs +5 -3
- package/fesm2022/posiwise-user-module.mjs +12 -6
- package/fesm2022/posiwise-user-module.mjs.map +1 -1
- package/lib/user-profile/edit-social-links/edit-social-links.component.d.ts +6 -5
- package/lib/user-profile/user-about/user-about.component.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
import { EventEmitter, Injector, OnInit, TemplateRef } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, Injector, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
3
|
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
4
4
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
5
5
|
import { ProfileService } from '@posiwise/common-services';
|
|
6
|
-
import { ModalContext
|
|
6
|
+
import { ModalContext } from '../../shared/interface/user-module.interface';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class EditSocialLinksComponent extends AppBaseComponent implements OnInit {
|
|
9
9
|
private modalService;
|
|
10
10
|
private fb;
|
|
11
11
|
private profileService;
|
|
12
|
+
private cdr;
|
|
12
13
|
content: TemplateRef<ModalContext>;
|
|
13
14
|
form: UntypedFormGroup;
|
|
14
15
|
buttonBusy: boolean;
|
|
15
|
-
links:
|
|
16
|
+
links: Record<string, string>;
|
|
16
17
|
userId: number;
|
|
17
18
|
saveEvent: EventEmitter<void>;
|
|
18
|
-
constructor(injector: Injector, modalService: NgbModal, fb: UntypedFormBuilder, profileService: ProfileService);
|
|
19
|
+
constructor(injector: Injector, modalService: NgbModal, fb: UntypedFormBuilder, profileService: ProfileService, cdr: ChangeDetectorRef);
|
|
19
20
|
private urlValidator;
|
|
20
21
|
ngOnInit(): void;
|
|
21
|
-
onOpen(): void;
|
|
22
|
+
onOpen(links: any): void;
|
|
22
23
|
onSaveDetail(): void;
|
|
23
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<EditSocialLinksComponent, never>;
|
|
24
25
|
static ɵcmp: i0.ɵɵComponentDeclaration<EditSocialLinksComponent, "pw-edit-social-links", never, { "links": { "alias": "links"; "required": false; }; "userId": { "alias": "userId"; "required": false; }; }, { "saveEvent": "saveEvent"; }, never, never, false, never>;
|
|
@@ -6,7 +6,7 @@ import { EditUserProfileModalComponent } from '../edit-user-profile-modal/edit-u
|
|
|
6
6
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
7
7
|
import { User } from '@posiwise/common-utilities';
|
|
8
8
|
import { ProfileService, QualificationService, TagService } from '@posiwise/common-services';
|
|
9
|
-
import { AboutUserProfile, Qualification, Skill
|
|
9
|
+
import { AboutUserProfile, Qualification, Skill } from '../../shared/interface/user-module.interface';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export declare class UserAboutComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
12
12
|
private profileService;
|
|
@@ -29,7 +29,7 @@ export declare class UserAboutComponent extends AppBaseComponent implements OnIn
|
|
|
29
29
|
};
|
|
30
30
|
user_profile: AboutUserProfile;
|
|
31
31
|
qualifications: Qualification[];
|
|
32
|
-
userLinks:
|
|
32
|
+
userLinks: Record<string, string>;
|
|
33
33
|
noUserLinks: boolean;
|
|
34
34
|
loading: boolean;
|
|
35
35
|
constructor(profileService: ProfileService, qualificationService: QualificationService, tagService: TagService, injector: Injector);
|