@realtek/core-theme 0.0.227 → 0.0.228
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 +2 -2
- package/dist-lib/index.cjs.map +1 -1
- package/dist-lib/index.js +37 -19
- package/dist-lib/index.js.map +1 -1
- package/package.json +1 -1
package/dist-lib/index.js
CHANGED
|
@@ -16640,11 +16640,25 @@ function By(e, { title: t, primaryLabel: n, primaryApi: r }) {
|
|
|
16640
16640
|
} }
|
|
16641
16641
|
};
|
|
16642
16642
|
}
|
|
16643
|
-
zy[Iy] =
|
|
16644
|
-
|
|
16645
|
-
|
|
16646
|
-
|
|
16647
|
-
|
|
16643
|
+
zy[Iy] = {
|
|
16644
|
+
...By(zy[My], {
|
|
16645
|
+
title: "Finance Re-Review",
|
|
16646
|
+
primaryLabel: "Send For Approval",
|
|
16647
|
+
primaryApi: "submissionReapproveSend"
|
|
16648
|
+
}),
|
|
16649
|
+
sections: {
|
|
16650
|
+
...zy[My].sections,
|
|
16651
|
+
referral: {
|
|
16652
|
+
show: "ifExists",
|
|
16653
|
+
mode: "print",
|
|
16654
|
+
typeChip: !0
|
|
16655
|
+
}
|
|
16656
|
+
},
|
|
16657
|
+
margin: {
|
|
16658
|
+
label: "Total Margin",
|
|
16659
|
+
formula: "netProposed-netEmployer-referral"
|
|
16660
|
+
}
|
|
16661
|
+
}, zy[Ly] = By(zy[Ny], {
|
|
16648
16662
|
title: "Onboarding Re-Review",
|
|
16649
16663
|
primaryLabel: "Re-send for CFO Approval"
|
|
16650
16664
|
});
|
|
@@ -17658,10 +17672,13 @@ async function Db(e, t = {}) {
|
|
|
17658
17672
|
...x.jobPayDetails ?? {},
|
|
17659
17673
|
...v.jobPayDetails ?? {}
|
|
17660
17674
|
};
|
|
17661
|
-
let w = (Array.isArray(_) ? _ : []).find((t) => Qy(t.submissionId) === String(e)), T =
|
|
17662
|
-
...
|
|
17663
|
-
...
|
|
17664
|
-
},
|
|
17675
|
+
let w = (Array.isArray(_) ? _ : []).find((t) => Qy(t.submissionId) === String(e)), T = w ? await Tb("workforceEngagements", Qy(w)) : {}, E = {
|
|
17676
|
+
...w,
|
|
17677
|
+
...T
|
|
17678
|
+
}, D = Qy(E?.financeApproval?.referralId ?? E?.referralId ?? E?.referalId), O = D ? await Tb("referrals", D) : {}, k = Qy(C.clientId) || Qy(E?.clientId) || s, A = a.clientName ?? t.clientName ?? C.clientName, j = A ? m.filter((e) => yb(e.clientName) === yb(A)) : [], M = m.find(Sb(k)) ?? j[0] ?? {}, ee = await Tb("clients", Qy(M._id ?? M.id) || k), N = {
|
|
17679
|
+
...M,
|
|
17680
|
+
...ee
|
|
17681
|
+
}, te = h.find(Sb(l)) ?? {}, ne = g.find(Sb(d)) ?? g.find((e) => yb(e.name) === yb(d)) ?? {};
|
|
17665
17682
|
return {
|
|
17666
17683
|
record: {
|
|
17667
17684
|
submission: {
|
|
@@ -17670,25 +17687,28 @@ async function Db(e, t = {}) {
|
|
|
17670
17687
|
submission_current_employer: [o]
|
|
17671
17688
|
},
|
|
17672
17689
|
job: C,
|
|
17673
|
-
client:
|
|
17674
|
-
employer:
|
|
17690
|
+
client: N,
|
|
17691
|
+
employer: te,
|
|
17692
|
+
engagement: E,
|
|
17693
|
+
referral: O
|
|
17675
17694
|
},
|
|
17676
17695
|
lookups: {
|
|
17677
|
-
clientVmsFee:
|
|
17678
|
-
locationTaxPercent: o.tax ??
|
|
17696
|
+
clientVmsFee: N.vmsFee ?? a.clientVmsFee ?? a.vmsFee,
|
|
17697
|
+
locationTaxPercent: o.tax ?? ne.taxValue
|
|
17679
17698
|
},
|
|
17680
17699
|
display: {
|
|
17681
|
-
clientName: a.clientName ??
|
|
17700
|
+
clientName: a.clientName ?? N.clientName,
|
|
17682
17701
|
jobTitle: a.jobTitle ?? C.jobTitle,
|
|
17683
17702
|
reqId: i.jobClientRefrenceId ?? a.jobRefrenceId ?? i.jobRefrenceId ?? i.mspReqId,
|
|
17684
17703
|
jobLocation: a.jobLocation ?? C.jobLocation,
|
|
17685
|
-
employerName:
|
|
17686
|
-
employerLocation:
|
|
17704
|
+
employerName: te.empCompanyName,
|
|
17705
|
+
employerLocation: ne.name ?? te.empCompanyLocation ?? d,
|
|
17687
17706
|
submittedBy: wb(y) || a.signatureEmail || a.recruiterName || a.submitSource,
|
|
17688
17707
|
email: a.email,
|
|
17689
17708
|
candidateName: [a.firstName, a.lastName].filter(Boolean).join(" ") || a.candidateFullName,
|
|
17690
17709
|
createdAt: i.createdAt,
|
|
17691
|
-
submissionId: i.submissionId
|
|
17710
|
+
submissionId: i.submissionId,
|
|
17711
|
+
workforceEngagementId: Qy(E)
|
|
17692
17712
|
},
|
|
17693
17713
|
meta: i
|
|
17694
17714
|
};
|
|
@@ -19188,7 +19208,6 @@ var BS = {
|
|
|
19188
19208
|
"test cases"
|
|
19189
19209
|
],
|
|
19190
19210
|
viewProposedRate: ["submissions"],
|
|
19191
|
-
po: ["onboarding"],
|
|
19192
19211
|
po_msa: ["onboarding"]
|
|
19193
19212
|
};
|
|
19194
19213
|
function VS(e, t) {
|
|
@@ -40576,7 +40595,6 @@ function Lk({ selectedIds: e, selectedRecords: t, onClose: n }) {
|
|
|
40576
40595
|
billRate: e.proposedRate,
|
|
40577
40596
|
payRate: e.employerRate,
|
|
40578
40597
|
currency: e.currency,
|
|
40579
|
-
referralRate: e.referralRate,
|
|
40580
40598
|
vmsPercent: e.clientVmsPercent
|
|
40581
40599
|
}), await jo(i, {
|
|
40582
40600
|
candidateProposedRate: e.proposedRate,
|