ode-explorer 1.3.2-develop-pedago.202401291510 → 1.3.3-develop.202402061659
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/ActionBarContainer.js +7 -1
- package/dist/AppAction.js +7 -1
- package/dist/DeleteModal.js +1 -1
- package/dist/EmptyScreenApp.js +1 -1
- package/dist/EmptyScreenError.js +1 -1
- package/dist/EmptyScreenNoContentInFolder.js +1 -1
- package/dist/EmptyScreenSearch.js +1 -1
- package/dist/EmptyScreenTrash.js +1 -1
- package/dist/FolderModal.js +1 -1
- package/dist/FoldersList.js +1 -1
- package/dist/Library.js +1 -1
- package/dist/MoveModal.js +1 -1
- package/dist/OnboardingModal.js +1 -1
- package/dist/PublishModal.js +1 -1
- package/dist/ResourceModal.js +1 -1
- package/dist/ResourcesList.js +1 -1
- package/dist/edifice-icons.js +1 -1
- package/dist/edifice-react.js +90 -90
- package/dist/index.html +14 -26
- package/dist/index.js +10 -4
- package/dist/react.js +3 -3
- package/dist/version.txt +1 -1
- package/lib/ActionBarContainer.js +190 -206
- package/lib/AppAction.js +23 -30
- package/lib/DeleteModal.js +3 -3
- package/lib/EmptyScreenApp.js +20 -26
- package/lib/FolderModal.js +8 -8
- package/lib/FoldersList.js +7 -7
- package/lib/Library.js +19 -16
- package/lib/MoveModal.js +7 -7
- package/lib/ResourcesList.js +1 -1
- package/lib/index2.js +415 -452
- package/lib/services/api/index.d.ts +4 -16
- package/package.json +11 -11
- package/dist/ShareModal.js +0 -1
- package/lib/ShareModal.js +0 -5
package/dist/index.html
CHANGED
|
@@ -16,23 +16,19 @@
|
|
|
16
16
|
<!-- blog, collaborativeeditor, collaborativewall, exercizer, mindmap, pages, timelinegenerator, wiki, scrapbook -->
|
|
17
17
|
<div id="root"></div>
|
|
18
18
|
<div id="portal"></div>
|
|
19
|
-
|
|
20
19
|
<!-- SET INITIALISATION CONFIG -->
|
|
21
20
|
<script>
|
|
22
|
-
var WORFLOW_ACCESS =
|
|
23
|
-
"fr.wseduc.scrapbook.controllers.ScrapbookController|view";
|
|
21
|
+
var WORFLOW_ACCESS = "org.entcore.blog.controllers.BlogController|blog";
|
|
24
22
|
var WORKFLOW_CREATE =
|
|
25
|
-
"
|
|
23
|
+
"org.entcore.blog.controllers.BlogController|create";
|
|
24
|
+
var WORKFLOW_CREATE_PUBLIC =
|
|
25
|
+
"org.entcore.blog.controllers.BlogController|createPublicBlog";
|
|
26
26
|
var WORKFLOW_PUBLISH =
|
|
27
|
-
"
|
|
28
|
-
var WORKFLOW_PRINT =
|
|
29
|
-
"fr.wseduc.scrapbook.controllers.ScrapbookController|print";
|
|
30
|
-
var WORKFLOW_EXPORT_HTML =
|
|
31
|
-
"fr.wseduc.scrapbook.controllers.ScrapbookController|exportHtml";
|
|
32
|
-
///////////
|
|
27
|
+
"org.entcore.blog.controllers.BlogController|publish";
|
|
28
|
+
var WORKFLOW_PRINT = "org.entcore.blog.controllers.BlogController|print";
|
|
33
29
|
var explorerConfig = {
|
|
34
|
-
app: "
|
|
35
|
-
types: ["
|
|
30
|
+
app: "blog",
|
|
31
|
+
types: ["blog"],
|
|
36
32
|
filters: [
|
|
37
33
|
{ id: "owner", defaultValue: true },
|
|
38
34
|
{ id: "public", defaultValue: false },
|
|
@@ -66,12 +62,11 @@
|
|
|
66
62
|
workflow: WORKFLOW_CREATE,
|
|
67
63
|
target: "tree",
|
|
68
64
|
},
|
|
69
|
-
|
|
70
|
-
id: "
|
|
71
|
-
workflow:
|
|
72
|
-
target: "
|
|
73
|
-
|
|
74
|
-
},*/
|
|
65
|
+
{
|
|
66
|
+
id: "createPublic",
|
|
67
|
+
workflow: WORKFLOW_CREATE_PUBLIC,
|
|
68
|
+
target: "tree",
|
|
69
|
+
},
|
|
75
70
|
{
|
|
76
71
|
id: "move",
|
|
77
72
|
workflow: WORFLOW_ACCESS,
|
|
@@ -90,12 +85,6 @@
|
|
|
90
85
|
target: "actionbar",
|
|
91
86
|
right: "read",
|
|
92
87
|
},
|
|
93
|
-
{
|
|
94
|
-
id: "export",
|
|
95
|
-
workflow: WORKFLOW_EXPORT_HTML,
|
|
96
|
-
target: "actionbar",
|
|
97
|
-
right: "read",
|
|
98
|
-
},
|
|
99
88
|
{
|
|
100
89
|
id: "delete",
|
|
101
90
|
workflow: WORFLOW_ACCESS,
|
|
@@ -120,8 +109,7 @@
|
|
|
120
109
|
},
|
|
121
110
|
],
|
|
122
111
|
};
|
|
123
|
-
|
|
124
|
-
var rootElement = document.querySelector("[data-explorer-config]");
|
|
112
|
+
const rootElement = document.querySelector("[data-explorer-config]");
|
|
125
113
|
rootElement.setAttribute(
|
|
126
114
|
"data-explorer-config",
|
|
127
115
|
JSON.stringify(explorerConfig),
|