ode-explorer 1.4.14 → 1.4.15-develop.202408201506
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 +12 -6
- package/dist/version.txt +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -19638,10 +19638,14 @@ to {
|
|
|
19638
19638
|
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node2.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
19639
19639
|
const win = getWindow$2(scrollableAncestor);
|
|
19640
19640
|
if (isBody) {
|
|
19641
|
-
|
|
19641
|
+
const frameElement = getFrameElement(win);
|
|
19642
|
+
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
|
|
19642
19643
|
}
|
|
19643
19644
|
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
|
|
19644
19645
|
}
|
|
19646
|
+
function getFrameElement(win) {
|
|
19647
|
+
return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
|
|
19648
|
+
}
|
|
19645
19649
|
function getCssDimensions(element) {
|
|
19646
19650
|
const css = getComputedStyle$3(element);
|
|
19647
19651
|
let width = parseFloat(css.width) || 0;
|
|
@@ -19735,7 +19739,7 @@ to {
|
|
|
19735
19739
|
const win = getWindow$2(domElement);
|
|
19736
19740
|
const offsetWin = offsetParent && isElement$2(offsetParent) ? getWindow$2(offsetParent) : offsetParent;
|
|
19737
19741
|
let currentWin = win;
|
|
19738
|
-
let currentIFrame = currentWin
|
|
19742
|
+
let currentIFrame = getFrameElement(currentWin);
|
|
19739
19743
|
while (currentIFrame && offsetParent && offsetWin !== currentWin) {
|
|
19740
19744
|
const iframeScale = getScale(currentIFrame);
|
|
19741
19745
|
const iframeRect = currentIFrame.getBoundingClientRect();
|
|
@@ -19749,7 +19753,7 @@ to {
|
|
|
19749
19753
|
x2 += left2;
|
|
19750
19754
|
y2 += top2;
|
|
19751
19755
|
currentWin = getWindow$2(currentIFrame);
|
|
19752
|
-
currentIFrame = currentWin
|
|
19756
|
+
currentIFrame = getFrameElement(currentWin);
|
|
19753
19757
|
}
|
|
19754
19758
|
}
|
|
19755
19759
|
return rectToClientRect$1({
|
|
@@ -66134,12 +66138,14 @@ void main()
|
|
|
66134
66138
|
appCode
|
|
66135
66139
|
} = useOdeClient(), {
|
|
66136
66140
|
t: t2
|
|
66137
|
-
} = useTranslation(),
|
|
66141
|
+
} = useTranslation(), {
|
|
66142
|
+
theme
|
|
66143
|
+
} = 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", {
|
|
66138
66144
|
username: user == null ? void 0 : user.firstName
|
|
66139
66145
|
}), 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(() => {
|
|
66140
66146
|
setIsCollapsed(!isCollapsed);
|
|
66141
66147
|
}, [isCollapsed]), handleLogout = async () => {
|
|
66142
|
-
await odeServices.session().logout();
|
|
66148
|
+
await odeServices.session().logout(), console.log("Logout" + (theme == null ? void 0 : theme.logoutCallback)), window.location.href = (theme == null ? void 0 : theme.logoutCallback) ?? "/auth/login";
|
|
66143
66149
|
};
|
|
66144
66150
|
return reactExports.useMemo(() => ({
|
|
66145
66151
|
title,
|
|
@@ -72801,7 +72807,7 @@ Use "options.replacer" or "options.ignoreUnknown"
|
|
|
72801
72807
|
"container-fluid": !headless,
|
|
72802
72808
|
"rounded-4 border": (theme == null ? void 0 : theme.is1d) && !headless,
|
|
72803
72809
|
"mt-24": (theme == null ? void 0 : theme.is1d) && !headless
|
|
72804
|
-
}), renderHeader = headless ? null : /* @__PURE__ */ jsxRuntimeExports.jsx(Header$2, { is1d: theme == null ? void 0 : theme.is1d, src: theme == null ? void 0 : theme.basePath }), renderCookies = showCookiesConsent && /* @__PURE__ */ jsxRuntimeExports.jsx(Alert$1, { type: "info", className: "m-12", isConfirm: true, position: "bottom-right", button: /* @__PURE__ */ jsxRuntimeExports.jsx(Button$1, { color: "tertiary", variant: "ghost", onClick: handleConsultCookies, children: t2("rgpd.cookies.banner.button.consult") }), onClose: handleCloseCookiesConsent, children: t2("rgpd.cookies.banner.text1") }), renderToaster = /* @__PURE__ */ jsxRuntimeExports.jsx(Ie$2, { containerClassName: "toaster-container", toastOptions: {
|
|
72810
|
+
}), renderHeader = headless ? null : /* @__PURE__ */ jsxRuntimeExports.jsx(Header$2, { is1d: theme == null ? void 0 : theme.is1d, src: theme == null ? void 0 : theme.basePath }), renderCookies = showCookiesConsent && /* @__PURE__ */ jsxRuntimeExports.jsx(Alert$1, { type: "info", className: "m-12 rgpd", isConfirm: true, position: "bottom-right", button: /* @__PURE__ */ jsxRuntimeExports.jsx(Button$1, { color: "tertiary", variant: "ghost", onClick: handleConsultCookies, children: t2("rgpd.cookies.banner.button.consult") }), onClose: handleCloseCookiesConsent, children: t2("rgpd.cookies.banner.text1") }), renderToaster = /* @__PURE__ */ jsxRuntimeExports.jsx(Ie$2, { containerClassName: "toaster-container", toastOptions: {
|
|
72805
72811
|
position: "top-right"
|
|
72806
72812
|
} });
|
|
72807
72813
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
package/dist/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
ode-explorer=1.0-b2school-SNAPSHOT
|
|
1
|
+
ode-explorer=1.0-b2school-SNAPSHOT 20/08/2024 15:06:53
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ode-explorer",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.15-develop.202408201506",
|
|
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": "
|
|
40
|
-
"@edifice-ui/react": "
|
|
39
|
+
"@edifice-ui/icons": "develop",
|
|
40
|
+
"@edifice-ui/react": "develop",
|
|
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": "
|
|
69
|
-
"edifice-ts-client": "
|
|
68
|
+
"edifice-bootstrap": "develop",
|
|
69
|
+
"edifice-ts-client": "develop",
|
|
70
70
|
"eslint": "8.56.0",
|
|
71
71
|
"eslint-config-prettier": "9.1.0",
|
|
72
72
|
"eslint-plugin-import": "2.29.1",
|