sixseconds-modules 1.6.133 → 1.6.135

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
@@ -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": "production", "PROD": true, "SSR": false, "VITE_MODULES_CARDS_ADMIN_FRONTEND_BASE_URL": "https://admin-cards.6seconds.org", "VITE_MODULES_CARDS_HOME_FRONTEND_BASE_URL": "https://cards.6seconds.org", "VITE_MODULES_CERT_FRONTEND_BASE_URL": "https://cert.6seconds.org", "VITE_MODULES_ENV": "prod", "VITE_MODULES_EVENTS_FRONTEND_BASE_URL": "https://events.6seconds.org", "VITE_MODULES_SSO_BACKEND_BASE_URL": "https://ssoapi.6seconds.org", "VITE_MODULES_SSO_FRONTEND_BASE_URL": "https://sso.6seconds.org", "VITE_MODULES_TOOLS_FRONTEND_BASE_URL": "https://newtools.6seconds.org" };
6735
+ 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" };
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: { width: "400px !important", p: 1, zIndex: "99999999 !important" },
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(material.Box, { sx: { position: "relative" }, children: [
15034
- /* @__PURE__ */ jsxRuntime.jsx(
15035
- material.Typography,
15036
- {
15037
- sx: {
15038
- cursor: "pointer"
15039
- },
15040
- "data-toggle-name": "notification",
15041
- onClick: (e) => handleOpenUtil(e, setState),
15042
- children: /* @__PURE__ */ jsxRuntime.jsx(material.Badge, { badgeContent: userData?.notificationCount, color: "error", className: "notification_icon_error", children: /* @__PURE__ */ jsxRuntime.jsx(SVG.Bell, {}) })
15043
- }
15044
- ),
15045
- state.toggles.notification && /* @__PURE__ */ jsxRuntime.jsx(material.Box, { children: /* @__PURE__ */ jsxRuntime.jsx(
15046
- Notification,
15047
- {
15048
- t,
15049
- initialState: state,
15050
- notificationAccessApps,
15051
- setInitialState: setState
15052
- }
15053
- ) })
15054
- ] }),
15055
- Boolean(interFaceLangList?.length) && /* @__PURE__ */ jsxRuntime.jsxs(material.Box, { sx: { position: "relative" }, children: [
15056
- /* @__PURE__ */ jsxRuntime.jsxs(
15057
- material.Typography,
15058
- {
15059
- "data-toggle-name": "lang",
15060
- onClick: (e) => handleOpenUtil(e, setState),
15061
- sx: {
15062
- display: "inline-flex",
15063
- gap: "5px",
15064
- alignItems: "center",
15065
- color: "#777777",
15066
- cursor: "pointer"
15067
- },
15068
- children: [
15069
- /* @__PURE__ */ jsxRuntime.jsx(
15070
- "img",
15071
- {
15072
- style: { width: "40px !important", height: "30px !important" },
15073
- width: 40,
15074
- height: 30,
15075
- alt: "lang",
15076
- "data-cookiecategory": "essential",
15077
- "data-src": selectedInterFaceLang?.flag || IMAGES.DefaultLang,
15078
- src: selectedInterFaceLang?.flag || IMAGES.DefaultLang
15079
- }
15080
- ),
15081
- /* @__PURE__ */ jsxRuntime.jsx(material.Box, { sx: { margin: "2px 0px 0px 2px" }, children: /* @__PURE__ */ jsxRuntime.jsx(SVG.Dawn, {}) })
15082
- ]
15083
- }
15084
- ),
15085
- state.toggles.lang && /* @__PURE__ */ jsxRuntime.jsx(
15086
- Language,
15087
- {
15088
- t,
15089
- setInitialState: setState,
15090
- interFaceLangList,
15091
- userData,
15092
- updateInterfaceLang,
15093
- setState,
15094
- selectedInterFaceLang
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
  {