sixseconds-modules 1.6.181 → 1.6.183

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 CHANGED
@@ -13,6 +13,7 @@ const CloseIcon = require("@mui/icons-material/Close");
13
13
  const toast = require("react-hot-toast");
14
14
  const styles = require("@mui/material/styles");
15
15
  const VisibilityOffIcon = require("@mui/icons-material/VisibilityOff");
16
+ const LanguageIcon = require("@mui/icons-material/Language");
16
17
  const CheckIcon = require("@mui/icons-material/Check");
17
18
  const ExitToAppTwoToneIcon = require("@mui/icons-material/ExitToAppTwoTone");
18
19
  const ContentCopyIcon = require("@mui/icons-material/ContentCopy");
@@ -6237,7 +6238,7 @@ ZodEnum.create;
6237
6238
  ZodPromise.create;
6238
6239
  ZodOptional.create;
6239
6240
  ZodNullable.create;
6240
- 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" };
6241
+ 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" };
6241
6242
  const env = createEnv({
6242
6243
  client: {
6243
6244
  VITE_MODULES_ENV: stringType()
@@ -14835,29 +14836,31 @@ const HeaderInner = ({
14835
14836
  "data-toggle-name": "lang",
14836
14837
  onClick: (e) => handleOpenUtil(e, setState),
14837
14838
  sx: {
14838
- display: "inline-flex",
14839
+ display: "flex",
14840
+ justifyContent: "center",
14839
14841
  gap: "5px",
14840
14842
  alignItems: "center",
14841
14843
  color: "#777777",
14842
14844
  cursor: "pointer"
14843
14845
  },
14844
14846
  children: [
14845
- /* @__PURE__ */ jsxRuntime.jsx(
14847
+ selectedInterFaceLang?.flag ? /* @__PURE__ */ jsxRuntime.jsx(
14846
14848
  "img",
14847
14849
  {
14848
14850
  style: {
14849
- width: "35px !important",
14850
- height: "35px !important"
14851
+ width: "40px !important",
14852
+ height: "auto",
14853
+ aspectRatio: "3/2"
14851
14854
  },
14852
14855
  width: 35,
14853
- height: 35,
14856
+ height: 40,
14854
14857
  alt: "lang",
14855
14858
  "data-cookiecategory": "essential",
14856
- "data-src": selectedInterFaceLang?.flag || IMAGES.DefaultLang,
14859
+ "data-src": selectedInterFaceLang?.flag,
14857
14860
  src: selectedInterFaceLang?.flag || IMAGES.DefaultLang
14858
14861
  }
14859
- ),
14860
- /* @__PURE__ */ jsxRuntime.jsx(material.Box, { sx: { margin: "2px 0px 0px 2px" }, children: /* @__PURE__ */ jsxRuntime.jsx(SVG.Dawn, {}) })
14862
+ ) : /* @__PURE__ */ jsxRuntime.jsx(LanguageIcon, { sx: { fontSize: "38px" } }),
14863
+ /* @__PURE__ */ jsxRuntime.jsx(material.Box, { children: /* @__PURE__ */ jsxRuntime.jsx(SVG.Dawn, {}) })
14861
14864
  ]
14862
14865
  }
14863
14866
  ),
@@ -15268,7 +15271,6 @@ const App = () => {
15268
15271
  {
15269
15272
  isAccessAppMenu: true,
15270
15273
  isMenu: true,
15271
- isLang: false,
15272
15274
  handleSideToggle: () => {
15273
15275
  },
15274
15276
  updateInterfaceLang: () => {
@@ -15345,6 +15347,26 @@ const App = () => {
15345
15347
  linkedInUrl: "",
15346
15348
  notificationCount: 10
15347
15349
  },
15350
+ interFaceLangList: [
15351
+ {
15352
+ id: 1,
15353
+ label: "Chinese",
15354
+ value: "zh",
15355
+ flag: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/flags/1736568764.png"
15356
+ },
15357
+ {
15358
+ id: 1,
15359
+ label: "English (US)",
15360
+ value: "en",
15361
+ flag: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/flags/1735277288.png"
15362
+ },
15363
+ {
15364
+ id: 1,
15365
+ label: "Spanish",
15366
+ value: 3,
15367
+ flag: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/flags/1735277337.png"
15368
+ }
15369
+ ],
15348
15370
  isMainLogo: true,
15349
15371
  totallyEndCustomComponent: "asdfsdf",
15350
15372
  extraMenuOptions: {