@realtek/core-theme-live 0.0.373 → 0.0.375
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 +192 -37
- package/dist-lib/index.js.map +1 -1
- package/package.json +1 -1
package/dist-lib/index.js
CHANGED
|
@@ -22638,6 +22638,11 @@ var { Sider: UD } = Xi, WD = {
|
|
|
22638
22638
|
Candidates: CD,
|
|
22639
22639
|
Submissions: MD,
|
|
22640
22640
|
Network: OD,
|
|
22641
|
+
Hotlist: OD,
|
|
22642
|
+
hotlist: OD,
|
|
22643
|
+
NetworkHotlist: OD,
|
|
22644
|
+
networkHotlist: OD,
|
|
22645
|
+
"network-hotlist": OD,
|
|
22641
22646
|
ClientManagement: wD,
|
|
22642
22647
|
Clients: wD,
|
|
22643
22648
|
clients: wD,
|
|
@@ -22651,6 +22656,8 @@ var { Sider: UD } = Xi, WD = {
|
|
|
22651
22656
|
Scheduler: jD,
|
|
22652
22657
|
Admin: bD,
|
|
22653
22658
|
Reports: kD,
|
|
22659
|
+
documents: kD,
|
|
22660
|
+
Documents: kD,
|
|
22654
22661
|
Settings: AD,
|
|
22655
22662
|
Help: DD,
|
|
22656
22663
|
onboarding: ND,
|
|
@@ -22661,6 +22668,8 @@ var { Sider: UD } = Xi, WD = {
|
|
|
22661
22668
|
Assignment: xD,
|
|
22662
22669
|
timesheet: PD,
|
|
22663
22670
|
Timesheet: PD,
|
|
22671
|
+
timesheets: PD,
|
|
22672
|
+
Timesheets: PD,
|
|
22664
22673
|
billing: LD,
|
|
22665
22674
|
Billing: LD,
|
|
22666
22675
|
payroll: RD,
|
|
@@ -22668,7 +22677,12 @@ var { Sider: UD } = Xi, WD = {
|
|
|
22668
22677
|
campaign: FD,
|
|
22669
22678
|
Campaign: FD,
|
|
22670
22679
|
addTestCase: kD,
|
|
22680
|
+
addtestcase: kD,
|
|
22681
|
+
testCases: kD,
|
|
22682
|
+
TestCases: kD,
|
|
22683
|
+
"test-cases": kD,
|
|
22671
22684
|
viewTestCase: jD,
|
|
22685
|
+
viewtestcase: jD,
|
|
22672
22686
|
manageModules: AD,
|
|
22673
22687
|
bulkUpload: hs,
|
|
22674
22688
|
"bulk-upload": hs
|
|
@@ -44285,6 +44299,7 @@ function nP({ icon: e, title: t, description: n, rules: r, columns: i, onAdd: a,
|
|
|
44285
44299
|
});
|
|
44286
44300
|
}
|
|
44287
44301
|
var rP = {
|
|
44302
|
+
assignmentSource: null,
|
|
44288
44303
|
sequence: null,
|
|
44289
44304
|
duplicateCheck: null,
|
|
44290
44305
|
fileVersioning: null,
|
|
@@ -44349,7 +44364,22 @@ function iP() {
|
|
|
44349
44364
|
};
|
|
44350
44365
|
});
|
|
44351
44366
|
}
|
|
44352
|
-
function A() {
|
|
44367
|
+
function A(e, t) {
|
|
44368
|
+
d((n) => {
|
|
44369
|
+
let r = {
|
|
44370
|
+
...n.assignmentSource ?? {},
|
|
44371
|
+
[e]: t
|
|
44372
|
+
};
|
|
44373
|
+
return e === "stampAs" && !String(t).trim() ? {
|
|
44374
|
+
...n,
|
|
44375
|
+
assignmentSource: null
|
|
44376
|
+
} : {
|
|
44377
|
+
...n,
|
|
44378
|
+
assignmentSource: r
|
|
44379
|
+
};
|
|
44380
|
+
});
|
|
44381
|
+
}
|
|
44382
|
+
function j() {
|
|
44353
44383
|
h(!0);
|
|
44354
44384
|
let e = {
|
|
44355
44385
|
...u,
|
|
@@ -44360,7 +44390,8 @@ function iP() {
|
|
|
44360
44390
|
hierarchyExpands: u.hierarchyExpands?.length ? u.hierarchyExpands : void 0,
|
|
44361
44391
|
relatedUpdates: u.relatedUpdates?.length ? u.relatedUpdates : void 0,
|
|
44362
44392
|
cacheInvalidate: u.cacheInvalidate?.length ? u.cacheInvalidate : void 0,
|
|
44363
|
-
defaults: Object.keys(u.defaults ?? {}).length ? u.defaults : void 0
|
|
44393
|
+
defaults: Object.keys(u.defaults ?? {}).length ? u.defaults : void 0,
|
|
44394
|
+
assignmentSource: u.assignmentSource?.stampAs?.trim() ? u.assignmentSource : void 0
|
|
44364
44395
|
};
|
|
44365
44396
|
an(i, {
|
|
44366
44397
|
gateway: o,
|
|
@@ -44369,20 +44400,20 @@ function iP() {
|
|
|
44369
44400
|
l(o.storage || "mongo"), q.success("Automations saved");
|
|
44370
44401
|
}).catch((e) => q.error(e?.message || "Could not save automations")).finally(() => h(!1));
|
|
44371
44402
|
}
|
|
44372
|
-
function
|
|
44403
|
+
function te() {
|
|
44373
44404
|
if ((o.storage || "mongo") !== c) {
|
|
44374
44405
|
$i.confirm({
|
|
44375
44406
|
title: "Change how this module persists writes?",
|
|
44376
44407
|
content: `You're switching ${i} from "${c}" to "${o.storage}". ` + (o.storage === "mongo" ? "This module will stop calling its downstream service and this gateway will own the write + every Strategy below." : "This module will stop using the Strategies below and go back to calling its downstream service.") + " Make sure the downstream service / e2e checks are ready before confirming.",
|
|
44377
44408
|
okText: "Confirm cutover",
|
|
44378
44409
|
okButtonProps: { danger: !0 },
|
|
44379
|
-
onOk:
|
|
44410
|
+
onOk: j
|
|
44380
44411
|
});
|
|
44381
44412
|
return;
|
|
44382
44413
|
}
|
|
44383
|
-
|
|
44414
|
+
j();
|
|
44384
44415
|
}
|
|
44385
|
-
let
|
|
44416
|
+
let M = [
|
|
44386
44417
|
{
|
|
44387
44418
|
title: "Source module",
|
|
44388
44419
|
dataIndex: "sourceModule",
|
|
@@ -44420,7 +44451,7 @@ function iP() {
|
|
|
44420
44451
|
children: "optional"
|
|
44421
44452
|
})
|
|
44422
44453
|
}
|
|
44423
|
-
],
|
|
44454
|
+
], N = [
|
|
44424
44455
|
{
|
|
44425
44456
|
title: "Source field",
|
|
44426
44457
|
dataIndex: "sourceField",
|
|
@@ -44453,7 +44484,7 @@ function iP() {
|
|
|
44453
44484
|
color: "var(--color-brand)"
|
|
44454
44485
|
})
|
|
44455
44486
|
}
|
|
44456
|
-
],
|
|
44487
|
+
], P = [
|
|
44457
44488
|
{
|
|
44458
44489
|
title: "Source field",
|
|
44459
44490
|
dataIndex: "sourceField",
|
|
@@ -44492,7 +44523,7 @@ function iP() {
|
|
|
44492
44523
|
children: "—"
|
|
44493
44524
|
})
|
|
44494
44525
|
}
|
|
44495
|
-
],
|
|
44526
|
+
], ne = [
|
|
44496
44527
|
{
|
|
44497
44528
|
title: "Name",
|
|
44498
44529
|
dataIndex: "name",
|
|
@@ -44532,7 +44563,7 @@ function iP() {
|
|
|
44532
44563
|
children: "top"
|
|
44533
44564
|
})
|
|
44534
44565
|
}
|
|
44535
|
-
],
|
|
44566
|
+
], re = [
|
|
44536
44567
|
{
|
|
44537
44568
|
title: "Target",
|
|
44538
44569
|
key: "target",
|
|
@@ -44570,7 +44601,7 @@ function iP() {
|
|
|
44570
44601
|
children: "Insert if missing"
|
|
44571
44602
|
}) : /* @__PURE__ */ Y(G, { children: "Update" })
|
|
44572
44603
|
}
|
|
44573
|
-
],
|
|
44604
|
+
], ie = e.map((e) => ({
|
|
44574
44605
|
key: e.key,
|
|
44575
44606
|
label: e.label
|
|
44576
44607
|
}));
|
|
@@ -44586,7 +44617,7 @@ function iP() {
|
|
|
44586
44617
|
icon: /* @__PURE__ */ Y(Yo, {}),
|
|
44587
44618
|
loading: m,
|
|
44588
44619
|
disabled: !i,
|
|
44589
|
-
onClick:
|
|
44620
|
+
onClick: te,
|
|
44590
44621
|
children: "Save Automations"
|
|
44591
44622
|
}),
|
|
44592
44623
|
children: [/* @__PURE__ */ Y("div", { className: "admin-accent-bar" }), /* @__PURE__ */ Y($, {
|
|
@@ -44603,7 +44634,7 @@ function iP() {
|
|
|
44603
44634
|
/* @__PURE__ */ Y(pa, {
|
|
44604
44635
|
activeKey: i,
|
|
44605
44636
|
onChange: a,
|
|
44606
|
-
items:
|
|
44637
|
+
items: ie.map((e) => ({
|
|
44607
44638
|
...e,
|
|
44608
44639
|
children: null
|
|
44609
44640
|
})),
|
|
@@ -45330,7 +45361,7 @@ function iP() {
|
|
|
45330
45361
|
title: "Denormalizations",
|
|
45331
45362
|
description: "Copy fields from ANOTHER module's record onto this payload before insert (e.g. a submission snapshotting job title/client).",
|
|
45332
45363
|
rules: u.denormalizations ?? [],
|
|
45333
|
-
columns:
|
|
45364
|
+
columns: M,
|
|
45334
45365
|
onAdd: () => y({
|
|
45335
45366
|
index: null,
|
|
45336
45367
|
rule: null
|
|
@@ -45346,7 +45377,7 @@ function iP() {
|
|
|
45346
45377
|
title: "Array Enrichments",
|
|
45347
45378
|
description: "Enrich a payload array of ids (e.g. recruitersData) into objects carrying looked-up fields (name, email) before insert.",
|
|
45348
45379
|
rules: u.arrayEnrichments ?? [],
|
|
45349
|
-
columns:
|
|
45380
|
+
columns: N,
|
|
45350
45381
|
onAdd: () => x({
|
|
45351
45382
|
index: null,
|
|
45352
45383
|
rule: null
|
|
@@ -45362,7 +45393,7 @@ function iP() {
|
|
|
45362
45393
|
title: "File Field Maps",
|
|
45363
45394
|
description: "Turn an uploaded file field into a nested object (location + filename + who/when) or an array of such objects, instead of a flat S3 path string — needed for schemas like resume/passport/visa.",
|
|
45364
45395
|
rules: u.fileFieldMaps ?? [],
|
|
45365
|
-
columns:
|
|
45396
|
+
columns: P,
|
|
45366
45397
|
onAdd: () => C({
|
|
45367
45398
|
index: null,
|
|
45368
45399
|
rule: null
|
|
@@ -45392,6 +45423,124 @@ function iP() {
|
|
|
45392
45423
|
onChange: (e) => k("sanitizeFields", e)
|
|
45393
45424
|
})]
|
|
45394
45425
|
}),
|
|
45426
|
+
/* @__PURE__ */ X(Fk, {
|
|
45427
|
+
title: "Who is assigned to this record",
|
|
45428
|
+
styles: { body: { paddingTop: 8 } },
|
|
45429
|
+
children: [/* @__PURE__ */ X($, {
|
|
45430
|
+
type: "secondary",
|
|
45431
|
+
style: {
|
|
45432
|
+
fontSize: 12,
|
|
45433
|
+
display: "block",
|
|
45434
|
+
marginBottom: 8
|
|
45435
|
+
},
|
|
45436
|
+
children: [
|
|
45437
|
+
"Marks every row of this module's list with whether the signed-in user is assigned to it, by looking in another collection. The result is written onto each row as the field named below, so an ",
|
|
45438
|
+
/* @__PURE__ */ Y("b", { children: "Action Rule" }),
|
|
45439
|
+
" can test it like any other field — e.g.",
|
|
45440
|
+
" ",
|
|
45441
|
+
/* @__PURE__ */ Y("code", { children: "assignedToMe equals false" }),
|
|
45442
|
+
" to restrict what an unassigned user can do.",
|
|
45443
|
+
/* @__PURE__ */ Y("br", {}),
|
|
45444
|
+
"Leave ",
|
|
45445
|
+
/* @__PURE__ */ Y("b", { children: "Stamp as" }),
|
|
45446
|
+
" empty to turn this off."
|
|
45447
|
+
]
|
|
45448
|
+
}), /* @__PURE__ */ X(U, {
|
|
45449
|
+
direction: "vertical",
|
|
45450
|
+
style: { width: "100%" },
|
|
45451
|
+
size: 8,
|
|
45452
|
+
children: [
|
|
45453
|
+
/* @__PURE__ */ X(U, {
|
|
45454
|
+
wrap: !0,
|
|
45455
|
+
children: [
|
|
45456
|
+
/* @__PURE__ */ X("div", { children: [/* @__PURE__ */ Y($, {
|
|
45457
|
+
style: { fontSize: 12 },
|
|
45458
|
+
children: "Collection"
|
|
45459
|
+
}), /* @__PURE__ */ Y(V, {
|
|
45460
|
+
style: { width: 220 },
|
|
45461
|
+
placeholder: "workflow_instances",
|
|
45462
|
+
value: u.assignmentSource?.collection ?? "",
|
|
45463
|
+
onChange: (e) => A("collection", e.target.value)
|
|
45464
|
+
})] }),
|
|
45465
|
+
/* @__PURE__ */ X("div", { children: [/* @__PURE__ */ Y($, {
|
|
45466
|
+
style: { fontSize: 12 },
|
|
45467
|
+
children: "Record id field"
|
|
45468
|
+
}), /* @__PURE__ */ Y(V, {
|
|
45469
|
+
style: { width: 180 },
|
|
45470
|
+
placeholder: "entityId",
|
|
45471
|
+
value: u.assignmentSource?.entityIdField ?? "",
|
|
45472
|
+
onChange: (e) => A("entityIdField", e.target.value)
|
|
45473
|
+
})] }),
|
|
45474
|
+
/* @__PURE__ */ X("div", { children: [/* @__PURE__ */ Y($, {
|
|
45475
|
+
style: { fontSize: 12 },
|
|
45476
|
+
children: "Stamp as"
|
|
45477
|
+
}), /* @__PURE__ */ Y(V, {
|
|
45478
|
+
style: { width: 180 },
|
|
45479
|
+
placeholder: "assignedToMe",
|
|
45480
|
+
value: u.assignmentSource?.stampAs ?? "",
|
|
45481
|
+
onChange: (e) => A("stampAs", e.target.value)
|
|
45482
|
+
})] })
|
|
45483
|
+
]
|
|
45484
|
+
}),
|
|
45485
|
+
/* @__PURE__ */ X("div", { children: [/* @__PURE__ */ Y($, {
|
|
45486
|
+
style: { fontSize: 12 },
|
|
45487
|
+
children: "User fields — assigned if ANY holds the signed-in user"
|
|
45488
|
+
}), /* @__PURE__ */ Y(H, {
|
|
45489
|
+
mode: "tags",
|
|
45490
|
+
style: { width: "100%" },
|
|
45491
|
+
placeholder: "recruiterId, reportingId",
|
|
45492
|
+
value: u.assignmentSource?.userMatchFields ?? [],
|
|
45493
|
+
onChange: (e) => A("userMatchFields", e)
|
|
45494
|
+
})] }),
|
|
45495
|
+
/* @__PURE__ */ X(U, {
|
|
45496
|
+
wrap: !0,
|
|
45497
|
+
align: "start",
|
|
45498
|
+
children: [/* @__PURE__ */ X("div", { children: [/* @__PURE__ */ Y($, {
|
|
45499
|
+
style: { fontSize: 12 },
|
|
45500
|
+
children: "Entity type field / values"
|
|
45501
|
+
}), /* @__PURE__ */ X(U, { children: [/* @__PURE__ */ Y(V, {
|
|
45502
|
+
style: { width: 140 },
|
|
45503
|
+
placeholder: "entityType",
|
|
45504
|
+
value: u.assignmentSource?.entityTypeField ?? "",
|
|
45505
|
+
onChange: (e) => A("entityTypeField", e.target.value)
|
|
45506
|
+
}), /* @__PURE__ */ Y(H, {
|
|
45507
|
+
mode: "tags",
|
|
45508
|
+
style: { width: 200 },
|
|
45509
|
+
placeholder: "Job",
|
|
45510
|
+
value: u.assignmentSource?.entityTypeValues ?? [],
|
|
45511
|
+
onChange: (e) => A("entityTypeValues", e)
|
|
45512
|
+
})] })] }), /* @__PURE__ */ X("div", { children: [/* @__PURE__ */ Y($, {
|
|
45513
|
+
style: { fontSize: 12 },
|
|
45514
|
+
children: "Module field / values"
|
|
45515
|
+
}), /* @__PURE__ */ X(U, { children: [/* @__PURE__ */ Y(V, {
|
|
45516
|
+
style: { width: 140 },
|
|
45517
|
+
placeholder: "module",
|
|
45518
|
+
value: u.assignmentSource?.moduleField ?? "",
|
|
45519
|
+
onChange: (e) => A("moduleField", e.target.value)
|
|
45520
|
+
}), /* @__PURE__ */ Y(H, {
|
|
45521
|
+
mode: "tags",
|
|
45522
|
+
style: { width: 200 },
|
|
45523
|
+
placeholder: "Jobs, jobs",
|
|
45524
|
+
value: u.assignmentSource?.moduleValues ?? [],
|
|
45525
|
+
onChange: (e) => A("moduleValues", e)
|
|
45526
|
+
})] })] })]
|
|
45527
|
+
}),
|
|
45528
|
+
/* @__PURE__ */ Y(Fi, {
|
|
45529
|
+
type: "warning",
|
|
45530
|
+
showIcon: !0,
|
|
45531
|
+
style: { fontSize: 12 },
|
|
45532
|
+
message: "List every spelling that exists in the data",
|
|
45533
|
+
description: /* @__PURE__ */ X("span", { children: [
|
|
45534
|
+
"These are exact matches. The same value is stored with different casing in places (",
|
|
45535
|
+
/* @__PURE__ */ Y("code", { children: "Jobs" }),
|
|
45536
|
+
" and ",
|
|
45537
|
+
/* @__PURE__ */ Y("code", { children: "jobs" }),
|
|
45538
|
+
"), so listing only one reads as correct while silently missing every row written with the other — and those rows would show as \"not assigned\". Add each spelling as its own tag."
|
|
45539
|
+
] })
|
|
45540
|
+
})
|
|
45541
|
+
]
|
|
45542
|
+
})]
|
|
45543
|
+
}),
|
|
45395
45544
|
/* @__PURE__ */ X(Fk, {
|
|
45396
45545
|
title: "Defaults",
|
|
45397
45546
|
styles: { body: { paddingTop: 8 } },
|
|
@@ -45415,7 +45564,7 @@ function iP() {
|
|
|
45415
45564
|
title: "Hierarchy Expansions",
|
|
45416
45565
|
description: "Walk the reporting chain up (toward admin) or down (toward a team) from a seed user, publishing the result as {{hierarchy.<name>}} for Related Updates / Notify to use.",
|
|
45417
45566
|
rules: u.hierarchyExpands ?? [],
|
|
45418
|
-
columns:
|
|
45567
|
+
columns: ne,
|
|
45419
45568
|
onAdd: () => T({
|
|
45420
45569
|
index: null,
|
|
45421
45570
|
rule: null
|
|
@@ -45431,7 +45580,7 @@ function iP() {
|
|
|
45431
45580
|
title: "Related Updates",
|
|
45432
45581
|
description: "Best-effort side-effect writes to other collections after a successful insert — board state, activity logs. Combine with ForEach + a Hierarchy Expansion to seed one document per user in a chain.",
|
|
45433
45582
|
rules: u.relatedUpdates ?? [],
|
|
45434
|
-
columns:
|
|
45583
|
+
columns: re,
|
|
45435
45584
|
onAdd: () => D({
|
|
45436
45585
|
index: null,
|
|
45437
45586
|
rule: null
|
|
@@ -50500,23 +50649,27 @@ function SI(e) {
|
|
|
50500
50649
|
return e ? e.status ? e.status : e.stage ? e.stage : typeof e.isActive == "boolean" ? e.isActive ? "Active" : "Inactive" : "" : "";
|
|
50501
50650
|
}
|
|
50502
50651
|
function CI(e, t) {
|
|
50503
|
-
let n = String(e?.type ?? "").trim().toLowerCase(), r = `${e?.field ?? ""} ${e?.label ?? ""}
|
|
50652
|
+
let n = String(e?.type ?? "").trim().toLowerCase(), r = String(e?.renderType ?? "").trim().toLowerCase(), i = `${e?.field ?? ""} ${e?.label ?? ""}`.toLowerCase();
|
|
50504
50653
|
if (!([
|
|
50505
50654
|
"file",
|
|
50506
50655
|
"document",
|
|
50507
50656
|
"upload"
|
|
50508
|
-
].includes(n) ||
|
|
50509
|
-
|
|
50510
|
-
|
|
50511
|
-
|
|
50657
|
+
].includes(n) || [
|
|
50658
|
+
"file",
|
|
50659
|
+
"document",
|
|
50660
|
+
"upload"
|
|
50661
|
+
].includes(r) || /resume|cv|document|attachment/i.test(i))) return e;
|
|
50662
|
+
let a = String(e?.field ?? "").trim().toLowerCase(), o = /resume|cv/.test(i), s = /document|attachment|file|upload/.test(i), c = t.filter((e) => {
|
|
50663
|
+
let t = String(e?.fieldName ?? e?.field ?? e?.formField ?? e?.key ?? "").trim().toLowerCase(), n = `${t} ${e?.fileName ?? ""} ${e?.name ?? ""}`.toLowerCase();
|
|
50664
|
+
return !!(t && a && t === a || t && a && (t.includes(a) || a.includes(t)) || o && /resume|cv/.test(n) || s && (/document|attachment|file|upload|resume|cv/.test(n) || !t));
|
|
50512
50665
|
}).map((t) => ({
|
|
50513
50666
|
name: t?.fileName || t?.name || t?.uploadedFileName || t?.originalName || e?.label || "Document",
|
|
50514
50667
|
url: t?.fileUrl || t?.downloadUrl || t?.signedUrl || t?.url || "",
|
|
50515
50668
|
type: t?.mimeType || t?.contentType || t?.type
|
|
50516
50669
|
})).filter((e) => e.url);
|
|
50517
|
-
return
|
|
50670
|
+
return c.length ? {
|
|
50518
50671
|
...e,
|
|
50519
|
-
value:
|
|
50672
|
+
value: c,
|
|
50520
50673
|
renderType: "document"
|
|
50521
50674
|
} : e;
|
|
50522
50675
|
}
|
|
@@ -51389,9 +51542,9 @@ function cL({ field: e, options: t, value: n, onChange: r }) {
|
|
|
51389
51542
|
});
|
|
51390
51543
|
}
|
|
51391
51544
|
function lL({ field: e, options: t, onSearch: n, value: r, onChange: i, popupContext: a }) {
|
|
51392
|
-
let o = iL(t), s = e.optionLayout, c = new Map(o.map((e) => [String(e?.value ?? ""), e]));
|
|
51393
|
-
async function
|
|
51394
|
-
let r = n ?? c.get(String(t ?? ""));
|
|
51545
|
+
let o = iL(t), s = e.optionLayout, c = new Map(o.map((e) => [String(e?.value ?? ""), e])), l = e.multiSelect || e.multiple || e.mode === "multiple" ? "multiple" : e.mode;
|
|
51546
|
+
async function u(t, n) {
|
|
51547
|
+
let r = Array.isArray(t) ? Array.isArray(n) ? n : t.map((e) => c.get(String(e ?? ""))).filter(Boolean) : n ?? c.get(String(t ?? ""));
|
|
51395
51548
|
(typeof e.onSelectGuard != "function" || await e.onSelectGuard({
|
|
51396
51549
|
value: t,
|
|
51397
51550
|
option: r,
|
|
@@ -51401,11 +51554,12 @@ function lL({ field: e, options: t, onSearch: n, value: r, onChange: i, popupCon
|
|
|
51401
51554
|
}) !== !1) && i?.(t);
|
|
51402
51555
|
}
|
|
51403
51556
|
return /* @__PURE__ */ Y(H, {
|
|
51557
|
+
mode: l,
|
|
51404
51558
|
showSearch: !0,
|
|
51405
51559
|
filterOption: !1,
|
|
51406
51560
|
notFoundContent: e.notFoundContent ?? null,
|
|
51407
51561
|
value: r,
|
|
51408
|
-
onChange:
|
|
51562
|
+
onChange: u,
|
|
51409
51563
|
options: o,
|
|
51410
51564
|
placeholder: e.placeholder,
|
|
51411
51565
|
onSearch: n,
|
|
@@ -52573,6 +52727,7 @@ var bR = {
|
|
|
52573
52727
|
required: !0,
|
|
52574
52728
|
placeholder: "Minimum 3 characters",
|
|
52575
52729
|
searchFetchKey: "tagToJobJobList",
|
|
52730
|
+
multiSelect: !0,
|
|
52576
52731
|
valueKey: "_id",
|
|
52577
52732
|
labelTemplate: "{jobReferenceId} - {jobTitle}"
|
|
52578
52733
|
}, SR = {
|
|
@@ -52686,20 +52841,20 @@ function PR(e, t) {
|
|
|
52686
52841
|
var FR = {
|
|
52687
52842
|
searchOptions: async (e, t) => e.searchFetchKey === "tagToJobJobList" ? fc(t) : [],
|
|
52688
52843
|
submit: async (e, t) => {
|
|
52689
|
-
let n = e.jobId ?? t.jobId, r = NR(e.hiringStage ?? t.hiringStage),
|
|
52690
|
-
for (let e = 0;
|
|
52691
|
-
let
|
|
52844
|
+
let n = e.jobId ?? t.jobId, r = Array.isArray(n) ? n : [n].filter(Boolean), i = NR(e.hiringStage ?? t.hiringStage), a = Array.isArray(t.selectedIds) ? t.selectedIds : [], o = Array.isArray(t.selectedRecords) ? t.selectedRecords : [], s = Math.max(a.length, o.length, 1);
|
|
52845
|
+
for (let e of r) for (let t = 0; t < s; t += 1) {
|
|
52846
|
+
let n = a[t] ? String(a[t]) : "", r = PR(o[t] ?? {}, n);
|
|
52692
52847
|
await AR({
|
|
52693
|
-
jobId:
|
|
52848
|
+
jobId: e,
|
|
52694
52849
|
module: "jobs",
|
|
52695
|
-
currentStage:
|
|
52696
|
-
...
|
|
52850
|
+
currentStage: i,
|
|
52851
|
+
...r ? { candidateDetails: r } : {}
|
|
52697
52852
|
});
|
|
52698
52853
|
}
|
|
52699
52854
|
await _c({
|
|
52700
52855
|
jobId: n,
|
|
52701
52856
|
candidateIds: t.selectedIds,
|
|
52702
|
-
hiringStage:
|
|
52857
|
+
hiringStage: i
|
|
52703
52858
|
});
|
|
52704
52859
|
}
|
|
52705
52860
|
}, IR = {
|
|
@@ -60424,7 +60579,7 @@ async function tU(e, t, n, r = 10, i = 0, a = {}) {
|
|
|
60424
60579
|
}
|
|
60425
60580
|
//#endregion
|
|
60426
60581
|
//#region src/index.js
|
|
60427
|
-
typeof window < "u" && (window.__CORE_THEME_BUILD__ = "2026-09-
|
|
60582
|
+
typeof window < "u" && (window.__CORE_THEME_BUILD__ = "2026-09-02T10:30:16.432Z");
|
|
60428
60583
|
var nU = vB, rU = $O(gV), iU = $O(vV), aU = $O(NV), oU = $O(GV), sU = $O(eH), cU = $O(rH), lU = $O(oH), uU = $O(lH), dU = $O(dH), fU = $O(wH), pU = $O(EH);
|
|
60429
60584
|
//#endregion
|
|
60430
60585
|
export { D as ADMIN_API_URL, ee as ADMIN_APP_ID, u as APP_ID, k as AUTH_URL, a_ as ActivityNotesCard, Jg as ActivityTab, Qz as AddBatchCandidatePopup, jg as AddFormV1, vB as AdminDashboard, LF as AdminDashboardContent, nU as AdminPage, Mg as AppAlert, Xr as AppButton, SO as AppShell, RT as ApprovalActionBar, o_ as AssigneeAvatars, hO as AuthGuard, yb as BILLING_STATUS_FLOW, ww as BOOLEAN_API_KEYS, lC as BOOLEAN_PARSEABLE_API_KEYS, s_ as BULK_UPLOAD_DEFAULT_ACCEPT, c_ as BULK_UPLOAD_DEFAULT_MAX_SIZE_MB, Vr as Breadcrumb, aU as BulkUploadPage, g_ as BulkUploadPanel, o as CANDIDATES_URL, cE as CONTRACT_C2C, sE as CONTRACT_W2, n as CORE_URL, wv as CURRENCY_SYMBOLS, Js as CalendarCard, VF as CoreThemeAdminApp, BF as CoreThemeAdminRoutes, Xc as CustomPagination, oT as DEFAULT_HOURS_POLICY, bw as DEFAULT_RESULTS_VIEW, AT as DayLogModal, k_ as DescriptionBlock, xx as DetailHeaderCard, Ox as DetailViewPage, vy as DetailViewV1, me as DocumentViewer, Ql as DynamicCards, BL as DynamicPopup, rB as DynamicPopupRoute, Qs as DynamicTabs, ES as EditFormV1, WC as FIELD_TYPE_REGISTRY, $T as FINANCE_APPROVAL_CONFIG, KT as FINANCE_TYPE_CFO, GT as FINANCE_TYPE_ONBOARDING_MANAGER, YT as FINANCE_TYPE_ONBOARDING_MANAGER_REAPPROVE, qT as FINANCE_TYPE_ONLY_FINANCE, WT as FINANCE_TYPE_SUBMISSION_MANAGER, JT as FINANCE_TYPE_SUBMISSION_MANAGER_REAPPROVE, pD as FileListCard, KE as FinanceApprovalPanel, ex as FinanceAvatar, ix as FinanceBadge, BT as FinanceDayCell, Kb as FinanceDivider, tx as FinanceEmployeeCell, Ub as FinanceEmptyState, qb as FinanceEquation, Zb as FinanceHistoryTimeline, Hb as FinanceHoursGrid, Vb as FinanceKpiRow, Gb as FinanceLine, aT as FinanceListToolbar, ax as FinanceMarginBadge, rx as FinanceMoneyCell, cx as FinanceRecordsTable, ox as FinanceRowChevron, Wb as FinanceSection, Bb as FinanceStatusPill, nx as FinanceTextCell, HT as FinanceTimesheetAnalysis, Jb as FinanceWorkflowSteps, O as GATEWAY_URL, tF as GLOBAL_DEFAULT_FIELDS, sT as HOURS_MESSAGES, HD as Header, ru as HierarchyUserFilter, s as JOBS_URL, rU as LegacyAdminPage, ih as ListView, pU as LmsHomePage, fU as LmsTestForm, CO as Login, gI as MailPopup, cU as ManageModules, lU as ManageSubmodules, FS as ModuleRowActions, LT as NotesPanel, i_ as NotesTab, dw as OPEN_AS_OPTIONS, bb as PAYROLL_STATUS_FLOW, QP as PLATFORM_SCOPES, Uz as POPUP_CONFIGS, i as PYOPS_URL, HS as ParamCardView, JS as ParamListView, yT as PeriodBadgeTag, dF as PlatformSection, DI as PreviewPopup, QO as ProjectSelect, IT as ProofUploadPreview, NT as QuickLogBar, jT as QuickLogSelectionBar, yw as RESULTS_VIEW_OPTIONS, _B as RegionBanner, MT as RejectionReasonModal, r as SUBMISSIONS_URL, Xw as SearchBuilderV1, dO as Sidebar, Qw as StatusBadge, vT as StatusBadgeTag, iU as StickyNotesFullPage, eT as StylishDynamicTabs, nT as TemplateEditor, oU as TestForm, dU as TestingHomePage, Bg as TimelineGroups, DT as TimesheetDayCell, it as TipTapEditor, gB as UserForm, sB as VendorShareDrawer, Zf as ViewSummaryWidget, NI as WizardPopup, a as ZINNEXT_URL, uU as ZinnextTableView, sU as ZinnextTestForm, Xe as appNow, Re as applyIntegrationStatus, Ac as approveSubmission, p_ as buildAcceptAttr, kw as buildBooleanRequest, Pb as buildCsv, Ob as buildDailyRows, TT as buildDayGradient, NE as buildRateHistoryEntries, jb as buildWeeklyRollup, g as clearSelectedProject, Yn as colors, TE as computeFinance, pT as computeHoursPolicy, Mb as computeMarginBand, Un as conditionMatches, v as configureCoreTheme, rn as configuredFieldLabel, $H as createAllWorkflowsListFetcher, qH as createMergedListFetcher, BH as createModuleListFetchAdapter, JH as createWorkflowStageListFetcher, Tv as currencySymbol, VP as deactivateRegion, MH as defaultMergeRow, sn as deleteIntegrationConfig, Db as deriveDayStats, hT as describeCapacity, Rb as downloadCsv, _r as evaluateShowIfWith, yE as findEmployerRow, _E as flattenGroups, jv as formatAmount, et as formatApp, ct as formatAppDateTime, f_ as formatFileSize, PE as formatFinanceMoney, ub as formatHours, Mv as formatMoney, fb as formatPercent, Nv as formatRate, lr as getActivity, eU as getAllWorkflowsModuleList, Se as getAppTimeZone, gb as getApprovalDate, de as getBgcIntegrationConfig, ai as getBgcIntegrationSummary, xb as getBillingActionStates, XC as getBooleanEligibleTypes, d as getCurrentRoleName, kt as getDetailDisplayDefaults, Ib as getFieldLabel, KC as getFieldType, d_ as getFileExtension, iE as getFinanceApprovalConfig, nD as getFormGroupsRaw, nF as getGlobalAiServices, $P as getGlobalDefaults, ne as getIntegrationConfig, Xn as getIntegrationConfigs, Ze as getIntegrationSummary, Kc as getModuleConfig, Fn as getModuleDataDetail, Sb as getPayrollActionStates, Jc as getPeriodBadgeConfig, JP as getRegionDetailDefaults, cw as getSearchPopup, y as getSelectedProject, E as getStoredToken, f as getStoredUser, p as getUserRoles, jc as getVMSApprove, Lb as getValueStyle, tU as getWorkflowStageModuleList, Cb as getWorkflowSteps, UP as grantPlatformAccess, GP as hasPlatformAccess, hb as humanizeEvent, kh as i, Fb as indexFieldConfig, pb as initialsOf, pC as insertTokenAtCursor, qC as isBooleanEligible, dC as isBooleanParsable, S as isTester, HP as listPlatformAccess, qP as listPlatformAudit, KP as listPlatformUsers, ZP as listRegionRoles, XP as listRegionUsers, zP as listRegions, Lt as loadDetailDefaults, h as logout, oE as marginIncludesReferral, wE as matchLocationTax, Ix as n, xE as normalizeContract, __ as r, Dv as rateUnitLabel, kv as rateUnitShort, hw as readActionButtons, mT as reconcileHours, RP as regionPath, GC as registerFieldType, sw as registerSearchPopup, Nc as rejectSubmission, Gg as resolveActivityMeta, EE as resolveAndCompute, dT as resolveDayKind, CE as resolveFinanceInputs, AH as resolveMergeKey, AH as resolveMergedListKey, pw as resolveOpenAs, aE as resolveRejectionReason, Cw as resolveResultsSearchPlaceholder, Sw as resolveResultsView, rD as resolveSubmissionFinance, WP as revokePlatformAccess, Hr as saveBgcIntegrationConfig, rF as saveGlobalAiServices, eF as saveGlobalDefaults, Wn as saveIntegrationConfig, BP as saveRegion, YP as saveRegionDetailDefaults, c as setSelectedProject, mn as showIfConditions, YH as stageCountKey, wO as t, bn as testIntegrationConnection, Ke as toApp, Av as toNumber, gt as tzLabel, vi as tzShortLabel, lw as unregisterSearchPopup, dd as useDropdownFields, Qf as useDropdownValues, mD as useEditForm, fd as useFieldConfig, pd as useFilterFields, Sd as useMenuPermission, OS as useModuleActions, Tx as useRecordRefresh, fC as validateBooleanQuery, m_ as validateBulkFile, t as withAdminAppId, _ as withAppId, $O as withAuthGuard };
|