@abyss-project/commons-front-core 1.0.33 → 1.0.34

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.
@@ -4,7 +4,7 @@ type Props = {
4
4
  allNotificationPath?: string;
5
5
  getProfilePictureUrl: (id: string) => string;
6
6
  services: AbyssService[];
7
- shouldDisplayActionButton: (notification: IUserNotification & NotificationDTO, user?: IGetPublicUserData['user'][0] | null) => boolean;
7
+ actionButtonText: (notification: IUserNotification & NotificationDTO, user?: IGetPublicUserData['user'][0] | null) => string;
8
8
  handleNotificationActionButton?: (notification: IUserNotification & NotificationDTO, user?: IGetPublicUserData['user'][0] | null) => void;
9
9
  classes: Record<string, string>;
10
10
  };
@@ -18249,7 +18249,7 @@ kl("CapacitorHttp", {
18249
18249
  web: () => new IM()
18250
18250
  });
18251
18251
  const qM = kl("Share", {
18252
- web: () => import("./web-Dw6HQ5_0.js").then((e) => new e.ShareWeb())
18252
+ web: () => import("./web-Blyjvl03.js").then((e) => new e.ShareWeb())
18253
18253
  });
18254
18254
  class OM extends yh {
18255
18255
  async write(t) {
@@ -23748,7 +23748,7 @@ const WB = () => {
23748
23748
  allNotificationPath: t,
23749
23749
  handleNotificationActionButton: r,
23750
23750
  services: n,
23751
- shouldDisplayActionButton: a
23751
+ actionButtonText: a
23752
23752
  }) => {
23753
23753
  const [o, l] = Pr.useState(null), [c, d] = Pr.useState(!1), [f, m] = Ce([]), [h, y] = Ce(0), [S, C] = Ce([]), v = Ut(), I = de(async () => {
23754
23754
  const R = await R9({
@@ -23894,7 +23894,10 @@ const WB = () => {
23894
23894
  className: "customScrollBar",
23895
23895
  children: /* @__PURE__ */ g(At, { spacing: 1, children: f.length ? f.map((R) => {
23896
23896
  const T = S.find(
23897
- (q) => q.id === R.data.userId
23897
+ (U) => U.id === R.data.userId
23898
+ ), q = a(
23899
+ R,
23900
+ T
23898
23901
  );
23899
23902
  return /* @__PURE__ */ g(
23900
23903
  N,
@@ -24027,10 +24030,7 @@ const WB = () => {
24027
24030
  )
24028
24031
  }
24029
24032
  ),
24030
- r && a(
24031
- R,
24032
- T || null
24033
- ) && /* @__PURE__ */ g(
24033
+ r && q && /* @__PURE__ */ g(
24034
24034
  We,
24035
24035
  {
24036
24036
  size: "small",
@@ -24055,7 +24055,7 @@ const WB = () => {
24055
24055
  T || null
24056
24056
  ), V(R), d(!1);
24057
24057
  },
24058
- children: v.formatRichMessage({ id: "general.open" })
24058
+ children: q
24059
24059
  }
24060
24060
  )
24061
24061
  ] })
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { V as o, c as e, a as r, b as t, ah as i, ai as A, aj as d, y as l, ak as C, z as n, G as L, B as S, al as y, m as I, am as g, an as u, ao as b, A as p, Z as T, a3 as D, $ as _, Y as c, C as m, j as P, ap as R, s as O, u as F, t as h, q as B, K as E, N as M, D as N, ag as U, l as f, E as v, a0 as j, F as k, v as x, g as H, _ as W, I as X, n as w, o as G, h as Z, x as K, J as V, L as q, ae as Q, ac as Y, ad as z, M as J, H as $, af as aa, r as sa, k as oa, P as ea, R as ra, X as ta, d as ia, T as Aa, O as da, Q as la, a1 as Ca, S as na, a4 as La, a2 as Sa, U as ya, p as Ia, i as ga, w as ua, e as ba, f as pa, a5 as Ta, as as Da, a7 as _a, at as ca, aa as ma, a8 as Pa, a6 as Ra, a9 as Oa, aq as Fa, ar as ha, ab as Ba } from "./index-Dx7UwNTX.js";
1
+ import { V as o, c as e, a as r, b as t, ah as i, ai as A, aj as d, y as l, ak as C, z as n, G as L, B as S, al as y, m as I, am as g, an as u, ao as b, A as p, Z as T, a3 as D, $ as _, Y as c, C as m, j as P, ap as R, s as O, u as F, t as h, q as B, K as E, N as M, D as N, ag as U, l as f, E as v, a0 as j, F as k, v as x, g as H, _ as W, I as X, n as w, o as G, h as Z, x as K, J as V, L as q, ae as Q, ac as Y, ad as z, M as J, H as $, af as aa, r as sa, k as oa, P as ea, R as ra, X as ta, d as ia, T as Aa, O as da, Q as la, a1 as Ca, S as na, a4 as La, a2 as Sa, U as ya, p as Ia, i as ga, w as ua, e as ba, f as pa, a5 as Ta, as as Da, a7 as _a, at as ca, aa as ma, a8 as Pa, a6 as Ra, a9 as Oa, aq as Fa, ar as ha, ab as Ba } from "./index-DS_ZOvzV.js";
2
2
  export {
3
3
  o as ABYSS_LINK,
4
4
  e as AVATAR_BASE_SX,
@@ -1,4 +1,4 @@
1
- import { W as a } from "./index-Dx7UwNTX.js";
1
+ import { W as a } from "./index-DS_ZOvzV.js";
2
2
  class n extends a {
3
3
  async canShare() {
4
4
  return typeof navigator > "u" || !navigator.share ? { value: !1 } : { value: !0 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abyss-project/commons-front-core",
3
- "version": "1.0.33",
3
+ "version": "1.0.34",
4
4
  "description": "Front Core package of AbyssProject",
5
5
  "main": "dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -64,7 +64,7 @@
64
64
  "use-debounce": "^10.0.5",
65
65
  "uuid": "^9.0.0",
66
66
  "yup": "^0.32.11",
67
- "@abyss-project/main": "1.0.34"
67
+ "@abyss-project/main": "1.0.36"
68
68
  },
69
69
  "devDependencies": {
70
70
  "@types/byte-size": "^8.1.0",