@realtek/core-theme 0.0.226 → 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 +3 -3
- package/dist-lib/index.cjs.map +1 -1
- package/dist-lib/index.js +45 -21
- package/dist-lib/index.js.map +1 -1
- package/package.json +1 -1
package/dist-lib/index.js
CHANGED
|
@@ -8356,7 +8356,7 @@ var Kp = {
|
|
|
8356
8356
|
"internal submission": "submitted",
|
|
8357
8357
|
resubmit: "resubmitted",
|
|
8358
8358
|
resubmitted: "resubmitted",
|
|
8359
|
-
resent_for_approval: "
|
|
8359
|
+
resent_for_approval: "resent",
|
|
8360
8360
|
reject: "rejected",
|
|
8361
8361
|
rejected: "rejected",
|
|
8362
8362
|
reject_days: "rejected",
|
|
@@ -8410,6 +8410,11 @@ var Kp = {
|
|
|
8410
8410
|
icon: /* @__PURE__ */ X(Zi, {}),
|
|
8411
8411
|
label: "Re-submitted"
|
|
8412
8412
|
},
|
|
8413
|
+
resent: {
|
|
8414
|
+
tone: "purple",
|
|
8415
|
+
icon: /* @__PURE__ */ X(Zi, {}),
|
|
8416
|
+
label: "Resend for Approval"
|
|
8417
|
+
},
|
|
8413
8418
|
approved: {
|
|
8414
8419
|
tone: "success",
|
|
8415
8420
|
icon: /* @__PURE__ */ X(Jr, {}),
|
|
@@ -8452,8 +8457,9 @@ var Kp = {
|
|
|
8452
8457
|
}
|
|
8453
8458
|
}, Jp = [
|
|
8454
8459
|
[/\breject/i, "rejected"],
|
|
8460
|
+
[/\bresent\b/i, "resent"],
|
|
8461
|
+
[/\bresubmit/i, "resubmitted"],
|
|
8455
8462
|
[/\bapprov/i, "approved"],
|
|
8456
|
-
[/\bresubmit|\bresent\b/i, "resubmitted"],
|
|
8457
8463
|
[/\bsubmit/i, "submitted"],
|
|
8458
8464
|
[/\breassign|\bassign/i, "assigned"],
|
|
8459
8465
|
[/\bdelete|\bremov/i, "deleted"],
|
|
@@ -16634,11 +16640,25 @@ function By(e, { title: t, primaryLabel: n, primaryApi: r }) {
|
|
|
16634
16640
|
} }
|
|
16635
16641
|
};
|
|
16636
16642
|
}
|
|
16637
|
-
zy[Iy] =
|
|
16638
|
-
|
|
16639
|
-
|
|
16640
|
-
|
|
16641
|
-
|
|
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], {
|
|
16642
16662
|
title: "Onboarding Re-Review",
|
|
16643
16663
|
primaryLabel: "Re-send for CFO Approval"
|
|
16644
16664
|
});
|
|
@@ -17652,10 +17672,13 @@ async function Db(e, t = {}) {
|
|
|
17652
17672
|
...x.jobPayDetails ?? {},
|
|
17653
17673
|
...v.jobPayDetails ?? {}
|
|
17654
17674
|
};
|
|
17655
|
-
let w = (Array.isArray(_) ? _ : []).find((t) => Qy(t.submissionId) === String(e)), T =
|
|
17656
|
-
...
|
|
17657
|
-
...
|
|
17658
|
-
},
|
|
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)) ?? {};
|
|
17659
17682
|
return {
|
|
17660
17683
|
record: {
|
|
17661
17684
|
submission: {
|
|
@@ -17664,25 +17687,28 @@ async function Db(e, t = {}) {
|
|
|
17664
17687
|
submission_current_employer: [o]
|
|
17665
17688
|
},
|
|
17666
17689
|
job: C,
|
|
17667
|
-
client:
|
|
17668
|
-
employer:
|
|
17690
|
+
client: N,
|
|
17691
|
+
employer: te,
|
|
17692
|
+
engagement: E,
|
|
17693
|
+
referral: O
|
|
17669
17694
|
},
|
|
17670
17695
|
lookups: {
|
|
17671
|
-
clientVmsFee:
|
|
17672
|
-
locationTaxPercent: o.tax ??
|
|
17696
|
+
clientVmsFee: N.vmsFee ?? a.clientVmsFee ?? a.vmsFee,
|
|
17697
|
+
locationTaxPercent: o.tax ?? ne.taxValue
|
|
17673
17698
|
},
|
|
17674
17699
|
display: {
|
|
17675
|
-
clientName: a.clientName ??
|
|
17700
|
+
clientName: a.clientName ?? N.clientName,
|
|
17676
17701
|
jobTitle: a.jobTitle ?? C.jobTitle,
|
|
17677
17702
|
reqId: i.jobClientRefrenceId ?? a.jobRefrenceId ?? i.jobRefrenceId ?? i.mspReqId,
|
|
17678
17703
|
jobLocation: a.jobLocation ?? C.jobLocation,
|
|
17679
|
-
employerName:
|
|
17680
|
-
employerLocation:
|
|
17704
|
+
employerName: te.empCompanyName,
|
|
17705
|
+
employerLocation: ne.name ?? te.empCompanyLocation ?? d,
|
|
17681
17706
|
submittedBy: wb(y) || a.signatureEmail || a.recruiterName || a.submitSource,
|
|
17682
17707
|
email: a.email,
|
|
17683
17708
|
candidateName: [a.firstName, a.lastName].filter(Boolean).join(" ") || a.candidateFullName,
|
|
17684
17709
|
createdAt: i.createdAt,
|
|
17685
|
-
submissionId: i.submissionId
|
|
17710
|
+
submissionId: i.submissionId,
|
|
17711
|
+
workforceEngagementId: Qy(E)
|
|
17686
17712
|
},
|
|
17687
17713
|
meta: i
|
|
17688
17714
|
};
|
|
@@ -19182,7 +19208,6 @@ var BS = {
|
|
|
19182
19208
|
"test cases"
|
|
19183
19209
|
],
|
|
19184
19210
|
viewProposedRate: ["submissions"],
|
|
19185
|
-
po: ["onboarding"],
|
|
19186
19211
|
po_msa: ["onboarding"]
|
|
19187
19212
|
};
|
|
19188
19213
|
function VS(e, t) {
|
|
@@ -40570,7 +40595,6 @@ function Lk({ selectedIds: e, selectedRecords: t, onClose: n }) {
|
|
|
40570
40595
|
billRate: e.proposedRate,
|
|
40571
40596
|
payRate: e.employerRate,
|
|
40572
40597
|
currency: e.currency,
|
|
40573
|
-
referralRate: e.referralRate,
|
|
40574
40598
|
vmsPercent: e.clientVmsPercent
|
|
40575
40599
|
}), await jo(i, {
|
|
40576
40600
|
candidateProposedRate: e.proposedRate,
|