@realtek/core-theme 0.0.228 → 0.0.229
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 +10 -2
- package/dist-lib/index.js.map +1 -1
- package/package.json +1 -1
package/dist-lib/index.js
CHANGED
|
@@ -642,7 +642,7 @@ async function jo(e, t) {
|
|
|
642
642
|
async function Mo(e) {
|
|
643
643
|
return uo(await a(o, `/submissions/vms-approve?submissionId=${encodeURIComponent(e)}`));
|
|
644
644
|
}
|
|
645
|
-
async function No(t, { submissionId: n = "", billRate: r, payRate: i, currency: o = "$", referralRate: s
|
|
645
|
+
async function No(t, { submissionId: n = "", billRate: r, payRate: i, currency: o = "$", referralRate: s, vmsPercent: c = 0, documentIds: l = [], remarks: u = null } = {}) {
|
|
646
646
|
let d = t ? `/workforce-engagements/${encodeURIComponent(t)}/cfo-approval/send` : `/submissions/${encodeURIComponent(n)}/cfo-approval/send`;
|
|
647
647
|
if (!t && !n) throw Error("Submission is required to send for approval.");
|
|
648
648
|
let f = typeof window < "u" ? window.location.origin : "", p = t || n;
|
|
@@ -662,7 +662,7 @@ async function No(t, { submissionId: n = "", billRate: r, payRate: i, currency:
|
|
|
662
662
|
candidateAcceptedPayUnit: "hr",
|
|
663
663
|
candidateAcceptedRateNegotiable: !1
|
|
664
664
|
},
|
|
665
|
-
referralRate: Number(s) || 0,
|
|
665
|
+
...s == null ? {} : { referralRate: Number(s) || 0 },
|
|
666
666
|
vmsPercent: Number(c) || 0,
|
|
667
667
|
documentIds: l,
|
|
668
668
|
remarks: u,
|
|
@@ -8354,6 +8354,9 @@ var Kp = {
|
|
|
8354
8354
|
submitted: "submitted",
|
|
8355
8355
|
submission: "submitted",
|
|
8356
8356
|
"internal submission": "submitted",
|
|
8357
|
+
send_for_approval: "sendForApproval",
|
|
8358
|
+
"send for approval": "sendForApproval",
|
|
8359
|
+
sendforapproval: "sendForApproval",
|
|
8357
8360
|
resubmit: "resubmitted",
|
|
8358
8361
|
resubmitted: "resubmitted",
|
|
8359
8362
|
resent_for_approval: "resent",
|
|
@@ -8405,6 +8408,11 @@ var Kp = {
|
|
|
8405
8408
|
icon: /* @__PURE__ */ X(oa, {}),
|
|
8406
8409
|
label: "Submitted"
|
|
8407
8410
|
},
|
|
8411
|
+
sendForApproval: {
|
|
8412
|
+
tone: "info",
|
|
8413
|
+
icon: /* @__PURE__ */ X(oa, {}),
|
|
8414
|
+
label: "Send for Approval"
|
|
8415
|
+
},
|
|
8408
8416
|
resubmitted: {
|
|
8409
8417
|
tone: "purple",
|
|
8410
8418
|
icon: /* @__PURE__ */ X(Zi, {}),
|