@scalant/career-hub 7.3.0 → 7.3.2

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.
@@ -49364,14 +49364,16 @@ const Upload$1 = Upload, APPLICATION_STATUS$1 = {
49364
49364
  "Not Interested": "Not Interested",
49365
49365
  "Application Withdrawn": "Application Withdrawn",
49366
49366
  "Application Archived": "Application Archived"
49367
+ }, APPLICATION_STATUS_JOB_TAG_TEXT_MAPPING = {
49368
+ Draft: "Application Pending"
49367
49369
  }, JOB_TAG_ICON_MAPPING = {
49368
- "Application pending": ClockCircleOutlined$1,
49370
+ "Application Pending": ClockCircleOutlined$1,
49369
49371
  Applied: CheckCircleOutlined$1,
49370
49372
  "Job Offered": CheckCircleOutlined$1,
49371
49373
  Rejected: CloseCircleOutlined$1,
49372
49374
  "Status Pending": SyncOutlined$1
49373
49375
  }, JOB_TAG_COLOR_MAPPING = {
49374
- "Application pending": {
49376
+ "Application Pending": {
49375
49377
  primary: "#1D39C4",
49376
49378
  secondary: "#F0F5FF"
49377
49379
  },
@@ -54771,7 +54773,7 @@ const useApplicationFormContext = () => {
54771
54773
  ))));
