@hadoku/jobplatform 3.42.134 → 3.42.136
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/{ApplicationTracking-mioy9vBN.js → ApplicationTracking-C18XBr07.js} +2 -2
- package/dist/{ApplicationsList-B_IpHPXq.js → ApplicationsList-D3cMqj6F.js} +1 -1
- package/dist/{ClipboardPalette-BKAjb7B_.js → ClipboardPalette-B-__Yr5C.js} +1 -1
- package/dist/{InsightsPage-1riaKlxv.js → InsightsPage-Ahr2cm_B.js} +1 -1
- package/dist/{PacketDetail-DeOgBjKi.js → PacketDetail-CyG5i2ft.js} +2 -2
- package/dist/{PacketsList-CtPQIhyx.js → PacketsList-BddYE0DC.js} +2 -2
- package/dist/{PipelineBoard-BgqelW_w.js → PipelineBoard-DBKLTC_X.js} +2 -2
- package/dist/{ProfilePage-YLomJCE4.js → ProfilePage-BJCmGbGJ.js} +142 -122
- package/dist/api/me.d.ts +2 -0
- package/dist/api/me.d.ts.map +1 -1
- package/dist/api/packets.d.ts +7 -3
- package/dist/api/packets.d.ts.map +1 -1
- package/dist/components/PacketDetail.d.ts.map +1 -1
- package/dist/components/ProfilePage.d.ts.map +1 -1
- package/dist/{entry-BPQSVIdk.js → entry-DOZLBLxi.js} +8 -8
- package/dist/index.js +1 -1
- package/dist/packets-CPagfOpE.js +21 -0
- package/dist/{pipeline-YSKh77yD.js → pipeline-LUXdTEeg.js} +1 -1
- package/package.json +2 -2
- package/dist/packets-BZ_hk5bs.js +0 -18
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as i, Fragment as G, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as K, useState as l, useEffect as Q } from "react";
|
|
3
|
-
import { u as V, i as h, J as X } from "./entry-
|
|
4
|
-
import { l as I, s as ee, a as te, d as ae } from "./pipeline-
|
|
3
|
+
import { u as V, i as h, J as X } from "./entry-DOZLBLxi.js";
|
|
4
|
+
import { l as I, s as ee, a as te, d as ae } from "./pipeline-LUXdTEeg.js";
|
|
5
5
|
const ne = {
|
|
6
6
|
notes: null,
|
|
7
7
|
priority: null,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as i, jsx as e, Fragment as K } from "react/jsx-runtime";
|
|
2
2
|
import { useState as _, useMemo as W, useCallback as Q, useEffect as V } from "react";
|
|
3
|
-
import { l as M, a as J, J as S, s as U, f as X, b as Z, u as ee, c as ne, d as te } from "./entry-
|
|
3
|
+
import { l as M, a as J, J as S, s as U, f as X, b as Z, u as ee, c as ne, d as te } from "./entry-DOZLBLxi.js";
|
|
4
4
|
function F(r) {
|
|
5
5
|
return r.replace(/\*/g, " ").toLowerCase().replace(/n't\b/g, " not ").replace(/[^a-z0-9]+/g, " ").trim();
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a, jsxs as d } from "react/jsx-runtime";
|
|
2
2
|
import { useState as s, useRef as f, useEffect as h } from "react";
|
|
3
|
-
import { u as _, k as j } from "./entry-
|
|
3
|
+
import { u as _, k as j } from "./entry-DOZLBLxi.js";
|
|
4
4
|
function y(e) {
|
|
5
5
|
const t = e.work_experience?.find((i) => i.current) ?? e.work_experience?.[0];
|
|
6
6
|
return [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e, jsxs as n } from "react/jsx-runtime";
|
|
2
|
-
import { u as _, J as j, j as g } from "./entry-
|
|
2
|
+
import { u as _, J as j, j as g } from "./entry-DOZLBLxi.js";
|
|
3
3
|
const o = (s) => s === null ? "—" : `${Math.round(s * 100)}%`;
|
|
4
4
|
function h(s) {
|
|
5
5
|
return (/* @__PURE__ */ new Date(`${s}T00:00:00Z`)).toLocaleDateString(void 0, { month: "short", day: "numeric", timeZone: "UTC" });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as t, jsx as a, Fragment as d } from "react/jsx-runtime";
|
|
2
2
|
import { useState as i, useEffect as _ } from "react";
|
|
3
|
-
import { g as y, J as b, D as v } from "./entry-
|
|
4
|
-
import { g, p as E, a as P } from "./packets-
|
|
3
|
+
import { g as y, J as b, D as v } from "./entry-DOZLBLxi.js";
|
|
4
|
+
import { g, p as E, a as P } from "./packets-CPagfOpE.js";
|
|
5
5
|
function L({ auth: f, jobId: m, slug: n, onClose: s }) {
|
|
6
6
|
const [e, h] = i(null), [o, k] = i(null), [r, j] = i(null), [p, u] = i(null);
|
|
7
7
|
_(() => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e, jsxs as n } from "react/jsx-runtime";
|
|
2
|
-
import { u, e as k, J as p } from "./entry-
|
|
3
|
-
import { p as j } from "./packets-
|
|
2
|
+
import { u, e as k, J as p } from "./entry-DOZLBLxi.js";
|
|
3
|
+
import { p as j } from "./packets-CPagfOpE.js";
|
|
4
4
|
function h(c) {
|
|
5
5
|
const t = new Date(c);
|
|
6
6
|
return Number.isNaN(t.getTime()) ? c : t.toLocaleDateString();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as n, jsx as a, Fragment as F } from "react/jsx-runtime";
|
|
2
2
|
import { useState as h, useEffect as P, useMemo as I } from "react";
|
|
3
|
-
import { J as D, u as O, i as L, h as B } from "./entry-
|
|
4
|
-
import { i as J, g as Y } from "./pipeline-
|
|
3
|
+
import { J as D, u as O, i as L, h as B } from "./entry-DOZLBLxi.js";
|
|
4
|
+
import { i as J, g as Y } from "./pipeline-LUXdTEeg.js";
|
|
5
5
|
const G = [
|
|
6
6
|
{ value: "saved", label: "Saved" },
|
|
7
7
|
{ value: "interested", label: "Interested" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as e, jsxs as s } from "react/jsx-runtime";
|
|
2
2
|
import { useState as y, useEffect as R } from "react";
|
|
3
|
-
import { u as A, k as
|
|
4
|
-
const N = (
|
|
3
|
+
import { u as A, k as w, m as P, J as F, n as L, i as x, o as M, p as D } from "./entry-DOZLBLxi.js";
|
|
4
|
+
const N = (a, n) => a instanceof F ? a.message : n, Y = [
|
|
5
5
|
{ key: "name", label: "Full name" },
|
|
6
6
|
{ key: "email", label: "Email", type: "email" },
|
|
7
7
|
{ key: "phone", label: "Phone", type: "tel" },
|
|
@@ -17,188 +17,193 @@ const N = (e, n) => e instanceof L ? e.message : n, Y = [
|
|
|
17
17
|
"summary",
|
|
18
18
|
"linkedin",
|
|
19
19
|
"github",
|
|
20
|
-
"portfolio"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
"portfolio",
|
|
21
|
+
"master_resume_text"
|
|
22
|
+
], C = { name: "", email: "" }, p = (a) => typeof a == "string" || typeof a == "number" ? String(a) : "";
|
|
23
|
+
function J(a, n) {
|
|
24
|
+
const i = { ...a ?? {}, ...n };
|
|
24
25
|
i.name = i.name.trim(), i.email = i.email.trim();
|
|
25
26
|
for (const t of H) {
|
|
27
|
+
if (!(t in n)) {
|
|
28
|
+
delete i[t];
|
|
29
|
+
continue;
|
|
30
|
+
}
|
|
26
31
|
const r = i[t];
|
|
27
32
|
typeof r == "string" && !r.trim() ? delete i[t] : typeof r == "string" && (i[t] = r.trim());
|
|
28
33
|
}
|
|
29
34
|
return i.work_experience = (n.work_experience ?? []).filter((t) => t.company.trim()), i.education = (n.education ?? []).filter((t) => t.school.trim()), i;
|
|
30
35
|
}
|
|
31
36
|
const $ = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
|
|
32
|
-
function
|
|
33
|
-
label:
|
|
37
|
+
function E({
|
|
38
|
+
label: a,
|
|
34
39
|
month: n,
|
|
35
40
|
year: i,
|
|
36
41
|
onChange: t
|
|
37
42
|
}) {
|
|
38
|
-
const r =
|
|
39
|
-
return /* @__PURE__ */
|
|
40
|
-
/* @__PURE__ */
|
|
43
|
+
const r = p(n), c = /^\d+$/.test(r) ? String(Number(r)) : r, u = c === "" || /^\d+$/.test(c);
|
|
44
|
+
return /* @__PURE__ */ s("span", { className: "jp-me__when", children: [
|
|
45
|
+
/* @__PURE__ */ s(
|
|
41
46
|
"select",
|
|
42
47
|
{
|
|
43
|
-
"aria-label": `${
|
|
44
|
-
value:
|
|
45
|
-
onChange: (
|
|
48
|
+
"aria-label": `${a} month`,
|
|
49
|
+
value: c,
|
|
50
|
+
onChange: (m) => t(m.target.value, p(i)),
|
|
46
51
|
children: [
|
|
47
|
-
/* @__PURE__ */
|
|
48
|
-
!u && /* @__PURE__ */
|
|
49
|
-
$.map((
|
|
52
|
+
/* @__PURE__ */ e("option", { value: "", children: a }),
|
|
53
|
+
!u && /* @__PURE__ */ e("option", { value: c, children: c }),
|
|
54
|
+
$.map((m, _) => /* @__PURE__ */ e("option", { value: String(_ + 1), children: m }, m))
|
|
50
55
|
]
|
|
51
56
|
}
|
|
52
57
|
),
|
|
53
|
-
/* @__PURE__ */
|
|
58
|
+
/* @__PURE__ */ e(
|
|
54
59
|
"input",
|
|
55
60
|
{
|
|
56
|
-
"aria-label": `${
|
|
61
|
+
"aria-label": `${a} year`,
|
|
57
62
|
placeholder: "Year",
|
|
58
63
|
inputMode: "numeric",
|
|
59
64
|
maxLength: 4,
|
|
60
|
-
value:
|
|
61
|
-
onChange: (
|
|
65
|
+
value: p(i),
|
|
66
|
+
onChange: (m) => t(p(n), m.target.value)
|
|
62
67
|
}
|
|
63
68
|
)
|
|
64
69
|
] });
|
|
65
70
|
}
|
|
66
71
|
function B({
|
|
67
|
-
row:
|
|
72
|
+
row: a,
|
|
68
73
|
onChange: n,
|
|
69
74
|
onRemove: i
|
|
70
75
|
}) {
|
|
71
|
-
return /* @__PURE__ */
|
|
72
|
-
/* @__PURE__ */
|
|
76
|
+
return /* @__PURE__ */ s("fieldset", { className: "jp-me__row", children: [
|
|
77
|
+
/* @__PURE__ */ e(
|
|
73
78
|
"input",
|
|
74
79
|
{
|
|
75
80
|
"aria-label": "Company",
|
|
76
81
|
placeholder: "Company",
|
|
77
|
-
value:
|
|
78
|
-
onChange: (t) => n({ ...
|
|
82
|
+
value: a.company,
|
|
83
|
+
onChange: (t) => n({ ...a, company: t.target.value })
|
|
79
84
|
}
|
|
80
85
|
),
|
|
81
|
-
/* @__PURE__ */
|
|
86
|
+
/* @__PURE__ */ e(
|
|
82
87
|
"input",
|
|
83
88
|
{
|
|
84
89
|
"aria-label": "Title",
|
|
85
90
|
placeholder: "Title",
|
|
86
|
-
value:
|
|
87
|
-
onChange: (t) => n({ ...
|
|
91
|
+
value: p(a.title),
|
|
92
|
+
onChange: (t) => n({ ...a, title: t.target.value })
|
|
88
93
|
}
|
|
89
94
|
),
|
|
90
|
-
/* @__PURE__ */
|
|
91
|
-
|
|
95
|
+
/* @__PURE__ */ e(
|
|
96
|
+
E,
|
|
92
97
|
{
|
|
93
98
|
label: "Start",
|
|
94
|
-
month:
|
|
95
|
-
year:
|
|
96
|
-
onChange: (t, r) => n({ ...
|
|
99
|
+
month: a.start_month,
|
|
100
|
+
year: a.start_year,
|
|
101
|
+
onChange: (t, r) => n({ ...a, start_month: t, start_year: r })
|
|
97
102
|
}
|
|
98
103
|
),
|
|
99
|
-
|
|
100
|
-
|
|
104
|
+
a.current ? /* @__PURE__ */ e("span", { className: "jp-me__present", children: "Present" }) : /* @__PURE__ */ e(
|
|
105
|
+
E,
|
|
101
106
|
{
|
|
102
107
|
label: "End",
|
|
103
|
-
month:
|
|
104
|
-
year:
|
|
105
|
-
onChange: (t, r) => n({ ...
|
|
108
|
+
month: a.end_month,
|
|
109
|
+
year: a.end_year,
|
|
110
|
+
onChange: (t, r) => n({ ...a, end_month: t, end_year: r })
|
|
106
111
|
}
|
|
107
112
|
),
|
|
108
|
-
/* @__PURE__ */
|
|
109
|
-
/* @__PURE__ */
|
|
113
|
+
/* @__PURE__ */ s("label", { className: "jp-me__check", children: [
|
|
114
|
+
/* @__PURE__ */ e(
|
|
110
115
|
"input",
|
|
111
116
|
{
|
|
112
117
|
type: "checkbox",
|
|
113
|
-
checked: !!
|
|
114
|
-
onChange: (t) => n({ ...
|
|
118
|
+
checked: !!a.current,
|
|
119
|
+
onChange: (t) => n({ ...a, current: t.target.checked })
|
|
115
120
|
}
|
|
116
121
|
),
|
|
117
122
|
"Current"
|
|
118
123
|
] }),
|
|
119
|
-
/* @__PURE__ */
|
|
124
|
+
/* @__PURE__ */ e("button", { type: "button", className: "jp-me__remove", onClick: i, "aria-label": "Remove", children: "×" })
|
|
120
125
|
] });
|
|
121
126
|
}
|
|
122
127
|
function I({
|
|
123
|
-
row:
|
|
128
|
+
row: a,
|
|
124
129
|
onChange: n,
|
|
125
130
|
onRemove: i
|
|
126
131
|
}) {
|
|
127
|
-
return /* @__PURE__ */
|
|
128
|
-
/* @__PURE__ */
|
|
132
|
+
return /* @__PURE__ */ s("fieldset", { className: "jp-me__row", children: [
|
|
133
|
+
/* @__PURE__ */ e(
|
|
129
134
|
"input",
|
|
130
135
|
{
|
|
131
136
|
"aria-label": "School",
|
|
132
137
|
placeholder: "School",
|
|
133
|
-
value:
|
|
134
|
-
onChange: (t) => n({ ...
|
|
138
|
+
value: a.school,
|
|
139
|
+
onChange: (t) => n({ ...a, school: t.target.value })
|
|
135
140
|
}
|
|
136
141
|
),
|
|
137
|
-
/* @__PURE__ */
|
|
142
|
+
/* @__PURE__ */ e(
|
|
138
143
|
"input",
|
|
139
144
|
{
|
|
140
145
|
"aria-label": "Degree",
|
|
141
146
|
placeholder: "Degree",
|
|
142
|
-
value:
|
|
143
|
-
onChange: (t) => n({ ...
|
|
147
|
+
value: p(a.degree),
|
|
148
|
+
onChange: (t) => n({ ...a, degree: t.target.value })
|
|
144
149
|
}
|
|
145
150
|
),
|
|
146
|
-
/* @__PURE__ */
|
|
151
|
+
/* @__PURE__ */ e(
|
|
147
152
|
"input",
|
|
148
153
|
{
|
|
149
154
|
"aria-label": "Field of study",
|
|
150
155
|
placeholder: "Field of study",
|
|
151
|
-
value:
|
|
152
|
-
onChange: (t) => n({ ...
|
|
156
|
+
value: p(a.discipline),
|
|
157
|
+
onChange: (t) => n({ ...a, discipline: t.target.value })
|
|
153
158
|
}
|
|
154
159
|
),
|
|
155
|
-
/* @__PURE__ */
|
|
160
|
+
/* @__PURE__ */ e(
|
|
156
161
|
"input",
|
|
157
162
|
{
|
|
158
163
|
"aria-label": "Start year",
|
|
159
164
|
placeholder: "Start year",
|
|
160
165
|
inputMode: "numeric",
|
|
161
|
-
value:
|
|
162
|
-
onChange: (t) => n({ ...
|
|
166
|
+
value: p(a.start_year),
|
|
167
|
+
onChange: (t) => n({ ...a, start_year: t.target.value })
|
|
163
168
|
}
|
|
164
169
|
),
|
|
165
|
-
/* @__PURE__ */
|
|
170
|
+
/* @__PURE__ */ e(
|
|
166
171
|
"input",
|
|
167
172
|
{
|
|
168
173
|
"aria-label": "End year",
|
|
169
174
|
placeholder: "End year",
|
|
170
175
|
inputMode: "numeric",
|
|
171
|
-
value:
|
|
172
|
-
onChange: (t) => n({ ...
|
|
176
|
+
value: p(a.end_year),
|
|
177
|
+
onChange: (t) => n({ ...a, end_year: t.target.value })
|
|
173
178
|
}
|
|
174
179
|
),
|
|
175
|
-
/* @__PURE__ */
|
|
180
|
+
/* @__PURE__ */ e("button", { type: "button", className: "jp-me__remove", onClick: i, "aria-label": "Remove", children: "×" })
|
|
176
181
|
] });
|
|
177
182
|
}
|
|
178
|
-
function O({ auth:
|
|
183
|
+
function O({ auth: a }) {
|
|
179
184
|
const {
|
|
180
185
|
data: n,
|
|
181
186
|
loading: i,
|
|
182
187
|
error: t
|
|
183
|
-
} = A("applicant-profile", () =>
|
|
188
|
+
} = A("applicant-profile", () => w(a)), [r, c] = y(null), [u, m] = y(!1), [_, f] = y(null), [v, g] = y(null);
|
|
184
189
|
if (R(() => {
|
|
185
|
-
n !== void 0 && r === null &&
|
|
190
|
+
n !== void 0 && r === null && c(n ?? C);
|
|
186
191
|
}, [n, r]), i || r === null)
|
|
187
|
-
return t ? /* @__PURE__ */
|
|
192
|
+
return t ? /* @__PURE__ */ e("p", { className: "jp-error", children: N(t, "Failed to load") }) : /* @__PURE__ */ e("p", { className: "jp-muted", children: "Loading your profile…" });
|
|
188
193
|
const o = (l) => {
|
|
189
|
-
f(null),
|
|
194
|
+
f(null), c((d) => ({ ...d ?? C, ...l }));
|
|
190
195
|
}, b = r.work_experience ?? [], j = r.education ?? [], T = async () => {
|
|
191
|
-
|
|
196
|
+
m(!0), g(null);
|
|
192
197
|
try {
|
|
193
|
-
const l = J(n ?? null, r), d = await
|
|
194
|
-
|
|
198
|
+
const l = J(n ?? null, r), d = await L(l, a);
|
|
199
|
+
x("applicant-profile"), c(l), f(d);
|
|
195
200
|
} catch (l) {
|
|
196
201
|
g(N(l, "Failed to save"));
|
|
197
202
|
} finally {
|
|
198
|
-
|
|
203
|
+
m(!1);
|
|
199
204
|
}
|
|
200
205
|
};
|
|
201
|
-
return /* @__PURE__ */
|
|
206
|
+
return /* @__PURE__ */ s(
|
|
202
207
|
"form",
|
|
203
208
|
{
|
|
204
209
|
className: "jp-me__form",
|
|
@@ -207,18 +212,18 @@ function O({ auth: e }) {
|
|
|
207
212
|
},
|
|
208
213
|
"data-testid": "applicant-profile-form",
|
|
209
214
|
children: [
|
|
210
|
-
/* @__PURE__ */
|
|
211
|
-
/* @__PURE__ */
|
|
212
|
-
Y.map((l) => /* @__PURE__ */
|
|
213
|
-
/* @__PURE__ */
|
|
215
|
+
/* @__PURE__ */ e("p", { className: "jp-muted", children: "What an application form asks about you. The Fill extension fills from it, and the drawer's Quick copy reads it for the forms you fill by hand." }),
|
|
216
|
+
/* @__PURE__ */ s("div", { className: "jp-me__grid", children: [
|
|
217
|
+
Y.map((l) => /* @__PURE__ */ s("label", { className: "jp-me__field", children: [
|
|
218
|
+
/* @__PURE__ */ s("span", { children: [
|
|
214
219
|
l.label,
|
|
215
220
|
(l.key === "name" || l.key === "email") && " *"
|
|
216
221
|
] }),
|
|
217
|
-
/* @__PURE__ */
|
|
222
|
+
/* @__PURE__ */ e(
|
|
218
223
|
"input",
|
|
219
224
|
{
|
|
220
225
|
type: l.type ?? "text",
|
|
221
|
-
value:
|
|
226
|
+
value: p(r[l.key]),
|
|
222
227
|
required: l.key === "name" || l.key === "email",
|
|
223
228
|
placeholder: l.hint,
|
|
224
229
|
onChange: (d) => o({ [l.key]: d.target.value }),
|
|
@@ -226,21 +231,21 @@ function O({ auth: e }) {
|
|
|
226
231
|
}
|
|
227
232
|
)
|
|
228
233
|
] }, l.key)),
|
|
229
|
-
/* @__PURE__ */
|
|
230
|
-
/* @__PURE__ */
|
|
231
|
-
/* @__PURE__ */
|
|
234
|
+
/* @__PURE__ */ s("label", { className: "jp-me__field jp-me__field--wide", children: [
|
|
235
|
+
/* @__PURE__ */ e("span", { children: "Summary" }),
|
|
236
|
+
/* @__PURE__ */ e(
|
|
232
237
|
"textarea",
|
|
233
238
|
{
|
|
234
239
|
rows: 4,
|
|
235
|
-
value:
|
|
240
|
+
value: p(r.summary),
|
|
236
241
|
placeholder: "Two or three sentences for the 'tell us about yourself' box",
|
|
237
242
|
onChange: (l) => o({ summary: l.target.value })
|
|
238
243
|
}
|
|
239
244
|
)
|
|
240
245
|
] })
|
|
241
246
|
] }),
|
|
242
|
-
/* @__PURE__ */
|
|
243
|
-
b.map((l, d) => /* @__PURE__ */
|
|
247
|
+
/* @__PURE__ */ e("h3", { className: "jp-me__subhead", children: "Work history" }),
|
|
248
|
+
b.map((l, d) => /* @__PURE__ */ e(
|
|
244
249
|
B,
|
|
245
250
|
{
|
|
246
251
|
row: l,
|
|
@@ -249,7 +254,7 @@ function O({ auth: e }) {
|
|
|
249
254
|
},
|
|
250
255
|
d
|
|
251
256
|
)),
|
|
252
|
-
/* @__PURE__ */
|
|
257
|
+
/* @__PURE__ */ e(
|
|
253
258
|
"button",
|
|
254
259
|
{
|
|
255
260
|
type: "button",
|
|
@@ -258,8 +263,8 @@ function O({ auth: e }) {
|
|
|
258
263
|
children: "Add a role"
|
|
259
264
|
}
|
|
260
265
|
),
|
|
261
|
-
/* @__PURE__ */
|
|
262
|
-
j.map((l, d) => /* @__PURE__ */
|
|
266
|
+
/* @__PURE__ */ e("h3", { className: "jp-me__subhead", children: "Education" }),
|
|
267
|
+
j.map((l, d) => /* @__PURE__ */ e(
|
|
263
268
|
I,
|
|
264
269
|
{
|
|
265
270
|
row: l,
|
|
@@ -268,7 +273,7 @@ function O({ auth: e }) {
|
|
|
268
273
|
},
|
|
269
274
|
d
|
|
270
275
|
)),
|
|
271
|
-
/* @__PURE__ */
|
|
276
|
+
/* @__PURE__ */ e(
|
|
272
277
|
"button",
|
|
273
278
|
{
|
|
274
279
|
type: "button",
|
|
@@ -277,8 +282,23 @@ function O({ auth: e }) {
|
|
|
277
282
|
children: "Add a school"
|
|
278
283
|
}
|
|
279
284
|
),
|
|
280
|
-
/* @__PURE__ */
|
|
281
|
-
|
|
285
|
+
/* @__PURE__ */ e("h3", { className: "jp-me__subhead", children: "Résumé" }),
|
|
286
|
+
/* @__PURE__ */ s("label", { className: "jp-me__field jp-me__field--wide", children: [
|
|
287
|
+
/* @__PURE__ */ e("span", { children: "Your full résumé (markdown or plain text)" }),
|
|
288
|
+
/* @__PURE__ */ e(
|
|
289
|
+
"textarea",
|
|
290
|
+
{
|
|
291
|
+
rows: 12,
|
|
292
|
+
value: p(r.master_resume_text),
|
|
293
|
+
maxLength: 5e4,
|
|
294
|
+
placeholder: "Paste your whole résumé. Tailored résumés, cover letters and packets are built from it, and from nobody else's.",
|
|
295
|
+
onChange: (l) => o({ master_resume_text: l.target.value }),
|
|
296
|
+
"data-testid": "me-master_resume_text"
|
|
297
|
+
}
|
|
298
|
+
)
|
|
299
|
+
] }),
|
|
300
|
+
/* @__PURE__ */ s("div", { className: "jp-me__actions", children: [
|
|
301
|
+
/* @__PURE__ */ e(
|
|
282
302
|
"button",
|
|
283
303
|
{
|
|
284
304
|
type: "submit",
|
|
@@ -288,64 +308,64 @@ function O({ auth: e }) {
|
|
|
288
308
|
children: u ? "Saving…" : "Save profile"
|
|
289
309
|
}
|
|
290
310
|
),
|
|
291
|
-
_ && /* @__PURE__ */
|
|
311
|
+
_ && /* @__PURE__ */ e("span", { className: "jp-muted", children: "Saved ✓" })
|
|
292
312
|
] }),
|
|
293
|
-
v && /* @__PURE__ */
|
|
313
|
+
v && /* @__PURE__ */ e("p", { className: "jp-error", children: v })
|
|
294
314
|
]
|
|
295
315
|
}
|
|
296
316
|
);
|
|
297
317
|
}
|
|
298
|
-
function W({ auth:
|
|
318
|
+
function W({ auth: a }) {
|
|
299
319
|
const { data: n, loading: i, error: t, reload: r } = A(
|
|
300
320
|
"blocked-companies",
|
|
301
|
-
() => P(
|
|
302
|
-
), [
|
|
321
|
+
() => P(a)
|
|
322
|
+
), [c, u] = y(""), [m, _] = y(!1), [f, v] = y(null), g = async (o) => {
|
|
303
323
|
_(!0), v(null);
|
|
304
324
|
try {
|
|
305
|
-
await o(),
|
|
325
|
+
await o(), x("blocked-companies"), x("jobs:"), r();
|
|
306
326
|
} catch (b) {
|
|
307
327
|
v(N(b, "Request failed"));
|
|
308
328
|
} finally {
|
|
309
329
|
_(!1);
|
|
310
330
|
}
|
|
311
331
|
};
|
|
312
|
-
return /* @__PURE__ */
|
|
313
|
-
/* @__PURE__ */
|
|
314
|
-
/* @__PURE__ */
|
|
332
|
+
return /* @__PURE__ */ s("div", { "data-testid": "blocked-companies", children: [
|
|
333
|
+
/* @__PURE__ */ e("p", { className: "jp-muted", children: "Their postings never reach your feed. Your pipeline and the State filter still find anything you already track." }),
|
|
334
|
+
/* @__PURE__ */ s(
|
|
315
335
|
"form",
|
|
316
336
|
{
|
|
317
337
|
className: "jp-me__block-add",
|
|
318
338
|
onSubmit: (o) => {
|
|
319
|
-
o.preventDefault(),
|
|
339
|
+
o.preventDefault(), c.trim() && g(() => M(c.trim(), a)).then(() => u(""));
|
|
320
340
|
},
|
|
321
341
|
children: [
|
|
322
|
-
/* @__PURE__ */
|
|
342
|
+
/* @__PURE__ */ e(
|
|
323
343
|
"input",
|
|
324
344
|
{
|
|
325
345
|
"aria-label": "Company to hide",
|
|
326
346
|
placeholder: "Company name",
|
|
327
|
-
value:
|
|
347
|
+
value: c,
|
|
328
348
|
onChange: (o) => u(o.target.value)
|
|
329
349
|
}
|
|
330
350
|
),
|
|
331
|
-
/* @__PURE__ */
|
|
351
|
+
/* @__PURE__ */ e("button", { type: "submit", className: "jp-drawer__cta", disabled: m || !c.trim(), children: "Hide" })
|
|
332
352
|
]
|
|
333
353
|
}
|
|
334
354
|
),
|
|
335
|
-
f && /* @__PURE__ */
|
|
336
|
-
i && /* @__PURE__ */
|
|
337
|
-
t !== null && !i && /* @__PURE__ */
|
|
338
|
-
n && n.length === 0 && /* @__PURE__ */
|
|
339
|
-
n && n.length > 0 && /* @__PURE__ */
|
|
340
|
-
/* @__PURE__ */
|
|
341
|
-
/* @__PURE__ */
|
|
355
|
+
f && /* @__PURE__ */ e("p", { className: "jp-error", children: f }),
|
|
356
|
+
i && /* @__PURE__ */ e("p", { className: "jp-muted", children: "Loading…" }),
|
|
357
|
+
t !== null && !i && /* @__PURE__ */ e("p", { className: "jp-error", children: N(t, "Failed to load hidden companies") }),
|
|
358
|
+
n && n.length === 0 && /* @__PURE__ */ e("p", { className: "jp-muted", children: "You haven't hidden anyone." }),
|
|
359
|
+
n && n.length > 0 && /* @__PURE__ */ e("ul", { className: "jp-me__blocked", children: n.map((o) => /* @__PURE__ */ s("li", { children: [
|
|
360
|
+
/* @__PURE__ */ e("span", { children: o.company }),
|
|
361
|
+
/* @__PURE__ */ e(
|
|
342
362
|
"button",
|
|
343
363
|
{
|
|
344
364
|
type: "button",
|
|
345
365
|
className: "jp-drawer__link",
|
|
346
|
-
disabled:
|
|
366
|
+
disabled: m,
|
|
347
367
|
onClick: () => {
|
|
348
|
-
g(() => D(o.company,
|
|
368
|
+
g(() => D(o.company, a));
|
|
349
369
|
},
|
|
350
370
|
children: "Show again"
|
|
351
371
|
}
|
|
@@ -353,17 +373,17 @@ function W({ auth: e }) {
|
|
|
353
373
|
] }, o.company_key)) })
|
|
354
374
|
] });
|
|
355
375
|
}
|
|
356
|
-
function G({ auth:
|
|
357
|
-
return
|
|
358
|
-
/* @__PURE__ */
|
|
359
|
-
/* @__PURE__ */
|
|
360
|
-
/* @__PURE__ */
|
|
376
|
+
function G({ auth: a }) {
|
|
377
|
+
return a.signedIn ? /* @__PURE__ */ s("div", { className: "jp-me", children: [
|
|
378
|
+
/* @__PURE__ */ s("section", { className: "jp-me__section", children: [
|
|
379
|
+
/* @__PURE__ */ e("h2", { children: "About you" }),
|
|
380
|
+
/* @__PURE__ */ e(O, { auth: a })
|
|
361
381
|
] }),
|
|
362
|
-
/* @__PURE__ */
|
|
363
|
-
/* @__PURE__ */
|
|
364
|
-
/* @__PURE__ */
|
|
382
|
+
/* @__PURE__ */ s("section", { className: "jp-me__section", children: [
|
|
383
|
+
/* @__PURE__ */ e("h2", { children: "Hidden companies" }),
|
|
384
|
+
/* @__PURE__ */ e(W, { auth: a })
|
|
365
385
|
] })
|
|
366
|
-
] }) : /* @__PURE__ */
|
|
386
|
+
] }) : /* @__PURE__ */ e("p", { className: "jp-muted", children: "Your profile is per-account — sign in to edit it." });
|
|
367
387
|
}
|
|
368
388
|
export {
|
|
369
389
|
G as ProfilePage
|
package/dist/api/me.d.ts
CHANGED
|
@@ -36,6 +36,8 @@ export interface ApplicantProfile {
|
|
|
36
36
|
linkedin?: string;
|
|
37
37
|
github?: string;
|
|
38
38
|
portfolio?: string;
|
|
39
|
+
/** The whole résumé as text; resume-api builds this person's own résumé from it. */
|
|
40
|
+
master_resume_text?: string;
|
|
39
41
|
work_experience?: WorkExperience[];
|
|
40
42
|
education?: Education[];
|
|
41
43
|
[other: string]: unknown;
|
package/dist/api/me.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"me.d.ts","sourceRoot":"","sources":["../../src/api/me.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CA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M,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC9B,OAAO,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAA;IACrF,KAAK,EAAE;QAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,CAAA;IAClF,cAAc,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACjD,SAAS,EAAE;QAAE,cAAc,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACtD,MAAM,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,OAAO,CAAA;KAAE,EAAE,CAAA;IAChE,cAAc,EAAE,MAAM,CAAA;CACvB;AAED,wBAAsB,WAAW,CAAC,IAAI,CAAC,EAAE,IAAI,GAAG,OAAO,CAAC,QAAQ,CAAC,CAEhE"}
|
package/dist/api/packets.d.ts
CHANGED
|
@@ -11,9 +11,11 @@ export declare function packetUrl(slug: string): string;
|
|
|
11
11
|
export declare function packetPdfUrl(slug: string): string;
|
|
12
12
|
/**
|
|
13
13
|
* GET /resume/api/resume?v={slug} — raw JSON, not the jobplatform
|
|
14
|
-
* success-wrapper. An unknown or expired slug doesn't 404: resume-api
|
|
15
|
-
* back to the canonical résumé and omits `variant`, so its absence is
|
|
16
|
-
* "this packet has expired" signal.
|
|
14
|
+
* success-wrapper. An unknown or expired owner slug doesn't 404: resume-api
|
|
15
|
+
* falls back to the canonical résumé and omits `variant`, so its absence is
|
|
16
|
+
* the "this packet has expired" signal. A packet minted for any other user
|
|
17
|
+
* answers 404 `VARIANT_GONE` once it expires or is deleted, because the
|
|
18
|
+
* canonical résumé is the owner's, not theirs.
|
|
17
19
|
*/
|
|
18
20
|
export interface PacketVariant {
|
|
19
21
|
/** Tailored résumé markdown (or the canonical résumé on fallback). */
|
|
@@ -24,5 +26,7 @@ export interface PacketVariant {
|
|
|
24
26
|
company?: string | null;
|
|
25
27
|
job_title?: string | null;
|
|
26
28
|
}
|
|
29
|
+
/** What the packet page says when resume-api reports the packet gone. */
|
|
30
|
+
export declare const PACKET_GONE_MESSAGE = "This packet link has expired or was removed. Prepare the application again for a new one.";
|
|
27
31
|
export declare function getPacketVariant(slug: string): Promise<PacketVariant>;
|
|
28
32
|
//# sourceMappingURL=packets.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packets.d.ts","sourceRoot":"","sources":["../../src/api/packets.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,0EAA0E;AAC1E,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAE9C;AAED,+CAA+C;AAC/C,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEjD;AAED
|
|
1
|
+
{"version":3,"file":"packets.d.ts","sourceRoot":"","sources":["../../src/api/packets.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,0EAA0E;AAC1E,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAE9C;AAED,+CAA+C;AAC/C,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEjD;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,aAAa;IAC5B,sEAAsE;IACtE,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC1B;AAED,yEAAyE;AACzE,eAAO,MAAM,mBAAmB,8FAC6D,CAAA;AAE7F,wBAAsB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,CAQ3E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PacketDetail.d.ts","sourceRoot":"","sources":["../../src/components/PacketDetail.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAGvC,UAAU,KAAK;IACb,IAAI,EAAE,IAAI,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IAEZ,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"PacketDetail.d.ts","sourceRoot":"","sources":["../../src/components/PacketDetail.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAGvC,UAAU,KAAK;IACb,IAAI,EAAE,IAAI,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IAEZ,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,KAAK,2CA+IjE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProfilePage.d.ts","sourceRoot":"","sources":["../../src/components/ProfilePage.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"ProfilePage.d.ts","sourceRoot":"","sources":["../../src/components/ProfilePage.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAsbvC;;;GAGG;AACH,wBAAgB,WAAW,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,IAAI,CAAA;CAAE,2CAgBnD"}
|
|
@@ -3593,9 +3593,9 @@ function Co(e) {
|
|
|
3593
3593
|
return mt(t.body, a, n), a.innerHTML;
|
|
3594
3594
|
}
|
|
3595
3595
|
const jo = ge(
|
|
3596
|
-
() => import("./ApplicationTracking-
|
|
3596
|
+
() => import("./ApplicationTracking-C18XBr07.js").then((e) => ({ default: e.ApplicationTracking }))
|
|
3597
3597
|
), So = ge(
|
|
3598
|
-
() => import("./ClipboardPalette-
|
|
3598
|
+
() => import("./ClipboardPalette-B-__Yr5C.js").then((e) => ({ default: e.ClipboardPalette }))
|
|
3599
3599
|
), Gt = {
|
|
3600
3600
|
relevance: "Relevance",
|
|
3601
3601
|
level_match: "Level",
|
|
@@ -4042,17 +4042,17 @@ function $o({
|
|
|
4042
4042
|
] });
|
|
4043
4043
|
}
|
|
4044
4044
|
const To = ge(
|
|
4045
|
-
() => import("./ApplicationsList-
|
|
4045
|
+
() => import("./ApplicationsList-D3cMqj6F.js").then((e) => ({ default: e.ApplicationsList }))
|
|
4046
4046
|
), Ao = ge(
|
|
4047
|
-
() => import("./PacketsList-
|
|
4047
|
+
() => import("./PacketsList-BddYE0DC.js").then((e) => ({ default: e.PacketsList }))
|
|
4048
4048
|
), Oo = ge(
|
|
4049
|
-
() => import("./PacketDetail-
|
|
4049
|
+
() => import("./PacketDetail-CyG5i2ft.js").then((e) => ({ default: e.PacketDetail }))
|
|
4050
4050
|
), Do = ge(
|
|
4051
|
-
() => import("./PipelineBoard-
|
|
4051
|
+
() => import("./PipelineBoard-DBKLTC_X.js").then((e) => ({ default: e.PipelineBoard }))
|
|
4052
4052
|
), Fo = ge(
|
|
4053
|
-
() => import("./InsightsPage-
|
|
4053
|
+
() => import("./InsightsPage-Ahr2cm_B.js").then((e) => ({ default: e.InsightsPage }))
|
|
4054
4054
|
), Io = ge(
|
|
4055
|
-
() => import("./ProfilePage-
|
|
4055
|
+
() => import("./ProfilePage-BJCmGbGJ.js").then((e) => ({ default: e.ProfilePage }))
|
|
4056
4056
|
), Uo = /* @__PURE__ */ i("p", { className: "jp-muted", children: "Loading…" });
|
|
4057
4057
|
function Mo(e = {}) {
|
|
4058
4058
|
const t = Fe(null);
|
package/dist/index.js
CHANGED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { t as a } from "./entry-DOZLBLxi.js";
|
|
2
|
+
const o = "https://hadoku.me/resume";
|
|
3
|
+
function c(e) {
|
|
4
|
+
return `${o}?v=${encodeURIComponent(e)}`;
|
|
5
|
+
}
|
|
6
|
+
function i(e) {
|
|
7
|
+
return `${o}/api/resume.pdf?v=${encodeURIComponent(e)}`;
|
|
8
|
+
}
|
|
9
|
+
const n = "This packet link has expired or was removed. Prepare the application again for a new one.";
|
|
10
|
+
async function p(e) {
|
|
11
|
+
const t = await a(`${o}/api/resume?v=${encodeURIComponent(e)}`);
|
|
12
|
+
if (t.status === 404 && (await t.json().catch(() => null))?.code === "VARIANT_GONE")
|
|
13
|
+
throw new Error(n);
|
|
14
|
+
if (!t.ok) throw new Error(`Failed to load packet (HTTP ${t.status})`);
|
|
15
|
+
return await t.json();
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
i as a,
|
|
19
|
+
p as g,
|
|
20
|
+
c as p
|
|
21
|
+
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hadoku/jobplatform",
|
|
3
|
-
"version": "3.42.
|
|
4
|
-
"gitHead": "
|
|
3
|
+
"version": "3.42.136",
|
|
4
|
+
"gitHead": "d17aa96c9cc97fe9f35c749ee9c84f5e6da3bb31",
|
|
5
5
|
"description": "Job listings aggregation and tracking dashboard",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
package/dist/packets-BZ_hk5bs.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { t as o } from "./entry-BPQSVIdk.js";
|
|
2
|
-
const n = "https://hadoku.me/resume";
|
|
3
|
-
function r(e) {
|
|
4
|
-
return `${n}?v=${encodeURIComponent(e)}`;
|
|
5
|
-
}
|
|
6
|
-
function s(e) {
|
|
7
|
-
return `${n}/api/resume.pdf?v=${encodeURIComponent(e)}`;
|
|
8
|
-
}
|
|
9
|
-
async function c(e) {
|
|
10
|
-
const t = await o(`${n}/api/resume?v=${encodeURIComponent(e)}`);
|
|
11
|
-
if (!t.ok) throw new Error(`Failed to load packet (HTTP ${t.status})`);
|
|
12
|
-
return await t.json();
|
|
13
|
-
}
|
|
14
|
-
export {
|
|
15
|
-
s as a,
|
|
16
|
-
c as g,
|
|
17
|
-
r as p
|
|
18
|
-
};
|