@realtek/core-theme 0.0.353 → 0.0.354
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.cjs +6 -6
- package/dist-lib/index.cjs.map +1 -1
- package/dist-lib/index.js +357 -354
- package/dist-lib/index.js.map +1 -1
- package/package.json +1 -1
package/dist-lib/index.js
CHANGED
|
@@ -5439,11 +5439,11 @@ function ch({ filters: e, onRemove: t, onClearAll: n }) {
|
|
|
5439
5439
|
]
|
|
5440
5440
|
});
|
|
5441
5441
|
}
|
|
5442
|
-
function lh({ moduleName: e, authToken: t, actions: n = [], actionRules: r = [], breadcrumbItems: i = [], dataSource: a = [], className: o = "", initialPageSize: s = 10, onAction: c, onSummaryClick: u, rowKey: d, showSummaryButton: f = !1, summaryButtonLabel: m = "View Summary", summaryRoute: h, showFieldButton: g = !0, showFilterButton: _ = !0, fieldButtonLabel: y = "View Field", fieldButtonRoute: x, tabs: S, tabTitleOverrides: C = null, tableClassName: w = "job-list-table", fields: T = nh, fieldOverrides: D = null, extraFields: O = nh, listName: k = "", loading: A = !1, total: j, current: M, pageSize: ee, onPageChange: te, onPageSizeChange: ne, onSearch: N, toolbarExtra: P = null, showSearch: re = !0, searchPlaceholder: ie = "Min 3 Chars, press Enter to search", searchFields: ae = nh, showViewToggle: oe = !1, activeView: se = "list", onViewChange: ce, autoCardForExternalRows: le = !0, createAction: ue, onRecordClick: de, selectedRecordId: fe, selectionMode: pe = "checkbox", compact: me = !1, onSelectionChange: he, selectedSource: ge, onTabChange: _e, fetchData: ve = Ru, responseMapper: ye = kf, queryParams: be = rh, defaultVisibleColumnCount: xe = 6, showAdd: Se = !0,
|
|
5443
|
-
let
|
|
5442
|
+
function lh({ moduleName: e, authToken: t, actions: n = [], actionRules: r = [], breadcrumbItems: i = [], dataSource: a = [], className: o = "", initialPageSize: s = 10, onAction: c, onSummaryClick: u, rowKey: d, showSummaryButton: f = !1, summaryButtonLabel: m = "View Summary", summaryRoute: h, showFieldButton: g = !0, showFilterButton: _ = !0, fieldButtonLabel: y = "View Field", fieldButtonRoute: x, tabs: S, tabTitleOverrides: C = null, tableClassName: w = "job-list-table", fields: T = nh, fieldOverrides: D = null, extraFields: O = nh, listName: k = "", loading: A = !1, total: j, current: M, pageSize: ee, onPageChange: te, onPageSizeChange: ne, onSearch: N, toolbarExtra: P = null, showSearch: re = !0, searchPlaceholder: ie = "Min 3 Chars, press Enter to search", searchFields: ae = nh, showViewToggle: oe = !1, activeView: se = "list", onViewChange: ce, autoCardForExternalRows: le = !0, createAction: ue, onRecordClick: de, selectedRecordId: fe, selectionMode: pe = "checkbox", compact: me = !1, onSelectionChange: he, selectedSource: ge, onTabChange: _e, fetchData: ve = Ru, responseMapper: ye = kf, queryParams: be = rh, defaultVisibleColumnCount: xe = 6, showAdd: Se = !0, redirectOnViewDenied: Ce = !0, lockOuterPageScroll: we = !1 }) {
|
|
5443
|
+
let Te = Ts(), Ee = ws(), De = ti(e), [Oe, ke] = L(() => /* @__PURE__ */ new Set()), [Ae, je] = L(() => /* @__PURE__ */ new Set());
|
|
5444
5444
|
F(() => {
|
|
5445
|
-
if (Om(
|
|
5446
|
-
|
|
5445
|
+
if (Om(De) !== "submissions") {
|
|
5446
|
+
ke(/* @__PURE__ */ new Set()), je(/* @__PURE__ */ new Set());
|
|
5447
5447
|
return;
|
|
5448
5448
|
}
|
|
5449
5449
|
let e = !1, t = new URLSearchParams({
|
|
@@ -5454,104 +5454,105 @@ function lh({ moduleName: e, authToken: t, actions: n = [], actionRules: r = [],
|
|
|
5454
5454
|
return l && t.set("app_id", l), v(E, `/masters/dropdown?${t.toString()}`).then((t) => {
|
|
5455
5455
|
if (e) return;
|
|
5456
5456
|
let n = (Array.isArray(t?.data) ? t.data : []).filter((e) => e?.isTerminalStatus === !0);
|
|
5457
|
-
|
|
5457
|
+
ke(new Set(n.map((e) => Number(e?.id ?? e?.uniqueId ?? 0)).filter((e) => e > 0))), je(new Set(n.map((e) => Om(e?.name)).filter(Boolean)));
|
|
5458
5458
|
}).catch(() => {
|
|
5459
|
-
e || (
|
|
5459
|
+
e || (ke(/* @__PURE__ */ new Set()), je(/* @__PURE__ */ new Set()));
|
|
5460
5460
|
}), () => {
|
|
5461
5461
|
e = !0;
|
|
5462
5462
|
};
|
|
5463
|
-
}, [
|
|
5464
|
-
let
|
|
5465
|
-
current:
|
|
5463
|
+
}, [De]);
|
|
5464
|
+
let Me = !!we, { canView: Ne, canAdd: Pe, canEdit: Fe, canDelete: Ie } = vd(De), { can: Le } = Ed(), Re = JSON.stringify(be ?? rh), ze = I(() => be ?? rh, [Re]), [Be] = Ds(), Ve = eh(Be), [He, Ue] = L(() => String(ge ?? "").trim() || "all"), [We, Ge] = L(""), [Ke, qe] = L(""), [Je, Ye] = L(!1), [Xe, Ze] = L([]), [Qe, $e] = L([]), [et, tt] = L([]), [nt, rt] = L(0), [at, ot] = L({
|
|
5465
|
+
current: Ve,
|
|
5466
5466
|
pageSize: s
|
|
5467
|
-
}), [
|
|
5467
|
+
}), [st, ct] = L({
|
|
5468
5468
|
sort: "",
|
|
5469
5469
|
sortDir: ""
|
|
5470
|
-
}), [
|
|
5470
|
+
}), [lt, ut] = L([]), [dt, ft] = L(!1), [pt, mt] = L([]);
|
|
5471
5471
|
F(() => (t && p(t), () => {
|
|
5472
5472
|
t && b();
|
|
5473
5473
|
}), [t]), F(() => {
|
|
5474
|
-
if (
|
|
5474
|
+
if (Me) return document.documentElement.classList.add("listview-page-scroll-lock"), document.body.classList.add("listview-page-scroll-lock"), () => {
|
|
5475
5475
|
document.documentElement.classList.remove("listview-page-scroll-lock"), document.body.classList.remove("listview-page-scroll-lock");
|
|
5476
5476
|
};
|
|
5477
|
-
}, [
|
|
5478
|
-
let
|
|
5477
|
+
}, [Me]);
|
|
5478
|
+
let ht = ji(null), [gt, _t] = L(0), vt = ji(), yt = ji("");
|
|
5479
5479
|
F(() => {
|
|
5480
|
-
let e =
|
|
5480
|
+
let e = ht.current;
|
|
5481
5481
|
if (!e || typeof ResizeObserver > "u") return;
|
|
5482
5482
|
let t = new ResizeObserver((e) => {
|
|
5483
5483
|
let t = e[0]?.contentRect?.width;
|
|
5484
|
-
typeof t == "number" &&
|
|
5484
|
+
typeof t == "number" && _t(t);
|
|
5485
5485
|
});
|
|
5486
5486
|
return t.observe(e), () => t.disconnect();
|
|
5487
5487
|
}, []);
|
|
5488
|
-
let
|
|
5489
|
-
let n =
|
|
5488
|
+
let bt = (e, t) => String(Nm(e, t, d)), xt = (e, t) => String(bt(e, t)) === String(fe ?? ""), St = (e, t) => {
|
|
5489
|
+
let n = bt(e, t);
|
|
5490
5490
|
n && de?.(e, n);
|
|
5491
|
-
},
|
|
5492
|
-
|
|
5493
|
-
}, [
|
|
5491
|
+
}, Ct = (e, t) => {
|
|
5492
|
+
$e(e), tt(t), he?.(e, t);
|
|
5493
|
+
}, [wt, Tt] = L(a), [Et, Dt] = L(a.length), [Ot, kt] = L([]), [At, jt] = L([]), [Mt, Nt] = L(""), [Pt, Ft] = L([]), [It, Lt] = L([]), [Rt, zt] = L(!1), [Bt, Vt] = L(!1), [Ht, Ut] = L(null), [Wt, Gt] = L(null), [Kt, qt] = L(!1), Jt = !!(te || ne || N), Yt = Jt ? a : wt, Xt = Jt ? j ?? 0 : Et, Zt = Jt ? T : At, Qt = I(() => Yt.some((e) => Dp(e)), [Yt]), $t = I(() => Zt.some((e) => Ep(e)), [Zt]), en = le && (Qt || $t) ? "card" : se, tn = n.length > 0 ? n : Pt, nn = r.length > 0 ? r : It, rn = I(() => Um(tn), [tn]), an = I(() => new Map(Hm(rn).map((e) => [e.key, e])), [rn]), on = I(() => Vm(rn, (e) => {
|
|
5494
5494
|
let t = Od(e);
|
|
5495
|
-
return t === "add" && !
|
|
5495
|
+
return t === "add" && !Pe || t === "edit" && !Fe || t === "delete" && !Ie || !it(Le, e.permission, De) || e.showInList === !1 ? !1 : !e.allowedTabs || e.allowedTabs.some((e) => Om(e) === Om(He));
|
|
5496
5496
|
}), [
|
|
5497
|
-
|
|
5498
|
-
|
|
5499
|
-
|
|
5500
|
-
Ne,
|
|
5497
|
+
rn,
|
|
5498
|
+
He,
|
|
5499
|
+
Le,
|
|
5501
5500
|
Pe,
|
|
5502
5501
|
Fe,
|
|
5503
|
-
|
|
5504
|
-
|
|
5505
|
-
|
|
5506
|
-
|
|
5507
|
-
tn,
|
|
5508
|
-
Ze.length,
|
|
5509
|
-
$e,
|
|
5502
|
+
Ie,
|
|
5503
|
+
De
|
|
5504
|
+
]), sn = I(() => Vm(on, (e) => (Qe.length === 1 || e.allowMultiple || e.danger) && Jm(e, et) && !(Om(De) === "submissions" && Wm(e) && qm(et, Oe, Ae)) && !Wd(e.key, et, nn, He)), [
|
|
5505
|
+
He,
|
|
5510
5506
|
De,
|
|
5511
|
-
|
|
5512
|
-
|
|
5513
|
-
|
|
5507
|
+
nn,
|
|
5508
|
+
Qe.length,
|
|
5509
|
+
et,
|
|
5510
|
+
Oe,
|
|
5511
|
+
Ae,
|
|
5512
|
+
on
|
|
5513
|
+
]), cn = typeof e == "string" ? e.trim().length > 0 : !!e, ln = cn ? `/${De}-create${ue ? `?action=${encodeURIComponent(ue)}` : ""}` : "";
|
|
5514
5514
|
F(() => {
|
|
5515
|
-
|
|
5515
|
+
Ce && cn && !Ne && Te("/", { replace: !0 });
|
|
5516
5516
|
}, [
|
|
5517
|
-
|
|
5518
|
-
|
|
5519
|
-
|
|
5517
|
+
Ne,
|
|
5518
|
+
cn,
|
|
5519
|
+
Te,
|
|
5520
|
+
Ce
|
|
5520
5521
|
]);
|
|
5521
|
-
let
|
|
5522
|
-
let n = new URLSearchParams(
|
|
5522
|
+
let un = (e, { replace: t = !1 } = {}) => {
|
|
5523
|
+
let n = new URLSearchParams(Be);
|
|
5523
5524
|
th(n);
|
|
5524
5525
|
let r = [n.toString(), e > 1 ? `p${e}` : ""].filter(Boolean).join("&");
|
|
5525
|
-
r !==
|
|
5526
|
-
pathname:
|
|
5526
|
+
r !== Ee.search.replace(/^\?/, "") && Te({
|
|
5527
|
+
pathname: Ee.pathname,
|
|
5527
5528
|
search: r ? `?${r}` : ""
|
|
5528
5529
|
}, { replace: t });
|
|
5529
|
-
},
|
|
5530
|
-
|
|
5530
|
+
}, dn = (e, t) => {
|
|
5531
|
+
ot((t) => ({
|
|
5531
5532
|
...t,
|
|
5532
5533
|
current: e
|
|
5533
|
-
})),
|
|
5534
|
-
},
|
|
5535
|
-
|
|
5536
|
-
}, { config:
|
|
5537
|
-
let t =
|
|
5538
|
-
|
|
5534
|
+
})), un(e, t);
|
|
5535
|
+
}, fn = () => {
|
|
5536
|
+
dn(1, { replace: !0 });
|
|
5537
|
+
}, { config: pn, loading: mn, error: hn } = td(!Jt && cn ? e : null), gn = Di((e) => {
|
|
5538
|
+
let t = st.sort === e, n = Ym(st.sortDir, t), r = n ? String(e) : "";
|
|
5539
|
+
ct({
|
|
5539
5540
|
sort: r,
|
|
5540
5541
|
sortDir: n
|
|
5541
|
-
}), typeof N == "function" && N(r, n),
|
|
5542
|
+
}), typeof N == "function" && N(r, n), fn();
|
|
5542
5543
|
}, [
|
|
5543
5544
|
N,
|
|
5544
|
-
|
|
5545
|
-
|
|
5546
|
-
|
|
5545
|
+
fn,
|
|
5546
|
+
st.sort,
|
|
5547
|
+
st.sortDir
|
|
5547
5548
|
]);
|
|
5548
5549
|
F(() => {
|
|
5549
|
-
|
|
5550
|
+
ot((e) => e.current === Ve ? e : {
|
|
5550
5551
|
...e,
|
|
5551
|
-
current:
|
|
5552
|
+
current: Ve
|
|
5552
5553
|
});
|
|
5553
|
-
}, [
|
|
5554
|
-
|
|
5554
|
+
}, [Ve]), F(() => {
|
|
5555
|
+
Jt && ot((e) => {
|
|
5555
5556
|
let t = $m(M ?? e.current), n = Number(ee) > 0 ? Number(ee) : e.pageSize;
|
|
5556
5557
|
return e.current === t && e.pageSize === n ? e : {
|
|
5557
5558
|
current: t,
|
|
@@ -5561,57 +5562,57 @@ function lh({ moduleName: e, authToken: t, actions: n = [], actionRules: r = [],
|
|
|
5561
5562
|
}, [
|
|
5562
5563
|
M,
|
|
5563
5564
|
ee,
|
|
5564
|
-
|
|
5565
|
+
Jt
|
|
5565
5566
|
]);
|
|
5566
|
-
let
|
|
5567
|
+
let _n = Ee.state?.refreshTimestamp;
|
|
5567
5568
|
F(() => {
|
|
5568
|
-
|
|
5569
|
-
}, [
|
|
5570
|
-
let
|
|
5571
|
-
let e = [...Array.isArray(S) ? S : [], ...
|
|
5569
|
+
_n && (Ct([], []), rt((e) => e + 1));
|
|
5570
|
+
}, [_n]);
|
|
5571
|
+
let vn = I(() => {
|
|
5572
|
+
let e = [...Array.isArray(S) ? S : [], ...Ot], t = Am(He);
|
|
5572
5573
|
return e.find((e, n) => Am(km(e, n)) === t);
|
|
5573
5574
|
}, [
|
|
5574
|
-
|
|
5575
|
-
|
|
5575
|
+
He,
|
|
5576
|
+
Ot,
|
|
5576
5577
|
S
|
|
5577
|
-
]),
|
|
5578
|
+
]), yn = vn?.field ?? vn?.fieldName ?? vn?.filterField ?? vn?.dataIndex ?? Mt, bn = jm(He) ? "" : He, xn = !bn && !jm(He) && Om(yn).length > 0, Sn = Ke.trim().length >= 3, Cn = Sn ? Ke.trim() : "", wn = Xe.some((e) => e.field), Tn = Qm({
|
|
5578
5579
|
moduleName: e,
|
|
5579
|
-
activeTabScope:
|
|
5580
|
-
pageSize:
|
|
5581
|
-
sort:
|
|
5582
|
-
sortDir:
|
|
5583
|
-
queryParams:
|
|
5584
|
-
}),
|
|
5580
|
+
activeTabScope: bn,
|
|
5581
|
+
pageSize: at.pageSize,
|
|
5582
|
+
sort: st.sort,
|
|
5583
|
+
sortDir: st.sortDir,
|
|
5584
|
+
queryParams: ze
|
|
5585
|
+
}), En = at.current === 1 && Wt?.key === Tn, Dn = Number(Wt?.total), On = Sn ? Number.isFinite(Dn) && Dn > 0 ? Dn : Et : 0;
|
|
5585
5586
|
F(() => {
|
|
5586
|
-
if (
|
|
5587
|
-
if (!
|
|
5588
|
-
|
|
5587
|
+
if (Jt) return;
|
|
5588
|
+
if (!cn) {
|
|
5589
|
+
Tt([]), Dt(0), kt([]), jt([]), Nt(""), Ft([]), Lt([]), Ut(null);
|
|
5589
5590
|
return;
|
|
5590
5591
|
}
|
|
5591
|
-
let t = Am(
|
|
5592
|
-
if (
|
|
5593
|
-
|
|
5592
|
+
let t = Am(bn);
|
|
5593
|
+
if (yt.current && yt.current === t) {
|
|
5594
|
+
yt.current = "";
|
|
5594
5595
|
return;
|
|
5595
5596
|
}
|
|
5596
|
-
let n = !1, r =
|
|
5597
|
-
return
|
|
5598
|
-
scope:
|
|
5599
|
-
sort:
|
|
5600
|
-
sortDir:
|
|
5601
|
-
search:
|
|
5602
|
-
filters:
|
|
5603
|
-
queryParams:
|
|
5597
|
+
let n = !1, r = Sn && On > at.pageSize, i = r ? On : at.pageSize, a = r ? 0 : (at.current - 1) * at.pageSize;
|
|
5598
|
+
return zt(!(!Sn && !wn && at.current === 1 && En)), Ut(null), ve(e, i, a, {
|
|
5599
|
+
scope: bn,
|
|
5600
|
+
sort: st.sort,
|
|
5601
|
+
sortDir: st.sortDir,
|
|
5602
|
+
search: Cn,
|
|
5603
|
+
filters: Xe,
|
|
5604
|
+
queryParams: ze
|
|
5604
5605
|
}).then((t) => {
|
|
5605
5606
|
if (n) return;
|
|
5606
|
-
let { rows: r, total: i, tabs: a, fields: o, tabField: s, actions: c, actionRules: l } = ye(t, e), u = !ge && jm(
|
|
5607
|
+
let { rows: r, total: i, tabs: a, fields: o, tabField: s, actions: c, actionRules: l } = ye(t, e), u = !ge && jm(He) && Array.isArray(a) && a.length > 0 && !a.some((e, t) => jm(km(e, t))) ? km(a[0], 0) : "", d = Qm({
|
|
5607
5608
|
moduleName: e,
|
|
5608
|
-
activeTabScope: u ? String(u) :
|
|
5609
|
-
pageSize:
|
|
5610
|
-
sort:
|
|
5611
|
-
sortDir:
|
|
5612
|
-
queryParams:
|
|
5609
|
+
activeTabScope: u ? String(u) : bn,
|
|
5610
|
+
pageSize: at.pageSize,
|
|
5611
|
+
sort: st.sort,
|
|
5612
|
+
sortDir: st.sortDir,
|
|
5613
|
+
queryParams: ze
|
|
5613
5614
|
});
|
|
5614
|
-
|
|
5615
|
+
Tt(r), Dt(i), kt(a), jt(o), Nt(s), Ft(c), Lt(l), u && (yt.current = Am(u), Ue((e) => Am(e) === Am(u) ? e : String(u))), !Sn && !wn && at.current === 1 && Gt({
|
|
5615
5616
|
key: d,
|
|
5616
5617
|
rows: r,
|
|
5617
5618
|
total: i,
|
|
@@ -5622,35 +5623,35 @@ function lh({ moduleName: e, authToken: t, actions: n = [], actionRules: r = [],
|
|
|
5622
5623
|
actionRules: l
|
|
5623
5624
|
});
|
|
5624
5625
|
}).catch((e) => {
|
|
5625
|
-
n || (
|
|
5626
|
+
n || (Tt([]), Dt(0), kt([]), jt([]), Nt(""), Ft([]), Lt([]), Ut(e.message), cn && q.error("Invalid module name or data could not be loaded."));
|
|
5626
5627
|
}).finally(() => {
|
|
5627
|
-
n || (
|
|
5628
|
+
n || (zt(!1), Vt(!0));
|
|
5628
5629
|
}), () => {
|
|
5629
5630
|
n = !0;
|
|
5630
5631
|
};
|
|
5631
5632
|
}, [
|
|
5632
|
-
Sn,
|
|
5633
|
-
Ve,
|
|
5634
|
-
yn,
|
|
5635
|
-
Ye,
|
|
5636
|
-
ve,
|
|
5637
5633
|
Cn,
|
|
5638
|
-
|
|
5639
|
-
|
|
5640
|
-
|
|
5634
|
+
He,
|
|
5635
|
+
bn,
|
|
5636
|
+
Xe,
|
|
5637
|
+
ve,
|
|
5638
|
+
wn,
|
|
5639
|
+
Sn,
|
|
5640
|
+
cn,
|
|
5641
|
+
Jt,
|
|
5641
5642
|
e,
|
|
5642
|
-
|
|
5643
|
-
|
|
5644
|
-
|
|
5643
|
+
at.current,
|
|
5644
|
+
at.pageSize,
|
|
5645
|
+
nt,
|
|
5645
5646
|
ye,
|
|
5646
|
-
|
|
5647
|
+
On,
|
|
5647
5648
|
ge,
|
|
5648
|
-
|
|
5649
|
-
|
|
5650
|
-
|
|
5649
|
+
st.sort,
|
|
5650
|
+
st.sortDir,
|
|
5651
|
+
ze
|
|
5651
5652
|
]);
|
|
5652
|
-
let
|
|
5653
|
-
let e =
|
|
5653
|
+
let kn = I(() => {
|
|
5654
|
+
let e = Jt && Array.isArray(T) && T.length, t = !Jt && Array.isArray(At) && At.length, n = !hn && Array.isArray(pn) && pn.length, r = e ? T : t ? At : n ? pn : [], i = new Map(At.map((e) => [vp(e), e]).filter(([e]) => e)), a = r.map((e) => {
|
|
5654
5655
|
let t = vp(e), n = i.get(t) ?? {}, r = t && D && typeof D == "object" ? D[t] : null, a = r?.renderConfig ? {
|
|
5655
5656
|
...n.renderConfig ?? e.renderConfig ?? {},
|
|
5656
5657
|
...r.renderConfig
|
|
@@ -5675,50 +5676,50 @@ function lh({ moduleName: e, authToken: t, actions: n = [], actionRules: r = [],
|
|
|
5675
5676
|
}).filter(Boolean);
|
|
5676
5677
|
return am([...a, ...o]);
|
|
5677
5678
|
}, [
|
|
5678
|
-
|
|
5679
|
-
|
|
5679
|
+
pn,
|
|
5680
|
+
hn,
|
|
5680
5681
|
T,
|
|
5681
5682
|
O,
|
|
5682
5683
|
D,
|
|
5683
|
-
|
|
5684
|
-
|
|
5685
|
-
]),
|
|
5684
|
+
Jt,
|
|
5685
|
+
At
|
|
5686
|
+
]), An = I(() => kn.filter((e) => typeof e.isVisible == "boolean" ? e.isVisible : typeof e.isVisible != "string" || e.isVisible.toLowerCase() === "true").map((e) => ({
|
|
5686
5687
|
key: e.key,
|
|
5687
5688
|
label: e.label
|
|
5688
|
-
})), [
|
|
5689
|
-
let e =
|
|
5689
|
+
})), [kn]), jn = An.map((e) => e.key), Mn = lt.filter((e) => jn.includes(e)), Nn = Mn.length ? Mn : An.slice(0, xe).map((e) => e.key), Pn = Math.min(xe, An.length), Fn = Nn.length > xe, In = I(() => kn.filter((e) => !e.cardHidden && (e.tableHidden || Nn.includes(e.key))), [kn, Nn]), Ln = I(() => {
|
|
5690
|
+
let e = We.toLowerCase(), t = Yt, n = xn ? t.filter((e) => Mm(e, He, vn, kn, yn)) : t, r = ae.length ? kn.filter((e) => ae.includes(e.key)) : kn;
|
|
5690
5691
|
return !e || e.length < 3 ? n : n.filter((t) => r.some((n) => String(Op(t, n.key)).toLowerCase().includes(e) || dm(n).some((n) => String(Op(t, n)).toLowerCase().includes(e))));
|
|
5691
5692
|
}, [
|
|
5692
|
-
|
|
5693
|
-
_n,
|
|
5693
|
+
He,
|
|
5694
5694
|
vn,
|
|
5695
|
-
|
|
5696
|
-
|
|
5697
|
-
|
|
5698
|
-
|
|
5695
|
+
yn,
|
|
5696
|
+
xn,
|
|
5697
|
+
Yt,
|
|
5698
|
+
kn,
|
|
5699
|
+
We,
|
|
5699
5700
|
ae
|
|
5700
|
-
]),
|
|
5701
|
-
if (!
|
|
5702
|
-
let e = (
|
|
5703
|
-
return
|
|
5701
|
+
]), Rn = I(() => {
|
|
5702
|
+
if (!Sn) return Ln;
|
|
5703
|
+
let e = (at.current - 1) * at.pageSize;
|
|
5704
|
+
return Ln.slice(e, e + at.pageSize);
|
|
5704
5705
|
}, [
|
|
5705
|
-
|
|
5706
|
-
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
]),
|
|
5710
|
-
let t = Array.isArray(S) ? S : [], n = !t.length, r = t.length ? t :
|
|
5706
|
+
Ln,
|
|
5707
|
+
Sn,
|
|
5708
|
+
at.current,
|
|
5709
|
+
at.pageSize
|
|
5710
|
+
]), zn = Sn ? Ln.length : Xt, Bn = Ke.trim().length >= 3, Vn = String(Ln.length).padStart(2, "0"), Hn = Xt > 0 || Yt.length > 0, Un = Hn || We.trim().length > 0 || Ke.trim().length > 0, Wn = cn ? Ht ? "Invalid module name or data could not be loaded." : hn ? "Field configuration failed to load." : "No data found." : "Please provide a module name to view data.", Gn = I(() => !C || typeof C != "object" ? null : Object.entries(C).reduce((e, [t, n]) => (n == null || (e[String(t)] = String(n)), e), {}), [C]), Kn = I(() => {
|
|
5711
|
+
let t = Array.isArray(S) ? S : [], n = !t.length, r = t.length ? t : Ot.length ? Ot : [{
|
|
5711
5712
|
key: "all",
|
|
5712
5713
|
title: e ?? "List",
|
|
5713
|
-
count:
|
|
5714
|
-
}], i = !!(
|
|
5714
|
+
count: zn
|
|
5715
|
+
}], i = !!(Gn && Object.keys(Gn).length);
|
|
5715
5716
|
return !n && !i ? r : r.map((e, t) => {
|
|
5716
5717
|
if (!e || typeof e != "object") return e;
|
|
5717
|
-
let r = i ?
|
|
5718
|
+
let r = i ? Gn[String(km(e, t))] : void 0;
|
|
5718
5719
|
if (!r && !n) return e;
|
|
5719
5720
|
let a = { ...e };
|
|
5720
5721
|
if (r && (a.title = r), n) {
|
|
5721
|
-
if (
|
|
5722
|
+
if (Bt) {
|
|
5722
5723
|
let t = Number(e.count ?? e.countValue);
|
|
5723
5724
|
a.count = Number.isFinite(t) ? t : 0;
|
|
5724
5725
|
} else delete a.count, delete a.countValue;
|
|
@@ -5726,56 +5727,56 @@ function lh({ moduleName: e, authToken: t, actions: n = [], actionRules: r = [],
|
|
|
5726
5727
|
return a;
|
|
5727
5728
|
});
|
|
5728
5729
|
}, [
|
|
5729
|
-
|
|
5730
|
+
Bt,
|
|
5730
5731
|
e,
|
|
5731
|
-
|
|
5732
|
-
|
|
5733
|
-
|
|
5732
|
+
Ot,
|
|
5733
|
+
Gn,
|
|
5734
|
+
zn,
|
|
5734
5735
|
S
|
|
5735
5736
|
]);
|
|
5736
5737
|
F(() => {
|
|
5737
|
-
if (!
|
|
5738
|
-
let e = Am(
|
|
5739
|
-
if (!
|
|
5740
|
-
let e = km(
|
|
5741
|
-
e &&
|
|
5738
|
+
if (!Kn.length || !((Ot?.length ?? 0) > 0 || Array.isArray(S) && S.length > 0)) return;
|
|
5739
|
+
let e = Am(He);
|
|
5740
|
+
if (!Kn.some((t, n) => Am(km(t, n)) === e)) {
|
|
5741
|
+
let e = km(Kn[0], 0);
|
|
5742
|
+
e && Ue(String(e));
|
|
5742
5743
|
}
|
|
5743
5744
|
}, [
|
|
5744
|
-
|
|
5745
|
-
|
|
5746
|
-
|
|
5745
|
+
He,
|
|
5746
|
+
Kn,
|
|
5747
|
+
Ot,
|
|
5747
5748
|
S
|
|
5748
5749
|
]), F(() => {
|
|
5749
|
-
if (ge === void 0 || !
|
|
5750
|
-
let e =
|
|
5750
|
+
if (ge === void 0 || !Kn.length) return;
|
|
5751
|
+
let e = Kn.find((e, t) => Am(km(e, t)) === Am(ge));
|
|
5751
5752
|
if (!e) return;
|
|
5752
|
-
let t = String(km(e,
|
|
5753
|
-
(ge !==
|
|
5753
|
+
let t = String(km(e, Kn.indexOf(e)));
|
|
5754
|
+
(ge !== vt.current || Am(He) !== Am(t)) && (vt.current = ge, Ue((e) => Am(e) === Am(t) ? e : t));
|
|
5754
5755
|
}, [
|
|
5755
|
-
|
|
5756
|
-
|
|
5756
|
+
He,
|
|
5757
|
+
Kn,
|
|
5757
5758
|
ge
|
|
5758
5759
|
]);
|
|
5759
|
-
let
|
|
5760
|
-
let t =
|
|
5760
|
+
let qn = (e) => {
|
|
5761
|
+
let t = kn.map((e) => {
|
|
5761
5762
|
let t = {};
|
|
5762
5763
|
return Object.entries(e).forEach(([e, n]) => {
|
|
5763
5764
|
typeof n != "function" && (t[e] = n);
|
|
5764
5765
|
}), t;
|
|
5765
5766
|
});
|
|
5766
|
-
|
|
5767
|
-
background:
|
|
5768
|
-
moduleName:
|
|
5767
|
+
Te("/popup/preview", { state: {
|
|
5768
|
+
background: Ee,
|
|
5769
|
+
moduleName: De,
|
|
5769
5770
|
record: e,
|
|
5770
5771
|
fields: t
|
|
5771
5772
|
} });
|
|
5772
|
-
},
|
|
5773
|
+
}, Jn = (e, t, n = {}) => {
|
|
5773
5774
|
let r = Vp(e, t), i = r.startsWith("/") ? r : `/${r}`, a = t?._id ?? t?.id;
|
|
5774
|
-
|
|
5775
|
-
background:
|
|
5775
|
+
Te(i, { state: {
|
|
5776
|
+
background: Ee,
|
|
5776
5777
|
selectedIds: a === void 0 ? [] : [a],
|
|
5777
5778
|
selectedRecords: [t],
|
|
5778
|
-
moduleName:
|
|
5779
|
+
moduleName: De,
|
|
5779
5780
|
popupContext: n.popupState ?? {},
|
|
5780
5781
|
popupAction: {
|
|
5781
5782
|
key: n.key,
|
|
@@ -5790,7 +5791,7 @@ function lh({ moduleName: e, authToken: t, actions: n = [], actionRules: r = [],
|
|
|
5790
5791
|
requireJobId: n.requireJobId,
|
|
5791
5792
|
...n.popupState
|
|
5792
5793
|
} });
|
|
5793
|
-
},
|
|
5794
|
+
}, Yn = I(() => {
|
|
5794
5795
|
let e = {
|
|
5795
5796
|
dataIndex: "icons",
|
|
5796
5797
|
key: "icons",
|
|
@@ -5804,7 +5805,7 @@ function lh({ moduleName: e, authToken: t, actions: n = [], actionRules: r = [],
|
|
|
5804
5805
|
type: "button",
|
|
5805
5806
|
className: "job-row-eye-button",
|
|
5806
5807
|
"aria-label": "Preview job",
|
|
5807
|
-
onClick: () =>
|
|
5808
|
+
onClick: () => qn(t),
|
|
5808
5809
|
children: /* @__PURE__ */ Y("img", {
|
|
5809
5810
|
src: mp,
|
|
5810
5811
|
alt: "",
|
|
@@ -5815,69 +5816,69 @@ function lh({ moduleName: e, authToken: t, actions: n = [], actionRules: r = [],
|
|
|
5815
5816
|
children: /* @__PURE__ */ Y(Co, { className: "job-row-linkedin-icon" })
|
|
5816
5817
|
})]
|
|
5817
5818
|
})
|
|
5818
|
-
}, t =
|
|
5819
|
-
let n =
|
|
5819
|
+
}, t = kn.filter((e) => Nn.includes(e.key)).map((e, t) => {
|
|
5820
|
+
let n = st.sort === e.key ? st.sortDir : "";
|
|
5820
5821
|
return {
|
|
5821
5822
|
title: Zm({
|
|
5822
5823
|
label: e.label,
|
|
5823
5824
|
sortDir: n,
|
|
5824
|
-
sortable:
|
|
5825
|
-
onSort: () =>
|
|
5825
|
+
sortable: Hn,
|
|
5826
|
+
onSort: () => gn(e.key)
|
|
5826
5827
|
}),
|
|
5827
5828
|
dataIndex: e.key,
|
|
5828
5829
|
key: e.key,
|
|
5829
5830
|
fixed: t === 0 ? "left" : void 0,
|
|
5830
5831
|
ellipsis: { showTitle: !1 },
|
|
5831
|
-
width: Dm(e,
|
|
5832
|
-
render: (t, n) => ym(e, n,
|
|
5833
|
-
canAdd:
|
|
5834
|
-
canEdit:
|
|
5835
|
-
canDelete:
|
|
5836
|
-
},
|
|
5832
|
+
width: Dm(e, Rn),
|
|
5833
|
+
render: (t, n) => ym(e, n, Ke, Jn, {
|
|
5834
|
+
canAdd: Pe,
|
|
5835
|
+
canEdit: Fe,
|
|
5836
|
+
canDelete: Ie
|
|
5837
|
+
}, nn, bn)
|
|
5837
5838
|
};
|
|
5838
5839
|
});
|
|
5839
|
-
if (!(
|
|
5840
|
-
let n = e.width + (
|
|
5840
|
+
if (!(Fn || Jt) && gt > 0 && t.length > 0) {
|
|
5841
|
+
let n = e.width + (Hn && pe === "checkbox" ? 48 : 0) + Em, r = t.reduce((e, t) => e + t.width, 0), i = gt - n - r;
|
|
5841
5842
|
i > 0 && r > 0 && t.forEach((e) => {
|
|
5842
5843
|
e.width = Math.floor(e.width + i * (e.width / r));
|
|
5843
5844
|
});
|
|
5844
5845
|
}
|
|
5845
5846
|
return [e, ...t];
|
|
5846
5847
|
}, [
|
|
5847
|
-
|
|
5848
|
-
Ne,
|
|
5849
|
-
Fe,
|
|
5848
|
+
He,
|
|
5850
5849
|
Pe,
|
|
5851
|
-
|
|
5852
|
-
|
|
5853
|
-
|
|
5854
|
-
|
|
5855
|
-
|
|
5856
|
-
|
|
5857
|
-
|
|
5850
|
+
Ie,
|
|
5851
|
+
Fe,
|
|
5852
|
+
Ke,
|
|
5853
|
+
nn,
|
|
5854
|
+
gn,
|
|
5855
|
+
Fn,
|
|
5856
|
+
Hn,
|
|
5857
|
+
Jt,
|
|
5858
|
+
Ee,
|
|
5858
5859
|
e,
|
|
5859
|
-
|
|
5860
|
-
|
|
5861
|
-
|
|
5860
|
+
Te,
|
|
5861
|
+
kn,
|
|
5862
|
+
Rn,
|
|
5862
5863
|
pe,
|
|
5863
|
-
|
|
5864
|
-
|
|
5865
|
-
|
|
5866
|
-
|
|
5867
|
-
|
|
5868
|
-
]),
|
|
5869
|
-
let t =
|
|
5870
|
-
if (
|
|
5864
|
+
st.sort,
|
|
5865
|
+
st.sortDir,
|
|
5866
|
+
gt,
|
|
5867
|
+
on,
|
|
5868
|
+
Nn
|
|
5869
|
+
]), Xn = Di((e) => {
|
|
5870
|
+
let t = Kn.find((t, n) => Am(km(t, n)) === Am(e)), n = String(t ? km(t, Kn.indexOf(t)) : e);
|
|
5871
|
+
if (Ue(n), $e([]), tt([]), fn(), typeof _e == "function") {
|
|
5871
5872
|
let e = t?.key ?? t?.value ?? t?.id ?? n;
|
|
5872
|
-
|
|
5873
|
+
vt.current = e, _e(e);
|
|
5873
5874
|
}
|
|
5874
5875
|
}, [
|
|
5875
5876
|
_e,
|
|
5876
|
-
|
|
5877
|
-
|
|
5877
|
+
Kn,
|
|
5878
|
+
fn
|
|
5878
5879
|
]);
|
|
5879
|
-
function
|
|
5880
|
-
let r =
|
|
5880
|
+
function Zn(e, t, n) {
|
|
5881
|
+
let r = an.get(String(e));
|
|
5881
5882
|
if (r && r.actionType !== "group") {
|
|
5882
5883
|
if (typeof c == "function" && c({
|
|
5883
5884
|
key: r.key,
|
|
@@ -5906,24 +5907,24 @@ function lh({ moduleName: e, authToken: t, actions: n = [], actionRules: r = [],
|
|
|
5906
5907
|
records: n
|
|
5907
5908
|
})
|
|
5908
5909
|
}).then(() => {
|
|
5909
|
-
q.success(`${r.label} completed`),
|
|
5910
|
+
q.success(`${r.label} completed`), rt((e) => e + 1);
|
|
5910
5911
|
}).catch((e) => q.error(e.message || `${r.label} failed`));
|
|
5911
5912
|
return;
|
|
5912
5913
|
}
|
|
5913
5914
|
if (r.route) {
|
|
5914
5915
|
let e = n[0] ?? {}, i = Vp(r.route, e), a = i.startsWith("/") ? i : `/${i}`;
|
|
5915
5916
|
if (r.route.startsWith("/popup/") || r.route.startsWith("popup/")) {
|
|
5916
|
-
let i = r.popupKey || r.route?.replace(/^\/popup\//i, "") || "", o = /(?:^|\/)(?:quick(?:-|_)?submit|submit)(?:$|\/)/i.test(i), s = new URLSearchParams(
|
|
5917
|
+
let i = r.popupKey || r.route?.replace(/^\/popup\//i, "") || "", o = /(?:^|\/)(?:quick(?:-|_)?submit|submit)(?:$|\/)/i.test(i), s = new URLSearchParams(Ee.search).get("jobId"), c = r.popupState?.jobId ?? r.popupState?.jobID ?? r.popupState?.jobId ?? e.jobId ?? e.job?.id ?? e.job?._id ?? s, l = r.popupState?.candidateId ?? r.popupState?.applicantId ?? e.id ?? e._id ?? e.applicantId ?? e.candidateId;
|
|
5917
5918
|
if (o && c && l) {
|
|
5918
5919
|
let e = new URLSearchParams();
|
|
5919
|
-
e.set("candidateId", String(l)), e.set("isFromSubmission", "false"),
|
|
5920
|
+
e.set("candidateId", String(l)), e.set("isFromSubmission", "false"), Te(`/submission-create/${encodeURIComponent(String(c))}?${e.toString()}`);
|
|
5920
5921
|
return;
|
|
5921
5922
|
}
|
|
5922
|
-
|
|
5923
|
-
background:
|
|
5923
|
+
Te(a, { state: {
|
|
5924
|
+
background: Ee,
|
|
5924
5925
|
selectedIds: t,
|
|
5925
5926
|
selectedRecords: n,
|
|
5926
|
-
moduleName:
|
|
5927
|
+
moduleName: De,
|
|
5927
5928
|
popupContext: r.popupState ?? {},
|
|
5928
5929
|
popupAction: {
|
|
5929
5930
|
key: r.key,
|
|
@@ -5937,85 +5938,85 @@ function lh({ moduleName: e, authToken: t, actions: n = [], actionRules: r = [],
|
|
|
5937
5938
|
} });
|
|
5938
5939
|
return;
|
|
5939
5940
|
}
|
|
5940
|
-
|
|
5941
|
+
Te(a);
|
|
5941
5942
|
}
|
|
5942
5943
|
}
|
|
5943
5944
|
}
|
|
5944
|
-
function
|
|
5945
|
-
let t = Hm(
|
|
5946
|
-
t && Bm(t,
|
|
5945
|
+
function Qn({ key: e }) {
|
|
5946
|
+
let t = Hm(sn).find((t) => String(t.key) === String(e));
|
|
5947
|
+
t && Bm(t, et, He) || Zn(e, Qe, et);
|
|
5947
5948
|
}
|
|
5948
|
-
let
|
|
5949
|
-
|
|
5950
|
-
let r =
|
|
5951
|
-
return t ? i.includes(e) ? i : [...i, e] : i.length <=
|
|
5949
|
+
let $n = Nn.length === An.length, er = Nn.length > 0 && !$n, tr = (e, t) => {
|
|
5950
|
+
ut((n) => {
|
|
5951
|
+
let r = An.slice(0, xe).map((e) => e.key), i = n.length ? n : r;
|
|
5952
|
+
return t ? i.includes(e) ? i : [...i, e] : i.length <= Pn ? i : i.filter((t) => t !== e);
|
|
5952
5953
|
});
|
|
5953
|
-
},
|
|
5954
|
+
}, nr = () => {
|
|
5954
5955
|
if (typeof u == "function") {
|
|
5955
5956
|
u();
|
|
5956
5957
|
return;
|
|
5957
5958
|
}
|
|
5958
5959
|
if (h) {
|
|
5959
|
-
|
|
5960
|
+
Te(h);
|
|
5960
5961
|
return;
|
|
5961
5962
|
}
|
|
5962
|
-
|
|
5963
|
-
},
|
|
5964
|
-
x &&
|
|
5963
|
+
qt(!0);
|
|
5964
|
+
}, rr = () => {
|
|
5965
|
+
x && Te(x);
|
|
5965
5966
|
};
|
|
5966
5967
|
F(() => {
|
|
5967
|
-
if (!
|
|
5968
|
+
if (!Kt) return;
|
|
5968
5969
|
let e = (e) => {
|
|
5969
|
-
e.key === "Escape" &&
|
|
5970
|
+
e.key === "Escape" && qt(!1);
|
|
5970
5971
|
};
|
|
5971
5972
|
return window.addEventListener("keydown", e), () => window.removeEventListener("keydown", e);
|
|
5972
|
-
}, [
|
|
5973
|
-
let
|
|
5974
|
-
|
|
5975
|
-
},
|
|
5976
|
-
let t = e.target.value, n = t.trim().length < 3, r =
|
|
5977
|
-
n && (
|
|
5978
|
-
}, ar = () => {
|
|
5979
|
-
let e = Ue.trim();
|
|
5980
|
-
e.length >= 3 && (Ke(e), dn());
|
|
5973
|
+
}, [Kt]);
|
|
5974
|
+
let ir = () => {
|
|
5975
|
+
En && (Tt(Wt.rows), Dt(Wt.total), kt(Wt.tabs), jt(Wt.fields), Nt(Wt.tabField), Ft(Wt.actions ?? []), Lt(Wt.actionRules ?? []), Ut(null), zt(!1));
|
|
5976
|
+
}, ar = (e) => {
|
|
5977
|
+
let t = e.target.value, n = t.trim().length < 3, r = Xe.some((e) => e.field);
|
|
5978
|
+
n && (qe(""), r || ir()), Ge(t), fn();
|
|
5981
5979
|
}, or = () => {
|
|
5982
|
-
|
|
5980
|
+
let e = We.trim();
|
|
5981
|
+
e.length >= 3 && (qe(e), fn());
|
|
5982
|
+
}, sr = () => {
|
|
5983
|
+
ir(), Ze([]), Ct([], []), fn();
|
|
5983
5984
|
};
|
|
5984
5985
|
F(() => {
|
|
5985
|
-
|
|
5986
|
+
en === "card" && (mt([]), Ct([], []));
|
|
5986
5987
|
}, [
|
|
5987
|
-
|
|
5988
|
-
|
|
5989
|
-
|
|
5990
|
-
|
|
5988
|
+
at.current,
|
|
5989
|
+
at.pageSize,
|
|
5990
|
+
He,
|
|
5991
|
+
en
|
|
5991
5992
|
]);
|
|
5992
|
-
let
|
|
5993
|
-
|
|
5994
|
-
let n = t.includes(e) ? t.filter((t) => t !== e) : [...t, e], r =
|
|
5995
|
-
return
|
|
5993
|
+
let cr = (e) => {
|
|
5994
|
+
mt((t) => {
|
|
5995
|
+
let n = t.includes(e) ? t.filter((t) => t !== e) : [...t, e], r = Rn.filter((e, t) => n.includes(String(Nm(e, t, d))));
|
|
5996
|
+
return Ct(n, r), n;
|
|
5996
5997
|
});
|
|
5997
|
-
},
|
|
5998
|
+
}, lr = /* @__PURE__ */ X("div", {
|
|
5998
5999
|
className: "column-visibility-menu",
|
|
5999
6000
|
onClick: (e) => e.stopPropagation(),
|
|
6000
6001
|
children: [/* @__PURE__ */ Y(Ri, {
|
|
6001
|
-
checked:
|
|
6002
|
-
indeterminate:
|
|
6002
|
+
checked: $n,
|
|
6003
|
+
indeterminate: er,
|
|
6003
6004
|
onChange: (e) => {
|
|
6004
|
-
|
|
6005
|
+
ut(e.target.checked ? An.map((e) => e.key) : An.slice(0, xe).map((e) => e.key));
|
|
6005
6006
|
},
|
|
6006
6007
|
children: "Select All"
|
|
6007
6008
|
}), /* @__PURE__ */ Y("div", {
|
|
6008
6009
|
className: "column-visibility-menu__list",
|
|
6009
|
-
children:
|
|
6010
|
-
checked:
|
|
6011
|
-
disabled:
|
|
6012
|
-
onChange: (t) =>
|
|
6010
|
+
children: An.map((e) => /* @__PURE__ */ Y(Ri, {
|
|
6011
|
+
checked: Nn.includes(e.key),
|
|
6012
|
+
disabled: Nn.includes(e.key) && Nn.length <= Pn,
|
|
6013
|
+
onChange: (t) => tr(e.key, t.target.checked),
|
|
6013
6014
|
children: e.label
|
|
6014
6015
|
}, e.key))
|
|
6015
6016
|
})]
|
|
6016
6017
|
});
|
|
6017
6018
|
return /* @__PURE__ */ X("div", {
|
|
6018
|
-
className: `antd dynamic-list-view${me ? " list-view--compact" : ""}${
|
|
6019
|
+
className: `antd dynamic-list-view${me ? " list-view--compact" : ""}${Me ? " list-view--page-scroll-lock" : ""} ${o}`.trim(),
|
|
6019
6020
|
children: [
|
|
6020
6021
|
i.length > 0 && /* @__PURE__ */ Y("div", {
|
|
6021
6022
|
className: "job-list-header",
|
|
@@ -6027,67 +6028,67 @@ function lh({ moduleName: e, authToken: t, actions: n = [], actionRules: r = [],
|
|
|
6027
6028
|
align: "center",
|
|
6028
6029
|
justify: "space-between",
|
|
6029
6030
|
children: [/* @__PURE__ */ Y(Ys, {
|
|
6030
|
-
activeKey:
|
|
6031
|
-
tabs:
|
|
6032
|
-
onChange:
|
|
6031
|
+
activeKey: He,
|
|
6032
|
+
tabs: Kn,
|
|
6033
|
+
onChange: Xn
|
|
6033
6034
|
}), /* @__PURE__ */ X(Gi, {
|
|
6034
6035
|
align: "center",
|
|
6035
6036
|
gap: 8,
|
|
6036
6037
|
children: [
|
|
6037
6038
|
P,
|
|
6038
|
-
|
|
6039
|
+
Un && /* @__PURE__ */ Y(V, {
|
|
6039
6040
|
prefix: /* @__PURE__ */ Y(Ko, { className: "job-search-icon" }),
|
|
6040
6041
|
placeholder: ie,
|
|
6041
|
-
value:
|
|
6042
|
-
onChange:
|
|
6043
|
-
onPressEnter:
|
|
6042
|
+
value: We,
|
|
6043
|
+
onChange: ar,
|
|
6044
|
+
onPressEnter: or,
|
|
6044
6045
|
allowClear: !0,
|
|
6045
6046
|
className: "job-search-input"
|
|
6046
6047
|
}),
|
|
6047
|
-
!
|
|
6048
|
+
!Jt && Pe && Se && /* @__PURE__ */ Y(K, {
|
|
6048
6049
|
title: "Add",
|
|
6049
6050
|
children: /* @__PURE__ */ Y(R, {
|
|
6050
6051
|
"aria-label": "Add",
|
|
6051
6052
|
className: "job-toolbar-icon-button",
|
|
6052
6053
|
icon: /* @__PURE__ */ Y(Fo, {}),
|
|
6053
6054
|
onClick: () => {
|
|
6054
|
-
|
|
6055
|
+
ln && Te(ln);
|
|
6055
6056
|
}
|
|
6056
6057
|
})
|
|
6057
6058
|
}),
|
|
6058
|
-
|
|
6059
|
+
Hn && /* @__PURE__ */ Y(K, {
|
|
6059
6060
|
title: "Filter",
|
|
6060
6061
|
children: /* @__PURE__ */ Y(Fi, {
|
|
6061
|
-
count:
|
|
6062
|
+
count: Xe.filter((e) => e.field && ah(e)).length,
|
|
6062
6063
|
size: "small",
|
|
6063
6064
|
offset: [-2, 2],
|
|
6064
6065
|
children: /* @__PURE__ */ Y(R, {
|
|
6065
6066
|
"aria-label": "Filter",
|
|
6066
6067
|
className: "job-toolbar-icon-button",
|
|
6067
6068
|
icon: /* @__PURE__ */ Y(fo, {}),
|
|
6068
|
-
onClick: () =>
|
|
6069
|
+
onClick: () => Ye(!0)
|
|
6069
6070
|
})
|
|
6070
6071
|
})
|
|
6071
6072
|
}),
|
|
6072
|
-
oe &&
|
|
6073
|
+
oe && Hn && /* @__PURE__ */ X(Gi, {
|
|
6073
6074
|
align: "center",
|
|
6074
6075
|
gap: 6,
|
|
6075
6076
|
children: [/* @__PURE__ */ Y(K, {
|
|
6076
6077
|
title: "List View",
|
|
6077
6078
|
children: /* @__PURE__ */ Y(R, {
|
|
6078
|
-
className: `job-toolbar-icon-button param-view-toggle-btn${
|
|
6079
|
+
className: `job-toolbar-icon-button param-view-toggle-btn${en === "list" ? " param-view-toggle-btn--active" : ""}`,
|
|
6079
6080
|
icon: /* @__PURE__ */ Y(ls, {}),
|
|
6080
6081
|
onClick: () => {
|
|
6081
|
-
ce?.("list"),
|
|
6082
|
+
ce?.("list"), mt([]), Ct([], []);
|
|
6082
6083
|
}
|
|
6083
6084
|
})
|
|
6084
6085
|
}), /* @__PURE__ */ Y(K, {
|
|
6085
6086
|
title: "Card View",
|
|
6086
6087
|
children: /* @__PURE__ */ Y(R, {
|
|
6087
|
-
className: `job-toolbar-icon-button param-view-toggle-btn${
|
|
6088
|
+
className: `job-toolbar-icon-button param-view-toggle-btn${en === "card" ? " param-view-toggle-btn--active" : ""}`,
|
|
6088
6089
|
icon: /* @__PURE__ */ Y(ya, {}),
|
|
6089
6090
|
onClick: () => {
|
|
6090
|
-
ce?.("card"),
|
|
6091
|
+
ce?.("card"), mt([]), Ct([], []);
|
|
6091
6092
|
}
|
|
6092
6093
|
})
|
|
6093
6094
|
})]
|
|
@@ -6095,20 +6096,20 @@ function lh({ moduleName: e, authToken: t, actions: n = [], actionRules: r = [],
|
|
|
6095
6096
|
f && /* @__PURE__ */ Y(R, {
|
|
6096
6097
|
className: "job-summary-button",
|
|
6097
6098
|
type: "primary",
|
|
6098
|
-
onClick:
|
|
6099
|
+
onClick: nr,
|
|
6099
6100
|
children: m
|
|
6100
6101
|
}),
|
|
6101
6102
|
g && x && /* @__PURE__ */ Y(R, {
|
|
6102
6103
|
className: "job-summary-button",
|
|
6103
6104
|
type: "primary",
|
|
6104
|
-
onClick:
|
|
6105
|
+
onClick: rr,
|
|
6105
6106
|
children: y
|
|
6106
6107
|
})
|
|
6107
6108
|
]
|
|
6108
6109
|
})]
|
|
6109
6110
|
})
|
|
6110
6111
|
}),
|
|
6111
|
-
|
|
6112
|
+
Hn && /* @__PURE__ */ Y(J, { children: /* @__PURE__ */ Y(Li, {
|
|
6112
6113
|
className: "job-toolbar-card",
|
|
6113
6114
|
children: /* @__PURE__ */ X(Gi, {
|
|
6114
6115
|
className: "p-flex",
|
|
@@ -6118,24 +6119,24 @@ function lh({ moduleName: e, authToken: t, actions: n = [], actionRules: r = [],
|
|
|
6118
6119
|
align: "center",
|
|
6119
6120
|
gap: 3,
|
|
6120
6121
|
children: [
|
|
6121
|
-
|
|
6122
|
-
checked:
|
|
6123
|
-
indeterminate:
|
|
6122
|
+
en === "card" && /* @__PURE__ */ Y(Ri, {
|
|
6123
|
+
checked: Rn.length > 0 && pt.length >= Rn.length,
|
|
6124
|
+
indeterminate: pt.length > 0 && pt.length < Rn.length,
|
|
6124
6125
|
className: "param-card-view__select-all",
|
|
6125
6126
|
onChange: () => {
|
|
6126
|
-
if (
|
|
6127
|
+
if (pt.length > 0) mt([]), Ct([], []);
|
|
6127
6128
|
else {
|
|
6128
|
-
let e =
|
|
6129
|
-
|
|
6129
|
+
let e = Rn.map((e, t) => String(Nm(e, t, d)));
|
|
6130
|
+
mt(e), Ct(e, [...Rn]);
|
|
6130
6131
|
}
|
|
6131
6132
|
},
|
|
6132
6133
|
children: "Select All"
|
|
6133
6134
|
}),
|
|
6134
6135
|
/* @__PURE__ */ Y(Ui, {
|
|
6135
|
-
open:
|
|
6136
|
-
onOpenChange:
|
|
6136
|
+
open: dt,
|
|
6137
|
+
onOpenChange: ft,
|
|
6137
6138
|
trigger: ["click"],
|
|
6138
|
-
dropdownRender: () =>
|
|
6139
|
+
dropdownRender: () => lr,
|
|
6139
6140
|
placement: "bottomLeft",
|
|
6140
6141
|
overlayClassName: "column-visibility-dropdown",
|
|
6141
6142
|
children: /* @__PURE__ */ Y(R, {
|
|
@@ -6151,10 +6152,10 @@ function lh({ moduleName: e, authToken: t, actions: n = [], actionRules: r = [],
|
|
|
6151
6152
|
children: /* @__PURE__ */ Y(qa, { className: "job-actions-caret" })
|
|
6152
6153
|
})
|
|
6153
6154
|
}),
|
|
6154
|
-
|
|
6155
|
+
sn.length > 0 && Qe.length > 0 && /* @__PURE__ */ Y(Ui, {
|
|
6155
6156
|
menu: {
|
|
6156
|
-
items:
|
|
6157
|
-
onClick:
|
|
6157
|
+
items: sn.map((e) => Rm(e, Bm(e, et, He), zm(e, et, nn, He))),
|
|
6158
|
+
onClick: Qn
|
|
6158
6159
|
},
|
|
6159
6160
|
trigger: ["click"],
|
|
6160
6161
|
children: /* @__PURE__ */ X(R, {
|
|
@@ -6172,157 +6173,157 @@ function lh({ moduleName: e, authToken: t, actions: n = [], actionRules: r = [],
|
|
|
6172
6173
|
]
|
|
6173
6174
|
})
|
|
6174
6175
|
}),
|
|
6175
|
-
|
|
6176
|
+
Qe.length > 0 && /* @__PURE__ */ X(gp, {
|
|
6176
6177
|
className: "job-selected-count",
|
|
6177
6178
|
children: [
|
|
6178
6179
|
"Selected (",
|
|
6179
|
-
|
|
6180
|
+
Qe.length,
|
|
6180
6181
|
")"
|
|
6181
6182
|
]
|
|
6182
6183
|
})
|
|
6183
6184
|
]
|
|
6184
|
-
}),
|
|
6185
|
+
}), Bn && /* @__PURE__ */ X(gp, {
|
|
6185
6186
|
className: "job-search-results-count",
|
|
6186
6187
|
children: [
|
|
6187
6188
|
"Search Results (",
|
|
6188
|
-
|
|
6189
|
+
Vn,
|
|
6189
6190
|
")"
|
|
6190
6191
|
]
|
|
6191
6192
|
})]
|
|
6192
6193
|
})
|
|
6193
6194
|
}) }),
|
|
6194
|
-
|
|
6195
|
-
filters:
|
|
6195
|
+
wn && /* @__PURE__ */ Y(ch, {
|
|
6196
|
+
filters: Xe,
|
|
6196
6197
|
onRemove: (e) => {
|
|
6197
|
-
let t =
|
|
6198
|
-
|
|
6198
|
+
let t = Xe.filter((t, n) => n !== e);
|
|
6199
|
+
Ze(t), fn();
|
|
6199
6200
|
},
|
|
6200
|
-
onClearAll:
|
|
6201
|
+
onClearAll: sr
|
|
6201
6202
|
}),
|
|
6202
6203
|
/* @__PURE__ */ Y("div", {
|
|
6203
|
-
ref:
|
|
6204
|
+
ref: ht,
|
|
6204
6205
|
className: "job-table-measure",
|
|
6205
6206
|
children: /* @__PURE__ */ Y(oa, {
|
|
6206
|
-
spinning:
|
|
6207
|
-
children:
|
|
6207
|
+
spinning: Jt ? A : mn || Rt,
|
|
6208
|
+
children: en === "card" ? Rn.length === 0 ? /* @__PURE__ */ Y(Wi, {
|
|
6208
6209
|
image: Wi.PRESENTED_IMAGE_SIMPLE,
|
|
6209
|
-
description:
|
|
6210
|
+
description: Wn,
|
|
6210
6211
|
className: "param-card-view__empty",
|
|
6211
|
-
children: !
|
|
6212
|
+
children: !Jt && Pe && Se && ln && !Ht && /* @__PURE__ */ Y(R, {
|
|
6212
6213
|
type: "primary",
|
|
6213
6214
|
icon: /* @__PURE__ */ Y(Fo, {}),
|
|
6214
|
-
onClick: () =>
|
|
6215
|
+
onClick: () => Te(ln),
|
|
6215
6216
|
children: "Add New"
|
|
6216
6217
|
})
|
|
6217
6218
|
}) : /* @__PURE__ */ Y("div", {
|
|
6218
6219
|
className: "param-card-view__grid",
|
|
6219
|
-
children:
|
|
6220
|
+
children: Rn.map((e, t) => {
|
|
6220
6221
|
let n = String(Nm(e, t, d));
|
|
6221
6222
|
return /* @__PURE__ */ Y(ih, {
|
|
6222
6223
|
record: e,
|
|
6223
|
-
fields:
|
|
6224
|
-
selected: pe === "checkbox" ?
|
|
6225
|
-
isControlled:
|
|
6226
|
-
onPreview: () =>
|
|
6227
|
-
onSelect: () =>
|
|
6228
|
-
onPopupAction:
|
|
6229
|
-
onRecordClick: de ? () =>
|
|
6224
|
+
fields: In,
|
|
6225
|
+
selected: pe === "checkbox" ? pt.includes(n) : xt(e, t),
|
|
6226
|
+
isControlled: Jt,
|
|
6227
|
+
onPreview: () => qn(e),
|
|
6228
|
+
onSelect: () => cr(n),
|
|
6229
|
+
onPopupAction: Jn,
|
|
6230
|
+
onRecordClick: de ? () => St(e, t) : void 0,
|
|
6230
6231
|
selectionMode: pe,
|
|
6231
6232
|
permissions: {
|
|
6232
|
-
canAdd:
|
|
6233
|
-
canEdit:
|
|
6234
|
-
canDelete:
|
|
6233
|
+
canAdd: Pe,
|
|
6234
|
+
canEdit: Fe,
|
|
6235
|
+
canDelete: Ie
|
|
6235
6236
|
}
|
|
6236
6237
|
}, n);
|
|
6237
6238
|
})
|
|
6238
6239
|
}) : /* @__PURE__ */ Y(la, {
|
|
6239
|
-
rowSelection:
|
|
6240
|
+
rowSelection: Hn && pe === "checkbox" ? {
|
|
6240
6241
|
type: "checkbox",
|
|
6241
6242
|
fixed: !0,
|
|
6242
6243
|
columnWidth: 48,
|
|
6243
|
-
selectedRowKeys:
|
|
6244
|
+
selectedRowKeys: Qe,
|
|
6244
6245
|
onChange: (e, t) => {
|
|
6245
|
-
|
|
6246
|
+
Ct(e, t);
|
|
6246
6247
|
},
|
|
6247
6248
|
columnTitle: (() => {
|
|
6248
|
-
let e =
|
|
6249
|
+
let e = Rn.length, t = e > 0 && Qe.length >= e, n = Qe.length > 0 && !t;
|
|
6249
6250
|
return /* @__PURE__ */ Y(Ri, {
|
|
6250
6251
|
checked: t,
|
|
6251
6252
|
indeterminate: n,
|
|
6252
6253
|
onChange: () => {
|
|
6253
|
-
if (n || t)
|
|
6254
|
+
if (n || t) Ct([], []);
|
|
6254
6255
|
else {
|
|
6255
|
-
let e =
|
|
6256
|
-
|
|
6256
|
+
let e = Rn.map((e, t) => Nm(e, t, d));
|
|
6257
|
+
Ct(e, [...Rn]);
|
|
6257
6258
|
}
|
|
6258
6259
|
}
|
|
6259
6260
|
});
|
|
6260
6261
|
})()
|
|
6261
6262
|
} : void 0,
|
|
6262
|
-
columns:
|
|
6263
|
-
dataSource:
|
|
6263
|
+
columns: Yn,
|
|
6264
|
+
dataSource: Rn,
|
|
6264
6265
|
size: "middle",
|
|
6265
6266
|
tableLayout: "fixed",
|
|
6266
6267
|
scroll: {
|
|
6267
|
-
x:
|
|
6268
|
+
x: Fn || Jt ? "max-content" : void 0,
|
|
6268
6269
|
y: "calc(100vh - 300px)"
|
|
6269
6270
|
},
|
|
6270
6271
|
pagination: !1,
|
|
6271
6272
|
locale: { emptyText: /* @__PURE__ */ Y(Wi, {
|
|
6272
6273
|
image: Wi.PRESENTED_IMAGE_SIMPLE,
|
|
6273
|
-
description:
|
|
6274
|
+
description: Wn
|
|
6274
6275
|
}) },
|
|
6275
6276
|
className: `${w} ${me ? "list-view-table--compact" : ""}`.trim(),
|
|
6276
6277
|
onRow: de ? (e, t) => ({
|
|
6277
6278
|
onClick: (n) => {
|
|
6278
|
-
Pm(n.target) ||
|
|
6279
|
+
Pm(n.target) || St(e, t);
|
|
6279
6280
|
},
|
|
6280
|
-
"aria-selected":
|
|
6281
|
+
"aria-selected": xt(e, t)
|
|
6281
6282
|
}) : void 0,
|
|
6282
|
-
rowClassName: fe == null ? void 0 : (e, t) =>
|
|
6283
|
+
rowClassName: fe == null ? void 0 : (e, t) => xt(e, t) ? "list-view-row--active" : "",
|
|
6283
6284
|
rowKey: (e, t) => Nm(e, t, d)
|
|
6284
6285
|
})
|
|
6285
6286
|
})
|
|
6286
6287
|
}),
|
|
6287
|
-
|
|
6288
|
-
current:
|
|
6289
|
-
pageSize:
|
|
6290
|
-
total:
|
|
6288
|
+
Hn ? /* @__PURE__ */ Y(Xc, {
|
|
6289
|
+
current: at.current,
|
|
6290
|
+
pageSize: at.pageSize,
|
|
6291
|
+
total: zn,
|
|
6291
6292
|
onChange: (e, t) => {
|
|
6292
|
-
if (
|
|
6293
|
-
te(e, t ??
|
|
6293
|
+
if (Jt && typeof te == "function") {
|
|
6294
|
+
te(e, t ?? at.pageSize);
|
|
6294
6295
|
return;
|
|
6295
6296
|
}
|
|
6296
|
-
|
|
6297
|
+
dn(e);
|
|
6297
6298
|
},
|
|
6298
6299
|
onPageSizeChange: (e) => {
|
|
6299
|
-
if (
|
|
6300
|
+
if (Jt && typeof ne == "function") {
|
|
6300
6301
|
ne(e);
|
|
6301
6302
|
return;
|
|
6302
6303
|
}
|
|
6303
|
-
|
|
6304
|
+
ot({
|
|
6304
6305
|
current: 1,
|
|
6305
6306
|
pageSize: e
|
|
6306
|
-
}),
|
|
6307
|
+
}), un(1, { replace: !0 });
|
|
6307
6308
|
}
|
|
6308
6309
|
}) : void 0,
|
|
6309
6310
|
/* @__PURE__ */ Y(pp, {
|
|
6310
|
-
moduleName:
|
|
6311
|
-
open:
|
|
6312
|
-
filters:
|
|
6313
|
-
onClose: () =>
|
|
6311
|
+
moduleName: De,
|
|
6312
|
+
open: Je,
|
|
6313
|
+
filters: Xe,
|
|
6314
|
+
onClose: () => Ye(!1),
|
|
6314
6315
|
onApply: ({ filters: e }) => {
|
|
6315
|
-
|
|
6316
|
+
Ze(e), fn();
|
|
6316
6317
|
},
|
|
6317
|
-
onReset:
|
|
6318
|
+
onReset: sr
|
|
6318
6319
|
}),
|
|
6319
6320
|
/* @__PURE__ */ Y(tp, {
|
|
6320
|
-
moduleName:
|
|
6321
|
-
open:
|
|
6322
|
-
rows:
|
|
6323
|
-
tabs:
|
|
6324
|
-
total:
|
|
6325
|
-
onClose: () =>
|
|
6321
|
+
moduleName: De,
|
|
6322
|
+
open: Kt,
|
|
6323
|
+
rows: wt,
|
|
6324
|
+
tabs: Kn,
|
|
6325
|
+
total: zn,
|
|
6326
|
+
onClose: () => qt(!1)
|
|
6326
6327
|
})
|
|
6327
6328
|
]
|
|
6328
6329
|
});
|
|
@@ -23097,7 +23098,9 @@ function bO(e) {
|
|
|
23097
23098
|
}
|
|
23098
23099
|
function xO(e) {
|
|
23099
23100
|
let t = bO(e);
|
|
23100
|
-
|
|
23101
|
+
if (!t || yO.has(t)) return "";
|
|
23102
|
+
let n = t.endsWith("-create") ? t.slice(0, -7) : t;
|
|
23103
|
+
return vO[n] ?? n;
|
|
23101
23104
|
}
|
|
23102
23105
|
function SO({ children: e }) {
|
|
23103
23106
|
let t = ws(), n = Ts(), r = xO(t.pathname), { canView: i } = vd(r);
|
|
@@ -59598,7 +59601,7 @@ async function dU(e, t, n, r = 10, i = 0, a = {}) {
|
|
|
59598
59601
|
}
|
|
59599
59602
|
//#endregion
|
|
59600
59603
|
//#region src/index.js
|
|
59601
|
-
typeof window < "u" && (window.__CORE_THEME_BUILD__ = "2026-09-
|
|
59604
|
+
typeof window < "u" && (window.__CORE_THEME_BUILD__ = "2026-09-16T15:41:30.203Z");
|
|
59602
59605
|
var fU = OB, pU = tk(EV), mU = tk(OV), hU = tk(UV), gU = tk(tH), _U = tk(uH), vU = tk(pH), yU = tk(gH), bU = tk(yH), xU = tk(xH), SU = tk(PH), CU = tk(IH);
|
|
59603
59606
|
//#endregion
|
|
59604
59607
|
export { w as ADMIN_API_URL, D as ADMIN_APP_ID, l as APP_ID, E as AUTH_URL, i_ as ActivityNotesCard, $g as ActivityTab, rB as AddBatchCandidatePopup, Ig as AddFormV1, OB as AdminDashboard, tF as AdminDashboardContent, fU as AdminPage, Lg as AppAlert, kn as AppButton, wO as AppShell, NT as ApprovalActionBar, a_ as AssigneeAvatars, _O as AuthGuard, mb as BILLING_STATUS_FLOW, yw as BOOLEAN_API_KEYS, iC as BOOLEAN_PARSEABLE_API_KEYS, o_ as BULK_UPLOAD_DEFAULT_ACCEPT, s_ as BULK_UPLOAD_DEFAULT_MAX_SIZE_MB, Rr as Breadcrumb, hU as BulkUploadPage, h_ as BulkUploadPanel, a as CANDIDATES_URL, rE as CONTRACT_C2C, nE as CONTRACT_W2, Cv as CURRENCY_SYMBOLS, Gs as CalendarCard, aF as CoreThemeAdminApp, iF as CoreThemeAdminRoutes, Xc as CustomPagination, tT as DEFAULT_HOURS_POLICY, hw as DEFAULT_RESULTS_VIEW, TT as DayLogModal, O_ as DescriptionBlock, gx as DetailHeaderCard, Cx as DetailViewPage, py as DetailViewV1, he as DocumentViewer, Xl as DynamicCards, TL as DynamicPopup, cB as DynamicPopupRoute, Ys as DynamicTabs, xS as EditFormV1, zC as FIELD_TYPE_REGISTRY, JT as FINANCE_APPROVAL_CONFIG, VT as FINANCE_TYPE_CFO, BT as FINANCE_TYPE_ONBOARDING_MANAGER, WT as FINANCE_TYPE_ONBOARDING_MANAGER_REAPPROVE, HT as FINANCE_TYPE_ONLY_FINANCE, zT as FINANCE_TYPE_SUBMISSION_MANAGER, UT as FINANCE_TYPE_SUBMISSION_MANAGER_REAPPROVE, cD as FileListCard, VE as FinanceApprovalPanel, Yb as FinanceAvatar, $b as FinanceBadge, FT as FinanceDayCell, Vb as FinanceDivider, Xb as FinanceEmployeeCell, Rb as FinanceEmptyState, Hb as FinanceEquation, Kb as FinanceHistoryTimeline, Lb as FinanceHoursGrid, Ib as FinanceKpiRow, Bb as FinanceLine, eT as FinanceListToolbar, ex as FinanceMarginBadge, Qb as FinanceMoneyCell, rx as FinanceRecordsTable, tx as FinanceRowChevron, zb as FinanceSection, Fb as FinanceStatusPill, Zb as FinanceTextCell, LT as FinanceTimesheetAnalysis, Ub as FinanceWorkflowSteps, nT as HOURS_MESSAGES, LD as Header, tu as HierarchyUserFilter, t as JOBS_URL, pU as LegacyAdminPage, lh as ListView, CU as LmsHomePage, SU as LmsTestForm, TO as Login, FF as MailPopup, vU as ManageModules, yU as ManageSubmodules, AS as ModuleRowActions, MT as NotesPanel, r_ as NotesTab, ow as OPEN_AS_OPTIONS, hb as PAYROLL_STATUS_FLOW, Jz as POPUP_CONFIGS, LS as ParamCardView, US as ParamListView, vB as PaymentInvoicePopup, mT as PeriodBadgeTag, fI as PreviewPopup, ek as ProjectSelect, jT as ProofUploadPreview, OT as QuickLogBar, ET as QuickLogSelectionBar, mw as RESULTS_VIEW_OPTIONS, DT as RejectionReasonModal, o as SUBMISSIONS_URL, Gw as SearchBuilderV1, pO as Sidebar, qw as StatusBadge, pT as StatusBadgeTag, mU as StickyNotesFullPage, Yw as StylishDynamicTabs, Zw as TemplateEditor, gU as TestForm, xU as TestingHomePage, Gg as TimelineGroups, ST as TimesheetDayCell, de as TipTapEditor, DB as UserForm, fB as VendorShareDrawer, tp as ViewSummaryWidget, vI as WizardPopup, bU as ZinnextTableView, _U as ZinnextTestForm, Kn as appNow, Tr as applyIntegrationStatus, Dc as approveSubmission, f_ as buildAcceptAttr, ww as buildBooleanRequest, kb as buildCsv, Cb as buildDailyRows, bT as buildDayGradient, OE as buildRateHistoryEntries, Eb as buildWeeklyRollup, h as clearSelectedProject, ee as colors, bE as computeFinance, cT as computeHoursPolicy, Db as computeMarginBand, Bn as conditionMatches, r as configureCoreTheme, en as configuredFieldLabel, lU as createAllWorkflowsListFetcher, rU as createMergedListFetcher, XH as createModuleListFetchAdapter, iU as createWorkflowStageListFetcher, wv as currencySymbol, HH as defaultMergeRow, Un as deleteIntegrationConfig, Sb as deriveDayStats, uT as describeCapacity, Nb as downloadCsv, mr as evaluateShowIfWith, mE as findEmployerRow, fE as flattenGroups, Av as formatAmount, qe as formatApp, Ze as formatAppDateTime, d_ as formatFileSize, kE as formatFinanceMoney, ab as formatHours, jv as formatMoney, sb as formatPercent, Mv as formatRate, xr as getActivity, uU as getAllWorkflowsModuleList, at as getAppTimeZone, db as getApprovalDate, yt as getBgcIntegrationConfig, ce as getBgcIntegrationSummary, gb as getBillingActionStates, GC as getBooleanEligibleTypes, u as getCurrentRoleName, jb as getFieldLabel, VC as getFieldType, u_ as getFileExtension, $T as getFinanceApprovalConfig, ZE as getFormGroupsRaw, Zn as getIntegrationConfig, te as getIntegrationConfigs, qn as getIntegrationSummary, qc as getModuleConfig, Ln as getModuleDataDetail, _b as getPayrollActionStates, Yc as getPeriodBadgeConfig, rw as getSearchPopup, g as getSelectedProject, C as getStoredToken, d as getStoredUser, f as getUserRoles, Oc as getVMSApprove, Mb as getValueStyle, dU as getWorkflowStageModuleList, vb as getWorkflowSteps, ub as humanizeEvent, Ph as i, Ab as indexFieldConfig, cb as initialsOf, cC as insertTokenAtCursor, HC as isBooleanEligible, oC as isBooleanParsable, y as isTester, m as logout, tE as marginIncludesReferral, yE as matchLocationTax, jx as n, gE as normalizeContract, g_ as r, Ev as rateUnitLabel, Ov as rateUnitShort, uw as readActionButtons, lT as reconcileHours, BC as registerFieldType, nw as registerSearchPopup, Ac as rejectSubmission, Xg as resolveActivityMeta, xE as resolveAndCompute, oT as resolveDayKind, vE as resolveFinanceInputs, BH as resolveMergeKey, BH as resolveMergedListKey, cw as resolveOpenAs, eE as resolveRejectionReason, vw as resolveResultsSearchPlaceholder, _w as resolveResultsView, QE as resolveSubmissionFinance, zr as saveBgcIntegrationConfig, Vn as saveIntegrationConfig, s as setSelectedProject, dn as showIfConditions, aU as stageCountKey, EO as t, _n as testIntegrationConnection, je as toApp, kv as toNumber, Ue as tzLabel, pt as tzShortLabel, iw as unregisterSearchPopup, ed as useDropdownFields, np as useDropdownValues, lD as useEditForm, td as useFieldConfig, nd as useFilterFields, vd as useMenuPermission, CS as useModuleActions, bx as useRecordRefresh, sC as validateBooleanQuery, p_ as validateBulkFile, n as withAdminAppId, i as withAppId, tk as withAuthGuard };
|