@scalant/career-hub 3.14.1-alpha.0 → 3.14.2-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 +23 -18
- package/dist/career-hub.umd.js +3 -3
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/career-hub.es.js
CHANGED
|
@@ -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 = "
|
|
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: !
|
|
50000
|
-
isNoticePeriodAvailable: !
|
|
49999
|
+
isExperienceCtcAvailable: !0,
|
|
50000
|
+
isNoticePeriodAvailable: !0,
|
|
50001
50001
|
isAppliedDateAvailable: !0,
|
|
50002
|
-
isArchivedStatusAvailable: !
|
|
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: "
|
|
50187
|
+
label: "Preferred Jobs",
|
|
50188
50188
|
icon: UnlockOutlined$1
|
|
50189
50189
|
},
|
|
50190
50190
|
all: {
|
|
@@ -53083,9 +53083,9 @@ const useApplicationFormContext = () => {
|
|
|
53083
53083
|
bodyContainer,
|
|
53084
53084
|
tabs
|
|
53085
53085
|
}, ExpandedJobViewBody = () => {
|
|
53086
|
-
var
|
|
53087
|
-
const { activeTab: C, setActiveTab: $, jobData: F } = useJobPreview(), { applicationTimeline:
|
|
53088
|
-
((
|
|
53086
|
+
var te;
|
|
53087
|
+
const { activeTab: C, setActiveTab: $, jobData: F, currentTab: V } = useJobPreview(), { applicationTimeline: K } = F || {}, ee = [
|
|
53088
|
+
((te = K == null ? void 0 : K.timeline) == null ? void 0 : te.length) > 0 && V === TAG_TO_TAB_MAPPING.applied && {
|
|
53089
53089
|
key: JOB_BODY_TABS.APPLICATION_TIMELINE.key,
|
|
53090
53090
|
label: JOB_BODY_TABS.APPLICATION_TIMELINE.label,
|
|
53091
53091
|
children: /* @__PURE__ */ React__default.createElement(ApplicationTimelineTab, null)
|
|
@@ -53106,7 +53106,7 @@ const useApplicationFormContext = () => {
|
|
|
53106
53106
|
{
|
|
53107
53107
|
activeKey: C,
|
|
53108
53108
|
className: styles$q.tabs,
|
|
53109
|
-
items:
|
|
53109
|
+
items: ee,
|
|
53110
53110
|
onChange: $
|
|
53111
53111
|
}
|
|
53112
53112
|
));
|
|
@@ -53985,18 +53985,23 @@ const stepText = "_stepText_14qm3_1", titleContainer$1 = "_titleContainer_14qm3_
|
|
|
53985
53985
|
}
|
|
53986
53986
|
};
|
|
53987
53987
|
function FormHeader({ onClose: C }) {
|
|
53988
|
-
const { stepName:
|
|
53988
|
+
const { stepName: $, jobProfileId: F } = useApplicationFormContext(), { updateTab: V } = useJobQueryParams({
|
|
53989
|
+
syncToURL: !0,
|
|
53990
|
+
syncFromURL: !1
|
|
53991
|
+
}), { refetch: K } = useGetJobPreviewQuery(F, {
|
|
53992
|
+
skip: !F
|
|
53993
|
+
});
|
|
53989
53994
|
if (!STEP_MAP[$])
|
|
53990
53995
|
return null;
|
|
53991
53996
|
const {
|
|
53992
|
-
currentStep:
|
|
53993
|
-
icon:
|
|
53994
|
-
title:
|
|
53995
|
-
totalSteps:
|
|
53996
|
-
} = STEP_MAP[$] || {},
|
|
53997
|
-
$ === APPLICATION_STATUS.SUCCESSFULLY_APPLIED
|
|
53997
|
+
currentStep: J,
|
|
53998
|
+
icon: ee,
|
|
53999
|
+
title: te,
|
|
54000
|
+
totalSteps: ne
|
|
54001
|
+
} = STEP_MAP[$] || {}, re = () => {
|
|
54002
|
+
$ === APPLICATION_STATUS.SUCCESSFULLY_APPLIED && (V(TAG_TO_TAB_MAPPING.applied), K()), C == null || C();
|
|
53998
54003
|
};
|
|
53999
|
-
return /* @__PURE__ */ React__default.createElement(Flex$1, { justify: "space-between" }, /* @__PURE__ */ React__default.createElement(Space$1, { className: styles$k.container, direction: "vertical" }, /* @__PURE__ */ React__default.createElement(Text$3, { className: styles$k.stepText }, "Step ",
|
|
54004
|
+
return /* @__PURE__ */ React__default.createElement(Flex$1, { justify: "space-between" }, /* @__PURE__ */ React__default.createElement(Space$1, { className: styles$k.container, direction: "vertical" }, /* @__PURE__ */ React__default.createElement(Text$3, { className: styles$k.stepText }, "Step ", J, "/", ne), /* @__PURE__ */ React__default.createElement(Space$1, { className: styles$k.titleContainer }, /* @__PURE__ */ React__default.createElement(ee, { className: styles$k.titleIcon }), /* @__PURE__ */ React__default.createElement(Text$3, { className: styles$k.titleText }, te))), /* @__PURE__ */ React__default.createElement(Button$2, { icon: /* @__PURE__ */ React__default.createElement(CloseOutlined$1, null), type: "text", onClick: re }));
|
|
54000
54005
|
}
|
|
54001
54006
|
function commonjsRequire(C) {
|
|
54002
54007
|
throw new Error('Could not dynamically require "' + C + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
@@ -74423,7 +74428,7 @@ const heading = "_heading_2zalm_1", spinner = "_spinner_2zalm_8", alert = "_aler
|
|
|
74423
74428
|
noJobsImage,
|
|
74424
74429
|
noJobsHeading
|
|
74425
74430
|
}, { Title, Text } = Typography$1, TAB_HEADINGS = {
|
|
74426
|
-
[TAG_TO_TAB_MAPPING.relevant]: "
|
|
74431
|
+
[TAG_TO_TAB_MAPPING.relevant]: "Preferred Jobs",
|
|
74427
74432
|
[TAG_TO_TAB_MAPPING.all]: "All Jobs",
|
|
74428
74433
|
[TAG_TO_TAB_MAPPING.saved]: "Saved Jobs",
|
|
74429
74434
|
[TAG_TO_TAB_MAPPING.applied]: "Applied Jobs"
|