54772
54774
  }, Recruiters = () => {
54773
54775
  const { jobData: C } = useJobPreview(), { recruiters: $ } = C || {};
54774
- return /* @__PURE__ */ React__default.createElement(Space$1, null, $.map((V, F) => /* @__PURE__ */ React__default.createElement(RecruiterCard, { key: F, recruiter: V })));
54776
+ return /* @__PURE__ */ React__default.createElement(Space$1, { wrap: !0 }, $.map((V, F) => /* @__PURE__ */ React__default.createElement(RecruiterCard, { key: F, recruiter: V })));
54775
54777
  }, OFFERED_STATUSES = ["offer_received", "offer_accepted", "joined"], APPLICATION_STAGE_STATUSES = {
54776
54778
  ongoing: "ongoing",
54777
54779
  ongoing_test: "ongoing",
@@ -76012,7 +76014,7 @@ const screeningCallService = careerHubApi.injectEndpoints({
76012
76014
  endpoints: (C) => ({
76013
76015
  issueScreeningCall: C.mutation({
76014
76016
  query: () => ({
76015
- url: "/api/v3/careers-hub/screening-call/",
76017
+ url: "/api/v3/screening_calls/issue",
76016
76018
  method: "POST"
76017
76019
  })
76018
76020
  })
@@ -76486,7 +76488,12 @@ const transformJobsData = (C) => {
76486
76488
  titleContainerCollapsed,
76487
76489
  companyName,
76488
76490
  actions
76489
- }, { Title: Title$1, Text: Text$2 } = Typography$1, JobTitleAndCompany = ({ title: C, companyName: $, isExpanded: V }) => /* @__PURE__ */ React__default.createElement(
76491
+ }, { Title: Title$1, Text: Text$2 } = Typography$1, JobTitleAndCompany = ({
76492
+ title: C,
76493
+ companyName: $,
76494
+ isExpanded: V,
76495
+ isInternship: F
76496
+ }) => /* @__PURE__ */ React__default.createElement(
76490
76497
  Space$1,
76491
76498
  {
76492
76499
  direction: "vertical",
@@ -76496,13 +76503,14 @@ const transformJobsData = (C) => {
76496
76503
  [styles$d.titleContainerCollapsed]: !V
76497
76504
  })
76498
76505
  },
76499
- /* @__PURE__ */ React__default.createElement(Title$1, { level: 5, className: styles$d.jobTitle, ellipsis: { rows: 1 } }, C),
76506
+ /* @__PURE__ */ React__default.createElement(Flex$1, { align: "center", gap: 8 }, /* @__PURE__ */ React__default.createElement(Title$1, { level: 5, className: styles$d.jobTitle, ellipsis: { rows: 1 } }, C), F && /* @__PURE__ */ React__default.createElement(Tag$1, { color: "purple" }, "Experience Builder")),
76500
76507
  /* @__PURE__ */ React__default.createElement(Text$2, { ellipsis: !0, className: styles$d.companyName }, $)
76501
76508
  );
76502
76509
  JobTitleAndCompany.propTypes = {
76503
76510
  title: PropTypes.string.isRequired,
76504
76511
  companyName: PropTypes.string.isRequired,
76505
- isExpanded: PropTypes.bool
76512
+ isExpanded: PropTypes.bool,
76513
+ isInternship: PropTypes.bool
76506
76514
  };
76507
76515
  JobTitleAndCompany.defaultProps = {
76508
76516
  isExpanded: !1
@@ -76515,20 +76523,20 @@ const tag = "_tag_5fhgn_1", styles$c = {
76515
76523
  ClockCircleOutlined: ClockCircleOutlined$1,
76516
76524
  RocketOutlined: RocketOutlined$1
76517
76525
  }, PipelineJobTag = ({ applicationStatus: C }) => {
76518
- const $ = APPLICATION_STATUS_JOB_TAG_MAPPING[C] || C, V = JOB_TAG_ICON_MAPPING[$], F = JOB_TAG_COLOR_MAPPING[$] || {};
76526
+ const $ = APPLICATION_STATUS_JOB_TAG_MAPPING[C] || C, V = APPLICATION_STATUS_JOB_TAG_TEXT_MAPPING[C] || C, F = JOB_TAG_ICON_MAPPING[$], K = JOB_TAG_COLOR_MAPPING[$] || {};
76519
76527
  return $ ? /* @__PURE__ */ React__default.createElement(
76520
76528
  Tag$1,
76521
76529
  {
76522
- icon: V && /* @__PURE__ */ React__default.createElement(V, { style: { color: F.primary } }),
76523
- color: F.primary,
76530
+ icon: F && /* @__PURE__ */ React__default.createElement(F, { style: { color: K.primary } }),
76531
+ color: K.primary,
76524
76532
  className: styles$c.tag,
76525
76533
  style: {
76526
- color: F.primary,
76527
- borderColor: F.primary,
76528
- backgroundColor: F.secondary
76534
+ color: K.primary,
76535
+ borderColor: K.primary,
76536
+ backgroundColor: K.secondary
76529
76537
  }
76530
76538
  },
76531
- $
76539
+ V
76532
76540
  ) : null;
76533
76541
  }, EligibilityTag = ({ jobData: C, currentTab: $ }) => {
76534
76542
  const { eligibilityCriteria: V, applicationStatus: F } = C || {}, K = determineJobTag(C, V);
@@ -76578,22 +76586,23 @@ JobCardActions.defaultProps = {
76578
76586
  currentTab: "all"
76579
76587
  };
76580
76588
  const JobCardHeader = ({ jobData: C, companiesList: $, currentTab: V, isExpanded: F }) => {
76581
- var J;
76582
- const K = C.companyName || C.company && C.company[0] && ((J = $[C.company[0]]) == null ? void 0 : J.name) || "";
76589
+ var ee;
76590
+ const K = C.roleType === "internship", J = C.companyName || C.company && C.company[0] && ((ee = $[C.company[0]]) == null ? void 0 : ee.name) || "";
76583
76591
  return /* @__PURE__ */ React__default.createElement(Row$1, { gutter: [12, 8], className: styles$d.header }, /* @__PURE__ */ React__default.createElement(Col$1, { flex: "auto" }, /* @__PURE__ */ React__default.createElement(Row$1, { gutter: 12, align: "top", wrap: !1 }, /* @__PURE__ */ React__default.createElement(Col$1, null, /* @__PURE__ */ React__default.createElement(
76584
76592
  CompanyLogo,
76585
76593
  {
76586
76594
  logo: C.logo,
76587
76595
  company: C.company,
76588
76596
  companiesList: $,
76589
- companyName: K
76597
+ companyName: J
76590
76598
  }
76591
76599
  )), /* @__PURE__ */ React__default.createElement(Col$1, { flex: "auto" }, /* @__PURE__ */ React__default.createElement(
76592
76600
  JobTitleAndCompany,
76593
76601
  {
76594
76602
  title: C.title,
76595
- companyName: K,
76596
- isExpanded: F
76603
+ companyName: J,
76604
+ isExpanded: F,
76605
+ isInternship: K
76597
76606
  }
76598
76607
  )))), /* @__PURE__ */ React__default.createElement(Flex$1, null, /* @__PURE__ */ React__default.createElement(JobCardActions, { jobData: C, currentTab: V })));
76599
76608
  };