ode-explorer 1.3.2-dev.202401101530 → 1.3.2-dev.202401161251
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 +1 -1
- package/dist/AppAction.js +1 -1
- package/dist/DeleteModal.js +1 -1
- package/dist/DisableModal.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 -0
- package/dist/PublishModal.js +1 -0
- package/dist/ResourceModal.js +1 -0
- package/dist/ResourcesList.js +1 -1
- package/dist/ShareModal.js +1 -0
- package/dist/TrashModal.js +1 -1
- package/dist/edifice-icons.js +1 -0
- package/dist/edifice-react.js +1347 -0
- package/dist/index.html +3 -1
- package/dist/index.js +4 -223
- package/dist/react.js +32 -0
- package/dist/version.txt +1 -1
- package/lib/ActionBarContainer.js +43 -49
- package/lib/AppAction.js +9 -11
- package/lib/DisableModal.js +6 -6
- package/lib/Library.js +15 -10
- package/lib/OnboardingModal.js +5 -0
- package/lib/PublishModal.js +5 -0
- package/lib/ResourceModal.js +5 -0
- package/lib/ShareModal.js +5 -0
- package/lib/TrashModal.js +8 -8
- package/lib/components/OnboardingModal.d.ts +2 -0
- package/lib/features/ActionBar/Disable/DisableModal.d.ts +1 -1
- package/lib/features/ActionBar/Publish/PublishModal.d.ts +2 -0
- package/lib/features/ActionBar/Resource/ResourceModal.d.ts +2 -0
- package/lib/features/ActionBar/Share/ShareModal.d.ts +2 -0
- package/lib/features/ActionBar/Trash/TrashModal.d.ts +1 -1
- package/lib/index2.js +649 -647
- package/lib/services/api/index.d.ts +21 -17
- package/lib/store/index.d.ts +5 -5
- package/package.json +1 -4
- package/dist/style.css +0 -1
- package/lib/style.css +0 -1
|
@@ -10,40 +10,40 @@ import "i18next";
|
|
|
10
10
|
import "zustand";
|
|
11
11
|
import "@tanstack/react-query";
|
|
12
12
|
function be({
|
|
13
|
-
roles:
|
|
13
|
+
roles: c,
|
|
14
14
|
rights: e,
|
|
15
|
-
action:
|
|
15
|
+
action: o
|
|
16
16
|
}) {
|
|
17
17
|
const [a, s] = F(!1), {
|
|
18
18
|
user: m
|
|
19
19
|
} = ae(), R = Y();
|
|
20
20
|
$(() => {
|
|
21
21
|
S();
|
|
22
|
-
}, [
|
|
23
|
-
const d = async function(
|
|
24
|
-
const t =
|
|
25
|
-
if (
|
|
26
|
-
const p = await w.rights().sessionHasAtLeastOneResourceRight(
|
|
22
|
+
}, [c, e]);
|
|
23
|
+
const d = async function(r) {
|
|
24
|
+
const t = r instanceof Array ? r : [r];
|
|
25
|
+
if (c instanceof Array) {
|
|
26
|
+
const p = await w.rights().sessionHasAtLeastOneResourceRight(c, t);
|
|
27
27
|
s(p);
|
|
28
28
|
} else {
|
|
29
|
-
const p = await w.rights().sessionHasResourceRight(
|
|
29
|
+
const p = await w.rights().sessionHasResourceRight(c, t);
|
|
30
30
|
s(p);
|
|
31
31
|
}
|
|
32
|
-
}, f = async function(
|
|
33
|
-
if (
|
|
34
|
-
const t = await w.rights().sessionHasAtLeastOneResourceRightForEachList(
|
|
32
|
+
}, f = async function(r) {
|
|
33
|
+
if (c instanceof Array) {
|
|
34
|
+
const t = await w.rights().sessionHasAtLeastOneResourceRightForEachList(c, r);
|
|
35
35
|
s(t);
|
|
36
36
|
} else {
|
|
37
|
-
const t = await w.rights().sessionHasResourceRightForEachList(
|
|
37
|
+
const t = await w.rights().sessionHasResourceRightForEachList(c, r);
|
|
38
38
|
s(t);
|
|
39
39
|
}
|
|
40
40
|
}, S = async function() {
|
|
41
|
-
var
|
|
42
|
-
if (
|
|
41
|
+
var r, t, p;
|
|
42
|
+
if (c === void 0) {
|
|
43
43
|
s(!0);
|
|
44
44
|
return;
|
|
45
45
|
}
|
|
46
|
-
if (R && ((t = (
|
|
46
|
+
if (R && ((t = (r = e[0]) == null ? void 0 : r.trashedBy) != null && t.includes(m == null ? void 0 : m.userId)) && o === "restore" && !((p = e[0]) != null && p.trashed)) {
|
|
47
47
|
s(!0);
|
|
48
48
|
return;
|
|
49
49
|
}
|
|
@@ -66,7 +66,7 @@ function be({
|
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
68
|
function Q() {
|
|
69
|
-
const [
|
|
69
|
+
const [c, e] = F(!1), [o, a] = F("void"), [s, m] = F(), R = fe((n) => n.config), d = he(), f = pe(), S = J(), r = me(), t = Re(), p = Y(), C = Se(), O = Ee(), {
|
|
70
70
|
openResource: I,
|
|
71
71
|
printSelectedResource: P,
|
|
72
72
|
openFolder: T,
|
|
@@ -91,8 +91,8 @@ function Q() {
|
|
|
91
91
|
switch ((M = document.getElementById("root")) == null || M.setAttribute("aria-hidden", "true"), m(n), n.id) {
|
|
92
92
|
case l.OPEN:
|
|
93
93
|
return f.length > 0 ? I(S[0]) : T({
|
|
94
|
-
folder:
|
|
95
|
-
folderId:
|
|
94
|
+
folder: r[0],
|
|
95
|
+
folderId: r[0].id
|
|
96
96
|
});
|
|
97
97
|
case l.MOVE:
|
|
98
98
|
return a("move");
|
|
@@ -106,7 +106,7 @@ function Q() {
|
|
|
106
106
|
return a("publish");
|
|
107
107
|
case l.UPD_PROPS:
|
|
108
108
|
case "edit":
|
|
109
|
-
return
|
|
109
|
+
return oe();
|
|
110
110
|
case l.SHARE:
|
|
111
111
|
return a("share");
|
|
112
112
|
default:
|
|
@@ -151,9 +151,9 @@ function Q() {
|
|
|
151
151
|
a("void"), s != null && s.id && ((n = document.getElementById(s == null ? void 0 : s.id)) == null || n.focus());
|
|
152
152
|
}
|
|
153
153
|
const i = (n) => () => {
|
|
154
|
-
|
|
155
|
-
}, A = i("move"), H = i("move"), U = i("delete"), k = i("delete"), h = i("publish"), X = i("publish"), Z = i("edit_folder"), W = i("edit_folder"), ee = i("edit_resource"), se = i("edit_resource"), te = i("share"),
|
|
156
|
-
function
|
|
154
|
+
o === n && (E(), B(), D());
|
|
155
|
+
}, A = i("move"), H = i("move"), U = i("delete"), k = i("delete"), h = i("publish"), X = i("publish"), Z = i("edit_folder"), W = i("edit_folder"), ee = i("edit_resource"), se = i("edit_resource"), te = i("share"), ne = i("share");
|
|
156
|
+
function oe() {
|
|
157
157
|
f && f.length > 0 ? a("edit_resource") : a("edit_folder");
|
|
158
158
|
}
|
|
159
159
|
function re(n) {
|
|
@@ -162,37 +162,37 @@ function Q() {
|
|
|
162
162
|
return {
|
|
163
163
|
onRestore: v,
|
|
164
164
|
actions: p ? R == null ? void 0 : R.trashActions : L,
|
|
165
|
-
selectedElement: [...S, ...
|
|
165
|
+
selectedElement: [...S, ...r],
|
|
166
166
|
currentFolderId: d == null ? void 0 : d.id,
|
|
167
167
|
overrideLabel: re,
|
|
168
168
|
handleClick: _,
|
|
169
169
|
isActivable: p ? x : N,
|
|
170
|
-
isActionBarOpen:
|
|
171
|
-
isMoveModalOpen:
|
|
170
|
+
isActionBarOpen: c,
|
|
171
|
+
isMoveModalOpen: o === "move",
|
|
172
172
|
onMoveCancel: A,
|
|
173
173
|
onMoveSuccess: H,
|
|
174
|
-
isDeleteModalOpen:
|
|
174
|
+
isDeleteModalOpen: o === "delete",
|
|
175
175
|
onDeleteCancel: k,
|
|
176
176
|
onDeleteSuccess: U,
|
|
177
|
-
isPublishModalOpen:
|
|
177
|
+
isPublishModalOpen: o === "publish",
|
|
178
178
|
onPublishCancel: X,
|
|
179
179
|
onPublishSuccess: h,
|
|
180
|
-
isEditFolderOpen:
|
|
180
|
+
isEditFolderOpen: o === "edit_folder",
|
|
181
181
|
onEditFolderCancel: W,
|
|
182
182
|
onEditFolderSuccess: Z,
|
|
183
|
-
isEditResourceOpen:
|
|
183
|
+
isEditResourceOpen: o === "edit_resource",
|
|
184
184
|
onEditResourceCancel: se,
|
|
185
185
|
onEditResourceSuccess: ee,
|
|
186
|
-
isShareResourceOpen:
|
|
187
|
-
onShareResourceCancel:
|
|
186
|
+
isShareResourceOpen: o === "share",
|
|
187
|
+
onShareResourceCancel: ne,
|
|
188
188
|
onShareResourceSuccess: te,
|
|
189
189
|
onClearActionBar: E
|
|
190
190
|
};
|
|
191
191
|
}
|
|
192
192
|
function ve({
|
|
193
|
-
resourceRights:
|
|
193
|
+
resourceRights: c,
|
|
194
194
|
roleExpected: e,
|
|
195
|
-
action:
|
|
195
|
+
action: o,
|
|
196
196
|
children: a,
|
|
197
197
|
renderWhenForbidden: s
|
|
198
198
|
}) {
|
|
@@ -204,28 +204,22 @@ function ve({
|
|
|
204
204
|
visible: d
|
|
205
205
|
} = be({
|
|
206
206
|
roles: e,
|
|
207
|
-
rights:
|
|
208
|
-
action:
|
|
207
|
+
rights: c,
|
|
208
|
+
action: o == null ? void 0 : o.id
|
|
209
209
|
}), {
|
|
210
210
|
setResourceActionDisable: f
|
|
211
211
|
} = K(), S = Y();
|
|
212
212
|
return d ? /* @__PURE__ */ u(j, { children: a }) : s ? s() : S && !d ? /* @__PURE__ */ u(G, { type: "button", color: "primary", variant: "filled", onClick: () => {
|
|
213
213
|
f(!0);
|
|
214
|
-
}, children: m(R(
|
|
214
|
+
}, children: m(R(o)) }) : /* @__PURE__ */ u(j, {});
|
|
215
215
|
}
|
|
216
|
-
const Ae = /* @__PURE__ */ y(async () => (
|
|
217
|
-
default: (await import("@edifice-ui/react")).ShareModal
|
|
218
|
-
})), Me = /* @__PURE__ */ y(async () => ({
|
|
219
|
-
default: (await import("@edifice-ui/react")).PublishModal
|
|
220
|
-
})), ge = /* @__PURE__ */ y(async () => ({
|
|
221
|
-
default: (await import("@edifice-ui/react")).ResourceModal
|
|
222
|
-
})), we = /* @__PURE__ */ y(async () => await import("./DeleteModal.js")), Fe = /* @__PURE__ */ y(async () => await import("./MoveModal.js")), Ie = /* @__PURE__ */ y(async () => await import("./FolderModal.js"));
|
|
216
|
+
const Ae = /* @__PURE__ */ y(async () => await import("./ShareModal.js")), Me = /* @__PURE__ */ y(async () => await import("./PublishModal.js")), ge = /* @__PURE__ */ y(async () => await import("./ResourceModal.js")), we = /* @__PURE__ */ y(async () => await import("./DeleteModal.js")), Fe = /* @__PURE__ */ y(async () => await import("./MoveModal.js")), Ie = /* @__PURE__ */ y(async () => await import("./FolderModal.js"));
|
|
223
217
|
function je() {
|
|
224
218
|
const {
|
|
225
|
-
t:
|
|
219
|
+
t: c
|
|
226
220
|
} = q(), {
|
|
227
221
|
actions: e,
|
|
228
|
-
selectedElement:
|
|
222
|
+
selectedElement: o,
|
|
229
223
|
isMoveModalOpen: a,
|
|
230
224
|
isDeleteModalOpen: s,
|
|
231
225
|
isPublishModalOpen: m,
|
|
@@ -233,7 +227,7 @@ function je() {
|
|
|
233
227
|
isEditFolderOpen: d,
|
|
234
228
|
overrideLabel: f,
|
|
235
229
|
onEditFolderCancel: S,
|
|
236
|
-
onEditFolderSuccess:
|
|
230
|
+
onEditFolderSuccess: r,
|
|
237
231
|
isEditResourceOpen: t,
|
|
238
232
|
onEditResourceCancel: p,
|
|
239
233
|
onEditResourceSuccess: C,
|
|
@@ -263,14 +257,14 @@ function je() {
|
|
|
263
257
|
}
|
|
264
258
|
});
|
|
265
259
|
return /* @__PURE__ */ V(j, { children: [
|
|
266
|
-
H((U, k) => k && /* @__PURE__ */ u(de.div, { className: "position-fixed bottom-0 start-0 end-0 z-3", style: U, children: /* @__PURE__ */ u(ie, { children: e == null ? void 0 : e.filter((h) => h.available && h.target === "actionbar").map((h) => x(h) && /* @__PURE__ */ u(ve, { resourceRights:
|
|
260
|
+
H((U, k) => k && /* @__PURE__ */ u(de.div, { className: "position-fixed bottom-0 start-0 end-0 z-3", style: U, children: /* @__PURE__ */ u(ie, { children: e == null ? void 0 : e.filter((h) => h.available && h.target === "actionbar").map((h) => x(h) && /* @__PURE__ */ u(ve, { resourceRights: o, roleExpected: h.right, action: h, children: /* @__PURE__ */ u(G, { id: h.id, type: "button", color: "primary", variant: "filled", onClick: () => {
|
|
267
261
|
v(h);
|
|
268
|
-
}, children:
|
|
262
|
+
}, children: c(f(h)) }, h.id) }, h.id)) }) })),
|
|
269
263
|
/* @__PURE__ */ V(ce, { fallback: /* @__PURE__ */ u(le, {}), children: [
|
|
270
264
|
a && /* @__PURE__ */ u(Fe, { isOpen: a, onCancel: T, onSuccess: B }),
|
|
271
265
|
s && /* @__PURE__ */ u(we, { isOpen: s, onCancel: D, onSuccess: L }),
|
|
272
266
|
m && /* @__PURE__ */ u(Me, { isOpen: m, resource: E[0], onCancel: _, onSuccess: N }),
|
|
273
|
-
d && /* @__PURE__ */ u(Ie, { edit: !0, isOpen: d, onCancel: S, onSuccess:
|
|
267
|
+
d && /* @__PURE__ */ u(Ie, { edit: !0, isOpen: d, onCancel: S, onSuccess: r }),
|
|
274
268
|
t && /* @__PURE__ */ u(ge, { mode: "update", actions: e, isOpen: t, selectedResource: E[0], updateResource: A, onCancel: p, onSuccess: C }),
|
|
275
269
|
O && /* @__PURE__ */ u(Ae, { isOpen: O, resource: E[0], updateResource: A, shareResource: i, onCancel: I, onSuccess: P })
|
|
276
270
|
] })
|
package/lib/AppAction.js
CHANGED
|
@@ -1,20 +1,18 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as p, Fragment as d, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { Suspense as f, lazy as C } from "react";
|
|
3
3
|
import { Plus as g } from "@edifice-ui/icons";
|
|
4
|
-
import { useToggle as
|
|
4
|
+
import { useToggle as S, useOdeClient as h, Button as O, LoadingScreen as R } from "@edifice-ui/react";
|
|
5
5
|
import { useTranslation as x } from "react-i18next";
|
|
6
6
|
import { u as y, a as A, b, c as F } from "./index2.js";
|
|
7
7
|
import "edifice-ts-client";
|
|
8
8
|
import "i18next";
|
|
9
9
|
import "zustand";
|
|
10
10
|
import "@tanstack/react-query";
|
|
11
|
-
const I = /* @__PURE__ */ C(async () => (
|
|
12
|
-
default: (await import("@edifice-ui/react")).ResourceModal
|
|
13
|
-
}));
|
|
11
|
+
const I = /* @__PURE__ */ C(async () => await import("./ResourceModal.js"));
|
|
14
12
|
function q() {
|
|
15
|
-
const [
|
|
13
|
+
const [r, o] = S(), {
|
|
16
14
|
appCode: n
|
|
17
|
-
} =
|
|
15
|
+
} = h(), {
|
|
18
16
|
t: s
|
|
19
17
|
} = x(n), {
|
|
20
18
|
clearSelectedItems: a,
|
|
@@ -22,11 +20,11 @@ function q() {
|
|
|
22
20
|
} = y(), {
|
|
23
21
|
data: t
|
|
24
22
|
} = A(), l = t == null ? void 0 : t.find((m) => m.id === "create"), i = b(), u = F();
|
|
25
|
-
return l ? /* @__PURE__ */ d
|
|
26
|
-
/* @__PURE__ */ e(
|
|
27
|
-
a(), c(),
|
|
23
|
+
return l ? /* @__PURE__ */ p(d, { children: [
|
|
24
|
+
/* @__PURE__ */ e(O, { type: "button", color: "primary", variant: "filled", leftIcon: /* @__PURE__ */ e(g, {}), className: "ms-auto", onClick: () => {
|
|
25
|
+
a(), c(), o();
|
|
28
26
|
}, children: s("explorer.create.title") }),
|
|
29
|
-
/* @__PURE__ */ e(f, { fallback: /* @__PURE__ */ e(
|
|
27
|
+
/* @__PURE__ */ e(f, { fallback: /* @__PURE__ */ e(R, {}), children: r && /* @__PURE__ */ e(I, { mode: "create", actions: t, currentFolder: i, createResource: u, isOpen: r, onSuccess: o, onCancel: o }) })
|
|
30
28
|
] }) : null;
|
|
31
29
|
}
|
|
32
30
|
export {
|
package/lib/DisableModal.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsxs as a, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { Modal as r, Button as i } from "@edifice-ui/react";
|
|
3
|
-
import { createPortal as
|
|
4
|
-
import { useTranslation as
|
|
5
|
-
function
|
|
3
|
+
import { createPortal as d } from "react-dom";
|
|
4
|
+
import { useTranslation as n } from "react-i18next";
|
|
5
|
+
function h({
|
|
6
6
|
isOpen: l,
|
|
7
7
|
onCancel: t = () => ({})
|
|
8
8
|
}) {
|
|
9
9
|
const {
|
|
10
10
|
t: e
|
|
11
|
-
} =
|
|
12
|
-
return /* @__PURE__ */
|
|
11
|
+
} = n();
|
|
12
|
+
return /* @__PURE__ */ d(/* @__PURE__ */ a(r, { isOpen: l, onModalClose: t, id: "trash_action_disable_resource", children: [
|
|
13
13
|
/* @__PURE__ */ o(r.Header, { onModalClose: () => t(), children: e("explorer.trash.action.modal.title") }),
|
|
14
14
|
/* @__PURE__ */ o(r.Body, { children: /* @__PURE__ */ o("p", { className: "body", children: e("explorer.trash.action.modal.text") }) }),
|
|
15
15
|
/* @__PURE__ */ o(r.Footer, { children: /* @__PURE__ */ o(i, { color: "primary", onClick: t, type: "button", variant: "outline", children: e("close") }) })
|
|
16
16
|
] }), document.getElementById("portal"));
|
|
17
17
|
}
|
|
18
18
|
export {
|
|
19
|
-
|
|
19
|
+
h as default
|
|
20
20
|
};
|
package/lib/Library.js
CHANGED
|
@@ -1,15 +1,20 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { jsxs as i, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { ArrowRight as l } from "@edifice-ui/icons";
|
|
3
|
+
import { useOdeTheme as s, useLibraryUrl as n, usePaths as m, Image as c, Button as p } from "@edifice-ui/react";
|
|
4
|
+
import { useTranslation as h } from "react-i18next";
|
|
4
5
|
const u = () => {
|
|
5
6
|
const {
|
|
6
|
-
t:
|
|
7
|
-
} =
|
|
8
|
-
theme:
|
|
9
|
-
} =
|
|
10
|
-
libraryUrl:
|
|
11
|
-
} =
|
|
12
|
-
return /* @__PURE__ */
|
|
7
|
+
t: a
|
|
8
|
+
} = h(), {
|
|
9
|
+
theme: e
|
|
10
|
+
} = s(), {
|
|
11
|
+
libraryUrl: t
|
|
12
|
+
} = n(), [o] = m();
|
|
13
|
+
return /* @__PURE__ */ i("div", { className: "p-16", children: [
|
|
14
|
+
/* @__PURE__ */ r(c, { width: "270", height: "140", loading: "lazy", className: "rounded", src: `${o}/${e == null ? void 0 : e.bootstrapVersion}/image-library.svg`, alt: a("explorer.libray.img.alt") }),
|
|
15
|
+
/* @__PURE__ */ r("p", { className: "m-8", children: a("explorer.libray.title") }),
|
|
16
|
+
/* @__PURE__ */ r("a", { href: t, target: "_blank", rel: "noreferrer", children: /* @__PURE__ */ r(p, { rightIcon: /* @__PURE__ */ r(l, {}), className: "py-0 px-8", variant: "ghost", color: "primary", children: a("explorer.libray.btn") }) })
|
|
17
|
+
] });
|
|
13
18
|
};
|
|
14
19
|
export {
|
|
15
20
|
u as default
|
package/lib/TrashModal.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsxs as a, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { Modal as r, Button as d } from "@edifice-ui/react";
|
|
3
3
|
import { createPortal as i } from "react-dom";
|
|
4
|
-
import { useTranslation as
|
|
4
|
+
import { useTranslation as n } from "react-i18next";
|
|
5
5
|
function h({
|
|
6
6
|
isOpen: l,
|
|
7
|
-
onCancel:
|
|
7
|
+
onCancel: t = () => ({})
|
|
8
8
|
}) {
|
|
9
9
|
const {
|
|
10
|
-
t
|
|
11
|
-
} =
|
|
12
|
-
return /* @__PURE__ */ i(/* @__PURE__ */ a(r, { isOpen: l, onModalClose:
|
|
13
|
-
/* @__PURE__ */ o(r.Header, { onModalClose: () =>
|
|
14
|
-
/* @__PURE__ */ o(r.Body, { children: /* @__PURE__ */ o("p", { className: "body", children:
|
|
15
|
-
/* @__PURE__ */ o(r.Footer, { children: /* @__PURE__ */ o(d, { color: "primary", onClick:
|
|
10
|
+
t: e
|
|
11
|
+
} = n();
|
|
12
|
+
return /* @__PURE__ */ i(/* @__PURE__ */ a(r, { isOpen: l, onModalClose: t, id: "trash_resource", children: [
|
|
13
|
+
/* @__PURE__ */ o(r.Header, { onModalClose: () => t(), children: e("explorer.trash.modal.title") }),
|
|
14
|
+
/* @__PURE__ */ o(r.Body, { children: /* @__PURE__ */ o("p", { className: "body", children: e("explorer.trash.modal.text") }) }),
|
|
15
|
+
/* @__PURE__ */ o(r.Footer, { children: /* @__PURE__ */ o(d, { color: "primary", onClick: t, type: "button", variant: "outline", children: e("close") }) })
|
|
16
16
|
] }), document.getElementById("portal"));
|
|
17
17
|
}
|
|
18
18
|
export {
|