sixseconds-modules 1.6.133 → 1.6.134
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.cjs.js +96 -67
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +96 -67
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -6732,7 +6732,7 @@ var z = /* @__PURE__ */ Object.freeze({
|
|
|
6732
6732
|
quotelessJson,
|
|
6733
6733
|
ZodError
|
|
6734
6734
|
});
|
|
6735
|
-
const __vite_import_meta_env__ = { "BASE_URL": "/", "DEV": false, "MODE": "
|
|
6735
|
+
const __vite_import_meta_env__ = { "BASE_URL": "/", "DEV": false, "MODE": "development", "PROD": true, "SSR": false, "VITE_MODULES_CARDS_ADMIN_FRONTEND_BASE_URL": "https://dev-sso.6seconds.org", "VITE_MODULES_CARDS_HOME_FRONTEND_BASE_URL": "https://dev-sso.6seconds.org", "VITE_MODULES_CERT_FRONTEND_BASE_URL": "https://dev-sso.6seconds.org", "VITE_MODULES_ENV": "dev", "VITE_MODULES_EVENTS_FRONTEND_BASE_URL": "https://dev-sso.6seconds.org", "VITE_MODULES_SSO_BACKEND_BASE_URL": "https://dev-ssoapi.6seconds.org", "VITE_MODULES_SSO_FRONTEND_BASE_URL": "https://dev-sso.6seconds.org", "VITE_MODULES_TOOLS_FRONTEND_BASE_URL": "https://dev-sso.6seconds.org" };
|
|
6736
6736
|
const env = createEnv({
|
|
6737
6737
|
client: {
|
|
6738
6738
|
VITE_MODULES_ENV: z.string()
|
|
@@ -14086,6 +14086,11 @@ function Language({
|
|
|
14086
14086
|
background: "#fff",
|
|
14087
14087
|
top: "66px",
|
|
14088
14088
|
right: "0px",
|
|
14089
|
+
"[dir='rtl'] &": {
|
|
14090
|
+
left: "0 !important",
|
|
14091
|
+
right: "unset",
|
|
14092
|
+
minWidth: "250px"
|
|
14093
|
+
},
|
|
14089
14094
|
position: "absolute"
|
|
14090
14095
|
},
|
|
14091
14096
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -15016,7 +15021,12 @@ const Header = ({
|
|
|
15016
15021
|
material.Box,
|
|
15017
15022
|
{
|
|
15018
15023
|
className: "profile headerMenu",
|
|
15019
|
-
sx: {
|
|
15024
|
+
sx: {
|
|
15025
|
+
width: "400px !important",
|
|
15026
|
+
p: 1,
|
|
15027
|
+
zIndex: "99999999 !important",
|
|
15028
|
+
"[dir='rtl'] &": { left: "0 !important", right: "unset" }
|
|
15029
|
+
},
|
|
15020
15030
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
15021
15031
|
AppMenus,
|
|
15022
15032
|
{
|
|
@@ -15030,71 +15040,90 @@ const Header = ({
|
|
|
15030
15040
|
}
|
|
15031
15041
|
)
|
|
15032
15042
|
] }),
|
|
15033
|
-
isNotification && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
15034
|
-
|
|
15035
|
-
|
|
15036
|
-
{
|
|
15037
|
-
|
|
15038
|
-
|
|
15039
|
-
|
|
15040
|
-
|
|
15041
|
-
|
|
15042
|
-
|
|
15043
|
-
|
|
15044
|
-
|
|
15045
|
-
|
|
15046
|
-
|
|
15047
|
-
|
|
15048
|
-
|
|
15049
|
-
|
|
15050
|
-
|
|
15051
|
-
|
|
15052
|
-
|
|
15053
|
-
|
|
15054
|
-
|
|
15055
|
-
|
|
15056
|
-
|
|
15057
|
-
|
|
15058
|
-
|
|
15059
|
-
|
|
15060
|
-
|
|
15061
|
-
|
|
15062
|
-
|
|
15063
|
-
|
|
15064
|
-
|
|
15065
|
-
|
|
15066
|
-
|
|
15067
|
-
|
|
15068
|
-
|
|
15069
|
-
|
|
15070
|
-
|
|
15071
|
-
|
|
15072
|
-
|
|
15073
|
-
|
|
15074
|
-
|
|
15075
|
-
|
|
15076
|
-
|
|
15077
|
-
"
|
|
15078
|
-
|
|
15079
|
-
|
|
15080
|
-
|
|
15081
|
-
|
|
15082
|
-
|
|
15083
|
-
|
|
15084
|
-
|
|
15085
|
-
|
|
15086
|
-
|
|
15087
|
-
|
|
15088
|
-
|
|
15089
|
-
|
|
15090
|
-
|
|
15091
|
-
|
|
15092
|
-
|
|
15093
|
-
|
|
15094
|
-
|
|
15095
|
-
|
|
15096
|
-
|
|
15097
|
-
|
|
15043
|
+
isNotification && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
15044
|
+
material.Box,
|
|
15045
|
+
{
|
|
15046
|
+
sx: {
|
|
15047
|
+
position: "relative"
|
|
15048
|
+
},
|
|
15049
|
+
children: [
|
|
15050
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15051
|
+
material.Typography,
|
|
15052
|
+
{
|
|
15053
|
+
sx: {
|
|
15054
|
+
cursor: "pointer"
|
|
15055
|
+
},
|
|
15056
|
+
"data-toggle-name": "notification",
|
|
15057
|
+
onClick: (e) => handleOpenUtil(e, setState),
|
|
15058
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(material.Badge, { badgeContent: userData?.notificationCount, color: "error", className: "notification_icon_error", children: /* @__PURE__ */ jsxRuntime.jsx(SVG.Bell, {}) })
|
|
15059
|
+
}
|
|
15060
|
+
),
|
|
15061
|
+
state.toggles.notification && /* @__PURE__ */ jsxRuntime.jsx(material.Box, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
15062
|
+
Notification,
|
|
15063
|
+
{
|
|
15064
|
+
t,
|
|
15065
|
+
initialState: state,
|
|
15066
|
+
notificationAccessApps,
|
|
15067
|
+
setInitialState: setState
|
|
15068
|
+
}
|
|
15069
|
+
) })
|
|
15070
|
+
]
|
|
15071
|
+
}
|
|
15072
|
+
),
|
|
15073
|
+
Boolean(interFaceLangList?.length) && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
15074
|
+
material.Box,
|
|
15075
|
+
{
|
|
15076
|
+
sx: {
|
|
15077
|
+
position: "relative"
|
|
15078
|
+
},
|
|
15079
|
+
children: [
|
|
15080
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
15081
|
+
material.Typography,
|
|
15082
|
+
{
|
|
15083
|
+
"data-toggle-name": "lang",
|
|
15084
|
+
onClick: (e) => handleOpenUtil(e, setState),
|
|
15085
|
+
sx: {
|
|
15086
|
+
display: "inline-flex",
|
|
15087
|
+
gap: "5px",
|
|
15088
|
+
alignItems: "center",
|
|
15089
|
+
color: "#777777",
|
|
15090
|
+
cursor: "pointer"
|
|
15091
|
+
},
|
|
15092
|
+
children: [
|
|
15093
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15094
|
+
"img",
|
|
15095
|
+
{
|
|
15096
|
+
style: {
|
|
15097
|
+
width: "40px !important",
|
|
15098
|
+
height: "30px !important"
|
|
15099
|
+
},
|
|
15100
|
+
width: 40,
|
|
15101
|
+
height: 30,
|
|
15102
|
+
alt: "lang",
|
|
15103
|
+
"data-cookiecategory": "essential",
|
|
15104
|
+
"data-src": selectedInterFaceLang?.flag || IMAGES.DefaultLang,
|
|
15105
|
+
src: selectedInterFaceLang?.flag || IMAGES.DefaultLang
|
|
15106
|
+
}
|
|
15107
|
+
),
|
|
15108
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Box, { sx: { margin: "2px 0px 0px 2px" }, children: /* @__PURE__ */ jsxRuntime.jsx(SVG.Dawn, {}) })
|
|
15109
|
+
]
|
|
15110
|
+
}
|
|
15111
|
+
),
|
|
15112
|
+
state.toggles.lang && /* @__PURE__ */ jsxRuntime.jsx(
|
|
15113
|
+
Language,
|
|
15114
|
+
{
|
|
15115
|
+
t,
|
|
15116
|
+
setInitialState: setState,
|
|
15117
|
+
interFaceLangList,
|
|
15118
|
+
userData,
|
|
15119
|
+
updateInterfaceLang,
|
|
15120
|
+
setState,
|
|
15121
|
+
selectedInterFaceLang
|
|
15122
|
+
}
|
|
15123
|
+
)
|
|
15124
|
+
]
|
|
15125
|
+
}
|
|
15126
|
+
),
|
|
15098
15127
|
Boolean(userData?.fullName) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
15099
15128
|
UserProfile,
|
|
15100
15129
|
{
|