ode-explorer 1.4.2-develop.202405271112 → 1.4.2-develop.202405271353

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 CHANGED
@@ -60786,7 +60786,7 @@ function useZendeskGuide() {
60786
60786
  dataModule != null && dataModule.labels && Object.prototype.hasOwnProperty.call(dataModule == null ? void 0 : dataModule.labels, moduleLabel) ? labels = dataModule == null ? void 0 : dataModule.labels[moduleLabel] : dataModule != null && dataModule.default && String(dataModule.default).length > 0 && (labels = dataModule == null ? void 0 : dataModule.default);
60787
60787
  } else
60788
60788
  dataModule != null && dataModule.default && String(dataModule == null ? void 0 : dataModule.default).length > 0 && (labels = dataModule == null ? void 0 : dataModule.default);
60789
- if (labels === "collaborativewall" && isMobileView && modulePathnameSplit.includes("id") && window.zE("webWidget", "hide"), labels.includes("${adml}") && (isAdml ? labels = labels.replace("${adml}", "adml") : labels = labels.replace("/${adml}", "")), labels.includes("${profile}")) {
60789
+ if (modulePathnameSplit.includes("collaborativewall") && modulePathnameSplit.includes("id") && isMobileView && window.zE("webWidget", "hide"), labels.includes("${adml}") && (isAdml ? labels = labels.replace("${adml}", "adml") : labels = labels.replace("/${adml}", "")), labels.includes("${profile}")) {
60790
60790
  const userProfile = ((_a2 = sessionQuery == null ? void 0 : sessionQuery.data) == null ? void 0 : _a2.userProfile[0]) || "";
60791
60791
  labels = labels.replace("${profile}", userProfile.toLowerCase());
60792
60792
  }
@@ -60814,7 +60814,7 @@ function useZendeskGuide() {
60814
60814
  color: {
60815
60815
  theme: zendeskGuideConfig.color || "#ffc400"
60816
60816
  },
60817
- zIndex: 4,
60817
+ zIndex: 3,
60818
60818
  launcher: {
60819
60819
  mobile: {
60820
60820
  labelVisible: true
@@ -60858,8 +60858,6 @@ function useZendeskGuide() {
60858
60858
  }
60859
60859
  }), window.zE("webWidget", "close"), window.open("/support", "_blank"));
60860
60860
  });
60861
- const element = document.querySelector("#myLauncher");
60862
- element && (element.style.zIndex = "2");
60863
60861
  };
60864
60862
  }
60865
60863
  })();
