sixseconds-modules 1.6.179 → 1.6.181

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.es.js CHANGED
@@ -6219,7 +6219,7 @@ ZodEnum.create;
6219
6219
  ZodPromise.create;
6220
6220
  ZodOptional.create;
6221
6221
  ZodNullable.create;
6222
- 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" };
6222
+ const __vite_import_meta_env__ = { "BASE_URL": "/", "DEV": false, "MODE": "qa", "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" };
6223
6223
  const env = createEnv({
6224
6224
  client: {
6225
6225
  VITE_MODULES_ENV: stringType()
@@ -13740,8 +13740,8 @@ const AppMenus = ({ menuItems, setInitialState, t: t2, appName, router }) => {
13740
13740
  /* @__PURE__ */ jsx(Box, { sx: { mb: 1, display: "flex", alignItems: "center", justifyContent: "center" }, children: /* @__PURE__ */ jsx(
13741
13741
  "img",
13742
13742
  {
13743
- width: 38,
13744
- height: 38,
13743
+ width: 40,
13744
+ height: 40,
13745
13745
  style: { margin: "0 auto", display: "block", objectFit: "contain" },
13746
13746
  src: item.icon,
13747
13747
  alt: item.name
@@ -13856,7 +13856,7 @@ function Language({
13856
13856
  }
13857
13857
  }
13858
13858
  },
13859
- children: interFaceLangList?.map((lang2, i) => {
13859
+ children: interFaceLangList?.length > 0 ? interFaceLangList?.map((lang2, i) => {
13860
13860
  return /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
13861
13861
  Stack$1,
13862
13862
  {
@@ -13876,11 +13876,11 @@ function Language({
13876
13876
  src: lang2?.flag || IMAGES.DefaultLang,
13877
13877
  alt: lang2?.label,
13878
13878
  style: {
13879
- width: "40px !important",
13880
- height: "25px !important"
13879
+ width: "35px !important",
13880
+ height: "35px !important"
13881
13881
  },
13882
- width: 40,
13883
- height: 25
13882
+ width: 35,
13883
+ height: 35
13884
13884
  }
13885
13885
  ),
13886
13886
  /* @__PURE__ */ jsx(Typography, { variant: "h4", sx: { fontSize: "16px", fontWeight: "500", m: 0 }, children: t2(lang2?.label) }),
@@ -13888,7 +13888,7 @@ function Language({
13888
13888
  ] }) })
13889
13889
  }
13890
13890
  ) }, i);
13891
- })
13891
+ }) : /* @__PURE__ */ jsx(Typography, { variant: "h4", sx: { fontSize: "16px", fontWeight: "500", m: 0 }, children: t2(ALERT_MESSAGES.dataNoFount) })
13892
13892
  }
13893
13893
  )
13894
13894
  }
@@ -14636,6 +14636,7 @@ const HeaderInner = ({
14636
14636
  notificationAccessApps,
14637
14637
  sx,
14638
14638
  isMainLogo = true,
14639
+ isLang = true,
14639
14640
  handleSideToggle,
14640
14641
  t
14641
14642
  }) => {
@@ -14802,7 +14803,7 @@ const HeaderInner = ({
14802
14803
  ]
14803
14804
  }
14804
14805
  ),
14805
- Boolean(interFaceLangList?.length) && /* @__PURE__ */ jsxs(
14806
+ isLang && /* @__PURE__ */ jsxs(
14806
14807
  Box,
14807
14808
  {
14808
14809
  sx: {
@@ -14827,11 +14828,11 @@ const HeaderInner = ({
14827
14828
  "img",
14828
14829
  {
14829
14830
  style: {
14830
- width: "40px !important",
14831
- height: "30px !important"
14831
+ width: "35px !important",
14832
+ height: "35px !important"
14832
14833
  },
14833
- width: 40,
14834
- height: 30,
14834
+ width: 35,
14835
+ height: 35,
14835
14836
  alt: "lang",
14836
14837
  "data-cookiecategory": "essential",
14837
14838
  "data-src": selectedInterFaceLang?.flag || IMAGES.DefaultLang,
@@ -15249,6 +15250,7 @@ const App = () => {
15249
15250
  {
15250
15251
  isAccessAppMenu: true,
15251
15252
  isMenu: true,
15253
+ isLang: false,
15252
15254
  handleSideToggle: () => {
15253
15255
  },
15254
15256
  updateInterfaceLang: () => {
@@ -15325,32 +15327,6 @@ const App = () => {
15325
15327
  linkedInUrl: "",
15326
15328
  notificationCount: 10
15327
15329
  },
15328
- interFaceLangList: [
15329
- {
15330
- id: 1,
15331
- label: "Chinese",
15332
- value: "zh",
15333
- flag: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/flags/1736568764.png"
15334
- },
15335
- {
15336
- id: 1,
15337
- label: "English (US)",
15338
- value: "en",
15339
- flag: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/flags/1735277288.png"
15340
- },
15341
- {
15342
- id: 1,
15343
- label: "Spanish",
15344
- value: 3,
15345
- flag: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/flags/1735277337.png"
15346
- }
15347
- ],
15348
- selectedInterFaceLang: {
15349
- id: 1,
15350
- label: "Chinese",
15351
- value: "zh",
15352
- flag: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/flags/1736568764.png"
15353
- },
15354
15330
  isMainLogo: true,
15355
15331
  totallyEndCustomComponent: "asdfsdf",
15356
15332
  extraMenuOptions: {