@scalant/resume-builder 14.0.1 → 14.1.1
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/dist/resume-builder.es.js +40 -250
- package/dist/resume-builder.umd.js +3 -3
- package/package.json +2 -2
|
@@ -50897,52 +50897,17 @@ const dynamicBaseQuery = (C, $, V) => Yr(null, null, function* () {
|
|
|
50897
50897
|
selectedSkillIds: $ = [],
|
|
50898
50898
|
onSkillSelect: V
|
|
50899
50899
|
}) => {
|
|
50900
|
-
console.log("[SearchableSkillPicker] Component rendered", {
|
|
50901
|
-
skillsDataCount: C == null ? void 0 : C.length,
|
|
50902
|
-
selectedSkillIds: $,
|
|
50903
|
-
selectedSkillIdsCount: $ == null ? void 0 : $.length,
|
|
50904
|
-
hasOnSkillSelect: !!V,
|
|
50905
|
-
onSkillSelectType: typeof V
|
|
50906
|
-
});
|
|
50907
50900
|
const [F, K] = useState(""), J = useMemo$1(() => {
|
|
50908
|
-
const re = new Set($)
|
|
50909
|
-
|
|
50910
|
-
);
|
|
50911
|
-
return console.log("[SearchableSkillPicker] availableSkills calculated", {
|
|
50912
|
-
totalSkills: C.length,
|
|
50913
|
-
selectedCount: $.length,
|
|
50914
|
-
availableCount: ae.length
|
|
50915
|
-
}), ae;
|
|
50901
|
+
const re = new Set($);
|
|
50902
|
+
return C.filter((ae) => !re.has(ae.subtopic_id));
|
|
50916
50903
|
}, [C, $]), ee = useMemo$1(() => {
|
|
50917
|
-
if (!F)
|
|
50918
|
-
|
|
50919
|
-
|
|
50920
|
-
|
|
50921
|
-
returnedCount: ne.length
|
|
50922
|
-
}), ne;
|
|
50923
|
-
}
|
|
50924
|
-
const re = F.toLowerCase(), ae = J.filter((ne) => ne.subtopic.toLowerCase().includes(re)).slice(0, MAX_OPTIONS);
|
|
50925
|
-
return console.log("[SearchableSkillPicker] filteredOptions (with query)", {
|
|
50926
|
-
query: re,
|
|
50927
|
-
availableCount: J.length,
|
|
50928
|
-
returnedCount: ae.length
|
|
50929
|
-
}), ae;
|
|
50904
|
+
if (!F)
|
|
50905
|
+
return J.slice(0, MAX_OPTIONS);
|
|
50906
|
+
const re = F.toLowerCase();
|
|
50907
|
+
return J.filter((ae) => ae.subtopic.toLowerCase().includes(re)).slice(0, MAX_OPTIONS);
|
|
50930
50908
|
}, [J, F]), te = (re) => {
|
|
50931
|
-
console.log("[SearchableSkillPicker] handleSelect called", {
|
|
50932
|
-
value: re,
|
|
50933
|
-
valueType: typeof re,
|
|
50934
|
-
skillsDataCount: C.length,
|
|
50935
|
-
hasOnSkillSelect: !!V
|
|
50936
|
-
});
|
|
50937
50909
|
const ae = C.find((ne) => ne.subtopic_id === re);
|
|
50938
|
-
|
|
50939
|
-
found: !!ae,
|
|
50940
|
-
skill: ae,
|
|
50941
|
-
searchedValue: re
|
|
50942
|
-
}), ae ? (V ? (console.log(
|
|
50943
|
-
"[SearchableSkillPicker] Calling onSkillSelect with skill:",
|
|
50944
|
-
ae
|
|
50945
|
-
), V(ae), console.log("[SearchableSkillPicker] onSkillSelect call completed")) : console.warn("[SearchableSkillPicker] onSkillSelect is not defined!"), K(""), console.log("[SearchableSkillPicker] Search query cleared")) : console.warn("[SearchableSkillPicker] Skill not found for value:", re);
|
|
50910
|
+
ae && (V == null || V(ae), K(""));
|
|
50946
50911
|
};
|
|
50947
50912
|
return /* @__PURE__ */ React__default.createElement(
|
|
50948
50913
|
Select,
|
|
@@ -50951,16 +50916,7 @@ const dynamicBaseQuery = (C, $, V) => Yr(null, null, function* () {
|
|
|
50951
50916
|
placeholder: "Search and select a skill...",
|
|
50952
50917
|
value: void 0,
|
|
50953
50918
|
onSearch: K,
|
|
50954
|
-
onSelect:
|
|
50955
|
-
console.log("[SearchableSkillPicker] Select onSelect event triggered", {
|
|
50956
|
-
value: re
|
|
50957
|
-
}), te(re);
|
|
50958
|
-
},
|
|
50959
|
-
onChange: (re) => {
|
|
50960
|
-
console.log("[SearchableSkillPicker] Select onChange event triggered", {
|
|
50961
|
-
value: re
|
|
50962
|
-
}), te(re);
|
|
50963
|
-
},
|
|
50919
|
+
onSelect: te,
|
|
50964
50920
|
filterOption: !1,
|
|
50965
50921
|
options: ee.map((re) => ({
|
|
50966
50922
|
value: re.subtopic_id,
|
|
@@ -51035,26 +50991,12 @@ const dynamicBaseQuery = (C, $, V) => Yr(null, null, function* () {
|
|
|
51035
50991
|
)
|
|
51036
50992
|
);
|
|
51037
50993
|
}, { Text: Text$b } = Typography, SelectedSkillsPanel = ({ selectedSkills: C, onRemove: $, onEdit: V }) => {
|
|
51038
|
-
if (
|
|
51039
|
-
|
|
51040
|
-
onRemove: typeof $,
|
|
51041
|
-
onEdit: typeof V,
|
|
51042
|
-
selectedSkillsCount: C == null ? void 0 : C.length
|
|
51043
|
-
}), !C || C.length === 0)
|
|
51044
|
-
return console.log("[SelectedSkillsPanel] No selected skills, returning null"), null;
|
|
50994
|
+
if (!C || C.length === 0)
|
|
50995
|
+
return null;
|
|
51045
50996
|
const F = (J) => {
|
|
51046
|
-
|
|
51047
|
-
skill: J,
|
|
51048
|
-
hasOnEdit: !!V,
|
|
51049
|
-
onEditType: typeof V
|
|
51050
|
-
}), V ? (console.log("[SelectedSkillsPanel] Calling onEdit with skill:", J), V(J), console.log("[SelectedSkillsPanel] onEdit call completed")) : console.warn("[SelectedSkillsPanel] onEdit is not defined!");
|
|
50997
|
+
V && V(J);
|
|
51051
50998
|
}, K = (J, ee) => {
|
|
51052
|
-
|
|
51053
|
-
skillId: ee,
|
|
51054
|
-
hasOnRemove: !!$,
|
|
51055
|
-
onRemoveType: typeof $,
|
|
51056
|
-
eventTarget: J.target
|
|
51057
|
-
}), J.stopPropagation(), $ ? (console.log("[SelectedSkillsPanel] Calling onRemove with skillId:", ee), $(ee), console.log("[SelectedSkillsPanel] onRemove call completed")) : console.warn("[SelectedSkillsPanel] onRemove is not defined!");
|
|
50999
|
+
J.stopPropagation(), $ == null || $(ee);
|
|
51058
51000
|
};
|
|
51059
51001
|
return /* @__PURE__ */ React__default.createElement("div", { className: styles$d.selectedSkillsPanel }, /* @__PURE__ */ React__default.createElement(Text$b, { strong: !0, style: { display: "block", marginBottom: 12 } }, "Selected Skills:"), /* @__PURE__ */ React__default.createElement(Flex, { wrap: "wrap", gap: 8 }, C.map((J) => {
|
|
51060
51002
|
const ee = J.proficiency_period, te = ee && ee.years !== void 0 ? ee.months === 0 && ee.years === 0 ? "(Fresher)" : `(${formatExperience(ee.years, ee.months, !0)})` : "";
|
|
@@ -51063,9 +51005,7 @@ const dynamicBaseQuery = (C, $, V) => Yr(null, null, function* () {
|
|
|
51063
51005
|
{
|
|
51064
51006
|
key: J.skill_id,
|
|
51065
51007
|
className: styles$d.selectedSkillTag,
|
|
51066
|
-
onClick: () =>
|
|
51067
|
-
console.log("[SelectedSkillsPanel] Tag onClick triggered for skill:", J.skill_id), F(J);
|
|
51068
|
-
},
|
|
51008
|
+
onClick: () => F(J),
|
|
51069
51009
|
style: { cursor: "pointer" }
|
|
51070
51010
|
},
|
|
51071
51011
|
/* @__PURE__ */ React__default.createElement("span", null, J.name, " ", te),
|
|
@@ -51073,9 +51013,7 @@ const dynamicBaseQuery = (C, $, V) => Yr(null, null, function* () {
|
|
|
51073
51013
|
RefIcon$W,
|
|
51074
51014
|
{
|
|
51075
51015
|
className: styles$d.closeIcon,
|
|
51076
|
-
onClick: (re) =>
|
|
51077
|
-
console.log("[SelectedSkillsPanel] CloseIcon onClick triggered for skill:", J.skill_id), K(re, J.skill_id);
|
|
51078
|
-
}
|
|
51016
|
+
onClick: (re) => K(re, J.skill_id)
|
|
51079
51017
|
}
|
|
51080
51018
|
)
|
|
51081
51019
|
);
|
|
@@ -51085,35 +51023,10 @@ const dynamicBaseQuery = (C, $, V) => Yr(null, null, function* () {
|
|
|
51085
51023
|
selectedSkillIds: $,
|
|
51086
51024
|
onSkillSelect: V
|
|
51087
51025
|
}) => {
|
|
51088
|
-
if (
|
|
51089
|
-
|
|
51090
|
-
selectedSkillIds: $,
|
|
51091
|
-
selectedSkillIdsCount: $ == null ? void 0 : $.length,
|
|
51092
|
-
hasOnSkillSelect: !!V,
|
|
51093
|
-
onSkillSelectType: typeof V
|
|
51094
|
-
}), !C || C.length === 0)
|
|
51095
|
-
return console.log("[SuggestedSkillsPanel] No courseBasedSkills, returning null"), null;
|
|
51026
|
+
if (!C || C.length === 0)
|
|
51027
|
+
return null;
|
|
51096
51028
|
const F = (K) => {
|
|
51097
|
-
|
|
51098
|
-
skill: K,
|
|
51099
|
-
skillSubtopicId: K.subtopic_id,
|
|
51100
|
-
selectedSkillIds: $
|
|
51101
|
-
});
|
|
51102
|
-
const J = $.includes(K.subtopic_id);
|
|
51103
|
-
if (console.log("[SuggestedSkillsPanel] isSelected check:", {
|
|
51104
|
-
isSelected: J,
|
|
51105
|
-
skillSubtopicId: K.subtopic_id,
|
|
51106
|
-
selectedSkillIds: $
|
|
51107
|
-
}), J) {
|
|
51108
|
-
console.log(
|
|
51109
|
-
"[SuggestedSkillsPanel] Skill already selected, returning early"
|
|
51110
|
-
);
|
|
51111
|
-
return;
|
|
51112
|
-
}
|
|
51113
|
-
V ? (console.log(
|
|
51114
|
-
"[SuggestedSkillsPanel] Calling onSkillSelect with skill:",
|
|
51115
|
-
K
|
|
51116
|
-
), V(K), console.log("[SuggestedSkillsPanel] onSkillSelect call completed")) : console.warn("[SuggestedSkillsPanel] onSkillSelect is not defined!");
|
|
51029
|
+
$.includes(K.subtopic_id) || V && V(K);
|
|
51117
51030
|
};
|
|
51118
51031
|
return /* @__PURE__ */ React__default.createElement("div", { className: styles$d.suggestedSkillsPanel }, /* @__PURE__ */ React__default.createElement(Text$a, { strong: !0, style: { display: "block", marginBottom: 12 } }, "Most popular skills across current active jobs:"), /* @__PURE__ */ React__default.createElement(Flex, { wrap: "wrap", gap: 8 }, C.map((K) => {
|
|
51119
51032
|
const J = $.includes(K.subtopic_id);
|
|
@@ -51122,13 +51035,7 @@ const dynamicBaseQuery = (C, $, V) => Yr(null, null, function* () {
|
|
|
51122
51035
|
{
|
|
51123
51036
|
key: K.subtopic_id,
|
|
51124
51037
|
className: `${styles$d.suggestedSkillTag} ${J ? styles$d.selected : ""}`,
|
|
51125
|
-
onClick: () =>
|
|
51126
|
-
console.log(
|
|
51127
|
-
"[SuggestedSkillsPanel] Tag onClick triggered for skill:",
|
|
51128
|
-
K.subtopic_id,
|
|
51129
|
-
K.subtopic
|
|
51130
|
-
), F(K);
|
|
51131
|
-
}
|
|
51038
|
+
onClick: () => F(K)
|
|
51132
51039
|
},
|
|
51133
51040
|
K.subtopic
|
|
51134
51041
|
);
|
|
@@ -51175,58 +51082,25 @@ const dynamicBaseQuery = (C, $, V) => Yr(null, null, function* () {
|
|
|
51175
51082
|
const Me = Object.keys(Te)[0], Ne = (((qe = Te[Me]) == null ? void 0 : qe.sections) || []).find((Ke) => Ke.name === "Skills");
|
|
51176
51083
|
return ((Ue = Ne == null ? void 0 : Ne.config) == null ? void 0 : Ue.view) || "view1";
|
|
51177
51084
|
}, ge = (ae == null ? void 0 : ae.selectedSkills) || [], Se = (re == null ? void 0 : re.course_based_skills) || ue || [], _e = ge.map((xe) => xe.skill_id), ye = (xe, Te, Me) => {
|
|
51178
|
-
if (
|
|
51179
|
-
|
|
51180
|
-
years: Te,
|
|
51181
|
-
months: Me,
|
|
51182
|
-
skillSubtopicId: xe == null ? void 0 : xe.subtopic_id,
|
|
51183
|
-
selectedSkills: ge,
|
|
51184
|
-
selectedSkillsCount: ge.length
|
|
51185
|
-
}), !xe) {
|
|
51186
|
-
console.warn(
|
|
51187
|
-
"[SkillsAndToolkit] handleExperienceUpdate: skill is null/undefined"
|
|
51188
|
-
);
|
|
51189
|
-
return;
|
|
51190
|
-
}
|
|
51191
|
-
const je = ge.find(
|
|
51085
|
+
if (!xe) return;
|
|
51086
|
+
if (ge.find(
|
|
51192
51087
|
(Ne) => Ne.skill_id === xe.subtopic_id
|
|
51193
|
-
)
|
|
51194
|
-
if (console.log(
|
|
51195
|
-
"[SkillsAndToolkit] handleExperienceUpdate selectedSkill lookup",
|
|
51196
|
-
{
|
|
51197
|
-
found: !!je,
|
|
51198
|
-
selectedSkill: je,
|
|
51199
|
-
searchedId: xe.subtopic_id
|
|
51200
|
-
}
|
|
51201
|
-
), je) {
|
|
51202
|
-
console.log(
|
|
51203
|
-
"[SkillsAndToolkit] handleExperienceUpdate: Updating existing skill"
|
|
51204
|
-
);
|
|
51088
|
+
)) {
|
|
51205
51089
|
const Ne = ge.map((qe) => qe.skill_id === xe.subtopic_id ? Er(hr({}, qe), {
|
|
51206
51090
|
proficiency_period: {
|
|
51207
51091
|
years: Te,
|
|
51208
51092
|
months: Me
|
|
51209
51093
|
}
|
|
51210
51094
|
}) : qe);
|
|
51211
|
-
|
|
51212
|
-
"[SkillsAndToolkit] handleExperienceUpdate: Dispatching update for existing skill",
|
|
51213
|
-
{
|
|
51214
|
-
updatedSelectedSkills: Ne
|
|
51215
|
-
}
|
|
51216
|
-
), $(
|
|
51095
|
+
$(
|
|
51217
51096
|
updateFormData({
|
|
51218
51097
|
formId: FORM_ID$4,
|
|
51219
51098
|
data: {
|
|
51220
51099
|
selectedSkills: Ne
|
|
51221
51100
|
}
|
|
51222
51101
|
})
|
|
51223
|
-
), console.log(
|
|
51224
|
-
"[SkillsAndToolkit] handleExperienceUpdate: Dispatch completed for existing skill"
|
|
51225
51102
|
);
|
|
51226
51103
|
} else {
|
|
51227
|
-
console.log(
|
|
51228
|
-
"[SkillsAndToolkit] handleExperienceUpdate: Creating new skill"
|
|
51229
|
-
);
|
|
51230
51104
|
const Ne = {
|
|
51231
51105
|
skill_id: xe.subtopic_id,
|
|
51232
51106
|
skill_type: "SubTopic",
|
|
@@ -51236,78 +51110,26 @@ const dynamicBaseQuery = (C, $, V) => Yr(null, null, function* () {
|
|
|
51236
51110
|
months: Me
|
|
51237
51111
|
}
|
|
51238
51112
|
};
|
|
51239
|
-
|
|
51240
|
-
"[SkillsAndToolkit] handleExperienceUpdate: New skill created",
|
|
51241
|
-
{
|
|
51242
|
-
newSkill: Ne,
|
|
51243
|
-
currentSelectedSkillsCount: ge.length
|
|
51244
|
-
}
|
|
51245
|
-
), $(
|
|
51113
|
+
$(
|
|
51246
51114
|
updateFormData({
|
|
51247
51115
|
formId: FORM_ID$4,
|
|
51248
51116
|
data: {
|
|
51249
51117
|
selectedSkills: [...ge, Ne]
|
|
51250
51118
|
}
|
|
51251
51119
|
})
|
|
51252
|
-
), console.log(
|
|
51253
|
-
"[SkillsAndToolkit] handleExperienceUpdate: Dispatch completed for new skill"
|
|
51254
51120
|
);
|
|
51255
51121
|
}
|
|
51256
51122
|
}, be = (xe) => {
|
|
51257
|
-
if (
|
|
51258
|
-
|
|
51259
|
-
skillSubtopicId: xe == null ? void 0 : xe.subtopic_id,
|
|
51260
|
-
selectedSkills: ge,
|
|
51261
|
-
selectedSkillsCount: ge.length
|
|
51262
|
-
}), !xe) {
|
|
51263
|
-
console.warn(
|
|
51264
|
-
"[SkillsAndToolkit] handleSkillSelect: skill is null/undefined"
|
|
51265
|
-
);
|
|
51266
|
-
return;
|
|
51267
|
-
}
|
|
51268
|
-
const Te = ge.some(
|
|
51123
|
+
if (!xe) return;
|
|
51124
|
+
if (ge.some(
|
|
51269
51125
|
(Me) => Me.skill_id === xe.subtopic_id
|
|
51270
|
-
)
|
|
51271
|
-
|
|
51272
|
-
"[SkillsAndToolkit] handleSkillSelect isAlreadySelected check",
|
|
51273
|
-
{
|
|
51274
|
-
isAlreadySelected: Te,
|
|
51275
|
-
skillId: xe.subtopic_id,
|
|
51276
|
-
selectedSkillIds: ge.map((Me) => Me.skill_id)
|
|
51277
|
-
}
|
|
51278
|
-
), Te) {
|
|
51279
|
-
console.log(
|
|
51280
|
-
"[SkillsAndToolkit] handleSkillSelect: Skill already selected, showing warning"
|
|
51281
|
-
), staticMethods.warning(`${xe.subtopic || xe.name} is already added`);
|
|
51282
|
-
return;
|
|
51283
|
-
}
|
|
51284
|
-
console.log(
|
|
51285
|
-
"[SkillsAndToolkit] handleSkillSelect: Setting pending skill and opening modal",
|
|
51286
|
-
{
|
|
51287
|
-
pendingSkill: xe
|
|
51288
|
-
}
|
|
51289
|
-
), J(xe), te(!0), console.log("[SkillsAndToolkit] handleSkillSelect: Modal state updated");
|
|
51290
|
-
}, Ce = (xe) => {
|
|
51291
|
-
console.log("[SkillsAndToolkit] handleSkillSelectFromSearch called", {
|
|
51292
|
-
skill: xe
|
|
51293
|
-
}), be(xe);
|
|
51294
|
-
}, Re = ({ years: xe, months: Te }) => {
|
|
51295
|
-
if (console.log("[SkillsAndToolkit] handleExperienceModalSubmit called", {
|
|
51296
|
-
years: xe,
|
|
51297
|
-
months: Te,
|
|
51298
|
-
pendingSkill: K,
|
|
51299
|
-
hasPendingSkill: !!K
|
|
51300
|
-
}), !K) {
|
|
51301
|
-
console.warn(
|
|
51302
|
-
"[SkillsAndToolkit] handleExperienceModalSubmit: No pending skill"
|
|
51303
|
-
);
|
|
51126
|
+
)) {
|
|
51127
|
+
staticMethods.warning(`${xe.subtopic || xe.name} is already added`);
|
|
51304
51128
|
return;
|
|
51305
51129
|
}
|
|
51306
|
-
|
|
51307
|
-
|
|
51308
|
-
|
|
51309
|
-
"[SkillsAndToolkit] handleExperienceModalSubmit: Modal closed and pending skill cleared"
|
|
51310
|
-
);
|
|
51130
|
+
J(xe), te(!0);
|
|
51131
|
+
}, Ce = be, Re = ({ years: xe, months: Te }) => {
|
|
51132
|
+
K && (ye(K, xe, Te), J(null), te(!1));
|
|
51311
51133
|
}, we = () => {
|
|
51312
51134
|
J(null), te(!1);
|
|
51313
51135
|
};
|
|
@@ -51343,33 +51165,15 @@ const dynamicBaseQuery = (C, $, V) => Yr(null, null, function* () {
|
|
|
51343
51165
|
})
|
|
51344
51166
|
);
|
|
51345
51167
|
}, ke = (xe) => {
|
|
51346
|
-
console.log("[SkillsAndToolkit] handleEditSkill called", {
|
|
51347
|
-
skill: xe,
|
|
51348
|
-
skillId: xe == null ? void 0 : xe.skill_id,
|
|
51349
|
-
skillName: xe == null ? void 0 : xe.name,
|
|
51350
|
-
skillsDataCount: pe.length
|
|
51351
|
-
});
|
|
51352
51168
|
const Te = pe.find(
|
|
51353
51169
|
(je) => je.subtopic_id === xe.skill_id
|
|
51354
|
-
)
|
|
51355
|
-
console.log("[SkillsAndToolkit] handleEditSkill skillFromData lookup", {
|
|
51356
|
-
found: !!Te,
|
|
51357
|
-
skillFromData: Te,
|
|
51358
|
-
searchedId: xe.skill_id
|
|
51359
|
-
});
|
|
51360
|
-
const Me = Er(hr({}, Te || {
|
|
51170
|
+
), Me = Er(hr({}, Te || {
|
|
51361
51171
|
subtopic_id: xe.skill_id,
|
|
51362
51172
|
subtopic: xe.name
|
|
51363
51173
|
}), {
|
|
51364
51174
|
proficiency_period: xe.proficiency_period
|
|
51365
51175
|
});
|
|
51366
|
-
|
|
51367
|
-
skillToEdit: Me,
|
|
51368
|
-
proficiency_period: xe.proficiency_period
|
|
51369
|
-
}), J(Me), te(!0), console.log("[SkillsAndToolkit] handleEditSkill: Modal state updated", {
|
|
51370
|
-
pendingSkill: Me,
|
|
51371
|
-
isOpen: !0
|
|
51372
|
-
});
|
|
51176
|
+
J(Me), te(!0);
|
|
51373
51177
|
}, Ae = () => Yr(null, null, function* () {
|
|
51374
51178
|
var Te;
|
|
51375
51179
|
const xe = $e();
|
|
@@ -51412,36 +51216,22 @@ const dynamicBaseQuery = (C, $, V) => Yr(null, null, function* () {
|
|
|
51412
51216
|
SelectedSkillsPanel,
|
|
51413
51217
|
{
|
|
51414
51218
|
selectedSkills: ge,
|
|
51415
|
-
onRemove:
|
|
51416
|
-
|
|
51417
|
-
},
|
|
51418
|
-
onEdit: (xe) => {
|
|
51419
|
-
console.log("[SkillsAndToolkit] onEdit prop called", { skill: xe }), ke(xe);
|
|
51420
|
-
}
|
|
51219
|
+
onRemove: Fe,
|
|
51220
|
+
onEdit: ke
|
|
51421
51221
|
}
|
|
51422
51222
|
), /* @__PURE__ */ React__default.createElement(
|
|
51423
51223
|
SuggestedSkillsPanel,
|
|
51424
51224
|
{
|
|
51425
51225
|
courseBasedSkills: Se,
|
|
51426
51226
|
selectedSkillIds: _e,
|
|
51427
|
-
onSkillSelect:
|
|
51428
|
-
console.log(
|
|
51429
|
-
"[SkillsAndToolkit] SuggestedSkillsPanel onSkillSelect prop called",
|
|
51430
|
-
{ skill: xe }
|
|
51431
|
-
), be(xe);
|
|
51432
|
-
}
|
|
51227
|
+
onSkillSelect: be
|
|
51433
51228
|
}
|
|
51434
51229
|
), /* @__PURE__ */ React__default.createElement(
|
|
51435
51230
|
SearchableSkillPicker,
|
|
51436
51231
|
{
|
|
51437
51232
|
skillsData: pe,
|
|
51438
51233
|
selectedSkillIds: _e,
|
|
51439
|
-
onSkillSelect:
|
|
51440
|
-
console.log(
|
|
51441
|
-
"[SkillsAndToolkit] SearchableSkillPicker onSkillSelect prop called",
|
|
51442
|
-
{ skill: xe }
|
|
51443
|
-
), Ce(xe);
|
|
51444
|
-
}
|
|
51234
|
+
onSkillSelect: Ce
|
|
51445
51235
|
}
|
|
51446
51236
|
), /* @__PURE__ */ React__default.createElement(Flex, { gap: 16 }, /* @__PURE__ */ React__default.createElement(
|
|
51447
51237
|
Button$2,
|
|
@@ -61494,7 +61284,7 @@ const { Text: Text$8 } = Typography, DeleteConfirmationModal = ({
|
|
|
61494
61284
|
field: ue.formData.field,
|
|
61495
61285
|
marks: ue.formData.marks,
|
|
61496
61286
|
marks_type: ue.formData.grade_type,
|
|
61497
|
-
graduation_date: ue.formData.graduation_date,
|
|
61287
|
+
graduation_date: ue.formData.graduation_date ? ue.formData.graduation_date.format("YYYY-MM-DD") : null,
|
|
61498
61288
|
short_description: ue.formData.short_description,
|
|
61499
61289
|
created_at: (/* @__PURE__ */ new Date()).toISOString(),
|
|
61500
61290
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
@@ -61781,8 +61571,8 @@ const { Text: Text$8 } = Typography, DeleteConfirmationModal = ({
|
|
|
61781
61571
|
user_id: J == null ? void 0 : J.user_id,
|
|
61782
61572
|
company: he.formData.company,
|
|
61783
61573
|
position: he.formData.position,
|
|
61784
|
-
from: he.formData.from,
|
|
61785
|
-
to: he.formData.to,
|
|
61574
|
+
from: he.formData.from ? he.formData.from.format("YYYY-MM-DD") : null,
|
|
61575
|
+
to: he.formData.to ? he.formData.to.format("YYYY-MM-DD") : null,
|
|
61786
61576
|
short_description: he.formData.short_description,
|
|
61787
61577
|
created_at: (/* @__PURE__ */ new Date()).toISOString(),
|
|
61788
61578
|
updated_at: (/* @__PURE__ */ new Date()).toISOString(),
|
|
@@ -83058,7 +82848,7 @@ function Header({ onClose: C }) {
|
|
|
83058
82848
|
const { data: $ } = useGetAllResumesQuery(), V = ((J = $ == null ? void 0 : $.data) == null ? void 0 : J.length) || 0, F = useAnalytics(), K = () => {
|
|
83059
82849
|
F == null || F.click("Resume Repository Header - Close", PRODUCT_NAME), C == null || C();
|
|
83060
82850
|
};
|
|
83061
|
-
return /* @__PURE__ */ React__default.createElement(Flex, { justify: "space-between" }, /* @__PURE__ */ React__default.createElement(Space, { direction: "vertical" }, /* @__PURE__ */ React__default.createElement(Space, { className: styles.titleContainer }, /* @__PURE__ */ React__default.createElement(RefIcon$m, { className: styles.titleIcon }), /* @__PURE__ */ React__default.createElement(Text$1, { className: styles.titleText }, "Manage my Resumes (", V, ")")), /* @__PURE__ */ React__default.createElement(Text$1, { className: styles.stepText }, "
|
|
82851
|
+
return /* @__PURE__ */ React__default.createElement(Flex, { justify: "space-between" }, /* @__PURE__ */ React__default.createElement(Space, { direction: "vertical" }, /* @__PURE__ */ React__default.createElement(Space, { className: styles.titleContainer }, /* @__PURE__ */ React__default.createElement(RefIcon$m, { className: styles.titleIcon }), /* @__PURE__ */ React__default.createElement(Text$1, { className: styles.titleText }, "Manage my Resumes (", V, ")")), /* @__PURE__ */ React__default.createElement(Text$1, { className: styles.stepText }, "Your resume(s) will be used by the recruiters to screen your profile for the jobs you apply to")), /* @__PURE__ */ React__default.createElement(Button$2, { icon: /* @__PURE__ */ React__default.createElement(RefIcon$W, null), type: "text", onClick: K }));
|
|
83062
82852
|
}
|
|
83063
82853
|
const initialState$1 = {
|
|
83064
82854
|
resumes: [],
|