@allsorter/ui-components 0.0.378 → 0.0.380
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 +26 -27
- package/fesm2022/allsorter-ui-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/ai-apply-bar/ai-apply-bar.component.html +3 -3
- package/src/lib/ai-apply-bar/ai-apply-bar.component.scss +24 -13
- package/src/lib/ai-wrapper/ai-wrapper.component.html +1 -1
- package/src/lib/ai-wrapper/ai-wrapper.component.scss +12 -19
- package/src/lib/button/button.component.scss +6 -6
- package/src/lib/custom-editor/custom-editor.component.html +7 -2
- package/src/lib/custom-editor/custom-editor.component.scss +3 -1
- package/src/lib/editable-form-wrapper/editable-form-wrapper.component.html +1 -1
- package/src/lib/editable-form-wrapper/editable-form-wrapper.component.scss +1 -1
- package/src/lib/field-placeholder/field-placeholder.component.scss +7 -0
- package/src/lib/input/input.component.scss +4 -4
- package/src/lib/newresumeheader/newresumeheader.component.html +1 -1
- package/src/lib/newresumeheader/newresumeheader.component.scss +8 -4
- package/src/lib/resume-entries/resume-entries.component.scss +3 -3
- package/src/lib/test-styling/test-styling.component.html +184 -1
- package/src/lib/toolbar-left/toolbar-left.component.scss +5 -3
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<!-- Toggle Button - AI Trigger or Close Button (Fixed Position) -->
|
|
4
4
|
<div class="ai-toggle-button">
|
|
5
5
|
<!-- AI Trigger Button - Show when bar is hidden -->
|
|
6
|
-
<al-button *ngIf="!isVisible" [iconOnly]="true" [buttonType]="'icon-circle'" [icon]="'auto_fix_high'"
|
|
6
|
+
<al-button *ngIf="!isVisible" [iconOnly]="true" [buttonType]="'icon-circle'" [icon]="'auto_fix_high'" [iconOutlined]="true"
|
|
7
7
|
[color]="'gradient'" [size]="'base'" aria-label="AI Trigger" (onClick)="toggleBar()">
|
|
8
8
|
</al-button>
|
|
9
9
|
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
[state]="applyDisabled ? 'disabled' : 'default'" (onClick)="applyClick.emit()">
|
|
31
31
|
</al-button>
|
|
32
32
|
<al-icon-button *ngIf="showChevronButton" icon="chevron_right" [iconOutlined]="true"
|
|
33
|
-
[customColour]="'#ffffff'" [size]="'
|
|
33
|
+
[customColour]="'#ffffff'" [size]="'l'" [disabled]="applyDisabled" (onClick)="chevronClick.emit()"
|
|
34
34
|
[dataTestId]="'icon-btn_Uwofs4q_3kWU'">
|
|
35
35
|
</al-icon-button>
|
|
36
36
|
</div>
|
|
@@ -42,4 +42,4 @@
|
|
|
42
42
|
</div>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
|
-
</div>
|
|
45
|
+
</div>
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
.ai-apply-container {
|
|
13
13
|
position: relative;
|
|
14
14
|
display: flex;
|
|
15
|
-
align-items:
|
|
15
|
+
align-items: flex-start; // Align items from start
|
|
16
16
|
justify-content: flex-end;
|
|
17
17
|
}
|
|
18
18
|
|
|
@@ -21,6 +21,10 @@
|
|
|
21
21
|
position: relative;
|
|
22
22
|
z-index: 50;
|
|
23
23
|
flex-shrink: 0;
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: flex-start; // Align items from start
|
|
26
|
+
justify-content: center;
|
|
27
|
+
margin-top: 10px;
|
|
24
28
|
}
|
|
25
29
|
|
|
26
30
|
/* Expanding Bar - Positioned absolute, expands to the LEFT of button */
|
|
@@ -29,7 +33,7 @@
|
|
|
29
33
|
right: 48px;
|
|
30
34
|
/* 40px button width + 8px gap = 48px from button right edge */
|
|
31
35
|
display: flex;
|
|
32
|
-
align-items:
|
|
36
|
+
align-items: flex-start; // Align items from start
|
|
33
37
|
overflow: hidden;
|
|
34
38
|
transform-origin: right center;
|
|
35
39
|
transition: max-width 500ms cubic-bezier(0.2, 0.8, 0.2, 1),
|
|
@@ -88,9 +92,9 @@
|
|
|
88
92
|
|
|
89
93
|
.ai-apply-row {
|
|
90
94
|
display: flex;
|
|
91
|
-
align-items: center;
|
|
95
|
+
align-items: center; // Center align all items (input, apply button, chevron) to match close button
|
|
92
96
|
gap: $space-4;
|
|
93
|
-
height: 40px;
|
|
97
|
+
height: 40px; // Match close button height
|
|
94
98
|
opacity: 0;
|
|
95
99
|
transform: scale(0.8);
|
|
96
100
|
transition: opacity 300ms ease-out, transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
@@ -120,8 +124,8 @@
|
|
|
120
124
|
}
|
|
121
125
|
|
|
122
126
|
.ai-apply-button al-icon-button {
|
|
123
|
-
height:
|
|
124
|
-
min-height:
|
|
127
|
+
height: 40px !important; // Match close button height for alignment
|
|
128
|
+
min-height: 40px !important;
|
|
125
129
|
display: flex;
|
|
126
130
|
align-items: center;
|
|
127
131
|
justify-content: center;
|
|
@@ -149,26 +153,26 @@
|
|
|
149
153
|
/* Style mat-form-field */
|
|
150
154
|
::ng-deep .mat-mdc-form-field {
|
|
151
155
|
background: #fff;
|
|
152
|
-
border-radius: $radius-
|
|
156
|
+
border-radius: $radius-4;
|
|
153
157
|
border: 0 !important;
|
|
154
158
|
overflow: hidden;
|
|
155
159
|
}
|
|
156
160
|
|
|
157
161
|
/* Ensure all parts of the notched outline have consistent border-radius */
|
|
158
162
|
::ng-deep .al-input-field .mdc-notched-outline {
|
|
159
|
-
border-radius: $radius-
|
|
163
|
+
border-radius: $radius-4 !important;
|
|
160
164
|
}
|
|
161
165
|
|
|
162
166
|
::ng-deep .al-input-field .mdc-notched-outline__leading {
|
|
163
|
-
border-top-left-radius: $radius-
|
|
164
|
-
border-bottom-left-radius: $radius-
|
|
167
|
+
border-top-left-radius: $radius-4 !important;
|
|
168
|
+
border-bottom-left-radius: $radius-4 !important;
|
|
165
169
|
border-top-right-radius: 0 !important;
|
|
166
170
|
border-bottom-right-radius: 0 !important;
|
|
167
171
|
}
|
|
168
172
|
|
|
169
173
|
::ng-deep .al-input-field .mdc-notched-outline__trailing {
|
|
170
|
-
border-top-right-radius: $radius-
|
|
171
|
-
border-bottom-right-radius: $radius-
|
|
174
|
+
border-top-right-radius: $radius-4 !important;
|
|
175
|
+
border-bottom-right-radius: $radius-4 !important;
|
|
172
176
|
border-top-left-radius: 0 !important;
|
|
173
177
|
border-bottom-left-radius: 0 !important;
|
|
174
178
|
}
|
|
@@ -215,9 +219,16 @@
|
|
|
215
219
|
color: rgba(255, 255, 255, 0.7);
|
|
216
220
|
font-size: 12px;
|
|
217
221
|
line-height: 16px;
|
|
222
|
+
padding: 0;
|
|
223
|
+
margin: 0;
|
|
224
|
+
width: 100%;
|
|
225
|
+
flex-shrink: 0;
|
|
218
226
|
opacity: 0;
|
|
219
227
|
transform: scale(0.8);
|
|
220
228
|
transition: opacity 300ms ease-out, transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
229
|
+
display: block; // Ensure it's displayed
|
|
230
|
+
white-space: normal; // Allow text wrapping
|
|
231
|
+
word-wrap: break-word; // Allow long text to wrap
|
|
221
232
|
}
|
|
222
233
|
|
|
223
234
|
/* Helper text pop-out like input and buttons */
|
|
@@ -243,4 +254,4 @@
|
|
|
243
254
|
box-shadow: none !important;
|
|
244
255
|
border: none !important;
|
|
245
256
|
}
|
|
246
|
-
}
|
|
257
|
+
}
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
[options]="inputOptions" [size]="'base'" [types]="'plain'"
|
|
20
20
|
(change)="onInputChange($event)"></al-input></div>
|
|
21
21
|
<div class="al-ai-wrapper__ai-actions"><al-button *ngIf="showApplyButton" [buttonType]="'icon-label'"
|
|
22
|
-
[color]="'gradient'" [outline]="false" [size]="'
|
|
22
|
+
[color]="'gradient'" [outline]="false" [size]="'sm'" [labelText]="applyLabel"
|
|
23
23
|
[disabled]="applyDisabled" aria-label="Apply AI"
|
|
24
24
|
(onClick)="onApplyClick()"></al-button><al-icon-button *ngIf="showChevronButton"
|
|
25
25
|
icon="chevron_right" [iconOutlined]="true" [customColour]="'#ffffff'" [size]="'xl'"
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
display: flex;
|
|
7
7
|
align-items: flex-start;
|
|
8
8
|
justify-content: flex-end;
|
|
9
|
-
height:
|
|
9
|
+
height: 500px;
|
|
10
|
+
max-height: 500px; // Add max-height to match height
|
|
10
11
|
overflow: visible;
|
|
11
12
|
padding: 32px;
|
|
12
13
|
|
|
@@ -145,7 +146,6 @@
|
|
|
145
146
|
// Center vertically and rotate: translate first, then rotate
|
|
146
147
|
transform: translateY(-50%) rotate(-90deg);
|
|
147
148
|
transform-origin: center center;
|
|
148
|
-
animation: expandFromRight 1s cubic-bezier(0.4, 0, 0.2, 1);
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
|
|
@@ -168,9 +168,19 @@
|
|
|
168
168
|
gap: 4px;
|
|
169
169
|
transform-origin: right center;
|
|
170
170
|
padding-bottom: 0;
|
|
171
|
+
animation: aiBarExpand 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
|
|
171
172
|
flex-shrink: 0;
|
|
172
173
|
}
|
|
173
174
|
|
|
175
|
+
&__ai-row {
|
|
176
|
+
display: flex;
|
|
177
|
+
align-items: center;
|
|
178
|
+
gap: 4px;
|
|
179
|
+
// height: 56px;
|
|
180
|
+
opacity: 0;
|
|
181
|
+
animation: aiBarContentFade 0.3s ease-out 0.2s forwards;
|
|
182
|
+
}
|
|
183
|
+
|
|
174
184
|
&__ai-icon {
|
|
175
185
|
width: 40px;
|
|
176
186
|
height: 40px;
|
|
@@ -356,23 +366,6 @@
|
|
|
356
366
|
}
|
|
357
367
|
}
|
|
358
368
|
|
|
359
|
-
@keyframes expandFromRight {
|
|
360
|
-
0% {
|
|
361
|
-
opacity: 0;
|
|
362
|
-
transform: scaleX(0.2) translateX(20px);
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
60% {
|
|
366
|
-
opacity: 0.8;
|
|
367
|
-
transform: scaleX(1.02) translateX(-2px);
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
100% {
|
|
371
|
-
opacity: 1;
|
|
372
|
-
transform: scaleX(1) translateX(0);
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
|
|
376
369
|
/* Hide down arrow in mat-mdc-select for all selects inside ai-wrapper */
|
|
377
370
|
:host ::ng-deep .mat-mdc-select-arrow {
|
|
378
371
|
display: none !important;
|
|
@@ -21,7 +21,7 @@ $color-grey: $color-grey-600;
|
|
|
21
21
|
|
|
22
22
|
.mdc-button.btn {
|
|
23
23
|
/* Global radius as per spec */
|
|
24
|
-
border-radius: $radius-
|
|
24
|
+
border-radius: $radius-4;
|
|
25
25
|
display: flex;
|
|
26
26
|
align-items: center;
|
|
27
27
|
cursor: pointer;
|
|
@@ -482,7 +482,7 @@ mat-icon.mat-icon {
|
|
|
482
482
|
.size-header {
|
|
483
483
|
font-size: 20px;
|
|
484
484
|
padding: 4px 6px !important;
|
|
485
|
-
gap: 4px
|
|
485
|
+
gap: 4px;
|
|
486
486
|
border-radius: 4px !important;
|
|
487
487
|
}
|
|
488
488
|
|
|
@@ -555,7 +555,7 @@ mat-icon.mat-icon {
|
|
|
555
555
|
|
|
556
556
|
/* Adjust gap for header size */
|
|
557
557
|
.btn.size-header {
|
|
558
|
-
gap: 4px
|
|
558
|
+
gap: 4px;
|
|
559
559
|
padding: 4px 6px !important;
|
|
560
560
|
}
|
|
561
561
|
|
|
@@ -566,7 +566,7 @@ mat-icon.mat-icon {
|
|
|
566
566
|
::ng-deep .custom-dropdown-menu.mat-menu-panel {
|
|
567
567
|
padding: 0;
|
|
568
568
|
/* remove default padding */
|
|
569
|
-
border-radius: $radius-
|
|
569
|
+
border-radius: $radius-4;
|
|
570
570
|
/* rounded corners */
|
|
571
571
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
|
|
572
572
|
border: 1px solid rgba(0, 0, 0, 0.12);
|
|
@@ -1157,7 +1157,7 @@ button.icon-circle {
|
|
|
1157
1157
|
|
|
1158
1158
|
/*************Button Drop down design*********/
|
|
1159
1159
|
::ng-deep .cdk-overlay-pane {
|
|
1160
|
-
border-radius:
|
|
1160
|
+
border-radius: 4px !important;
|
|
1161
1161
|
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.15) !important;
|
|
1162
1162
|
}
|
|
1163
1163
|
|
|
@@ -1165,7 +1165,7 @@ button.icon-circle {
|
|
|
1165
1165
|
padding: 4px 0 !important;
|
|
1166
1166
|
background-color: white !important;
|
|
1167
1167
|
min-width: 180px !important;
|
|
1168
|
-
border-radius:
|
|
1168
|
+
border-radius: 4px !important;
|
|
1169
1169
|
box-shadow: none !important;
|
|
1170
1170
|
/* handled by cdk-overlay-pane */
|
|
1171
1171
|
}
|
|
@@ -57,6 +57,11 @@
|
|
|
57
57
|
</span>
|
|
58
58
|
</button>
|
|
59
59
|
|
|
60
|
+
<!-- Table Component (Small Screens Only) -->
|
|
61
|
+
<app-table *ngIf="showTable" [getEditorElement]="getBoundGetEditorElement()"
|
|
62
|
+
[saveHistoryMethod]="getBoundSaveHistory()" [textChangeMethod]="getBoundTextChange()">
|
|
63
|
+
</app-table>
|
|
64
|
+
|
|
60
65
|
<!-- Auto Bullet Button -->
|
|
61
66
|
<button *ngIf="autobullet" class="ms-3 auto-bullet" mat-flat-button (click)="transformToBullets($event)"
|
|
62
67
|
[disabled]="autoBulletDisable || isLoadingAI || !checkHtmlContent('')">
|
|
@@ -82,8 +87,8 @@
|
|
|
82
87
|
</span>
|
|
83
88
|
</button>
|
|
84
89
|
|
|
85
|
-
<!-- Table Component -->
|
|
86
|
-
<app-table *ngIf="showTable" [getEditorElement]="getBoundGetEditorElement()"
|
|
90
|
+
<!-- Table Component (Large Screens Only) -->
|
|
91
|
+
<app-table *ngIf="showTable && !isSmallScreen" [getEditorElement]="getBoundGetEditorElement()"
|
|
87
92
|
[saveHistoryMethod]="getBoundSaveHistory()" [textChangeMethod]="getBoundTextChange()" matTooltip="Table"
|
|
88
93
|
matTooltipPosition="above">
|
|
89
94
|
</app-table>
|
|
@@ -159,6 +159,7 @@
|
|
|
159
159
|
.styling-text {
|
|
160
160
|
@extend .font-label-large;
|
|
161
161
|
color: $color-grey-700;
|
|
162
|
+
font-weight: 400;
|
|
162
163
|
padding: 4px;
|
|
163
164
|
border-radius: 4px;
|
|
164
165
|
transition: background-color 0.2s ease;
|
|
@@ -247,6 +248,7 @@
|
|
|
247
248
|
.text-formatting-text {
|
|
248
249
|
@extend .font-label-large;
|
|
249
250
|
color: $color-grey-700;
|
|
251
|
+
font-weight: 400;
|
|
250
252
|
padding: 4px;
|
|
251
253
|
border-radius: 4px;
|
|
252
254
|
transition: background-color 0.2s ease;
|
|
@@ -261,7 +263,7 @@
|
|
|
261
263
|
position: absolute;
|
|
262
264
|
bottom: 100%;
|
|
263
265
|
left: 0;
|
|
264
|
-
background-color:
|
|
266
|
+
background-color: $color-grey-100;
|
|
265
267
|
border: 1px solid #dee2e6;
|
|
266
268
|
border-radius: 6px;
|
|
267
269
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
<div class="fab-group right" #buttonGroup><al-button *ngIf="showSaveButton" class="fab" [buttonType]="'icon-circle'"
|
|
19
19
|
[iconOnly]="true" [leftIcon]="'save'" [arialabel]="'Save'" [size]="'base'" iconOutlined="true"
|
|
20
20
|
[color]="'green'" (onClick)="saveButtonClick.emit($event)"></al-button><al-button *ngIf="showDeleteButton" class="fab warn" [buttonType]="'icon-circle'"
|
|
21
|
-
[iconOnly]="true" [leftIcon]="'
|
|
21
|
+
[iconOnly]="true" [leftIcon]="'cancel'" [arialabel]="'Delete'" [size]="'base'" [color]="'error'" iconOutlined="true"
|
|
22
22
|
(onClick)="deleteButtonClick.emit($event)"></al-button>
|
|
23
23
|
</div>
|
|
24
24
|
</div>
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
position: relative;
|
|
80
80
|
|
|
81
81
|
/* space between outer blue edge and inner card; matches border inset */
|
|
82
|
-
padding:
|
|
82
|
+
padding: 24px !important;
|
|
83
83
|
/* requested content padding inside the border */
|
|
84
84
|
/* IMPORTANT: inner card radius must match border's inner curve */
|
|
85
85
|
border-radius: calc(16px - 6px);
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
|
|
22
22
|
/* Make all typography utility classes available inside this component */
|
|
23
23
|
@import '../styles/typography-classes.scss';
|
|
24
|
+
@import '../styles/colors.scss';
|
|
24
25
|
|
|
25
26
|
|
|
26
27
|
|
|
@@ -76,3 +77,9 @@
|
|
|
76
77
|
justify-content: center;
|
|
77
78
|
color: #37C1CE;
|
|
78
79
|
}
|
|
80
|
+
|
|
81
|
+
.value-text {
|
|
82
|
+
// Default style - can be overridden by valueClass input
|
|
83
|
+
display: inline;
|
|
84
|
+
color: $color-grey-600 !important;
|
|
85
|
+
}
|
|
@@ -244,13 +244,13 @@
|
|
|
244
244
|
}
|
|
245
245
|
|
|
246
246
|
::ng-deep .al-input-size-large .mdc-notched-outline__leading {
|
|
247
|
-
border-top-left-radius:
|
|
248
|
-
border-bottom-left-radius:
|
|
247
|
+
border-top-left-radius: 4px !important;
|
|
248
|
+
border-bottom-left-radius: 4px !important;
|
|
249
249
|
}
|
|
250
250
|
|
|
251
251
|
::ng-deep .al-input-size-large .mdc-notched-outline__trailing {
|
|
252
|
-
border-top-right-radius:
|
|
253
|
-
border-bottom-right-radius:
|
|
252
|
+
border-top-right-radius: 4px !important;
|
|
253
|
+
border-bottom-right-radius: 4px !important;
|
|
254
254
|
}
|
|
255
255
|
|
|
256
256
|
/* ===== NO BORDER STYLES ===== */
|
|
@@ -118,4 +118,4 @@
|
|
|
118
118
|
[attr.data-test-id]="isHidden ? 'section-show-eye-icon' : 'section-hide-eye-icon'"
|
|
119
119
|
style="cursor: pointer; display: inline-block; width: 24px; height: 24px; font-size: 24px; color: #717793;"
|
|
120
120
|
[style.opacity]="1" [style.visibility]="'visible'"></mat-icon></div>
|
|
121
|
-
</ng-template>
|
|
121
|
+
</ng-template>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
@import '../styles/colors.scss';
|
|
2
2
|
@import url('https://fonts.googleapis.com/css2?family=Material+Icons+Outlined');
|
|
3
3
|
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20,400,0,0');
|
|
4
4
|
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
|
|
@@ -120,6 +120,9 @@
|
|
|
120
120
|
align-items: center;
|
|
121
121
|
justify-content: center;
|
|
122
122
|
|
|
123
|
+
.material-icons-outlined {
|
|
124
|
+
color: $color-grey-600;
|
|
125
|
+
}
|
|
123
126
|
}
|
|
124
127
|
|
|
125
128
|
.example-accordion-item-header al-responsive-columns div[left] {
|
|
@@ -460,9 +463,10 @@
|
|
|
460
463
|
cursor: pointer;
|
|
461
464
|
border-radius: 4px;
|
|
462
465
|
flex-shrink: 0;
|
|
463
|
-
min-width:
|
|
464
|
-
width:
|
|
465
|
-
height:
|
|
466
|
+
min-width: 16px;
|
|
467
|
+
width: 16px;
|
|
468
|
+
height: 16px;
|
|
469
|
+
font-size: 16px;
|
|
466
470
|
display: inline-flex;
|
|
467
471
|
align-items: center;
|
|
468
472
|
justify-content: center;
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
@container resume-entries (max-width: 500px) {
|
|
206
206
|
.entry-header {
|
|
207
207
|
flex-direction: column;
|
|
208
|
-
gap:
|
|
208
|
+
gap: 4px;
|
|
209
209
|
display: flex;
|
|
210
210
|
}
|
|
211
211
|
|
|
@@ -261,7 +261,7 @@
|
|
|
261
261
|
@media (max-width: 767px) {
|
|
262
262
|
.entry-header {
|
|
263
263
|
flex-direction: column;
|
|
264
|
-
gap:
|
|
264
|
+
gap: 4px;
|
|
265
265
|
display: flex;
|
|
266
266
|
}
|
|
267
267
|
|
|
@@ -477,4 +477,4 @@
|
|
|
477
477
|
}
|
|
478
478
|
}
|
|
479
479
|
}
|
|
480
|
-
}
|
|
480
|
+
}
|
|
@@ -3,6 +3,187 @@
|
|
|
3
3
|
[overflowY]="'auto'">
|
|
4
4
|
<al-tabs [selectedIndex]="0" [size]="'large'">
|
|
5
5
|
<al-tab labelText="Resume">
|
|
6
|
+
<al-candidate-section
|
|
7
|
+
[candidateDetails]="candidateEntry"
|
|
8
|
+
[useCustomHeader]="false"
|
|
9
|
+
[getFieldNotHidden]="getFieldNotHidden"
|
|
10
|
+
[getForceShowAllFields]="getForceShowAllFields"
|
|
11
|
+
></al-candidate-section>
|
|
12
|
+
|
|
13
|
+
<!-- candidate-section-form -->
|
|
14
|
+
<al-form *ngIf="candidateEntry" [showLeftButton]="true" [showSaveButton]="true" [showDeleteButton]="true" [testId]="'candidate'"
|
|
15
|
+
(leftButtonClick)="onLeftButtonClick($event)"
|
|
16
|
+
(saveButtonClick)="onSaveButtonClick($event)"
|
|
17
|
+
(deleteButtonClick)="onDeleteButtonClick($event)">
|
|
18
|
+
|
|
19
|
+
<!-- Row: First Name, Last Name -->
|
|
20
|
+
<app-flex-grid [type]="'row'" [mobRow]="1" [tabRow]="2" [desktop]="2" [gap]="'16px'">
|
|
21
|
+
<al-input
|
|
22
|
+
[label]="'First Name'"
|
|
23
|
+
[placeholder]="'First Name'"
|
|
24
|
+
[value]="'Jane'"
|
|
25
|
+
[type]="'text'"
|
|
26
|
+
[disabled]="false"
|
|
27
|
+
[helperText]="false"
|
|
28
|
+
[size]="'base'"
|
|
29
|
+
[types]="'primary'"
|
|
30
|
+
[dataTestId]="'first-name'"
|
|
31
|
+
></al-input>
|
|
32
|
+
<al-input
|
|
33
|
+
[label]="'Last Name'"
|
|
34
|
+
[placeholder]="'Last Name'"
|
|
35
|
+
[value]="'Swindle'"
|
|
36
|
+
[type]="'text'"
|
|
37
|
+
[disabled]="false"
|
|
38
|
+
[helperText]="false"
|
|
39
|
+
[size]="'base'"
|
|
40
|
+
[types]="'primary'"
|
|
41
|
+
[dataTestId]="'last-name'"
|
|
42
|
+
></al-input>
|
|
43
|
+
</app-flex-grid>
|
|
44
|
+
|
|
45
|
+
<!-- Row: Phone Number (full width) -->
|
|
46
|
+
<app-flex-grid [type]="'column'" [rows]="1" [mobRow]="1" [tabRow]="1" [desktop]="1" [gap]="'16px'">
|
|
47
|
+
<al-input
|
|
48
|
+
[label]="'Phone Number'"
|
|
49
|
+
[placeholder]="'Phone Number'"
|
|
50
|
+
[value]="'8529123456'"
|
|
51
|
+
[type]="'tel'"
|
|
52
|
+
[disabled]="false"
|
|
53
|
+
[helperText]="false"
|
|
54
|
+
[size]="'base'"
|
|
55
|
+
[types]="'primary'"
|
|
56
|
+
[dataTestId]="'phone-number'"
|
|
57
|
+
></al-input>
|
|
58
|
+
</app-flex-grid>
|
|
59
|
+
|
|
60
|
+
<!-- Row: Email Address (full width) -->
|
|
61
|
+
<app-flex-grid [type]="'column'" [rows]="1" [mobRow]="1" [tabRow]="1" [desktop]="1" [gap]="'16px'">
|
|
62
|
+
<al-input
|
|
63
|
+
[label]="'Email Address'"
|
|
64
|
+
[placeholder]="'Email Address'"
|
|
65
|
+
[value]="'swindler@gmail.com'"
|
|
66
|
+
[type]="'email'"
|
|
67
|
+
[disabled]="false"
|
|
68
|
+
[helperText]="false"
|
|
69
|
+
[size]="'base'"
|
|
70
|
+
[types]="'primary'"
|
|
71
|
+
[dataTestId]="'email-address'"
|
|
72
|
+
></al-input>
|
|
73
|
+
</app-flex-grid>
|
|
74
|
+
|
|
75
|
+
<!-- Row: LinkedIn (full width) -->
|
|
76
|
+
<app-flex-grid [type]="'column'" [rows]="1" [mobRow]="1" [tabRow]="1" [desktop]="1" [gap]="'16px'">
|
|
77
|
+
<al-input
|
|
78
|
+
[label]="'LinkedIn'"
|
|
79
|
+
[placeholder]="'LinkedIn'"
|
|
80
|
+
[value]="''"
|
|
81
|
+
[type]="'url'"
|
|
82
|
+
[disabled]="false"
|
|
83
|
+
[helperText]="false"
|
|
84
|
+
[size]="'base'"
|
|
85
|
+
[types]="'primary'"
|
|
86
|
+
[dataTestId]="'linkedin'"
|
|
87
|
+
></al-input>
|
|
88
|
+
</app-flex-grid>
|
|
89
|
+
|
|
90
|
+
<!-- Row: Street (full width) -->
|
|
91
|
+
<app-flex-grid [type]="'column'" [rows]="1" [mobRow]="1" [tabRow]="1" [desktop]="1" [gap]="'16px'">
|
|
92
|
+
<al-input
|
|
93
|
+
[label]="'Street'"
|
|
94
|
+
[placeholder]="'Street'"
|
|
95
|
+
[value]="'Wide Street'"
|
|
96
|
+
[type]="'text'"
|
|
97
|
+
[disabled]="false"
|
|
98
|
+
[helperText]="false"
|
|
99
|
+
[size]="'base'"
|
|
100
|
+
[types]="'primary'"
|
|
101
|
+
[dataTestId]="'street'"
|
|
102
|
+
></al-input>
|
|
103
|
+
</app-flex-grid>
|
|
104
|
+
|
|
105
|
+
<!-- Row: City, Region, Region Code -->
|
|
106
|
+
<app-flex-grid [type]="'row'" [mobRow]="1" [tabRow]="3" [desktop]="3" [gap]="'16px'">
|
|
107
|
+
<al-input
|
|
108
|
+
[label]="'City'"
|
|
109
|
+
[placeholder]="'City'"
|
|
110
|
+
[value]="''"
|
|
111
|
+
[type]="'text'"
|
|
112
|
+
[disabled]="false"
|
|
113
|
+
[helperText]="false"
|
|
114
|
+
[size]="'base'"
|
|
115
|
+
[types]="'primary'"
|
|
116
|
+
[dataTestId]="'city'"
|
|
117
|
+
></al-input>
|
|
118
|
+
<al-input
|
|
119
|
+
[label]="'Region'"
|
|
120
|
+
[placeholder]="'Region'"
|
|
121
|
+
[value]="''"
|
|
122
|
+
[type]="'text'"
|
|
123
|
+
[disabled]="false"
|
|
124
|
+
[helperText]="false"
|
|
125
|
+
[size]="'base'"
|
|
126
|
+
[types]="'primary'"
|
|
127
|
+
[dataTestId]="'region'"
|
|
128
|
+
></al-input>
|
|
129
|
+
<al-input
|
|
130
|
+
[label]="'Region Code'"
|
|
131
|
+
[placeholder]="'Region Code'"
|
|
132
|
+
[value]="''"
|
|
133
|
+
[type]="'text'"
|
|
134
|
+
[disabled]="false"
|
|
135
|
+
[helperText]="false"
|
|
136
|
+
[size]="'base'"
|
|
137
|
+
[types]="'primary'"
|
|
138
|
+
[dataTestId]="'region-code'"
|
|
139
|
+
></al-input>
|
|
140
|
+
</app-flex-grid>
|
|
141
|
+
|
|
142
|
+
<!-- Row: Country (full width) -->
|
|
143
|
+
<app-flex-grid [type]="'column'" [rows]="1" [mobRow]="1" [tabRow]="1" [desktop]="2" [gap]="'16px'">
|
|
144
|
+
<al-input
|
|
145
|
+
[label]="'Country'"
|
|
146
|
+
[placeholder]="'Country'"
|
|
147
|
+
[value]="'United Kingdom'"
|
|
148
|
+
[type]="'text'"
|
|
149
|
+
[disabled]="false"
|
|
150
|
+
[helperText]="false"
|
|
151
|
+
[size]="'base'"
|
|
152
|
+
[types]="'primary'"
|
|
153
|
+
[dataTestId]="'country'"
|
|
154
|
+
></al-input>
|
|
155
|
+
</app-flex-grid>
|
|
156
|
+
|
|
157
|
+
<!-- Row: Post Code, Gender -->
|
|
158
|
+
<app-flex-grid [type]="'row'" [mobRow]="1" [tabRow]="2" [desktop]="2" [gap]="'16px'">
|
|
159
|
+
<al-input
|
|
160
|
+
[label]="'Post Code'"
|
|
161
|
+
[placeholder]="'Post Code'"
|
|
162
|
+
[value]="''"
|
|
163
|
+
[type]="'text'"
|
|
164
|
+
[disabled]="false"
|
|
165
|
+
[helperText]="false"
|
|
166
|
+
[size]="'base'"
|
|
167
|
+
[types]="'primary'"
|
|
168
|
+
[dataTestId]="'post-code'"
|
|
169
|
+
></al-input>
|
|
170
|
+
<al-input
|
|
171
|
+
[label]="'Gender'"
|
|
172
|
+
[placeholder]="'Gender'"
|
|
173
|
+
[value]="'Unselected'"
|
|
174
|
+
[type]="'text'"
|
|
175
|
+
[disabled]="false"
|
|
176
|
+
[helperText]="false"
|
|
177
|
+
[hasDropDown]="true"
|
|
178
|
+
[options]="['Male','Female','Other','Unselected']"
|
|
179
|
+
[rightIcon]="'expand_more'"
|
|
180
|
+
[size]="'base'"
|
|
181
|
+
[types]="'primary'"
|
|
182
|
+
[dataTestId]="'gender'"
|
|
183
|
+
></al-input>
|
|
184
|
+
</app-flex-grid>
|
|
185
|
+
|
|
186
|
+
</al-form>
|
|
6
187
|
<al-newresumeheader [title]="'Experiences'" [showHeaderCheckbox]="true" [headerCheckboxChecked]="false"
|
|
7
188
|
[isLargeScreen]="true" [showPopOutPanel]="false" [hiddenSection]="{ headerSectionHidden: false }"
|
|
8
189
|
[configEyeToggle]="configEyeToggle" [buttonConfig]="buttonConfig">
|
|
@@ -73,6 +254,8 @@
|
|
|
73
254
|
(ApplyAIinQuill)="onAIApply($event)"></app-custom-editor>
|
|
74
255
|
</app-flex-grid>
|
|
75
256
|
</al-form>
|
|
257
|
+
<!-- candidate-section-form -->
|
|
258
|
+
|
|
76
259
|
</al-tab>
|
|
77
260
|
<al-tab labelText="CoverSheet">
|
|
78
261
|
<h3>About Us</h3>
|
|
@@ -83,4 +266,4 @@
|
|
|
83
266
|
<p>Get in touch with us through various channels.</p>
|
|
84
267
|
</al-tab>
|
|
85
268
|
</al-tabs>
|
|
86
|
-
</al-general-container>
|
|
269
|
+
</al-general-container>
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@import "../styles/colors.scss";
|
|
2
|
+
|
|
1
3
|
.toolbar-container {
|
|
2
4
|
background-color: transparent;
|
|
3
5
|
border-radius: 8px;
|
|
@@ -19,7 +21,7 @@
|
|
|
19
21
|
.toolbar-icon {
|
|
20
22
|
/* Removed custom sizing/alignment to use icon-button's built-in styles */
|
|
21
23
|
border-radius: 8px;
|
|
22
|
-
color:
|
|
24
|
+
color: $color-grey-500;
|
|
23
25
|
background: transparent;
|
|
24
26
|
transition: background 0.2s, color 0.2s;
|
|
25
27
|
cursor: pointer;
|
|
@@ -97,7 +99,7 @@
|
|
|
97
99
|
width: 20px;
|
|
98
100
|
height: 20px;
|
|
99
101
|
font-size: 20px;
|
|
100
|
-
color:
|
|
102
|
+
color: $color-grey-500;
|
|
101
103
|
}
|
|
102
104
|
|
|
103
105
|
.handle-icon mat-icon,
|
|
@@ -106,7 +108,7 @@
|
|
|
106
108
|
width: 20px;
|
|
107
109
|
height: 20px;
|
|
108
110
|
font-size: 20px;
|
|
109
|
-
color:
|
|
111
|
+
color: $color-grey-500;
|
|
110
112
|
|
|
111
113
|
::ng-deep svg {
|
|
112
114
|
width: 20px;
|