@realtek/core-theme 0.0.330 → 0.0.331

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
@@ -45546,7 +45546,10 @@ function WM({ onLogout: e }) {
45546
45546
  let Ie = I(() => w.find((e) => e.user_type_id === ee), [ee, w]), Le = I(() => w.reduce((e, t) => ({
45547
45547
  ...e,
45548
45548
  [t.user_type_id]: t.user_type_name
45549
- }), {}), [w]), Re = I(() => w.filter((e) => !IM(e)), [w]), ze = I(() => f.filter((e) => !IM({
45549
+ }), {}), [w]), Re = I(() => f.reduce((e, t) => ({
45550
+ ...e,
45551
+ [t.user_id]: LM(t)
45552
+ }), {}), [f]), ze = I(() => w.filter((e) => !IM(e)), [w]), Be = I(() => f.filter((e) => !IM({
45550
45553
  user_type_id: e.user_type_id,
45551
45554
  user_type_name: Le[e.user_type_id]
45552
45555
  })), [Le, f]);
@@ -45575,21 +45578,21 @@ function WM({ onLogout: e }) {
45575
45578
  t,
45576
45579
  ne
45577
45580
  ]);
45578
- let Be = I(() => {
45581
+ let Ve = I(() => {
45579
45582
  let e = se.map((e) => ({
45580
45583
  label: LM(e),
45581
45584
  value: e.user_id
45582
45585
  })), t = Number(N?.reporting_id ?? N?.reportingId ?? 0);
45583
45586
  return !t || e.some((e) => Number(e.value) === t) ? e : [{
45584
- label: N?.reportingName ?? N?.reporting_name ?? He[t] ?? `User ${t}`,
45587
+ label: N?.reportingName ?? N?.reporting_name ?? Re[t] ?? `User ${t}`,
45585
45588
  value: t
45586
45589
  }, ...e];
45587
45590
  }, [
45588
45591
  N,
45589
45592
  se,
45590
- He
45591
- ]), Ve = I(() => {
45592
- let e = Re.map((e) => ({
45593
+ Re
45594
+ ]), He = I(() => {
45595
+ let e = ze.map((e) => ({
45593
45596
  label: e.user_type_name,
45594
45597
  value: e.user_type_id
45595
45598
  }));
@@ -45601,12 +45604,9 @@ function WM({ onLogout: e }) {
45601
45604
  }, ...e];
45602
45605
  }, [
45603
45606
  N,
45604
- Re,
45607
+ ze,
45605
45608
  Le
45606
- ]), He = I(() => f.reduce((e, t) => ({
45607
- ...e,
45608
- [t.user_id]: LM(t)
45609
- }), {}), [f]);
45609
+ ]);
45610
45610
  w.length, E.length;
45611
45611
  let Ue = [
45612
45612
  {
@@ -45733,7 +45733,7 @@ function WM({ onLogout: e }) {
45733
45733
  function qe() {
45734
45734
  re(null), t.resetFields(), t.setFieldsValue({
45735
45735
  status: "ACTIVE",
45736
- user_type_id: Re[0]?.user_type_id,
45736
+ user_type_id: ze[0]?.user_type_id,
45737
45737
  reporting_id: 0
45738
45738
  }), M(!0);
45739
45739
  }
@@ -45900,7 +45900,7 @@ function WM({ onLogout: e }) {
45900
45900
  label: "Reporting Manager",
45901
45901
  value: "reporting_id",
45902
45902
  width: 180,
45903
- render: (e, t) => He[e] || t?.reportingName || t?.reporting_name || (Number(e) > 0 ? `User ${e}` : "None")
45903
+ render: (e, t) => Re[e] || t?.reportingName || t?.reporting_name || (Number(e) > 0 ? `User ${e}` : "None")
45904
45904
  },
45905
45905
  {
45906
45906
  label: "Status",
@@ -45941,7 +45941,7 @@ function WM({ onLogout: e }) {
45941
45941
  })
45942
45942
  }
45943
45943
  ],
45944
- dataSource: ze.map((e) => ({
45944
+ dataSource: Be.map((e) => ({
45945
45945
  ...e,
45946
45946
  key: e.user_id
45947
45947
  })),
@@ -46359,7 +46359,7 @@ function WM({ onLogout: e }) {
46359
46359
  }));
46360
46360
  });
46361
46361
  },
46362
- options: Ve
46362
+ options: He
46363
46363
  })
46364
46364
  })]
