sevago-sso-fe 1.0.28 → 1.0.30

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/index.esm.js CHANGED
@@ -3,7 +3,7 @@ import { createAsyncThunk, createSlice, configureStore, combineReducers } from "
3
3
  import { useDispatch, useSelector } from "react-redux";
4
4
  import * as React from "react";
5
5
  import React__default, { useMemo, useState, createContext, useContext, useEffect, useCallback, forwardRef, useImperativeHandle, createElement, Children, useRef, useLayoutEffect, Fragment as Fragment$1, useId, useInsertionEffect, Component as Component$1 } from "react";
6
- import { useLocation, useNavigate, Outlet, Link, Route, Navigate } from "react-router-dom";
6
+ import { useLocation, useNavigate, Outlet, Route, Navigate } from "react-router-dom";
7
7
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
8
8
  import { Alert, Stack as Stack$1, useTheme as useTheme$2, Icon, Button, Typography, IconButton, Box, TextField, styled as styled$2, TableCell, tableCellClasses, LinearProgress, linearProgressClasses, Skeleton, InputAdornment, Tooltip, tooltipClasses, Avatar, ClickAwayListener as ClickAwayListener$1, Fade, Badge, List, ListItem, FormControl, InputLabel, RadioGroup, FormControlLabel, Radio, Menu, Divider, MenuItem } from "@mui/material";
9
9
  import { unstable_createGetCssVar, createSpacing as createSpacing$1, useTheme as useTheme$1, unstable_memoTheme, css, keyframes as keyframes$1, Stack as Stack$2 } from "@mui/system";
@@ -10638,7 +10638,6 @@ const initSockets = (store2) => {
10638
10638
  };
