@realtek/core-theme 0.0.53 → 0.0.54

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-lib/index.js CHANGED
@@ -8342,8 +8342,116 @@ function Qd({ className: e = "", variant: t = "default", showIcon: n = !0, ...r
8342
8342
  });
8343
8343
  }
8344
8344
  //#endregion
8345
+ //#region src/components/detail/timelineUtils.js
8346
+ function $d(e) {
8347
+ let t = (e) => new Date(e.getFullYear(), e.getMonth(), e.getDate()), n = Math.round((t(/* @__PURE__ */ new Date()) - t(e)) / 864e5);
8348
+ return n <= 0 ? "Today" : n === 1 ? "1 Day ago" : `${n} Days ago`;
8349
+ }
8350
+ function ef(e = [], t) {
8351
+ let n = /* @__PURE__ */ new Map();
8352
+ return e.forEach((e) => {
8353
+ let r = new Date(t(e));
8354
+ if (Number.isNaN(r.getTime())) return;
8355
+ let i = r.toDateString();
8356
+ n.has(i) || n.set(i, {
8357
+ date: r,
8358
+ items: []
8359
+ }), n.get(i).items.push(e);
8360
+ }), [...n.values()].sort((e, t) => t.date - e.date);
8361
+ }
8362
+ function tf(e) {
8363
+ return new Date(e).toLocaleDateString("en-US", {
8364
+ year: "numeric",
8365
+ month: "long",
8366
+ day: "numeric"
8367
+ });
8368
+ }
8369
+ function nf(e) {
8370
+ return new Date(e).toLocaleTimeString("en-US", {
8371
+ hour: "numeric",
8372
+ minute: "numeric",
8373
+ hour12: !0
8374
+ });
8375
+ }
8376
+ //#endregion
8377
+ //#region src/components/detail/timeline.jsx
8378
+ function rf({ rows: e = [], getTime: t, getKey: n, renderBody: r, emptyText: i = "Nothing here yet." }) {
8379
+ let a = ef(e, t);
8380
+ return a.length ? /* @__PURE__ */ q(g, {
8381
+ className: "znx-an-collapse",
8382
+ defaultActiveKey: ["0"],
8383
+ ghost: !0,
8384
+ items: a.map((e, i) => ({
8385
+ key: String(i),
8386
+ label: $d(e.date),
8387
+ children: e.items.map((i, a) => {
8388
+ let o = t(i), s = a === e.items.length - 1;
8389
+ return /* @__PURE__ */ J("div", {
8390
+ className: "znx-an-item",
8391
+ children: [/* @__PURE__ */ J("div", {
8392
+ className: "znx-an-rail",
8393
+ children: [/* @__PURE__ */ q("span", { className: "znx-an-dot" }), !s && /* @__PURE__ */ q("span", { className: "znx-an-line" })]
8394
+ }), /* @__PURE__ */ J("div", {
8395
+ className: "znx-an-content",
8396
+ children: [/* @__PURE__ */ J("div", {
8397
+ className: "znx-an-meta",
8398
+ children: [/* @__PURE__ */ q("span", {
8399
+ className: "znx-an-date",
8400
+ children: tf(o)
8401
+ }), /* @__PURE__ */ q("span", {
8402
+ className: "znx-an-time",
8403
+ children: nf(o)
8404
+ })]
8405
+ }), r(i)]
8406
+ })]
8407
+ }, n(i, a));
8408
+ })
8409
+ }))
8410
+ }) : /* @__PURE__ */ q("div", {
8411
+ className: "znx-an-empty",
8412
+ children: /* @__PURE__ */ q(x, {
8413
+ image: x.PRESENTED_IMAGE_SIMPLE,
8414
+ description: i
8415
+ })
8416
+ });
8417
+ }
8418
+ //#endregion
8419
+ //#region src/components/detail/ActivityTab.jsx
8420
+ function af(e = "") {
8421
+ if (typeof document > "u") return String(e);
8422
+ let t = document.createElement("div");
8423
+ return t.innerHTML = e, t.textContent || t.innerText || "";
8424
+ }
8425
+ var of = [{
8426
+ id: "a1",
8427
+ activityTime: (/* @__PURE__ */ new Date()).toISOString(),
8428
+ activityComments: "Job <b>created</b> and assigned to the recruitment team."
8429
+ }, {
8430
+ id: "a2",
8431
+ activityTime: (/* @__PURE__ */ new Date(Date.now() - 2 * 864e5)).toISOString(),
8432
+ activityComments: "Status changed to <b>Active</b>."
8433
+ }];
8434
+ function sf({ activity: e }) {
8435
+ return /* @__PURE__ */ q("div", {
8436
+ className: "znx-an-body",
8437
+ children: /* @__PURE__ */ q("div", {
8438
+ className: "znx-an-scroll",
8439
+ children: /* @__PURE__ */ q(rf, {
8440
+ rows: i(() => Array.isArray(e) ? e : of, [e]),
8441
+ getTime: (e) => e.activityTime ?? e.createdAt,
8442
+ getKey: (e, t) => e.id ?? e._id ?? t,
8443
+ emptyText: "No activity here.",
8444
+ renderBody: (e) => /* @__PURE__ */ q("div", {
8445
+ className: "znx-an-comment",
8446
+ children: af(e.activityComments)
8447
+ })
8448
+ })
8449
+ })
8450
+ });
8451
+ }
8452
+ //#endregion
8345
8453
  //#region src/components/AssigneeAvatars.jsx