@@ -65819,7 +65817,7 @@ const SearchForm = () => {
65819
65817
  "form",
65820
65818
  {
65821
65819
  noValidate: true,
65822
- className: "bg-light p-16 ps-24 ms-n16 ms-lg-n24 me-n16 position-relative z-3 d-flex gap-8",
65820
+ className: "bg-light p-16 ps-24 ms-n16 ms-lg-n24 me-n16 position-relative d-flex gap-8",
65823
65821
  ref: formRef,
65824
65822
  children: [
65825
65823
  /* @__PURE__ */ jsxRuntimeExports.jsxs(FormControl$1, { id: "search", className: "input-group", children: [
@@ -67103,8 +67101,8 @@ function ActionBarContainer() {
67103
67101
  return isActionBarOpen2 && /* @__PURE__ */ jsxRuntimeExports.jsx(
67104
67102
  animated.div,
67105
67103
  {
67106
- className: "position-fixed bottom-0 start-0 end-0 z-3",
67107
- style,
67104
+ className: "position-fixed bottom-0 start-0 end-0",
67105
+ style: { ...style, zIndex: 4 },
67108
67106
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(ActionBar$1$1, { children: actions == null ? void 0 : actions.filter(
67109
67107
  (action) => action.available && action.target === "actionbar"
67110
67108
  ).map((action) => {
package/dist/version.txt CHANGED
@@ -1 +1 @@
1
- ode-explorer=1.0-b2school-SNAPSHOT 27/05/2024 11:12:47
1
+ ode-explorer=1.0-b2school-SNAPSHOT 27/05/2024 13:53:27
@@ -4,7 +4,7 @@ import { useUser as pe, Button as W, useOdeClient as he, ActionBar as fe, Loadin
4
4
  import { useTransition as Oe, animated as ye } from "@react-spring/web";
5
5
  import { useTranslation as ee } from "react-i18next";
6
6
  import { odeServices as D, ACTION as c } from "edifice-ts-client";
7
- import { e as X, f as be, b as ve, h as Ae, i as se, j as Ie, k as Me, l as ge, m as Pe, d as we, n as Fe, u as te, a as xe, o as Te, p as Be, q as De } from "./index2.js";
7
+ import { e as X, f as be, b as ve, h as Ae, i as se, j as Ie, k as Me, l as ge, m as Pe, d as we, n as xe, u as te, a as Fe, o as Te, p as Be, q as De } from "./index2.js";
8
8
  import "@edifice-ui/icons";
9
9
  import "i18next";
10
10
  import "zustand";
@@ -66,15 +66,15 @@ function Le({
66
66
  };
67
67
  }
68
68
  function oe() {
69
- const [n, o] = L(!1), [s, d] = L("void"), [t, S] = L(), h = be((e) => e.config), R = ve(), p = Ae(), f = se(), l = Ie(), r = Me(), m = X(), b = ge(), v = Pe(), g = we(), _ = Fe(), {
69
+ const [n, o] = L(!1), [s, d] = L("void"), [t, S] = L(), h = be((e) => e.config), R = ve(), p = Ae(), f = se(), l = Ie(), r = Me(), m = X(), b = ge(), v = Pe(), g = we(), _ = xe(), {
70
70
  openResource: N,
71
71
  printSelectedResource: P,
72
72
  openFolder: k,
73
73
  clearSelectedItems: w,
74
- clearSelectedIds: F
74
+ clearSelectedIds: x
75
75
  } = te(), {
76
76
  data: H
77
- } = xe();
77
+ } = Fe();
78
78
  Z(() => {
79
79
  if (p.length === 0 && r.length === 0) {
80
80
  o(!1);
@@ -103,7 +103,7 @@ function oe() {
103
103
  case c.DELETE:
104
104
  return d("delete");
105
105
  case c.RESTORE:
106
- return await x();
106
+ return await F();
107
107
  case c.PUBLISH:
108
108
  return d("publish");
109
109
  case c.UPD_PROPS:
@@ -143,7 +143,7 @@ function oe() {
143
143
  }
144
144
  }
145
145
  const j = () => !0;
146
- async function x() {
146
+ async function F() {
147
147
  try {
148
148
  if (m)
149
149
  await b.mutate();
@@ -159,12 +159,12 @@ function oe() {
159
159
  d("void"), t != null && t.id && ((e = document.getElementById(t == null ? void 0 : t.id)) == null || e.focus());
160
160
  }
161
161
  const i = (e) => () => {
162
- s === e && (A(), w(), F());
162
+ s === e && (A(), w(), x());
163
163
  }, J = i("move"), E = i("move"), z = i("delete"), T = i("delete"), V = i("publish"), I = i("publish"), M = i("edit_folder"), u = i("edit_folder"), $ = i("edit_resource"), q = i("edit_resource"), ne = i("share"), re = i("share"), ce = i("export"), ae = i("export");
164
164
  async function ie() {
165
165
  if (f && f.length > 0) {
166
166
  const e = f[0];
167
- await _.mutate(e), w(), F();
167
+ await _.mutate(e), w(), x();
168
168
  }
169
169
  }
170
170
  function le() {
@@ -181,7 +181,7 @@ function oe() {
181
181
  return e.id === "edit" && r.length > 0 ? "explorer.rename" : `explorer.actions.${e.id}`;
182
182
  }
183
183
  return {
184
- onRestore: x,
184
+ onRestore: F,
185
185
  actions: m ? h == null ? void 0 : h.trashActions : H,
186
186
  selectedElement: [...f, ...l],
187
187
  currentFolderId: R == null ? void 0 : R.id,
@@ -263,12 +263,12 @@ function es() {
263
263
  isExportModalOpen: P,
264
264
  onExportCancel: k,
265
265
  onExportSuccess: w,
266
- onMoveCancel: F,
266
+ onMoveCancel: x,
267
267
  onMoveSuccess: H,
268
268
  onDeleteCancel: U,
269
269
  onDeleteSuccess: Y,
270
270
  onPublishCancel: j,
271
- onPublishSuccess: x,
271
+ onPublishSuccess: F,
272
272
  isActivable: A,
273
273
  handleClick: i
274
274
  } = oe(), E = se()[0], z = Be(n), T = De(n), V = Oe(R, {
@@ -286,13 +286,16 @@ function es() {
286
286
  }
287
287
  });
288
288
  return /* @__PURE__ */ Q(G, { children: [
289
- V((I, M) => M && /* @__PURE__ */ a(ye.div, { className: "position-fixed bottom-0 start-0 end-0 z-3", style: I, children: /* @__PURE__ */ a(fe, { children: s == null ? void 0 : s.filter((u) => u.available && u.target === "actionbar").map((u) => A(u) && /* @__PURE__ */ a(_e, { resourceRights: d, roleExpected: u.right, action: u, children: /* @__PURE__ */ a(W, { id: u.id, type: "button", color: "primary", variant: "filled", onClick: () => {
289
+ V((I, M) => M && /* @__PURE__ */ a(ye.div, { className: "position-fixed bottom-0 start-0 end-0", style: {
290
+ ...I,
291
+ zIndex: 4
292
+ }, children: /* @__PURE__ */ a(fe, { children: s == null ? void 0 : s.filter((u) => u.available && u.target === "actionbar").map((u) => A(u) && /* @__PURE__ */ a(_e, { resourceRights: d, roleExpected: u.right, action: u, children: /* @__PURE__ */ a(W, { id: u.id, type: "button", color: "primary", variant: "filled", onClick: () => {
290
293
  i(u);
291
294
  }, children: o(f(u)) }, u.id) }, u.id)) }) })),
292
295
  /* @__PURE__ */ Q(de, { fallback: /* @__PURE__ */ a(me, {}), children: [
293
- t && /* @__PURE__ */ a(Ue, { isOpen: t, onCancel: F, onSuccess: H }),
296
+ t && /* @__PURE__ */ a(Ue, { isOpen: t, onCancel: x, onSuccess: H }),
294
297
  S && /* @__PURE__ */ a(He, { isOpen: S, onCancel: U, onSuccess: Y }),
295
- h && E && /* @__PURE__ */ a(Ne, { isOpen: h, resourceId: E.assetId, onCancel: j, onSuccess: x }),
298
+ h && E && /* @__PURE__ */ a(Ne, { isOpen: h, resourceId: E.assetId, onCancel: j, onSuccess: F }),
296
299
  p && /* @__PURE__ */ a(Ye, { edit: !0, isOpen: p, onCancel: l, onSuccess: r }),
297
300
  m && E && /* @__PURE__ */ a(ke, { mode: "update", isOpen: m, resourceId: E.assetId, updateResource: T, onCancel: b, onSuccess: v, children: (I, M, u, $, q) => n === "blog" && Re("createPublic", s) && /* @__PURE__ */ a(Se, { appCode: n, isUpdating: M, resource: I, watch: u, setValue: $, register: q }) }),
298
301
  g && E && /* @__PURE__ */ a(Ee, { isOpen: g, resourceId: E.assetId, shareResource: z, onCancel: _, onSuccess: N, children: n === "blog" ? /* @__PURE__ */ a(Ce, { resource: E, updateResource: T }) : null }),
package/lib/index2.js CHANGED
@@ -1294,7 +1294,7 @@ const ft = () => {
1294
1294
  handleKeyPress: f,
1295
1295
  handleSearchSubmit: d
1296
1296
  } = me(), u = t.length > 0 ? t.length : void 0;
1297
- return /* @__PURE__ */ N("form", { noValidate: !0, className: "bg-light p-16 ps-24 ms-n16 ms-lg-n24 me-n16 position-relative z-3 d-flex gap-8", ref: a, children: [
1297
+ return /* @__PURE__ */ N("form", { noValidate: !0, className: "bg-light p-16 ps-24 ms-n16 ms-lg-n24 me-n16 position-relative d-flex gap-8", ref: a, children: [
1298
1298
  /* @__PURE__ */ N(Te, { id: "search", className: "input-group", children: [
1299
1299
  /* @__PURE__ */ c(Fe, { type: "search", placeholder: s("explorer.label.search", {
1300
1300
  ns: e
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ode-explorer",
3
- "version": "1.4.2-develop.202405271112",
3
+ "version": "1.4.2-develop.202405271353",
4
4
  "description": "Edifice Explorer",
5
5
  "homepage": "https://github.com/edificeio/explorer#readme",
6
6
  "bugs": {