10639
10639
  const socketConfig = (namespace, roomId) => {
10640
10640
  if (sockets[namespace]) return sockets[namespace];
10641
- console.log("namespace", namespace);
10642
10641
  if (!manager) throw new Error("Please initial socket at app!");
10643
10642
  const socket = manager.socket(`/${namespace}`, {
10644
10643
  auth: { token: currentToken, roomId }
@@ -11011,12 +11010,40 @@ var AppType = /* @__PURE__ */ ((AppType2) => {
11011
11010
  AppType2["EXPAND_MENU"] = "expand-menu";
11012
11011
  return AppType2;
11013
11012
  })(AppType || {});
11013
+ const sevagoEHiringIcon = "data:image/svg+xml,%3csvg%20width='54'%20height='54'%20viewBox='0%200%2054%2054'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_2505_587)'%3e%3cpath%20d='M26.9997%202C39.702%202%2049.9992%2012.2973%2049.9993%2024.9997C49.9993%2029.9065%2048.4622%2034.454%2045.844%2038.1882L48.8273%2041.1715L48.9707%2041.3213C50.3888%2042.8915%2050.3405%2045.3143%2048.8273%2046.8275C47.3143%2048.3405%2044.8913%2048.389%2043.3212%2046.9707L43.1715%2046.8275L40.188%2043.844C36.454%2046.4623%2031.9065%2047.9993%2026.9997%2047.9993C14.2972%2047.9992%204%2037.7022%204%2024.9997C4.00017%2012.2973%2014.2973%202.00017%2026.9997%202ZM26.9997%208.02533C17.6255%208.0255%2010.0255%2015.6255%2010.0253%2024.9997C10.0253%2034.374%2017.6253%2041.9738%2026.9997%2041.974C36.374%2041.974%2043.9738%2034.374%2043.9738%2024.9997C43.9737%2015.6255%2036.3738%208.02533%2026.9997%208.02533ZM29.1008%2027C30.9238%2027.0327%2032.7062%2027.5537%2034.2685%2028.5103C34.6045%2028.7162%2034.9277%2028.941%2035.2368%2029.1827C37.3037%2030.7973%2037.0545%2033.918%2034.9147%2035.4342C34.3567%2035.8295%2033.7702%2036.1848%2033.1585%2036.4955C31.266%2037.4562%2029.1842%2037.9708%2027.0695%2037.9993C24.9552%2038.0278%2022.8615%2037.569%2020.9448%2036.6598C20.3177%2036.3623%2019.7142%2036.0187%2019.1398%2035.6328C16.975%2034.1778%2016.6373%2031.0858%2018.6353%2029.4088C18.9863%2029.1143%2019.3567%2028.8417%2019.7453%2028.595C21.341%2027.5827%2023.1778%2027.0317%2025.0578%2027H29.1008ZM26.9997%2012C28.5908%2012%2030.1175%2012.6327%2031.2428%2013.7578C32.3677%2014.8828%2033.0003%2016.4083%2033.0005%2017.9993C33.0005%2019.5907%2032.3678%2021.1173%2031.2428%2022.2425C30.1175%2023.3677%2028.5908%2024.0003%2026.9997%2024.0003C25.4085%2024.0002%2023.8832%2023.3675%2022.758%2022.2425C21.6328%2021.1173%2021.0002%2019.5907%2021.0002%2017.9993C21.0005%2016.4083%2021.633%2014.8828%2022.758%2013.7578C23.8832%2012.6328%2025.4085%2012.0002%2026.9997%2012Z'%20fill='white'%20/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_2505_587'%20x='0'%20y='0'%20width='53.9994'%20height='53.9995'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'%20/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'%20/%3e%3cfeOffset%20dy='2'%20/%3e%3cfeGaussianBlur%20stdDeviation='2'%20/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'%20/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.182083%200%200%200%200%200.243258%200%200%200%200%200.316667%200%200%200%200.16%200'%20/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_2505_587'%20/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_2505_587'%20result='shape'%20/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e";
11014
+ const sevagoHrmIcon = "data:image/svg+xml,%3csvg%20width='46'%20height='46'%20viewBox='0%200%2046%2046'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M34.0003%200C40.6278%200%2046.0003%205.37267%2046.0003%2012V34C46.0003%2040.6275%2040.6278%2046%2034.0003%2046H12.0003C5.37297%2046%200.000305176%2040.6275%200.000305176%2034V12C0.000305176%205.37267%205.37297%200%2012.0003%200H34.0003ZM14.5003%204C13.672%204.00017%2013.0003%204.67167%2013.0003%205.5C13.0003%206.32833%2013.672%207%2014.5003%207H31.5003C32.3288%207%2033.0003%206.3285%2033.0003%205.5C33.0003%204.67167%2032.3288%204%2031.5003%204H14.5003Z'%20fill='white'%20/%3e%3cpath%20d='M24.1933%2026.7886C28.8611%2026.7888%2032.8174%2029.8231%2034.2029%2034.0268C34.4856%2034.8839%2034.4509%2035.8818%2033.7978%2036.5044C33.2609%2037.0159%2032.5348%2037.3306%2031.7343%2037.3306H14.2568C13.4561%2037.3306%2012.7301%2037.0159%2012.1933%2036.5044C11.5399%2035.8818%2011.5054%2034.8839%2011.7879%2034.0268C13.1738%2029.8229%2017.1306%2026.7886%2021.7988%2026.7886H24.1933ZM22.9999%2013.3716C26.1756%2013.3716%2028.7499%2015.9459%2028.7499%2019.1216C28.7499%2022.2973%2026.1756%2024.8716%2022.9999%2024.8716C19.8243%2024.8714%2017.2499%2022.2971%2017.2499%2019.1216C17.2499%2015.9459%2019.8243%2013.3717%2022.9999%2013.3716Z'%20fill='url(%23paint0_linear_2514_593)'%20/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_2514_593'%20x1='23.0003'%20y1='0'%20x2='23.0003'%20y2='46'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2309D47B'%20/%3e%3cstop%20offset='1'%20stop-color='%2307554B'%20/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
11015
+ const sevagoPayrollIcon = "data:image/svg+xml,%3csvg%20width='46'%20height='46'%20viewBox='0%200%2046%2046'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22.9997%2010C24.1043%2010%2025%2010.8958%2025%2012.0003V12.9997C25%2013.104%2025.067%2013.1982%2025.1683%2013.2225C25.7123%2013.3537%2026.2163%2013.5427%2026.6797%2013.7907C27.6638%2014.3177%2028.4222%2015.0605%2028.9552%2016.0188C29.1548%2016.372%2029.3187%2016.7475%2029.445%2017.1452C29.8207%2018.3275%2028.7633%2019.3618%2027.5228%2019.362H27.0752C26.1497%2019.3618%2025.4818%2018.5223%2024.8193%2017.876C24.4603%2017.5205%2023.913%2017.3422%2023.1787%2017.3422C22.7117%2017.3422%2022.3285%2017.4093%2022.0297%2017.5423C21.7362%2017.6692%2021.5183%2017.8443%2021.377%2018.0665C21.2357%2018.2885%2021.1612%2018.5427%2021.1557%2018.8282C21.1447%2019.063%2021.1815%2019.2757%2021.263%2019.4662C21.35%2019.6502%2021.4853%2019.8185%2021.67%2019.9707C21.8548%2020.1167%2022.0915%2020.2505%2022.3795%2020.3712C22.6678%2020.4917%2023.0112%2020.5998%2023.4082%2020.695L24.7787%2021.0385C25.7032%2021.267%2026.4953%2021.5688%2027.1533%2021.9433C27.8112%2022.3178%2028.3493%2022.7588%2028.768%2023.2667C29.1867%2023.7682%2029.495%2024.334%2029.6908%2024.9627C29.8918%2025.5907%2029.9945%2026.276%2030%2027.0182C29.9945%2028.3008%2029.7203%2029.3878%2029.1765%2030.2767C28.6325%2031.1655%2027.854%2031.8413%2026.8425%2032.3047C26.3265%2032.5423%2025.7565%2032.7162%2025.1332%2032.8315C25.0532%2032.8463%2025%2032.9183%2025%2032.9997V34.0007C24.9997%2035.105%2024.104%2035.9993%2022.9997%2035.9993C21.8955%2035.9992%2020.9997%2035.1048%2020.9993%2034.0007V32.9997C20.9993%2032.8718%2020.9173%2032.7548%2020.793%2032.7245C20.303%2032.605%2019.842%2032.4475%2019.4108%2032.2477C18.334%2031.7462%2017.4962%2030.9745%2016.8978%2029.9333C16.596%2029.3998%2016.3703%2028.7903%2016.2207%2028.1055C15.9612%2026.9162%2016.9892%2025.9148%2018.2063%2025.9147H18.7403C19.617%2025.9147%2020.2622%2026.6543%2020.6918%2027.4187C20.9202%2027.825%2021.2403%2028.1337%2021.6537%2028.3432C22.0723%2028.5525%2022.57%2028.6572%2023.1462%2028.6572C23.6302%2028.6572%2024.0357%2028.5868%2024.362%2028.4473C24.6883%2028.3077%2024.9355%2028.1138%2025.1042%2027.8662C25.2728%2027.6187%2025.3608%2027.3357%2025.3662%2027.0182C25.3607%2026.7202%2025.2753%2026.4607%2025.1123%2026.2387C24.9547%2026.01%2024.6938%2025.806%2024.3295%2025.6283C23.965%2025.4442%2023.473%2025.2727%2022.8532%2025.114L21.1882%2024.6957C19.709%2024.321%2018.5427%2023.6952%2017.6888%2022.819C16.8403%2021.9365%2016.4187%2020.7328%2016.4242%2019.209C16.4188%2017.9713%2016.7013%2016.8887%2017.2722%2015.962C17.8487%2015.0287%2018.646%2014.3015%2019.6632%2013.781C20.0112%2013.6038%2020.3768%2013.4582%2020.7597%2013.3418C20.907%2013.2972%2020.9993%2013.1537%2020.9993%2012.9997V12.0003C20.9993%2010.8958%2021.8953%2010.0002%2022.9997%2010Z'%20fill='white'%20/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M22.9997%200C35.7022%200%2045.9992%2010.2973%2045.9993%2022.9997C45.9993%2035.7022%2035.7022%2045.9993%2022.9997%2045.9993C10.2973%2045.9992%200%2035.7022%200%2022.9997C0.000166667%2010.2973%2010.2973%200.000166667%2022.9997%200.000166667Z'%20fill='white'%20/%3e%3c/svg%3e";
11016
+ const sevagoChartIcon = "data:image/svg+xml,%3csvg%20width='48'%20height='47'%20viewBox='0%200%2048%2047'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M40.4063%2036.8073C42.4198%2036.8073%2044.0521%2035.175%2044.0521%2033.1615C44.0521%2031.1479%2042.4198%2029.5156%2040.4063%2029.5156C38.3927%2029.5156%2036.7604%2031.1479%2036.7604%2033.1615C36.7604%2035.175%2038.3927%2036.8073%2040.4063%2036.8073Z'%20fill='white'%20/%3e%3cpath%20d='M44.8372%2037.7456C43.6885%2038.8562%2042.1264%2039.5416%2040.4062%2039.5416C38.6861%2039.5416%2037.124%2038.8562%2035.9753%2037.7456C34.5242%2038.7289%2033.5703%2040.391%2033.5703%2042.276V46.8333H45.875C46.6301%2046.8333%2047.2422%2046.2212%2047.2422%2045.4661V42.276C47.2422%2040.391%2046.2883%2038.7289%2044.8372%2037.7456Z'%20fill='white'%20/%3e%3cpath%20d='M24%2036.8073C26.0136%2036.8073%2027.6459%2035.175%2027.6459%2033.1615C27.6459%2031.1479%2026.0136%2029.5156%2024%2029.5156C21.9865%2029.5156%2020.3542%2031.1479%2020.3542%2033.1615C20.3542%2035.175%2021.9865%2036.8073%2024%2036.8073Z'%20fill='white'%20/%3e%3cpath%20d='M28.431%2037.7456C27.2823%2038.8562%2025.7201%2039.5416%2024%2039.5416C22.2799%2039.5416%2020.7177%2038.8562%2019.569%2037.7456C18.1179%2038.7289%2017.1641%2040.391%2017.1641%2042.276V46.8333H30.8359V42.276C30.8359%2040.391%2029.8821%2038.7289%2028.431%2037.7456Z'%20fill='white'%20/%3e%3cpath%20d='M7.59377%2036.8073C9.60731%2036.8073%2011.2396%2035.175%2011.2396%2033.1615C11.2396%2031.1479%209.60731%2029.5156%207.59377%2029.5156C5.58023%2029.5156%203.94794%2031.1479%203.94794%2033.1615C3.94794%2035.175%205.58023%2036.8073%207.59377%2036.8073Z'%20fill='white'%20/%3e%3cpath%20d='M12.0247%2037.7456C10.876%2038.8562%209.31385%2039.5416%207.59375%2039.5416C5.87365%2039.5416%204.3115%2038.8562%203.16279%2037.7456C1.71165%2038.7289%200.757812%2040.391%200.757812%2042.276V45.4661C0.757812%2046.2212%201.36995%2046.8333%202.125%2046.8333H14.4297V42.276C14.4297%2040.391%2013.4758%2038.7289%2012.0247%2037.7456Z'%20fill='white'%20/%3e%3cpath%20d='M24%207.45817C26.0136%207.45817%2027.6459%205.82588%2027.6459%203.81234C27.6459%201.7988%2026.0136%200.166504%2024%200.166504C21.9865%200.166504%2020.3542%201.7988%2020.3542%203.81234C20.3542%205.82588%2021.9865%207.45817%2024%207.45817Z'%20fill='white'%20/%3e%3cpath%20d='M18.5312%2017.4842H29.4688C30.2238%2017.4842%2030.8359%2016.872%2030.8359%2016.117V12.9269C30.8359%2011.0419%2029.8821%209.37977%2028.431%208.39648C27.2823%209.5071%2025.7201%2010.1925%2024%2010.1925C22.2799%2010.1925%2020.7177%209.5071%2019.569%208.39648C18.1179%209.37977%2017.1641%2011.0419%2017.1641%2012.9269V16.117C17.1641%2016.872%2017.7762%2017.4842%2018.5312%2017.4842Z'%20fill='white'%20/%3e%3cpath%20d='M8.96094%2026.9303V24.8672H39.0391V26.9303C39.4798%2026.8337%2039.9369%2026.7813%2040.4062%2026.7813C40.8756%2026.7813%2041.3327%2026.8337%2041.7734%2026.9303V23.5C41.7734%2022.7449%2041.1613%2022.1328%2040.4062%2022.1328H25.3672V20.2188H22.6328V22.1328H7.59375C6.8387%2022.1328%206.22656%2022.7449%206.22656%2023.5V26.9303C6.66734%2026.8337%207.12444%2026.7813%207.59375%2026.7813C8.06306%2026.7813%208.52016%2026.8337%208.96094%2026.9303Z'%20fill='white'%20/%3e%3c/svg%3e";
11017
+ const sevagoCheckinIcon = "data:image/svg+xml,%3csvg%20width='46'%20height='48'%20viewBox='0%200%2046%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M23.0001%2026.691C23.892%2026.691%2024.615%2027.414%2024.615%2028.3058C24.615%2030.7908%2025.518%2035.805%2031.7511%2038.6818C33.0583%2039.2852%2034.6491%2039.4213%2036.012%2039.3708C36.6766%2039.3463%2037.2498%2039.2788%2037.6536%2039.2182C37.8548%2039.1878%2038.012%2039.1595%2038.115%2039.1397C38.1665%2039.1297%2038.2043%2039.1218%2038.2273%2039.117L38.2503%2039.1122C39.1193%2038.9135%2039.9853%2039.4567%2040.1845%2040.3258C40.3835%2041.1952%2039.8401%2042.0613%2038.9708%2042.2603L38.6103%2040.6863C38.9708%2042.2603%2038.9711%2042.2603%2038.9708%2042.2603L38.9668%2042.2613L38.9613%2042.2625L38.9458%2042.266L38.8961%2042.2767C38.8552%2042.2853%2038.7983%2042.297%2038.727%2042.3108C38.5845%2042.3383%2038.3833%2042.3743%2038.1342%2042.4118C37.6372%2042.4867%2036.9412%2042.5683%2036.1315%2042.5983C34.5462%2042.657%2032.369%2042.5242%2030.3976%2041.6142C22.6355%2038.0317%2021.3853%2031.5625%2021.3853%2028.3058C21.3853%2027.414%2022.1083%2026.691%2023.0001%2026.691Z'%20fill='white'%20/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14.8168%209.06318C18.9061%207.27385%2027.758%205.76752%2035.2728%2011.4037C42.6805%2016.9593%2044.1948%2024.9237%2043.9902%2028.4005C43.9895%2028.4137%2043.9885%2028.4268%2043.9875%2028.4398C43.8783%2029.7493%2043.37%2031.6697%2042.1535%2033.3062C40.8891%2035.0072%2038.8623%2036.3798%2035.9188%2036.38C32.9163%2036.38%2030.9408%2035.0013%2029.7171%2033.2778C28.5553%2031.6413%2028.1001%2029.7437%2027.876%2028.6225C27.3963%2026.2248%2026.4841%2024.9873%2025.642%2024.3322C24.7845%2023.6652%2023.8176%2023.4612%2023%2023.4612C21.0165%2023.4612%2019.8473%2024.3498%2019.1261%2025.4328C18.3481%2026.6013%2018.1056%2027.9967%2018.1523%2028.7435C18.4051%2032.7872%2019.5326%2035.8583%2021.2278%2038.28C22.9308%2040.7128%2025.2707%2042.5812%2028.0795%2044.1132C28.8625%2044.5403%2029.151%2045.5212%2028.724%2046.3042C28.2968%2047.0872%2027.316%2047.3757%2026.533%2046.9485C23.4208%2045.251%2020.647%2043.0822%2018.582%2040.1322C16.5091%2037.171%2015.2145%2033.5137%2014.929%2028.9448C14.841%2027.5385%2015.2445%2025.435%2016.438%2023.6428C17.6881%2021.7652%2019.816%2020.2315%2023%2020.2315C24.3355%2020.2315%2026.0602%2020.5658%2027.6248%2021.7828C29.2048%2023.0118%2030.4458%2025.004%2031.0428%2027.989C31.2493%2029.021%2031.6016%2030.3532%2032.3506%2031.4082C33.0378%2032.376%2034.0766%2033.1503%2035.9186%2033.1503C37.7121%2033.1502%2038.8253%2032.3698%2039.5615%2031.3793C40.3396%2030.3325%2040.6933%2029.035%2040.7673%2028.1907C40.9142%2025.5525%2039.6912%2018.7545%2033.335%2013.9875C27.07%209.28868%2019.5578%2010.514%2016.1113%2012.022C13.0923%2013.343%207.42331%2016.4565%205.74365%2024.8547C5.41181%2026.5135%204.75065%2030.8168%206.73615%2035.7803C7.06731%2036.6085%206.66448%2037.5482%205.83648%2037.8795C5.00831%2038.2107%204.06865%2037.8078%203.73731%2036.9798C1.41648%2031.1778%202.19065%2026.151%202.57665%2024.2212C4.55748%2014.3175%2011.3765%2010.5683%2014.8168%209.06318Z'%20fill='white'%20/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14.2038%2016.6655C17.1898%2014.4903%2020.6621%2013.7722%2023.0001%2013.7722C23.0448%2013.7722%2023.0896%2013.774%2023.1341%2013.7778C28.762%2014.2467%2032.4181%2016.724%2034.635%2019.7308C36.8068%2022.677%2037.5336%2026.0405%2037.5336%2028.3058C37.5336%2029.1977%2036.8106%2029.9207%2035.9188%2029.9207C35.027%2029.9207%2034.304%2029.1977%2034.304%2028.3058C34.304%2026.6237%2033.739%2023.9583%2032.0353%2021.6473C30.3845%2019.408%2027.6005%2017.4082%2022.9345%2017.0022C21.144%2017.016%2018.4111%2017.5963%2016.1055%2019.276C13.8476%2020.9208%2011.8986%2023.6862%2011.6961%2028.3402C11.6961%2030.5648%2011.7093%2036.3862%2016.7441%2042.9313C17.2878%2043.6383%2017.1556%2044.6522%2016.4488%2045.1958C15.7418%2045.7397%2014.728%2045.6075%2014.1841%2044.9005C8.47948%2037.4843%208.46648%2030.7723%208.46648%2028.3058C8.46648%2028.2833%208.46698%2028.261%208.46781%2028.2385C8.70381%2022.5773%2011.147%2018.8925%2014.2038%2016.6655Z'%20fill='white'%20/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.0046%207.93618C6.67081%2010.0518%204.58214%2012.4397%203.93015%2013.5265C3.47131%2014.2913%202.47931%2014.5393%201.71465%2014.0805C0.949812%2013.6217%200.701813%2012.6297%201.16065%2011.865C2.12331%2010.2604%204.61015%207.53452%208.27398%205.20935C11.9736%202.86152%2016.9795%200.853682%2023.0001%200.853516C34.0088%200.853516%2041.32%207.15785%2044.7466%2011.7268C45.2818%2012.4403%2045.1371%2013.4525%2044.4236%2013.9877C43.7101%2014.5228%2042.698%2014.3782%2042.1628%2013.6647C39.1301%209.62102%2032.6793%204.08318%2023.0001%204.08335C17.7166%204.08335%2013.3026%205.84318%2010.0046%207.93618Z'%20fill='white'%20/%3e%3c/svg%3e";
11018
+ const sevagoProjectIcon = "data:image/svg+xml,%3csvg%20width='46'%20height='46'%20viewBox='0%200%2046%2046'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22.9997%200C28.4213%200%2033.4047%201.87633%2037.3365%205.0145C38.2795%205.76733%2037.9802%207.212%2036.854%207.64517L31.3832%209.74983C30.9083%209.9325%2030.3785%209.88333%2029.9272%209.6485C27.8537%208.56967%2025.4985%207.95733%2022.9997%207.95733C14.6922%207.9575%207.9575%2014.6923%207.95733%2022.9997C7.95733%2031.3072%2014.6922%2038.0418%2022.9997%2038.042C31.3072%2038.042%2038.0418%2031.3073%2038.0418%2022.9997C38.0418%2020.5007%2037.4298%2018.1457%2036.3508%2016.0722C36.116%2015.6207%2036.0667%2015.091%2036.2495%2014.616L38.3542%209.14517C38.7873%208.019%2040.232%207.71967%2040.9847%208.66267C44.1232%2012.5943%2045.9992%2017.5778%2045.9993%2022.9997C45.9993%2035.7022%2035.7022%2045.9993%2022.9997%2045.9993C10.2972%2045.9992%200%2035.7022%200%2022.9997C0.000166667%2010.2973%2010.2973%200.000166667%2022.9997%200Z'%20fill='white'%20/%3e%3cpath%20d='M23%2031C27.4183%2031%2031%2027.4183%2031%2023C31%2018.5817%2027.4183%2015%2023%2015C18.5817%2015%2015%2018.5817%2015%2023C15%2027.4183%2018.5817%2031%2023%2031Z'%20fill='white'%20/%3e%3c/svg%3e";
11019
+ const sevagoRequestIcon = "data:image/svg+xml,%3csvg%20width='46'%20height='48'%20viewBox='0%200%2046%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M45.2063%2019.6974C30.7922%2025.5307%2016.7585%2038.224%209.17984%2046.713C8.45334%2047.5267%206.99917%2046.7755%207.28184%2045.722L11.1745%2031.2129C11.3735%2030.4714%2011.1303%2029.6812%2010.5488%2029.1799L0.770506%2020.7504C-0.594727%2019.5734%200.171339%2017.333%201.97117%2017.2382L14.672%2016.5699C15.4765%2016.5274%2016.1772%2016.0065%2016.4493%2015.2482L21.1177%202.24371C21.7515%200.478009%2024.2485%200.478009%2024.8823%202.24371L29.5472%2015.2385C29.8212%2016.0017%2030.5288%2016.5239%2031.3388%2016.5607L44.859%2017.1754C46.0177%2017.228%2046.2815%2019.2622%2045.2063%2019.6974Z'%20fill='white'%20/%3e%3cpath%20d='M33.9587%2029.946C30.4283%2031.6277%2025.8577%2035.363%2023.2993%2038.099C22.8717%2038.5564%2023.0052%2039.2822%2023.5517%2039.5875L36.5227%2046.836C37.662%2047.4727%2039.0148%2046.451%2038.714%2045.1809L35.2617%2030.6042C35.1228%2030.0182%2034.5023%2029.687%2033.9587%2029.946Z'%20fill='white'%20/%3e%3c/svg%3e";
11020
+ const sevagoIcon = "data:image/svg+xml,%3csvg%20width='46'%20height='46'%20viewBox='0%200%2046%2046'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M23%200C35.7022%200.000333333%2045.9992%2010.2977%2045.9992%2023C45.9992%2035.7022%2035.7022%2045.9997%2023%2045.9998C10.2978%2045.9998%200%2035.7023%200%2023C0%2010.2975%2010.2977%200%2023%200Z'%20fill='white'%20/%3e%3cpath%20d='M46%2025.2675C45.9317%2028.301%2044.8653%2031.2752%2043.5%2033.9998C42.1347%2036.7245%2039.2028%2039.763%2036%2041.9998L30%2036.2998C31.8823%2035.1853%2036.5883%2032.5553%2037.4667%2024.9998L46%2025.2675Z'%20fill='url(%23paint0_linear_2514_3435)'%20fill-opacity='0.24'%20/%3e%3cpath%20d='M39%2044.488C39%2044.6867%2038.9632%2044.8835%2038.8913%2045.067C38.8197%2045.2505%2038.7145%2045.4173%2038.582%2045.5577C38.4495%2045.6982%2038.2922%2045.8095%2038.119%2045.8853C37.946%2045.9612%2037.7605%2046%2037.5732%2045.9998H23C23%2045.9998%2023%2039.9207%2023%2037.9998C24.6667%2037.9998%2027%2037.9998%2029.0205%2036.7998L29.9203%2036.321C30.1852%2036.1723%2030.5308%2035.9958%2030.9167%2036.0002C31.2155%2036.0228%2031.638%2036.134%2031.8802%2036.321L38.6397%2043.4922C38.8705%2043.7662%2038.9987%2044.1205%2039%2044.488Z'%20fill='white'%20/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_2514_3435'%20x1='17.101'%20y1='39.9472'%20x2='33.2627'%20y2='14.3147'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%232E3E51'%20/%3e%3cstop%20offset='0.09'%20stop-color='%232E3E51'%20stop-opacity='0.839'%20/%3e%3cstop%20offset='0.76'%20stop-color='%232E3E51'%20stop-opacity='0.071'%20/%3e%3cstop%20offset='0.88'%20stop-color='%232E3E51'%20stop-opacity='0.02'%20/%3e%3cstop%20offset='1'%20stop-color='%232E3E51'%20stop-opacity='0'%20/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
11021
+ const sevagoMessageIcon = "data:image/svg+xml,%3csvg%20width='56'%20height='48'%20viewBox='0%200%2056%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_4212_774)'%20filter='url(%23filter0_d_4212_774)'%3e%3cpath%20d='M45.3687%2017.3604C45.6254%2018.5154%2045.7742%2019.7025%2045.7742%2020.9217C45.7742%2030.3367%2037.7825%2038.1854%2027.2592%2039.8713C29.4846%2040.7696%2031.9783%2041.2946%2034.6354%2041.2946C37.1408%2041.2946%2039.5062%2040.8338%2041.6412%2040.0317C44.345%2040.9533%2047.2967%2041.1925%2049.7379%2041.1925C48.6355%2039.8705%2047.7018%2038.4166%2046.9583%2036.8642C49.665%2034.4492%2051.3333%2031.2496%2051.3333%2027.7262C51.3333%2023.5613%2049.0087%2019.8483%2045.3687%2017.3604ZM41.3992%2020.9217C41.3992%2012.6821%2033.1771%206%2023.0329%206C12.8887%206%204.66666%2012.6821%204.66666%2020.9217C4.66666%2025.2208%206.91541%2029.0825%2010.4971%2031.8067C9.59885%2034.1073%208.33308%2036.2468%206.74916%2038.1417C10.4183%2038.1417%2015.1433%2037.6604%2018.7804%2035.4263C20.1483%2035.6917%2021.5687%2035.8462%2023.0329%2035.8462C33.1771%2035.8433%2041.3992%2029.1642%2041.3992%2020.9217Z'%20fill='white'%20/%3e%3cpath%20d='M45.3687%2017.3604C45.6254%2018.5154%2045.7742%2019.7024%2045.7742%2020.9216C45.7742%2030.3366%2037.7825%2038.1854%2027.2592%2039.8712C29.4846%2040.7695%2031.9783%2041.2945%2034.6354%2041.2945C37.1408%2041.2945%2039.5062%2040.8337%2041.6412%2040.0316C44.345%2040.9533%2047.2967%2041.1924%2049.7379%2041.1924C48.6355%2039.8705%2047.7018%2038.4165%2046.9583%2036.8641C49.665%2034.4491%2051.3333%2031.2495%2051.3333%2027.7262C51.3333%2023.5612%2049.0087%2019.8483%2045.3687%2017.3604Z'%20fill='url(%23paint0_linear_4212_774)'%20/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_4212_774'%20x='0.666656'%20y='-1.8335'%20width='54.6667'%20height='54.6665'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'%20/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'%20/%3e%3cfeOffset%20dy='2'%20/%3e%3cfeGaussianBlur%20stdDeviation='2'%20/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'%20/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.180392%200%200%200%200%200.243137%200%200%200%200%200.317647%200%200%200%200.16%200'%20/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_4212_774'%20/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_4212_774'%20result='shape'%20/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_4212_774'%20x1='39.2962'%20y1='17.3604'%20x2='39.2962'%20y2='41.2945'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FF9A56'%20/%3e%3cstop%20offset='0.9999'%20stop-color='%23FF9253'%20/%3e%3cstop%20offset='1'%20stop-color='%23FF6A43'%20/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_4212_774'%3e%3crect%20width='46.6667'%20height='46.6667'%20fill='white'%20transform='translate(4.66666%200.166504)'%20/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
11022
+ const sevagoTrainingIcon = "data:image/svg+xml,%3csvg%20width='46'%20height='46'%20viewBox='0%200%2046%2046'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M39%202.01364V10.2401L24%2016.0001C24%207.39197%2031.8302%202.65931%2037.0973%200.648973C38.0353%200.290973%2039%201.00947%2039%202.01364Z'%20fill='white'%20fill-opacity='0.42'%20/%3e%3cpath%20d='M5.99983%202.01364V10.2401L20.9998%2016.0001C20.9998%207.39197%2013.1697%202.65931%207.9025%200.648973C6.9645%200.290973%205.99983%201.00947%205.99983%202.01364Z'%20fill='white'%20fill-opacity='0.42'%20/%3e%3cpath%20d='M20.2873%2045.36L2.75617%2037.9906C1.08617%2037.2886%200%2035.6538%200%2033.8423V10.49C0%208.69764%201.83017%207.48764%203.47917%208.18964L20.6497%2015.4996C22.1513%2016.139%2023.8485%2016.139%2025.3502%2015.4996L42.5207%208.18964C44.1697%207.48764%2046%208.69764%2046%2010.49V33.8423C46%2035.6538%2044.9137%2037.2886%2043.2437%2037.9906L25.7125%2045.36C23.9777%2046.0891%2022.0222%2046.0891%2020.2873%2045.36Z'%20fill='white'%20/%3e%3c/svg%3e";
11023
+ const sevagoFormIcon = "data:image/svg+xml,%3csvg%20width='44'%20height='46'%20viewBox='0%200%2044%2046'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M21.392%2021.4932C20.1735%2021.3607%2018.9787%2021.0637%2017.84%2020.6105C16.3812%2020.1406%2014.4853%2019.4912%2012.5012%2018.7702C10.6017%2018.0804%208.79317%2017.3932%207.40867%2016.8349C6.68033%2016.5407%206.09283%2016.2935%205.67267%2016.0989C5.40983%2015.9847%205.15483%2015.8531%204.9095%2015.7051C4.60183%2015.5414%204.3215%2015.3309%204.0785%2015.081C3.8435%2014.8592%203.53717%2014.5537%203.16967%2014.1712C2.55867%2013.5357%201.9835%2012.9069%201.959%2012.8807C1.71183%2012.581%201.589%2012.198%201.61617%2011.8105C1.64317%2011.423%201.818%2011.0609%202.1045%2010.7985C2.391%2010.5364%202.76733%2010.394%203.15567%2010.4012C3.544%2010.4085%203.91467%2010.5645%204.19133%2010.8372C4.92917%2011.6447%205.85317%2012.609%206.24033%2012.9606C6.36183%2013.017%206.47533%2013.0894%206.57783%2013.1757C7.1315%2013.4755%209.69467%2014.5387%2013.8435%2016.0369C17.731%2017.4402%2020.0393%2018.1499%2020.9925%2018.3802L36.9055%203.96922C37.2033%203.69955%2037.5962%203.55922%2037.9975%203.57905C38.3988%203.59905%2038.7758%203.77755%2039.0457%204.07538C39.3153%204.37338%2039.4557%204.76622%2039.4358%205.16755C39.4158%205.56888%2039.2373%205.94588%2038.9395%206.21572L22.5847%2021.0307C22.427%2021.1837%2022.2402%2021.3034%2022.0352%2021.3829C21.8303%2021.4624%2021.6117%2021.4999%2021.392%2021.4932Z'%20fill='white'%20/%3e%3cpath%20d='M6.73417%2018.9434C9.3485%2018.1937%2010.86%2015.4669%2010.1105%2012.8526C9.36084%2010.2384%206.63383%208.72672%204.01967%209.47638C1.40533%2010.226%20-0.106165%2012.9529%200.643335%2015.5672C1.393%2018.1814%204.12%2019.693%206.73417%2018.9434Z'%20fill='white'%20/%3e%3cpath%20d='M22.6447%2024.2464C25.259%2023.4967%2026.7705%2020.7697%2026.0208%2018.1555C25.2712%2015.5412%2022.5443%2014.0297%2019.93%2014.7794C17.3158%2015.5289%2015.8042%2018.2559%2016.5538%2020.87C17.3035%2023.4844%2020.0305%2024.9959%2022.6447%2024.2464Z'%20fill='white'%20/%3e%3cpath%20d='M39.3112%209.82405C41.9255%209.07455%2043.437%206.34755%2042.6875%203.73322C41.9378%201.11905%2039.2108%20-0.392534%2036.5967%200.35705C33.9823%201.10672%2032.4708%203.83372%2033.2205%206.44788C33.97%209.06222%2036.697%2010.5737%2039.3112%209.82405Z'%20fill='white'%20/%3e%3cpath%20d='M10.6495%2030.8474C10.6495%2027.9185%208.27533%2025.5442%205.3465%2025.5442C2.41767%2025.5442%200.043335%2027.9185%200.043335%2030.8474V40.6969C0.043335%2043.6255%202.41767%2045.9999%205.3465%2045.9999C8.27533%2045.9999%2010.6495%2043.6255%2010.6495%2040.6969V30.8474Z'%20fill='white'%20/%3e%3cpath%20d='M27.3173%2033.1202C27.3173%2030.1914%2024.943%2027.8172%2022.0142%2027.8172C19.0855%2027.8172%2016.7112%2030.1914%2016.7112%2033.1202V40.6969C16.7112%2043.6257%2019.0855%2046%2022.0142%2046C24.943%2046%2027.3173%2043.6257%2027.3173%2040.6969V33.1202Z'%20fill='white'%20/%3e%3cpath%20d='M43.9838%2021.7564C43.9838%2018.8277%2041.6097%2016.4534%2038.6808%2016.4534C35.752%2016.4534%2033.3778%2018.8277%2033.3778%2021.7564V40.6969C33.3778%2043.6257%2035.752%2045.9999%2038.6808%2045.9999C41.6097%2045.9999%2043.9838%2043.6257%2043.9838%2040.6969V21.7564Z'%20fill='white'%20/%3e%3c/svg%3e";
11024
+ const sevagoInsideIcon = "data:image/svg+xml,%3csvg%20width='46'%20height='46'%20viewBox='0%200%2046%2046'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%2014.5418C0%2012.3327%201.79083%2010.5417%203.99983%2010.5417H6.851V42.5748C6.851%2044.4667%205.31733%2046.0003%203.4255%2046.0003C1.5335%2046.0003%200%2044.4667%200%2042.5748V14.5418Z'%20fill='white'%20fill-opacity='0.32'%20/%3e%3cpath%20d='M40.0003%200C43.3138%200.000333333%2046.0003%202.6865%2046.0003%206V40.0002C46.0003%2043.3138%2043.3138%2046%2040.0003%2046.0003H3.93617C3.87583%2046.0003%203.81683%2045.994%203.75933%2045.9837C5.49433%2045.8157%206.851%2044.354%206.851%2042.5748L6.85117%206C6.85117%202.68633%209.5375%200%2012.8512%200H40.0003Z'%20fill='white'%20/%3e%3cpath%20d='M25.9673%2033.5423C26.7612%2033.5423%2027.4048%2034.186%2027.4048%2034.9798C27.4047%2035.7737%2026.7612%2036.4173%2025.9673%2036.4173H14.1617C13.3678%2036.4173%2012.7243%2035.7737%2012.7242%2034.9798C12.7242%2034.186%2013.3678%2033.5423%2014.1617%2033.5423H25.9673ZM38.6908%2027.7923C39.4847%2027.7923%2040.1283%2028.4358%2040.1283%2029.2298C40.1282%2030.0235%2039.4847%2030.6673%2038.6908%2030.6673H14.1617C13.3678%2030.6673%2012.7243%2030.0235%2012.7242%2029.2298C12.7242%2028.4358%2013.3678%2027.7923%2014.1617%2027.7923H38.6908ZM38.1283%205.75017C39.2328%205.75017%2040.1283%206.64567%2040.1283%207.75017V22.9173C40.1282%2024.0217%2039.2328%2024.9173%2038.1283%2024.9173H14.7242C13.6198%2024.9173%2012.7243%2024.0217%2012.7242%2022.9173V7.75017C12.7242%206.6455%2013.6197%205.75017%2014.7242%205.75017H38.1283Z'%20fill='url(%23paint0_linear_4284_11999)'%20/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_4284_11999'%20x1='23.0002'%20y1='0'%20x2='23.0002'%20y2='46.0003'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FF9A56'%20/%3e%3cstop%20offset='1'%20stop-color='%23FF6A43'%20/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
11025
+ const IconAppsSidebar = "data:image/svg+xml,%3csvg%20width='18'%20height='17'%20viewBox='0%200%2018%2017'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3%200.100098C1.67452%200.100098%200.6%201.17461%200.6%202.5001V4.9001C0.6%206.22558%201.67452%207.3001%203%207.3001H5.4C6.72548%207.3001%207.8%206.22558%207.8%204.9001V2.5001C7.8%201.17461%206.72548%200.100098%205.4%200.100098H3Z'%20fill='%23111827'/%3e%3cpath%20d='M3%209.7001C1.67452%209.7001%200.6%2010.7746%200.6%2012.1001V14.5001C0.6%2015.8256%201.67452%2016.9001%203%2016.9001H5.4C6.72548%2016.9001%207.8%2015.8256%207.8%2014.5001V12.1001C7.8%2010.7746%206.72548%209.7001%205.4%209.7001H3Z'%20fill='%23111827'/%3e%3cpath%20d='M10.2%202.5001C10.2%201.17461%2011.2745%200.100098%2012.6%200.100098H15C16.3255%200.100098%2017.4%201.17461%2017.4%202.5001V4.9001C17.4%206.22558%2016.3255%207.3001%2015%207.3001H12.6C11.2745%207.3001%2010.2%206.22558%2010.2%204.9001V2.5001Z'%20fill='%23111827'/%3e%3cpath%20d='M10.2%2012.1001C10.2%2010.7746%2011.2745%209.7001%2012.6%209.7001H15C16.3255%209.7001%2017.4%2010.7746%2017.4%2012.1001V14.5001C17.4%2015.8256%2016.3255%2016.9001%2015%2016.9001H12.6C11.2745%2016.9001%2010.2%2015.8256%2010.2%2014.5001V12.1001Z'%20fill='%23111827'/%3e%3c/svg%3e";
11026
+ const ICONS = {
11027
+ sevagoEHiringIcon,
11028
+ sevagoHrmIcon,
11029
+ sevagoPayrollIcon,
11030
+ sevagoChartIcon,
11031
+ sevagoCheckinIcon,
11032
+ sevagoProjectIcon,
11033
+ sevagoRequestIcon,
11034
+ sevagoIcon,
11035
+ sevagoMessageIcon,
11036
+ sevagoTrainingIcon,
11037
+ sevagoFormIcon,
11038
+ sevagoInsideIcon,
11039
+ IconAppsSidebar
11040
+ };
11014
11041
  const SYSTEM_MODULES = [
11015
11042
  {
11016
11043
  key: "sevago-e-hiring",
11017
11044
  title: "Sevago E-Hiring",
11018
11045
  caption: "Tuyển Dụng",
11019
- icon: "/images/system/sevago-e-hiring.svg",
11046
+ icon: sevagoEHiringIcon,
11020
11047
  path: PAGE.DASHBOARD.path + DASHBOARD_SCREEN.JOB_DASHBOARD.path,
11021
11048
  category: AppCategory.HRM,
11022
11049
  allowUserTypes: [
@@ -11031,7 +11058,7 @@ const SYSTEM_MODULES = [
11031
11058
  key: "sevago-hrm",
11032
11059
  title: "Sevago HRM",
11033
11060
  caption: "Nhân Sự",
11034
- icon: "/images/system/sevago-hrm.svg",
11061
+ icon: sevagoHrmIcon,
11035
11062
  path: PAGE.DASHBOARD.path + DASHBOARD_SCREEN.USER.path,
11036
11063
  category: AppCategory.HRM,
11037
11064
  allowUserTypes: ALLOW_USER_TYPES
@@ -11040,7 +11067,7 @@ const SYSTEM_MODULES = [
11040
11067
  key: "sevago-payroll",
11041
11068
  title: "Sevago Payroll",
11042
11069
  caption: "Tính Lương",
11043
- icon: "/images/system/sevago-payroll.svg",
11070
+ icon: sevagoPayrollIcon,
11044
11071
  path: DASHBOARD_SCREEN.PAYROLL.path,
11045
11072
  category: AppCategory.HRM,
11046
11073
  allowUserTypes: [UserType.ADMIN, UserType.HR, UserType.ROOT]
@@ -11049,7 +11076,7 @@ const SYSTEM_MODULES = [
11049
11076
  key: "sevago-chart",
11050
11077
  title: "Sevago Sơ đồ",
11051
11078
  caption: "Sơ đồ",
11052
- icon: "/images/system/sevago-chart.svg",
11079
+ icon: sevagoChartIcon,
11053
11080
  path: DASHBOARD_SCREEN.ORG_STRUCTURE.path,
11054
11081
  category: AppCategory.HRM,
11055
11082
  allowUserTypes: ALLOW_USER_TYPES
@@ -11058,7 +11085,7 @@ const SYSTEM_MODULES = [
11058
11085
  key: "sevago-checkin",
11059
11086
  title: "Sevago Checkin",
11060
11087
  caption: "Chấm Công",
11061
- icon: "/images/system/sevago-checkin.svg",
11088
+ icon: sevagoCheckinIcon,
11062
11089
  path: DASHBOARD_SCREEN.CHECK_IN.path,
11063
11090
  category: AppCategory.HRM,
11064
11091
  allowUserTypes: ALLOW_USER_TYPES
@@ -11067,7 +11094,7 @@ const SYSTEM_MODULES = [
11067
11094
  key: "sevago-project",
11068
11095
  title: "Sevago Project",
11069
11096
  caption: "Dự Án",
11070
- icon: "/images/system/sevago-project.svg",
11097
+ icon: sevagoProjectIcon,
11071
11098
  path: PAGE.DASHBOARD.path + DASHBOARD_SCREEN.PROJECT_TASK.path,
11072
11099
  category: AppCategory.WORKFLOW,
11073
11100
  allowUserTypes: ALLOW_USER_TYPES
@@ -11076,7 +11103,7 @@ const SYSTEM_MODULES = [
11076
11103
  key: "sevago-request",
11077
11104
  title: "Sevago Request",
11078
11105
  caption: "Đề Xuất",
11079
- icon: "/images/system/sevago-request.svg",
11106
+ icon: sevagoRequestIcon,
11080
11107
  path: PAGE.WORKFLOW_ENGINE.path + WORKFLOW_ENGINE_SCREEN.PROPOSAL_JOB_RECRUITMENT.path,
11081
11108
  category: AppCategory.WORKFLOW,
11082
11109
  allowUserTypes: ALLOW_USER_TYPES
@@ -11085,7 +11112,7 @@ const SYSTEM_MODULES = [
11085
11112
  key: "sevago-process",
11086
11113
  title: "Sevago Process",
11087
11114
  caption: "Quy trình",
11088
- icon: "/images/system/sevago.svg",
11115
+ icon: sevagoIcon,
11089
11116
  path: PAGE.NOT_FOUND.path,
11090
11117
  category: AppCategory.WORKFLOW,
11091
11118
  allowUserTypes: ALLOW_USER_TYPES
@@ -11094,7 +11121,7 @@ const SYSTEM_MODULES = [
11094
11121
  key: "sevago-tracking",
11095
11122
  title: "Sevago Tracking",
11096
11123
  caption: "Tiến trình",
11097
- icon: "/images/system/sevago.svg",
11124
+ icon: sevagoIcon,
11098
11125
  path: PAGE.WORKFLOW_TRACKING.path + WORKFLOW_TRACKING_SCREEN.MY_TASK.path,
11099
11126
  category: AppCategory.WORKFLOW,
11100
11127
  allowUserTypes: ALLOW_USER_TYPES
@@ -11103,7 +11130,7 @@ const SYSTEM_MODULES = [
11103
11130
  key: "sevago-message",
11104
11131
  title: "Sevago Message",
11105
11132
  caption: "Chat nhóm",
11106
- icon: "/images/system/sevago-message.svg",
11133
+ icon: sevagoMessageIcon,
11107
11134
  path: DASHBOARD_SCREEN.CHAT.path,
11108
11135
  category: AppCategory.PLATFORM_INFO,
11109
11136
  allowUserTypes: ALLOW_USER_TYPES
@@ -11112,7 +11139,7 @@ const SYSTEM_MODULES = [
11112
11139
  key: "sevago-training",
11113
11140
  title: "Sevago Training",
11114
11141
  caption: "Đào Tạo",
11115
- icon: "/images/system/sevago-training.svg",
11142
+ icon: sevagoTrainingIcon,
11116
11143
  path: DASHBOARD_SCREEN.TRAINING.path,
11117
11144
  category: AppCategory.PLATFORM_INFO,
11118
11145
  allowUserTypes: ALLOW_USER_TYPES
@@ -11121,7 +11148,7 @@ const SYSTEM_MODULES = [
11121
11148
  key: "sevago-form",
11122
11149
  title: "Sevago Form",
11123
11150
  caption: "Biểu mẫu",
11124
- icon: "/images/system/sevago-form.svg",
11151
+ icon: sevagoFormIcon,
11125
11152
  path: PAGE.NOT_FOUND.path,
11126
11153
  category: AppCategory.PLATFORM_INFO,
11127
11154
  allowUserTypes: ALLOW_USER_TYPES
@@ -11130,7 +11157,7 @@ const SYSTEM_MODULES = [
11130
11157
  key: "sevago-inside",
11131
11158
  title: "Sevago Inside",
11132
11159
  caption: "Truyền Thông và CSNV",
11133
- icon: "/images/system/sevago-inside.svg",
11160
+ icon: sevagoInsideIcon,
11134
11161
  path: DASHBOARD_SCREEN.INSIDE.path,
11135
11162
  category: AppCategory.PLATFORM_INFO,
11136
11163
  allowUserTypes: ALLOW_USER_TYPES
@@ -11139,7 +11166,7 @@ const SYSTEM_MODULES = [
11139
11166
  key: "sevago-booking",
11140
11167
  title: "Sevago Booking",
11141
11168
  caption: "Cuộc họp",
11142
- icon: "/images/system/sevago-inside.svg",
11169
+ icon: sevagoInsideIcon,
11143
11170
  path: PAGE.BOOKING.path,
11144
11171
  // path: PAGE.NOT_FOUND.path,
11145
11172
  category: AppCategory.PLATFORM_INFO,
@@ -12851,7 +12878,6 @@ const useApps = (tab = AppCategory.ALL) => {
12851
12878
  const userType = useSelector(
12852
12879
  (state) => state.account.user?.type
12853
12880
  );
12854
- console.log("userType", userType);
12855
12881
  const listApp = useMemo(() => {
12856
12882
  let filteredApps = SYSTEM_MODULES.filter((app2) => {
12857
12883
  return app2.allowUserTypes.includes(userType);
@@ -12861,7 +12887,6 @@ const useApps = (tab = AppCategory.ALL) => {
12861
12887
  }
12862
12888
  return filteredApps;
12863
12889
  }, [tab, userType]);
12864
- console.log("listApp", listApp);
12865
12890
  return listApp;
12866
12891
  };
12867
12892
  const useIsSystemMonitor = () => {
@@ -33644,13 +33669,29 @@ const AppGrid = ({
33644
33669
  children: visibleApps.map((app2, index) => {
33645
33670
  const isSelected = selectedAppId === app2.key;
33646
33671
  return /* @__PURE__ */ jsx(
33647
- Link,
33672
+ "a",
33648
33673
  {
33649
- to: findLink(app2) || "#",
33674
+ href: findLink(app2) || "#",
33675
+ target: "_blank",
33676
+ rel: "noopener noreferrer",
33650
33677
  style: {
33651
33678
  textDecoration: "none",
33652
33679
  color: "inherit",
33653
- width: "100%"
33680
+ width: "100%",
33681
+ display: "block"
33682
+ },
33683
+ onClick: (e) => {
33684
+ const url2 = findLink(app2);
33685
+ e.preventDefault();
33686
+ onClickItem?.(app2);
33687
+ if (url2 && url2 !== "#") {
33688
+ try {
33689
+ window.open(url2, "_blank", "noopener");
33690
+ } catch (err) {
33691
+ const newWindow = window.open("about:blank");
33692
+ if (newWindow) newWindow.location.href = url2;
33693
+ }
33694
+ }
33654
33695
  },
33655
33696
  children: /* @__PURE__ */ jsxs(
33656
33697
  MotionBox,
@@ -33658,7 +33699,6 @@ const AppGrid = ({
33658
33699
  preset: "staggerItem",
33659
33700
  index,
33660
33701
  hover: true,
33661
- onClick: () => onClickItem?.(app2),
33662
33702
  sx: {
33663
33703
  cursor: "pointer",
33664
33704
  display: "flex",
@@ -33666,6 +33706,8 @@ const AppGrid = ({
33666
33706
  alignItems: "center",
33667
33707
  flexDirection: "column"
33668
33708
  },
33709
+ onClick: () => {
33710
+ },
33669
33711
  children: [
33670
33712
  /* @__PURE__ */ jsx(
33671
33713
  Box,
@@ -33681,7 +33723,7 @@ const AppGrid = ({
33681
33723
  background: getAppColor(app2.category),
33682
33724
  boxShadow: isSelected ? `0 0 0 1px ${theme.palette.primary.main}, ${iconShadow}` : iconShadow
33683
33725
  },
33684
- children: app2.icon.startsWith("/") && /* @__PURE__ */ jsx(
33726
+ children: typeof app2.icon === "string" && app2.icon && /* @__PURE__ */ jsx(
33685
33727
  ImageElement,
33686
33728
  {
33687
33729
  sx: { width: iconSize * 0.56, height: iconSize * 0.56 },
@@ -33794,7 +33836,8 @@ const AppGrid = ({
33794
33836
  };
33795
33837
  const AppsSidebar = ({
33796
33838
  isOpen,
33797
- onClose
33839
+ onClose,
33840
+ position = "left"
33798
33841
  }) => {
33799
33842
  const theme = useTheme();
33800
33843
  const navigate = useNavigate();
@@ -33804,7 +33847,6 @@ const AppsSidebar = ({
33804
33847
  const { setActiveExpandMenu } = useSidebar();
33805
33848
  const { palette } = useTheme();
33806
33849
  if (!isOpen) return null;
33807
- console.log("allApps", allApps);
33808
33850
  return /* @__PURE__ */ jsxs(Fragment, { children: [
33809
33851
  /* @__PURE__ */ jsx(
33810
33852
  Box,
@@ -33828,7 +33870,8 @@ const AppsSidebar = ({
33828
33870
  sx: {
33829
33871
  position: "fixed",
33830
33872
  top: 0,
33831
- left: 0,
33873
+ left: position === "left" ? 0 : "auto",
33874
+ right: position === "right" ? 0 : "auto",
33832
33875
  height: "100vh",
33833
33876
  backgroundColor: theme.palette.common.white,
33834
33877
  zIndex: 100,
@@ -34321,6 +34364,8 @@ export {
34321
34364
  ErrorPage,
34322
34365
  ForgotPasswordType,
34323
34366
  Gender,
34367
+ ICONS,
34368
+ IconAppsSidebar,
34324
34369
  IconElement,
34325
34370
  ImageElement,
34326
34371
  LoadingComponent,
@@ -34456,6 +34501,18 @@ export {
34456
34501
  renderRoutes,
34457
34502
  resetPassword$1 as resetPassword,
34458
34503
  routes,
34504
+ sevagoChartIcon,
34505
+ sevagoCheckinIcon,
34506
+ sevagoEHiringIcon,
34507
+ sevagoFormIcon,
34508
+ sevagoHrmIcon,
34509
+ sevagoIcon,
34510
+ sevagoInsideIcon,
34511
+ sevagoMessageIcon,
34512
+ sevagoPayrollIcon,
34513
+ sevagoProjectIcon,
34514
+ sevagoRequestIcon,
34515
+ sevagoTrainingIcon,
34459
34516
  socketConfig,
34460
34517
  store,
34461
34518
  stringToColor,