@scalant/career-hub 3.14.0-alpha.0 → 3.14.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.
@@ -47383,7 +47383,7 @@ process.env.NODE_ENV !== "production" && (Dragger.displayName = "Dragger");
47383
47383
  const Dragger$1 = Dragger, Upload = InternalUpload$1;
47384
47384
  Upload.Dragger = Dragger$1;
47385
47385
  Upload.LIST_IGNORE = LIST_IGNORE;
47386
- const Upload$1 = Upload, content = "_content_5855h_1", header$2 = "_header_5855h_9", sider = "_sider_5855h_17", layout = "_layout_5855h_21", styles$G = {
47386
+ const Upload$1 = Upload, content = "_content_pfd8p_1", header$2 = "_header_pfd8p_9", sider = "_sider_pfd8p_17", layout = "_layout_pfd8p_21", styles$G = {
47387
47387
  content,
47388
47388
  header: header$2,
47389
47389
  sider,
@@ -49996,10 +49996,10 @@ const JOB_CARD_CONFIG = {
49996
49996
  isApplicationStatusAvailable: !1
49997
49997
  },
49998
49998
  applications: {
49999
- isExperienceCtcAvailable: !1,
50000
- isNoticePeriodAvailable: !1,
49999
+ isExperienceCtcAvailable: !0,
50000
+ isNoticePeriodAvailable: !0,
50001
50001
  isAppliedDateAvailable: !0,
50002
- isArchivedStatusAvailable: !1,
50002
+ isArchivedStatusAvailable: !0,
50003
50003
  isApplicationStatusAvailable: !0
50004
50004
  },
50005
50005
  archived: {
@@ -50184,7 +50184,7 @@ const JOB_CARD_CONFIG = {
50184
50184
  JOB_DETAILS: "60%"
50185
50185
  }, JOB_FILTER_TAGS = {
50186
50186
  relevant: {
50187
- label: "Unlocked Jobs",
50187
+ label: "Preferred Jobs",
50188
50188
  icon: UnlockOutlined$1
50189
50189
  },
50190
50190
  all: {
@@ -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__", MAX_RESUMES = 5, getCurrentSortingValue = (C = []) => {
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, onAddResume: $ } = useApplicationFormContext(), { jobProfileId: F } = useApplicationFormContext(), { data: V, isLoading: K } = useGetResumesEligibilityQuery({ jobProfileId: F });
73574
+ const { setSelectedResume: C } = useApplicationFormContext(), { jobProfileId: $ } = useApplicationFormContext(), { data: F, isLoading: V } = useGetResumesEligibilityQuery({ jobProfileId: $ });
73575
73575
  return useEffect(() => {
73576
- var ee, te;
73577
- if (!V)
73576
+ var J, ee;
73577
+ if (!F)
73578
73578
  return;
73579
- const J = (te = (ee = Object.values(V).find(
73580
- (ne) => {
73581
- var re;
73582
- return ((re = ne == null ? void 0 : ne.resume_details) == null ? void 0 : re.default) && !(ne != null && ne.is_blocker);
73583
- }
73584
- )) == null ? void 0 : ee.resume_details) == null ? void 0 : te.id;
73585
- C(J);
73586
- }, [V, C]), K || !V ? /* @__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(V).map(([J, ee]) => /* @__PURE__ */ React__default.createElement(ResumeChoiceOptionLabel, { key: J, value: ee })), Object.keys(V).length < MAX_RESUMES && /* @__PURE__ */ React__default.createElement(
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) => ({
@@ -74432,7 +74423,7 @@ const heading = "_heading_2zalm_1", spinner = "_spinner_2zalm_8", alert = "_aler
74432
74423
  noJobsImage,
74433
74424
  noJobsHeading
74434
74425
  }, { Title, Text } = Typography$1, TAB_HEADINGS = {
74435
- [TAG_TO_TAB_MAPPING.relevant]: "Unlocked Jobs",
74426
+ [TAG_TO_TAB_MAPPING.relevant]: "Preferred Jobs",
74436
74427
  [TAG_TO_TAB_MAPPING.all]: "All Jobs",
74437
74428
  [TAG_TO_TAB_MAPPING.saved]: "Saved Jobs",
74438
74429
  [TAG_TO_TAB_MAPPING.applied]: "Applied Jobs"