@allsorter/ui-components 0.0.367 → 0.0.370
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/fesm2022/allsorter-ui-components.mjs +2996 -1391
- package/fesm2022/allsorter-ui-components.mjs.map +1 -1
- package/images/Column left.svg +5 -0
- package/images/Move.svg +8 -0
- package/images/Success.svg +5 -0
- package/images/Table.svg +3 -0
- package/images/Vector-1.svg +3 -0
- package/images/Vector.svg +3 -0
- package/images/add-teble.svg +6 -0
- package/images/arrow_downward.svg +3 -0
- package/images/calendar_year.svg +4 -0
- package/images/column right.svg +5 -0
- package/images/delete -table.svg +6 -0
- package/images/delete row.svg +10 -0
- package/images/delete-column.svg +10 -0
- package/images/delete.svg +3 -0
- package/images/drag-drop-icon.svg +8 -0
- package/images/edit.svg +3 -0
- package/images/error.svg +5 -0
- package/images/row bottom.svg +5 -0
- package/images/row top.svg +5 -0
- package/images/search.svg +3 -0
- package/images/subrole.svg +3 -0
- package/images/visibility_off.svg +3 -0
- package/images/warning.svg +5 -0
- package/lib/app-toolbar/app-toolbar.component.d.ts +5 -8
- package/lib/app-toolbar/app-toolbar.module.d.ts +4 -4
- package/lib/app-toolbar-right/app-toolbar-right.component.d.ts +3 -5
- package/lib/button/button.component.d.ts +30 -1
- package/lib/candidate-section/candidate-section.component.d.ts +8 -0
- package/lib/custom-editor/custom-editor.component.d.ts +110 -14
- package/lib/custom-editor/table/table.component.d.ts +5 -0
- package/lib/editable-form-wrapper/editable-form-wrapper.component.d.ts +48 -0
- package/lib/experience-section/experience-section.component.d.ts +4 -2
- package/lib/general-container/general-container.component.d.ts +5 -1
- package/lib/icon-button/icon-button.component.d.ts +16 -7
- package/lib/input/input.component.d.ts +41 -10
- package/lib/newresumeheader/newresumeheader.component.d.ts +43 -4
- package/lib/resume-entries/resume-entries.component.d.ts +7 -1
- package/lib/resume-header/resume-header.model.d.ts +11 -20
- package/lib/shared-popup-modal/shared-popup-modal.component.d.ts +17 -0
- package/lib/side-action-bar-wrapper/side-action-bar-wrapper.component.d.ts +34 -0
- package/lib/side-action-bar-wrapper/side-action-bar-wrapper.module.d.ts +12 -0
- package/lib/styles/border-radius.scss +11 -0
- package/lib/styles/button-mixins.scss +41 -0
- package/lib/styles/button.scss +117 -0
- package/lib/styles/colors.scss +221 -0
- package/lib/styles/elevation.scss +46 -0
- package/lib/styles/new-typography.scss +202 -0
- package/lib/styles/spacing.scss +39 -0
- package/lib/styles/typography-classes.scss +203 -0
- package/lib/utils/icon-utils.d.ts +51 -0
- package/lib/utils/image-utils.d.ts +54 -0
- package/package.json +15 -3
- package/public-api.d.ts +3 -3
- package/src/lib/ai-apply-bar/ai-apply-bar.component.html +43 -0
- package/src/lib/ai-apply-bar/ai-apply-bar.component.scss +182 -0
- package/src/lib/app-toolbar/app-toolbar.component.html +13 -0
- package/src/lib/app-toolbar/app-toolbar.component.scss +141 -0
- package/src/lib/app-toolbar-right/app-toolbar-right.component.html +15 -0
- package/src/lib/app-toolbar-right/app-toolbar-right.component.scss +294 -0
- package/src/lib/button/button.component.html +127 -0
- package/src/lib/button/button.component.scss +1238 -0
- package/src/lib/candidate-section/candidate-section.component.html +91 -0
- package/src/lib/candidate-section/candidate-section.component.scss +154 -0
- package/src/lib/checkbox/checkbox.component.html +24 -0
- package/src/lib/checkbox/checkbox.component.scss +280 -0
- package/src/lib/custom-editor/custom-editor.component.html +129 -0
- package/src/lib/custom-editor/custom-editor.component.scss +441 -0
- package/src/lib/custom-editor/table/table.component.html +21 -0
- package/src/lib/date-range/date-range.component.html +33 -0
- package/src/lib/date-range/date-range.component.scss +284 -0
- package/src/lib/editable-form-wrapper/editable-form-wrapper.component.html +12 -0
- package/src/lib/editable-form-wrapper/editable-form-wrapper.component.scss +227 -0
- package/src/lib/experience-section/experience-section.component.html +20 -0
- package/src/lib/experience-section/experience-section.component.scss +0 -0
- package/src/lib/field-placeholder/field-placeholder.component.html +17 -0
- package/src/lib/field-placeholder/field-placeholder.component.scss +119 -0
- package/src/lib/general-container/general-container.component.html +3 -0
- package/src/lib/general-container/general-container.component.scss +10 -0
- package/src/lib/icon-button/icon-button.component.html +12 -0
- package/src/lib/icon-button/icon-button.component.scss +77 -0
- package/src/lib/input/input.component.html +86 -0
- package/src/lib/input/input.component.scss +1337 -0
- package/src/lib/loader/loader.component.html +15 -0
- package/src/lib/loader/loader.component.scss +493 -0
- package/src/lib/new-typography/new-typography.component.html +10 -0
- package/src/lib/new-typography/new-typography.component.scss +200 -0
- package/src/lib/newresumeheader/newresumeheader.component.html +178 -0
- package/src/lib/newresumeheader/newresumeheader.component.scss +530 -0
- package/src/lib/radio/radio.component.html +23 -0
- package/src/lib/radio/radio.component.scss +253 -0
- package/src/lib/responsive-columns/responsive-columns.component.html +6 -0
- package/src/lib/responsive-columns/responsive-columns.component.scss +68 -0
- package/src/lib/responsive-layout/responsive-layout.component.html +1 -0
- package/src/lib/responsive-layout/responsive-layout.component.scss +47 -0
- package/src/lib/resume-entries/resume-entries.component.html +97 -0
- package/src/lib/resume-entries/resume-entries.component.scss +341 -0
- package/src/lib/resume-header/resume-header.component.html +167 -0
- package/src/lib/shared-popup-modal/shared-popup-modal.component.html +99 -0
- package/src/lib/shared-popup-modal/shared-popup-modal.component.scss +223 -0
- package/src/lib/side-action-bar-wrapper/side-action-bar-wrapper.component.html +17 -0
- package/src/lib/side-action-bar-wrapper/side-action-bar-wrapper.component.scss +58 -0
- package/src/lib/slide-toggle/slide-toggle.component.html +17 -0
- package/src/lib/slide-toggle/slide-toggle.component.scss +439 -0
- package/src/lib/storybook/testing-strip/testing-strip.component.html +12 -0
- package/src/lib/storybook/testing-strip/testing-strip.component.scss +1 -0
- package/src/lib/styles/border-radius.scss +11 -0
- package/src/lib/styles/button-mixins.scss +41 -0
- package/src/lib/styles/button.scss +117 -0
- package/src/lib/styles/colors.scss +221 -0
- package/src/lib/styles/elevation.scss +46 -0
- package/src/lib/styles/new-typography.scss +202 -0
- package/src/lib/styles/spacing.scss +39 -0
- package/src/lib/styles/typography-classes.scss +203 -0
- package/src/lib/tabs/tabs.component.html +9 -0
- package/src/lib/tabs/tabs.component.scss +151 -0
- package/src/lib/toggle-buttons/toggle-buttons.component.html +17 -0
- package/src/lib/toggle-buttons/toggle-buttons.component.scss +284 -0
- package/src/lib/tooltip/tooltip.component.html +6 -0
- package/src/lib/tooltip/tooltip.component.scss +8 -0
- package/lib/action-bar-wrapper/action-bar-wrapper.component.d.ts +0 -36
- package/lib/resume-header/resume-header.component.d.ts +0 -69
- package/lib/resume-header/resume-header.module.d.ts +0 -8
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import { ElementRef, OnInit, OnDestroy, AfterViewInit, EventEmitter } from '@angular/core';
|
|
2
|
-
import { Router } from '@angular/router';
|
|
1
|
+
import { ElementRef, OnInit, OnDestroy, AfterViewInit, SimpleChanges, EventEmitter, Renderer2 } from '@angular/core';
|
|
2
|
+
import { Router, ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { MatIconRegistry } from '@angular/material/icon';
|
|
4
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
5
|
+
import { Subscription } from 'rxjs';
|
|
3
6
|
import * as i0 from "@angular/core";
|
|
4
7
|
interface ToolbarItem {
|
|
5
8
|
type: string;
|
|
@@ -9,12 +12,26 @@ interface ToolbarItem {
|
|
|
9
12
|
}
|
|
10
13
|
export declare class CustomEditorComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
11
14
|
private router;
|
|
12
|
-
|
|
15
|
+
private route;
|
|
16
|
+
private iconRegistry;
|
|
17
|
+
private sanitizer;
|
|
18
|
+
private renderer;
|
|
19
|
+
resumeService: any;
|
|
20
|
+
private http;
|
|
21
|
+
callForAI: any;
|
|
22
|
+
private store;
|
|
23
|
+
private wsService;
|
|
24
|
+
constructor(router: Router, route: ActivatedRoute, iconRegistry: MatIconRegistry, sanitizer: DomSanitizer, renderer: Renderer2, resumeService: any, http: any, callForAI: any, store: any, wsService: any);
|
|
25
|
+
/**
|
|
26
|
+
* Dynamically determines the base path for assets
|
|
27
|
+
* Handles both root deployment and subdirectory deployment (e.g., /allsorter-lib/)
|
|
28
|
+
*/
|
|
29
|
+
private getBasePath;
|
|
13
30
|
editorReference: ElementRef<HTMLElement>;
|
|
14
|
-
bold
|
|
15
|
-
italic
|
|
16
|
-
underline
|
|
17
|
-
list
|
|
31
|
+
bold?: boolean;
|
|
32
|
+
italic?: boolean;
|
|
33
|
+
underline?: boolean;
|
|
34
|
+
list?: boolean;
|
|
18
35
|
isVisible: boolean;
|
|
19
36
|
dataTestId: string;
|
|
20
37
|
showLabels: boolean;
|
|
@@ -23,9 +40,33 @@ export declare class CustomEditorComponent implements OnInit, OnDestroy, AfterVi
|
|
|
23
40
|
initialValue: string;
|
|
24
41
|
contentFromParent: string;
|
|
25
42
|
editScreenSection: string;
|
|
26
|
-
actionType:
|
|
43
|
+
actionType: any;
|
|
27
44
|
historyControls: boolean;
|
|
28
45
|
autobullet: boolean;
|
|
46
|
+
skillsBullet?: boolean;
|
|
47
|
+
jsonData: any;
|
|
48
|
+
formJsonData: any;
|
|
49
|
+
editorId: string;
|
|
50
|
+
sectionId: any;
|
|
51
|
+
actionId: any;
|
|
52
|
+
undoCustom?: boolean;
|
|
53
|
+
redoCustom?: boolean;
|
|
54
|
+
undoSkill?: boolean;
|
|
55
|
+
redoSkill?: boolean;
|
|
56
|
+
matOptionAI?: boolean;
|
|
57
|
+
hideTableOption?: boolean;
|
|
58
|
+
hideAutoBulletOption?: boolean;
|
|
59
|
+
hideAIOption?: boolean;
|
|
60
|
+
insertTablebtn?: boolean;
|
|
61
|
+
insertRowAbovebtn?: boolean;
|
|
62
|
+
insertRowBelowbtn?: boolean;
|
|
63
|
+
insertColumnLeftbtn?: boolean;
|
|
64
|
+
insertColumnRightbtn?: boolean;
|
|
65
|
+
deleteTablebtn?: boolean;
|
|
66
|
+
deleteRowAbovebtn?: boolean;
|
|
67
|
+
deleteRowBelowbtn?: boolean;
|
|
68
|
+
deleteColumnLeftbtn?: boolean;
|
|
69
|
+
deleteColumnRightbtn?: boolean;
|
|
29
70
|
showTable: boolean;
|
|
30
71
|
contentChangeFromQuill: EventEmitter<string>;
|
|
31
72
|
ApplyAIinQuill: EventEmitter<any>;
|
|
@@ -35,25 +76,57 @@ export declare class CustomEditorComponent implements OnInit, OnDestroy, AfterVi
|
|
|
35
76
|
italicTexted: boolean;
|
|
36
77
|
underlineTexted: boolean;
|
|
37
78
|
listTexted: boolean;
|
|
38
|
-
hideAutoBulletOption: boolean;
|
|
39
|
-
skillsBullet: boolean;
|
|
40
79
|
autoBulletDisable: boolean;
|
|
41
80
|
isLoadingAI: boolean;
|
|
42
81
|
isDisabled: boolean;
|
|
43
82
|
AutoBulletButton: string;
|
|
83
|
+
ApplyAiButton: string;
|
|
44
84
|
skillsButton: string;
|
|
45
|
-
isSkillBullet:
|
|
85
|
+
isSkillBullet: any;
|
|
86
|
+
isAutoBullet: boolean;
|
|
46
87
|
previousContent: string;
|
|
88
|
+
previousContentForTextChange: string;
|
|
47
89
|
private history;
|
|
48
90
|
private redoStack;
|
|
49
91
|
private content;
|
|
92
|
+
savedRange: any;
|
|
93
|
+
FormValue: any;
|
|
94
|
+
forDisableButton: any;
|
|
95
|
+
orgUUID: string;
|
|
96
|
+
resumeId: number;
|
|
97
|
+
editSection$: string;
|
|
98
|
+
wsSubsription?: Subscription;
|
|
99
|
+
timeout: any;
|
|
100
|
+
quillInstance: any;
|
|
101
|
+
quill: any;
|
|
102
|
+
table: any;
|
|
103
|
+
isLoading: boolean;
|
|
104
|
+
spellChecker$: boolean;
|
|
105
|
+
checkPreserveOriginalScreen: boolean;
|
|
106
|
+
checkSideBySideScreen: boolean;
|
|
107
|
+
checkPreserveOriginalScreenforButtons: boolean;
|
|
108
|
+
summaryAIBackGroundCheck: boolean;
|
|
109
|
+
private overlayIdCounter;
|
|
110
|
+
summaryAndSkill: any;
|
|
111
|
+
extraAndCoverSheet: any;
|
|
50
112
|
isSmallScreen: boolean;
|
|
51
113
|
showStylingDropdown: boolean;
|
|
52
114
|
showTextFormattingDropdown: boolean;
|
|
115
|
+
private registeredSvgIcons;
|
|
116
|
+
/**
|
|
117
|
+
* Check if an icon has an SVG version registered
|
|
118
|
+
*/
|
|
119
|
+
isSvgIcon(iconName: string): boolean;
|
|
53
120
|
private stylingDropdownTimeout;
|
|
54
121
|
private textFormattingDropdownTimeout;
|
|
55
122
|
ngOnInit(): void;
|
|
123
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
124
|
+
private updateEditorContentSafely;
|
|
125
|
+
private getCursorPosition;
|
|
126
|
+
private restoreCursorPosition;
|
|
56
127
|
ngAfterViewInit(): void;
|
|
128
|
+
onClick(): void;
|
|
129
|
+
private assignUniqueIdAndStyle;
|
|
57
130
|
getEditorElement(): HTMLElement | undefined;
|
|
58
131
|
getBoundGetEditorElement(): () => HTMLElement | undefined;
|
|
59
132
|
getBoundSaveHistory(): () => void;
|
|
@@ -70,13 +143,14 @@ export declare class CustomEditorComponent implements OnInit, OnDestroy, AfterVi
|
|
|
70
143
|
clearStylingDropdownTimeout(): void;
|
|
71
144
|
clearTextFormattingDropdownTimeout(): void;
|
|
72
145
|
handleClickOutside(event: Event): void;
|
|
73
|
-
execCmd(event: MouseEvent, command: string): void;
|
|
146
|
+
execCmd(event: MouseEvent, command: string, value?: string | null): void;
|
|
74
147
|
updateTagHierarchy(): void;
|
|
75
148
|
onEditorInput(): void;
|
|
76
149
|
getActiveState(type: string): boolean;
|
|
77
150
|
undo(event: MouseEvent): void;
|
|
78
151
|
redo(event: MouseEvent): void;
|
|
79
152
|
textChange(): void;
|
|
153
|
+
TextChange(): void;
|
|
80
154
|
saveHistory(): void;
|
|
81
155
|
toggleDiv(event: Event, visible: boolean): void;
|
|
82
156
|
handleKeydown(event: KeyboardEvent): void;
|
|
@@ -96,9 +170,31 @@ export declare class CustomEditorComponent implements OnInit, OnDestroy, AfterVi
|
|
|
96
170
|
insertTransformedContent(tempDiv: HTMLDivElement): void;
|
|
97
171
|
transformTableData(tables: HTMLCollectionOf<HTMLTableElement>): void;
|
|
98
172
|
transformToBullets(event: MouseEvent): void;
|
|
173
|
+
transformToBulletsAlgorithmOverride(): void;
|
|
174
|
+
transformToBulletByAI(): void;
|
|
99
175
|
transformToSkillsBullets(event: MouseEvent): void;
|
|
100
176
|
checkHtmlContent(content: string): boolean;
|
|
101
|
-
|
|
102
|
-
|
|
177
|
+
addTable(event: MouseEvent): void;
|
|
178
|
+
deleteTable(event: MouseEvent): void;
|
|
179
|
+
addRowBelow(event: MouseEvent): void;
|
|
180
|
+
addRowAbove(event: MouseEvent): void;
|
|
181
|
+
addColumnLeft(event: MouseEvent): void;
|
|
182
|
+
addColumnRight(event: MouseEvent): void;
|
|
183
|
+
deleteColumnLeft(event: MouseEvent): void;
|
|
184
|
+
deleteColumnRight(event: MouseEvent): void;
|
|
185
|
+
deleteCurrentColumn(event: MouseEvent): void;
|
|
186
|
+
deleteCurrentRow(event: MouseEvent): void;
|
|
187
|
+
deleteRowAbove(event: MouseEvent): void;
|
|
188
|
+
deleteRowBelow(event: MouseEvent): void;
|
|
189
|
+
updateAIToolInMemory(tool: any): void;
|
|
190
|
+
useAITool(event: MouseEvent): void;
|
|
191
|
+
private processExperienceData;
|
|
192
|
+
private processEducationData;
|
|
193
|
+
private processCertificationData;
|
|
194
|
+
private processDates;
|
|
195
|
+
verifyModelLatencyAndStatusBefore(event: Event): void;
|
|
196
|
+
listenToSocket(event: Event): void;
|
|
197
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomEditorComponent, [{ optional: true; }, { optional: true; }, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
198
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomEditorComponent, "app-custom-editor", never, { "bold": { "alias": "bold"; "required": false; }; "italic": { "alias": "italic"; "required": false; }; "underline": { "alias": "underline"; "required": false; }; "list": { "alias": "list"; "required": false; }; "isVisible": { "alias": "isVisible"; "required": false; }; "dataTestId": { "alias": "dataTestId"; "required": false; }; "showLabels": { "alias": "showLabels"; "required": false; }; "leftLabelText": { "alias": "leftLabelText"; "required": false; }; "rightLabelText": { "alias": "rightLabelText"; "required": false; }; "initialValue": { "alias": "initialValue"; "required": false; }; "contentFromParent": { "alias": "contentFromParent"; "required": false; }; "editScreenSection": { "alias": "editScreenSection"; "required": false; }; "actionType": { "alias": "actionType"; "required": false; }; "historyControls": { "alias": "historyControls"; "required": false; }; "autobullet": { "alias": "autobullet"; "required": false; }; "skillsBullet": { "alias": "skillsBullet"; "required": false; }; "jsonData": { "alias": "jsonData"; "required": false; }; "formJsonData": { "alias": "formJsonData"; "required": false; }; "editorId": { "alias": "editorId"; "required": false; }; "sectionId": { "alias": "sectionId"; "required": false; }; "actionId": { "alias": "actionId"; "required": false; }; "undoCustom": { "alias": "undoCustom"; "required": false; }; "redoCustom": { "alias": "redoCustom"; "required": false; }; "undoSkill": { "alias": "undoSkill"; "required": false; }; "redoSkill": { "alias": "redoSkill"; "required": false; }; "matOptionAI": { "alias": "matOptionAI"; "required": false; }; "hideTableOption": { "alias": "hideTableOption"; "required": false; }; "hideAutoBulletOption": { "alias": "hideAutoBulletOption"; "required": false; }; "hideAIOption": { "alias": "hideAIOption"; "required": false; }; "insertTablebtn": { "alias": "insertTablebtn"; "required": false; }; "insertRowAbovebtn": { "alias": "insertRowAbovebtn"; "required": false; }; "insertRowBelowbtn": { "alias": "insertRowBelowbtn"; "required": false; }; "insertColumnLeftbtn": { "alias": "insertColumnLeftbtn"; "required": false; }; "insertColumnRightbtn": { "alias": "insertColumnRightbtn"; "required": false; }; "deleteTablebtn": { "alias": "deleteTablebtn"; "required": false; }; "deleteRowAbovebtn": { "alias": "deleteRowAbovebtn"; "required": false; }; "deleteRowBelowbtn": { "alias": "deleteRowBelowbtn"; "required": false; }; "deleteColumnLeftbtn": { "alias": "deleteColumnLeftbtn"; "required": false; }; "deleteColumnRightbtn": { "alias": "deleteColumnRightbtn"; "required": false; }; "showTable": { "alias": "showTable"; "required": false; }; "toolbarConfig": { "alias": "toolbarConfig"; "required": false; }; "textFormattingConfig": { "alias": "textFormattingConfig"; "required": false; }; }, { "contentChangeFromQuill": "contentChangeFromQuill"; "ApplyAIinQuill": "ApplyAIinQuill"; }, never, never, true, never>;
|
|
103
199
|
}
|
|
104
200
|
export {};
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { OnInit, AfterViewInit } from '@angular/core';
|
|
2
|
+
import { MatIconRegistry } from '@angular/material/icon';
|
|
3
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
2
4
|
import * as i0 from "@angular/core";
|
|
3
5
|
export declare class TableComponent implements OnInit, AfterViewInit {
|
|
6
|
+
private iconRegistry;
|
|
7
|
+
private sanitizer;
|
|
8
|
+
constructor(iconRegistry: MatIconRegistry, sanitizer: DomSanitizer);
|
|
4
9
|
getEditorElement: () => HTMLElement | undefined;
|
|
5
10
|
saveHistoryMethod: () => void;
|
|
6
11
|
textChangeMethod: () => void;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { EventEmitter, AfterViewInit, OnDestroy, ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class EditableFormWrapperComponent implements AfterViewInit, OnDestroy {
|
|
4
|
+
/**
|
|
5
|
+
* Test id for e2e/qa automation.
|
|
6
|
+
*/
|
|
7
|
+
private static randomId;
|
|
8
|
+
/**
|
|
9
|
+
* Test id for e2e/qa automation. If not provided, a random id will be used.
|
|
10
|
+
*/
|
|
11
|
+
testId: string;
|
|
12
|
+
/**
|
|
13
|
+
* Show the left floating edit button.
|
|
14
|
+
* @default true
|
|
15
|
+
*/
|
|
16
|
+
showLeftButton: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Show the right floating save button.
|
|
19
|
+
* @default true
|
|
20
|
+
*/
|
|
21
|
+
showSaveButton: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Show the right floating delete button.
|
|
24
|
+
* @default true
|
|
25
|
+
*/
|
|
26
|
+
showDeleteButton: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Emitted when the left (edit) button is clicked.
|
|
29
|
+
*/
|
|
30
|
+
leftButtonClick: EventEmitter<Event>;
|
|
31
|
+
/**
|
|
32
|
+
* Emitted when the save button is clicked.
|
|
33
|
+
*/
|
|
34
|
+
saveButtonClick: EventEmitter<Event>;
|
|
35
|
+
/**
|
|
36
|
+
* Emitted when the delete button is clicked.
|
|
37
|
+
*/
|
|
38
|
+
deleteButtonClick: EventEmitter<Event>;
|
|
39
|
+
wrapperRef: ElementRef<HTMLElement>;
|
|
40
|
+
buttonGroupRef: ElementRef<HTMLElement>;
|
|
41
|
+
leftButtonRef: ElementRef<HTMLElement>;
|
|
42
|
+
private scrollListener?;
|
|
43
|
+
ngAfterViewInit(): void;
|
|
44
|
+
ngOnDestroy(): void;
|
|
45
|
+
private setupScrollBehavior;
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditableFormWrapperComponent, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditableFormWrapperComponent, "al-form", never, { "testId": { "alias": "testId"; "required": false; }; "showLeftButton": { "alias": "showLeftButton"; "required": false; }; "showSaveButton": { "alias": "showSaveButton"; "required": false; }; "showDeleteButton": { "alias": "showDeleteButton"; "required": false; }; }, { "leftButtonClick": "leftButtonClick"; "saveButtonClick": "saveButtonClick"; "deleteButtonClick": "deleteButtonClick"; }, never, ["*"], true, never>;
|
|
48
|
+
}
|
|
@@ -24,6 +24,8 @@ export declare class ExperienceSectionComponent {
|
|
|
24
24
|
locationTooltip?: string;
|
|
25
25
|
descriptionTooltip?: string;
|
|
26
26
|
tooltipPosition: 'left' | 'right' | 'above' | 'below' | 'before' | 'after';
|
|
27
|
+
/** When true, visually de-emphasises resume entries; descriptions stay visible but truncated */
|
|
28
|
+
isSectionHidden: boolean;
|
|
27
29
|
gap: string | number;
|
|
28
30
|
padding: string | number;
|
|
29
31
|
leftWidth: string;
|
|
@@ -56,7 +58,7 @@ export declare class ExperienceSectionComponent {
|
|
|
56
58
|
onVisibilityToggle(isVisible: boolean): void;
|
|
57
59
|
onHideShowEvent(obj: any): void;
|
|
58
60
|
onCheckboxEvent(obj: object): void;
|
|
59
|
-
onSetSubroleEvent(subrole
|
|
61
|
+
onSetSubroleEvent(subrole?: any): void;
|
|
60
62
|
onEditEvent(content: string): void;
|
|
61
63
|
onReapplyClick(data: {
|
|
62
64
|
entry: ResumeEntry;
|
|
@@ -67,5 +69,5 @@ export declare class ExperienceSectionComponent {
|
|
|
67
69
|
index: number;
|
|
68
70
|
}): void;
|
|
69
71
|
static ɵfac: i0.ɵɵFactoryDeclaration<ExperienceSectionComponent, never>;
|
|
70
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ExperienceSectionComponent, "al-experience-section", never, { "entries": { "alias": "entries"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "showDescriptionLabel": { "alias": "showDescriptionLabel"; "required": false; }; "showCompany": { "alias": "showCompany"; "required": false; }; "showJobTitle": { "alias": "showJobTitle"; "required": false; }; "showDates": { "alias": "showDates"; "required": false; }; "showLocation": { "alias": "showLocation"; "required": false; }; "showTimeline": { "alias": "showTimeline"; "required": false; }; "showReapplyButton": { "alias": "showReapplyButton"; "required": false; }; "showLoader": { "alias": "showLoader"; "required": false; }; "loaderForAllEntries": { "alias": "loaderForAllEntries"; "required": false; }; "loaderStatus": { "alias": "loaderStatus"; "required": false; }; "loaderSize": { "alias": "loaderSize"; "required": false; }; "skills": { "alias": "skills"; "required": false; }; "companyTooltip": { "alias": "companyTooltip"; "required": false; }; "jobTitleTooltip": { "alias": "jobTitleTooltip"; "required": false; }; "dateTooltip": { "alias": "dateTooltip"; "required": false; }; "locationTooltip": { "alias": "locationTooltip"; "required": false; }; "descriptionTooltip": { "alias": "descriptionTooltip"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; "gap": { "alias": "gap"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "leftWidth": { "alias": "leftWidth"; "required": false; }; "rightWidth": { "alias": "rightWidth"; "required": false; }; "stackAt": { "alias": "stackAt"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "content": { "alias": "content"; "required": false; }; "isExtractionAnalysisActive": { "alias": "isExtractionAnalysisActive"; "required": false; }; "showSearch": { "alias": "showSearch"; "required": false; }; "overrideConfig": { "alias": "overrideConfig"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "alwaysShowIcons": { "alias": "alwaysShowIcons"; "required": false; }; "overrideConfigRight": { "alias": "overrideConfigRight"; "required": false; }; "currentObj": { "alias": "currentObj"; "required": false; }; }, { "editEvent": "editEvent"; "reapplyClick": "reapplyClick"; "undoClick": "undoClick"; "checkboxChange": "checkboxChange"; "visibilityToggle": "visibilityToggle"; "hideShowEvent": "hideShowEvent"; "checkboxEvent": "checkboxEvent"; "setSubroleEvent": "setSubroleEvent"; }, never, never, true, never>;
|
|
72
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ExperienceSectionComponent, "al-experience-section", never, { "entries": { "alias": "entries"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "showDescriptionLabel": { "alias": "showDescriptionLabel"; "required": false; }; "showCompany": { "alias": "showCompany"; "required": false; }; "showJobTitle": { "alias": "showJobTitle"; "required": false; }; "showDates": { "alias": "showDates"; "required": false; }; "showLocation": { "alias": "showLocation"; "required": false; }; "showTimeline": { "alias": "showTimeline"; "required": false; }; "showReapplyButton": { "alias": "showReapplyButton"; "required": false; }; "showLoader": { "alias": "showLoader"; "required": false; }; "loaderForAllEntries": { "alias": "loaderForAllEntries"; "required": false; }; "loaderStatus": { "alias": "loaderStatus"; "required": false; }; "loaderSize": { "alias": "loaderSize"; "required": false; }; "skills": { "alias": "skills"; "required": false; }; "companyTooltip": { "alias": "companyTooltip"; "required": false; }; "jobTitleTooltip": { "alias": "jobTitleTooltip"; "required": false; }; "dateTooltip": { "alias": "dateTooltip"; "required": false; }; "locationTooltip": { "alias": "locationTooltip"; "required": false; }; "descriptionTooltip": { "alias": "descriptionTooltip"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; "isSectionHidden": { "alias": "isSectionHidden"; "required": false; }; "gap": { "alias": "gap"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "leftWidth": { "alias": "leftWidth"; "required": false; }; "rightWidth": { "alias": "rightWidth"; "required": false; }; "stackAt": { "alias": "stackAt"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "content": { "alias": "content"; "required": false; }; "isExtractionAnalysisActive": { "alias": "isExtractionAnalysisActive"; "required": false; }; "showSearch": { "alias": "showSearch"; "required": false; }; "overrideConfig": { "alias": "overrideConfig"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "alwaysShowIcons": { "alias": "alwaysShowIcons"; "required": false; }; "overrideConfigRight": { "alias": "overrideConfigRight"; "required": false; }; "currentObj": { "alias": "currentObj"; "required": false; }; }, { "editEvent": "editEvent"; "reapplyClick": "reapplyClick"; "undoClick": "undoClick"; "checkboxChange": "checkboxChange"; "visibilityToggle": "visibilityToggle"; "hideShowEvent": "hideShowEvent"; "checkboxEvent": "checkboxEvent"; "setSubroleEvent": "setSubroleEvent"; }, never, never, true, never>;
|
|
71
73
|
}
|
|
@@ -11,6 +11,10 @@ export declare class GeneralContainerComponent {
|
|
|
11
11
|
width?: string;
|
|
12
12
|
/** Height of the container */
|
|
13
13
|
height?: string;
|
|
14
|
+
/** Overflow-x property */
|
|
15
|
+
overflowX?: string;
|
|
16
|
+
/** Overflow-y property */
|
|
17
|
+
overflowY?: string;
|
|
14
18
|
/** Border position: 'none', 'top', 'bottom', or 'both' */
|
|
15
19
|
borderPosition: BorderPosition;
|
|
16
20
|
/** Border color - one of the predefined colors */
|
|
@@ -27,5 +31,5 @@ export declare class GeneralContainerComponent {
|
|
|
27
31
|
[key: string]: string;
|
|
28
32
|
};
|
|
29
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<GeneralContainerComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GeneralContainerComponent, "al-general-container", never, { "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "borderPosition": { "alias": "borderPosition"; "required": false; }; "borderColor": { "alias": "borderColor"; "required": false; }; "borderRadius": { "alias": "borderRadius"; "required": false; }; "boxShadow": { "alias": "boxShadow"; "required": false; }; "customBoxShadow": { "alias": "customBoxShadow"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GeneralContainerComponent, "al-general-container", never, { "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "overflowX": { "alias": "overflowX"; "required": false; }; "overflowY": { "alias": "overflowY"; "required": false; }; "borderPosition": { "alias": "borderPosition"; "required": false; }; "borderColor": { "alias": "borderColor"; "required": false; }; "borderRadius": { "alias": "borderRadius"; "required": false; }; "boxShadow": { "alias": "boxShadow"; "required": false; }; "customBoxShadow": { "alias": "customBoxShadow"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
31
35
|
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { MatIconRegistry } from '@angular/material/icon';
|
|
3
3
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class IconButtonComponent {
|
|
5
|
+
export declare class IconButtonComponent implements OnInit {
|
|
6
6
|
private iconRegistry;
|
|
7
7
|
private sanitizer;
|
|
8
8
|
/** Icon name (Material icon name) */
|
|
9
9
|
icon: string;
|
|
10
|
-
/** Custom
|
|
11
|
-
|
|
10
|
+
/** Custom colour (CSS color value) - if provided, overrides the colour property */
|
|
11
|
+
customColour?: string;
|
|
12
12
|
/** Use outlined icon font */
|
|
13
13
|
iconOutlined: boolean;
|
|
14
14
|
/** Button size (xs, sm, base, l, xl, header) */
|
|
15
15
|
size: 'xs' | 'sm' | 'base' | 'l' | 'xl' | 'header';
|
|
16
|
-
/** Button
|
|
17
|
-
|
|
16
|
+
/** Button colour (blue, green, grey, error, gradient, etc.) */
|
|
17
|
+
colour: string;
|
|
18
18
|
/** Disabled state */
|
|
19
19
|
disabled: boolean;
|
|
20
20
|
/** Optional custom data-testid for QA/testing */
|
|
@@ -27,6 +27,15 @@ export declare class IconButtonComponent {
|
|
|
27
27
|
genId(): string;
|
|
28
28
|
private genIconBtnId;
|
|
29
29
|
handleClick(event: Event): void;
|
|
30
|
+
/**
|
|
31
|
+
* Gets the effective icon name to use, considering outlined mappings.
|
|
32
|
+
* Some icons like 'favorite' and 'star' have different names for outlined versions.
|
|
33
|
+
*/
|
|
34
|
+
getEffectiveIconName(): string;
|
|
35
|
+
/**
|
|
36
|
+
* Gets the effective font set to use for the icon.
|
|
37
|
+
*/
|
|
38
|
+
getEffectiveFontSet(): string;
|
|
30
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<IconButtonComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IconButtonComponent, "al-icon-button", never, { "icon": { "alias": "icon"; "required": false; }; "
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IconButtonComponent, "al-icon-button", never, { "icon": { "alias": "icon"; "required": false; }; "customColour": { "alias": "customColour"; "required": false; }; "iconOutlined": { "alias": "iconOutlined"; "required": false; }; "size": { "alias": "size"; "required": false; }; "colour": { "alias": "colour"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "dataTestId": { "alias": "dataTestId"; "required": false; }; }, { "onClick": "onClick"; }, never, never, true, never>;
|
|
32
41
|
}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit, OnChanges, SimpleChanges, AfterViewInit, ElementRef } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { MatAutocompleteTrigger } from '@angular/material/autocomplete';
|
|
4
|
+
import { MatDatepicker } from '@angular/material/datepicker';
|
|
3
5
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class InputComponent implements ControlValueAccessor {
|
|
6
|
+
export declare class InputComponent implements ControlValueAccessor, OnInit, OnChanges, AfterViewInit {
|
|
5
7
|
labelText: string;
|
|
6
8
|
/** DEPRECATED: label -> labelText */
|
|
7
9
|
set label(val: string);
|
|
8
10
|
placeholder: string;
|
|
9
|
-
value: string;
|
|
11
|
+
value: string | string[];
|
|
10
12
|
formControlName: string;
|
|
11
13
|
dataTestId: string;
|
|
12
14
|
type: 'text' | 'email' | 'number' | 'password' | 'tel' | 'url' | 'date' | 'color';
|
|
@@ -19,37 +21,66 @@ export declare class InputComponent implements ControlValueAccessor {
|
|
|
19
21
|
hasDropDown: boolean;
|
|
20
22
|
/** DEPRECATED: dropDown -> hasDropDown */
|
|
21
23
|
set dropDown(val: boolean);
|
|
24
|
+
searchfilter: boolean;
|
|
25
|
+
multipleSelect: boolean;
|
|
22
26
|
options: string[];
|
|
23
27
|
size: 'xs' | 'small' | 'base' | 'large' | 'header';
|
|
24
28
|
types: 'simple' | 'primary' | 'success' | 'error' | 'disabled' | 'plain';
|
|
25
29
|
tooltip: string;
|
|
26
30
|
tooltipPosition: 'right' | 'left' | 'above' | 'below' | 'before' | 'after';
|
|
31
|
+
matDatepicker?: MatDatepicker<any>;
|
|
32
|
+
dateType: string;
|
|
33
|
+
internalDatepicker?: MatDatepicker<any>;
|
|
34
|
+
autocompleteTrigger?: MatAutocompleteTrigger;
|
|
35
|
+
searchInput?: ElementRef<HTMLInputElement>;
|
|
27
36
|
noBorder: boolean;
|
|
28
37
|
outlined: boolean;
|
|
29
38
|
selectedDate: Date | null;
|
|
39
|
+
filteredOptions: string[];
|
|
40
|
+
searchValue: string;
|
|
41
|
+
private justSelected;
|
|
42
|
+
selectedValues: string[];
|
|
43
|
+
get datepickerRef(): MatDatepicker<any> | undefined;
|
|
30
44
|
change: EventEmitter<string>;
|
|
31
45
|
/** DEPRECATED: valueChange -> change */
|
|
32
46
|
valueChange: EventEmitter<string>;
|
|
33
47
|
onColorChange: EventEmitter<string>;
|
|
34
|
-
monthSelected: EventEmitter<
|
|
35
|
-
|
|
48
|
+
monthSelected: EventEmitter<{
|
|
49
|
+
date: Date;
|
|
50
|
+
datepicker?: MatDatepicker<any>;
|
|
51
|
+
}>;
|
|
52
|
+
yearSelected: EventEmitter<{
|
|
53
|
+
date: Date;
|
|
54
|
+
datepicker?: MatDatepicker<any>;
|
|
55
|
+
}>;
|
|
36
56
|
private onChange;
|
|
37
57
|
onTouched: () => void;
|
|
38
58
|
get isDisabled(): boolean;
|
|
39
59
|
get isDatePicker(): boolean;
|
|
40
60
|
get isColorPicker(): boolean;
|
|
41
|
-
|
|
61
|
+
get isSearchableDropdown(): boolean;
|
|
62
|
+
get isMultipleDropdown(): boolean;
|
|
63
|
+
ngOnInit(): void;
|
|
64
|
+
ngAfterViewInit(): void;
|
|
65
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
66
|
+
writeValue(value: string | Date | any | null | undefined): void;
|
|
42
67
|
registerOnChange(fn: (value: string) => void): void;
|
|
43
68
|
registerOnTouched(fn: () => void): void;
|
|
44
69
|
setDisabledState(isDisabled: boolean): void;
|
|
45
70
|
onInputChange(value: string): void;
|
|
46
|
-
onSelectionChange(value: string): void;
|
|
71
|
+
onSelectionChange(value: string | string[]): void;
|
|
72
|
+
onSearchInputChange(event: Event): void;
|
|
73
|
+
onOptionSelected(event: any): void;
|
|
74
|
+
filterOptions(searchTerm: string): void;
|
|
75
|
+
onSearchFocus(): void;
|
|
76
|
+
displayFn: (value: string) => string;
|
|
47
77
|
handleColorChange(event: Event): void;
|
|
48
|
-
onMonthSelected(event:
|
|
49
|
-
onYearSelected(event:
|
|
78
|
+
onMonthSelected(event: any, dp: any): void;
|
|
79
|
+
onYearSelected(event: any, dp: any): void;
|
|
80
|
+
onDateChange(event: any): void;
|
|
50
81
|
private shouldShowDatePicker;
|
|
51
82
|
getSizeClass(): string;
|
|
52
83
|
getCategoryClass(): string;
|
|
53
84
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
|
|
54
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "al-input", never, { "labelText": { "alias": "labelText"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "dataTestId": { "alias": "dataTestId"; "required": false; }; "type": { "alias": "type"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "error": { "alias": "error"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "leftIcon": { "alias": "leftIcon"; "required": false; }; "rightIcon": { "alias": "rightIcon"; "required": false; }; "hasDropDown": { "alias": "hasDropDown"; "required": false; }; "dropDown": { "alias": "dropDown"; "required": false; }; "options": { "alias": "options"; "required": false; }; "size": { "alias": "size"; "required": false; }; "types": { "alias": "types"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; }, { "change": "change"; "valueChange": "valueChange"; "onColorChange": "onColorChange"; "monthSelected": "monthSelected"; "yearSelected": "yearSelected"; }, never, never, true, never>;
|
|
85
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "al-input", never, { "labelText": { "alias": "labelText"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "dataTestId": { "alias": "dataTestId"; "required": false; }; "type": { "alias": "type"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "error": { "alias": "error"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "leftIcon": { "alias": "leftIcon"; "required": false; }; "rightIcon": { "alias": "rightIcon"; "required": false; }; "hasDropDown": { "alias": "hasDropDown"; "required": false; }; "dropDown": { "alias": "dropDown"; "required": false; }; "searchfilter": { "alias": "searchfilter"; "required": false; }; "multipleSelect": { "alias": "multipleSelect"; "required": false; }; "options": { "alias": "options"; "required": false; }; "size": { "alias": "size"; "required": false; }; "types": { "alias": "types"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; "matDatepicker": { "alias": "matDatepicker"; "required": false; }; "dateType": { "alias": "dateType"; "required": false; }; }, { "change": "change"; "valueChange": "valueChange"; "onColorChange": "onColorChange"; "monthSelected": "monthSelected"; "yearSelected": "yearSelected"; }, never, never, true, never>;
|
|
55
86
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { EventEmitter, OnInit, OnDestroy, AfterViewInit, OnChanges, SimpleChanges, ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
|
+
import { MatIconRegistry } from '@angular/material/icon';
|
|
2
3
|
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
3
4
|
import { EyeIconConfig, HeaderButton } from '../resume-header/resume-header.model';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class NewResumeHeaderComponent implements OnInit, OnDestroy, AfterViewInit, OnChanges {
|
|
6
7
|
private sanitizer;
|
|
7
8
|
private cdr;
|
|
9
|
+
private iconRegistry;
|
|
8
10
|
title: string;
|
|
9
11
|
showHeaderCheckbox: boolean;
|
|
10
12
|
headerCheckboxChecked: boolean;
|
|
@@ -12,6 +14,15 @@ export declare class NewResumeHeaderComponent implements OnInit, OnDestroy, Afte
|
|
|
12
14
|
hiddenSection: {
|
|
13
15
|
headerSectionHidden: boolean;
|
|
14
16
|
};
|
|
17
|
+
/**
|
|
18
|
+
* Whether the section is currently hidden.
|
|
19
|
+
*
|
|
20
|
+
* Priority:
|
|
21
|
+
* 1. If any EyeIconConfig with canToggle is provided, use its `isHidden` flag
|
|
22
|
+
* as the source of truth. This lets callers drive the state via configEyeToggle.
|
|
23
|
+
* 2. Otherwise, fall back to `hiddenSection.headerSectionHidden` for backward compatibility.
|
|
24
|
+
*/
|
|
25
|
+
get isSectionHidden(): boolean;
|
|
15
26
|
buttonConfig: HeaderButton[];
|
|
16
27
|
isLargeScreen: boolean;
|
|
17
28
|
private resizeListener?;
|
|
@@ -40,11 +51,39 @@ export declare class NewResumeHeaderComponent implements OnInit, OnDestroy, Afte
|
|
|
40
51
|
isPopOutDismissed: boolean;
|
|
41
52
|
private clickOutsideListener?;
|
|
42
53
|
titleInput?: ElementRef<HTMLInputElement>;
|
|
43
|
-
constructor(sanitizer: DomSanitizer, cdr: ChangeDetectorRef);
|
|
54
|
+
constructor(sanitizer: DomSanitizer, cdr: ChangeDetectorRef, iconRegistry: MatIconRegistry);
|
|
55
|
+
private registerIcons;
|
|
44
56
|
toggleAccordion(accordionItem: any): void;
|
|
57
|
+
/**
|
|
58
|
+
* Handles clicks on the eye icon.
|
|
59
|
+
*
|
|
60
|
+
* - Toggles the isHidden flag on the corresponding EyeIconConfig (if canToggle is true)
|
|
61
|
+
* - Keeps hiddenSection.headerSectionHidden in sync for backwards compatibility
|
|
62
|
+
* - Emits the showHideToggleSection event with the *new* isHidden state
|
|
63
|
+
*/
|
|
64
|
+
onEyeIconClick(currentHidden: boolean, accordionItem: any, config: EyeIconConfig): void;
|
|
45
65
|
onHeaderCheckboxChange(checked: boolean): void;
|
|
46
|
-
|
|
47
|
-
|
|
66
|
+
/**
|
|
67
|
+
* Resolves the left and right icon names for a button based on its configuration.
|
|
68
|
+
* This centralizes all icon mapping logic, making it easier to maintain.
|
|
69
|
+
*
|
|
70
|
+
* @param btn - The HeaderButton configuration
|
|
71
|
+
* @returns An object with leftIcon and rightIcon properties
|
|
72
|
+
*/
|
|
73
|
+
getButtonIcons(btn: HeaderButton): {
|
|
74
|
+
leftIcon: string | null | undefined;
|
|
75
|
+
rightIcon: string | null | undefined;
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* Gets the tooltip text for a button based on its configuration.
|
|
79
|
+
* Tooltips follow title case (e.g., "Menu", "Add Section").
|
|
80
|
+
*
|
|
81
|
+
* @param btn - The HeaderButton configuration
|
|
82
|
+
* @returns The tooltip text or undefined
|
|
83
|
+
*/
|
|
84
|
+
getButtonTooltip(btn: HeaderButton): string | undefined;
|
|
85
|
+
onButtonClick(btn: HeaderButton, event: Event): void;
|
|
86
|
+
onDropdownSelect(btn: HeaderButton, value: any): void;
|
|
48
87
|
onTitleClick(): void;
|
|
49
88
|
onTitleFocus(): void;
|
|
50
89
|
onTitleBlur(): void;
|
|
@@ -61,5 +100,5 @@ export declare class NewResumeHeaderComponent implements OnInit, OnDestroy, Afte
|
|
|
61
100
|
ngAfterViewInit(): void;
|
|
62
101
|
ngOnDestroy(): void;
|
|
63
102
|
static ɵfac: i0.ɵɵFactoryDeclaration<NewResumeHeaderComponent, never>;
|
|
64
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NewResumeHeaderComponent, "al-newresumeheader", never, { "title": { "alias": "title"; "required": false; }; "showHeaderCheckbox": { "alias": "showHeaderCheckbox"; "required": false; }; "headerCheckboxChecked": { "alias": "headerCheckboxChecked"; "required": false; }; "configEyeToggle": { "alias": "configEyeToggle"; "required": false; }; "hiddenSection": { "alias": "hiddenSection"; "required": false; }; "buttonConfig": { "alias": "buttonConfig"; "required": false; }; "isLargeScreen": { "alias": "isLargeScreen"; "required": false; }; "popOutButtonLabel": { "alias": "popOutButtonLabel"; "required": false; }; "popOutButtonIcon": { "alias": "popOutButtonIcon"; "required": false; }; "popOutButtonTooltip": { "alias": "popOutButtonTooltip"; "required": false; }; "popOutButtonTooltipPosition": { "alias": "popOutButtonTooltipPosition"; "required": false; }; "showPopOutPanel": { "alias": "showPopOutPanel"; "required": false; }; "popOutMessage": { "alias": "popOutMessage"; "required": false; }; "dataTestId": { "alias": "dataTestId"; "required": false; }; }, { "titleChange": "titleChange"; "sectionToggled": "sectionToggled"; "headerCheckboxChange": "headerCheckboxChange"; "showHideToggleSection": "showHideToggleSection"; "buttonClicked": "buttonClicked"; "popOutButtonClick": "popOutButtonClick"; }, never, ["[header-left]", "[header-center-left]", "[header-center-center]", "[header-center-right]", "[header-right]", "[
|
|
103
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NewResumeHeaderComponent, "al-newresumeheader", never, { "title": { "alias": "title"; "required": false; }; "showHeaderCheckbox": { "alias": "showHeaderCheckbox"; "required": false; }; "headerCheckboxChecked": { "alias": "headerCheckboxChecked"; "required": false; }; "configEyeToggle": { "alias": "configEyeToggle"; "required": false; }; "hiddenSection": { "alias": "hiddenSection"; "required": false; }; "buttonConfig": { "alias": "buttonConfig"; "required": false; }; "isLargeScreen": { "alias": "isLargeScreen"; "required": false; }; "popOutButtonLabel": { "alias": "popOutButtonLabel"; "required": false; }; "popOutButtonIcon": { "alias": "popOutButtonIcon"; "required": false; }; "popOutButtonTooltip": { "alias": "popOutButtonTooltip"; "required": false; }; "popOutButtonTooltipPosition": { "alias": "popOutButtonTooltipPosition"; "required": false; }; "showPopOutPanel": { "alias": "showPopOutPanel"; "required": false; }; "popOutMessage": { "alias": "popOutMessage"; "required": false; }; "dataTestId": { "alias": "dataTestId"; "required": false; }; }, { "titleChange": "titleChange"; "sectionToggled": "sectionToggled"; "headerCheckboxChange": "headerCheckboxChange"; "showHideToggleSection": "showHideToggleSection"; "buttonClicked": "buttonClicked"; "popOutButtonClick": "popOutButtonClick"; }, never, ["[header-left]", "[header-center-left]", "[header-center-center]", "[header-center-right]", "[header-right]", "[header-left]", "[header-center-right]", "[header-right]", "*"], true, never>;
|
|
65
104
|
}
|
|
@@ -53,6 +53,12 @@ export declare class ResumeEntriesComponent {
|
|
|
53
53
|
descriptionTooltip?: string;
|
|
54
54
|
/** Tooltip position - can be 'left', 'right', 'above', 'below', 'before', or 'after' */
|
|
55
55
|
tooltipPosition: 'left' | 'right' | 'above' | 'below' | 'before' | 'after';
|
|
56
|
+
/**
|
|
57
|
+
* When true, the resume entries section is visually de-emphasised (lower opacity),
|
|
58
|
+
* but the first line of each description remains visible (truncated with ellipsis).
|
|
59
|
+
* This mirrors the “section hidden” behaviour in the header without fully removing content.
|
|
60
|
+
*/
|
|
61
|
+
isSectionHidden: boolean;
|
|
56
62
|
/** Event emitted when the reapply button is clicked for a specific entry */
|
|
57
63
|
reapplyClick: EventEmitter<{
|
|
58
64
|
entry: ResumeEntry;
|
|
@@ -68,5 +74,5 @@ export declare class ResumeEntriesComponent {
|
|
|
68
74
|
onUndoClick(entry: ResumeEntry, index: number): void;
|
|
69
75
|
isReapplied(index: number): boolean;
|
|
70
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResumeEntriesComponent, never>;
|
|
71
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ResumeEntriesComponent, "al-resume-entries", never, { "entries": { "alias": "entries"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "showDescriptionLabel": { "alias": "showDescriptionLabel"; "required": false; }; "showCompany": { "alias": "showCompany"; "required": false; }; "showJobTitle": { "alias": "showJobTitle"; "required": false; }; "showDates": { "alias": "showDates"; "required": false; }; "showLocation": { "alias": "showLocation"; "required": false; }; "showTimeline": { "alias": "showTimeline"; "required": false; }; "showReapplyButton": { "alias": "showReapplyButton"; "required": false; }; "showLoader": { "alias": "showLoader"; "required": false; }; "loaderForAllEntries": { "alias": "loaderForAllEntries"; "required": false; }; "loaderStatus": { "alias": "loaderStatus"; "required": false; }; "loaderSize": { "alias": "loaderSize"; "required": false; }; "skills": { "alias": "skills"; "required": false; }; "companyTooltip": { "alias": "companyTooltip"; "required": false; }; "jobTitleTooltip": { "alias": "jobTitleTooltip"; "required": false; }; "dateTooltip": { "alias": "dateTooltip"; "required": false; }; "locationTooltip": { "alias": "locationTooltip"; "required": false; }; "descriptionTooltip": { "alias": "descriptionTooltip"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; }, { "reapplyClick": "reapplyClick"; "undoClick": "undoClick"; }, never, ["*"], true, never>;
|
|
77
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResumeEntriesComponent, "al-resume-entries", never, { "entries": { "alias": "entries"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "showDescriptionLabel": { "alias": "showDescriptionLabel"; "required": false; }; "showCompany": { "alias": "showCompany"; "required": false; }; "showJobTitle": { "alias": "showJobTitle"; "required": false; }; "showDates": { "alias": "showDates"; "required": false; }; "showLocation": { "alias": "showLocation"; "required": false; }; "showTimeline": { "alias": "showTimeline"; "required": false; }; "showReapplyButton": { "alias": "showReapplyButton"; "required": false; }; "showLoader": { "alias": "showLoader"; "required": false; }; "loaderForAllEntries": { "alias": "loaderForAllEntries"; "required": false; }; "loaderStatus": { "alias": "loaderStatus"; "required": false; }; "loaderSize": { "alias": "loaderSize"; "required": false; }; "skills": { "alias": "skills"; "required": false; }; "companyTooltip": { "alias": "companyTooltip"; "required": false; }; "jobTitleTooltip": { "alias": "jobTitleTooltip"; "required": false; }; "dateTooltip": { "alias": "dateTooltip"; "required": false; }; "locationTooltip": { "alias": "locationTooltip"; "required": false; }; "descriptionTooltip": { "alias": "descriptionTooltip"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; "isSectionHidden": { "alias": "isSectionHidden"; "required": false; }; }, { "reapplyClick": "reapplyClick"; "undoClick": "undoClick"; }, never, ["*"], true, never>;
|
|
72
78
|
}
|
|
@@ -22,29 +22,20 @@ export interface DropdownOption {
|
|
|
22
22
|
function?: () => void;
|
|
23
23
|
}
|
|
24
24
|
export interface HeaderButton {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
iconOnly: boolean;
|
|
25
|
+
color: string;
|
|
26
|
+
outline: boolean;
|
|
27
|
+
size: string;
|
|
28
|
+
iconOutlined: boolean;
|
|
29
|
+
labelText: string;
|
|
31
30
|
leftIcon: string;
|
|
32
31
|
rightIcon: string;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
tooltip?: string;
|
|
40
|
-
alt?: string;
|
|
41
|
-
testId?: string;
|
|
42
|
-
tooltipText?: string;
|
|
43
|
-
tooltipPosition?: 'above' | 'below' | 'left' | 'right';
|
|
44
|
-
action: string;
|
|
32
|
+
dataTestId: string;
|
|
33
|
+
hasDropDown: boolean;
|
|
34
|
+
dropdownItems?: DropdownOption[];
|
|
35
|
+
/** Optional custom onClick handler. If provided, this will be called instead of emitting buttonClicked */
|
|
36
|
+
onClick?: (event: Event) => void;
|
|
37
|
+
/** Optional function to determine if button should be displayed */
|
|
45
38
|
displayCondition?: () => boolean;
|
|
46
|
-
onClick?: () => void;
|
|
47
|
-
dropdownOptions?: DropdownOption[];
|
|
48
39
|
}
|
|
49
40
|
export interface EyeIconConfig {
|
|
50
41
|
isHidden: boolean;
|