ode-explorer 1.4.15 → 1.4.16
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.html +1 -1
- package/dist/index.js +10 -6
- package/dist/version.txt +1 -1
- package/package.json +5 -5
package/dist/index.html
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<title>Exploration des ressources</title>
|
|
7
7
|
<link rel="icon" id="favicon" href="" />
|
|
8
|
-
<link rel="stylesheet" href="/assets/themes/edifice-bootstrap/index.css" />
|
|
8
|
+
<link rel="stylesheet" href="/assets/themes/edifice-bootstrap/index.css?v=37dc845e" />
|
|
9
9
|
<script type="module" crossorigin src="/index.js"></script>
|
|
10
10
|
</head>
|
|
11
11
|
|
package/dist/index.js
CHANGED
|
@@ -38,7 +38,7 @@ var __privateMethod = (obj, member, method) => {
|
|
|
38
38
|
__accessCheck(obj, member, "access private method");
|
|
39
39
|
return method;
|
|
40
40
|
};
|
|
41
|
-
import { odeServices, LAYER_NAME, SnipletsService, DocumentHelper, StringUtils as StringUtils$1, ERROR_CODE, FOLDER, SORT_ORDER, ACTION } from "/assets/js/edifice-ts-client/index.js";
|
|
41
|
+
import { odeServices, LAYER_NAME, SnipletsService, DocumentHelper, StringUtils as StringUtils$1, ERROR_CODE, FOLDER, SORT_ORDER, ACTION } from "/assets/js/edifice-ts-client/index.js?v=37dc845e";
|
|
42
42
|
var require_index = __commonJS({
|
|
43
43
|
"index.js"(exports, module) {
|
|
44
44
|
var _focused, _cleanup, _setup, _a, _online, _cleanup2, _setup2, _b, _gcTimeout, _c, _initialState, _revertState, _cache, _promise, _retryer, _observers, _defaultOptions, _abortSignalConsumed, _setOptions, setOptions_fn, _dispatch, dispatch_fn, _d, _queries, _e2, _observers2, _defaultOptions2, _mutationCache, _retryer2, _dispatch2, dispatch_fn2, _f, _mutations, _mutationId, _resuming, _g, _queryCache, _mutationCache2, _defaultOptions3, _queryDefaults, _mutationDefaults, _mountCount, _unsubscribeFocus, _unsubscribeOnline, _h, _client, _currentQuery, _currentQueryInitialState, _currentResult, _currentResultState, _currentResultOptions, _selectError, _selectFn, _selectResult, _lastQueryWithDefinedData, _staleTimeoutId, _refetchIntervalId, _currentRefetchInterval, _trackedProps, _executeFetch, executeFetch_fn, _updateStaleTimeout, updateStaleTimeout_fn, _computeRefetchInterval, computeRefetchInterval_fn, _updateRefetchInterval, updateRefetchInterval_fn, _updateTimers, updateTimers_fn, _clearStaleTimeout, clearStaleTimeout_fn, _clearRefetchInterval, clearRefetchInterval_fn, _updateQuery, updateQuery_fn, _notify, notify_fn, _i, _client2, _currentResult2, _currentMutation, _mutateOptions, _updateResult, updateResult_fn, _notify2, notify_fn2, _j;
|
|
@@ -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({
|
|
@@ -66141,7 +66145,7 @@ void main()
|
|
|
66141
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(() => {
|
|
66142
66146
|
setIsCollapsed(!isCollapsed);
|
|
66143
66147
|
}, [isCollapsed]), handleLogout = async () => {
|
|
66144
|
-
await odeServices.session().logout(),
|
|
66148
|
+
await odeServices.session().logout(), window.location.href = (theme == null ? void 0 : theme.logoutCallback) ?? "/auth/login";
|
|
66145
66149
|
};
|
|
66146
66150
|
return reactExports.useMemo(() => ({
|
|
66147
66151
|
title,
|
|
@@ -72803,7 +72807,7 @@ Use "options.replacer" or "options.ignoreUnknown"
|
|
|
72803
72807
|
"container-fluid": !headless,
|
|
72804
72808
|
"rounded-4 border": (theme == null ? void 0 : theme.is1d) && !headless,
|
|
72805
72809
|
"mt-24": (theme == null ? void 0 : theme.is1d) && !headless
|
|
72806
|
-
}), 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: {
|
|
72807
72811
|
position: "top-right"
|
|
72808
72812
|
} });
|
|
72809
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 23/08/2024 11:35:25
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ode-explorer",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.16",
|
|
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": "1.5.
|
|
40
|
-
"@edifice-ui/react": "1.5.
|
|
39
|
+
"@edifice-ui/icons": "1.5.17",
|
|
40
|
+
"@edifice-ui/react": "1.5.17",
|
|
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": "1.
|
|
69
|
-
"edifice-ts-client": "1.5.
|
|
68
|
+
"edifice-bootstrap": "1.5.17",
|
|
69
|
+
"edifice-ts-client": "1.5.17",
|
|
70
70
|
"eslint": "8.56.0",
|
|
71
71
|
"eslint-config-prettier": "9.1.0",
|
|
72
72
|
"eslint-plugin-import": "2.29.1",
|