46365
46365
  }),
@@ -46375,7 +46375,7 @@ function WM({ onLogout: e }) {
46375
46375
  options: [{
46376
46376
  label: "None",
46377
46377
  value: 0
46378
- }, ...Be]
46378
+ }, ...Ve]
46379
46379
  })
46380
46380
  }),
46381
46381
  /* @__PURE__ */ Y(B.Item, {
@@ -57066,7 +57066,7 @@ async function DB(e, t, n, r = 10, i = 0, a = {}) {
57066
57066
  }
57067
57067
  //#endregion
57068
57068
  //#region src/index.js
57069
- typeof window < "u" && (window.__CORE_THEME_BUILD__ = "2026-08-20T10:22:57.825Z");
57069
+ typeof window < "u" && (window.__CORE_THEME_BUILD__ = "2026-08-20T11:05:26.250Z");
57070
57070
  var OB = WL, kB = lD(HR), AB = lD(WR), jB = lD(az), MB = lD(_z), NB = lD(Ez), PB = lD(kz), FB = lD(Mz), IB = lD(Fz), LB = lD(Lz), RB = lD(Xz), zB = lD(Qz);
57071
57071
  //#endregion
57072
57072
  export { w as ADMIN_API_URL, D as ADMIN_APP_ID, l as APP_ID, E as AUTH_URL, Eg as ActivityNotesCard, xg as ActivityTab, TL as AddBatchCandidatePopup, ig as AddFormV1, WL as AdminDashboard, WM as AdminDashboardContent, OB as AdminPage, ag as AppAlert, er as AppButton, ME as AppShell, YC as ApprovalActionBar, Dg as AssigneeAvatars, TE as AuthGuard, Iy as BILLING_STATUS_FLOW, WS as BOOLEAN_API_KEYS, zS as BOOLEAN_PARSEABLE_API_KEYS, Og as BULK_UPLOAD_DEFAULT_ACCEPT, kg as BULK_UPLOAD_DEFAULT_MAX_SIZE_MB, Fr as Breadcrumb, jB as BulkUploadPage, Lg as BulkUploadPanel, a as CANDIDATES_URL, yw as CONTRACT_C2C, vw as CONTRACT_W2, G_ as CURRENCY_SYMBOLS, js as CalendarCard, JM as CoreThemeAdminApp, qM as CoreThemeAdminRoutes, Mc as CustomPagination, _C as DEFAULT_HOURS_POLICY, VC as DayLogModal, Xg as DescriptionBlock, Rb as DetailHeaderCard, Gb as DetailViewPage, Fv as DetailViewV1, oe as DocumentViewer, Ml as DynamicCards, pF as DynamicPopup, AL as DynamicPopupRoute, Fs as DynamicTabs, Ux as EditFormV1, SS as FIELD_TYPE_REGISTRY, uw as FINANCE_APPROVAL_CONFIG, rw as FINANCE_TYPE_CFO, nw as FINANCE_TYPE_ONBOARDING_MANAGER, ow as FINANCE_TYPE_ONBOARDING_MANAGER_REAPPROVE, iw as FINANCE_TYPE_ONLY_FINANCE, tw as FINANCE_TYPE_SUBMISSION_MANAGER, aw as FINANCE_TYPE_SUBMISSION_MANAGER_REAPPROVE, wT as FileListCard, rT as FinanceApprovalPanel, _b as FinanceAvatar, xb as FinanceBadge, ZC as FinanceDayCell, lb as FinanceDivider, vb as FinanceEmployeeCell, ob as FinanceEmptyState, ub as FinanceEquation, mb as FinanceHistoryTimeline, ab as FinanceHoursGrid, ib as FinanceKpiRow, cb as FinanceLine, gC as FinanceListToolbar, Sb as FinanceMarginBadge, bb as FinanceMoneyCell, Tb as FinanceRecordsTable, Cb as FinanceRowChevron, sb as FinanceSection, rb as FinanceStatusPill, yb as FinanceTextCell, $C as FinanceTimesheetAnalysis, db as FinanceWorkflowSteps, vC as HOURS_MESSAGES, $T as Header, Ll as HierarchyUserFilter, t as JOBS_URL, kB as LegacyAdminPage, Nm as ListView, zB as LmsHomePage, RB as LmsTestForm, NE as Login, CN as MailPopup, PB as ManageModules, FB as ManageSubmodules, Qx as ModuleRowActions, JC as NotesPanel, Tg as NotesTab, Ly as PAYROLL_STATUS_FLOW, gL as POPUP_CONFIGS, aS as ParamCardView, dS as ParamListView, AC as PeriodBadgeTag, eP as PreviewPopup, cD as ProjectSelect, qC as ProofUploadPreview, WC as QuickLogBar, HC as QuickLogSelectionBar, UC as RejectionReasonModal, o as SUBMISSIONS_URL, sC as SearchBuilderV1, xE as Sidebar, lC as StatusBadge, kC as StatusBadgeTag, AB as StickyNotesFullPage, dC as StylishDynamicTabs, pC as TemplateEditor, MB as TestForm, LB as TestingHomePage, pg as TimelineGroups, RC as TimesheetDayCell, Xr as TipTapEditor, UL as UserForm, PL as VendorShareDrawer, Ef as ViewSummaryWidget, oP as WizardPopup, IB as ZinnextTableView, NB as ZinnextTestForm, et as appNow, Mt as applyIntegrationStatus, pc as approveSubmission, Pg as buildAcceptAttr, YS as buildBooleanRequest, Zy as buildCsv, Gy as buildDailyRows, IC as buildDayGradient, Ww as buildRateHistoryEntries, Jy as buildWeeklyRollup, h as clearSelectedProject, ue as colors, Iw as computeFinance, wC as computeHoursPolicy, Yy as computeMarginBand, Ln as conditionMatches, r as configureCoreTheme, Qt as configuredFieldLabel, TB as createAllWorkflowsListFetcher, yB as createMergedListFetcher, fB as createModuleListFetchAdapter, bB as createWorkflowStageListFetcher, K_ as currencySymbol, iB as defaultMergeRow, Rr as deleteIntegrationConfig, Wy as deriveDayStats, EC as describeCapacity, tb as downloadCsv, dr as evaluateShowIfWith, Aw as findEmployerRow, Ow as flattenGroups, Q_ as formatAmount, qn as formatApp, te as formatAppDateTime, Ng as formatFileSize, Gw as formatFinanceMoney, Dy as formatHours, $_ as formatMoney, ky as formatPercent, ev as formatRate, Hr as getActivity, EB as getAllWorkflowsModuleList, Un as getAppTimeZone, Ny as getApprovalDate, qr as getBgcIntegrationConfig, ai as getBgcIntegrationSummary, Ry as getBillingActionStates, ES as getBooleanEligibleTypes, u as getCurrentRoleName, $y as getFieldLabel, wS as getFieldType, Mg as getFileExtension, hw as getFinanceApprovalConfig, pT as getFormGroupsRaw, xt as getIntegrationConfig, he as getIntegrationConfigs, de as getIntegrationSummary, kc as getModuleConfig, wn as getModuleDataDetail, zy as getPayrollActionStates, jc as getPeriodBadgeConfig, g as getSelectedProject, C as getStoredToken, d as getStoredUser, f as getUserRoles, mc as getVMSApprove, eb as getValueStyle, DB as getWorkflowStageModuleList, By as getWorkflowSteps, My as humanizeEvent, nh as i, Qy as indexFieldConfig, Ay as initialsOf, US as insertTokenAtCursor, TS as isBooleanEligible, VS as isBooleanParsable, y as isTester, m as logout, _w as marginIncludesReferral, Fw as matchLocationTax, $b as n, Mw as normalizeContract, Rg as r, J_ as rateUnitLabel, X_ as rateUnitShort, TC as reconcileHours, CS as registerFieldType, gc as rejectSubmission, vg as resolveActivityMeta, Lw as resolveAndCompute, SC as resolveDayKind, Pw as resolveFinanceInputs, nB as resolveMergeKey, nB as resolveMergedListKey, gw as resolveRejectionReason, mT as resolveSubmissionFinance, Vt as saveBgcIntegrationConfig, lt as saveIntegrationConfig, s as setSelectedProject, cn as showIfConditions, xB as stageCountKey, PE as t, Rn as testIntegrationConnection, Xe as toApp, Z_ as toNumber, it as tzLabel, ve as tzShortLabel, Vu as useDropdownFields, Df as useDropdownValues, TT as useEditForm, Hu as useFieldConfig, Uu as useFilterFields, Qu as useMenuPermission, Gx as useModuleActions, Hb as useRecordRefresh, HS as validateBooleanQuery, Fg as validateBulkFile, n as withAdminAppId, i as withAppId, lD as withAuthGuard };