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.
Files changed (46) hide show
  1. package/dist/ActionBarContainer.js +1 -1
  2. package/dist/AppAction.js +1 -1
  3. package/dist/DeleteModal.js +1 -1
  4. package/dist/DisableModal.js +1 -1
  5. package/dist/EmptyScreenApp.js +1 -1
  6. package/dist/EmptyScreenError.js +1 -1
  7. package/dist/EmptyScreenNoContentInFolder.js +1 -1
  8. package/dist/EmptyScreenSearch.js +1 -1
  9. package/dist/EmptyScreenTrash.js +1 -1
  10. package/dist/FolderModal.js +1 -1
  11. package/dist/FoldersList.js +1 -1
  12. package/dist/Library.js +1 -1
  13. package/dist/MoveModal.js +1 -1
  14. package/dist/OnboardingModal.js +1 -0
  15. package/dist/PublishModal.js +1 -0
  16. package/dist/ResourceModal.js +1 -0
  17. package/dist/ResourcesList.js +1 -1
  18. package/dist/ShareModal.js +1 -0
  19. package/dist/TrashModal.js +1 -1
  20. package/dist/edifice-icons.js +1 -0
  21. package/dist/edifice-react.js +1347 -0
  22. package/dist/index.html +3 -1
  23. package/dist/index.js +4 -223
  24. package/dist/react.js +32 -0
  25. package/dist/version.txt +1 -1
  26. package/lib/ActionBarContainer.js +43 -49
  27. package/lib/AppAction.js +9 -11
  28. package/lib/DisableModal.js +6 -6
  29. package/lib/Library.js +15 -10
  30. package/lib/OnboardingModal.js +5 -0
  31. package/lib/PublishModal.js +5 -0
  32. package/lib/ResourceModal.js +5 -0
  33. package/lib/ShareModal.js +5 -0
  34. package/lib/TrashModal.js +8 -8
  35. package/lib/components/OnboardingModal.d.ts +2 -0
  36. package/lib/features/ActionBar/Disable/DisableModal.d.ts +1 -1
  37. package/lib/features/ActionBar/Publish/PublishModal.d.ts +2 -0
  38. package/lib/features/ActionBar/Resource/ResourceModal.d.ts +2 -0
  39. package/lib/features/ActionBar/Share/ShareModal.d.ts +2 -0
  40. package/lib/features/ActionBar/Trash/TrashModal.d.ts +1 -1
  41. package/lib/index2.js +649 -647
  42. package/lib/services/api/index.d.ts +21 -17
  43. package/lib/store/index.d.ts +5 -5
  44. package/package.json +1 -4
  45. package/dist/style.css +0 -1
  46. 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: o,
13
+ roles: c,
14
14
  rights: e,