8346
- function $d({ assignees: e, extraAssignees: t }) {
8454
+ function cf({ assignees: e, extraAssignees: t }) {
8347
8455
  return /* @__PURE__ */ J(l.Group, {
8348
8456
  maxCount: 3,
8349
8457
  size: "small",
@@ -8372,41 +8480,41 @@ function $d({ assignees: e, extraAssignees: t }) {
8372
8480
  }
8373
8481
  //#endregion
8374
8482
  //#region src/services/jobsApi.js
8375
- var ef = {
8483
+ var lf = {
8376
8484
  email: "zinnext@realtekconsulting.net",
8377
8485
  user_pwd: "Admin@123*"
8378
- }, tf = null;
8379
- async function nf() {
8380
- return tf || (tf = fetch(`${X}/login`, {
8486
+ }, uf = null;
8487
+ async function df() {
8488
+ return uf || (uf = fetch(`${X}/login`, {
8381
8489
  method: "POST",
8382
8490
  headers: { "Content-Type": "application/json" },
8383
- body: JSON.stringify(ef)
8491
+ body: JSON.stringify(lf)
8384
8492
  }).then(async (e) => {
8385
8493
  if (!e.ok) throw Error(`Login failed: ${e.status}`);
8386
8494
  let t = await e.json(), n = t.token ?? t.access_token ?? t.data?.token ?? t.data?.access_token;
8387
8495
  if (!n) throw Error("No token in login response");
8388
8496
  return localStorage.setItem("authToken", n), n;
8389
8497
  }).finally(() => {
8390
- tf = null;
8391
- }), tf);
8498
+ uf = null;
8499
+ }), uf);
8392
8500
  }
8393
- async function rf() {
8394
- return (On() ?? localStorage.getItem("authToken")) || nf();
8501
+ async function ff() {
8502
+ return (On() ?? localStorage.getItem("authToken")) || df();
8395
8503
  }
8396
- async function af(e) {
8397
- let t = await rf(), n = await fetch(`${X}${e}`, { headers: {
8504
+ async function pf(e) {
8505
+ let t = await ff(), n = await fetch(`${X}${e}`, { headers: {
8398
8506
  "Content-Type": "application/json",
8399
8507
  Authorization: `Bearer ${t}`
8400
8508
  } });
8401
- if (n.status === 401 && (localStorage.removeItem("authToken"), t = await nf(), n = await fetch(`${X}${e}`, { headers: {
8509
+ if (n.status === 401 && (localStorage.removeItem("authToken"), t = await df(), n = await fetch(`${X}${e}`, { headers: {
8402
8510
  "Content-Type": "application/json",
8403
8511
  Authorization: `Bearer ${t}`
8404
8512
  } })), !n.ok) throw Error(`API ${n.status}: ${n.statusText}`);
8405
8513
  let r = await n.json();
8406
8514
  return r.data ?? r;
8407
8515
  }
8408
- async function of(e, t) {
8409
- let n = await rf(), r = await fetch(`${X}${e}`, {
8516
+ async function mf(e, t) {
8517
+ let n = await ff(), r = await fetch(`${X}${e}`, {
8410
8518
  method: "PUT",
8411
8519
  headers: {
8412
8520
  "Content-Type": "application/json",
@@ -8414,7 +8522,7 @@ async function of(e, t) {
8414
8522
  },
8415
8523
  body: JSON.stringify(t)
8416
8524
  });
8417
- if (r.status === 401 && (localStorage.removeItem("authToken"), n = await nf(), r = await fetch(`${X}${e}`, {
8525
+ if (r.status === 401 && (localStorage.removeItem("authToken"), n = await df(), r = await fetch(`${X}${e}`, {
8418
8526
  method: "PUT",
8419
8527
  headers: {
8420
8528
  "Content-Type": "application/json",
@@ -8424,17 +8532,17 @@ async function of(e, t) {
8424
8532
  })), !r.ok) throw Error(`API ${r.status}: ${r.statusText}`);
8425
8533
  return r.json();
8426
8534
  }
8427
- async function sf(e) {
8428
- return af(`/jobs/${e}`);
8535
+ async function hf(e) {
8536
+ return pf(`/jobs/${e}`);
8429
8537
  }
8430
- async function cf(e, t) {
8431
- return of(`/jobs/${e}`, { rawDescription: t });
8538
+ async function gf(e, t) {
8539
+ return mf(`/jobs/${e}`, { rawDescription: t });
8432
8540
  }
8433
8541
  //#endregion
8434
8542
  //#region src/components/DescriptionBlock.jsx
8435
- var { Text: lf } = U, uf = 2;
8436
- function df({ jobId: e, sections: t = [], meta: n = [], rawDescription: r = "", onSaved: i }) {
8437
- let [a, s] = o(!1), [c, l] = o(!1), [u, d] = o(""), [p, m] = o(!1), h = [...t].sort((e, t) => (e.displayOrder ?? 0) - (t.displayOrder ?? 0)), g = a ? h : h.slice(0, uf), _ = h.length > uf;
8543
+ var { Text: _f } = U, vf = 2;
8544
+ function yf({ jobId: e, sections: t = [], meta: n = [], rawDescription: r = "", onSaved: i }) {
8545
+ let [a, s] = o(!1), [c, l] = o(!1), [u, d] = o(""), [p, m] = o(!1), h = [...t].sort((e, t) => (e.displayOrder ?? 0) - (t.displayOrder ?? 0)), g = a ? h : h.slice(0, vf), _ = h.length > vf;
8438
8546
  function v() {
8439
8547
  d(r), l(!0);
8440
8548
  }
@@ -8448,8 +8556,8 @@ function df({ jobId: e, sections: t = [], meta: n = [], rawDescription: r = "",
8448
8556
  }
8449
8557
  m(!0);
8450
8558
  try {
8451
- await cf(e, u.trim());
8452
- let t = await sf(e);
8559
+ await gf(e, u.trim());
8560
+ let t = await hf(e);
8453
8561
  i?.(t), l(!1), d(""), W.success("Description updated successfully");
8454
8562
  } catch {
8455
8563
  W.error("Failed to update description");
@@ -8483,7 +8591,7 @@ function df({ jobId: e, sections: t = [], meta: n = [], rawDescription: r = "",
8483
8591
  className: "desc-edit-icon",
8484
8592
  onClick: v
8485
8593
  })
8486
- }), !t.length && !n.length ? /* @__PURE__ */ q(lf, {
8594
+ }), !t.length && !n.length ? /* @__PURE__ */ q(_f, {
8487
8595
  type: "secondary",
8488
8596
  children: "No description available."
8489
8597
  }) : /* @__PURE__ */ J("div", {
@@ -8541,7 +8649,7 @@ function df({ jobId: e, sections: t = [], meta: n = [], rawDescription: r = "",
8541
8649
  _ && /* @__PURE__ */ q("span", {
8542
8650
  className: "jdv-desc-toggle",
8543
8651
  onClick: () => s((e) => !e),
8544
- children: a ? "Show less" : `Show more (${t.length - uf} more sections)`
8652
+ children: a ? "Show less" : `Show more (${t.length - vf} more sections)`
8545
8653
  })
8546
8654
  ]
8547
8655
  })]
@@ -8549,7 +8657,7 @@ function df({ jobId: e, sections: t = [], meta: n = [], rawDescription: r = "",
8549
8657
  }
8550
8658
  //#endregion
8551
8659
  //#region src/services/detailDefaults.js
8552
- var ff = Object.freeze({
8660
+ var bf = Object.freeze({
8553
8661
  s3BaseUrl: "https://zinnext-devlopment-ap-south-1.s3.ap-south-1.amazonaws.com".replace(/\/+$/, ""),
8554
8662
  dateFormat: "DD MMM YYYY",
8555
8663
  booleanTrueLabel: "Yes",
@@ -8563,27 +8671,27 @@ var ff = Object.freeze({
8563
8671
  "uploadedFileName",
8564
8672
  "uniqueName"
8565
8673
  ]
8566
- }), pf = { ...ff }, mf = null;
8567
- function hf() {
8568
- return pf;
8674
+ }), xf = { ...bf }, Sf = null;
8675
+ function Cf() {
8676
+ return xf;
8569
8677
  }
8570
- function gf(e) {
8678
+ function wf(e) {
8571
8679
  if (!e || typeof e != "object") return {};
8572
8680
  let t = {};
8573
8681
  return e.s3BaseUrl && (t.s3BaseUrl = String(e.s3BaseUrl).replace(/\/+$/, "")), e.dateFormat && (t.dateFormat = e.dateFormat), e.booleanTrueLabel && (t.booleanTrueLabel = e.booleanTrueLabel), e.booleanFalseLabel && (t.booleanFalseLabel = e.booleanFalseLabel), e.emptyPlaceholder && (t.emptyPlaceholder = e.emptyPlaceholder), typeof e.separator == "string" && e.separator !== "" && (t.separator = e.separator), Array.isArray(e.documentNameOrder) && e.documentNameOrder.length && (t.documentNameOrder = e.documentNameOrder), t;
8574
8682
  }
8575
- function _f(e) {
8576
- return pf = {
8577
- ...pf,
8578
- ...gf(e)
8579
- }, pf;
8683
+ function Tf(e) {
8684
+ return xf = {
8685
+ ...xf,
8686
+ ...wf(e)
8687
+ }, xf;
8580
8688
  }
8581
- function vf(e = !1) {
8582
- return mf && !e || (mf = sa().then((e) => _f(e)).catch(() => pf)), mf;
8689
+ function Ef(e = !1) {
8690
+ return Sf && !e || (Sf = sa().then((e) => Tf(e)).catch(() => xf)), Sf;
8583
8691
  }
8584
8692
  //#endregion
8585
8693
  //#region src/components/detail/renderConfig.js
8586
- var yf = [
8694
+ var Df = [
8587
8695
  {
8588
8696
  value: "auto",
8589
8697
  label: "Default (auto)"
@@ -8640,7 +8748,7 @@ var yf = [
8640
8748
  value: "html",
8641
8749
  label: "HTML"
8642
8750
  }
8643
- ], bf = [
8751
+ ], Of = [
8644
8752
  {
8645
8753
  value: "preview",
8646
8754
  label: "Preview (viewer)"
@@ -8661,7 +8769,7 @@ var yf = [
8661
8769
  value: "text",
8662
8770
  label: "Text (filename)"
8663
8771
  }
8664
- ], xf = [
8772
+ ], kf = [
8665
8773
  {
8666
8774
  value: "none",
8667
8775
  label: "None"
@@ -8678,70 +8786,70 @@ var yf = [
8678
8786
  value: "title",
8679
8787
  label: "Title Case"
8680
8788
  }
8681
- ], Sf = [
8789
+ ], Af = [
8682
8790
  "location",
8683
8791
  "path",
8684
8792
  "url",
8685
8793
  "key"
8686
- ], Cf = [
8794
+ ], jf = [
8687
8795
  "location",
8688
8796
  "filepath",
8689
8797
  "path",
8690
8798
  "url",
8691
8799
  "key"
8692
- ], wf = [
8800
+ ], Mf = [
8693
8801
  "uploadedfilename",
8694
8802
  "uploadname",
8695
8803
  "originalname",
8696
8804
  "displayname",
8697
8805
  "documentname"
8698
- ], Tf = ["name"], Ef = (e) => String(e).toLowerCase(), Df = (e) => e == null || e === "";
8699
- function Of(e, t) {
8806
+ ], Nf = ["name"], Pf = (e) => String(e).toLowerCase(), Ff = (e) => e == null || e === "";
8807
+ function If(e, t) {
8700
8808
  for (let n of t) {
8701
8809
  let t = e[n];
8702
8810
  if (typeof t == "string" && t) return t;
8703
8811
  }
8704
8812
  return "";
8705
8813
  }
8706
- function kf(e, t) {
8707
- for (let n of t) for (let [t, r] of Object.entries(e)) if (typeof r == "string" && r && Ef(t).endsWith(n)) return r;
8814
+ function Lf(e, t) {
8815
+ for (let n of t) for (let [t, r] of Object.entries(e)) if (typeof r == "string" && r && Pf(t).endsWith(n)) return r;
8708
8816
  return "";
8709
8817
  }
8710
- function Af(e) {
8818
+ function Rf(e) {
8711
8819
  if (!e) return "";
8712
8820
  let t = String(e).split("?")[0].split("#")[0];
8713
8821
  return decodeURIComponent(t.split("/").pop() || "");
8714
8822
  }
8715
- function jf(e) {
8823
+ function zf(e) {
8716
8824
  if (!e) return "";
8717
8825
  let t = String(e);
8718
8826
  if (/^https?:\/\//i.test(t)) return t;
8719
- let n = hf().s3BaseUrl || "";
8827
+ let n = Cf().s3BaseUrl || "";
8720
8828
  return n ? `${n}/${t.replace(/^\/+/, "")}` : "";
8721
8829
  }
8722
- function Mf(e) {
8723
- return typeof e == "string" ? e.includes("/") ? e : "" : !e || typeof e != "object" ? "" : Of(e, Sf) || kf(e, Cf);
8830
+ function Bf(e) {
8831
+ return typeof e == "string" ? e.includes("/") ? e : "" : !e || typeof e != "object" ? "" : If(e, Af) || Lf(e, jf);
8724
8832
  }
8725
- function Nf(e) {
8726
- return e ? typeof e == "string" ? Af(e) || e : typeof e == "object" && (Of(e, hf().documentNameOrder ?? []) || kf(e, wf) || Af(Mf(e)) || kf(e, Tf)) || "Document" : "Document";
8833
+ function Vf(e) {
8834
+ return e ? typeof e == "string" ? Rf(e) || e : typeof e == "object" && (If(e, Cf().documentNameOrder ?? []) || Lf(e, Mf) || Rf(Bf(e)) || Lf(e, Nf)) || "Document" : "Document";
8727
8835
  }
8728
- function Pf(e) {
8729
- if (Df(e)) return [];
8836
+ function Hf(e) {
8837
+ if (Ff(e)) return [];
8730
8838
  let t = Array.isArray(e) ? e : [e], n = [];
8731
- for (let e of t) if (!Df(e)) {
8839
+ for (let e of t) if (!Ff(e)) {
8732
8840
  if (typeof e == "string") {
8733
8841
  let t = e.includes("/") ? e : "";
8734
8842
  n.push({
8735
8843
  location: t,
8736
- name: Af(e) || e,
8737
- url: jf(t)
8844
+ name: Rf(e) || e,
8845
+ url: zf(t)
8738
8846
  });
8739
8847
  } else if (typeof e == "object") {
8740
- let t = Mf(e);
8848
+ let t = Bf(e);
8741
8849
  n.push({
8742
8850
  location: t,
8743
- name: Nf(e),
8744
- url: jf(t)
8851
+ name: Vf(e),
8852
+ url: zf(t)
8745
8853
  });
8746
8854
  }
8747
8855
  }
@@ -8749,26 +8857,26 @@ function Pf(e) {
8749
8857
  }
8750
8858
  //#endregion
8751
8859
  //#region src/components/detail/detailConfig/configUtils.js
8752
- var Ff = {
8860
+ var Uf = {
8753
8861
  USD: "$",
8754
8862
  INR: "₹",
8755
8863
  EUR: "€",
8756
8864
  GBP: "£",
8757
8865
  AUD: "$",
8758
8866
  CAD: "$"
8759
- }, If = (e) => e == null || e === "" || Array.isArray(e) && e.length === 0, Lf = (e) => !If(e);
8760
- function Rf(e) {
8867
+ }, Wf = (e) => e == null || e === "" || Array.isArray(e) && e.length === 0, Gf = (e) => !Wf(e);
8868
+ function Kf(e) {
8761
8869
  let t = String(e);
8762
8870
  return t.charAt(0).toUpperCase() + t.slice(1);
8763
8871
  }
8764
- function zf(e) {
8765
- return Array.isArray(e) ? e.filter((e) => !If(e)).join(", ") : String(e);
8872
+ function qf(e) {
8873
+ return Array.isArray(e) ? e.filter((e) => !Wf(e)).join(", ") : String(e);
8766
8874
  }
8767
- function Bf(e) {
8768
- return If(e) ? "" : Ff[String(e).toUpperCase()] ?? String(e);
8875
+ function Jf(e) {
8876
+ return Wf(e) ? "" : Uf[String(e).toUpperCase()] ?? String(e);
8769
8877
  }
8770
- function Vf(e) {
8771
- if (If(e)) return "";
8878
+ function Yf(e) {
8879
+ if (Wf(e)) return "";
8772
8880
  let t = new Date(e);
8773
8881
  return Number.isNaN(t.getTime()) ? "" : `${t.toLocaleDateString("en-US", {
8774
8882
  month: "short",
@@ -8780,10 +8888,10 @@ function Vf(e) {
8780
8888
  hour12: !0
8781
8889
  }).replace(/\s/g, "").toUpperCase()}`;
8782
8890
  }
8783
- function Hf({ start: e, end: t, sym: n = "", unit: r } = {}) {
8784
- return If(e) || Number(e) <= 0 ? "" : `${n}${!If(t) && Number(t) > 0 ? `${e} - ${t}` : `${e}`}${If(r) ? "" : `/${r}`}`;
8891
+ function Xf({ start: e, end: t, sym: n = "", unit: r } = {}) {
8892
+ return Wf(e) || Number(e) <= 0 ? "" : `${n}${!Wf(t) && Number(t) > 0 ? `${e} - ${t}` : `${e}`}${Wf(r) ? "" : `/${r}`}`;
8785
8893
  }
8786
- function Uf(e) {
8894
+ function Zf(e) {
8787
8895
  let t = String(e).toLowerCase();
8788
8896
  return [
8789
8897
  "active",
@@ -8807,10 +8915,10 @@ function Uf(e) {
8807
8915
  }
8808
8916
  //#endregion
8809
8917
  //#region src/components/detail/detailConfig/modules/candidateConfig.js
8810
- var Wf = /* @__PURE__ */ an({
8811
- candidateConfig: () => Gf,
8812
- default: () => Gf
8813
- }), Gf = {
8918
+ var Qf = /* @__PURE__ */ an({
8919
+ candidateConfig: () => $f,
8920
+ default: () => $f
8921
+ }), $f = {
8814
8922
  module: "candidate",
8815
8923
  tabs: [
8816
8924
  {
@@ -8879,8 +8987,8 @@ var Wf = /* @__PURE__ */ an({
8879
8987
  ],
8880
8988
  eyebrow: "source",
8881
8989
  status: ({ val: e, has: t }) => t(e("status")) ? {
8882
- label: Rf(e("status")),
8883
- color: Uf(e("status"))
8990
+ label: Kf(e("status")),
8991
+ color: Zf(e("status"))
8884
8992
  } : e("applicantPlacedStatus") === !0 ? {
8885
8993
  label: "Placed",
8886
8994
  color: "success"
@@ -8904,7 +9012,7 @@ var Wf = /* @__PURE__ */ an({
8904
9012
  },
8905
9013
  {
8906
9014
  icon: "experience",
8907
- compute: Kf
9015
+ compute: ep
8908
9016
  },
8909
9017
  {
8910
9018
  icon: "employment",
@@ -8913,7 +9021,7 @@ var Wf = /* @__PURE__ */ an({
8913
9021
  {
8914
9022
  icon: "rate",
8915
9023
  prefix: "Expected: ",
8916
- compute: qf
9024
+ compute: tp
8917
9025
  }
8918
9026
  ],
8919
9027
  timestamp: {
@@ -8922,23 +9030,23 @@ var Wf = /* @__PURE__ */ an({
8922
9030
  }
8923
9031
  }
8924
9032
  };
8925
- function Kf({ val: e, has: t }) {
9033
+ function ep({ val: e, has: t }) {
8926
9034
  let n = t(e("yearOfExperience")) ? e("yearOfExperience") : e("experience");
8927
9035
  if (!t(n)) return "";
8928
9036
  let r = e("monthOfExperience");
8929
9037
  return `${n} yrs${t(r) && Number(r) > 0 ? ` ${r} mo` : ""}`;
8930
9038
  }
8931
- function qf({ val: e }) {
9039
+ function tp({ val: e }) {
8932
9040
  let t = e("expectedPayDetails") ?? {};
8933
- return Hf({
9041
+ return Xf({
8934
9042
  start: t.expectedPay ?? e("expectedPay"),
8935
- sym: t.expectedPayCurrencySymbol ?? Bf(t.expectedPayCurrency),
9043
+ sym: t.expectedPayCurrencySymbol ?? Jf(t.expectedPayCurrency),
8936
9044
  unit: t.expectedPayUnit
8937
9045
  });
8938
9046
  }
8939
9047
  //#endregion
8940
9048
  //#region src/components/StylishDynamicTabs.jsx
8941
- function Jf(e, t) {
9049
+ function np(e, t) {
8942
9050
  if (!e || typeof e != "object") return null;
8943
9051
  let n = e.key ?? e.value ?? e.id ?? String(t), r = e.label ?? e.title ?? e.name ?? e.tabTitle;
8944
9052
  return !n || !r ? null : {
@@ -8947,8 +9055,8 @@ function Jf(e, t) {
8947
9055
  count: e.count ?? e.countValue
8948
9056
  };
8949
9057
  }
8950
- function Yf({ tabs: e = [], activeKey: t, onChange: n, className: r = "" }) {
8951
- let i = e.map(Jf).filter(Boolean);
9058
+ function rp({ tabs: e = [], activeKey: t, onChange: n, className: r = "" }) {
9059
+ let i = e.map(np).filter(Boolean);
8952
9060
  if (!i.length) return null;
8953
9061
  let a = i.some((e) => e.key === t) ? t : i[0].key;
8954
9062
  return /* @__PURE__ */ q("div", {
@@ -8973,7 +9081,7 @@ function Yf({ tabs: e = [], activeKey: t, onChange: n, className: r = "" }) {
8973
9081
  }
8974
9082
  //#endregion
8975
9083
  //#region src/components/cards/AppCard.jsx
8976
- function Xf({ title: e, icon: t, extra: n, children: r, variant: i = "default", ...a }) {
9084
+ function ip({ title: e, icon: t, extra: n, children: r, variant: i = "default", ...a }) {
8977
9085
  let o = t || e ? /* @__PURE__ */ J("span", {
8978
9086
  className: "app-card-title",
8979
9087
  children: [t && /* @__PURE__ */ q("span", {
@@ -8991,66 +9099,66 @@ function Xf({ title: e, icon: t, extra: n, children: r, variant: i = "default",
8991
9099
  }
8992
9100
  //#endregion
8993
9101
  //#region src/services/workflowApi.js
8994
- var Zf = (e) => e?.data ?? e;
8995
- function Qf(e) {
9102
+ var ap = (e) => e?.data ?? e;
9103
+ function op(e) {
8996
9104
  return Array.isArray(e) && e.every((e) => e && typeof e == "object" && "Key" in e) ? e.reduce((e, { Key: t, Value: n }) => (e[t] = n, e), {}) : e;
8997
9105
  }
8998
- function $f(e) {
8999
- return e ? Array.isArray(e.data) ? e.data.map(Qf) : e.stage && Array.isArray(e.stage.data) ? e.stage.data.map(Qf) : Array.isArray(e) ? e.map(Qf) : [] : [];
9106
+ function sp(e) {
9107
+ return e ? Array.isArray(e.data) ? e.data.map(op) : e.stage && Array.isArray(e.stage.data) ? e.stage.data.map(op) : Array.isArray(e) ? e.map(op) : [] : [];
9000
9108
  }
9001
- async function ep(e) {
9109
+ async function cp(e) {
9002
9110
  try {
9003
- return Zf(await Z(X, `/workflow/entity/${e}?workflowType=HiringPipeline`)) ?? null;
9111
+ return ap(await Z(X, `/workflow/entity/${e}?workflowType=HiringPipeline`)) ?? null;
9004
9112
  } catch (e) {
9005
9113
  if (e?.status === 404 || e?.message?.includes("404")) return null;
9006
9114
  throw e;
9007
9115
  }
9008
9116
  }
9009
- async function tp(e, t) {
9010
- let n = Zf(await Z(X, `/workflow/${e}/stage/${t}`));
9117
+ async function lp(e, t) {
9118
+ let n = ap(await Z(X, `/workflow/${e}/stage/${t}`));
9011
9119
  return Array.isArray(n) ? { data: n } : n;
9012
9120
  }
9013
9121
  //#endregion
9014
9122
  //#region src/components/detail/DescriptionBlock.jsx
9015
- var { Text: np } = U, rp = 2, ip = /* @__PURE__ */ "overview.summary.role summary.job summary.role overview.job description.description.about the role.about the job.job title.role.responsibilities.roles responsibilities.roles and responsibilities.roles & responsibilities.key responsibilities.requirements.required skills.preferred skills.technical skills.key skills.skills.competencies.nice to have.good to have.qualifications.required qualifications.preferred qualifications.education.experience.benefits".split("."), ap = new Set(ip), op = /(education|qualification)/i, sp = /(skill|competenc)/i, cp = (e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), lp = (e) => e.replace(/\w[^\s/]*/g, (e) => e.charAt(0).toUpperCase() + e.slice(1).toLowerCase()), up = (e) => [...new Set(e)];
9016
- function dp(e) {
9123
+ var { Text: up } = U, dp = 2, fp = /* @__PURE__ */ "overview.summary.role summary.job summary.role overview.job description.description.about the role.about the job.job title.role.responsibilities.roles responsibilities.roles and responsibilities.roles & responsibilities.key responsibilities.requirements.required skills.preferred skills.technical skills.key skills.skills.competencies.nice to have.good to have.qualifications.required qualifications.preferred qualifications.education.experience.benefits".split("."), pp = new Set(fp), mp = /(education|qualification)/i, hp = /(skill|competenc)/i, gp = (e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), _p = (e) => e.replace(/\w[^\s/]*/g, (e) => e.charAt(0).toUpperCase() + e.slice(1).toLowerCase()), vp = (e) => [...new Set(e)];
9124
+ function yp(e) {
9017
9125
  let t = String(e);
9018
9126
  return t = t.replace(/<\s*(br|\/p|\/div|\/h[1-6]|\/li|\/tr)\s*\/?>/gi, "\n").replace(/<\s*li[^>]*>/gi, "\n").replace(/<[^>]+>/g, " "), t = t.replace(/&nbsp;/gi, " ").replace(/&amp;/gi, "&").replace(/&lt;/gi, "<").replace(/&gt;/gi, ">").replace(/&#39;|&apos;/gi, "'").replace(/&quot;/gi, "\""), t.replace(/[ \t\f\v]+/g, " ").replace(/\n{2,}/g, "\n").trim();
9019
9127
  }
9020
- function fp(e) {
9128
+ function bp(e) {
9021
9129
  return e.replace(/•/g, "\n").split(/\n+/).map((e) => e.trim().replace(/^[-–—•]\s*/, "").trim()).filter(Boolean);
9022
9130
  }
9023
- function pp(e) {
9024
- return fp(e.replace(/(?:^|\s)[-–—]\s+/g, "\n"));
9131
+ function xp(e) {
9132
+ return bp(e.replace(/(?:^|\s)[-–—]\s+/g, "\n"));
9025
9133
  }
9026
- function mp(e) {
9134
+ function Sp(e) {
9027
9135
  let t = e.match(/^([A-Za-z][A-Za-z&/ ]{1,28}?)\s*:\s*(\S.+)$/);
9028
9136
  if (!t) return null;
9029
9137
  let n = t[1].trim(), r = t[2].trim();
9030
9138
  return n.split(/\s+/).length > 3 || r.length > 60 ? null : {
9031
9139
  fieldKey: n.toLowerCase().replace(/\s+/g, "-"),
9032
- fieldLabel: lp(n),
9140
+ fieldLabel: _p(n),
9033
9141
  value: r
9034
9142
  };
9035
9143
  }
9036
- function hp(e) {
9144
+ function Cp(e) {
9037
9145
  let t = e.toLowerCase().replace(/[\s:.\-–—]+$/, "").trim();
9038
- return ap.has(t) ? op.test(t) ? "education" : sp.test(t) ? "keySkills" : "overview" : null;
9146
+ return pp.has(t) ? mp.test(t) ? "education" : hp.test(t) ? "keySkills" : "overview" : null;
9039
9147
  }
9040
- function gp(e) {
9148
+ function wp(e) {
9041
9149
  let t = [], n = {
9042
9150
  overview: [],
9043
9151
  keySkills: [],
9044
9152
  education: []
9045
9153
  }, r = "overview";
9046
9154
  return e.forEach((e) => {
9047
- let i = hp(e);
9155
+ let i = Cp(e);
9048
9156
  if (i) {
9049
9157
  r = i;
9050
9158
  return;
9051
9159
  }
9052
9160
  if (r === "overview") {
9053
- let n = mp(e);
9161
+ let n = Sp(e);
9054
9162
  if (n) {
9055
9163
  t.push(n);
9056
9164
  return;
@@ -9059,16 +9167,16 @@ function gp(e) {
9059
9167
  n[r].push(e);
9060
9168
  }), {
9061
9169
  meta: t,
9062
- overview: up(n.overview),
9063
- keySkills: up(n.keySkills),
9064
- education: up(n.education)
9170
+ overview: vp(n.overview),
9171
+ keySkills: vp(n.keySkills),
9172
+ education: vp(n.education)
9065
9173
  };
9066
9174
  }
9067
- function _p(e) {
9068
- let t = [...ip].sort((e, t) => t.length - e.length), n = RegExp(`\\b(${t.map(cp).join("|")})\\b\\s*:?`, "gi"), r = [...e.matchAll(n)];
9175
+ function Tp(e) {
9176
+ let t = [...fp].sort((e, t) => t.length - e.length), n = RegExp(`\\b(${t.map(gp).join("|")})\\b\\s*:?`, "gi"), r = [...e.matchAll(n)];
9069
9177
  if (!r.length) return {
9070
9178
  meta: [],
9071
- overview: up(pp(e)),
9179
+ overview: vp(xp(e)),
9072
9180
  keySkills: [],
9073
9181
  education: []
9074
9182
  };
@@ -9077,28 +9185,28 @@ function _p(e) {
9077
9185
  keySkills: [],
9078
9186
  education: []
9079
9187
  }, a = e.slice(0, r[0].index).trim();
9080
- return a && i.overview.push(...pp(a)), r.forEach((t, n) => {
9081
- let a = t[1].trim().toLowerCase(), o = t.index + t[0].length, s = n + 1 < r.length ? r[n + 1].index : e.length, c = pp(e.slice(o, s).trim());
9082
- c.length && i[op.test(a) ? "education" : sp.test(a) ? "keySkills" : "overview"].push(...c);
9188
+ return a && i.overview.push(...xp(a)), r.forEach((t, n) => {
9189
+ let a = t[1].trim().toLowerCase(), o = t.index + t[0].length, s = n + 1 < r.length ? r[n + 1].index : e.length, c = xp(e.slice(o, s).trim());
9190
+ c.length && i[mp.test(a) ? "education" : hp.test(a) ? "keySkills" : "overview"].push(...c);
9083
9191
  }), {
9084
9192
  meta: [],
9085
- overview: up(i.overview),
9086
- keySkills: up(i.keySkills),
9087
- education: up(i.education)
9193
+ overview: vp(i.overview),
9194
+ keySkills: vp(i.keySkills),
9195
+ education: vp(i.education)
9088
9196
  };
9089
9197
  }
9090
- function vp(e) {
9091
- let t = dp(e);
9198
+ function Ep(e) {
9199
+ let t = yp(e);
9092
9200
  if (!t) return {
9093
9201
  meta: [],
9094
9202
  overview: [],
9095
9203
  keySkills: [],
9096
9204
  education: []
9097
9205
  };
9098
- let n = fp(t);
9099
- return n.length >= 4 ? gp(n) : _p(t);
9206
+ let n = bp(t);
9207
+ return n.length >= 4 ? wp(n) : Tp(t);
9100
9208
  }
9101
- function yp({ items: e }) {
9209
+ function Dp({ items: e }) {
9102
9210
  return /* @__PURE__ */ q("ul", {
9103
9211
  className: "jdv-ats-bullets",
9104
9212
  children: e.map((e, t) => /* @__PURE__ */ q("li", {
@@ -9107,8 +9215,8 @@ function yp({ items: e }) {
9107
9215
  }, t))
9108
9216
  });
9109
9217
  }
9110
- function bp({ raw: e = "", meta: t = [] }) {
9111
- let [n, r] = o(!1), a = i(() => vp(e), [e]), s = t.length ? t : a.meta, c = [];
9218
+ function Op({ raw: e = "", meta: t = [] }) {
9219
+ let [n, r] = o(!1), a = i(() => Ep(e), [e]), s = t.length ? t : a.meta, c = [];
9112
9220
  if (a.overview.length && c.push({
9113
9221
  key: "overview",
9114
9222
  title: "Overview",
@@ -9125,11 +9233,11 @@ function bp({ raw: e = "", meta: t = [] }) {
9125
9233
  items: a.education,
9126
9234
  card: !0,
9127
9235
  icon: "🎓"
9128
- }), !s.length && !c.length) return /* @__PURE__ */ q(np, {
9236
+ }), !s.length && !c.length) return /* @__PURE__ */ q(up, {
9129
9237
  type: "secondary",
9130
9238
  children: "No description available."
9131
9239
  });
9132
- let l = n ? c : c.slice(0, rp), u = c.length - rp;
9240
+ let l = n ? c : c.slice(0, dp), u = c.length - dp;
9133
9241
  return /* @__PURE__ */ J("div", {
9134
9242
  className: "jdv-ats-desc",
9135
9243
  children: [
@@ -9165,7 +9273,7 @@ function bp({ raw: e = "", meta: t = [] }) {
9165
9273
  children: [/* @__PURE__ */ q("div", {
9166
9274
  className: "jdv-ats-section-hd",
9167
9275
  children: /* @__PURE__ */ q("span", { children: e.title })
9168
- }), /* @__PURE__ */ q(yp, { items: e.items })]
9276
+ }), /* @__PURE__ */ q(Dp, { items: e.items })]
9169
9277
  }, e.key))
9170
9278
  }),
9171
9279
  u > 0 && /* @__PURE__ */ q("span", {
@@ -9178,18 +9286,18 @@ function bp({ raw: e = "", meta: t = [] }) {
9178
9286
  }
9179
9287
  //#endregion
9180
9288
  //#region src/components/ParamListView.jsx
9181
- var { Text: xp } = U;
9182
- function Sp(e) {
9289
+ var { Text: kp } = U;
9290
+ function Ap(e) {
9183
9291
  return e.label ?? e.fieldLabel ?? e.name ?? e.fieldName ?? e.value;
9184
9292
  }
9185
- function Cp(e) {
9293
+ function jp(e) {
9186
9294
  return e.value ?? e.fieldName ?? e.name ?? e.label;
9187
9295
  }
9188
- function wp(e, t) {
9296
+ function Mp(e, t) {
9189
9297
  let n = e?.[t];
9190
9298
  return n == null ? "-" : Array.isArray(n) ? n.join(", ") : typeof n == "object" ? Object.values(n).join(" ") : n;
9191
9299
  }
9192
- function Tp(e, t) {
9300
+ function Np(e, t) {
9193
9301
  return /* @__PURE__ */ J(I, {
9194
9302
  size: 6,
9195
9303
  children: [/* @__PURE__ */ q("span", { children: e }), /* @__PURE__ */ q(u, {
@@ -9198,7 +9306,7 @@ function Tp(e, t) {
9198
9306
  })]
9199
9307
  });
9200
9308
  }
9201
- function Ep({ listName: e = "List", fields: t = [], actions: n = [], dataSource: r = [], loading: s = !1, total: c, current: l, pageSize: u, onPageChange: d, onPageSizeChange: h, onSearch: g, rowSelection: _ = !0, className: v = "", tableClassName: y = "job-list-table", activeView: x = "list", onViewChange: C }) {
9309
+ function Pp({ listName: e = "List", fields: t = [], actions: n = [], dataSource: r = [], loading: s = !1, total: c, current: l, pageSize: u, onPageChange: d, onPageSizeChange: h, onSearch: g, rowSelection: _ = !0, className: v = "", tableClassName: y = "job-list-table", activeView: x = "list", onViewChange: C }) {
9202
9310
  let T = Ut(), E = Ht(), [D, O] = o("all"), [k, A] = o(""), [j, M] = o([]), [ee, N] = o([]), [te, P] = o({
9203
9311
  current: 1,
9204
9312
  pageSize: 10
@@ -9220,12 +9328,12 @@ function Ep({ listName: e = "List", fields: t = [], actions: n = [], dataSource:
9220
9328
  pageSize: u
9221
9329
  } : te, U = i(() => t.map((e) => ({
9222
9330
  ...e,
9223
- key: Cp(e),
9224
- label: Sp(e)
9331
+ key: jp(e),
9332
+ label: Ap(e)
9225
9333
  })).filter((e) => e.key && e.label && !e.tableHidden), [t]), oe = F.length ? F : U.map((e) => e.key), W = i(() => {
9226
9334
  if (g) return r;
9227
9335
  let e = k.toLowerCase();
9228
- return !e || e.length < 3 ? r : r.filter((t) => U.some((n) => String(wp(t, n.key)).toLowerCase().includes(e)));
9336
+ return !e || e.length < 3 ? r : r.filter((t) => U.some((n) => String(Mp(t, n.key)).toLowerCase().includes(e)));
9229
9337
  }, [
9230
9338
  r,
9231
9339
  U,
@@ -9244,14 +9352,14 @@ function Ep({ listName: e = "List", fields: t = [], actions: n = [], dataSource:
9244
9352
  title: e.label,
9245
9353
  dataIndex: e.key,
9246
9354
  key: e.key,
9247
- sorter: e.sorter === !1 ? !1 : e.sorter ?? ((t, n) => String(wp(t, e.key)).localeCompare(String(wp(n, e.key)))),
9355
+ sorter: e.sorter === !1 ? !1 : e.sorter ?? ((t, n) => String(Mp(t, e.key)).localeCompare(String(Mp(n, e.key)))),
9248
9356
  width: e.width ?? 180,
9249
9357
  fixed: e.fixed,
9250
9358
  ellipsis: e.ellipsis ?? !0,
9251
9359
  className: e.className,
9252
- render: (t, n, r) => e.render ? e.render(t, n, r) : /* @__PURE__ */ q(xp, {
9360
+ render: (t, n, r) => e.render ? e.render(t, n, r) : /* @__PURE__ */ q(kp, {
9253
9361
  className: "job-cell-primary",
9254
- children: wp(n, e.key)
9362
+ children: Mp(n, e.key)
9255
9363
  })
9256
9364
  })), [U, oe]), ue = oe.length === U.length, de = oe.length > 0 && !ue, fe = (e, t) => {
9257
9365
  ne((n) => {
@@ -9284,7 +9392,7 @@ function Ep({ listName: e = "List", fields: t = [], actions: n = [], dataSource:
9284
9392
  activeKey: D,
9285
9393
  items: [{
9286
9394
  key: "all",
9287
- label: Tp(e, se)
9395
+ label: Np(e, se)
9288
9396
  }],
9289
9397
  onChange: (e) => {
9290
9398
  O(e), P({
@@ -9375,7 +9483,7 @@ function Ep({ listName: e = "List", fields: t = [], actions: n = [], dataSource:
9375
9483
  /* @__PURE__ */ q(Ae, { className: "job-actions-caret" })
9376
9484
  ]
9377
9485
  })
9378
- }), /* @__PURE__ */ J(xp, {
9486
+ }), /* @__PURE__ */ J(kp, {
9379
9487
  className: "job-selected-count",
9380
9488
  children: [
9381
9489
  "Selected (",
@@ -9427,18 +9535,18 @@ function Ep({ listName: e = "List", fields: t = [], actions: n = [], dataSource:
9427
9535
  }
9428
9536
  //#endregion
9429
9537
  //#region src/components/ParamCardView.jsx
9430
- var { Text: Dp } = U;
9431
- function Op(e) {
9538
+ var { Text: Fp } = U;
9539
+ function Ip(e) {
9432
9540
  return e.label ?? e.fieldLabel ?? e.name ?? e.fieldName ?? e.value;
9433
9541
  }
9434
- function kp(e) {
9542
+ function Lp(e) {
9435
9543
  return e.value ?? e.fieldName ?? e.name ?? e.label;
9436
9544
  }
9437
- function Ap(e, t) {
9545
+ function Rp(e, t) {
9438
9546
  let n = e?.[t];
9439
9547
  return n == null ? "-" : Array.isArray(n) ? n.join(", ") : typeof n == "object" ? Object.values(n).join(" ") : n;
9440
9548
  }
9441
- var jp = [
9549
+ var zp = [
9442
9550
  {
9443
9551
  key: "name",
9444
9552
  label: "Name"
@@ -9460,14 +9568,14 @@ var jp = [
9460
9568
  label: "Created On"
9461
9569
  }
9462
9570
  ];
9463
- function Mp({ record: e, fields: t, selected: n, onSelect: r }) {
9464
- let i = Ut(), a = Ht(), o = t.find((e) => e.cardRole === "name"), s = t.find((e) => e.cardRole === "subtitle"), c = t.find((e) => e.cardRole === "location"), l = t.find((e) => e.cardRole === "skills"), u = t.find((e) => e.cardRole === "exp"), d = t.find((e) => e.cardRole === "date"), f = t.find((e) => e.cardRole === "action"), p = o ? Ap(e, o.key) : "-", h = s ? Ap(e, s.key) : "", g = c ? Ap(e, c.key) : "", _ = u ? Ap(e, u.key) : "", v = d ? Ap(e, d.key) : "", y = l ? e[l.key] : [], b = Array.isArray(y) ? y : [], x = b.slice(0, 3), S = b.slice(3), C = f?.render ? f.render(Ap(e, f.key), e) : null;
9571
+ function Bp({ record: e, fields: t, selected: n, onSelect: r }) {
9572
+ let i = Ut(), a = Ht(), o = t.find((e) => e.cardRole === "name"), s = t.find((e) => e.cardRole === "subtitle"), c = t.find((e) => e.cardRole === "location"), l = t.find((e) => e.cardRole === "skills"), u = t.find((e) => e.cardRole === "exp"), d = t.find((e) => e.cardRole === "date"), f = t.find((e) => e.cardRole === "action"), p = o ? Rp(e, o.key) : "-", h = s ? Rp(e, s.key) : "", g = c ? Rp(e, c.key) : "", _ = u ? Rp(e, u.key) : "", v = d ? Rp(e, d.key) : "", y = l ? e[l.key] : [], b = Array.isArray(y) ? y : [], x = b.slice(0, 3), S = b.slice(3), C = f?.render ? f.render(Rp(e, f.key), e) : null;
9465
9573
  function w() {
9466
9574
  i("/popup/preview", { state: {
9467
9575
  background: a,
9468
9576
  moduleName: "candidate",
9469
9577
  record: e,
9470
- fields: jp
9578
+ fields: zp
9471
9579
  } });
9472
9580
  }
9473
9581
  function T() {
@@ -9495,13 +9603,13 @@ function Mp({ record: e, fields: t, selected: n, onSelect: r }) {
9495
9603
  }),
9496
9604
  /* @__PURE__ */ J("span", {
9497
9605
  className: "param-card__name-block",
9498
- children: [/* @__PURE__ */ q(Dp, {
9606
+ children: [/* @__PURE__ */ q(Fp, {
9499
9607
  className: "param-card__name",
9500
9608
  children: p
9501
9609
  }), h && h !== "-" && /* @__PURE__ */ J(K, { children: [/* @__PURE__ */ q("span", {
9502
9610
  className: "param-card__sep",
9503
9611
  children: "·"
9504
- }), /* @__PURE__ */ q(Dp, {
9612
+ }), /* @__PURE__ */ q(Fp, {
9505
9613
  className: "param-card__subtitle",
9506
9614
  children: h
9507
9615
  })] })]
@@ -9509,7 +9617,7 @@ function Mp({ record: e, fields: t, selected: n, onSelect: r }) {
9509
9617
  ]
9510
9618
  }), g && g !== "-" && /* @__PURE__ */ J("div", {
9511
9619
  className: "param-card__location",
9512
- children: [/* @__PURE__ */ q(Ne, { className: "param-card__location-icon" }), /* @__PURE__ */ q(Dp, {
9620
+ children: [/* @__PURE__ */ q(Ne, { className: "param-card__location-icon" }), /* @__PURE__ */ q(Fp, {
9513
9621
  className: "param-card__location-text",
9514
9622
  children: g
9515
9623
  })]
@@ -9526,7 +9634,7 @@ function Mp({ record: e, fields: t, selected: n, onSelect: r }) {
9526
9634
  className: "param-card__body",
9527
9635
  children: [/* @__PURE__ */ J("div", {
9528
9636
  className: "param-card__body-left",
9529
- children: [/* @__PURE__ */ q(Dp, {
9637
+ children: [/* @__PURE__ */ q(Fp, {
9530
9638
  className: "param-card__section-label",
9531
9639
  children: "Skills"
9532
9640
  }), /* @__PURE__ */ J("div", {
@@ -9534,7 +9642,7 @@ function Mp({ record: e, fields: t, selected: n, onSelect: r }) {
9534
9642
  children: [x.length > 0 ? x.map((e) => /* @__PURE__ */ q(B, {
9535
9643
  className: "sourcing-skill-tag",
9536
9644
  children: e
9537
- }, e)) : /* @__PURE__ */ q(Dp, {
9645
+ }, e)) : /* @__PURE__ */ q(Fp, {
9538
9646
  className: "param-card__empty",
9539
9647
  children: "-"
9540
9648
  }), S.length > 0 && /* @__PURE__ */ q(M, {
@@ -9556,10 +9664,10 @@ function Mp({ record: e, fields: t, selected: n, onSelect: r }) {
9556
9664
  })]
9557
9665
  }), v && v !== "-" && /* @__PURE__ */ J("div", {
9558
9666
  className: "param-card__body-right",
9559
- children: [/* @__PURE__ */ q(Dp, {
9667
+ children: [/* @__PURE__ */ q(Fp, {
9560
9668
  className: "param-card__section-label param-card__section-label--right",
9561
9669
  children: "Created on"
9562
- }), /* @__PURE__ */ q(Dp, {
9670
+ }), /* @__PURE__ */ q(Fp, {
9563
9671
  className: "param-card__date-value",
9564
9672
  children: v
9565
9673
  })]
@@ -9608,7 +9716,7 @@ function Mp({ record: e, fields: t, selected: n, onSelect: r }) {
9608
9716
  ]
9609
9717
  });
9610
9718
  }
9611
- function Np({ listName: e = "List", moduleName: t = "", actions: n = [], fields: r = [], dataSource: a = [], loading: s = !1, total: c, current: l, pageSize: u, onPageChange: d, onPageSizeChange: m, className: h = "", activeView: g = "card", onViewChange: _ }) {
9719
+ function Vp({ listName: e = "List", moduleName: t = "", actions: n = [], fields: r = [], dataSource: a = [], loading: s = !1, total: c, current: l, pageSize: u, onPageChange: d, onPageSizeChange: m, className: h = "", activeView: g = "card", onViewChange: _ }) {
9612
9720
  let v = Ut(), y = Ht(), [x, C] = o(""), [T, E] = o({
9613
9721
  current: 1,
9614
9722
  pageSize: 12
@@ -9634,11 +9742,11 @@ function Np({ listName: e = "List", moduleName: t = "", actions: n = [], fields:
9634
9742
  }
9635
9743
  })), te = i(() => r.map((e) => ({
9636
9744
  ...e,
9637
- key: kp(e),
9638
- label: Op(e)
9745
+ key: Lp(e),
9746
+ label: Ip(e)
9639
9747
  })).filter((e) => e.key && e.label), [r]), P = typeof c == "number" ? c : a.length, F = i(() => {
9640
9748
  let e = x.toLowerCase();
9641
- return !e || e.length < 3 ? a : a.filter((t) => te.some((n) => String(Ap(t, n.key)).toLowerCase().includes(e)));
9749
+ return !e || e.length < 3 ? a : a.filter((t) => te.some((n) => String(Rp(t, n.key)).toLowerCase().includes(e)));
9642
9750
  }, [
9643
9751
  a,
9644
9752
  te,
@@ -9663,7 +9771,7 @@ function Np({ listName: e = "List", moduleName: t = "", actions: n = [], fields:
9663
9771
  align: "center",
9664
9772
  gap: 6,
9665
9773
  children: [
9666
- /* @__PURE__ */ q(Dp, {
9774
+ /* @__PURE__ */ q(Fp, {
9667
9775
  className: "param-card-view__tab-label",
9668
9776
  children: e
9669
9777
  }),
@@ -9680,7 +9788,7 @@ function Np({ listName: e = "List", moduleName: t = "", actions: n = [], fields:
9680
9788
  className: "job-actions-button job-actions-menu-button",
9681
9789
  children: ["Actions ", /* @__PURE__ */ q(Ae, { className: "job-actions-caret" })]
9682
9790
  })
9683
- }), /* @__PURE__ */ J(Dp, {
9791
+ }), /* @__PURE__ */ J(Fp, {
9684
9792
  className: "job-selected-count",
9685
9793
  children: [
9686
9794
  "Selected (",
@@ -9736,7 +9844,7 @@ function Np({ listName: e = "List", moduleName: t = "", actions: n = [], fields:
9736
9844
  spinning: s,
9737
9845
  children: ne.length > 0 ? /* @__PURE__ */ q("div", {
9738
9846
  className: "param-card-view__grid",
9739
- children: ne.map((e, t) => /* @__PURE__ */ q(Mp, {
9847
+ children: ne.map((e, t) => /* @__PURE__ */ q(Bp, {
9740
9848
  record: e,
9741
9849
  fields: te,
9742
9850
  selected: D.includes(e.id ?? e._id),
@@ -9769,7 +9877,7 @@ function Np({ listName: e = "List", moduleName: t = "", actions: n = [], fields:
9769
9877
  }
9770
9878
  //#endregion
9771
9879
  //#region src/pages/Modules/Jobs/Candidates/SourcingTab.jsx
9772
- var { Text: Pp } = U, Fp = [
9880
+ var { Text: Hp } = U, Up = [
9773
9881
  {
9774
9882
  key: "quick-submit",
9775
9883
  name: "Quick Submit",
@@ -9803,7 +9911,7 @@ var { Text: Pp } = U, Fp = [
9803
9911
  route: "/popup/add-notes",
9804
9912
  maxSelect: 1
9805
9913
  }
9806
- ], Ip = [
9914
+ ], Wp = [
9807
9915
  {
9808
9916
  label: "Today",
9809
9917
  value: "today"
@@ -9828,22 +9936,22 @@ var { Text: Pp } = U, Fp = [
9828
9936
  label: "Last Month",
9829
9937
  value: "lastmonth"
9830
9938
  }
9831
- ], Lp = [
9939
+ ], Gp = [
9832
9940
  "All",
9833
9941
  "Internal",
9834
9942
  "Dice",
9835
9943
  "Network"
9836
- ], Rp = {
9944
+ ], Kp = {
9837
9945
  0: "0",
9838
9946
  15: "15",
9839
9947
  30: "30+"
9840
- }, zp = ({ onMigrate: e, migratingDiceId: t, migratedDiceIds: n }) => [
9948
+ }, qp = ({ onMigrate: e, migratingDiceId: t, migratedDiceIds: n }) => [
9841
9949
  {
9842
9950
  label: "Name",
9843
9951
  value: "name",
9844
9952
  width: 190,
9845
9953
  cardRole: "name",
9846
- render: (e) => /* @__PURE__ */ q(Pp, {
9954
+ render: (e) => /* @__PURE__ */ q(Hp, {
9847
9955
  className: "job-cell-primary sourcing-candidate-name",
9848
9956
  children: e || "-"
9849
9957
  })
@@ -9955,21 +10063,21 @@ var { Text: Pp } = U, Fp = [
9955
10063
  }
9956
10064
  }
9957
10065
  ];
9958
- function Bp(e) {
10066
+ function Jp(e) {
9959
10067
  return [
9960
10068
  e.firstName,
9961
10069
  e.middleName,
9962
10070
  e.lastName
9963
10071
  ].filter(Boolean).join(" ") || e.name || e.fullName || "-";
9964
10072
  }
9965
- function Vp(e) {
10073
+ function Yp(e) {
9966
10074
  let t = e.skills ?? e.skill ?? e.primarySkills ?? e.technicalSkills ?? [];
9967
10075
  process.env.NODE_ENV === "development" && console.log("Raw API Skills:", t);
9968
10076
  let n = [];
9969
10077
  return Array.isArray(t) ? n = t.map((e) => typeof e == "string" ? e : e?.skill ?? e?.name ?? e?.skillName ?? e?.value).filter(Boolean) : typeof t == "string" && (n = t.split(",").map((e) => e.trim()).filter(Boolean)), process.env.NODE_ENV === "development" && console.log("Mapped Skills:", n), n;
9970
10078
  }
9971
- function Hp(e, t) {
9972
- let n = e.currentLocation ?? e.location ?? e.city ?? "-", r = e.totalExperience ?? e.experience ?? e.exp ?? e.yearsOfExperience, i = e.createdOn ?? e.createdAt ?? e.createdDate ?? e.updatedAt, a = Vp(e), o = [
10079
+ function Xp(e, t) {
10080
+ let n = e.currentLocation ?? e.location ?? e.city ?? "-", r = e.totalExperience ?? e.experience ?? e.exp ?? e.yearsOfExperience, i = e.createdOn ?? e.createdAt ?? e.createdDate ?? e.updatedAt, a = Yp(e), o = [
9973
10081
  e?.sourceType,
9974
10082
  e?.profileSource,
9975
10083
  e?.selectedSource,
@@ -9982,7 +10090,7 @@ function Hp(e, t) {
9982
10090
  diceId: s,
9983
10091
  candidateId: e.candidateId ?? e.customFields?.diceProfileData?.candidateId ?? ""
9984
10092
  },
9985
- name: Bp(e),
10093
+ name: Jp(e),
9986
10094
  designation: e.designation ?? e.currentDesignation ?? e.jobTitle ?? "-",
9987
10095
  location: n === "-" ? "" : n,
9988
10096
  exp: r != null && r !== "" ? `${r} yrs` : "",
@@ -9997,22 +10105,22 @@ function Hp(e, t) {
9997
10105
  candidateId: c.candidateId
9998
10106
  })), c;
9999
10107
  }
10000
- function Up({ icon: e, title: t }) {
10108
+ function Zp({ icon: e, title: t }) {
10001
10109
  return /* @__PURE__ */ J(I, {
10002
10110
  size: 10,
10003
10111
  align: "center",
10004
10112
  children: [/* @__PURE__ */ q("div", {
10005
10113
  className: "v1-section-icon-box",
10006
10114
  children: e
10007
- }), /* @__PURE__ */ q(Pp, {
10115
+ }), /* @__PURE__ */ q(Hp, {
10008
10116
  strong: !0,
10009
10117
  className: "v1-section-label",
10010
10118
  children: t
10011
10119
  })]
10012
10120
  });
10013
10121
  }
10014
- function Wp({ jobId: e, onActionComplete: t, onDescriptionSaved: n }) {
10015
- let [i] = C.useForm(), [a, s] = o(!1), [c, l] = o([]), [u, d] = o(0), [f, g] = o(1), [_, v] = o(null), [b, S] = o(!1), [T, E] = o(!1), [D, O] = o([0, 30]), [k, A] = o(["All", "Internal"]), [j, M] = o("list"), [ee, N] = o(10), [te, R] = o(null), [re, z] = o(() => /* @__PURE__ */ new Set()), [ie, ae] = o("internal"), B = zp({
10122
+ function Qp({ jobId: e, onActionComplete: t, onDescriptionSaved: n }) {
10123
+ let [i] = C.useForm(), [a, s] = o(!1), [c, l] = o([]), [u, d] = o(0), [f, g] = o(1), [_, v] = o(null), [b, S] = o(!1), [T, E] = o(!1), [D, O] = o([0, 30]), [k, A] = o(["All", "Internal"]), [j, M] = o("list"), [ee, N] = o(10), [te, R] = o(null), [re, z] = o(() => /* @__PURE__ */ new Set()), [ie, ae] = o("internal"), B = qp({
10016
10124
  onMigrate: async (e, n) => {
10017
10125
  console.log("Dice Profile ID:", n), console.log("Candidate Object:", e), R(n);
10018
10126
  try {
@@ -10073,7 +10181,7 @@ function Wp({ jobId: e, onActionComplete: t, onDescriptionSaved: n }) {
10073
10181
  }
10074
10182
  pe(!0);
10075
10183
  try {
10076
- await cf(e, ue.trim()), ce(""), G(!1), de(""), oe(!0);
10184
+ await gf(e, ue.trim()), ce(""), G(!1), de(""), oe(!0);
10077
10185
  let t = await dc({
10078
10186
  module: "job",
10079
10187
  id: e
@@ -10135,7 +10243,7 @@ function Wp({ jobId: e, onActionComplete: t, onDescriptionSaved: n }) {
10135
10243
  a.some((e) => {
10136
10244
  let t = e?.sourceType ?? e?.profileSource ?? "";
10137
10245
  return String(t).toLowerCase() === "dice";
10138
- }) && j !== "card" && M("card"), l(a.map(Hp)), d(o), g(t), v(e), S(!0), E(!0);
10246
+ }) && j !== "card" && M("card"), l(a.map(Xp)), d(o), g(t), v(e), S(!0), E(!0);
10139
10247
  } catch (e) {
10140
10248
  console.error("Candidate search failed:", e), W.error("Failed to search candidates. Please try again."), l([]), d(0), S(!0);
10141
10249
  } finally {
@@ -10147,12 +10255,12 @@ function Wp({ jobId: e, onActionComplete: t, onDescriptionSaved: n }) {
10147
10255
  i.resetFields(), l([]), d(0), g(1), v(null), S(!1), E(!1), O([0, 30]), A(["All", "Internal"]);
10148
10256
  }, Te = (e, t) => {
10149
10257
  if (e === "All") {
10150
- A(t ? Lp : []);
10258
+ A(t ? Gp : []);
10151
10259
  return;
10152
10260
  }
10153
10261
  A((n) => {
10154
10262
  let r = t ? [...n.filter((e) => e !== "All"), e] : n.filter((t) => t !== e);
10155
- return Lp.filter((e) => e !== "All").every((e) => r.includes(e)) ? ["All", ...r] : r.filter((e) => e !== "All");
10263
+ return Gp.filter((e) => e !== "All").every((e) => r.includes(e)) ? ["All", ...r] : r.filter((e) => e !== "All");
10156
10264
  });
10157
10265
  };
10158
10266
  return /* @__PURE__ */ J("div", {
@@ -10164,7 +10272,7 @@ function Wp({ jobId: e, onActionComplete: t, onDescriptionSaved: n }) {
10164
10272
  className: "v1-page-inner",
10165
10273
  children: /* @__PURE__ */ q(p, {
10166
10274
  className: "v1-card v1-edit-card",
10167
- title: /* @__PURE__ */ q(Up, {
10275
+ title: /* @__PURE__ */ q(Zp, {
10168
10276
  icon: /* @__PURE__ */ q(We, {}),
10169
10277
  title: "Build Your Search Query"
10170
10278
  }),
@@ -10237,7 +10345,7 @@ function Wp({ jobId: e, onActionComplete: t, onDescriptionSaved: n }) {
10237
10345
  children: /* @__PURE__ */ q(F, {
10238
10346
  placeholder: "Select created date",
10239
10347
  allowClear: !0,
10240
- options: Ip,
10348
+ options: Wp,
10241
10349
  suffixIcon: /* @__PURE__ */ q(Ae, {})
10242
10350
  })
10243
10351
  })
@@ -10274,7 +10382,7 @@ function Wp({ jobId: e, onActionComplete: t, onDescriptionSaved: n }) {
10274
10382
  /* @__PURE__ */ J("div", {
10275
10383
  className: "sourcing-exp-section",
10276
10384
  children: [
10277
- /* @__PURE__ */ q(Pp, {
10385
+ /* @__PURE__ */ q(Hp, {
10278
10386
  className: "sourcing-exp-title",
10279
10387
  children: "Experience in Years"
10280
10388
  }),
@@ -10282,7 +10390,7 @@ function Wp({ jobId: e, onActionComplete: t, onDescriptionSaved: n }) {
10282
10390
  range: !0,
10283
10391
  min: 0,
10284
10392
  max: 30,
10285
- marks: Rp,
10393
+ marks: Kp,
10286
10394
  value: D,
10287
10395
  onChange: O,
10288
10396
  tooltip: { formatter: (e) => e >= 30 ? "30+" : String(e) },
@@ -10293,7 +10401,7 @@ function Wp({ jobId: e, onActionComplete: t, onDescriptionSaved: n }) {
10293
10401
  className: "sourcing-exp-inputs",
10294
10402
  wrap: !1,
10295
10403
  children: [
10296
- /* @__PURE__ */ q(Pp, {
10404
+ /* @__PURE__ */ q(Hp, {
10297
10405
  className: "sourcing-exp-input-label",
10298
10406
  children: "From"
10299
10407
  }),
@@ -10306,7 +10414,7 @@ function Wp({ jobId: e, onActionComplete: t, onDescriptionSaved: n }) {
10306
10414
  O([Math.min(t, D[1]), D[1]]);
10307
10415
  }
10308
10416
  }),
10309
- /* @__PURE__ */ q(Pp, {
10417
+ /* @__PURE__ */ q(Hp, {
10310
10418
  className: "sourcing-exp-input-label",
10311
10419
  children: "To"
10312
10420
  }),
@@ -10319,7 +10427,7 @@ function Wp({ jobId: e, onActionComplete: t, onDescriptionSaved: n }) {
10319
10427
  O([D[0], Math.min(t, 30)]);
10320
10428
  }
10321
10429
  }),
10322
- /* @__PURE__ */ q(Pp, {
10430
+ /* @__PURE__ */ q(Hp, {
10323
10431
  className: "sourcing-exp-input-label",
10324
10432
  children: "Years"
10325
10433
  })
@@ -10330,7 +10438,7 @@ function Wp({ jobId: e, onActionComplete: t, onDescriptionSaved: n }) {
10330
10438
  /* @__PURE__ */ J("div", {
10331
10439
  className: "sourcing-pref-section",
10332
10440
  children: [
10333
- /* @__PURE__ */ q(Pp, {
10441
+ /* @__PURE__ */ q(Hp, {
10334
10442
  className: "sourcing-pref-label",
10335
10443
  children: "Search Preference"
10336
10444
  }),
@@ -10341,7 +10449,7 @@ function Wp({ jobId: e, onActionComplete: t, onDescriptionSaved: n }) {
10341
10449
  /* @__PURE__ */ q(I, {
10342
10450
  size: 12,
10343
10451
  wrap: !0,
10344
- children: Lp.map((e) => /* @__PURE__ */ q(m, {
10452
+ children: Gp.map((e) => /* @__PURE__ */ q(m, {
10345
10453
  checked: k.includes(e),
10346
10454
  onChange: (t) => Te(e, t.target.checked),
10347
10455
  children: e
@@ -10365,10 +10473,10 @@ function Wp({ jobId: e, onActionComplete: t, onDescriptionSaved: n }) {
10365
10473
  style: { marginTop: 24 },
10366
10474
  description: "No candidates found for this query"
10367
10475
  }),
10368
- b && c.length > 0 && j === "list" && /* @__PURE__ */ q(Ep, {
10476
+ b && c.length > 0 && j === "list" && /* @__PURE__ */ q(Pp, {
10369
10477
  listName: "Internal",
10370
10478
  moduleName: "candidate",
10371
- actions: Fp,
10479
+ actions: Up,
10372
10480
  fields: B,
10373
10481
  dataSource: c,
10374
10482
  loading: a,
@@ -10381,10 +10489,10 @@ function Wp({ jobId: e, onActionComplete: t, onDescriptionSaved: n }) {
10381
10489
  activeView: j,
10382
10490
  onViewChange: M
10383
10491
  }),
10384
- b && c.length > 0 && j === "card" && /* @__PURE__ */ q(Np, {
10492
+ b && c.length > 0 && j === "card" && /* @__PURE__ */ q(Vp, {
10385
10493
  listName: "Internal",
10386
10494
  moduleName: "candidate",
10387
- actions: Fp,
10495
+ actions: Up,
10388
10496
  fields: B,
10389
10497
  dataSource: c,
10390
10498
  loading: a,
@@ -10402,7 +10510,7 @@ function Wp({ jobId: e, onActionComplete: t, onDescriptionSaved: n }) {
10402
10510
  ]
10403
10511
  }),
10404
10512
  /* @__PURE__ */ q(y, {
10405
- title: /* @__PURE__ */ q(Up, {
10513
+ title: /* @__PURE__ */ q(Zp, {
10406
10514
  icon: /* @__PURE__ */ q(Ve, {}),
10407
10515
  title: "Job Description"
10408
10516
  }),
@@ -10489,7 +10597,7 @@ function Wp({ jobId: e, onActionComplete: t, onDescriptionSaved: n }) {
10489
10597
  padding: "18px 20px",
10490
10598
  boxShadow: "0 2px 12px rgba(0,0,0,0.06)"
10491
10599
  },
10492
- children: /* @__PURE__ */ q(bp, { raw: se })
10600
+ children: /* @__PURE__ */ q(Op, { raw: se })
10493
10601
  })
10494
10602
  })
10495
10603
  })
@@ -10498,11 +10606,11 @@ function Wp({ jobId: e, onActionComplete: t, onDescriptionSaved: n }) {
10498
10606
  }
10499
10607
  //#endregion
10500
10608
  //#region src/pages/Modules/Jobs/Candidates/WorkflowStageTab.jsx
10501
- function Gp(e) {
10609
+ function $p(e) {
10502
10610
  return e.referenceId || e.applicantRefrenceId || e._id;
10503
10611
  }
10504
- function Kp(e) {
10505
- let t = $f(e);
10612
+ function em(e) {
10613
+ let t = sp(e);
10506
10614
  return {
10507
10615
  rows: t,
10508
10616
  total: e?.count ?? t.length,
@@ -10511,12 +10619,12 @@ function Kp(e) {
10511
10619
  tabField: ""
10512
10620
  };
10513
10621
  }
10514
- function qp({ workflowId: e, stageName: t, actions: r = [], onCountChange: i }) {
10622
+ function tm({ workflowId: e, stageName: t, actions: r = [], onCountChange: i }) {
10515
10623
  return /* @__PURE__ */ q(rd, {
10516
10624
  moduleName: "candidate",
10517
- rowKey: Gp,
10625
+ rowKey: $p,
10518
10626
  actions: r,
10519
- fetchData: n(() => e ? tp(e, t).then((e) => (i?.(e?.count ?? $f(e).length), e)).catch((n) => {
10627
+ fetchData: n(() => e ? lp(e, t).then((e) => (i?.(e?.count ?? sp(e).length), e)).catch((n) => {
10520
10628
  throw console.error("[WorkflowStageTab] getWorkflowStage failed:", e, t, n), n;
10521
10629
  }) : Promise.resolve({
10522
10630
  data: [],
@@ -10526,12 +10634,12 @@ function qp({ workflowId: e, stageName: t, actions: r = [], onCountChange: i })
10526
10634
  t,
10527
10635
  i
10528
10636
  ]),
10529
- responseMapper: Kp
10637
+ responseMapper: em
10530
10638
  });
10531
10639
  }
10532
10640
  //#endregion
10533
10641
  //#region src/pages/Modules/Jobs/Candidates/CandidatesTab.jsx
10534
- var Jp = [
10642
+ var nm = [
10535
10643
  {
10536
10644
  key: "quick-submit",
10537
10645
  label: "Quick Submit",
@@ -10554,7 +10662,7 @@ var Jp = [
10554
10662
  label: "Send Email",
10555
10663
  route: "/popup/mail"
10556
10664
  }
10557
- ], Yp = [
10665
+ ], rm = [
10558
10666
  {
10559
10667
  key: "quick-submit",
10560
10668
  label: "Quick Submit",
@@ -10577,15 +10685,15 @@ var Jp = [
10577
10685
  route: "/popup/remove-from-shortlist",
10578
10686
  danger: !0
10579
10687
  }
10580
- ], Xp = [{
10688
+ ], im = [{
10581
10689
  key: "mail",
10582
10690
  label: "Send Email",
10583
10691
  route: "/popup/mail"
10584
10692
  }];
10585
- function Zp(e) {
10693
+ function am(e) {
10586
10694
  return e?.workflowId ?? e?._id ?? e?.id ?? null;
10587
10695
  }
10588
- function Qp({ jobId: e, onDescriptionSaved: t }) {
10696
+ function om({ jobId: e, onDescriptionSaved: t }) {
10589
10697
  let [n, i] = Gt(), a = n.get("subTab") || "source", s = (e) => {
10590
10698
  let t = new URLSearchParams(n);
10591
10699
  t.set("subTab", e), i(t, { replace: !0 });
@@ -10597,8 +10705,8 @@ function Qp({ jobId: e, onDescriptionSaved: t }) {
10597
10705
  }, [e]), r(() => {
10598
10706
  if (!e) return;
10599
10707
  let t = !1;
10600
- return ep(e).then((e) => {
10601
- t || h(Zp(e));
10708
+ return cp(e).then((e) => {
10709
+ t || h(am(e));
10602
10710
  }).catch((n) => {
10603
10711
  t || (console.error("[CandidatesTab] getWorkflowByEntity failed:", e, n), h(null));
10604
10712
  }), () => {
@@ -10607,7 +10715,7 @@ function Qp({ jobId: e, onDescriptionSaved: t }) {
10607
10715
  }, [e]), /* @__PURE__ */ J("div", {
10608
10716
  className: "candidates-tab-wrapper",
10609
10717
  children: [
10610
- /* @__PURE__ */ q(Xf, { children: /* @__PURE__ */ q(Yf, {
10718
+ /* @__PURE__ */ q(ip, { children: /* @__PURE__ */ q(rp, {
10611
10719
  tabs: [
10612
10720
  {
10613
10721
  key: "source",
@@ -10632,27 +10740,27 @@ function Qp({ jobId: e, onDescriptionSaved: t }) {
10632
10740
  activeKey: a,
10633
10741
  onChange: s
10634
10742
  }) }),
10635
- a === "source" && /* @__PURE__ */ q(Wp, {
10743
+ a === "source" && /* @__PURE__ */ q(Qp, {
10636
10744
  jobId: e,
10637
10745
  onActionComplete: g,
10638
10746
  onDescriptionSaved: t
10639
10747
  }),
10640
- a === "pipeline" && /* @__PURE__ */ q(qp, {
10748
+ a === "pipeline" && /* @__PURE__ */ q(tm, {
10641
10749
  workflowId: m,
10642
10750
  stageName: "Pipeline",
10643
- actions: Jp,
10751
+ actions: nm,
10644
10752
  onCountChange: l
10645
10753
  }),
10646
- a === "shortlisted" && /* @__PURE__ */ q(qp, {
10754
+ a === "shortlisted" && /* @__PURE__ */ q(tm, {
10647
10755
  workflowId: m,
10648
10756
  stageName: "Shortlisted",
10649
- actions: Yp,
10757
+ actions: rm,
10650
10758
  onCountChange: d
10651
10759
  }),
10652
- a === "submitted" && /* @__PURE__ */ q(qp, {
10760
+ a === "submitted" && /* @__PURE__ */ q(tm, {
10653
10761
  workflowId: m,
10654
10762
  stageName: "Submitted",
10655
- actions: Xp,
10763
+ actions: im,
10656
10764
  onCountChange: p
10657
10765
  })
10658
10766
  ]
@@ -10660,41 +10768,41 @@ function Qp({ jobId: e, onDescriptionSaved: t }) {
10660
10768
  }
10661
10769
  //#endregion
10662
10770
  //#region src/components/detail/fieldRenderEngine.jsx
10663
- var { Text: $p } = U, em = (e) => e == null || e === "", tm = /^\d{4}-\d{2}-\d{2}([T ]\d{2}:\d{2}|$)/;
10664
- function nm(e) {
10771
+ var { Text: sm } = U, cm = (e) => e == null || e === "", lm = /^\d{4}-\d{2}-\d{2}([T ]\d{2}:\d{2}|$)/;
10772
+ function um(e) {
10665
10773
  return String(e).replace(/\w\S*/g, (e) => e.length > 1 && e === e.toUpperCase() ? e : e.charAt(0).toUpperCase() + e.slice(1).toLowerCase());
10666
10774
  }
10667
- function rm(e) {
10775
+ function dm(e) {
10668
10776
  return !(typeof e != "string" || !e.trim() || !/[a-z]/i.test(e) || e.includes("@") || /^https?:\/\//i.test(e) || /^[a-f0-9]{24}$/i.test(e) || /<[a-z][\s\S]*>/i.test(e));
10669
10777
  }
10670
- function im(e, t) {
10671
- if (em(e)) return "";
10778
+ function fm(e, t) {
10779
+ if (cm(e)) return "";
10672
10780
  let n = String(e);
10673
- return t === !1 ? n : rm(n) ? nm(n) : n;
10781
+ return t === !1 ? n : dm(n) ? um(n) : n;
10674
10782
  }
10675
- function am(e, t, n) {
10676
- return Object.values(e).filter((e) => !em(e) && typeof e != "object").map((e) => im(e, t)).join(n);
10783
+ function pm(e, t, n) {
10784
+ return Object.values(e).filter((e) => !cm(e) && typeof e != "object").map((e) => fm(e, t)).join(n);
10677
10785
  }
10678
- function om(e, t) {
10786
+ function mm(e, t) {
10679
10787
  if (!e) return e;
10680
10788
  switch (t) {
10681
10789
  case "upper": return String(e).toUpperCase();
10682
10790
  case "lower": return String(e).toLowerCase();
10683
- case "title": return nm(e);
10791
+ case "title": return um(e);
10684
10792
  default: return e;
10685
10793
  }
10686
10794
  }
10687
- var sm = (e) => e && typeof e == "object" && !Array.isArray(e) && "value" in e && "id" in e;
10688
- function cm(e, t, n) {
10689
- return em(e) ? "" : sm(e) ? im(e.value ?? e.id, t) : Array.isArray(e) ? e.map((e) => sm(e) ? im(e.value ?? e.id, t) : e && typeof e == "object" ? am(e, t, n) : im(e, t)).filter(Boolean).join(n) : typeof e == "boolean" ? e ? "Yes" : "No" : typeof e == "object" ? am(e, t, n) : im(e, t);
10795
+ var hm = (e) => e && typeof e == "object" && !Array.isArray(e) && "value" in e && "id" in e;
10796
+ function gm(e, t, n) {
10797
+ return cm(e) ? "" : hm(e) ? fm(e.value ?? e.id, t) : Array.isArray(e) ? e.map((e) => hm(e) ? fm(e.value ?? e.id, t) : e && typeof e == "object" ? pm(e, t, n) : fm(e, t)).filter(Boolean).join(n) : typeof e == "boolean" ? e ? "Yes" : "No" : typeof e == "object" ? pm(e, t, n) : fm(e, t);
10690
10798
  }
10691
- function lm(e, t, n) {
10692
- if (Array.isArray(e)) return e.map((e) => sm(e) ? im(e.value ?? e.id, t) : e && typeof e == "object" ? am(e, t, n) : im(e, t)).filter((e) => e !== "");
10693
- if (typeof e == "string") return e.split(",").map((e) => im(e.trim(), t)).filter(Boolean);
10694
- let r = cm(e, t, n);
10799
+ function _m(e, t, n) {
10800
+ if (Array.isArray(e)) return e.map((e) => hm(e) ? fm(e.value ?? e.id, t) : e && typeof e == "object" ? pm(e, t, n) : fm(e, t)).filter((e) => e !== "");
10801
+ if (typeof e == "string") return e.split(",").map((e) => fm(e.trim(), t)).filter(Boolean);
10802
+ let r = gm(e, t, n);
10695
10803
  return r ? [r] : [];
10696
10804
  }
10697
- function um({ name: e }) {
10805
+ function vm({ name: e }) {
10698
10806
  let t = String(e || "").split(".").pop().toLowerCase();
10699
10807
  return t === "pdf" ? /* @__PURE__ */ q(Be, { className: "v1-file-chip__icon" }) : t === "doc" || t === "docx" ? /* @__PURE__ */ q(Ue, { className: "v1-file-chip__icon" }) : [
10700
10808
  "png",
@@ -10711,20 +10819,20 @@ function um({ name: e }) {
10711
10819
  "md"
10712
10820
  ].includes(t) ? /* @__PURE__ */ q(Ve, { className: "v1-file-chip__icon" }) : /* @__PURE__ */ q(ze, { className: "v1-file-chip__icon" });
10713
10821
  }
10714
- um.propTypes = { name: Y.string };
10715
- function dm(e) {
10822
+ vm.propTypes = { name: Y.string };
10823
+ function ym(e) {
10716
10824
  return e?.renderType && e.renderType !== "auto" ? e.renderType : e?.documentPreview === !0 ? "document" : e?.displayAs === "tag" ? "tag" : e?.displayAs === "text" ? "text" : "auto";
10717
10825
  }
10718
- function fm({ value: e, mode: t, empty: n, style: r }) {
10719
- let [i, a] = o(!1), [s, c] = o(0), l = Pf(e);
10720
- if (!l.length) return /* @__PURE__ */ q($p, {
10826
+ function bm({ value: e, mode: t, empty: n, style: r }) {
10827
+ let [i, a] = o(!1), [s, c] = o(0), l = Hf(e);
10828
+ if (!l.length) return /* @__PURE__ */ q(sm, {
10721
10829
  strong: !0,
10722
10830
  className: "v1-detail-value",
10723
10831
  style: r,
10724
10832
  children: n
10725
10833
  });
10726
10834
  let u = l.filter((e) => e.url);
10727
- return t === "text" ? /* @__PURE__ */ q($p, {
10835
+ return t === "text" ? /* @__PURE__ */ q(sm, {
10728
10836
  strong: !0,
10729
10837
  className: "v1-detail-value",
10730
10838
  style: r,
@@ -10747,7 +10855,7 @@ function fm({ value: e, mode: t, empty: n, style: r }) {
10747
10855
  download: t === "download" ? e.name || "" : void 0,
10748
10856
  title: e.name,
10749
10857
  children: [
10750
- /* @__PURE__ */ q(um, { name: e.name }),
10858
+ /* @__PURE__ */ q(vm, { name: e.name }),
10751
10859
  /* @__PURE__ */ q("span", {
10752
10860
  className: "v1-file-chip__name",
10753
10861
  children: e.name
@@ -10757,7 +10865,7 @@ function fm({ value: e, mode: t, empty: n, style: r }) {
10757
10865
  }, n) : /* @__PURE__ */ J("span", {
10758
10866
  className: "v1-file-chip v1-file-chip--disabled",
10759
10867
  title: "No file location",
10760
- children: [/* @__PURE__ */ q(um, { name: e.name }), /* @__PURE__ */ q("span", {
10868
+ children: [/* @__PURE__ */ q(vm, { name: e.name }), /* @__PURE__ */ q("span", {
10761
10869
  className: "v1-file-chip__name",
10762
10870
  children: e.name
10763
10871
  })]
@@ -10775,7 +10883,7 @@ function fm({ value: e, mode: t, empty: n, style: r }) {
10775
10883
  },
10776
10884
  title: `Preview ${e.name}`,
10777
10885
  children: [
10778
- /* @__PURE__ */ q(um, { name: e.name }),
10886
+ /* @__PURE__ */ q(vm, { name: e.name }),
10779
10887
  /* @__PURE__ */ q("span", {
10780
10888
  className: "v1-file-chip__name",
10781
10889
  children: e.name
@@ -10785,7 +10893,7 @@ function fm({ value: e, mode: t, empty: n, style: r }) {
10785
10893
  }, t) : /* @__PURE__ */ J("span", {
10786
10894
  className: "v1-file-chip v1-file-chip--disabled",
10787
10895
  title: "No preview available for this file",
10788
- children: [/* @__PURE__ */ q(um, { name: e.name }), /* @__PURE__ */ q("span", {
10896
+ children: [/* @__PURE__ */ q(vm, { name: e.name }), /* @__PURE__ */ q("span", {
10789
10897
  className: "v1-file-chip__name",
10790
10898
  children: e.name
10791
10899
  })]
@@ -10798,18 +10906,18 @@ function fm({ value: e, mode: t, empty: n, style: r }) {
10798
10906
  })]
10799
10907
  });
10800
10908
  }
10801
- fm.propTypes = {
10909
+ bm.propTypes = {
10802
10910
  value: Y.any,
10803
10911
  mode: Y.string,
10804
10912
  empty: Y.string,
10805
10913
  style: Y.object
10806
10914
  };
10807
- function pm(e, t) {
10915
+ function xm(e, t) {
10808
10916
  let n = Number(String(e).replace(/[^0-9.-]/g, ""));
10809
10917
  return Number.isNaN(n) ? String(e) : `${t.currencySymbol ?? ""}${n.toLocaleString(void 0, { maximumFractionDigits: 2 })}`;
10810
10918
  }
10811
- function mm({ field: e }) {
10812
- let { value: t, type: n, prefix: r = "", suffix: i = "", color: a = "", capitalize: o } = e ?? {}, s = e?.renderOptions ?? {}, c = hf(), l = c.emptyPlaceholder, d = c.separator || ", ", f = a ? { color: a } : void 0, p = s.tagColor || a || void 0, m = s.textTransform && s.textTransform !== "none" ? s.textTransform : null, h = (e) => `${r ? `${r} ` : ""}${e}${i ? ` ${i}` : ""}`, g = (e) => m ? om(e, m) : e, _ = (e) => /* @__PURE__ */ q($p, {
10919
+ function Sm({ field: e }) {
10920
+ let { value: t, type: n, prefix: r = "", suffix: i = "", color: a = "", capitalize: o } = e ?? {}, s = e?.renderOptions ?? {}, c = Cf(), l = c.emptyPlaceholder, d = c.separator || ", ", f = a ? { color: a } : void 0, p = s.tagColor || a || void 0, m = s.textTransform && s.textTransform !== "none" ? s.textTransform : null, h = (e) => `${r ? `${r} ` : ""}${e}${i ? ` ${i}` : ""}`, g = (e) => m ? mm(e, m) : e, _ = (e) => /* @__PURE__ */ q(sm, {
10813
10921
  strong: !0,
10814
10922
  className: "v1-detail-value",
10815
10923
  style: f,
@@ -10820,20 +10928,20 @@ function mm({ field: e }) {
10820
10928
  color: p,
10821
10929
  children: g(e)
10822
10930
  })
10823
- }), y = dm(e);
10824
- if (y !== "document" && em(t) && !s.showEmpty) return _(l);
10931
+ }), y = ym(e);
10932
+ if (y !== "document" && cm(t) && !s.showEmpty) return _(l);
10825
10933
  switch (y) {
10826
- case "document": return /* @__PURE__ */ q(fm, {
10934
+ case "document": return /* @__PURE__ */ q(bm, {
10827
10935
  value: t,
10828
10936
  mode: s.documentMode || "preview",
10829
10937
  empty: l,
10830
10938
  style: f
10831
10939
  });
10832
- case "text": return _(h(cm(t, o, d)));
10940
+ case "text": return _(h(gm(t, o, d)));
10833
10941
  case "tag":
10834
- case "chip": return v(h(cm(t, o, d)));
10942
+ case "chip": return v(h(gm(t, o, d)));
10835
10943
  case "badge": {
10836
- let e = g(cm(t, o, d));
10944
+ let e = g(gm(t, o, d));
10837
10945
  return /* @__PURE__ */ q("span", {
10838
10946
  className: "v1-detail-value",
10839
10947
  children: /* @__PURE__ */ q(u, {
@@ -10845,7 +10953,7 @@ function mm({ field: e }) {
10845
10953
  case "tags":
10846
10954
  case "multitag":
10847
10955
  case "skills": {
10848
- let e = lm(t, o, d);
10956
+ let e = _m(t, o, d);
10849
10957
  return e.length ? /* @__PURE__ */ q("span", {
10850
10958
  className: "v1-detail-value v1-detail-tags",
10851
10959
  children: e.map((e, t) => /* @__PURE__ */ q(B, {
@@ -10855,17 +10963,17 @@ function mm({ field: e }) {
10855
10963
  }) : _(l);
10856
10964
  }
10857
10965
  case "link": {
10858
- let e = cm(t, !1, d);
10966
+ let e = gm(t, !1, d);
10859
10967
  return /* @__PURE__ */ q("a", {
10860
10968
  className: "v1-detail-value v1-doc-link",
10861
- href: /^https?:\/\//i.test(e) ? e : jf(e) || e,
10969
+ href: /^https?:\/\//i.test(e) ? e : zf(e) || e,
10862
10970
  target: "_blank",
10863
10971
  rel: "noopener noreferrer",
10864
10972
  children: g(h(e))
10865
10973
  });
10866
10974
  }
10867
10975
  case "email": {
10868
- let e = cm(t, !1, d);
10976
+ let e = gm(t, !1, d);
10869
10977
  return /* @__PURE__ */ J("a", {
10870
10978
  className: "v1-detail-value",
10871
10979
  href: `mailto:${e}`,
@@ -10877,7 +10985,7 @@ function mm({ field: e }) {
10877
10985
  });
10878
10986
  }
10879
10987
  case "phone": {
10880
- let e = cm(t, !1, d);
10988
+ let e = gm(t, !1, d);
10881
10989
  return /* @__PURE__ */ J("a", {
10882
10990
  className: "v1-detail-value",
10883
10991
  href: `tel:${e.replace(/[^0-9+]/g, "")}`,
@@ -10890,11 +10998,11 @@ function mm({ field: e }) {
10890
10998
  }
10891
10999
  case "date": {
10892
11000
  let e = Kt(t), n = s.dateFormat || c.dateFormat;
10893
- return _(h(e.isValid() ? e.format(n) : cm(t, o, d)));
11001
+ return _(h(e.isValid() ? e.format(n) : gm(t, o, d)));
10894
11002
  }
10895
- case "currency": return _(h(pm(t, s)));
11003
+ case "currency": return _(h(xm(t, s)));
10896
11004
  case "budget": {
10897
- let e = pm(t, s), n = s.unit ? String(s.unit) : "", r = n && s.budgetUnitMap ? s.budgetUnitMap[n] ?? n : n;
11005
+ let e = xm(t, s), n = s.unit ? String(s.unit) : "", r = n && s.budgetUnitMap ? s.budgetUnitMap[n] ?? n : n;
10898
11006
  return _(`${e}${r ? `/${r}` : ""}`);
10899
11007
  }
10900
11008
  case "html": return /* @__PURE__ */ q("span", {
@@ -10904,15 +11012,15 @@ function mm({ field: e }) {
10904
11012
  });
10905
11013
  default: break;
10906
11014
  }
10907
- if (em(t)) return _(l);
10908
- let b = n === "date", x = typeof t == "string" && tm.test(t.trim());
11015
+ if (cm(t)) return _(l);
11016
+ let b = n === "date", x = typeof t == "string" && lm.test(t.trim());
10909
11017
  if (b || x) {
10910
11018
  let e = Kt(t);
10911
11019
  if (e.isValid()) return _(h(e.format(c.dateFormat)));
10912
11020
  }
10913
- if (sm(t)) return _(h(im(t.value ?? t.id, o)));
11021
+ if (hm(t)) return _(h(fm(t.value ?? t.id, o)));
10914
11022
  if (Array.isArray(t)) {
10915
- let e = lm(t, o, d);
11023
+ let e = _m(t, o, d);
10916
11024
  return e.length ? /* @__PURE__ */ q("span", {
10917
11025
  className: "v1-detail-value v1-detail-tags",
10918
11026
  children: e.map((e, t) => /* @__PURE__ */ q(B, {
@@ -10921,26 +11029,26 @@ function mm({ field: e }) {
10921
11029
  }, t))
10922
11030
  }) : _(l);
10923
11031
  }
10924
- return _(typeof t == "boolean" ? t ? c.booleanTrueLabel : c.booleanFalseLabel : typeof t == "object" ? am(t, o, d) || l : h(im(t, o)));
11032
+ return _(typeof t == "boolean" ? t ? c.booleanTrueLabel : c.booleanFalseLabel : typeof t == "object" ? pm(t, o, d) || l : h(fm(t, o)));
10925
11033
  }
10926
- mm.propTypes = { field: Y.object };
11034
+ Sm.propTypes = { field: Y.object };
10927
11035
  //#endregion
10928
11036
  //#region src/components/DetailViewV1.jsx
10929
- var { Text: hm } = U, gm = [
11037
+ var { Text: Cm } = U, wm = [
10930
11038
  /* @__PURE__ */ q(Lt, {}),
10931
11039
  /* @__PURE__ */ q(Ne, {}),
10932
11040
  /* @__PURE__ */ q(Tt, {}),
10933
11041
  /* @__PURE__ */ q(Xe, {}),
10934
11042
  /* @__PURE__ */ q(Ve, {})
10935
- ], _m = (e) => e === !0 || e === 1 || e === "1", vm = [
11043
+ ], Tm = (e) => e === !0 || e === 1 || e === "1", Em = [
10936
11044
  "jobDescription",
10937
11045
  "description",
10938
11046
  "rawDescription",
10939
11047
  "jobDescriptionText"
10940
11048
  ];
10941
- function ym(e = []) {
11049
+ function Dm(e = []) {
10942
11050
  for (let t of e) for (let e of t.fields ?? []) {
10943
- let t = vm.includes(e.field), n = /description/i.test(e.label ?? "");
11051
+ let t = Em.includes(e.field), n = /description/i.test(e.label ?? "");
10944
11052
  if ((t || n) && typeof e.value == "string" && e.value.trim()) return {
10945
11053
  ...e,
10946
11054
  key: e.field,
@@ -10949,27 +11057,27 @@ function ym(e = []) {
10949
11057
  }
10950
11058
  return null;
10951
11059
  }
10952
- function bm(e = []) {
11060
+ function Om(e = []) {
10953
11061
  return [...e].sort((e, t) => Number(e.order ?? 0) - Number(t.order ?? 0)).map((e) => ({
10954
11062
  ...e,
10955
- fields: [...e.fields ?? []].filter((e) => e.show === void 0 || _m(e.show)).sort((e, t) => Number(e.order ?? 0) - Number(t.order ?? 0))
11063
+ fields: [...e.fields ?? []].filter((e) => e.show === void 0 || Tm(e.show)).sort((e, t) => Number(e.order ?? 0) - Number(t.order ?? 0))
10956
11064
  })).filter((e) => e.fields.length);
10957
11065
  }
10958
- function xm({ icon: e, title: t }) {
11066
+ function km({ icon: e, title: t }) {
10959
11067
  return /* @__PURE__ */ J(I, {
10960
11068
  size: 10,
10961
11069
  align: "center",
10962
11070
  children: [/* @__PURE__ */ q("div", {
10963
11071
  className: "v1-section-icon-box",
10964
11072
  children: e
10965
- }), /* @__PURE__ */ q(hm, {
11073
+ }), /* @__PURE__ */ q(Cm, {
10966
11074
  strong: !0,
10967
11075
  className: "v1-section-label",
10968
11076
  children: t
10969
11077
  })]
10970
11078
  });
10971
11079
  }
10972
- function Sm({ value: e }) {
11080
+ function Am({ value: e }) {
10973
11081
  let t = String(e ?? "");
10974
11082
  return /<[a-z][\s\S]*>/i.test(t) ? /* @__PURE__ */ q("div", {
10975
11083
  className: "v1-detail-value",
@@ -10987,7 +11095,7 @@ function Sm({ value: e }) {
10987
11095
  children: t
10988
11096
  });
10989
11097
  }
10990
- function Cm({ moduleName: e, id: t, refreshKey: n = 0, onDescriptionSaved: a }) {
11098
+ function jm({ moduleName: e, id: t, refreshKey: n = 0, onDescriptionSaved: a }) {
10991
11099
  let [c, l] = o([]), [u, d] = o(!!e), [f, m] = o(""), [g, _] = o(!1), [v, y] = o(""), [b, S] = o(!1);
10992
11100
  r(() => {
10993
11101
  if (!e) return;
@@ -10999,7 +11107,7 @@ function Cm({ moduleName: e, id: t, refreshKey: n = 0, onDescriptionSaved: a })
10999
11107
  module: e,
11000
11108
  id: t,
11001
11109
  view: "detail"
11002
- }), vf()]);
11110
+ }), Ef()]);
11003
11111
  n || l(Array.isArray(r) ? r : []);
11004
11112
  } catch (t) {
11005
11113
  console.error(`Failed to fetch ${e} detail fields:`, t), n || m(t?.message || "Failed to fetch detail fields");
@@ -11015,7 +11123,7 @@ function Cm({ moduleName: e, id: t, refreshKey: n = 0, onDescriptionSaved: a })
11015
11123
  t,
11016
11124
  n
11017
11125
  ]);
11018
- let C = i(() => bm(c), [c]), T = e === "job", E = i(() => T ? ym(c) : null, [T, c]), D = () => {
11126
+ let C = i(() => Om(c), [c]), T = e === "job", E = i(() => T ? Dm(c) : null, [T, c]), D = () => {
11019
11127
  _(!1), y("");
11020
11128
  }, O = async () => {
11021
11129
  if (!v.trim()) {
@@ -11024,7 +11132,7 @@ function Cm({ moduleName: e, id: t, refreshKey: n = 0, onDescriptionSaved: a })
11024
11132
  }
11025
11133
  S(!0);
11026
11134
  try {
11027
- await cf(t, v.trim()), _(!1), y(""), d(!0);
11135
+ await gf(t, v.trim()), _(!1), y(""), d(!0);
11028
11136
  let n = await dc({
11029
11137
  module: e,
11030
11138
  id: t,
@@ -11042,11 +11150,11 @@ function Cm({ moduleName: e, id: t, refreshKey: n = 0, onDescriptionSaved: a })
11042
11150
  lg: e.detailCol ?? e.col ?? 8,
11043
11151
  children: /* @__PURE__ */ J("div", {
11044
11152
  className: "v1-detail-field",
11045
- children: [/* @__PURE__ */ q(hm, {
11153
+ children: [/* @__PURE__ */ q(Cm, {
11046
11154
  type: "secondary",
11047
11155
  className: "v1-detail-label",
11048
11156
  children: e.label ?? e.field
11049
- }), /* @__PURE__ */ q(mm, { field: e })]
11157
+ }), /* @__PURE__ */ q(Sm, { field: e })]
11050
11158
  })
11051
11159
  }, `${e.field}${t}`), A = (e, t) => e.type === "file" || e.type === "document" ? {
11052
11160
  ...e,
@@ -11060,8 +11168,8 @@ function Cm({ moduleName: e, id: t, refreshKey: n = 0, onDescriptionSaved: a })
11060
11168
  return /* @__PURE__ */ q(p, {
11061
11169
  size: "small",
11062
11170
  className: "v1-card v1-detail-card",
11063
- title: /* @__PURE__ */ q(xm, {
11064
- icon: gm[t % gm.length],
11171
+ title: /* @__PURE__ */ q(km, {
11172
+ icon: wm[t % wm.length],
11065
11173
  title: e.label ?? e.name ?? "Details"
11066
11174
  }),
11067
11175
  children: i.length === 0 ? /* @__PURE__ */ q(x, {
@@ -11069,7 +11177,7 @@ function Cm({ moduleName: e, id: t, refreshKey: n = 0, onDescriptionSaved: a })
11069
11177
  description: `No ${e.label ?? "records"} added`
11070
11178
  }) : i.map((t, r) => /* @__PURE__ */ J("div", {
11071
11179
  className: "v1-detail-addrow-item",
11072
- children: [i.length > 1 && /* @__PURE__ */ J(hm, {
11180
+ children: [i.length > 1 && /* @__PURE__ */ J(Cm, {
11073
11181
  strong: !0,
11074
11182
  className: "v1-detail-addrow-index",
11075
11183
  children: [
@@ -11103,8 +11211,8 @@ function Cm({ moduleName: e, id: t, refreshKey: n = 0, onDescriptionSaved: a })
11103
11211
  return r.length ? e.addRow ? j(e, t, r) : /* @__PURE__ */ q(p, {
11104
11212
  size: "small",
11105
11213
  className: "v1-card v1-detail-card",
11106
- title: /* @__PURE__ */ q(xm, {
11107
- icon: gm[t % gm.length],
11214
+ title: /* @__PURE__ */ q(km, {
11215
+ icon: wm[t % wm.length],
11108
11216
  title: e.label ?? e.name ?? "Details"
11109
11217
  }),
11110
11218
  children: /* @__PURE__ */ q(P, {
@@ -11116,7 +11224,7 @@ function Cm({ moduleName: e, id: t, refreshKey: n = 0, onDescriptionSaved: a })
11116
11224
  T && E?.value && /* @__PURE__ */ q(p, {
11117
11225
  size: "small",
11118
11226
  className: "v1-card v1-detail-card",
11119
- title: /* @__PURE__ */ q(xm, {
11227
+ title: /* @__PURE__ */ q(km, {
11120
11228
  icon: /* @__PURE__ */ q(Ve, {}),
11121
11229
  title: "Description"
11122
11230
  }),
@@ -11165,121 +11273,13 @@ function Cm({ moduleName: e, id: t, refreshKey: n = 0, onDescriptionSaved: a })
11165
11273
  children: "Cancel"
11166
11274
  })]
11167
11275
  })]
11168
- }) : /* @__PURE__ */ q(Sm, { value: E.value })
11276
+ }) : /* @__PURE__ */ q(Am, { value: E.value })
11169
11277
  })
11170
11278
  ]
11171
11279
  })
11172
11280
  });
11173
11281
  }
11174
11282
  //#endregion
11175
- //#region src/components/detail/timelineUtils.js
11176
- function wm(e) {
11177
- let t = (e) => new Date(e.getFullYear(), e.getMonth(), e.getDate()), n = Math.round((t(/* @__PURE__ */ new Date()) - t(e)) / 864e5);
11178
- return n <= 0 ? "Today" : n === 1 ? "1 Day ago" : `${n} Days ago`;
11179
- }
11180
- function Tm(e = [], t) {
11181
- let n = /* @__PURE__ */ new Map();
11182
- return e.forEach((e) => {
11183
- let r = new Date(t(e));
11184
- if (Number.isNaN(r.getTime())) return;
11185
- let i = r.toDateString();
11186
- n.has(i) || n.set(i, {
11187
- date: r,
11188
- items: []
11189
- }), n.get(i).items.push(e);
11190
- }), [...n.values()].sort((e, t) => t.date - e.date);
11191
- }
11192
- function Em(e) {
11193
- return new Date(e).toLocaleDateString("en-US", {
11194
- year: "numeric",
11195
- month: "long",
11196
- day: "numeric"
11197
- });
11198
- }
11199
- function Dm(e) {
11200
- return new Date(e).toLocaleTimeString("en-US", {
11201
- hour: "numeric",
11202
- minute: "numeric",
11203
- hour12: !0
11204
- });
11205
- }
11206
- //#endregion
11207
- //#region src/components/detail/timeline.jsx
11208
- function Om({ rows: e = [], getTime: t, getKey: n, renderBody: r, emptyText: i = "Nothing here yet." }) {
11209
- let a = Tm(e, t);
11210
- return a.length ? /* @__PURE__ */ q(g, {
11211
- className: "znx-an-collapse",
11212
- defaultActiveKey: ["0"],
11213
- ghost: !0,
11214
- items: a.map((e, i) => ({
11215
- key: String(i),
11216
- label: wm(e.date),
11217
- children: e.items.map((i, a) => {
11218
- let o = t(i), s = a === e.items.length - 1;
11219
- return /* @__PURE__ */ J("div", {
11220
- className: "znx-an-item",
11221
- children: [/* @__PURE__ */ J("div", {
11222
- className: "znx-an-rail",
11223
- children: [/* @__PURE__ */ q("span", { className: "znx-an-dot" }), !s && /* @__PURE__ */ q("span", { className: "znx-an-line" })]
11224
- }), /* @__PURE__ */ J("div", {
11225
- className: "znx-an-content",
11226
- children: [/* @__PURE__ */ J("div", {
11227
- className: "znx-an-meta",
11228
- children: [/* @__PURE__ */ q("span", {
11229
- className: "znx-an-date",
11230
- children: Em(o)
11231
- }), /* @__PURE__ */ q("span", {
11232
- className: "znx-an-time",
11233
- children: Dm(o)
11234
- })]
11235
- }), r(i)]
11236
- })]
11237
- }, n(i, a));
11238
- })
11239
- }))
11240
- }) : /* @__PURE__ */ q("div", {
11241
- className: "znx-an-empty",
11242
- children: /* @__PURE__ */ q(x, {
11243
- image: x.PRESENTED_IMAGE_SIMPLE,
11244
- description: i
11245
- })
11246
- });
11247
- }
11248
- //#endregion
11249
- //#region src/components/detail/ActivityTab.jsx
11250
- function km(e = "") {
11251
- if (typeof document > "u") return String(e);
11252
- let t = document.createElement("div");
11253
- return t.innerHTML = e, t.textContent || t.innerText || "";
11254
- }
11255
- var Am = [{
11256
- id: "a1",
11257
- activityTime: (/* @__PURE__ */ new Date()).toISOString(),
11258
- activityComments: "Job <b>created</b> and assigned to the recruitment team."
11259
- }, {
11260
- id: "a2",
11261
- activityTime: (/* @__PURE__ */ new Date(Date.now() - 2 * 864e5)).toISOString(),
11262
- activityComments: "Status changed to <b>Active</b>."
11263
- }];
11264
- function jm({ activity: e }) {
11265
- return /* @__PURE__ */ q("div", {
11266
- className: "znx-an-body",
11267
- children: /* @__PURE__ */ q("div", {
11268
- className: "znx-an-scroll",
11269
- children: /* @__PURE__ */ q(Om, {
11270
- rows: i(() => Array.isArray(e) ? e : Am, [e]),
11271
- getTime: (e) => e.activityTime ?? e.createdAt,
11272
- getKey: (e, t) => e.id ?? e._id ?? t,
11273
- emptyText: "No activity here.",
11274
- renderBody: (e) => /* @__PURE__ */ q("div", {
11275
- className: "znx-an-comment",
11276
- children: km(e.activityComments)
11277
- })
11278
- })
11279
- })
11280
- });
11281
- }
11282
- //#endregion
11283
11283
  //#region src/components/detail/NotesTab.jsx
11284
11284
  function Mm(e) {
11285
11285
  let t = e?.user_name ?? e?.userName ?? e?.username, n = `${e?.first_name ?? e?.firstName ?? ""} ${e?.last_name ?? e?.lastName ?? ""}`.trim(), r = e?.email ?? "", i = t ?? n.replace(/\s+/g, "") ?? r ?? String(e?.user_id ?? e?.id ?? ""), a = [
@@ -11366,7 +11366,7 @@ function Fm({ notes: e, users: t = [], onAddNote: n }) {
11366
11366
  })]
11367
11367
  }), /* @__PURE__ */ q("div", {
11368
11368
  className: "znx-an-scroll",
11369
- children: /* @__PURE__ */ q(Om, {
11369
+ children: /* @__PURE__ */ q(rf, {
11370
11370
  rows: _,
11371
11371
  getTime: (e) => e.createdAt ?? e.activityTime,
11372
11372
  getKey: (e, t) => e.id ?? e._id ?? t,
@@ -11420,7 +11420,7 @@ function Im({ moduleName: e, id: t, users: i = [], showActivity: a = !0, showNot
11420
11420
  key: "activity",
11421
11421
  title: "Activity",
11422
11422
  count: Array.isArray(l) ? l.length : void 0,
11423
- children: /* @__PURE__ */ q(jm, { activity: l })
11423
+ children: /* @__PURE__ */ q(sf, { activity: l })
11424
11424
  }, s && {
11425
11425
  key: "notes",
11426
11426
  title: "Notes",
@@ -11473,7 +11473,7 @@ var Lm = /* @__PURE__ */ an({
11473
11473
  key: "main",
11474
11474
  xs: 24,
11475
11475
  lg: 16
11476
- }, e.createElement(Cm, {
11476
+ }, e.createElement(jm, {
11477
11477
  moduleName: "job",
11478
11478
  id: t,
11479
11479
  refreshKey: n,
@@ -11486,7 +11486,7 @@ var Lm = /* @__PURE__ */ an({
11486
11486
  moduleName: "job",
11487
11487
  id: t
11488
11488
  }))) },
11489
- candidates: { render: ({ id: t, onDescriptionSaved: n }) => e.createElement(Qp, {
11489
+ candidates: { render: ({ id: t, onDescriptionSaved: n }) => e.createElement(om, {
11490
11490
  jobId: t,
11491
11491
  onDescriptionSaved: n
11492
11492
  }) }
@@ -11546,7 +11546,7 @@ var Lm = /* @__PURE__ */ an({
11546
11546
  title: "jobTitle",
11547
11547
  eyebrow: ({ val: e }) => {
11548
11548
  let t = [];
11549
- return Lf(Bm(e)) && t.push(zf(Bm(e))), Lf(Vm(e)) && t.push(`MSP Id ${zf(Vm(e))}`), t.length ? t.join(" - ") : Lf(e("jobReferenceId")) ? String(e("jobReferenceId")) : "";
11549
+ return Gf(Bm(e)) && t.push(qf(Bm(e))), Gf(Vm(e)) && t.push(`MSP Id ${qf(Vm(e))}`), t.length ? t.join(" - ") : Gf(e("jobReferenceId")) ? String(e("jobReferenceId")) : "";
11550
11550
  },
11551
11551
  clientName: ({ val: e }) => Bm(e),
11552
11552
  titleIds: [{
@@ -11598,37 +11598,37 @@ var Lm = /* @__PURE__ */ an({
11598
11598
  ]
11599
11599
  }
11600
11600
  }
11601
- }, zm = (e, ...t) => t.map((t) => e(t)).find(Lf), Bm = (e) => zm(e, "clientName", "client.name", "client", "accountName"), Vm = (e) => zm(e, "mspReqId", "mspreqId", "msReqId", "mspId", "mspRequirementId");
11601
+ }, zm = (e, ...t) => t.map((t) => e(t)).find(Gf), Bm = (e) => zm(e, "clientName", "client.name", "client", "accountName"), Vm = (e) => zm(e, "mspReqId", "mspreqId", "msReqId", "mspId", "mspRequirementId");
11602
11602
  function Hm({ val: e }) {
11603
11603
  let t = e("experience.experienceRequiredFrom");
11604
- if (!Lf(t)) return "";
11604
+ if (!Gf(t)) return "";
11605
11605
  let n = e("experience.experienceRequiredTo");
11606
- return `${t}${Lf(n) ? ` - ${n}` : ""} years`;
11606
+ return `${t}${Gf(n) ? ` - ${n}` : ""} years`;
11607
11607
  }
11608
11608
  function Um({ val: e }) {
11609
11609
  let t = e("jobPayDetails") ?? {}, n = t.clientBudgetStart ?? zm(e, "clientBudgetStart", "clientRateStart");
11610
- return Lf(n) ? Hf({
11610
+ return Gf(n) ? Xf({
11611
11611
  start: n,
11612
11612
  end: t.clientBudgetEnd ?? zm(e, "clientBudgetEnd", "clientRateEnd"),
11613
- sym: t.clientBudgetCurrencySymbol ?? Bf(t.clientBudgetCurrency) ?? "",
11613
+ sym: t.clientBudgetCurrencySymbol ?? Jf(t.clientBudgetCurrency) ?? "",
11614
11614
  unit: t.clientBudgetUnit ?? zm(e, "clientBudgetUnit")
11615
11615
  }) : "";
11616
11616
  }
11617
11617
  function Wm({ val: e }) {
11618
11618
  let t = e("submissions"), n = zm(e, "pipelineCount", "PipelineCount", "inPipeline", "inPipelineCount") ?? (Array.isArray(t) ? t.length : void 0);
11619
- return Lf(n) ? n : 0;
11619
+ return Gf(n) ? n : 0;
11620
11620
  }
11621
11621
  function Gm({ val: e, has: t }) {
11622
11622
  let n, r = [];
11623
11623
  t(e("jobReferenceId")) && (n = String(e("jobReferenceId")));
11624
- let i = [e("jobTitle")].filter(t).map(zf).join(" ") || "-", a = null;
11624
+ let i = [e("jobTitle")].filter(t).map(qf).join(" ") || "-", a = null;
11625
11625
  if (t(e("jobSource")) && (a = {
11626
- label: Rf(e("jobSource")),
11626
+ label: Kf(e("jobSource")),
11627
11627
  color: "#10b981",
11628
11628
  textColor: "#ffffff"
11629
11629
  }), t(e("jobLocation")) && r.push({
11630
11630
  icon: "location",
11631
- text: zf(e("jobLocation"))
11631
+ text: qf(e("jobLocation"))
11632
11632
  }), t(e("experience.experienceRequiredFrom"))) {
11633
11633
  let n = e("experience.experienceRequiredFrom"), i = e("experience.experienceRequiredTo");
11634
11634
  r.push({
@@ -11636,7 +11636,7 @@ function Gm({ val: e, has: t }) {
11636
11636
  text: `${n}${t(i) ? ` - ${i}` : ""} years`
11637
11637
  });
11638
11638
  }
11639
- let o = [e("employmentType"), zf(e("jobRemoteStatus"))].filter(t).join(" - ");
11639
+ let o = [e("employmentType"), qf(e("jobRemoteStatus"))].filter(t).join(" - ");
11640
11640
  return o && r.push({
11641
11641
  icon: "employment",
11642
11642
  text: o
@@ -11678,17 +11678,17 @@ var Km = /* @__PURE__ */ an({
11678
11678
  moreActions: [],
11679
11679
  header: {
11680
11680
  title: ["firstName", "lastName"],
11681
- eyebrow: ({ val: e, has: t }) => [Jm(e), e("jobTitle")].filter(t).map(zf).join(" - "),
11681
+ eyebrow: ({ val: e, has: t }) => [Jm(e), e("jobTitle")].filter(t).map(qf).join(" - "),
11682
11682
  clientName: ({ val: e }) => Jm(e),
11683
11683
  status: ({ val: e, has: t }) => {
11684
11684
  let n = e("internalSubmissionStatus") ?? {}, r = n.internalSubmissionStatusText;
11685
11685
  return t(r) ? {
11686
- label: Rf(r),
11686
+ label: Kf(r),
11687
11687
  color: {
11688
11688
  positive: "success",
11689
11689
  negative: "error",
11690
11690
  neutral: "default"
11691
- }[n.internalSubmissionStatusType] ?? Uf(r)
11691
+ }[n.internalSubmissionStatusType] ?? Zf(r)
11692
11692
  } : null;
11693
11693
  },
11694
11694
  ids: [
@@ -11750,22 +11750,22 @@ var Km = /* @__PURE__ */ an({
11750
11750
  }, Jm = (e) => e("clientName") ?? e("client.name");
11751
11751
  function Ym({ val: e }) {
11752
11752
  let t = e("clientBudget") ?? e("candidateBudget") ?? {};
11753
- return Hf({
11753
+ return Xf({
11754
11754
  start: t.clientBudgetStart ?? t.candidateBudgetStart,
11755
11755
  end: t.clientBudgetEnd ?? t.candidateBudgetEnd,
11756
- sym: t.clientBudgetCurrencySymbol ?? t.candidateBudgetCurrencySymbol ?? Bf(t.clientBudgetCurrency ?? t.candidateBudgetCurrency),
11756
+ sym: t.clientBudgetCurrencySymbol ?? t.candidateBudgetCurrencySymbol ?? Jf(t.clientBudgetCurrency ?? t.candidateBudgetCurrency),
11757
11757
  unit: t.clientBudgetUnit ?? t.candidateBudgetUnit ?? "Hour"
11758
11758
  });
11759
11759
  }
11760
11760
  function Xm({ val: e }) {
11761
11761
  let t = e("candidateRate") ?? {}, n = e("proposedRate") ?? {};
11762
- return Hf({
11762
+ return Xf({
11763
11763
  start: t.candidateAcceptedRate,
11764
- sym: t.candidateAcceptedCurrencySymbol ?? Bf(t.candidateAcceptedCurrency),
11764
+ sym: t.candidateAcceptedCurrencySymbol ?? Jf(t.candidateAcceptedCurrency),
11765
11765
  unit: t.candidateAcceptedPayUnit ?? "Hour"
11766
- }) || Hf({
11766
+ }) || Xf({
11767
11767
  start: n.candidateProposedRate,
11768
- sym: n.candidateProposedRateCurrencySymbol ?? Bf(n.candidateProposedRateCurrency),
11768
+ sym: n.candidateProposedRateCurrencySymbol ?? Jf(n.candidateProposedRateCurrency),
11769
11769
  unit: n.candidateProposedRateUnit ?? "Hour"
11770
11770
  });
11771
11771
  }
@@ -11790,10 +11790,10 @@ var Zm = /* @__PURE__ */ an({
11790
11790
  //#region src/components/detail/detailConfig/headerSpec.js
11791
11791
  function $m(e, t) {
11792
11792
  let n = Array.isArray(t) ? t : [t];
11793
- for (let t of n) if (Lf(e(t))) return e(t);
11793
+ for (let t of n) if (Gf(e(t))) return e(t);
11794
11794
  }
11795
11795
  function eh(e, t, n = " ") {
11796
- return t.map((t) => e(t)).filter(Lf).map(zf).join(n);
11796
+ return t.map((t) => e(t)).filter(Gf).map(qf).join(n);
11797
11797
  }
11798
11798
  function th(e, t) {
11799
11799
  let { val: n } = e, r;
@@ -11801,9 +11801,9 @@ function th(e, t) {
11801
11801
  else if (t.join) r = eh(n, t.fields ?? [], t.join);
11802
11802
  else {
11803
11803
  let e = $m(n, t.field);
11804
- r = Lf(e) ? zf(e) : "";
11804
+ r = Gf(e) ? qf(e) : "";
11805
11805
  }
11806
- return Lf(r) ? `${t.prefix ?? ""}${r}${t.suffix ?? ""}` : "";
11806
+ return Gf(r) ? `${t.prefix ?? ""}${r}${t.suffix ?? ""}` : "";
11807
11807
  }
11808
11808
  function nh(e) {
11809
11809
  return typeof e == "function" ? { compute: e } : typeof e == "string" || Array.isArray(e) ? { field: e } : e;
@@ -11813,30 +11813,30 @@ function rh(e = {}, t) {
11813
11813
  if (e.title !== void 0 && (r.title = eh(n, Array.isArray(e.title) ? e.title : [e.title]) || "-"), e.eyebrow !== void 0 && (r.eyebrow = th(t, nh(e.eyebrow)) || void 0), e.clientName !== void 0 && (r.clientName = th(t, nh(e.clientName)) || void 0), e.status !== void 0) if (typeof e.status == "function") r.status = e.status(t) ?? null;
11814
11814
  else {
11815
11815
  let t = $m(n, e.status.field);
11816
- r.status = Lf(t) ? {
11817
- label: Rf(t),
11818
- color: Uf(t)
11816
+ r.status = Gf(t) ? {
11817
+ label: Kf(t),
11818
+ color: Zf(t)
11819
11819
  } : null;
11820
11820
  }
11821
11821
  let i = (e = []) => e.map((e) => {
11822
- let r = typeof e.compute == "function" ? e.compute(t) : zf($m(n, e.field) ?? "");
11822
+ let r = typeof e.compute == "function" ? e.compute(t) : qf($m(n, e.field) ?? "");
11823
11823
  return {
11824
11824
  label: e.label,
11825
11825
  value: r
11826
11826
  };
11827
- }).filter((e) => Lf(e.value));
11827
+ }).filter((e) => Gf(e.value));
11828
11828
  if (e.ids !== void 0 && (r.ids = i(e.ids)), e.titleIds !== void 0 && (r.titleIds = i(e.titleIds)), e.meta !== void 0 && (r.meta = e.meta.map((e) => ({
11829
11829
  icon: e.icon,
11830
11830
  text: th(t, e)
11831
- })).filter((e) => Lf(e.text))), e.stats !== void 0 && (r.stats = e.stats.map((e) => {
11832
- let r = typeof e.compute == "function" ? e.compute(t) : $m(n, e.field), i = Lf(r) ? zf(r) : e.always ? zf(e.fallback ?? 0) : void 0;
11831
+ })).filter((e) => Gf(e.text))), e.stats !== void 0 && (r.stats = e.stats.map((e) => {
11832
+ let r = typeof e.compute == "function" ? e.compute(t) : $m(n, e.field), i = Gf(r) ? qf(r) : e.always ? qf(e.fallback ?? 0) : void 0;
11833
11833
  return {
11834
11834
  label: e.label,
11835
11835
  value: i
11836
11836
  };
11837
11837
  }).filter((e) => e.value !== void 0)), e.timestamp !== void 0) {
11838
- let t = Vf($m(n, e.timestamp.field));
11839
- r.timestamp = Lf(t) ? {
11838
+ let t = Yf($m(n, e.timestamp.field));
11839
+ r.timestamp = Gf(t) ? {
11840
11840
  label: e.timestamp.label,
11841
11841
  value: t
11842
11842
  } : null;
@@ -11846,7 +11846,7 @@ function rh(e = {}, t) {
11846
11846
  //#endregion
11847
11847
  //#region src/components/detail/detailConfig/headerConfig.js
11848
11848
  var ih = /* #__PURE__ */ Object.assign({
11849
- "./modules/candidateConfig.js": Wf,
11849
+ "./modules/candidateConfig.js": Qf,
11850
11850
  "./modules/jobConfig.js": Lm,
11851
11851
  "./modules/submissionConfig.js": Km,
11852
11852
  "./modules/submissionJobConfig.js": Zm
@@ -11895,9 +11895,9 @@ function lh(e = []) {
11895
11895
  }
11896
11896
  function uh(e, t) {
11897
11897
  for (let n of t) if (n.includes("+")) {
11898
- let t = n.split("+").map((t) => e(t)).filter(Lf).map(zf).join(" ");
11898
+ let t = n.split("+").map((t) => e(t)).filter(Gf).map(qf).join(" ");
11899
11899
  if (t) return t;
11900
- } else if (Lf(e(n))) return e(n);
11900
+ } else if (Gf(e(n))) return e(n);
11901
11901
  }
11902
11902
  function dh({ val: e }) {
11903
11903
  let t = uh(e, [
@@ -11915,14 +11915,14 @@ function dh({ val: e }) {
11915
11915
  "designation",
11916
11916
  "jobReferenceId",
11917
11917
  "applicantRefrenceId"
11918
- ]), r = Lf(n) ? zf(n) : void 0, i = uh(e, [
11918
+ ]), r = Gf(n) ? qf(n) : void 0, i = uh(e, [
11919
11919
  "status",
11920
11920
  "jobStatus",
11921
11921
  "submissionStatus",
11922
11922
  "stage"
11923
- ]), a = Lf(i) ? {
11924
- label: Rf(i),
11925
- color: Uf(i)
11923
+ ]), a = Gf(i) ? {
11924
+ label: Kf(i),
11925
+ color: Zf(i)
11926
11926
  } : null, o = [];
11927
11927
  [
11928
11928
  ["Reference ID", [
@@ -11940,9 +11940,9 @@ function dh({ val: e }) {
11940
11940
  ["MS Req ID", ["mspreqId", "mspReqId"]]
11941
11941
  ].forEach(([t, n]) => {
11942
11942
  let r = uh(e, n);
11943
- Lf(r) && o.push({
11943
+ Gf(r) && o.push({
11944
11944
  label: t,
11945
- value: zf(r)
11945
+ value: qf(r)
11946
11946
  });
11947
11947
  });
11948
11948
  let s = [], c = uh(e, [
@@ -11950,16 +11950,16 @@ function dh({ val: e }) {
11950
11950
  "currentLocation",
11951
11951
  "location"
11952
11952
  ]);
11953
- Lf(c) && s.push({
11953
+ Gf(c) && s.push({
11954
11954
  icon: "location",
11955
- text: zf(c)
11955
+ text: qf(c)
11956
11956
  });
11957
11957
  let l = uh(e, ["designation"]);
11958
- Lf(l) && s.push({
11958
+ Gf(l) && s.push({
11959
11959
  icon: "designation",
11960
- text: zf(l)
11960
+ text: qf(l)
11961
11961
  });
11962
- let u = Vf(uh(e, [
11962
+ let u = Yf(uh(e, [
11963
11963
  "createdAt",
11964
11964
  "submittedAt",
11965
11965
  "createdDate"
@@ -11970,7 +11970,7 @@ function dh({ val: e }) {
11970
11970
  status: a,
11971
11971
  ids: o,
11972
11972
  meta: s,
11973
- timestamp: Lf(u) ? {
11973
+ timestamp: Gf(u) ? {
11974
11974
  label: "Created Date",
11975
11975
  value: u
11976
11976
  } : null
@@ -11980,13 +11980,13 @@ function fh(e, t = []) {
11980
11980
  if (!t.length) return null;
11981
11981
  let n = sh(), r = n[ch(e, n)], i = lh(t), a = (e) => i.get(e)?.value, o = dh({
11982
11982
  val: a,
11983
- has: Lf
11983
+ has: Gf
11984
11984
  }), s = r?.buildData ? r.buildData({
11985
11985
  val: a,
11986
- has: Lf
11986
+ has: Gf
11987
11987
  }) ?? {} : r?.header ? rh(r.header, {
11988
11988
  val: a,
11989
- has: Lf
11989
+ has: Gf
11990
11990
  }) : {}, c = (e, t) => Array.isArray(e) && e.length ? e : t ?? [];
11991
11991
  return {
11992
11992
  eyebrow: s.eyebrow ?? o.eyebrow,
@@ -12033,7 +12033,7 @@ function gh(e, t) {
12033
12033
  }
12034
12034
  function _h(e, t) {
12035
12035
  let n = (e ?? []).flatMap((e) => e.fields ?? []), r = n.find((e) => e.field === t) ?? n.find((e) => /resume|cv/i.test(`${e.field ?? ""} ${e.label ?? ""}`));
12036
- return r ? Pf(r.value) : [];
12036
+ return r ? Hf(r.value) : [];
12037
12037
  }
12038
12038
  function vh({ moduleName: e, id: t, customConfigName: n, onAction: a, onTabChange: s, onHeaderData: c, hideActions: l = !1, defaultTab: u }) {
12039
12039
  let d = Ut(), m = Ht(), [h, g] = o([]), [_, v] = o(!1), [y, x] = o([]), S = n || e;
@@ -12045,7 +12045,7 @@ function vh({ moduleName: e, id: t, customConfigName: n, onAction: a, onTabChang
12045
12045
  let [r] = await Promise.all([Fi({
12046
12046
  module: e,
12047
12047
  id: t
12048
- }), vf()]);
12048
+ }), Ef()]);
12049
12049
  n || g(Array.isArray(r) ? r : []);
12050
12050
  } catch (t) {
12051
12051
  console.error(`Failed to fetch ${e} header fields:`, t), n || g([]);
@@ -12200,7 +12200,7 @@ function vh({ moduleName: e, id: t, customConfigName: n, onAction: a, onTabChang
12200
12200
  }
12201
12201
  //#endregion
12202
12202
  //#region src/components/detail/tabContentRegistry.jsx
12203
- var yh = { job: { candidates: ({ id: e, onDescriptionSaved: t }) => /* @__PURE__ */ q(Qp, {
12203
+ var yh = { job: { candidates: ({ id: e, onDescriptionSaved: t }) => /* @__PURE__ */ q(om, {
12204
12204
  jobId: e,
12205
12205
  onDescriptionSaved: t
12206
12206
  }) } };
@@ -12257,7 +12257,7 @@ function wh({ moduleName: e, id: t, backPath: n = "", users: r = [], showActivit
12257
12257
  children: [/* @__PURE__ */ q(h, {
12258
12258
  xs: 24,
12259
12259
  lg: 16,
12260
- children: /* @__PURE__ */ q(Cm, {
12260
+ children: /* @__PURE__ */ q(jm, {
12261
12261
  moduleName: e,
12262
12262
  id: v,
12263
12263
  refreshKey: b,
@@ -15007,7 +15007,7 @@ function K_({ fields: e, moduleName: t }) {
15007
15007
  children: e.label
15008
15008
  }), /* @__PURE__ */ q("div", {
15009
15009
  className: "preview-field-card__description",
15010
- children: /* @__PURE__ */ q(bp, { raw: n })
15010
+ children: /* @__PURE__ */ q(Op, { raw: n })
15011
15011
  })]
15012
15012
  }, e.field ?? e.label) : /* @__PURE__ */ J("div", {
15013
15013
  className: "preview-field-card",
@@ -20926,7 +20926,7 @@ function db() {
20926
20926
  key: "module",
20927
20927
  label: "Module Form",
20928
20928
  children: /* @__PURE__ */ J(K, { children: [
20929
- /* @__PURE__ */ q(Xf, { children: /* @__PURE__ */ J("div", {
20929
+ /* @__PURE__ */ q(ip, { children: /* @__PURE__ */ J("div", {
20930
20930
  className: "fg-scope-toolbar",
20931
20931
  children: [/* @__PURE__ */ J("div", { children: [/* @__PURE__ */ q(Vy, {
20932
20932
  strong: !0,
@@ -20969,7 +20969,7 @@ function db() {
20969
20969
  ]
20970
20970
  })]
20971
20971
  }) }),
20972
- /* @__PURE__ */ q(Xf, { children: /* @__PURE__ */ q(L, {
20972
+ /* @__PURE__ */ q(ip, { children: /* @__PURE__ */ q(L, {
20973
20973
  spinning: n,
20974
20974
  children: /* @__PURE__ */ q(ae, {
20975
20975
  activeKey: l,
@@ -21015,12 +21015,12 @@ function db() {
21015
21015
  }, {
21016
21016
  key: "custom",
21017
21017
  label: "Custom Form",
21018
- children: /* @__PURE__ */ q(Xf, { children: /* @__PURE__ */ q(ub, { moduleOptions: j }) })
21018
+ children: /* @__PURE__ */ q(ip, { children: /* @__PURE__ */ q(ub, { moduleOptions: j }) })
21019
21019
  }];
21020
21020
  return /* @__PURE__ */ J("div", {
21021
21021
  className: "fg-section",
21022
21022
  children: [
21023
- /* @__PURE__ */ J(Xf, {
21023
+ /* @__PURE__ */ J(ip, {
21024
21024
  icon: /* @__PURE__ */ q(le, {}),
21025
21025
  title: "Form Groups",
21026
21026
  extra: b === "module" ? /* @__PURE__ */ J(I, {
@@ -21075,7 +21075,7 @@ function db() {
21075
21075
  ]
21076
21076
  })]
21077
21077
  }),
21078
- /* @__PURE__ */ q(Xf, {
21078
+ /* @__PURE__ */ q(ip, {
21079
21079
  styles: { body: { padding: "0 0" } },
21080
21080
  children: /* @__PURE__ */ q(ae, {
21081
21081
  activeKey: b,
@@ -21410,7 +21410,7 @@ function Sb({ open: e, fieldMeta: t, value: n, onClose: i, onSave: a }) {
21410
21410
  style: { width: "100%" },
21411
21411
  value: x,
21412
21412
  onChange: (e) => h("renderType", e),
21413
- options: yf
21413
+ options: Df
21414
21414
  }),
21415
21415
  /* @__PURE__ */ q($, {
21416
21416
  type: "secondary",
@@ -21434,7 +21434,7 @@ function Sb({ open: e, fieldMeta: t, value: n, onClose: i, onSave: a }) {
21434
21434
  style: { width: "100%" },
21435
21435
  value: y.documentMode || "preview",
21436
21436
  onChange: (e) => b("documentMode", e),
21437
- options: bf
21437
+ options: Of
21438
21438
  })]
21439
21439
  }),
21440
21440
  C && /* @__PURE__ */ J("div", {
@@ -21448,7 +21448,7 @@ function Sb({ open: e, fieldMeta: t, value: n, onClose: i, onSave: a }) {
21448
21448
  style: { width: "100%" },
21449
21449
  value: y.textTransform || "none",
21450
21450
  onChange: (e) => b("textTransform", e === "none" ? void 0 : e),
21451
- options: xf
21451
+ options: kf
21452
21452
  })]
21453
21453
  }),
21454
21454
  S && /* @__PURE__ */ J("div", {
@@ -22009,7 +22009,7 @@ function Eb({ open: e, module: t, onClose: n }) {
22009
22009
  if (!r.trim()) return W.warning("Enter a record _id to preview");
22010
22010
  u(!0), p("");
22011
22011
  try {
22012
- let [e] = await Promise.all([la(t, r.trim()), vf()]);
22012
+ let [e] = await Promise.all([la(t, r.trim()), Ef()]);
22013
22013
  c(e), e.length || p("No groups returned — check the id and module.");
22014
22014
  } catch (e) {
22015
22015
  p(e?.message || "Failed to load preview");
@@ -22084,7 +22084,7 @@ function Eb({ open: e, module: t, onClose: n }) {
22084
22084
  flexShrink: 0
22085
22085
  },
22086
22086
  children: e.label
22087
- }), /* @__PURE__ */ q(mm, { field: e })]
22087
+ }), /* @__PURE__ */ q(Sm, { field: e })]
22088
22088
  }, e.field))]
22089
22089
  }, e.id ?? e.name)), !l && !a.length && !d && /* @__PURE__ */ q(x, {
22090
22090
  description: "Load a record to preview its detail view.",
@@ -22108,7 +22108,7 @@ function Db(e) {
22108
22108
  }), Array.isArray(e?.documentNameOrder) && e.documentNameOrder.length && (t.documentNameOrder = e.documentNameOrder), t;
22109
22109
  }
22110
22110
  function Ob({ open: e, onClose: t }) {
22111
- let [n, i] = o(() => ({ ...hf() })), [a, s] = o(!1);
22111
+ let [n, i] = o(() => ({ ...Cf() })), [a, s] = o(!1);
22112
22112
  r(() => {
22113
22113
  if (!e) return;
22114
22114
  let t = !1;
@@ -22136,7 +22136,7 @@ function Ob({ open: e, onClose: t }) {
22136
22136
  separator: n.separator ?? "",
22137
22137
  documentNameOrder: Array.isArray(n.documentNameOrder) ? n.documentNameOrder : []
22138
22138
  };
22139
- await ca(e), _f(e), W.success("Display defaults saved"), t();
22139
+ await ca(e), Tf(e), W.success("Display defaults saved"), t();
22140
22140
  } catch (e) {
22141
22141
  W.error(e?.message || "Could not save defaults");
22142
22142
  } finally {
@@ -22162,7 +22162,7 @@ function Ob({ open: e, onClose: t }) {
22162
22162
  footer: /* @__PURE__ */ J("div", {
22163
22163
  className: "fg-drawer-footer",
22164
22164
  children: [/* @__PURE__ */ q(f, {
22165
- onClick: () => i({ ...ff }),
22165
+ onClick: () => i({ ...bf }),
22166
22166
  children: "Reset to built-in"
22167
22167
  }), /* @__PURE__ */ q(f, {
22168
22168
  type: "primary",
@@ -22187,7 +22187,7 @@ function Ob({ open: e, onClose: t }) {
22187
22187
  children: "S3 Base URL"
22188
22188
  }), /* @__PURE__ */ q(w, {
22189
22189
  size: "small",
22190
- placeholder: ff.s3BaseUrl,
22190
+ placeholder: bf.s3BaseUrl,
22191
22191
  value: n.s3BaseUrl ?? "",
22192
22192
  onChange: (e) => c("s3BaseUrl", e.target.value),
22193
22193
  className: "fg-mono-input"
@@ -22629,7 +22629,7 @@ function kb() {
22629
22629
  return /* @__PURE__ */ J("div", {
22630
22630
  className: "fg-section",
22631
22631
  children: [
22632
- /* @__PURE__ */ J(Xf, {
22632
+ /* @__PURE__ */ J(ip, {
22633
22633
  icon: /* @__PURE__ */ q(me, {}),
22634
22634
  title: "Detail Groups",
22635
22635
  extra: /* @__PURE__ */ J(I, {
@@ -22693,7 +22693,7 @@ function kb() {
22693
22693
  children: "Customize how each module's detail view renders: per-field label, prefix/suffix, colour, capitalization, hide, reference lookups (id → name), and merged display fields. Applied on top of Form Groups — the add/edit forms are unaffected."
22694
22694
  })]
22695
22695
  }),
22696
- /* @__PURE__ */ q(Xf, { children: /* @__PURE__ */ J(L, {
22696
+ /* @__PURE__ */ q(ip, { children: /* @__PURE__ */ J(L, {
22697
22697
  spinning: n,
22698
22698
  children: [
22699
22699
  /* @__PURE__ */ q(ae, {
@@ -23117,7 +23117,7 @@ function Rb() {
23117
23117
  gap: 16
23118
23118
  },
23119
23119
  children: [
23120
- /* @__PURE__ */ J(Xf, {
23120
+ /* @__PURE__ */ J(ip, {
23121
23121
  icon: /* @__PURE__ */ q(jt, {}),
23122
23122
  title: "Row Action Config",
23123
23123
  children: [
@@ -23132,7 +23132,7 @@ function Rb() {
23132
23132
  })
23133
23133
  ]
23134
23134
  }),
23135
- /* @__PURE__ */ q(Xf, {
23135
+ /* @__PURE__ */ q(ip, {
23136
23136
  icon: /* @__PURE__ */ q(jt, {}),
23137
23137
  title: "Select Config",
23138
23138
  extra: /* @__PURE__ */ q(I, {
@@ -23199,7 +23199,7 @@ function Rb() {
23199
23199
  message: D,
23200
23200
  showIcon: !0
23201
23201
  }),
23202
- /* @__PURE__ */ q(Xf, {
23202
+ /* @__PURE__ */ q(ip, {
23203
23203
  icon: /* @__PURE__ */ q(jt, {}),
23204
23204
  title: /* @__PURE__ */ J(I, { children: [/* @__PURE__ */ q("span", { children: "Actions" }), h ? /* @__PURE__ */ J(B, {
23205
23205
  color: "green",
@@ -25848,12 +25848,12 @@ function Ox() {
25848
25848
  })
25849
25849
  }
25850
25850
  ], T = e ? ix(e) : "";
25851
- return /* @__PURE__ */ J(K, { children: [/* @__PURE__ */ q(Xf, {
25851
+ return /* @__PURE__ */ J(K, { children: [/* @__PURE__ */ q(ip, {
25852
25852
  icon: /* @__PURE__ */ q(kt, {}),
25853
25853
  title: "Users",
25854
25854
  style: { marginBottom: 0 },
25855
25855
  bodyStyle: { padding: 0 },
25856
- children: /* @__PURE__ */ q(Ep, {
25856
+ children: /* @__PURE__ */ q(Pp, {
25857
25857
  listName: "Users",
25858
25858
  dataSource: l,
25859
25859
  fields: w,
@@ -26133,12 +26133,12 @@ function Px() {
26133
26133
  }
26134
26134
  }
26135
26135
  return /* @__PURE__ */ J(K, { children: [
26136
- /* @__PURE__ */ q(Xf, {
26136
+ /* @__PURE__ */ q(ip, {
26137
26137
  icon: /* @__PURE__ */ q(kt, {}),
26138
26138
  title: "Teams",
26139
26139
  style: { marginBottom: 0 },
26140
26140
  bodyStyle: { padding: 0 },
26141
- children: /* @__PURE__ */ q(Ep, {
26141
+ children: /* @__PURE__ */ q(Pp, {
26142
26142
  listName: "Teams",
26143
26143
  dataSource: d,
26144
26144
  fields: [
@@ -26464,12 +26464,12 @@ function zx() {
26464
26464
  function _(e, n = "listView") {
26465
26465
  t(e), c(n), a(!0);
26466
26466
  }
26467
- return /* @__PURE__ */ J(K, { children: [/* @__PURE__ */ q(Xf, {
26467
+ return /* @__PURE__ */ J(K, { children: [/* @__PURE__ */ q(ip, {
26468
26468
  icon: /* @__PURE__ */ q(bt, {}),
26469
26469
  title: "Roles",
26470
26470
  style: { marginBottom: 0 },
26471
26471
  bodyStyle: { padding: 0 },
26472
- children: /* @__PURE__ */ q(Ep, {
26472
+ children: /* @__PURE__ */ q(Pp, {
26473
26473
  listName: "Roles",
26474
26474
  dataSource: l,
26475
26475
  fields: [
@@ -27096,7 +27096,7 @@ function nS() {
27096
27096
  return /* @__PURE__ */ J("div", {
27097
27097
  className: "perm-page",
27098
27098
  children: [
27099
- /* @__PURE__ */ J(Xf, {
27099
+ /* @__PURE__ */ J(ip, {
27100
27100
  className: "perm-left-card",
27101
27101
  icon: /* @__PURE__ */ q(bt, {}),
27102
27102
  title: "Roles",
@@ -27135,7 +27135,7 @@ function nS() {
27135
27135
  })
27136
27136
  })]
27137
27137
  }),
27138
- /* @__PURE__ */ q(Xf, {
27138
+ /* @__PURE__ */ q(ip, {
27139
27139
  className: "perm-right-card",
27140
27140
  icon: /* @__PURE__ */ q(rt, {}),
27141
27141
  title: "Module Permissions",
@@ -27550,7 +27550,7 @@ function pS() {
27550
27550
  gap: 16
27551
27551
  },
27552
27552
  children: [
27553
- /* @__PURE__ */ J(Xf, {
27553
+ /* @__PURE__ */ J(ip, {
27554
27554
  icon: /* @__PURE__ */ q(De, {}),
27555
27555
  title: "Admin Dashboard",
27556
27556
  children: [
@@ -27597,7 +27597,7 @@ function pS() {
27597
27597
  }),
27598
27598
  /* @__PURE__ */ J("div", {
27599
27599
  className: "admin-dashboard-mid-row",
27600
- children: [/* @__PURE__ */ q(oS, {}), /* @__PURE__ */ J(Xf, {
27600
+ children: [/* @__PURE__ */ q(oS, {}), /* @__PURE__ */ J(ip, {
27601
27601
  icon: /* @__PURE__ */ q(G, {}),
27602
27602
  title: "Candidate Pipeline",
27603
27603
  children: [
@@ -27678,7 +27678,7 @@ function pS() {
27678
27678
  }),
27679
27679
  /* @__PURE__ */ J("div", {
27680
27680
  className: "admin-dashboard-bottom-row",
27681
- children: [/* @__PURE__ */ q(Xf, {
27681
+ children: [/* @__PURE__ */ q(ip, {
27682
27682
  icon: /* @__PURE__ */ q(de, {}),
27683
27683
  title: "Top Clients",
27684
27684
  extra: /* @__PURE__ */ q(f, {
@@ -27711,7 +27711,7 @@ function pS() {
27711
27711
  })]
27712
27712
  })]
27713
27713
  }, e.name))
27714
- }), /* @__PURE__ */ q(Xf, {
27714
+ }), /* @__PURE__ */ q(ip, {
27715
27715
  icon: /* @__PURE__ */ q(pe, {}),
27716
27716
  title: "Recent Activity",
27717
27717
  children: fS.map((e, t) => /* @__PURE__ */ J("div", {
@@ -27729,7 +27729,7 @@ function pS() {
27729
27729
  }, t))
27730
27730
  })]
27731
27731
  }),
27732
- /* @__PURE__ */ q(Xf, {
27732
+ /* @__PURE__ */ q(ip, {
27733
27733
  icon: /* @__PURE__ */ q(Ct, {}),
27734
27734
  title: "Admin Configuration Overview",
27735
27735
  extra: /* @__PURE__ */ q(f, {
@@ -27825,7 +27825,7 @@ function mS({ activeSection: e, activeGroup: t, filteredCards: n, searchText: r,
27825
27825
  children: [
27826
27826
  /* @__PURE__ */ q(h, {
27827
27827
  span: 24,
27828
- children: /* @__PURE__ */ J(Xf, {
27828
+ children: /* @__PURE__ */ J(ip, {
27829
27829
  icon: e?.icon,
27830
27830
  title: e?.heading,
27831
27831
  extra: /* @__PURE__ */ q(w, {
@@ -27853,7 +27853,7 @@ function mS({ activeSection: e, activeGroup: t, filteredCards: n, searchText: r,
27853
27853
  xs: 24,
27854
27854
  xl: 16,
27855
27855
  style: { alignSelf: "flex-start" },
27856
- children: /* @__PURE__ */ q(Xf, {
27856
+ children: /* @__PURE__ */ q(ip, {
27857
27857
  icon: /* @__PURE__ */ q(G, {}),
27858
27858
  title: "Configuration Items",
27859
27859
  extra: /* @__PURE__ */ J(sS, {
@@ -27918,7 +27918,7 @@ function mS({ activeSection: e, activeGroup: t, filteredCards: n, searchText: r,
27918
27918
  xs: 24,
27919
27919
  xl: 8,
27920
27920
  style: { alignSelf: "flex-start" },
27921
- children: /* @__PURE__ */ J(Xf, {
27921
+ children: /* @__PURE__ */ J(ip, {
27922
27922
  icon: /* @__PURE__ */ q(Ve, {}),
27923
27923
  title: "Section Overview",
27924
27924
  children: [/* @__PURE__ */ q("div", {
@@ -28000,7 +28000,7 @@ function hS() {
28000
28000
  xs: 24,
28001
28001
  lg: 6,
28002
28002
  xl: 5,
28003
- children: /* @__PURE__ */ J(Xf, {
28003
+ children: /* @__PURE__ */ J(ip, {
28004
28004
  title: "Admin Console",
28005
28005
  icon: /* @__PURE__ */ q(Ct, {}),
28006
28006
  children: [/* @__PURE__ */ J("div", {
@@ -28964,7 +28964,7 @@ function qS() {
28964
28964
  }) })]
28965
28965
  })
28966
28966
  }),
28967
- /* @__PURE__ */ q(Xf, { children: /* @__PURE__ */ J(C, {
28967
+ /* @__PURE__ */ q(ip, { children: /* @__PURE__ */ J(C, {
28968
28968
  form: e,
28969
28969
  className: "v1-form",
28970
28970
  layout: "vertical",
@@ -29739,7 +29739,7 @@ function nC() {
29739
29739
  children: [/* @__PURE__ */ q(Dt, {}), /* @__PURE__ */ q("span", { children: "Added Steps" })]
29740
29740
  }),
29741
29741
  extra: /* @__PURE__ */ q(B, { children: L ? `${_.length} ${L} step(s)` : `${_.length} step(s)` }),
29742
- children: /* @__PURE__ */ q(Ep, {
29742
+ children: /* @__PURE__ */ q(Pp, {
29743
29743
  listName: "Added Steps",
29744
29744
  loading: k,
29745
29745
  fields: QS,
@@ -29879,7 +29879,7 @@ function aC() {
29879
29879
  className: "zt-section-title",
29880
29880
  children: [/* @__PURE__ */ q(G, {}), /* @__PURE__ */ q("span", { children: "Modules" })]
29881
29881
  }),
29882
- children: /* @__PURE__ */ q(Ep, {
29882
+ children: /* @__PURE__ */ q(Pp, {
29883
29883
  listName: "Modules",
29884
29884
  loading: u,
29885
29885
  fields: [
@@ -30093,7 +30093,7 @@ function cC() {
30093
30093
  className: "zt-section-title",
30094
30094
  children: [/* @__PURE__ */ q(G, {}), /* @__PURE__ */ q("span", { children: "Submodules" })]
30095
30095
  }),
30096
- children: /* @__PURE__ */ q(Ep, {
30096
+ children: /* @__PURE__ */ q(Pp, {
30097
30097
  listName: "Submodules",
30098
30098
  loading: u,
30099
30099
  fields: [{
@@ -30267,7 +30267,7 @@ function dC() {
30267
30267
  onClick: () => C(),
30268
30268
  children: "Refresh"
30269
30269
  })]
30270
- }), /* @__PURE__ */ q(Ep, {
30270
+ }), /* @__PURE__ */ q(Pp, {
30271
30271
  listName: "Test Flows",
30272
30272
  loading: l,
30273
30273
  fields: [
@@ -30677,7 +30677,7 @@ function EC() {
30677
30677
  }) })]
30678
30678
  })
30679
30679
  }),
30680
- /* @__PURE__ */ q(Xf, { children: /* @__PURE__ */ J(C, {
30680
+ /* @__PURE__ */ q(ip, { children: /* @__PURE__ */ J(C, {
30681
30681
  form: e,
30682
30682
  className: "v1-form",
30683
30683
  layout: "vertical",
@@ -30942,6 +30942,6 @@ function OC() {
30942
30942
  //#region src/index.js
30943
30943
  var kC = j_(hS), AC = j_(_S), jC = j_(vS), MC = j_(bS), NC = j_(FS), PC = j_(qS), FC = j_(nC), IC = j_(aC), LC = j_(cC), RC = j_(dC), zC = j_(pC), BC = j_(EC), VC = j_(OC);
30944
30944
  //#endregion
30945
- export { X as AUTH_URL, Zd as AddFormV1, kC as AdminPage, Qd as AppAlert, jl as AppButton, t_ as AppShell, $d as AssigneeAvatars, $g as AuthGuard, Ms as Breadcrumb, NC as BulkUploadPage, dn as CANDIDATES_URL, tr as CalendarCard, sl as CustomPagination, df as DescriptionBlock, vh as DetailHeaderCard, wh as DetailViewPage, Cm as DetailViewV1, di as DocumentViewer, Kr as DynamicCards, Dv as DynamicPopup, _y as DynamicPopupRoute, dl as DynamicTabs, fg as EditFormV1, Vg as Header, un as JOBS_URL, jC as JobModuleDetailPage, AC as JobsListPage, rd as ListView, VC as LmsHomePage, BC as LmsTestForm, n_ as Login, P_ as MailPopup, IC as ManageModules, LC as ManageSubmodules, hy as POPUP_CONFIGS, Np as ParamCardView, Ep as ParamListView, q_ as PreviewPopup, A_ as ProjectSelect, ln as SUBMISSIONS_URL, Yg as Sidebar, MC as StickyNotesFullPage, Yf as StylishDynamicTabs, _g as TemplateEditor, PC as TestForm, zC as TestingHomePage, Yr as TipTapEditor, Ny as UserForm, wy as VendorShareDrawer, Al as ViewSummaryWidget, $_ as WizardPopup, RC as ZinnextTableView, FC as ZinnextTestForm, Fn as clearSelectedProject, _s as colors, pn as configureCoreTheme, An as getCurrentRoleName, sr as getModuleConfig, Pn as getSelectedProject, On as getStoredToken, jn as getUserRoles, Mn as isTester, kn as logout, Nn as setSelectedProject, yc as useDropdownFields, Ml as useDropdownValues, vg as useEditForm, bc as useFieldConfig, xc as useFilterFields, Tc as useMenuPermission, j_ as withAuthGuard };
30945
+ export { X as AUTH_URL, sf as ActivityTab, Zd as AddFormV1, kC as AdminPage, Qd as AppAlert, jl as AppButton, t_ as AppShell, cf as AssigneeAvatars, $g as AuthGuard, Ms as Breadcrumb, NC as BulkUploadPage, dn as CANDIDATES_URL, tr as CalendarCard, sl as CustomPagination, yf as DescriptionBlock, vh as DetailHeaderCard, wh as DetailViewPage, jm as DetailViewV1, di as DocumentViewer, Kr as DynamicCards, Dv as DynamicPopup, _y as DynamicPopupRoute, dl as DynamicTabs, fg as EditFormV1, Vg as Header, un as JOBS_URL, jC as JobModuleDetailPage, AC as JobsListPage, rd as ListView, VC as LmsHomePage, BC as LmsTestForm, n_ as Login, P_ as MailPopup, IC as ManageModules, LC as ManageSubmodules, hy as POPUP_CONFIGS, Vp as ParamCardView, Pp as ParamListView, q_ as PreviewPopup, A_ as ProjectSelect, ln as SUBMISSIONS_URL, Yg as Sidebar, MC as StickyNotesFullPage, rp as StylishDynamicTabs, _g as TemplateEditor, PC as TestForm, zC as TestingHomePage, Yr as TipTapEditor, Ny as UserForm, wy as VendorShareDrawer, Al as ViewSummaryWidget, $_ as WizardPopup, RC as ZinnextTableView, FC as ZinnextTestForm, Fn as clearSelectedProject, _s as colors, pn as configureCoreTheme, An as getCurrentRoleName, sr as getModuleConfig, Pn as getSelectedProject, On as getStoredToken, jn as getUserRoles, Mn as isTester, kn as logout, Nn as setSelectedProject, yc as useDropdownFields, Ml as useDropdownValues, vg as useEditForm, bc as useFieldConfig, xc as useFilterFields, Tc as useMenuPermission, j_ as withAuthGuard };
30946
30946
 
30947
30947
  //# sourceMappingURL=index.js.map