@scalant/career-hub 3.14.0-alpha.0 → 3.14.1-alpha.0
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/career-hub.es.js +12 -21
- package/dist/career-hub.umd.js +2 -2
- package/package.json +2 -2
package/dist/career-hub.es.js
CHANGED
|
@@ -50271,7 +50271,7 @@ const JOB_CARD_CONFIG = {
|
|
|
50271
50271
|
applications: 0,
|
|
50272
50272
|
saved: 0,
|
|
50273
50273
|
archived: 0
|
|
50274
|
-
}, HYDRATION_KEY = "__CAREERS_HUB__",
|
|
50274
|
+
}, HYDRATION_KEY = "__CAREERS_HUB__", getCurrentSortingValue = (C = []) => {
|
|
50275
50275
|
if (!C || C.length === 0)
|
|
50276
50276
|
return "eligibility";
|
|
50277
50277
|
const $ = C[0];
|
|
@@ -73571,28 +73571,19 @@ function ResumePreview() {
|
|
|
73571
73571
|
);
|
|
73572
73572
|
}
|
|
73573
73573
|
function ResumeChoiceSelect() {
|
|
73574
|
-
const { setSelectedResume: C
|
|
73574
|
+
const { setSelectedResume: C } = useApplicationFormContext(), { jobProfileId: $ } = useApplicationFormContext(), { data: F, isLoading: V } = useGetResumesEligibilityQuery({ jobProfileId: $ });
|
|
73575
73575
|
return useEffect(() => {
|
|
73576
|
-
var
|
|
73577
|
-
if (!
|
|
73576
|
+
var J, ee;
|
|
73577
|
+
if (!F)
|
|
73578
73578
|
return;
|
|
73579
|
-
const
|
|
73580
|
-
(
|
|
73581
|
-
var
|
|
73582
|
-
return ((
|
|
73583
|
-
}
|
|
73584
|
-
)) == null ? void 0 :
|
|
73585
|
-
C(
|
|
73586
|
-
}, [
|
|
73587
|
-
Button$2,
|
|
73588
|
-
{
|
|
73589
|
-
type: "link",
|
|
73590
|
-
onClick: $,
|
|
73591
|
-
className: styles$j.createNewResumeButton
|
|
73592
|
-
},
|
|
73593
|
-
/* @__PURE__ */ React__default.createElement(PlusOutlined$1, null),
|
|
73594
|
-
"Create New Resume"
|
|
73595
|
-
)), /* @__PURE__ */ React__default.createElement(Flex$1, { className: styles$j.resumePreviewContainer, flex: 1 }, /* @__PURE__ */ React__default.createElement(ResumePreview, null)));
|
|
73579
|
+
const K = (ee = (J = Object.values(F).find(
|
|
73580
|
+
(te) => {
|
|
73581
|
+
var ne;
|
|
73582
|
+
return ((ne = te == null ? void 0 : te.resume_details) == null ? void 0 : ne.default) && !(te != null && te.is_blocker);
|
|
73583
|
+
}
|
|
73584
|
+
)) == null ? void 0 : J.resume_details) == null ? void 0 : ee.id;
|
|
73585
|
+
C(K);
|
|
73586
|
+
}, [F, C]), V || !F ? /* @__PURE__ */ React__default.createElement(Skeleton$1, { active: !0 }) : /* @__PURE__ */ React__default.createElement(Flex$1, { className: styles$j.container }, /* @__PURE__ */ React__default.createElement(Flex$1, { flex: 1, vertical: !0, gap: 16 }, Object.entries(F).map(([K, J]) => /* @__PURE__ */ React__default.createElement(ResumeChoiceOptionLabel, { key: K, value: J }))), /* @__PURE__ */ React__default.createElement(Flex$1, { className: styles$j.resumePreviewContainer, flex: 1 }, /* @__PURE__ */ React__default.createElement(ResumePreview, null)));
|
|
73596
73587
|
}
|
|
73597
73588
|
const screeningCallService = careerHubApi.injectEndpoints({
|
|
73598
73589
|
endpoints: (C) => ({
|