@realtek/core-theme-live 0.0.373 → 0.0.374

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
@@ -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
@@ -50500,23 +50514,27 @@ function SI(e) {
50500
50514
  return e ? e.status ? e.status : e.stage ? e.stage : typeof e.isActive == "boolean" ? e.isActive ? "Active" : "Inactive" : "" : "";
50501
50515
  }
50502
50516
  function CI(e, t) {
50503
- let n = String(e?.type ?? "").trim().toLowerCase(), r = `${e?.field ?? ""} ${e?.label ?? ""}`;
50517
+ let n = String(e?.type ?? "").trim().toLowerCase(), r = String(e?.renderType ?? "").trim().toLowerCase(), i = `${e?.field ?? ""} ${e?.label ?? ""}`.toLowerCase();
50504
50518
  if (!([
50505
50519
  "file",
50506
50520
  "document",
50507
50521
  "upload"
50508
- ].includes(n) || /resume|cv|document|attachment/i.test(r))) return e;
50509
- let i = String(e?.field ?? "").trim().toLowerCase(), a = t.filter((e) => {
50510
- let t = String(e?.fieldName ?? e?.field ?? e?.formField ?? e?.key ?? "").trim().toLowerCase();
50511
- return t && i && t === i ? !0 : /resume|cv/i.test(r) ? /resume|cv/i.test(`${t} ${e?.fileName ?? ""} ${e?.name ?? ""}`) : !1;
50522
+ ].includes(n) || [
50523
+ "file",
50524
+ "document",
50525
+ "upload"
50526
+ ].includes(r) || /resume|cv|document|attachment/i.test(i))) return e;
50527
+ let a = String(e?.field ?? "").trim().toLowerCase(), o = /resume|cv/.test(i), s = /document|attachment|file|upload/.test(i), c = t.filter((e) => {
50528
+ let t = String(e?.fieldName ?? e?.field ?? e?.formField ?? e?.key ?? "").trim().toLowerCase(), n = `${t} ${e?.fileName ?? ""} ${e?.name ?? ""}`.toLowerCase();
50529
+ 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
50530
  }).map((t) => ({
50513
50531
  name: t?.fileName || t?.name || t?.uploadedFileName || t?.originalName || e?.label || "Document",
50514
50532
  url: t?.fileUrl || t?.downloadUrl || t?.signedUrl || t?.url || "",
50515
50533
  type: t?.mimeType || t?.contentType || t?.type
50516
50534
  })).filter((e) => e.url);
50517
- return a.length ? {
50535
+ return c.length ? {
50518
50536
  ...e,
50519
- value: a,
50537
+ value: c,
50520
50538
  renderType: "document"
50521
50539
  } : e;
50522
50540
  }
@@ -51389,9 +51407,9 @@ function cL({ field: e, options: t, value: n, onChange: r }) {
51389
51407
  });
51390
51408
  }
51391
51409
  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 l(t, n) {
51394
- let r = n ?? c.get(String(t ?? ""));
51410
+ 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;
51411
+ async function u(t, n) {
51412
+ let r = Array.isArray(t) ? Array.isArray(n) ? n : t.map((e) => c.get(String(e ?? ""))).filter(Boolean) : n ?? c.get(String(t ?? ""));
51395
51413
  (typeof e.onSelectGuard != "function" || await e.onSelectGuard({
51396
51414
  value: t,
51397
51415
  option: r,
@@ -51401,11 +51419,12 @@ function lL({ field: e, options: t, onSearch: n, value: r, onChange: i, popupCon
51401
51419
  }) !== !1) && i?.(t);
51402
51420
  }
51403
51421
  return /* @__PURE__ */ Y(H, {
51422
+ mode: l,
51404
51423
  showSearch: !0,
51405
51424
  filterOption: !1,
51406
51425
  notFoundContent: e.notFoundContent ?? null,
51407
51426
  value: r,
51408
- onChange: l,
51427
+ onChange: u,
51409
51428
  options: o,
51410
51429
  placeholder: e.placeholder,
51411
51430
  onSearch: n,
@@ -52573,6 +52592,7 @@ var bR = {
52573
52592
  required: !0,
52574
52593
  placeholder: "Minimum 3 characters",
52575
52594
  searchFetchKey: "tagToJobJobList",
52595
+ multiSelect: !0,
52576
52596
  valueKey: "_id",
52577
52597
  labelTemplate: "{jobReferenceId} - {jobTitle}"
52578
52598
  }, SR = {
@@ -52686,20 +52706,20 @@ function PR(e, t) {
52686
52706
  var FR = {
52687
52707
  searchOptions: async (e, t) => e.searchFetchKey === "tagToJobJobList" ? fc(t) : [],
52688
52708
  submit: async (e, t) => {
52689
- let n = e.jobId ?? t.jobId, r = NR(e.hiringStage ?? t.hiringStage), i = Array.isArray(t.selectedIds) ? t.selectedIds : [], a = Array.isArray(t.selectedRecords) ? t.selectedRecords : [], o = Math.max(i.length, a.length, 1);
52690
- for (let e = 0; e < o; e += 1) {
52691
- let t = i[e] ? String(i[e]) : "", o = PR(a[e] ?? {}, t);
52709
+ 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);
52710
+ for (let e of r) for (let t = 0; t < s; t += 1) {
52711
+ let n = a[t] ? String(a[t]) : "", r = PR(o[t] ?? {}, n);
52692
52712
  await AR({
52693
- jobId: n,
52713
+ jobId: e,
52694
52714
  module: "jobs",
52695
- currentStage: r,
52696
- ...o ? { candidateDetails: o } : {}
52715
+ currentStage: i,
52716
+ ...r ? { candidateDetails: r } : {}
52697
52717
  });
52698
52718
  }
52699
52719
  await _c({
52700
52720
  jobId: n,
52701
52721
  candidateIds: t.selectedIds,
52702
- hiringStage: r
52722
+ hiringStage: i
52703
52723
  });
52704
52724
  }
52705
52725
  }, IR = {
@@ -60424,7 +60444,7 @@ async function tU(e, t, n, r = 10, i = 0, a = {}) {
60424
60444
  }
60425
60445
  //#endregion
60426
60446
  //#region src/index.js
60427
- typeof window < "u" && (window.__CORE_THEME_BUILD__ = "2026-09-01T16:11:45.760Z");
60447
+ typeof window < "u" && (window.__CORE_THEME_BUILD__ = "2026-09-02T09:50:32.355Z");
60428
60448
  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
60449
  //#endregion
60430
60450
  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 };