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.es.js CHANGED
@@ -6714,7 +6714,7 @@ var z = /* @__PURE__ */ Object.freeze({
6714
6714
  quotelessJson,
6715
6715
  ZodError
6716
6716
  });
6717
- 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" };
6717
+ 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" };
6718
6718
  const env = createEnv({
6719
6719
  client: {
6720
6720
  VITE_MODULES_ENV: z.string()
@@ -14068,6 +14068,11 @@ function Language({
14068
14068
  background: "#fff",
14069
14069
  top: "66px",
14070
14070
  right: "0px",
14071
+ "[dir='rtl'] &": {
14072
+ left: "0 !important",
14073
+ right: "unset",
14074
+ minWidth: "250px"
14075
+ },
14071
14076
  position: "absolute"
14072
14077
  },
14073
14078
  children: /* @__PURE__ */ jsx(
@@ -14998,7 +15003,12 @@ const Header = ({
14998
15003
  Box,
14999
15004
  {
15000
15005
  className: "profile headerMenu",
15001
- sx: { width: "400px !important", p: 1, zIndex: "99999999 !important" },
15006
+ sx: {
15007
+ width: "400px !important",
15008
+ p: 1,
15009
+ zIndex: "99999999 !important",
15010
+ "[dir='rtl'] &": { left: "0 !important", right: "unset" }
15011
+ },
15002
15012
  children: /* @__PURE__ */ jsx(
15003
15013
  AppMenus,
15004
15014
  {
@@ -15012,71 +15022,90 @@ const Header = ({
15012
15022
  }
15013
15023
  )
15014
15024
  ] }),
15015
- isNotification && /* @__PURE__ */ jsxs(Box, { sx: { position: "relative" }, children: [
15016
- /* @__PURE__ */ jsx(
15017
- Typography,
15018
- {
15019
- sx: {
15020
- cursor: "pointer"
15021
- },
15022
- "data-toggle-name": "notification",
15023
- onClick: (e) => handleOpenUtil(e, setState),
15024
- children: /* @__PURE__ */ jsx(Badge, { badgeContent: userData?.notificationCount, color: "error", className: "notification_icon_error", children: /* @__PURE__ */ jsx(SVG.Bell, {}) })
15025
- }
15026
- ),
15027
- state.toggles.notification && /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
15028
- Notification,
15029
- {
15030
- t,
15031
- initialState: state,
15032
- notificationAccessApps,
15033
- setInitialState: setState
15034
- }
15035
- ) })
15036
- ] }),
15037
- Boolean(interFaceLangList?.length) && /* @__PURE__ */ jsxs(Box, { sx: { position: "relative" }, children: [
15038
- /* @__PURE__ */ jsxs(
15039
- Typography,
15040
- {
15041
- "data-toggle-name": "lang",
15042
- onClick: (e) => handleOpenUtil(e, setState),
15043
- sx: {
15044
- display: "inline-flex",
15045
- gap: "5px",
15046
- alignItems: "center",
15047
- color: "#777777",
15048
- cursor: "pointer"
15049
- },
15050
- children: [
15051
- /* @__PURE__ */ jsx(
15052
- "img",
15053
- {
15054
- style: { width: "40px !important", height: "30px !important" },
15055
- width: 40,
15056
- height: 30,
15057
- alt: "lang",
15058
- "data-cookiecategory": "essential",
15059
- "data-src": selectedInterFaceLang?.flag || IMAGES.DefaultLang,
15060
- src: selectedInterFaceLang?.flag || IMAGES.DefaultLang
15061
- }
15062
- ),
15063
- /* @__PURE__ */ jsx(Box, { sx: { margin: "2px 0px 0px 2px" }, children: /* @__PURE__ */ jsx(SVG.Dawn, {}) })
15064
- ]
15065
- }
15066
- ),
15067
- state.toggles.lang && /* @__PURE__ */ jsx(
15068
- Language,
15069
- {
15070
- t,
15071
- setInitialState: setState,
15072
- interFaceLangList,
15073
- userData,
15074
- updateInterfaceLang,
15075
- setState,
15076
- selectedInterFaceLang
15077
- }
15078
- )
15079
- ] }),
15025
+ isNotification && /* @__PURE__ */ jsxs(
15026
+ Box,
15027
+ {
15028
+ sx: {
15029
+ position: "relative"
15030
+ },
15031
+ children: [
15032
+ /* @__PURE__ */ jsx(
15033
+ Typography,
15034
+ {
15035
+ sx: {
15036
+ cursor: "pointer"
15037
+ },
15038
+ "data-toggle-name": "notification",
15039
+ onClick: (e) => handleOpenUtil(e, setState),
15040
+ children: /* @__PURE__ */ jsx(Badge, { badgeContent: userData?.notificationCount, color: "error", className: "notification_icon_error", children: /* @__PURE__ */ jsx(SVG.Bell, {}) })
15041
+ }
15042
+ ),
15043
+ state.toggles.notification && /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
15044
+ Notification,
15045
+ {
15046
+ t,
15047
+ initialState: state,
15048
+ notificationAccessApps,
15049
+ setInitialState: setState
15050
+ }
15051
+ ) })
15052
+ ]
15053
+ }
15054
+ ),
15055
+ Boolean(interFaceLangList?.length) && /* @__PURE__ */ jsxs(
15056
+ Box,
15057
+ {
15058
+ sx: {
15059
+ position: "relative"
15060
+ },
15061
+ children: [
15062
+ /* @__PURE__ */ jsxs(
15063
+ Typography,
15064
+ {
15065
+ "data-toggle-name": "lang",
15066
+ onClick: (e) => handleOpenUtil(e, setState),
15067
+ sx: {
15068
+ display: "inline-flex",
15069
+ gap: "5px",
15070
+ alignItems: "center",
15071
+ color: "#777777",
15072
+ cursor: "pointer"
15073
+ },
15074
+ children: [
15075
+ /* @__PURE__ */ jsx(
15076
+ "img",
15077
+ {
15078
+ style: {
15079
+ width: "40px !important",
15080
+ height: "30px !important"
15081
+ },
15082
+ width: 40,
15083
+ height: 30,
15084
+ alt: "lang",
15085
+ "data-cookiecategory": "essential",
15086
+ "data-src": selectedInterFaceLang?.flag || IMAGES.DefaultLang,
15087
+ src: selectedInterFaceLang?.flag || IMAGES.DefaultLang
15088
+ }
15089
+ ),
15090
+ /* @__PURE__ */ jsx(Box, { sx: { margin: "2px 0px 0px 2px" }, children: /* @__PURE__ */ jsx(SVG.Dawn, {}) })
15091
+ ]
15092
+ }
15093
+ ),
15094
+ state.toggles.lang && /* @__PURE__ */ jsx(
15095
+ Language,
15096
+ {
15097
+ t,
15098
+ setInitialState: setState,
15099
+ interFaceLangList,
15100
+ userData,
15101
+ updateInterfaceLang,
15102
+ setState,
15103
+ selectedInterFaceLang
15104
+ }
15105
+ )
15106
+ ]
15107
+ }
15108
+ ),
15080
15109
  Boolean(userData?.fullName) && /* @__PURE__ */ jsx(
15081
15110
  UserProfile,
15082
15111
  {