@realtek/core-theme 0.0.229 → 0.0.230
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 +1 -1
- package/dist-lib/index.cjs.map +1 -1
- package/dist-lib/index.js +3 -1
- package/dist-lib/index.js.map +1 -1
- package/package.json +1 -1
package/dist-lib/index.js
CHANGED
|
@@ -8464,6 +8464,8 @@ var Kp = {
|
|
|
8464
8464
|
label: "Activity"
|
|
8465
8465
|
}
|
|
8466
8466
|
}, Jp = [
|
|
8467
|
+
[/\b(?:submitted|sent|send)\b[\s\S]*\b(?:cfo|finance)\b[\s\S]*\bfor approval\b/i, "sendForApproval"],
|
|
8468
|
+
[/\bsend(?:ing)?\s+for\s+approval\b/i, "sendForApproval"],
|
|
8467
8469
|
[/\breject/i, "rejected"],
|
|
8468
8470
|
[/\bresent\b/i, "resent"],
|
|
8469
8471
|
[/\bresubmit/i, "resubmitted"],
|
|
@@ -8486,7 +8488,7 @@ function Yp(e, t) {
|
|
|
8486
8488
|
return "default";
|
|
8487
8489
|
}
|
|
8488
8490
|
function Xp(e = {}, t = "") {
|
|
8489
|
-
return qp[Yp(e.activityType ?? e.action, t || e.activityComments)] ?? qp.default;
|
|
8491
|
+
return qp[Yp(e.activityType ?? e.activity_type ?? e.type ?? e.action, t || e.activityComments)] ?? qp.default;
|
|
8490
8492
|
}
|
|
8491
8493
|
//#endregion
|
|
8492
8494
|
//#region src/components/detail/ActivityTab.jsx
|