@realtek/core-theme 0.0.273 → 0.0.274

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.js CHANGED
@@ -5442,6 +5442,12 @@ function ip({ moduleName: e, authToken: t, actions: n = [], actionRules: r = [],
5442
5442
  if (r.route) {
5443
5443
  let e = n[0] ?? {}, i = Hd(r.route, e), a = i.startsWith("/") ? i : `/${i}`;
5444
5444
  if (r.route.startsWith("/popup/") || r.route.startsWith("popup/")) {
5445
+ let i = r.popupKey || r.route?.replace(/^\/popup\//i, "") || "", o = /(?:^|\/)(?:quick(?:-|_)?submit|submit)(?:$|\/)/i.test(i), s = new URLSearchParams(xe.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;
5446
+ if (o && c && l) {
5447
+ let e = new URLSearchParams();
5448
+ e.set("candidateId", String(l)), e.set("isFromSubmission", "false"), be(`/submission-create/${encodeURIComponent(String(c))}?${e.toString()}`);
5449
+ return;
5450
+ }
5445
5451
  be(a, { state: {
5446
5452
  background: xe,
5447
5453
  selectedIds: t,