ode-explorer 1.4.2-develop-pedago.202403201825 → 1.4.2-develop-pedago.202403271650

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
@@ -63240,7 +63240,7 @@ const Image$1 = /* @__PURE__ */ reactExports.forwardRef(({
63240
63240
  children,
63241
63241
  className
63242
63242
  }) => {
63243
- const title = clsx("card-title body text-break text-truncate text-truncate-1", className);
63243
+ const title = clsx("card-title body text-break text-truncate text-truncate-2", className);
63244
63244
  return /* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: title, children: /* @__PURE__ */ jsxRuntimeExports.jsx("strong", { children }) });
63245
63245
  }, CardTitle$1 = CardTitle, CardUser = ({
63246
63246
  userSrc,
@@ -63750,7 +63750,7 @@ const ImagePicker = /* @__PURE__ */ reactExports.forwardRef(({
63750
63750
  ] }),
63751
63751
  /* @__PURE__ */ jsxRuntimeExports.jsxs(FormControl$1.Label, { children: [
63752
63752
  /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "visually-hidden", children: label }),
63753
- /* @__PURE__ */ jsxRuntimeExports.jsx(Input$1, { accept: "image/*", hidden: true, onChange: handleOnChange, ref: inputRef, size: "sm", type: "file" }),
63753
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Input$1, { accept: "image/jpeg, image/png", hidden: true, onChange: handleOnChange, ref: inputRef, size: "sm", type: "file" }),
63754
63754
  preview ? /* @__PURE__ */ jsxRuntimeExports.jsx(Avatar$1, { alt: "", src: preview, size: "xl" }) : /* @__PURE__ */ jsxRuntimeExports.jsx(AppIcon$1, { app, iconFit: "ratio", size: "160", variant: "rounded" })
63755
63755
  ] })
63756
63756
  ] });
@@ -68596,7 +68596,7 @@ const ResourceCard = ({
68596
68596
  Image$2,
68597
68597
  {
68598
68598
  alt: "",
68599
- src: resource == null ? void 0 : resource.thumbnail,
68599
+ src: `${resource == null ? void 0 : resource.thumbnail}?thumbnail=80x80`,
68600
68600
  objectFit: "cover",
68601
68601
  className: "h-full w-100"
68602
68602
  }
package/dist/version.txt CHANGED
@@ -1 +1 @@
1
- ode-explorer=1.0-b2school-SNAPSHOT 20/03/2024 18:25:47
1
+ ode-explorer=1.0-b2school-SNAPSHOT 27/03/2024 16:51:10
@@ -34,7 +34,7 @@ const P = ({
34
34
  } = A();
35
35
  return /* @__PURE__ */ s(j, { app: a, isSelected: n, isSelectable: d, onClick: o, onSelect: e, children: (h) => /* @__PURE__ */ g(J, { children: [
36
36
  /* @__PURE__ */ g(j.Body, { children: [
37
- /* @__PURE__ */ s("div", { className: "card-image medium", children: t != null && t.thumbnail ? /* @__PURE__ */ s(C, { alt: "", src: t == null ? void 0 : t.thumbnail, objectFit: "cover", className: "h-full w-100" }) : /* @__PURE__ */ s(B, { app: a, iconFit: "ratio", size: "80", variant: "rounded" }) }),
37
+ /* @__PURE__ */ s("div", { className: "card-image medium", children: t != null && t.thumbnail ? /* @__PURE__ */ s(C, { alt: "", src: `${t == null ? void 0 : t.thumbnail}?thumbnail=80x80`, objectFit: "cover", className: "h-full w-100" }) : /* @__PURE__ */ s(B, { app: a, iconFit: "ratio", size: "80", variant: "rounded" }) }),
38
38
  /* @__PURE__ */ g("div", { className: "text-truncate", children: [
39
39
  /* @__PURE__ */ s(j.Title, { children: t == null ? void 0 : t.name }),
40
40
  /* @__PURE__ */ s(j.Text, { children: /* @__PURE__ */ s("em", { children: i }) })
@@ -74,7 +74,7 @@ var w = { exports: {} }, Ye = w.exports;
74
74
  return o.fromToBase(r, _, m, h);
75
75
  }
76
76
  d.en.relativeTime = e, o.fromToBase = function(r, _, m, h, v) {
77
- for (var Y, M, y, L = m.$locale().relativeTime || e, T = i.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], $ = T.length, u = 0; u < $; u += 1) {
77
+ for (var Y, M, y, L = m.$locale().relativeTime || e, T = i.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], R = T.length, u = 0; u < R; u += 1) {
78
78
  var f = T[u];
79
79
  f.d && (Y = h ? d(r).diff(m, f.d, !0) : m.diff(r, f.d, !0));
80
80
  var c = (i.rounding || Math.round)(Math.abs(Y));
@@ -160,7 +160,7 @@ var N = { exports: {} }, Se = N.exports;
160
160
  });
161
161
  })(N, N.exports);
162
162
  var De = N.exports;
163
- var O = { exports: {} }, we = O.exports;
163
+ var $ = { exports: {} }, we = $.exports;
164
164
  (function(a, t) {
165
165
  (function(i, n) {
166
166
  a.exports = n(b);
@@ -174,9 +174,9 @@ var O = { exports: {} }, we = O.exports;
174
174
  } };
175
175
  return d.default.locale(o, null, !0), o;
176
176
  });
177
- })(O, O.exports);
178
- var He = O.exports;
179
- var R = { exports: {} }, ke = R.exports;
177
+ })($, $.exports);
178
+ var He = $.exports;
179
+ var O = { exports: {} }, ke = O.exports;
180
180
  (function(a, t) {
181
181
  (function(i, n) {
182
182
  a.exports = n(b);
@@ -190,10 +190,10 @@ var R = { exports: {} }, ke = R.exports;
190
190
  } };
191
191
  return d.default.locale(o, null, !0), o;
192
192
  });
193
- })(R, R.exports);
194
- var Ne = R.exports;
193
+ })(O, O.exports);
194
+ var Ne = O.exports;
195
195
  b.extend(se);
196
- const Oe = ({
196
+ const $e = ({
197
197
  data: a,
198
198
  fetchNextPage: t
199
199
  }) => {
@@ -226,9 +226,9 @@ const Oe = ({
226
226
  }
227
227
  r([...e, u.id]), l([...p, u]);
228
228
  }
229
- const $ = V("grid ps-0 list-unstyled");
229
+ const R = V("grid ps-0 list-unstyled");
230
230
  return /* @__PURE__ */ g(F.Fragment, { children: [
231
- /* @__PURE__ */ s(z.ul, { className: $, children: a == null ? void 0 : a.pages.map((u, f) => (
231
+ /* @__PURE__ */ s(z.ul, { className: R, children: a == null ? void 0 : a.pages.map((u, f) => (
232
232
  // eslint-disable-next-line react/no-array-index-key
233
233
  /* @__PURE__ */ s(F.Fragment, { children: u.resources.map((c) => {
234
234
  const {
@@ -245,5 +245,5 @@ const Oe = ({
245
245
  ] });
246
246
  };
247
247
  export {
248
- Oe as default
248
+ $e as default
249
249
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ode-explorer",
3
- "version": "1.4.2-develop-pedago.202403201825",
3
+ "version": "1.4.2-develop-pedago.202403271650",
4
4
  "description": "Edifice Explorer",
5
5
  "homepage": "https://github.com/edificeio/explorer#readme",
6
6
  "bugs": {