15
- action: r
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
- }, [o, e]);
23
- const d = async function(c) {
24
- const t = c instanceof Array ? c : [c];
25
- if (o instanceof Array) {
26
- const p = await w.rights().sessionHasAtLeastOneResourceRight(o, t);
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(o, t);
29
+ const p = await w.rights().sessionHasResourceRight(c, t);
30
30
  s(p);
31
31
  }
32
- }, f = async function(c) {
33
- if (o instanceof Array) {
34
- const t = await w.rights().sessionHasAtLeastOneResourceRightForEachList(o, c);
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(o, c);
37
+ const t = await w.rights().sessionHasResourceRightForEachList(c, r);
38
38
  s(t);
39
39
  }
40
40
  }, S = async function() {
41
- var c, t, p;
42
- if (o === void 0) {
41
+ var r, t, p;
42
+ if (c === void 0) {
43
43
  s(!0);
44
44
  return;
45
45
  }
46
- if (R && ((t = (c = e[0]) == null ? void 0 : c.trashedBy) != null && t.includes(m == null ? void 0 : m.userId)) && r === "restore" && !((p = e[0]) != null && p.trashed)) {
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 [o, e] = F(!1), [r, a] = F("void"), [s, m] = F(), R = fe((n) => n.config), d = he(), f = pe(), S = J(), c = me(), t = Re(), p = Y(), C = Se(), O = Ee(), {
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: c[0],
95
- folderId: c[0].id
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 ne();
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
- r === 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"), oe = i("share");
156
- function ne() {
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, ...c],
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: o,
171
- isMoveModalOpen: r === "move",
170
+ isActionBarOpen: c,
171
+ isMoveModalOpen: o === "move",
172
172
  onMoveCancel: A,
173
173
  onMoveSuccess: H,
174
- isDeleteModalOpen: r === "delete",
174
+ isDeleteModalOpen: o === "delete",
175
175
  onDeleteCancel: k,
176
176
  onDeleteSuccess: U,
177
- isPublishModalOpen: r === "publish",
177
+ isPublishModalOpen: o === "publish",
178
178
  onPublishCancel: X,
179
179
  onPublishSuccess: h,
180
- isEditFolderOpen: r === "edit_folder",
180
+ isEditFolderOpen: o === "edit_folder",
181
181
  onEditFolderCancel: W,
182
182
  onEditFolderSuccess: Z,
183
- isEditResourceOpen: r === "edit_resource",
183
+ isEditResourceOpen: o === "edit_resource",
184
184
  onEditResourceCancel: se,
185
185
  onEditResourceSuccess: ee,
186
- isShareResourceOpen: r === "share",
187
- onShareResourceCancel: oe,
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: o,
193
+ resourceRights: c,
194
194
  roleExpected: e,
195
- action: r,
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: o,
208
- action: r == null ? void 0 : r.id
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(r)) }) : /* @__PURE__ */ u(j, {});
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: o
219
+ t: c
226
220
  } = q(), {
227
221
  actions: e,
228
- selectedElement: r,
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: c,
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: r, roleExpected: h.right, action: h, children: /* @__PURE__ */ u(G, { id: h.id, type: "button", color: "primary", variant: "filled", onClick: () => {
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: o(f(h)) }, h.id) }, h.id)) }) })),
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: c }),
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 d, Fragment as p, jsx as e } from "react/jsx-runtime";
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 R, useOdeClient as S, Button as h, LoadingScreen as O } from "@edifice-ui/react";
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 [o, r] = R(), {
13
+ const [r, o] = S(), {
16
14
  appCode: n
17
- } = S(), {
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(p, { children: [
26
- /* @__PURE__ */ e(h, { type: "button", color: "primary", variant: "filled", leftIcon: /* @__PURE__ */ e(g, {}), className: "ms-auto", onClick: () => {
27
- a(), c(), r();
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(O, {}), children: o && /* @__PURE__ */ e(I, { mode: "create", actions: t, currentFolder: i, createResource: u, isOpen: o, onSuccess: r, onCancel: r }) })
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 {
@@ -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 n } from "react-dom";
4
- import { useTranslation as d } from "react-i18next";
5
- function u({
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
- } = d();
12
- return /* @__PURE__ */ n(/* @__PURE__ */ a(r, { isOpen: l, onModalClose: t, id: "trash_action_disable_resource", children: [
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
- u as default
19
+ h as default
20
20
  };
package/lib/Library.js CHANGED
@@ -1,15 +1,20 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import { useOdeTheme as i, useLibraryUrl as s, usePaths as l, Library as b } from "@edifice-ui/react";
3
- import { useTranslation as n } from "react-i18next";
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: r
7
- } = n(), {
8
- theme: t
9
- } = i(), {
10
- libraryUrl: a
11
- } = s(), [e] = l();
12
- return /* @__PURE__ */ o(b, { src: `${e}/${t == null ? void 0 : t.bootstrapVersion}/image-library.svg`, url: a, alt: r("explorer.libray.img.alt"), text: r("explorer.libray.title"), textButton: r("explorer.libray.btn") });
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
@@ -0,0 +1,5 @@
1
+ import "@edifice-ui/react";
2
+ import { OnboardingModal as n } from "@edifice-ui/react";
3
+ export {
4
+ n as default
5
+ };
@@ -0,0 +1,5 @@
1
+ import "@edifice-ui/react";
2
+ import { PublishModal as d } from "@edifice-ui/react";
3
+ export {
4
+ d as default
5
+ };
@@ -0,0 +1,5 @@
1
+ import "@edifice-ui/react";
2
+ import { ResourceModal as d } from "@edifice-ui/react";
3
+ export {
4
+ d as default
5
+ };
@@ -0,0 +1,5 @@
1
+ import "@edifice-ui/react";
2
+ import { ShareModal as d } from "@edifice-ui/react";
3
+ export {
4
+ d as default
5
+ };
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 s } from "react-i18next";
4
+ import { useTranslation as n } from "react-i18next";
5
5
  function h({
6
6
  isOpen: l,
7
- onCancel: e = () => ({})
7
+ onCancel: t = () => ({})
8
8
  }) {
9
9
  const {
10
- t
11
- } = s();
12
- return /* @__PURE__ */ i(/* @__PURE__ */ a(r, { isOpen: l, onModalClose: e, id: "trash_resource", children: [
13
- /* @__PURE__ */ o(r.Header, { onModalClose: () => e(), children: t("explorer.trash.modal.title") }),
14
- /* @__PURE__ */ o(r.Body, { children: /* @__PURE__ */ o("p", { className: "body", children: t("explorer.trash.modal.text") }) }),
15
- /* @__PURE__ */ o(r.Footer, { children: /* @__PURE__ */ o(d, { color: "primary", onClick: e, type: "button", variant: "outline", children: t("close") }) })
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 {
@@ -0,0 +1,2 @@
1
+ import { OnboardingModal } from "@edifice-ui/react";
2
+ export default OnboardingModal;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export default function ActionResourceDisableModal({ isOpen, onCancel, }: {
2
+ export default function DisableModal({ isOpen, onCancel, }: {
3
3
  isOpen: boolean;
4
4
  onCancel?: () => void;
5
5
  }): import("react").ReactPortal;
@@ -0,0 +1,2 @@
1
+ import { PublishModal } from "@edifice-ui/react";
2
+ export default PublishModal;
@@ -0,0 +1,2 @@
1
+ import { ResourceModal } from "@edifice-ui/react";
2
+ export default ResourceModal;
@@ -0,0 +1,2 @@
1
+ import { ShareModal } from "@edifice-ui/react";
2
+ export default ShareModal;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export default function TrashedResourceModal({ isOpen, onCancel, }: {
2
+ export default function TrashModal({ isOpen, onCancel, }: {
3
3
  isOpen: boolean;
4
4
  onCancel?: () => void;
5
5
  }): import("react").ReactPortal;