ode-explorer 1.4.14-develop-wl.202407231629 → 1.4.15

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.js CHANGED
@@ -25710,6 +25710,7 @@ to {
25710
25710
  parameterLimit: 1e3,
25711
25711
  parseArrays: true,
25712
25712
  plainObjects: false,
25713
+ strictDepth: false,
25713
25714
  strictNullHandling: false
25714
25715
  };
25715
25716
  var interpretNumericEntities = function(str) {
@@ -25836,6 +25837,9 @@ to {
25836
25837
  keys.push(segment[1]);
25837
25838
  }
25838
25839
  if (segment) {
25840
+ if (options.strictDepth === true) {
25841
+ throw new RangeError("Input depth exceeded depth option of " + options.depth + " and strictDepth is true");
25842
+ }
25839
25843
  keys.push("[" + key.slice(segment.index) + "]");
25840
25844
  }
25841
25845
  return parseObject(keys, val, options, valuesParsed);
@@ -25882,6 +25886,7 @@ to {
25882
25886
  parameterLimit: typeof opts.parameterLimit === "number" ? opts.parameterLimit : defaults$3.parameterLimit,
25883
25887
  parseArrays: opts.parseArrays !== false,
25884
25888
  plainObjects: typeof opts.plainObjects === "boolean" ? opts.plainObjects : defaults$3.plainObjects,
25889
+ strictDepth: typeof opts.strictDepth === "boolean" ? !!opts.strictDepth : defaults$3.strictDepth,
25885
25890
  strictNullHandling: typeof opts.strictNullHandling === "boolean" ? opts.strictNullHandling : defaults$3.strictNullHandling
25886
25891
  };
25887
25892
  };
@@ -66129,12 +66134,14 @@ void main()
66129
66134
  appCode
66130
66135
  } = useOdeClient(), {
66131
66136
  t: t2
66132
- } = useTranslation(), title = t2(appCode), [isCollapsed, setIsCollapsed] = reactExports.useState(true), [appsRef, isAppsHovered] = useHover(), popoverAppsId = reactExports.useId(), popoverSearchId = reactExports.useId(), userAvatar = avatar, userName = user == null ? void 0 : user.username, welcomeUser = t2("welcome", {
66137
+ } = useTranslation(), {
66138
+ theme
66139
+ } = useOdeTheme(), title = t2(appCode), [isCollapsed, setIsCollapsed] = reactExports.useState(true), [appsRef, isAppsHovered] = useHover(), popoverAppsId = reactExports.useId(), popoverSearchId = reactExports.useId(), userAvatar = avatar, userName = user == null ? void 0 : user.username, welcomeUser = t2("welcome", {
66133
66140
  username: user == null ? void 0 : user.firstName
66134
66141
  }), bookmarkedApps = useBookmark(), communityWorkflow = useHasWorkflow("net.atos.entng.community.controllers.CommunityController|view"), conversationWorflow = useHasWorkflow("org.entcore.conversation.controllers.ConversationController|view"), searchWorkflow = useHasWorkflow("fr.openent.searchengine.controllers.SearchEngineController|view"), toggleCollapsedNav = reactExports.useCallback(() => {
66135
66142
  setIsCollapsed(!isCollapsed);
66136
66143
  }, [isCollapsed]), handleLogout = async () => {
66137
- await odeServices.session().logout();
66144
+ await odeServices.session().logout(), console.log("Logout" + (theme == null ? void 0 : theme.logoutCallback)), window.location.href = (theme == null ? void 0 : theme.logoutCallback) ?? "/auth/login";
66138
66145
  };
66139
66146
  return reactExports.useMemo(() => ({
66140
66147
  title,
@@ -67943,7 +67950,8 @@ void main()
67943
67950
  }, ref2) => {
67944
67951
  const classes2 = clsx("navbar-brand d-none d-md-block");
67945
67952
  return /* @__PURE__ */ jsxRuntimeExports.jsx("a", { ref: ref2, className: classes2, href: "/timeline/timeline", "aria-label": translate2, children: /* @__PURE__ */ jsxRuntimeExports.jsx("img", { className: "logo", src, alt: `logo ${is1d ? "ONE" : "NEO"}`, width: "300", height: "52" }) });
67946
- }), Logo$1 = Logo, PopoverBody = ({
67953
+ }), Logo$1 = Logo;
67954
+ const PopoverBody = ({
67947
67955
  children,
67948
67956
  className
67949
67957
  }) => {
package/dist/version.txt CHANGED
@@ -1 +1 @@
1
- ode-explorer=1.0-b2school-SNAPSHOT 23/07/2024 16:29:36
1
+ ode-explorer=1.0-b2school-SNAPSHOT 02/08/2024 17:01:27
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ode-explorer",
3
- "version": "1.4.14-develop-wl.202407231629",
3
+ "version": "1.4.15",
4
4
  "description": "Edifice Explorer",
5
5
  "homepage": "https://github.com/edificeio/explorer#readme",
6
6
  "bugs": {
@@ -36,8 +36,8 @@
36
36
  ]
37
37
  },
38
38
  "dependencies": {
39
- "@edifice-ui/icons": "develop-wl",
40
- "@edifice-ui/react": "develop-wl",
39
+ "@edifice-ui/icons": "1.5.16",
40
+ "@edifice-ui/react": "1.5.16",
41
41
  "@react-spring/web": "9.7.3",
42
42
  "@tanstack/react-query": "5.8.4",
43
43
  "clsx": "2.1.0",
@@ -65,8 +65,8 @@
65
65
  "@vitejs/plugin-react-swc": "3.5.0",
66
66
  "concurrently": "8.2.2",
67
67
  "csstype": "3.1.3",
68
- "edifice-bootstrap": "develop-wl",
69
- "edifice-ts-client": "develop-wl",
68
+ "edifice-bootstrap": "1.4.0",
69
+ "edifice-ts-client": "1.5.16",
70
70
  "eslint": "8.56.0",
71
71
  "eslint-config-prettier": "9.1.0",
72
72
  "eslint-plugin-import": "2.29.1",