sixseconds-modules 1.6.161 → 1.6.163
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/components/header/type.d.ts +89 -91
- package/dist/index.cjs.js +438 -391
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +437 -390
- package/dist/index.es.js.map +1 -1
- package/dist/types/custom.d.ts +23 -25
- package/dist/types/htmlElements.d.ts +5 -7
- package/dist/types/index.d.ts +4 -4
- package/dist/types/reactTypes.d.ts +3 -5
- package/dist/vite-env.d.ts +2 -2
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
try {
|
|
4
4
|
if (typeof document != "undefined") {
|
|
5
5
|
var elementStyle = document.createElement("style");
|
|
6
|
-
elementStyle.appendChild(document.createTextNode('@import url("https://fonts.googleapis.com/css2?family=
|
|
6
|
+
elementStyle.appendChild(document.createTextNode('@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@100;200;300;400;500;600;700&display=swap");\n\n.sixseconds-header-root blockquote,\n.sixseconds-header-root dl,\n.sixseconds-header-root dd,\n.sixseconds-header-root h1,\n.sixseconds-header-root h2,\n.sixseconds-header-root h3,\n.sixseconds-header-root h4,\n.sixseconds-header-root h5,\n.sixseconds-header-root h6,\n.sixseconds-header-root hr,\n.sixseconds-header-root figure,\n.sixseconds-header-root p,\n.sixseconds-header-root pre,\n.sixseconds-header-root span,\n.sixseconds-header-root a,\n.sixseconds-header-root div,\n.sixseconds-header-root li,\n.sixseconds-header-root button {\n font-family: "IBM Plex Sans", sans-serif !important;\n}\n\n.sixseconds-header-main-list-menu {\n display: flex;\n}\n\n.sixseconds-header-main-list-menu li {\n padding: 0.5rem 0.5rem;\n}\n\n.sixseconds-header-main-list-menu li a {\n padding: 0 0.25rem;\n font-weight: 500;\n font-size: 14px;\n}\n\n.sixseconds-header-main-list-menu .sixseconds-header-menu-item {\n position: relative;\n padding: 15px;\n}\n\n.sixseconds-header-main-list-menu .sixseconds-header-menu-link {\n text-decoration: none;\n color: #1a1c1e;\n transition: color 0.3s ease;\n}\n\n.sixseconds-header-main-list-menu .sixseconds-header-menu-link:hover {\n color: #0073b1;\n}\n\n/* Submenu (Dropdown) */\n\n.sixseconds-header-main-list-menu .sixseconds-header-submenu-data {\n position: absolute;\n top: 85%;\n left: 0;\n background: white;\n border: 1px solid #e0e0e0;\n box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);\n display: none;\n min-width: 220px;\n z-index: 1000;\n border-radius: 12px;\n overflow: hidden;\n padding: 8px 0;\n}\n\n.sixseconds-header-main-list-menu .sixseconds-header-submenu-data li {\n list-style: none;\n padding: 0;\n}\n\n.sixseconds-header-main-list-menu .sixseconds-header-submenu-link {\n display: block;\n padding: 10px 16px;\n text-decoration: none;\n color: #1a1c1e;\n font-weight: 400;\n font-size: 14px;\n transition: background 0.2s ease;\n}\n\n.sixseconds-header-main-list-menu .sixseconds-header-submenu-link:hover {\n background: #f8f9fa;\n color: #0073b1;\n}\n\n/* Show dropdown on hover */\n\n.sixseconds-header-main-list-menu .sixseconds-header-menu-item:hover .sixseconds-header-submenu-data {\n display: block;\n}\n\n.sixseconds-header-small-device-menu {\n display: none;\n width: 100%;\n left: 0;\n top: 64px;\n background-color: #fff;\n position: fixed;\n overflow-y: auto;\n height: 95vh;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);\n}\n\n.sixseconds-header-small-device-menu a.sixseconds-header-bg-main-menu {\n display: block;\n text-decoration: none;\n}\n\n.sixseconds-header-submenu-child li {\n padding: 0.5rem 0;\n}\n\n.sixseconds-header-submenu-child li a {\n text-decoration: none;\n}\n\n.sixseconds-header-layout-mobile-menu {\n padding-bottom: 12px;\n padding-inline: 0;\n height: 95vh;\n overflow-y: auto;\n padding-top: 8px;\n}\n\n.sixseconds-header-small-device-menu a {\n background-color: transparent;\n font-size: 15px;\n font-weight: 500;\n color: #1a1c1e;\n margin-bottom: 4px;\n padding: 12px 16px;\n border-bottom: 1px solid #f1f3f4;\n}\n\n.sixseconds-header-small-device-menu .sixseconds-header-submenu-child {\n padding-left: 0px;\n min-width: 90%;\n max-width: 90%;\n top: 57px;\n margin-top: 8px;\n background-color: #fff;\n color: #1a1c1e;\n margin-inline: auto;\n}\n\n.sixseconds-header-small-device-menu ul li .sixseconds-header-submenu-child-link {\n padding: 12px 20px;\n}\n\n.sixseconds-header-small-device-menu ul li a {\n background-color: transparent;\n color: #5f6368;\n}\n\n.sixseconds-header-small-device-menu ul {\n padding-left: 15px;\n}\n\n.sixseconds-header-desktop-menu {\n display: flex;\n}\n\n.sixseconds-header-button-hamburger {\n display: none;\n position: absolute;\n right: 20px;\n top: 18px;\n z-index: 9;\n}\n\n.tox-editor-header {\n background-color: transparent;\n}\n\n.sixseconds-header-hamburger-icon-btn {\n padding: 8px;\n color: #5f6368;\n}\n\n.sixseconds-header-desktop-menu .sixseconds-header-menu-item .sixseconds-header-menu-link {\n font-size: 14px;\n font-weight: 500;\n}\n\n.sixseconds-header-small-device-menu {\n padding-inline: 20px;\n}\n\n@media screen and (max-width: 600px) and (min-width: 320px) {\n .sixseconds-header-notification-icon-error .MuiBadge-badge {\n font-size: 10px;\n padding: 0 4px;\n min-width: 16px;\n right: 5px;\n background-color: #d32f2f;\n }\n\n .sixseconds-header-submenu nav {\n padding: 0 !important;\n }\n\n .MuiPagination-root.MuiPagination-outlined {\n display: flex;\n justify-content: center;\n margin-left: 0;\n }\n\n .sixseconds-header-toggle-btn-menu {\n position: absolute;\n right: 20px;\n top: 12px;\n z-index: 99;\n }\n\n .sixseconds-header-right-icons {\n padding-right: 25px;\n }\n\n .sixseconds-header-button-hamburger {\n display: block;\n }\n\n .sixseconds-header-desktop-menu {\n display: none;\n }\n\n .sixseconds-header-small-device-menu {\n display: block;\n width: 100%;\n position: fixed;\n left: 0;\n background: #fff;\n top: 64px;\n }\n\n .main.sixseconds-header-login-page .sixseconds-header-login-body {\n width: 90% !important;\n }\n\n .sixseconds-header-submenu {\n width: 100%;\n max-width: 100% !important;\n }\n\n .sixseconds-header-sidebar {\n width: 280px !important;\n background-color: #f9fafb;\n z-index: 99;\n border-right: 1px solid #e0e0e0;\n }\n\n .sixseconds-header-sidemenu {\n width: 280px;\n background-color: #f9fafb;\n }\n\n .sixseconds-header-logo {\n opacity: 1;\n }\n\n .sixseconds-header-profile .sixseconds-header-menu {\n min-width: 280px;\n width: 100% !important;\n }\n}\n\n@media screen and (max-width: 1024px) and (min-width: 600px) {\n .sixseconds-header-toggle-btn-menu {\n position: absolute;\n right: 20px;\n top: 12px;\n }\n\n .sixseconds-header-right-icons {\n padding-right: 25px;\n }\n\n .sixseconds-header-button-hamburger {\n display: block;\n }\n\n .sixseconds-header-desktop-menu {\n display: none;\n }\n\n .sixseconds-header-small-device-menu {\n display: block;\n }\n\n .main.sixseconds-header-login-page .sixseconds-header-login-body {\n width: 450px !important;\n }\n\n .sixseconds-header-banner {\n margin-left: 0 !important;\n }\n\n .sixseconds-header-submenu {\n width: 100%;\n max-width: 100% !important;\n }\n\n .sixseconds-header-sidebar {\n width: 280px !important;\n background-color: #f9fafb;\n z-index: 99;\n }\n\n .sixseconds-header-sidemenu {\n width: 280px;\n background-color: #f9fafb;\n }\n\n .sixseconds-header-logo {\n opacity: 1;\n }\n\n .sixseconds-header-profile .sixseconds-header-menu {\n min-width: 280px;\n width: 100% !important;\n }\n}\n\n@media screen and (max-width: 1380px) and (min-width: 1024px) {\n .sixseconds-header-right-icons {\n padding-right: 25px;\n }\n\n .sixseconds-header-button-hamburger {\n display: block;\n }\n\n .sixseconds-header-desktop-menu {\n display: none;\n }\n\n .sixseconds-header-small-device-menu {\n display: block;\n width: 100%;\n position: fixed;\n left: 0;\n background: #fff;\n top: 64px;\n }\n\n .sixseconds-header-button-hamburger {\n display: block;\n }\n\n .sixseconds-header-right-icons {\n padding-right: 25px;\n }\n}'));
|
|
7
7
|
document.head.appendChild(elementStyle);
|
|
8
8
|
}
|
|
9
9
|
} catch (e) {
|
|
@@ -11,13 +11,14 @@
|
|
|
11
11
|
}
|
|
12
12
|
})();
|
|
13
13
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
14
|
-
import { Box, Typography, Dialog, Stack as Stack$1, Button as Button$1,
|
|
14
|
+
import { Box, Typography, Dialog, Stack as Stack$1, Button as Button$1, IconButton, Grid, Avatar, Chip, Link, Divider, ClickAwayListener, useMediaQuery, MenuItem, AppBar, Container, Badge, FormLabel, TextField, InputAdornment, styled as styled$1 } from "@mui/material";
|
|
15
15
|
import * as React from "react";
|
|
16
16
|
import React__default, { useRef, useEffect, useState, useCallback, useMemo, useLayoutEffect, createContext, forwardRef, createElement, useContext, Component } from "react";
|
|
17
17
|
import axios from "axios";
|
|
18
18
|
import Cookies from "js-cookie";
|
|
19
19
|
import MenuIcon from "@mui/icons-material/Menu";
|
|
20
20
|
import toast from "react-hot-toast";
|
|
21
|
+
import { styled } from "@mui/material/styles";
|
|
21
22
|
import VisibilityOffIcon from "@mui/icons-material/VisibilityOff";
|
|
22
23
|
import CheckIcon from "@mui/icons-material/Check";
|
|
23
24
|
import ExitToAppTwoToneIcon from "@mui/icons-material/ExitToAppTwoTone";
|
|
@@ -6227,7 +6228,7 @@ ZodEnum.create;
|
|
|
6227
6228
|
ZodPromise.create;
|
|
6228
6229
|
ZodOptional.create;
|
|
6229
6230
|
ZodNullable.create;
|
|
6230
|
-
const __vite_import_meta_env__ = { "BASE_URL": "/", "DEV": false, "MODE": "
|
|
6231
|
+
const __vite_import_meta_env__ = { "BASE_URL": "/", "DEV": false, "MODE": "development", "PROD": true, "SSR": false, "VITE_MODULES_CARDS_ADMIN_FRONTEND_BASE_URL": "https://qa-sso.6seconds.org", "VITE_MODULES_CARDS_HOME_FRONTEND_BASE_URL": "https://qa-sso.6seconds.org", "VITE_MODULES_CERT_FRONTEND_BASE_URL": "https://qa-sso.6seconds.org", "VITE_MODULES_ENV": "qa", "VITE_MODULES_EVENTS_FRONTEND_BASE_URL": "https://qa-sso.6seconds.org", "VITE_MODULES_SSO_BACKEND_BASE_URL": "https://qa-ssoapi.6seconds.org", "VITE_MODULES_SSO_FRONTEND_BASE_URL": "https://qa-sso.6seconds.org", "VITE_MODULES_TOOLS_FRONTEND_BASE_URL": "https://qa-sso.6seconds.org" };
|
|
6231
6232
|
const env = createEnv({
|
|
6232
6233
|
client: {
|
|
6233
6234
|
VITE_MODULES_ENV: stringType()
|
|
@@ -12873,32 +12874,36 @@ const DangerDialog = ({
|
|
|
12873
12874
|
Dialog,
|
|
12874
12875
|
{
|
|
12875
12876
|
fullWidth: false,
|
|
12877
|
+
PaperProps: {
|
|
12878
|
+
sx: {
|
|
12879
|
+
maxWidth: "400px",
|
|
12880
|
+
borderRadius: "12px",
|
|
12881
|
+
boxShadow: "0px 4px 20px rgba(0, 0, 0, 0.1)"
|
|
12882
|
+
}
|
|
12883
|
+
},
|
|
12876
12884
|
onClose: () => handleCloseUtil(setInitialState),
|
|
12877
12885
|
open,
|
|
12878
12886
|
"aria-labelledby": "draggable-dialog-title",
|
|
12879
|
-
children: /* @__PURE__ */ jsxs(Box, { sx: { p:
|
|
12880
|
-
/* @__PURE__ */ jsxs(Stack$1, { direction: "column", spacing: 2, alignItems: "
|
|
12881
|
-
/* @__PURE__ */ jsx(ExitToAppTwoToneIcon, {
|
|
12882
|
-
/* @__PURE__ */ jsx("h5", { children: title }),
|
|
12887
|
+
children: /* @__PURE__ */ jsxs(Box, { sx: { p: 3 }, children: [
|
|
12888
|
+
/* @__PURE__ */ jsxs(Stack$1, { direction: "column", spacing: 2, alignItems: "center", sx: { textAlign: "center", mb: 2 }, children: [
|
|
12889
|
+
/* @__PURE__ */ jsx(ExitToAppTwoToneIcon, { sx: { color: "#d32f2f", fontSize: "48px" } }),
|
|
12883
12890
|
/* @__PURE__ */ jsx(
|
|
12884
|
-
|
|
12891
|
+
Typography,
|
|
12885
12892
|
{
|
|
12886
|
-
|
|
12887
|
-
|
|
12888
|
-
|
|
12889
|
-
|
|
12890
|
-
|
|
12891
|
-
|
|
12892
|
-
|
|
12893
|
-
|
|
12894
|
-
|
|
12895
|
-
|
|
12896
|
-
},
|
|
12897
|
-
children: /* @__PURE__ */ jsx("p", { children: description })
|
|
12893
|
+
variant: "h5",
|
|
12894
|
+
sx: { fontSize: "20px", fontWeight: "600", color: "#1a1c1e", fontFamily: "'IBM Plex Sans', sans-serif" },
|
|
12895
|
+
children: title
|
|
12896
|
+
}
|
|
12897
|
+
),
|
|
12898
|
+
/* @__PURE__ */ jsx(
|
|
12899
|
+
Typography,
|
|
12900
|
+
{
|
|
12901
|
+
sx: { fontSize: "15px", fontWeight: "400", color: "#5f6368", fontFamily: "'IBM Plex Sans', sans-serif" },
|
|
12902
|
+
children: description
|
|
12898
12903
|
}
|
|
12899
12904
|
)
|
|
12900
12905
|
] }),
|
|
12901
|
-
/* @__PURE__ */ jsxs(Stack$1, { direction: "row", alignItems: "center", spacing: 2, sx: { mt:
|
|
12906
|
+
/* @__PURE__ */ jsxs(Stack$1, { direction: "row", alignItems: "center", spacing: 2, sx: { mt: 3 }, children: [
|
|
12902
12907
|
/* @__PURE__ */ jsx(
|
|
12903
12908
|
Button$1,
|
|
12904
12909
|
{
|
|
@@ -12906,12 +12911,15 @@ const DangerDialog = ({
|
|
|
12906
12911
|
fullWidth: true,
|
|
12907
12912
|
onClick: () => handleCloseUtil(setInitialState),
|
|
12908
12913
|
sx: {
|
|
12909
|
-
borderColor: "#
|
|
12910
|
-
color: "#
|
|
12914
|
+
borderColor: "#e0e0e0",
|
|
12915
|
+
color: "#5f6368",
|
|
12911
12916
|
textTransform: "capitalize",
|
|
12912
12917
|
borderRadius: "8px",
|
|
12913
12918
|
fontSize: "14px",
|
|
12914
|
-
|
|
12919
|
+
fontWeight: 500,
|
|
12920
|
+
padding: "10px",
|
|
12921
|
+
fontFamily: "'IBM Plex Sans', sans-serif",
|
|
12922
|
+
"&:hover": { borderColor: "#0073b1", color: "#0073b1", background: "rgba(0, 115, 177, 0.04)" }
|
|
12915
12923
|
},
|
|
12916
12924
|
children: "Cancel"
|
|
12917
12925
|
}
|
|
@@ -12925,12 +12933,15 @@ const DangerDialog = ({
|
|
|
12925
12933
|
disabled: isLoading,
|
|
12926
12934
|
onClick: handleClick,
|
|
12927
12935
|
sx: {
|
|
12928
|
-
background: "#
|
|
12936
|
+
background: "#d32f2f",
|
|
12929
12937
|
color: "#fff",
|
|
12930
12938
|
textTransform: "capitalize",
|
|
12931
12939
|
borderRadius: "8px",
|
|
12932
12940
|
fontSize: "14px",
|
|
12933
|
-
|
|
12941
|
+
fontWeight: 500,
|
|
12942
|
+
padding: "10px",
|
|
12943
|
+
fontFamily: "'IBM Plex Sans', sans-serif",
|
|
12944
|
+
"&:hover": { background: "#b71c1c" }
|
|
12934
12945
|
},
|
|
12935
12946
|
children: isLoading ? ALERT_MESSAGES.commonLoadingMessage : buttonTitle
|
|
12936
12947
|
}
|
|
@@ -12946,23 +12957,22 @@ const ChangePasswordStyled = styled("div")(() => ({
|
|
|
12946
12957
|
paddingBottom: "20px"
|
|
12947
12958
|
},
|
|
12948
12959
|
"& .createProduct": {
|
|
12949
|
-
border: "1px solid #
|
|
12960
|
+
border: "1px solid #e0e0e0",
|
|
12950
12961
|
margin: "10px 0px",
|
|
12951
12962
|
padding: "16px",
|
|
12952
|
-
borderRadius: "
|
|
12953
|
-
boxShadow: "0px
|
|
12954
|
-
fontFamily: "
|
|
12963
|
+
borderRadius: "12px",
|
|
12964
|
+
boxShadow: "0px 2px 4px rgba(0, 0, 0, 0.05)",
|
|
12965
|
+
fontFamily: "'IBM Plex Sans', sans-serif",
|
|
12955
12966
|
width: "100%",
|
|
12956
12967
|
boxSizing: "border-box"
|
|
12957
12968
|
},
|
|
12958
12969
|
"& .CreateProduct": {
|
|
12959
|
-
border: "1px solid #
|
|
12970
|
+
border: "1px solid #e0e0e0",
|
|
12960
12971
|
padding: "12px",
|
|
12961
|
-
borderRadius: "
|
|
12962
|
-
boxShadow: "0px
|
|
12972
|
+
borderRadius: "12px",
|
|
12973
|
+
boxShadow: "0px 2px 4px rgba(0, 0, 0, 0.05)",
|
|
12963
12974
|
height: "729px",
|
|
12964
|
-
fontFamily: "
|
|
12965
|
-
// width: "90%",
|
|
12975
|
+
fontFamily: "'IBM Plex Sans', sans-serif",
|
|
12966
12976
|
overflow: "auto"
|
|
12967
12977
|
},
|
|
12968
12978
|
"& .dashboard": {
|
|
@@ -12970,85 +12980,85 @@ const ChangePasswordStyled = styled("div")(() => ({
|
|
|
12970
12980
|
gap: "16px",
|
|
12971
12981
|
width: "100%",
|
|
12972
12982
|
alignItems: "center",
|
|
12973
|
-
fontFamily: "
|
|
12983
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
12974
12984
|
},
|
|
12975
12985
|
"& .product": {
|
|
12976
12986
|
display: "flex",
|
|
12977
|
-
fontFamily: "
|
|
12987
|
+
fontFamily: "'IBM Plex Sans', sans-serif",
|
|
12978
12988
|
gap: "16px"
|
|
12979
12989
|
},
|
|
12980
12990
|
"& .project": {
|
|
12981
12991
|
fontSize: "14px",
|
|
12982
12992
|
fontWeight: "400",
|
|
12983
|
-
color: "#
|
|
12984
|
-
fontFamily: "
|
|
12993
|
+
color: "#5f6368",
|
|
12994
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
12985
12995
|
},
|
|
12986
12996
|
"& .seiDetail": {
|
|
12987
|
-
background: "#
|
|
12997
|
+
background: "#f0f7ff",
|
|
12988
12998
|
padding: "12px",
|
|
12989
12999
|
borderRadius: "12px",
|
|
12990
13000
|
height: "100%",
|
|
12991
|
-
fontFamily: "
|
|
13001
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
12992
13002
|
},
|
|
12993
13003
|
"& .vsDetail": {
|
|
12994
|
-
background: "#
|
|
13004
|
+
background: "#fff9f2",
|
|
12995
13005
|
padding: "12px",
|
|
12996
13006
|
borderRadius: "12px",
|
|
12997
13007
|
height: " 100%",
|
|
12998
|
-
fontFamily: "
|
|
13008
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
12999
13009
|
},
|
|
13000
13010
|
"& .emotional": {
|
|
13001
13011
|
fontSize: "16px",
|
|
13002
13012
|
fontWeight: "600",
|
|
13003
|
-
color: "#
|
|
13004
|
-
fontFamily: "
|
|
13013
|
+
color: "#1a1c1e",
|
|
13014
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13005
13015
|
},
|
|
13006
13016
|
"& .Detail": {
|
|
13007
13017
|
fontSize: "14px",
|
|
13008
13018
|
fontWeight: "400",
|
|
13009
|
-
color: "#
|
|
13019
|
+
color: "#5f6368",
|
|
13010
13020
|
margin: "10px 0px",
|
|
13011
|
-
fontFamily: "
|
|
13021
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13012
13022
|
},
|
|
13013
13023
|
"& .link": {
|
|
13014
13024
|
fontSize: "16px",
|
|
13015
|
-
color: "#
|
|
13025
|
+
color: "#1a1c1e",
|
|
13016
13026
|
fontWeight: "500",
|
|
13017
13027
|
marginTop: "4%",
|
|
13018
13028
|
padding: "12px 5px 0px",
|
|
13019
|
-
fontFamily: "
|
|
13029
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13020
13030
|
},
|
|
13021
13031
|
"& .group": {
|
|
13022
13032
|
paddingTop: "12px",
|
|
13023
|
-
fontFamily: "
|
|
13033
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13024
13034
|
},
|
|
13025
13035
|
"& .creation": {
|
|
13026
13036
|
display: "flex",
|
|
13027
13037
|
paddingBottom: "10px",
|
|
13028
|
-
fontFamily: "
|
|
13038
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13029
13039
|
},
|
|
13030
13040
|
"& .groupDetailData": {
|
|
13031
13041
|
fontSize: "14px",
|
|
13032
13042
|
fontWeight: "400",
|
|
13033
|
-
color: "#
|
|
13043
|
+
color: "#5f6368",
|
|
13034
13044
|
margin: "0px 13px 0px 0px",
|
|
13035
|
-
fontFamily: "
|
|
13045
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13036
13046
|
},
|
|
13037
13047
|
"& .title": {
|
|
13038
|
-
color: "#
|
|
13048
|
+
color: "#1a1c1e",
|
|
13039
13049
|
fontSize: "16px",
|
|
13040
13050
|
fontWeight: "600",
|
|
13041
|
-
fontFamily: "
|
|
13051
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13042
13052
|
},
|
|
13043
13053
|
"& .reportActivityDetail": {
|
|
13044
13054
|
display: "flex",
|
|
13045
13055
|
alignItems: "center",
|
|
13046
13056
|
margin: "0px 0px 7px 0px",
|
|
13047
|
-
fontFamily: "
|
|
13057
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13048
13058
|
},
|
|
13049
13059
|
"& .reportActivityDetail svg": {
|
|
13050
13060
|
margin: "0px 13px 0px 0px",
|
|
13051
|
-
fontFamily: "
|
|
13061
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13052
13062
|
},
|
|
13053
13063
|
"& .version": {
|
|
13054
13064
|
display: "flex",
|
|
@@ -13056,76 +13066,82 @@ const ChangePasswordStyled = styled("div")(() => ({
|
|
|
13056
13066
|
width: "98%",
|
|
13057
13067
|
alignItems: "center",
|
|
13058
13068
|
margin: "8px 0px 8px 0px",
|
|
13059
|
-
fontFamily: "
|
|
13069
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13060
13070
|
},
|
|
13061
13071
|
"& .dotted": {
|
|
13062
13072
|
fontSize: "14px",
|
|
13063
13073
|
fontWeight: "500",
|
|
13064
13074
|
display: "flex",
|
|
13065
13075
|
alignItems: "center",
|
|
13066
|
-
fontFamily: "
|
|
13076
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13067
13077
|
},
|
|
13068
13078
|
"& .seiDetail .dotted": {
|
|
13069
|
-
color: "#
|
|
13070
|
-
fontFamily: "
|
|
13079
|
+
color: "#0073b1",
|
|
13080
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13071
13081
|
},
|
|
13072
13082
|
"& .vsDetail .dotted": {
|
|
13073
|
-
color: "#
|
|
13074
|
-
fontFamily: "
|
|
13083
|
+
color: "#f68926",
|
|
13084
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13075
13085
|
},
|
|
13076
13086
|
"& .seiDetail .version svg": {
|
|
13077
|
-
color: "#
|
|
13078
|
-
fontFamily: "
|
|
13087
|
+
color: "#0073b1",
|
|
13088
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13079
13089
|
},
|
|
13080
13090
|
"& .vsDetail .version svg": {
|
|
13081
|
-
color: "#
|
|
13082
|
-
fontFamily: "
|
|
13091
|
+
color: "#f68926",
|
|
13092
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13083
13093
|
},
|
|
13084
13094
|
"& .seiDetail .accordionTitle": {
|
|
13085
|
-
color: "#
|
|
13095
|
+
color: "#0073b1",
|
|
13086
13096
|
fontSize: "14px",
|
|
13087
13097
|
fontWeight: "500",
|
|
13088
|
-
fontFamily: "
|
|
13098
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13089
13099
|
},
|
|
13090
13100
|
"& .vsDetail .accordionTitle": {
|
|
13091
|
-
color: "#
|
|
13101
|
+
color: "#f68926",
|
|
13092
13102
|
fontSize: "14px",
|
|
13093
13103
|
fontWeight: "500",
|
|
13094
|
-
fontFamily: "
|
|
13104
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13095
13105
|
},
|
|
13096
13106
|
"& .seiDetail .toggle svg": {
|
|
13097
|
-
color: "#
|
|
13107
|
+
color: "#0073b1"
|
|
13098
13108
|
},
|
|
13099
13109
|
"& .vsDetail .toggle svg": {
|
|
13100
|
-
color: "#
|
|
13110
|
+
color: "#f68926"
|
|
13101
13111
|
},
|
|
13102
13112
|
"& .welcome": {
|
|
13103
13113
|
fontSize: "16px",
|
|
13104
|
-
color: "#
|
|
13114
|
+
color: "#5f6368",
|
|
13105
13115
|
fontWeight: "400",
|
|
13106
13116
|
margin: "3px 3px",
|
|
13107
|
-
fontFamily: "
|
|
13117
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13108
13118
|
},
|
|
13109
13119
|
"& .recant": {
|
|
13110
13120
|
fontSize: "16px",
|
|
13111
13121
|
fontWeight: "600",
|
|
13112
|
-
color: "#
|
|
13122
|
+
color: "#1a1c1e",
|
|
13113
13123
|
padding: "9px 4px",
|
|
13114
|
-
fontFamily: "
|
|
13124
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13115
13125
|
},
|
|
13116
13126
|
"& .viewFile": {
|
|
13117
|
-
color: "#
|
|
13127
|
+
color: "#5f6368",
|
|
13118
13128
|
fontSize: "14px",
|
|
13119
13129
|
fontWeight: "500",
|
|
13120
|
-
border: "1px solid #
|
|
13121
|
-
height: "
|
|
13122
|
-
borderRadius: "
|
|
13123
|
-
width: "
|
|
13130
|
+
border: "1px solid #e0e0e0",
|
|
13131
|
+
height: "32px",
|
|
13132
|
+
borderRadius: "6px",
|
|
13133
|
+
width: "110px",
|
|
13124
13134
|
alignItems: "center",
|
|
13125
13135
|
textAlign: "center",
|
|
13126
13136
|
display: "flex",
|
|
13127
13137
|
justifyContent: "center",
|
|
13128
|
-
marginTop: "12px"
|
|
13138
|
+
marginTop: "12px",
|
|
13139
|
+
transition: "all 0.2s",
|
|
13140
|
+
"&:hover": {
|
|
13141
|
+
background: "#f8f9fa",
|
|
13142
|
+
borderColor: "#0073b1",
|
|
13143
|
+
color: "#0073b1"
|
|
13144
|
+
}
|
|
13129
13145
|
},
|
|
13130
13146
|
"& .viewFile svg": {
|
|
13131
13147
|
margin: "0px 0px 0px 7px"
|
|
@@ -13133,28 +13149,24 @@ const ChangePasswordStyled = styled("div")(() => ({
|
|
|
13133
13149
|
}));
|
|
13134
13150
|
const ProfileStyled = styled("div")(() => ({
|
|
13135
13151
|
"& .dashboardMain": {
|
|
13136
|
-
// width: "986px !important",
|
|
13137
13152
|
marginTop: "1%",
|
|
13138
13153
|
paddingBottom: "20px"
|
|
13139
13154
|
},
|
|
13140
13155
|
"& .createProduct": {
|
|
13141
|
-
border: "1px solid #
|
|
13156
|
+
border: "1px solid #e0e0e0",
|
|
13142
13157
|
margin: "10px 0px",
|
|
13143
13158
|
padding: "16px",
|
|
13144
|
-
borderRadius: "
|
|
13145
|
-
|
|
13146
|
-
fontFamily: "Inter, sans-serif",
|
|
13159
|
+
borderRadius: "12px",
|
|
13160
|
+
fontFamily: "'IBM Plex Sans', sans-serif",
|
|
13147
13161
|
width: "100%",
|
|
13148
13162
|
boxSizing: "border-box"
|
|
13149
13163
|
},
|
|
13150
13164
|
"& .CreateProduct": {
|
|
13151
|
-
border: "1px solid #
|
|
13165
|
+
border: "1px solid #e0e0e0",
|
|
13152
13166
|
padding: "12px",
|
|
13153
|
-
borderRadius: "
|
|
13154
|
-
// boxShadow: "0px 0px 1px 1px #E8E8E880 ",
|
|
13167
|
+
borderRadius: "12px",
|
|
13155
13168
|
height: "729px",
|
|
13156
|
-
fontFamily: "
|
|
13157
|
-
// width: "90%",
|
|
13169
|
+
fontFamily: "'IBM Plex Sans', sans-serif",
|
|
13158
13170
|
overflow: "auto"
|
|
13159
13171
|
},
|
|
13160
13172
|
"& .dashboard": {
|
|
@@ -13162,85 +13174,85 @@ const ProfileStyled = styled("div")(() => ({
|
|
|
13162
13174
|
gap: "16px",
|
|
13163
13175
|
width: "100%",
|
|
13164
13176
|
alignItems: "center",
|
|
13165
|
-
fontFamily: "
|
|
13177
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13166
13178
|
},
|
|
13167
13179
|
"& .product": {
|
|
13168
13180
|
display: "flex",
|
|
13169
|
-
fontFamily: "
|
|
13181
|
+
fontFamily: "'IBM Plex Sans', sans-serif",
|
|
13170
13182
|
gap: "16px"
|
|
13171
13183
|
},
|
|
13172
13184
|
"& .project": {
|
|
13173
13185
|
fontSize: "14px",
|
|
13174
13186
|
fontWeight: "400",
|
|
13175
|
-
color: "#
|
|
13176
|
-
fontFamily: "
|
|
13187
|
+
color: "#5f6368",
|
|
13188
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13177
13189
|
},
|
|
13178
13190
|
"& .seiDetail": {
|
|
13179
|
-
background: "#
|
|
13191
|
+
background: "#f0f7ff",
|
|
13180
13192
|
padding: "12px",
|
|
13181
13193
|
borderRadius: "12px",
|
|
13182
13194
|
height: "100%",
|
|
13183
|
-
fontFamily: "
|
|
13195
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13184
13196
|
},
|
|
13185
13197
|
"& .vsDetail": {
|
|
13186
|
-
background: "#
|
|
13198
|
+
background: "#fff9f2",
|
|
13187
13199
|
padding: "12px",
|
|
13188
13200
|
borderRadius: "12px",
|
|
13189
13201
|
height: " 100%",
|
|
13190
|
-
fontFamily: "
|
|
13202
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13191
13203
|
},
|
|
13192
13204
|
"& .emotional": {
|
|
13193
13205
|
fontSize: "16px",
|
|
13194
13206
|
fontWeight: "600",
|
|
13195
|
-
color: "#
|
|
13196
|
-
fontFamily: "
|
|
13207
|
+
color: "#1a1c1e",
|
|
13208
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13197
13209
|
},
|
|
13198
13210
|
"& .Detail": {
|
|
13199
13211
|
fontSize: "14px",
|
|
13200
13212
|
fontWeight: "400",
|
|
13201
|
-
color: "#
|
|
13213
|
+
color: "#5f6368",
|
|
13202
13214
|
margin: "10px 0px",
|
|
13203
|
-
fontFamily: "
|
|
13215
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13204
13216
|
},
|
|
13205
13217
|
"& .link": {
|
|
13206
13218
|
fontSize: "16px",
|
|
13207
|
-
color: "#
|
|
13219
|
+
color: "#1a1c1e",
|
|
13208
13220
|
fontWeight: "500",
|
|
13209
13221
|
marginTop: "4%",
|
|
13210
13222
|
padding: "12px 5px 0px",
|
|
13211
|
-
fontFamily: "
|
|
13223
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13212
13224
|
},
|
|
13213
13225
|
"& .group": {
|
|
13214
13226
|
paddingTop: "12px",
|
|
13215
|
-
fontFamily: "
|
|
13227
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13216
13228
|
},
|
|
13217
13229
|
"& .creation": {
|
|
13218
13230
|
display: "flex",
|
|
13219
13231
|
paddingBottom: "10px",
|
|
13220
|
-
fontFamily: "
|
|
13232
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13221
13233
|
},
|
|
13222
13234
|
"& .groupDetailData": {
|
|
13223
13235
|
fontSize: "14px",
|
|
13224
13236
|
fontWeight: "400",
|
|
13225
|
-
color: "#
|
|
13237
|
+
color: "#5f6368",
|
|
13226
13238
|
margin: "0px 13px 0px 0px",
|
|
13227
|
-
fontFamily: "
|
|
13239
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13228
13240
|
},
|
|
13229
13241
|
"& .title": {
|
|
13230
|
-
color: "#
|
|
13242
|
+
color: "#1a1c1e",
|
|
13231
13243
|
fontSize: "16px",
|
|
13232
13244
|
fontWeight: "600",
|
|
13233
|
-
fontFamily: "
|
|
13245
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13234
13246
|
},
|
|
13235
13247
|
"& .reportActivityDetail": {
|
|
13236
13248
|
display: "flex",
|
|
13237
13249
|
alignItems: "center",
|
|
13238
13250
|
margin: "0px 0px 7px 0px",
|
|
13239
|
-
fontFamily: "
|
|
13251
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13240
13252
|
},
|
|
13241
13253
|
"& .reportActivityDetail svg": {
|
|
13242
13254
|
margin: "0px 13px 0px 0px",
|
|
13243
|
-
fontFamily: "
|
|
13255
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13244
13256
|
},
|
|
13245
13257
|
"& .version": {
|
|
13246
13258
|
display: "flex",
|
|
@@ -13248,76 +13260,82 @@ const ProfileStyled = styled("div")(() => ({
|
|
|
13248
13260
|
width: "98%",
|
|
13249
13261
|
alignItems: "center",
|
|
13250
13262
|
margin: "8px 0px 8px 0px",
|
|
13251
|
-
fontFamily: "
|
|
13263
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13252
13264
|
},
|
|
13253
13265
|
"& .dotted": {
|
|
13254
13266
|
fontSize: "14px",
|
|
13255
13267
|
fontWeight: "500",
|
|
13256
13268
|
display: "flex",
|
|
13257
13269
|
alignItems: "center",
|
|
13258
|
-
fontFamily: "
|
|
13270
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13259
13271
|
},
|
|
13260
13272
|
"& .seiDetail .dotted": {
|
|
13261
|
-
color: "#
|
|
13262
|
-
fontFamily: "
|
|
13273
|
+
color: "#0073b1",
|
|
13274
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13263
13275
|
},
|
|
13264
13276
|
"& .vsDetail .dotted": {
|
|
13265
|
-
color: "#
|
|
13266
|
-
fontFamily: "
|
|
13277
|
+
color: "#f68926",
|
|
13278
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13267
13279
|
},
|
|
13268
13280
|
"& .seiDetail .version svg": {
|
|
13269
|
-
color: "#
|
|
13270
|
-
fontFamily: "
|
|
13281
|
+
color: "#0073b1",
|
|
13282
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13271
13283
|
},
|
|
13272
13284
|
"& .vsDetail .version svg": {
|
|
13273
|
-
color: "#
|
|
13274
|
-
fontFamily: "
|
|
13285
|
+
color: "#f68926",
|
|
13286
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13275
13287
|
},
|
|
13276
13288
|
"& .seiDetail .accordionTitle": {
|
|
13277
|
-
color: "#
|
|
13289
|
+
color: "#0073b1",
|
|
13278
13290
|
fontSize: "14px",
|
|
13279
13291
|
fontWeight: "500",
|
|
13280
|
-
fontFamily: "
|
|
13292
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13281
13293
|
},
|
|
13282
13294
|
"& .vsDetail .accordionTitle": {
|
|
13283
|
-
color: "#
|
|
13295
|
+
color: "#f68926",
|
|
13284
13296
|
fontSize: "14px",
|
|
13285
13297
|
fontWeight: "500",
|
|
13286
|
-
fontFamily: "
|
|
13298
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13287
13299
|
},
|
|
13288
13300
|
"& .seiDetail .toggle svg": {
|
|
13289
|
-
color: "#
|
|
13301
|
+
color: "#0073b1"
|
|
13290
13302
|
},
|
|
13291
13303
|
"& .vsDetail .toggle svg": {
|
|
13292
|
-
color: "#
|
|
13304
|
+
color: "#f68926"
|
|
13293
13305
|
},
|
|
13294
13306
|
"& .welcome": {
|
|
13295
13307
|
fontSize: "16px",
|
|
13296
|
-
color: "#
|
|
13308
|
+
color: "#5f6368",
|
|
13297
13309
|
fontWeight: "400",
|
|
13298
13310
|
margin: "3px 3px",
|
|
13299
|
-
fontFamily: "
|
|
13311
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13300
13312
|
},
|
|
13301
13313
|
"& .recant": {
|
|
13302
13314
|
fontSize: "16px",
|
|
13303
13315
|
fontWeight: "600",
|
|
13304
|
-
color: "#
|
|
13316
|
+
color: "#1a1c1e",
|
|
13305
13317
|
padding: "9px 4px",
|
|
13306
|
-
fontFamily: "
|
|
13318
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13307
13319
|
},
|
|
13308
13320
|
"& .viewFile": {
|
|
13309
|
-
color: "#
|
|
13321
|
+
color: "#5f6368",
|
|
13310
13322
|
fontSize: "14px",
|
|
13311
13323
|
fontWeight: "500",
|
|
13312
|
-
border: "1px solid #
|
|
13313
|
-
height: "
|
|
13314
|
-
borderRadius: "
|
|
13315
|
-
width: "
|
|
13324
|
+
border: "1px solid #e0e0e0",
|
|
13325
|
+
height: "32px",
|
|
13326
|
+
borderRadius: "6px",
|
|
13327
|
+
width: "110px",
|
|
13316
13328
|
alignItems: "center",
|
|
13317
13329
|
textAlign: "center",
|
|
13318
13330
|
display: "flex",
|
|
13319
13331
|
justifyContent: "center",
|
|
13320
|
-
marginTop: "12px"
|
|
13332
|
+
marginTop: "12px",
|
|
13333
|
+
transition: "all 0.2s",
|
|
13334
|
+
"&:hover": {
|
|
13335
|
+
background: "#f8f9fa",
|
|
13336
|
+
borderColor: "#0073b1",
|
|
13337
|
+
color: "#0073b1"
|
|
13338
|
+
}
|
|
13321
13339
|
},
|
|
13322
13340
|
"& .viewFile svg": {
|
|
13323
13341
|
margin: "0px 0px 0px 7px"
|
|
@@ -13334,50 +13352,54 @@ function ViewProfileDialog({ userData, setInitialState, isOpen }) {
|
|
|
13334
13352
|
"aria-labelledby": "draggable-dialog-title",
|
|
13335
13353
|
children: [
|
|
13336
13354
|
/* @__PURE__ */ jsxs(ProfileStyled, { children: [
|
|
13337
|
-
/* @__PURE__ */ jsx(Box, { sx: { textAlign: "right", padding: "
|
|
13355
|
+
/* @__PURE__ */ jsx(Box, { sx: { textAlign: "right", padding: "16px 16px 0px 0px" }, children: /* @__PURE__ */ jsx(
|
|
13338
13356
|
IconButton,
|
|
13339
13357
|
{
|
|
13340
13358
|
onClick: () => setInitialState((p) => ({ ...p, toggles: { ...p.toggles, viewProfile: false } })),
|
|
13341
13359
|
disableRipple: false,
|
|
13342
|
-
sx: {
|
|
13343
|
-
|
|
13360
|
+
sx: {
|
|
13361
|
+
background: "#f1f3f4",
|
|
13362
|
+
color: "#5f6368",
|
|
13363
|
+
"&:hover": { background: "#e0e0e0", color: "#1a1c1e" }
|
|
13364
|
+
},
|
|
13365
|
+
children: /* @__PURE__ */ jsx(CloseIcon, { fontSize: "small" })
|
|
13344
13366
|
}
|
|
13345
13367
|
) }),
|
|
13346
|
-
/* @__PURE__ */ jsx(Box, { sx: { p:
|
|
13368
|
+
/* @__PURE__ */ jsx(Box, { sx: { p: 4 }, children: /* @__PURE__ */ jsxs(Grid, { container: true, spacing: 4, children: [
|
|
13347
13369
|
/* @__PURE__ */ jsxs(Grid, { item: true, xs: 12, lg: 5, children: [
|
|
13348
|
-
/* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
|
|
13370
|
+
/* @__PURE__ */ jsx(Box, { sx: { textAlign: "center", mb: 3 }, children: /* @__PURE__ */ jsx(
|
|
13349
13371
|
Avatar,
|
|
13350
13372
|
{
|
|
13351
13373
|
src: userData?.userprofile,
|
|
13352
13374
|
sx: {
|
|
13353
|
-
width: "
|
|
13354
|
-
height: "
|
|
13355
|
-
border: "
|
|
13356
|
-
|
|
13375
|
+
width: "160px",
|
|
13376
|
+
height: "160px",
|
|
13377
|
+
border: "4px solid #0073b1",
|
|
13378
|
+
boxShadow: "0px 4px 12px rgba(0,0,0,0.1)",
|
|
13357
13379
|
display: "inline-flex"
|
|
13358
13380
|
}
|
|
13359
13381
|
}
|
|
13360
13382
|
) }),
|
|
13361
|
-
/* @__PURE__ */ jsxs(Box, {
|
|
13362
|
-
/* @__PURE__ */ jsxs(Stack$1, { direction: "column", spacing: 1.5, sx: { fontSize: "14px" }, children: [
|
|
13363
|
-
Boolean(userData?.certification?.length) && /* @__PURE__ */ jsxs(Stack$1, { direction: "
|
|
13364
|
-
"
|
|
13365
|
-
userData?.certification?.map((itm, idx) => /* @__PURE__ */ jsx(Chip, {
|
|
13383
|
+
/* @__PURE__ */ jsxs(Box, { children: [
|
|
13384
|
+
/* @__PURE__ */ jsxs(Stack$1, { direction: "column", spacing: 1.5, sx: { fontSize: "14px", color: "#5f6368" }, children: [
|
|
13385
|
+
Boolean(userData?.certification?.length) && /* @__PURE__ */ jsxs(Stack$1, { direction: "column", spacing: 1, children: [
|
|
13386
|
+
/* @__PURE__ */ jsx(Typography, { sx: { fontWeight: 600, color: "#1a1c1e", fontSize: "14px" }, children: "Certifications" }),
|
|
13387
|
+
/* @__PURE__ */ jsx(Box, { sx: { display: "flex", flexWrap: "wrap", gap: 0.5 }, children: userData?.certification?.map((itm, idx) => /* @__PURE__ */ jsx(Chip, { variant: "outlined", sx: { borderRadius: "6px" }, label: `${itm}` }, idx)) })
|
|
13366
13388
|
] }),
|
|
13367
|
-
Boolean(userData?.country) && /* @__PURE__ */ jsxs(Box, { children: [
|
|
13368
|
-
"
|
|
13369
|
-
userData?.country
|
|
13389
|
+
Boolean(userData?.country) && /* @__PURE__ */ jsxs(Box, { sx: { display: "flex", gap: 1 }, children: [
|
|
13390
|
+
/* @__PURE__ */ jsx(Typography, { sx: { fontWeight: 600, color: "#1a1c1e", minWidth: "80px" }, children: "Location:" }),
|
|
13391
|
+
/* @__PURE__ */ jsx(Typography, { children: userData?.country })
|
|
13370
13392
|
] }),
|
|
13371
13393
|
Boolean(userData?.languages?.length) && /* @__PURE__ */ jsxs(Box, { children: [
|
|
13372
|
-
"
|
|
13373
|
-
userData?.languages?.map((itm, idx) => /* @__PURE__ */ jsx(Chip, {
|
|
13394
|
+
/* @__PURE__ */ jsx(Typography, { sx: { fontWeight: 600, color: "#1a1c1e", mb: 0.5 }, children: "Languages" }),
|
|
13395
|
+
/* @__PURE__ */ jsx(Box, { sx: { display: "flex", flexWrap: "wrap", gap: 0.5 }, children: userData?.languages?.map((itm, idx) => /* @__PURE__ */ jsx(Chip, { size: "small", variant: "outlined", label: `${itm}` }, idx)) })
|
|
13374
13396
|
] }),
|
|
13375
13397
|
Boolean(userData?.areaOfWork?.length) && /* @__PURE__ */ jsxs(Box, { children: [
|
|
13376
|
-
"Areas Of Work
|
|
13377
|
-
userData?.areaOfWork?.map((itm, idx) => /* @__PURE__ */ jsx(Chip, {
|
|
13398
|
+
/* @__PURE__ */ jsx(Typography, { sx: { fontWeight: 600, color: "#1a1c1e", mb: 0.5 }, children: "Areas Of Work" }),
|
|
13399
|
+
/* @__PURE__ */ jsx(Box, { sx: { display: "flex", flexWrap: "wrap", gap: 0.5 }, children: userData?.areaOfWork?.map((itm, idx) => /* @__PURE__ */ jsx(Chip, { size: "small", variant: "outlined", label: `${itm}` }, idx)) })
|
|
13378
13400
|
] })
|
|
13379
13401
|
] }),
|
|
13380
|
-
/* @__PURE__ */ jsxs(Stack$1, { direction: "row", spacing:
|
|
13402
|
+
/* @__PURE__ */ jsxs(Stack$1, { direction: "row", spacing: 1.5, alignItems: "center", sx: { marginTop: 3 }, children: [
|
|
13381
13403
|
/* @__PURE__ */ jsx(
|
|
13382
13404
|
Button$1,
|
|
13383
13405
|
{
|
|
@@ -13387,12 +13409,12 @@ function ViewProfileDialog({ userData, setInitialState, isOpen }) {
|
|
|
13387
13409
|
variant: "contained",
|
|
13388
13410
|
disableElevation: true,
|
|
13389
13411
|
sx: {
|
|
13390
|
-
background: "#
|
|
13412
|
+
background: "#0073b1",
|
|
13391
13413
|
borderRadius: "8px",
|
|
13392
13414
|
minWidth: "auto",
|
|
13393
|
-
p: 1,
|
|
13415
|
+
p: 1.2,
|
|
13394
13416
|
"&:hover": {
|
|
13395
|
-
backgroundColor: "#
|
|
13417
|
+
backgroundColor: "#005a8b"
|
|
13396
13418
|
}
|
|
13397
13419
|
},
|
|
13398
13420
|
children: /* @__PURE__ */ jsx(ContentCopyIcon, { fontSize: "small" })
|
|
@@ -13403,12 +13425,12 @@ function ViewProfileDialog({ userData, setInitialState, isOpen }) {
|
|
|
13403
13425
|
{
|
|
13404
13426
|
variant: "contained",
|
|
13405
13427
|
sx: {
|
|
13406
|
-
backgroundColor: "#
|
|
13428
|
+
backgroundColor: "#0073b1",
|
|
13407
13429
|
borderRadius: "8px",
|
|
13408
13430
|
minWidth: "auto",
|
|
13409
|
-
p: 1,
|
|
13431
|
+
p: 1.2,
|
|
13410
13432
|
"&:hover": {
|
|
13411
|
-
backgroundColor: "#
|
|
13433
|
+
backgroundColor: "#005a8b"
|
|
13412
13434
|
}
|
|
13413
13435
|
},
|
|
13414
13436
|
disableElevation: true,
|
|
@@ -13427,12 +13449,12 @@ function ViewProfileDialog({ userData, setInitialState, isOpen }) {
|
|
|
13427
13449
|
LinkComponent: Link,
|
|
13428
13450
|
target: "_blank",
|
|
13429
13451
|
sx: {
|
|
13430
|
-
background: "#
|
|
13452
|
+
background: "#0073b1",
|
|
13431
13453
|
borderRadius: "8px",
|
|
13432
13454
|
minWidth: "auto",
|
|
13433
|
-
p: 1,
|
|
13455
|
+
p: 1.2,
|
|
13434
13456
|
"&:hover": {
|
|
13435
|
-
backgroundColor: "#
|
|
13457
|
+
backgroundColor: "#005a8b"
|
|
13436
13458
|
}
|
|
13437
13459
|
},
|
|
13438
13460
|
children: /* @__PURE__ */ jsx(PublicIcon, { fontSize: "small" })
|
|
@@ -13442,30 +13464,54 @@ function ViewProfileDialog({ userData, setInitialState, isOpen }) {
|
|
|
13442
13464
|
] })
|
|
13443
13465
|
] }),
|
|
13444
13466
|
/* @__PURE__ */ jsxs(Grid, { item: true, xs: 12, lg: 7, children: [
|
|
13445
|
-
/* @__PURE__ */ jsxs(Stack$1, { direction: "column", spacing:
|
|
13446
|
-
/* @__PURE__ */ jsx(
|
|
13447
|
-
|
|
13448
|
-
|
|
13449
|
-
|
|
13450
|
-
|
|
13451
|
-
|
|
13452
|
-
|
|
13453
|
-
|
|
13454
|
-
|
|
13455
|
-
|
|
13456
|
-
|
|
13457
|
-
|
|
13458
|
-
|
|
13467
|
+
/* @__PURE__ */ jsxs(Stack$1, { direction: "column", spacing: 2, sx: { color: "#5f6368", fontSize: "14px", lineHeight: "1.6" }, children: [
|
|
13468
|
+
/* @__PURE__ */ jsx(
|
|
13469
|
+
Typography,
|
|
13470
|
+
{
|
|
13471
|
+
variant: "h3",
|
|
13472
|
+
sx: {
|
|
13473
|
+
fontSize: "28px",
|
|
13474
|
+
fontWeight: "700",
|
|
13475
|
+
color: "#1a1c1e",
|
|
13476
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
13477
|
+
},
|
|
13478
|
+
children: userData?.fullName
|
|
13479
|
+
}
|
|
13480
|
+
),
|
|
13481
|
+
/* @__PURE__ */ jsx(Typography, { sx: { fontSize: "15px" }, children: userData?.bio }),
|
|
13482
|
+
/* @__PURE__ */ jsxs(Box, { children: [
|
|
13483
|
+
Boolean(userData?.title) && /* @__PURE__ */ jsxs(Box, { sx: { mb: 1 }, children: [
|
|
13484
|
+
/* @__PURE__ */ jsxs(Typography, { component: "span", sx: { fontWeight: 600, color: "#1a1c1e" }, children: [
|
|
13485
|
+
"Title:",
|
|
13486
|
+
" "
|
|
13487
|
+
] }),
|
|
13488
|
+
userData?.title
|
|
13489
|
+
] }),
|
|
13490
|
+
Boolean(userData?.company) && /* @__PURE__ */ jsxs(Box, { sx: { mb: 1 }, children: [
|
|
13491
|
+
/* @__PURE__ */ jsxs(Typography, { component: "span", sx: { fontWeight: 600, color: "#1a1c1e" }, children: [
|
|
13492
|
+
"Company:",
|
|
13493
|
+
" "
|
|
13494
|
+
] }),
|
|
13495
|
+
userData?.company
|
|
13496
|
+
] }),
|
|
13497
|
+
Boolean(userData?.email) && /* @__PURE__ */ jsxs(Box, { children: [
|
|
13498
|
+
/* @__PURE__ */ jsxs(Typography, { component: "span", sx: { fontWeight: 600, color: "#1a1c1e" }, children: [
|
|
13499
|
+
"Email:",
|
|
13500
|
+
" "
|
|
13501
|
+
] }),
|
|
13502
|
+
userData?.email
|
|
13503
|
+
] })
|
|
13459
13504
|
] }),
|
|
13460
13505
|
/* @__PURE__ */ jsx(
|
|
13461
13506
|
Box,
|
|
13462
13507
|
{
|
|
13508
|
+
sx: { mt: 2 },
|
|
13463
13509
|
dangerouslySetInnerHTML: {
|
|
13464
13510
|
__html: userData?.certBio || ""
|
|
13465
13511
|
}
|
|
13466
13512
|
}
|
|
13467
13513
|
),
|
|
13468
|
-
/* @__PURE__ */ jsx(Divider, {}),
|
|
13514
|
+
/* @__PURE__ */ jsx(Divider, { sx: { my: 2 } }),
|
|
13469
13515
|
/* @__PURE__ */ jsx(Typography, { variant: "h5", sx: { fontSize: "16px", fontWeight: "500" }, children: "Description" })
|
|
13470
13516
|
] }),
|
|
13471
13517
|
/* @__PURE__ */ jsx(Stack$1, { direction: "row", alignItems: "center", flexWrap: "wrap", spacing: 0.5, useFlexGap: true, children: userData?.certOfferToHelp })
|
|
@@ -13515,15 +13561,16 @@ function ChangePasswordDialog({ isOpen, email, t: t2, setInitialState }) {
|
|
|
13515
13561
|
open: isOpen,
|
|
13516
13562
|
"aria-labelledby": "draggable-dialog-title",
|
|
13517
13563
|
children: /* @__PURE__ */ jsx("form", { onSubmit: formik.handleSubmit, children: /* @__PURE__ */ jsx(ChangePasswordStyled, { children: /* @__PURE__ */ jsxs(Box, { sx: { pr: { xs: 0, lg: 8 }, p: 2 }, children: [
|
|
13518
|
-
/* @__PURE__ */ jsx(Typography, { variant: "h6", sx: { display: "flex", alignItems: "center"
|
|
13564
|
+
/* @__PURE__ */ jsx(Typography, { variant: "h6", sx: { display: "flex", alignItems: "center", fontWeight: 600, color: "#1a1c1e" }, children: "Change Password" }),
|
|
13519
13565
|
/* @__PURE__ */ jsx(
|
|
13520
13566
|
Box,
|
|
13521
13567
|
{
|
|
13522
13568
|
sx: {
|
|
13523
|
-
p:
|
|
13524
|
-
border: "1px solid #
|
|
13525
|
-
borderRadius: "
|
|
13526
|
-
mt: 2
|
|
13569
|
+
p: 3,
|
|
13570
|
+
border: "1px solid #e0e0e0",
|
|
13571
|
+
borderRadius: "12px",
|
|
13572
|
+
mt: 2,
|
|
13573
|
+
boxShadow: "0px 2px 4px rgba(0,0,0,0.05)"
|
|
13527
13574
|
},
|
|
13528
13575
|
children: /* @__PURE__ */ jsxs(Grid, { container: true, spacing: 2, children: [
|
|
13529
13576
|
/* @__PURE__ */ jsxs(Grid, { item: true, xs: 12, lg: 6, children: [
|
|
@@ -13586,53 +13633,56 @@ const AppMenus = ({ menuItems, setInitialState, t: t2, appName, router }) => {
|
|
|
13586
13633
|
}
|
|
13587
13634
|
}
|
|
13588
13635
|
};
|
|
13589
|
-
return /* @__PURE__ */ jsx(ClickAwayListener, { touchEvent: "onTouchStart", onClickAway: () => handleCloseUtil(setInitialState), children: /* @__PURE__ */ jsx(Box, { sx: { p: 2 }, children: /* @__PURE__ */ jsx(Grid, { container: true,
|
|
13636
|
+
return /* @__PURE__ */ jsx(ClickAwayListener, { touchEvent: "onTouchStart", onClickAway: () => handleCloseUtil(setInitialState), children: /* @__PURE__ */ jsx(Box, { sx: { p: 2, background: "#fff", zIndex: 1100 }, children: /* @__PURE__ */ jsx(Grid, { container: true, spacing: 2, children: menuItems?.length > 0 && menuItems?.map((item, index) => /* @__PURE__ */ jsx(
|
|
13590
13637
|
Grid,
|
|
13591
13638
|
{
|
|
13592
13639
|
onClick: () => handleRedirection2(appName, item.link, item.type),
|
|
13593
13640
|
item: true,
|
|
13594
13641
|
md: 4,
|
|
13595
13642
|
xs: 6,
|
|
13596
|
-
|
|
13597
|
-
children: /* @__PURE__ */
|
|
13643
|
+
sx: { cursor: "pointer", textDecoration: "none" },
|
|
13644
|
+
children: /* @__PURE__ */ jsxs(
|
|
13598
13645
|
Box,
|
|
13599
13646
|
{
|
|
13600
|
-
className: "
|
|
13647
|
+
className: "sixseconds-header-dashboard-boxes",
|
|
13601
13648
|
sx: {
|
|
13602
|
-
marginTop: "10px",
|
|
13603
13649
|
textAlign: "center",
|
|
13604
|
-
|
|
13605
|
-
|
|
13606
|
-
|
|
13607
|
-
|
|
13608
|
-
|
|
13650
|
+
p: 2,
|
|
13651
|
+
borderRadius: "12px",
|
|
13652
|
+
transition: "all 0.2s",
|
|
13653
|
+
"&:hover": {
|
|
13654
|
+
background: "#f8f9fa",
|
|
13655
|
+
"& .MuiTypography-root": {
|
|
13656
|
+
color: "#0073b1"
|
|
13657
|
+
}
|
|
13609
13658
|
}
|
|
13610
13659
|
},
|
|
13611
13660
|
children: [
|
|
13612
|
-
/* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
|
|
13661
|
+
/* @__PURE__ */ jsx(Box, { sx: { mb: 1.5 }, children: /* @__PURE__ */ jsx(
|
|
13613
13662
|
"img",
|
|
13614
13663
|
{
|
|
13615
|
-
width:
|
|
13616
|
-
height:
|
|
13617
|
-
style: { margin: "
|
|
13664
|
+
width: 38,
|
|
13665
|
+
height: 38,
|
|
13666
|
+
style: { margin: "0 auto", display: "block" },
|
|
13618
13667
|
src: item.icon,
|
|
13619
|
-
alt:
|
|
13668
|
+
alt: item.name
|
|
13620
13669
|
}
|
|
13621
13670
|
) }),
|
|
13622
13671
|
/* @__PURE__ */ jsx(
|
|
13623
13672
|
Typography,
|
|
13624
13673
|
{
|
|
13625
13674
|
sx: {
|
|
13626
|
-
fontSize: "
|
|
13627
|
-
color: "#
|
|
13628
|
-
fontWeight: 500
|
|
13675
|
+
fontSize: "13px",
|
|
13676
|
+
color: "#1a1c1e",
|
|
13677
|
+
fontWeight: 500,
|
|
13678
|
+
lineHeight: 1.2
|
|
13629
13679
|
},
|
|
13630
13680
|
children: t2(item.name)
|
|
13631
13681
|
}
|
|
13632
13682
|
)
|
|
13633
13683
|
]
|
|
13634
13684
|
}
|
|
13635
|
-
)
|
|
13685
|
+
)
|
|
13636
13686
|
},
|
|
13637
13687
|
index
|
|
13638
13688
|
)) }) }) });
|
|
@@ -13640,20 +13690,29 @@ const AppMenus = ({ menuItems, setInitialState, t: t2, appName, router }) => {
|
|
|
13640
13690
|
const DropdownMenu = ({ headerMenuArray, initialState }) => {
|
|
13641
13691
|
const pathname = window.location.pathname;
|
|
13642
13692
|
const isMobile = useMediaQuery("(max-width: 1324px)");
|
|
13643
|
-
return /* @__PURE__ */ jsx("nav", { style: { backgroundColor: "transparent", color: "#000" }, children: !isMobile ? /* @__PURE__ */ jsx("ul", { className: "
|
|
13644
|
-
/* @__PURE__ */ jsx("a", { href: items.value || "", target: items.target, className: `menu-link`, children: items.label }),
|
|
13645
|
-
Boolean(items.children.length) && /* @__PURE__ */ jsx("ul", { className: "
|
|
13646
|
-
] }, index) })) }) : initialState.toggles.dropDownMenu && /* @__PURE__ */ jsx("div", { className: "lg:hidden
|
|
13693
|
+
return /* @__PURE__ */ jsx("nav", { style: { backgroundColor: "transparent", color: "#000" }, children: !isMobile ? /* @__PURE__ */ jsx("ul", { className: "sixseconds-header-main-list-menu sixseconds-header-desktop-menu", children: headerMenuArray.map((items, index) => /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs("li", { className: "sixseconds-header-menu-item", style: { listStyle: "none" }, children: [
|
|
13694
|
+
/* @__PURE__ */ jsx("a", { href: items.value || "", target: items.target, className: `sixseconds-header-menu-link`, children: items.label }),
|
|
13695
|
+
Boolean(items.children.length) && /* @__PURE__ */ jsx("ul", { className: "sixseconds-header-submenu-data", children: items.children?.map((child, index2) => /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx("a", { href: child.value || "", target: child.target, className: "sixseconds-header-submenu-link", children: child.label }) }, index2) })) })
|
|
13696
|
+
] }, index) })) }) : initialState.toggles.dropDownMenu && /* @__PURE__ */ jsx("div", { className: "lg:hidden sixseconds-header-small-device-menu", id: "mobile-menu", children: /* @__PURE__ */ jsx("div", { className: "sixseconds-header-layout-mobile-menu", children: headerMenuArray.map((items, index) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
13647
13697
|
/* @__PURE__ */ jsx(
|
|
13648
13698
|
"a",
|
|
13649
13699
|
{
|
|
13650
13700
|
href: items.value || "",
|
|
13651
|
-
className: `
|
|
13701
|
+
className: `sixseconds-header-bg-main-menu ${pathname === items.value ? "sixseconds-header-active-link" : ""}`,
|
|
13702
|
+
style: { color: pathname === items.value ? "#0073b1" : "#1a1c1e" },
|
|
13652
13703
|
children: items.label
|
|
13653
13704
|
},
|
|
13654
13705
|
index
|
|
13655
13706
|
),
|
|
13656
|
-
Boolean(items.children.length) && /* @__PURE__ */ jsx("ul", { className: "
|
|
13707
|
+
Boolean(items.children.length) && /* @__PURE__ */ jsx("ul", { className: "sixseconds-header-submenu-child", children: items.children?.map((items2, index2) => /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("li", { style: { listStyleType: "none" }, children: /* @__PURE__ */ jsx(
|
|
13708
|
+
"a",
|
|
13709
|
+
{
|
|
13710
|
+
href: items2.value || "",
|
|
13711
|
+
target: items2.target,
|
|
13712
|
+
className: "sixseconds-header-submenu-child-link",
|
|
13713
|
+
children: items2.label
|
|
13714
|
+
}
|
|
13715
|
+
) }, index2) })) })
|
|
13657
13716
|
] })) }) }) });
|
|
13658
13717
|
};
|
|
13659
13718
|
function Language({
|
|
@@ -13675,14 +13734,14 @@ function Language({
|
|
|
13675
13734
|
{
|
|
13676
13735
|
sx: {
|
|
13677
13736
|
p: 2,
|
|
13678
|
-
zIndex: "
|
|
13679
|
-
borderRadius: "
|
|
13680
|
-
border: "1px solid #
|
|
13681
|
-
boxShadow: "0px
|
|
13737
|
+
zIndex: "1100 !important",
|
|
13738
|
+
borderRadius: "12px",
|
|
13739
|
+
border: "1px solid #e0e0e0",
|
|
13740
|
+
boxShadow: "0px 4px 20px rgba(0, 0, 0, 0.1)",
|
|
13682
13741
|
maxWidth: "333px",
|
|
13683
13742
|
minWidth: { md: "333px", lg: "333px", xs: "200px" },
|
|
13684
13743
|
background: "#fff",
|
|
13685
|
-
top: "
|
|
13744
|
+
top: "60px",
|
|
13686
13745
|
right: "0px",
|
|
13687
13746
|
"[dir='rtl'] &": {
|
|
13688
13747
|
left: "0 !important",
|
|
@@ -13703,9 +13762,13 @@ function Language({
|
|
|
13703
13762
|
overflowY: "auto",
|
|
13704
13763
|
maxHeight: "300px",
|
|
13705
13764
|
"& li": {
|
|
13706
|
-
borderBottom: "1px solid #
|
|
13707
|
-
padding: "
|
|
13765
|
+
borderBottom: "1px solid #f1f3f4",
|
|
13766
|
+
padding: "12px 0px",
|
|
13708
13767
|
cursor: "pointer",
|
|
13768
|
+
transition: "background 0.2s ease",
|
|
13769
|
+
"&:hover": {
|
|
13770
|
+
background: "#f8f9fa"
|
|
13771
|
+
},
|
|
13709
13772
|
"&:last-child": {
|
|
13710
13773
|
borderBottom: "0px"
|
|
13711
13774
|
}
|
|
@@ -14137,32 +14200,34 @@ const Notification = ({ setInitialState, notificationAccessApps, initialState, t
|
|
|
14137
14200
|
{
|
|
14138
14201
|
sx: {
|
|
14139
14202
|
p: 2,
|
|
14140
|
-
zIndex: "
|
|
14141
|
-
borderRadius: "
|
|
14142
|
-
border: "1px solid #
|
|
14143
|
-
boxShadow: "0px
|
|
14203
|
+
zIndex: "1100 !important",
|
|
14204
|
+
borderRadius: "12px",
|
|
14205
|
+
border: "1px solid #e0e0e0",
|
|
14206
|
+
boxShadow: "0px 4px 20px rgba(0, 0, 0, 0.1)",
|
|
14144
14207
|
maxWidth: "auto",
|
|
14145
14208
|
minWidth: { md: "450px", lg: "450px", xs: "200px" },
|
|
14146
14209
|
background: "#fff",
|
|
14147
|
-
top: "
|
|
14210
|
+
top: "60px",
|
|
14148
14211
|
right: "-60px",
|
|
14149
14212
|
position: "absolute"
|
|
14150
14213
|
},
|
|
14151
14214
|
children: [
|
|
14152
|
-
/* @__PURE__ */ jsx(Box, { sx: { display: "flex", borderBottom: "1px solid #
|
|
14215
|
+
/* @__PURE__ */ jsx(Box, { sx: { display: "flex", borderBottom: "1px solid #e0e0e0", mb: 2 }, children: notificationAccessApps?.map((tab) => /* @__PURE__ */ jsx(
|
|
14153
14216
|
Button$1,
|
|
14154
14217
|
{
|
|
14155
14218
|
onClick: () => setActiveTab(tab.name),
|
|
14156
14219
|
sx: {
|
|
14157
|
-
padding: "
|
|
14220
|
+
padding: "8px 20px",
|
|
14158
14221
|
fontSize: "14px",
|
|
14222
|
+
fontWeight: activeTab === tab.name ? 600 : 400,
|
|
14159
14223
|
textTransform: "capitalize",
|
|
14160
|
-
background:
|
|
14161
|
-
color: activeTab === tab.name ? "#
|
|
14224
|
+
background: "transparent",
|
|
14225
|
+
color: activeTab === tab.name ? "#0073b1" : "#5f6368",
|
|
14162
14226
|
borderRadius: "0px",
|
|
14163
|
-
|
|
14164
|
-
|
|
14165
|
-
|
|
14227
|
+
borderBottom: activeTab === tab.name ? "2px solid #0073b1" : "none",
|
|
14228
|
+
"&:hover": {
|
|
14229
|
+
background: "rgba(0, 115, 177, 0.04)"
|
|
14230
|
+
}
|
|
14166
14231
|
},
|
|
14167
14232
|
children: /* @__PURE__ */ jsx(Typography, { sx: { textWrap: "nowrap" }, children: t2(tab.name) })
|
|
14168
14233
|
},
|
|
@@ -14242,81 +14307,74 @@ const Notification = ({ setInitialState, notificationAccessApps, initialState, t
|
|
|
14242
14307
|
) });
|
|
14243
14308
|
};
|
|
14244
14309
|
const SubHeaderStyled = styled(AppBar)(() => ({
|
|
14245
|
-
// "@media screen and (max-width:1920px) and (min-width:1600px)": {
|
|
14246
|
-
// "& .submenu": {
|
|
14247
|
-
// width: "84% !important",
|
|
14248
|
-
// },
|
|
14249
|
-
// },
|
|
14250
|
-
// "@media screen and (max-width:1600px) and (min-width:1440px)": {
|
|
14251
|
-
// "& .submenu": {
|
|
14252
|
-
// width: "82% !important",
|
|
14253
|
-
// },
|
|
14254
|
-
// },
|
|
14255
|
-
// "@media screen and (max-width:5000px) and (min-width:2560px)": {
|
|
14256
|
-
// "& .submenu": {
|
|
14257
|
-
// width: "89% !important",
|
|
14258
|
-
// },
|
|
14259
|
-
// },
|
|
14260
14310
|
"& ": {
|
|
14261
14311
|
background: "#fff",
|
|
14262
|
-
color: "#
|
|
14263
|
-
height: "
|
|
14264
|
-
width: "
|
|
14265
|
-
fontFamily: "
|
|
14312
|
+
color: "#1a1c1e",
|
|
14313
|
+
height: "64px",
|
|
14314
|
+
width: "100%",
|
|
14315
|
+
fontFamily: "'IBM Plex Sans', sans-serif",
|
|
14266
14316
|
position: "fixed",
|
|
14267
|
-
zIndex: "
|
|
14268
|
-
// left: "255px",
|
|
14317
|
+
zIndex: "1000",
|
|
14269
14318
|
right: "0px",
|
|
14270
|
-
top: "0px"
|
|
14319
|
+
top: "0px",
|
|
14320
|
+
boxShadow: "none",
|
|
14321
|
+
borderBottom: "1px solid #e0e0e0",
|
|
14322
|
+
display: "flex",
|
|
14323
|
+
justifyContent: "center"
|
|
14271
14324
|
},
|
|
14272
|
-
"& .submenu": {
|
|
14325
|
+
"& .sixseconds-header-submenu": {
|
|
14273
14326
|
display: "flex",
|
|
14274
14327
|
justifyContent: "space-between",
|
|
14275
14328
|
alignItems: "center",
|
|
14276
14329
|
margin: "0px",
|
|
14277
|
-
fontFamily: "
|
|
14330
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
14278
14331
|
},
|
|
14279
|
-
"& .profile": {
|
|
14332
|
+
"& .sixseconds-header-profile": {
|
|
14280
14333
|
position: "absolute",
|
|
14281
14334
|
right: "0px",
|
|
14282
|
-
top: "
|
|
14335
|
+
top: "60px",
|
|
14283
14336
|
background: "#fff",
|
|
14284
|
-
width: "
|
|
14285
|
-
borderRadius: "
|
|
14286
|
-
zIndex: "
|
|
14287
|
-
boxShadow: "0px 4px
|
|
14288
|
-
fontFamily: "
|
|
14289
|
-
border: "1px solid #
|
|
14337
|
+
width: "280px",
|
|
14338
|
+
borderRadius: "12px",
|
|
14339
|
+
zIndex: "1100",
|
|
14340
|
+
boxShadow: "0px 4px 20px rgba(0, 0, 0, 0.1)",
|
|
14341
|
+
fontFamily: "'IBM Plex Sans', sans-serif",
|
|
14342
|
+
border: "1px solid #e0e0e0",
|
|
14343
|
+
overflow: "hidden",
|
|
14290
14344
|
"& ul": {
|
|
14291
14345
|
margin: "0px",
|
|
14292
|
-
padding: "
|
|
14346
|
+
padding: "8px 0",
|
|
14293
14347
|
listStyle: "none",
|
|
14294
14348
|
"& li": {
|
|
14295
|
-
padding: "
|
|
14296
|
-
borderBottom: "1px solid #
|
|
14349
|
+
padding: "12px 16px",
|
|
14350
|
+
borderBottom: "1px solid #f1f3f4",
|
|
14297
14351
|
cursor: "pointer",
|
|
14352
|
+
transition: "background 0.2s ease",
|
|
14353
|
+
"&:hover": {
|
|
14354
|
+
background: "#f8f9fa"
|
|
14355
|
+
},
|
|
14298
14356
|
"&:last-child": { borderBottom: "0px" }
|
|
14299
14357
|
}
|
|
14300
14358
|
}
|
|
14301
14359
|
},
|
|
14302
|
-
"& .notification": {
|
|
14360
|
+
"& .sixseconds-header-notification": {
|
|
14303
14361
|
display: "flex",
|
|
14304
14362
|
alignItems: "center",
|
|
14305
|
-
fontFamily: "
|
|
14363
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
14306
14364
|
},
|
|
14307
|
-
"& .notification h6,p": {
|
|
14365
|
+
"& .sixseconds-header-notification h6,p": {
|
|
14308
14366
|
margin: "10px",
|
|
14309
|
-
fontFamily: "
|
|
14367
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
14310
14368
|
},
|
|
14311
|
-
"& .total": {
|
|
14312
|
-
border: "1px solid #
|
|
14369
|
+
"& .sixseconds-header-total": {
|
|
14370
|
+
border: "1px solid #e0e0e0",
|
|
14313
14371
|
borderRadius: "6px",
|
|
14314
|
-
padding: "4px
|
|
14315
|
-
color: "#
|
|
14372
|
+
padding: "4px 10px",
|
|
14373
|
+
color: "#5f6368",
|
|
14316
14374
|
fontSize: "14px",
|
|
14317
14375
|
fontWeight: "500",
|
|
14318
14376
|
display: "flex",
|
|
14319
|
-
fontFamily: "
|
|
14377
|
+
fontFamily: "'IBM Plex Sans', sans-serif"
|
|
14320
14378
|
}
|
|
14321
14379
|
}));
|
|
14322
14380
|
const UserProfile = ({ t: t2, userData, setInitialState, extraMenuOptions, router }) => {
|
|
@@ -14347,20 +14405,32 @@ const UserProfile = ({ t: t2, userData, setInitialState, extraMenuOptions, route
|
|
|
14347
14405
|
]
|
|
14348
14406
|
}
|
|
14349
14407
|
),
|
|
14350
|
-
state.toggles.userProfile && /* @__PURE__ */ jsx(ClickAwayListener, { onClickAway: () => handleCloseUtil(setState), children: /* @__PURE__ */ jsxs(Box, { className: "sixseconds-profile
|
|
14408
|
+
state.toggles.userProfile && /* @__PURE__ */ jsx(ClickAwayListener, { onClickAway: () => handleCloseUtil(setState), children: /* @__PURE__ */ jsxs(Box, { className: "sixseconds-header-profile", sx: { top: "60px !important", zIndex: "1100 !important" }, children: [
|
|
14351
14409
|
/* @__PURE__ */ jsxs(
|
|
14352
14410
|
Stack$1,
|
|
14353
14411
|
{
|
|
14354
14412
|
direction: "row",
|
|
14355
|
-
spacing:
|
|
14413
|
+
spacing: 2,
|
|
14356
14414
|
alignItems: "center",
|
|
14357
14415
|
sx: {
|
|
14358
|
-
borderBottom: "1px solid #
|
|
14416
|
+
borderBottom: "1px solid #f1f3f4",
|
|
14359
14417
|
p: 2,
|
|
14360
|
-
|
|
14418
|
+
background: "#f8f9fa"
|
|
14361
14419
|
},
|
|
14362
14420
|
children: [
|
|
14363
|
-
/* @__PURE__ */ jsx(
|
|
14421
|
+
/* @__PURE__ */ jsx(
|
|
14422
|
+
Avatar,
|
|
14423
|
+
{
|
|
14424
|
+
src: userData?.userprofile,
|
|
14425
|
+
sx: {
|
|
14426
|
+
width: "48px",
|
|
14427
|
+
height: "48px",
|
|
14428
|
+
border: "2px solid #fff",
|
|
14429
|
+
boxShadow: "0px 2px 4px rgba(0,0,0,0.1)"
|
|
14430
|
+
},
|
|
14431
|
+
children: (userData?.fullName || "").trim().split(/\s+/).filter(Boolean).map((part) => part[0]?.toUpperCase()).join("") || ""
|
|
14432
|
+
}
|
|
14433
|
+
),
|
|
14364
14434
|
/* @__PURE__ */ jsxs(
|
|
14365
14435
|
Box,
|
|
14366
14436
|
{
|
|
@@ -14371,127 +14441,96 @@ const UserProfile = ({ t: t2, userData, setInitialState, extraMenuOptions, route
|
|
|
14371
14441
|
wordBreak: "break-all"
|
|
14372
14442
|
},
|
|
14373
14443
|
children: [
|
|
14374
|
-
/* @__PURE__ */ jsx(Typography, { variant: "h4", sx: { fontSize: "
|
|
14375
|
-
/* @__PURE__ */
|
|
14376
|
-
|
|
14377
|
-
|
|
14378
|
-
|
|
14379
|
-
|
|
14380
|
-
|
|
14381
|
-
|
|
14382
|
-
|
|
14383
|
-
|
|
14384
|
-
] })
|
|
14444
|
+
/* @__PURE__ */ jsx(Typography, { variant: "h4", sx: { fontSize: "15px", fontWeight: "600", color: "#1a1c1e", m: 0 }, children: userData?.fullName }),
|
|
14445
|
+
/* @__PURE__ */ jsx(
|
|
14446
|
+
Typography,
|
|
14447
|
+
{
|
|
14448
|
+
component: "span",
|
|
14449
|
+
sx: { m: 0, fontSize: "13px", color: "#5f6368", display: "block", mt: 0.5 },
|
|
14450
|
+
children: truncateValUtil(userData?.email || "")
|
|
14451
|
+
}
|
|
14452
|
+
),
|
|
14453
|
+
Boolean(userData?.role) && /* @__PURE__ */ jsx(Typography, { sx: { fontSize: "11px", color: "#0073b1", fontWeight: 700, textTransform: "uppercase" }, children: userData?.role })
|
|
14385
14454
|
]
|
|
14386
14455
|
}
|
|
14387
14456
|
)
|
|
14388
14457
|
]
|
|
14389
14458
|
}
|
|
14390
14459
|
),
|
|
14391
|
-
/* @__PURE__ */ jsxs("ul", { children: [
|
|
14460
|
+
/* @__PURE__ */ jsxs(Box, { component: "ul", sx: { m: 0, p: "8px 0 !important", listStyle: "none" }, children: [
|
|
14392
14461
|
extraMenuOptions.components,
|
|
14393
|
-
extraMenuOptions.isViewProfile && /* @__PURE__ */ jsx(
|
|
14394
|
-
|
|
14462
|
+
extraMenuOptions.isViewProfile && /* @__PURE__ */ jsx(
|
|
14463
|
+
Box,
|
|
14395
14464
|
{
|
|
14396
|
-
|
|
14397
|
-
gap: 1,
|
|
14398
|
-
alignItems: "center",
|
|
14465
|
+
component: "li",
|
|
14399
14466
|
onClick: () => setInitialState((p) => ({ ...p, toggles: { ...p.toggles, viewProfile: true } })),
|
|
14400
|
-
sx: {
|
|
14401
|
-
|
|
14402
|
-
|
|
14403
|
-
|
|
14404
|
-
|
|
14405
|
-
|
|
14406
|
-
|
|
14407
|
-
|
|
14408
|
-
|
|
14409
|
-
|
|
14410
|
-
m: 0
|
|
14411
|
-
},
|
|
14412
|
-
children: t2("View Profile")
|
|
14413
|
-
}
|
|
14414
|
-
) })
|
|
14415
|
-
]
|
|
14467
|
+
sx: {
|
|
14468
|
+
px: 2,
|
|
14469
|
+
py: 1.5,
|
|
14470
|
+
cursor: "pointer",
|
|
14471
|
+
"&:hover": { background: "#f8f9fa", color: "#0073b1" }
|
|
14472
|
+
},
|
|
14473
|
+
children: /* @__PURE__ */ jsxs(Stack$1, { direction: "row", gap: 1.5, alignItems: "center", children: [
|
|
14474
|
+
/* @__PURE__ */ jsx(SVG.CheckedPerson, { style: { width: "18px", height: "18px", color: "inherit" } }),
|
|
14475
|
+
/* @__PURE__ */ jsx(Typography, { sx: { fontSize: "14px", fontWeight: "400", m: 0 }, children: t2("View Profile") })
|
|
14476
|
+
] })
|
|
14416
14477
|
}
|
|
14417
|
-
)
|
|
14418
|
-
extraMenuOptions.isEditProfile && /* @__PURE__ */ jsx(
|
|
14419
|
-
|
|
14478
|
+
),
|
|
14479
|
+
extraMenuOptions.isEditProfile && /* @__PURE__ */ jsx(
|
|
14480
|
+
Box,
|
|
14420
14481
|
{
|
|
14421
|
-
|
|
14422
|
-
gap: 1,
|
|
14423
|
-
alignItems: "center",
|
|
14482
|
+
component: "li",
|
|
14424
14483
|
onClick: () => handleRedirection2(userData?.appName, SSO_ROUTES(userData?.appName).editProfile),
|
|
14425
|
-
sx: {
|
|
14426
|
-
|
|
14427
|
-
|
|
14428
|
-
|
|
14429
|
-
|
|
14430
|
-
|
|
14431
|
-
|
|
14432
|
-
|
|
14433
|
-
|
|
14434
|
-
|
|
14435
|
-
m: 0
|
|
14436
|
-
},
|
|
14437
|
-
children: t2("Edit Profile")
|
|
14438
|
-
}
|
|
14439
|
-
) })
|
|
14440
|
-
]
|
|
14484
|
+
sx: {
|
|
14485
|
+
px: 2,
|
|
14486
|
+
py: 1.5,
|
|
14487
|
+
cursor: "pointer",
|
|
14488
|
+
"&:hover": { background: "#f8f9fa", color: "#0073b1" }
|
|
14489
|
+
},
|
|
14490
|
+
children: /* @__PURE__ */ jsxs(Stack$1, { direction: "row", gap: 1.5, alignItems: "center", children: [
|
|
14491
|
+
/* @__PURE__ */ jsx(SVG.UserEdit, { style: { width: "18px", height: "18px", color: "inherit" } }),
|
|
14492
|
+
/* @__PURE__ */ jsx(Typography, { sx: { fontSize: "14px", fontWeight: "400", m: 0 }, children: t2("Edit Profile") })
|
|
14493
|
+
] })
|
|
14441
14494
|
}
|
|
14442
|
-
)
|
|
14443
|
-
extraMenuOptions.isChangePassword && /* @__PURE__ */ jsx(
|
|
14444
|
-
|
|
14495
|
+
),
|
|
14496
|
+
extraMenuOptions.isChangePassword && /* @__PURE__ */ jsx(
|
|
14497
|
+
Box,
|
|
14445
14498
|
{
|
|
14446
|
-
|
|
14447
|
-
gap: 1,
|
|
14448
|
-
alignItems: "center",
|
|
14499
|
+
component: "li",
|
|
14449
14500
|
onClick: () => setInitialState((p) => ({ ...p, toggles: { ...p.toggles, changePassword: true } })),
|
|
14450
|
-
sx: {
|
|
14451
|
-
|
|
14452
|
-
|
|
14453
|
-
|
|
14454
|
-
|
|
14455
|
-
|
|
14456
|
-
|
|
14457
|
-
|
|
14458
|
-
|
|
14459
|
-
|
|
14460
|
-
fontWeight: "400"
|
|
14461
|
-
},
|
|
14462
|
-
children: t2("Change Password")
|
|
14463
|
-
}
|
|
14464
|
-
) })
|
|
14465
|
-
]
|
|
14501
|
+
sx: {
|
|
14502
|
+
px: 2,
|
|
14503
|
+
py: 1.5,
|
|
14504
|
+
cursor: "pointer",
|
|
14505
|
+
"&:hover": { background: "#f8f9fa", color: "#0073b1" }
|
|
14506
|
+
},
|
|
14507
|
+
children: /* @__PURE__ */ jsxs(Stack$1, { direction: "row", gap: 1.5, alignItems: "center", children: [
|
|
14508
|
+
/* @__PURE__ */ jsx(SVG.CheckedPerson, { style: { width: "18px", height: "18px", color: "inherit" } }),
|
|
14509
|
+
/* @__PURE__ */ jsx(Typography, { sx: { fontSize: "14px", fontWeight: "400", m: 0 }, children: t2("Change Password") })
|
|
14510
|
+
] })
|
|
14466
14511
|
}
|
|
14467
|
-
)
|
|
14468
|
-
/* @__PURE__ */ jsx(
|
|
14469
|
-
|
|
14512
|
+
),
|
|
14513
|
+
/* @__PURE__ */ jsx(
|
|
14514
|
+
Box,
|
|
14470
14515
|
{
|
|
14471
|
-
|
|
14472
|
-
gap: 1,
|
|
14473
|
-
alignItems: "center",
|
|
14516
|
+
component: "li",
|
|
14474
14517
|
onClick: () => setInitialState?.((p) => ({
|
|
14475
14518
|
...p,
|
|
14476
14519
|
toggles: { ...p.toggles, logout: true }
|
|
14477
14520
|
})),
|
|
14478
|
-
|
|
14479
|
-
|
|
14480
|
-
|
|
14481
|
-
|
|
14482
|
-
|
|
14483
|
-
|
|
14484
|
-
|
|
14485
|
-
|
|
14486
|
-
|
|
14487
|
-
|
|
14488
|
-
|
|
14489
|
-
children: t2("Logout")
|
|
14490
|
-
}
|
|
14491
|
-
) })
|
|
14492
|
-
]
|
|
14521
|
+
sx: {
|
|
14522
|
+
px: 2,
|
|
14523
|
+
py: 1.5,
|
|
14524
|
+
cursor: "pointer",
|
|
14525
|
+
"&:hover": { background: "#f8f9fa", color: "#d32f2f" },
|
|
14526
|
+
borderTop: "1px solid #f1f3f4"
|
|
14527
|
+
},
|
|
14528
|
+
children: /* @__PURE__ */ jsxs(Stack$1, { direction: "row", gap: 1.5, alignItems: "center", children: [
|
|
14529
|
+
/* @__PURE__ */ jsx(SVG.Logout, { style: { width: "18px", height: "18px", color: "inherit" } }),
|
|
14530
|
+
/* @__PURE__ */ jsx(Typography, { sx: { fontSize: "14px", fontWeight: "400", m: 0 }, children: t2("Logout") })
|
|
14531
|
+
] })
|
|
14493
14532
|
}
|
|
14494
|
-
)
|
|
14533
|
+
)
|
|
14495
14534
|
] })
|
|
14496
14535
|
] }) })
|
|
14497
14536
|
] });
|
|
@@ -14563,7 +14602,7 @@ const Header = ({
|
|
|
14563
14602
|
}
|
|
14564
14603
|
}, [typeof window !== "undefined"]);
|
|
14565
14604
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
14566
|
-
/* @__PURE__ */ jsx(SubHeaderStyled, { sx, children: /* @__PURE__ */ jsxs(Container, { maxWidth: false, sx: { display: "flex", justifyContent: "space-between", alignItems: "center" }, children: [
|
|
14605
|
+
/* @__PURE__ */ jsx(SubHeaderStyled, { sx, className: "sixseconds-header-root", children: /* @__PURE__ */ jsxs(Container, { maxWidth: false, sx: { display: "flex", justifyContent: "space-between", alignItems: "center" }, children: [
|
|
14567
14606
|
/* @__PURE__ */ jsxs(Box, { sx: { display: "flex !important", alignItems: "center !important" }, children: [
|
|
14568
14607
|
handleSideToggle && /* @__PURE__ */ jsx(Box, { sx: { display: { md: "none", lg: "none", xs: "block" } }, children: /* @__PURE__ */ jsx(IconButton, { onClick: handleSideToggle, children: /* @__PURE__ */ jsx(MenuIcon, {}) }) }),
|
|
14569
14608
|
isMainLogo && /* @__PURE__ */ jsx(Logo, {}),
|
|
@@ -14591,7 +14630,7 @@ const Header = ({
|
|
|
14591
14630
|
margin: { md: "10px", lg: "10px", xs: "10px 0" },
|
|
14592
14631
|
position: "relative"
|
|
14593
14632
|
},
|
|
14594
|
-
children: /* @__PURE__ */ jsxs(Box, { className: "notification", sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
|
|
14633
|
+
children: /* @__PURE__ */ jsxs(Box, { className: "sixseconds-header-notification", sx: { display: "flex", alignItems: "center", gap: 1 }, children: [
|
|
14595
14634
|
endCustomComponents,
|
|
14596
14635
|
isAccessAppMenu && Boolean(userData?.appAccess?.length) && /* @__PURE__ */ jsxs(Box, { children: [
|
|
14597
14636
|
/* @__PURE__ */ jsx(
|
|
@@ -14617,7 +14656,7 @@ const Header = ({
|
|
|
14617
14656
|
state.toggles.appMenus && Boolean(userData?.appAccess?.length) && /* @__PURE__ */ jsx(
|
|
14618
14657
|
Box,
|
|
14619
14658
|
{
|
|
14620
|
-
className: "sixseconds-
|
|
14659
|
+
className: "sixseconds-header-menu sixseconds-header-profile sixseconds-header-menu",
|
|
14621
14660
|
sx: {
|
|
14622
14661
|
width: "400px !important",
|
|
14623
14662
|
p: 1,
|
|
@@ -14652,7 +14691,15 @@ const Header = ({
|
|
|
14652
14691
|
},
|
|
14653
14692
|
"data-toggle-name": "notification",
|
|
14654
14693
|
onClick: (e) => handleOpenUtil(e, setState),
|
|
14655
|
-
children: /* @__PURE__ */ jsx(
|
|
14694
|
+
children: /* @__PURE__ */ jsx(
|
|
14695
|
+
Badge,
|
|
14696
|
+
{
|
|
14697
|
+
badgeContent: userData?.notificationCount,
|
|
14698
|
+
color: "error",
|
|
14699
|
+
className: "sixseconds-header-notification-icon-error",
|
|
14700
|
+
children: /* @__PURE__ */ jsx(SVG.Bell, {})
|
|
14701
|
+
}
|
|
14702
|
+
)
|
|
14656
14703
|
}
|
|
14657
14704
|
),
|
|
14658
14705
|
state.toggles.notification && /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
|
|
@@ -14737,7 +14784,7 @@ const Header = ({
|
|
|
14737
14784
|
IconButton,
|
|
14738
14785
|
{
|
|
14739
14786
|
style: { paddingRight: 0 },
|
|
14740
|
-
className: "hamburger-icon-btn",
|
|
14787
|
+
className: "sixseconds-header-hamburger-icon-btn",
|
|
14741
14788
|
onClick: () => setState((p) => ({ ...p, toggles: { ...p.toggles, dropDownMenu: !p.toggles.dropDownMenu } })),
|
|
14742
14789
|
children: /* @__PURE__ */ jsx(MenuIcon, { style: { width: "1em", height: "1em" } })
|
|
14743
14790
|
}
|
|
@@ -14862,7 +14909,7 @@ function LabeledInput({
|
|
|
14862
14909
|
)
|
|
14863
14910
|
] });
|
|
14864
14911
|
}
|
|
14865
|
-
const ButtonStyled = styled("div")(() => ({
|
|
14912
|
+
const ButtonStyled = styled$1("div")(() => ({
|
|
14866
14913
|
"& .invite": {
|
|
14867
14914
|
background: "#007FC0",
|
|
14868
14915
|
color: "#fff",
|