@allsorter/ui-components 0.0.365 → 0.0.369
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 +3152 -1282
- 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 +38 -5
- package/lib/candidate-section/candidate-section.component.d.ts +8 -0
- package/lib/checkbox/checkbox.component.d.ts +6 -2
- package/lib/custom-editor/custom-editor.component.d.ts +110 -14
- package/lib/custom-editor/table/table.component.d.ts +5 -0
- package/lib/date-range/date-range.component.d.ts +4 -2
- 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 +50 -14
- package/lib/newresumeheader/newresumeheader.component.d.ts +85 -0
- package/lib/newresumeheader/newresumeheader.module.d.ts +8 -0
- package/lib/radio/radio.component.d.ts +6 -2
- package/lib/responsive-columns/responsive-columns.component.d.ts +1 -1
- 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/slide-toggle/slide-toggle.component.d.ts +2 -2
- 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/tabs/tabs.component.d.ts +4 -2
- package/lib/utils/icon-utils.d.ts +51 -0
- package/lib/utils/image-utils.d.ts +46 -0
- package/package.json +15 -3
- package/public-api.d.ts +5 -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 +1235 -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 +177 -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 -66
- 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;
|
|
@@ -10,7 +10,9 @@ export declare class DateRangeComponent implements ControlValueAccessor {
|
|
|
10
10
|
dataTestId?: string;
|
|
11
11
|
formControlName?: string;
|
|
12
12
|
size: 'small' | 'medium' | 'large';
|
|
13
|
-
|
|
13
|
+
labelText: string;
|
|
14
|
+
/** DEPRECATED: label -> labelText */
|
|
15
|
+
set label(val: string);
|
|
14
16
|
startPlaceholder: string;
|
|
15
17
|
endPlaceholder: string;
|
|
16
18
|
hint: string;
|
|
@@ -51,5 +53,5 @@ export declare class DateRangeComponent implements ControlValueAccessor {
|
|
|
51
53
|
formatDate(date: Date | null): string;
|
|
52
54
|
private emitChanges;
|
|
53
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangeComponent, never>;
|
|
54
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateRangeComponent, "al-date-range", never, { "dataTestId": { "alias": "dataTestId"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "size": { "alias": "size"; "required": false; }; "label": { "alias": "label"; "required": false; }; "startPlaceholder": { "alias": "startPlaceholder"; "required": false; }; "endPlaceholder": { "alias": "endPlaceholder"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "startAt": { "alias": "startAt"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; "touchUi": { "alias": "touchUi"; "required": false; }; }, { "dateRangeChange": "dateRangeChange"; "openedChange": "openedChange"; "startDateChange": "startDateChange"; "endDateChange": "endDateChange"; }, never, never, true, never>;
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateRangeComponent, "al-date-range", never, { "dataTestId": { "alias": "dataTestId"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "size": { "alias": "size"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; "label": { "alias": "label"; "required": false; }; "startPlaceholder": { "alias": "startPlaceholder"; "required": false; }; "endPlaceholder": { "alias": "endPlaceholder"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "startAt": { "alias": "startAt"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; "touchUi": { "alias": "touchUi"; "required": false; }; }, { "dateRangeChange": "dateRangeChange"; "openedChange": "openedChange"; "startDateChange": "startDateChange"; "endDateChange": "endDateChange"; }, never, never, true, never>;
|
|
55
57
|
}
|
|
@@ -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,50 +1,86 @@
|
|
|
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 {
|
|
5
|
-
|
|
6
|
+
export declare class InputComponent implements ControlValueAccessor, OnInit, OnChanges, AfterViewInit {
|
|
7
|
+
labelText: string;
|
|
8
|
+
/** DEPRECATED: label -> labelText */
|
|
9
|
+
set label(val: string);
|
|
6
10
|
placeholder: string;
|
|
7
|
-
value: string;
|
|
11
|
+
value: string | string[];
|
|
8
12
|
formControlName: string;
|
|
9
13
|
dataTestId: string;
|
|
10
14
|
type: 'text' | 'email' | 'number' | 'password' | 'tel' | 'url' | 'date' | 'color';
|
|
11
15
|
disabled: boolean;
|
|
12
|
-
helperText:
|
|
13
|
-
helperTextLabel: string;
|
|
16
|
+
helperText: string;
|
|
14
17
|
error: boolean;
|
|
15
18
|
errorMessage: string;
|
|
16
19
|
leftIcon: string;
|
|
17
20
|
rightIcon: string;
|
|
18
|
-
|
|
21
|
+
hasDropDown: boolean;
|
|
22
|
+
/** DEPRECATED: dropDown -> hasDropDown */
|
|
23
|
+
set dropDown(val: boolean);
|
|
24
|
+
searchfilter: boolean;
|
|
25
|
+
multipleSelect: boolean;
|
|
19
26
|
options: string[];
|
|
20
27
|
size: 'xs' | 'small' | 'base' | 'large' | 'header';
|
|
21
28
|
types: 'simple' | 'primary' | 'success' | 'error' | 'disabled' | 'plain';
|
|
22
29
|
tooltip: string;
|
|
23
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>;
|
|
24
36
|
noBorder: boolean;
|
|
25
37
|
outlined: boolean;
|
|
26
38
|
selectedDate: Date | null;
|
|
39
|
+
filteredOptions: string[];
|
|
40
|
+
searchValue: string;
|
|
41
|
+
private justSelected;
|
|
42
|
+
selectedValues: string[];
|
|
43
|
+
get datepickerRef(): MatDatepicker<any> | undefined;
|
|
44
|
+
change: EventEmitter<string>;
|
|
45
|
+
/** DEPRECATED: valueChange -> change */
|
|
27
46
|
valueChange: EventEmitter<string>;
|
|
28
47
|
onColorChange: EventEmitter<string>;
|
|
29
|
-
monthSelected: EventEmitter<
|
|
30
|
-
|
|
48
|
+
monthSelected: EventEmitter<{
|
|
49
|
+
date: Date;
|
|
50
|
+
datepicker?: MatDatepicker<any>;
|
|
51
|
+
}>;
|
|
52
|
+
yearSelected: EventEmitter<{
|
|
53
|
+
date: Date;
|
|
54
|
+
datepicker?: MatDatepicker<any>;
|
|
55
|
+
}>;
|
|
31
56
|
private onChange;
|
|
32
57
|
onTouched: () => void;
|
|
33
58
|
get isDisabled(): boolean;
|
|
34
59
|
get isDatePicker(): boolean;
|
|
35
60
|
get isColorPicker(): boolean;
|
|
36
|
-
|
|
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;
|
|
37
67
|
registerOnChange(fn: (value: string) => void): void;
|
|
38
68
|
registerOnTouched(fn: () => void): void;
|
|
39
69
|
setDisabledState(isDisabled: boolean): void;
|
|
40
70
|
onInputChange(value: string): void;
|
|
41
|
-
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;
|
|
42
77
|
handleColorChange(event: Event): void;
|
|
43
|
-
onMonthSelected(event:
|
|
44
|
-
onYearSelected(event:
|
|
78
|
+
onMonthSelected(event: any, dp: any): void;
|
|
79
|
+
onYearSelected(event: any, dp: any): void;
|
|
80
|
+
onDateChange(event: any): void;
|
|
45
81
|
private shouldShowDatePicker;
|
|
46
82
|
getSizeClass(): string;
|
|
47
83
|
getCategoryClass(): string;
|
|
48
84
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
|
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "al-input", never, { "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; }; "
|
|
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>;
|
|
50
86
|
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { EventEmitter, OnInit, OnDestroy, AfterViewInit, OnChanges, SimpleChanges, ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
|
+
import { MatIconRegistry } from '@angular/material/icon';
|
|
3
|
+
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
4
|
+
import { EyeIconConfig, HeaderButton } from '../resume-header/resume-header.model';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class NewResumeHeaderComponent implements OnInit, OnDestroy, AfterViewInit, OnChanges {
|
|
7
|
+
private sanitizer;
|
|
8
|
+
private cdr;
|
|
9
|
+
private iconRegistry;
|
|
10
|
+
title: string;
|
|
11
|
+
showHeaderCheckbox: boolean;
|
|
12
|
+
headerCheckboxChecked: boolean;
|
|
13
|
+
configEyeToggle: EyeIconConfig[];
|
|
14
|
+
hiddenSection: {
|
|
15
|
+
headerSectionHidden: boolean;
|
|
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;
|
|
26
|
+
buttonConfig: HeaderButton[];
|
|
27
|
+
isLargeScreen: boolean;
|
|
28
|
+
private resizeListener?;
|
|
29
|
+
popOutButtonLabel: string;
|
|
30
|
+
popOutButtonIcon: string;
|
|
31
|
+
popOutButtonTooltip: string;
|
|
32
|
+
popOutButtonTooltipPosition: 'above' | 'below' | 'left' | 'right';
|
|
33
|
+
showPopOutPanel: boolean;
|
|
34
|
+
popOutMessage: string;
|
|
35
|
+
dataTestId?: string;
|
|
36
|
+
get shouldShowPopOut(): boolean;
|
|
37
|
+
titleChange: EventEmitter<string>;
|
|
38
|
+
sectionToggled: EventEmitter<boolean>;
|
|
39
|
+
headerCheckboxChange: EventEmitter<boolean>;
|
|
40
|
+
showHideToggleSection: EventEmitter<{
|
|
41
|
+
isHidden: boolean;
|
|
42
|
+
accordionItem?: any;
|
|
43
|
+
config: EyeIconConfig;
|
|
44
|
+
}>;
|
|
45
|
+
buttonClicked: EventEmitter<HeaderButton>;
|
|
46
|
+
popOutButtonClick: EventEmitter<void>;
|
|
47
|
+
isTitleEditing: boolean;
|
|
48
|
+
editedTitle: string;
|
|
49
|
+
isInputFocused: boolean;
|
|
50
|
+
isMenuVisible: boolean;
|
|
51
|
+
isPopOutDismissed: boolean;
|
|
52
|
+
private clickOutsideListener?;
|
|
53
|
+
titleInput?: ElementRef<HTMLInputElement>;
|
|
54
|
+
constructor(sanitizer: DomSanitizer, cdr: ChangeDetectorRef, iconRegistry: MatIconRegistry);
|
|
55
|
+
private registerIcons;
|
|
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;
|
|
65
|
+
onHeaderCheckboxChange(checked: boolean): void;
|
|
66
|
+
onButtonClick(btn: HeaderButton, event: Event): void;
|
|
67
|
+
onDropdownSelect(btn: HeaderButton, value: any): void;
|
|
68
|
+
onTitleClick(): void;
|
|
69
|
+
onTitleFocus(): void;
|
|
70
|
+
onTitleBlur(): void;
|
|
71
|
+
onTitleKeyPress(event: KeyboardEvent): void;
|
|
72
|
+
saveTitle(): void;
|
|
73
|
+
cancelTitleEdit(): void;
|
|
74
|
+
toggleMenu(): void;
|
|
75
|
+
handleClickOutside(event: Event): void;
|
|
76
|
+
ngOnInit(): void;
|
|
77
|
+
private checkScreenSize;
|
|
78
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
79
|
+
dismissPopOut(): void;
|
|
80
|
+
get sanitizedMessage(): SafeHtml;
|
|
81
|
+
ngAfterViewInit(): void;
|
|
82
|
+
ngOnDestroy(): void;
|
|
83
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NewResumeHeaderComponent, never>;
|
|
84
|
+
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>;
|
|
85
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "./newresumeheader.component";
|
|
4
|
+
export declare class NewResumeHeaderModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NewResumeHeaderModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NewResumeHeaderModule, never, [typeof i1.CommonModule, typeof i2.NewResumeHeaderComponent], [typeof i2.NewResumeHeaderComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NewResumeHeaderModule>;
|
|
8
|
+
}
|
|
@@ -10,14 +10,17 @@ export declare class RadioComponent implements ControlValueAccessor {
|
|
|
10
10
|
labelPosition: 'before' | 'after';
|
|
11
11
|
required: boolean;
|
|
12
12
|
labelText: string;
|
|
13
|
-
|
|
13
|
+
helperText: string;
|
|
14
14
|
showLabels: boolean;
|
|
15
|
+
showHelperIcon: boolean;
|
|
16
|
+
helperIconTooltip: string;
|
|
15
17
|
dataTestId: string;
|
|
16
18
|
tooltip: string;
|
|
17
19
|
tooltipPosition: 'right' | 'left' | 'above' | 'below' | 'before' | 'after';
|
|
18
20
|
change: EventEmitter<any>;
|
|
19
21
|
focus: EventEmitter<FocusEvent>;
|
|
20
22
|
blur: EventEmitter<FocusEvent>;
|
|
23
|
+
helperIconClick: EventEmitter<void>;
|
|
21
24
|
onChange: (_: any) => void;
|
|
22
25
|
onTouched: () => void;
|
|
23
26
|
writeValue(value: any): void;
|
|
@@ -27,7 +30,8 @@ export declare class RadioComponent implements ControlValueAccessor {
|
|
|
27
30
|
handleChange(event: any): void;
|
|
28
31
|
handleFocus(event: FocusEvent): void;
|
|
29
32
|
handleBlur(event: FocusEvent): void;
|
|
33
|
+
onHelperIconClick(event: MouseEvent): void;
|
|
30
34
|
getColorClass(): string;
|
|
31
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<RadioComponent, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RadioComponent, "al-radio", never, { "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "color": { "alias": "color"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "required": { "alias": "required"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; "
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioComponent, "al-radio", never, { "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "color": { "alias": "color"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "required": { "alias": "required"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "showLabels": { "alias": "showLabels"; "required": false; }; "showHelperIcon": { "alias": "showHelperIcon"; "required": false; }; "helperIconTooltip": { "alias": "helperIconTooltip"; "required": false; }; "dataTestId": { "alias": "dataTestId"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; }, { "change": "change"; "focus": "focus"; "blur": "blur"; "helperIconClick": "helperIconClick"; }, never, ["*"], false, never>;
|
|
33
37
|
}
|