@abyss-project/commons-front-core 1.0.56 → 1.0.58

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.
@@ -25,6 +25,7 @@ type Props = {
25
25
  categories: ICategory[];
26
26
  classes: Record<string, string>;
27
27
  handleOpenCommentModal?: () => void;
28
+ customActions?: React.ReactNode;
28
29
  };
29
30
  declare const _default: React.JSXElementConstructor<Omit<Props & {
30
31
  children?: React.ReactNode;
@@ -1 +1,2 @@
1
1
  export { default as AccountTransactionsRow } from './AccountTransactionsRow.component';
2
+ export * from './AccountTransactionsRow.component';
@@ -1,7 +1,7 @@
1
1
  var c9 = Object.defineProperty;
2
2
  var u9 = (e, t, r) => t in e ? c9(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
3
  var za = (e, t, r) => u9(e, typeof t != "symbol" ? t + "" : t, r);
4
- import { jsx as h, jsxs as z, Fragment as ze } from "react/jsx-runtime";
4
+ import { jsx as h, jsxs as z, Fragment as Qe } from "react/jsx-runtime";
5
5
  import * as me from "react";
6
6
  import Pr, { createElement as ht, useRef as It, useLayoutEffect as Fx, useEffect as He, useReducer as Px, useState as be, isValidElement as an, cloneElement as qi, useCallback as de, useMemo as Sn, createContext as kx, forwardRef as Dx, useContext as W0, Children as d9, useImperativeHandle as f9, Fragment as p9 } from "react";
7
7
  import { alpha as ae, createTheme as h9, Paper as ml, Stack as gt, Typography as fe, Box as k, Button as _e, Tooltip as zr, Avatar as _0, CircularProgress as sr, Skeleton as j0, Chip as bo, TextField as Jn, InputAdornment as Mx, Grid as kr, Pagination as g9, styled as Di, Dialog as G0, Popover as vl, Checkbox as Nx, Collapse as Y0, Select as Q0, MenuItem as yl, IconButton as zt, FormLabel as Gn, DialogTitle as Ra, DialogContent as Mi, DialogActions as z0, ListItem as du, ListItemText as m9, ListItemButton as dm, List as v9, Badge as y9, useTheme as Kx, Menu as b9, Divider as wi, Fade as x9, Input as S9, Link as C9, CssBaseline as A9, Drawer as fm, AppBar as w9, Toolbar as E9, FormControl as T9, InputLabel as R9 } from "@mui/material";
@@ -3081,7 +3081,7 @@ const Ke = (e, t = {}) => (r) => {
3081
3081
  ABYSS_PRIMARY_SMALLER4_INSET: "inset 0px 0px 2px 1px rgba(116, 114, 219, .3)",
3082
3082
  ABYSS_PRIMARY_SMALL: "0px 0px 7px 2px rgba(116, 114, 219, 0.3)",
3083
3083
  ABYSS_PRIMARY_SMALL_INSET: "inset 0px 0px 7px 2px rgba(116, 114, 219, 1)"
3084
- }, Qe = {
3084
+ }, ze = {
3085
3085
  FASTER: "ease-in-out 0.1s all",
3086
3086
  FASTER_2: "ease-in-out 0.15s all",
3087
3087
  FAST: "ease-in-out 0.2s all",
@@ -3257,7 +3257,7 @@ const Ke = (e, t = {}) => (r) => {
3257
3257
  backgroundColor: "rgba(255, 255, 255, 0.05)",
3258
3258
  border: `1px solid ${I.abyssPrimary}33`,
3259
3259
  borderRadius: "8px",
3260
- transition: Qe.NORMAL,
3260
+ transition: ze.NORMAL,
3261
3261
  "&:before, &:after": {
3262
3262
  borderBottom: "none"
3263
3263
  },
@@ -3301,7 +3301,7 @@ const Ke = (e, t = {}) => (r) => {
3301
3301
  "& .MuiOutlinedInput-root": {
3302
3302
  backgroundColor: "rgba(255, 255, 255, 0.08)",
3303
3303
  borderRadius: "8px",
3304
- transition: Qe.NORMAL,
3304
+ transition: ze.NORMAL,
3305
3305
  "&:hover": {
3306
3306
  backgroundColor: "rgba(255, 255, 255, 0.08)",
3307
3307
  borderColor: `${I.abyssPrimary}66`
@@ -3333,7 +3333,7 @@ const Ke = (e, t = {}) => (r) => {
3333
3333
  borderRadius: e.spacing(1),
3334
3334
  padding: e.spacing(1, 1.5),
3335
3335
  boxShadow: Ct.DARK,
3336
- transition: Qe.NORMAL,
3336
+ transition: ze.NORMAL,
3337
3337
  "&:hover": {
3338
3338
  boxShadow: Ct.DARKER,
3339
3339
  transform: "translateY(-1px)"
@@ -3389,7 +3389,7 @@ const Ke = (e, t = {}) => (r) => {
3389
3389
  borderRadius: "8px",
3390
3390
  padding: "12px",
3391
3391
  boxShadow: Ct.DARK,
3392
- transition: Qe.NORMAL,
3392
+ transition: ze.NORMAL,
3393
3393
  "&:hover": {
3394
3394
  background: `linear-gradient(45deg, ${I.abyssPrimary}dd 30%, ${I.greyLight3}dd 90%)`,
3395
3395
  boxShadow: Ct.DARKER,
@@ -3458,7 +3458,7 @@ const Ke = (e, t = {}) => (r) => {
3458
3458
  cursor: "pointer",
3459
3459
  display: "flex",
3460
3460
  alignItems: "center",
3461
- transition: Qe.NORMAL,
3461
+ transition: ze.NORMAL,
3462
3462
  "&:hover": {
3463
3463
  backgroundColor: `${I.abyssPrimary}10`
3464
3464
  }
@@ -3467,7 +3467,7 @@ const Ke = (e, t = {}) => (r) => {
3467
3467
  cursor: "pointer",
3468
3468
  display: "flex",
3469
3469
  alignItems: "center",
3470
- transition: Qe.NORMAL,
3470
+ transition: ze.NORMAL,
3471
3471
  "&:hover": {
3472
3472
  backgroundColor: `${I.abyssPrimary}10`
3473
3473
  },
@@ -5103,7 +5103,7 @@ const gq = ({
5103
5103
  }),
5104
5104
  children: /* @__PURE__ */ h(z9, { fontSize: "small", color: "warning" })
5105
5105
  }
5106
- ) : /* @__PURE__ */ h(ze, {}),
5106
+ ) : /* @__PURE__ */ h(Qe, {}),
5107
5107
  /* @__PURE__ */ h(
5108
5108
  fe,
5109
5109
  {
@@ -5111,7 +5111,7 @@ const gq = ({
5111
5111
  sx: {
5112
5112
  fontWeight: 600,
5113
5113
  color: I.greySuperLight2,
5114
- transition: Qe.FASTER,
5114
+ transition: ze.FASTER,
5115
5115
  "&:hover": {
5116
5116
  textDecoration: "underline",
5117
5117
  color: I.abyssPrimary
@@ -5208,12 +5208,12 @@ const gq = ({
5208
5208
  }
5209
5209
  )
5210
5210
  ] }) }, d.cloud.id);
5211
- }) : /* @__PURE__ */ h(ze, {}) })
5211
+ }) : /* @__PURE__ */ h(Qe, {}) })
5212
5212
  ] });
5213
5213
  }, mq = () => ({}), h_ = Ke(mq)(gq), R3 = 32, I3 = 0.625, nh = {
5214
5214
  border: 2,
5215
5215
  borderColor: I.greySuperLight2,
5216
- transition: Qe.FAST,
5216
+ transition: ze.FAST,
5217
5217
  backgroundColor: I.grey
5218
5218
  }, vq = ({
5219
5219
  userId: e,
@@ -5237,7 +5237,7 @@ const gq = ({
5237
5237
  ...n || {}
5238
5238
  },
5239
5239
  children: [
5240
- !d && !l && r ? /* @__PURE__ */ h(k, { display: "flex", alignItems: "center", justifyContent: "center", children: /* @__PURE__ */ h(sr, { size: g * I3 }) }) : l || !r ? /* @__PURE__ */ h(fe, { color: I.white, textTransform: "uppercase", children: t.charAt(0) }) : /* @__PURE__ */ h(ze, {}),
5240
+ !d && !l && r ? /* @__PURE__ */ h(k, { display: "flex", alignItems: "center", justifyContent: "center", children: /* @__PURE__ */ h(sr, { size: g * I3 }) }) : l || !r ? /* @__PURE__ */ h(fe, { color: I.white, textTransform: "uppercase", children: t.charAt(0) }) : /* @__PURE__ */ h(Qe, {}),
5241
5241
  r ? /* @__PURE__ */ h(
5242
5242
  "img",
5243
5243
  {
@@ -5252,7 +5252,7 @@ const gq = ({
5252
5252
  onError: () => c(!0),
5253
5253
  onLoad: () => f(!0)
5254
5254
  }
5255
- ) : /* @__PURE__ */ h(ze, {})
5255
+ ) : /* @__PURE__ */ h(Qe, {})
5256
5256
  ]
5257
5257
  }
5258
5258
  );
@@ -5278,7 +5278,7 @@ const gq = ({
5278
5278
  ...n || {}
5279
5279
  },
5280
5280
  children: [
5281
- !d && !l && r ? /* @__PURE__ */ h(k, { display: "flex", alignItems: "center", justifyContent: "center", children: /* @__PURE__ */ h(sr, { size: g * I3 }) }) : l || !r ? /* @__PURE__ */ h(fe, { color: I.white, textTransform: "uppercase", children: t.charAt(0) }) : /* @__PURE__ */ h(ze, {}),
5281
+ !d && !l && r ? /* @__PURE__ */ h(k, { display: "flex", alignItems: "center", justifyContent: "center", children: /* @__PURE__ */ h(sr, { size: g * I3 }) }) : l || !r ? /* @__PURE__ */ h(fe, { color: I.white, textTransform: "uppercase", children: t.charAt(0) }) : /* @__PURE__ */ h(Qe, {}),
5282
5282
  r ? /* @__PURE__ */ h(
5283
5283
  "img",
5284
5284
  {
@@ -5293,7 +5293,7 @@ const gq = ({
5293
5293
  onError: () => c(!0),
5294
5294
  onLoad: () => f(!0)
5295
5295
  }
5296
- ) : /* @__PURE__ */ h(ze, {})
5296
+ ) : /* @__PURE__ */ h(Qe, {})
5297
5297
  ]
5298
5298
  }
5299
5299
  );
@@ -5328,7 +5328,7 @@ const gq = ({
5328
5328
  },
5329
5329
  `event_member_preview_${o.id}`
5330
5330
  )) }),
5331
- r ? /* @__PURE__ */ h(fe, { variant: "body2", ml: 0.5, color: I.greyLight2, children: r }) : /* @__PURE__ */ h(ze, {})
5331
+ r ? /* @__PURE__ */ h(fe, { variant: "body2", ml: 0.5, color: I.greyLight2, children: r }) : /* @__PURE__ */ h(Qe, {})
5332
5332
  ] }) : /* @__PURE__ */ h(k, { height: "25px", py: 0.5, width: "100%", children: /* @__PURE__ */ h(j0, { variant: "rounded", width: "100%" }) }) }), Aq = () => ({}), g_ = Ke(Aq)(Cq), wq = ({ level: e }) => /* @__PURE__ */ h(
5333
5333
  bo,
5334
5334
  {
@@ -9307,13 +9307,13 @@ const Pu = 4, Dq = ({ onSelect: e }) => {
9307
9307
  backgroundColor: I.abyssPrimary,
9308
9308
  height: e.spacing(0.4),
9309
9309
  borderRadius: "4px",
9310
- transition: Qe.FAST
9310
+ transition: ze.FAST
9311
9311
  })), S_ = Di(k)(
9312
9312
  ({ theme: e }) => ({
9313
9313
  background: `linear-gradient(135deg, ${I.abyssPrimaryDarker} 0%, ${I.purple} 100%)`,
9314
9314
  height: e.spacing(0.4),
9315
9315
  borderRadius: "4px",
9316
- transition: Qe.FAST
9316
+ transition: ze.FAST
9317
9317
  })
9318
9318
  ), C_ = Di(
9319
9319
  k
@@ -9321,7 +9321,7 @@ const Pu = 4, Dq = ({ onSelect: e }) => {
9321
9321
  background: `linear-gradient(135deg, ${I.abyssPrimaryDarker} 0%, ${I.focusPrimary} 100%)`,
9322
9322
  height: e.spacing(0.4),
9323
9323
  borderRadius: "4px",
9324
- transition: Qe.FAST
9324
+ transition: ze.FAST
9325
9325
  })), Oo = Di(G0)(({}) => ({}));
9326
9326
  var y0;
9327
9327
  try {
@@ -13938,7 +13938,7 @@ const qk = ({
13938
13938
  }, V = !!(r && r < e.sizeOctet), R = !!(n || []).find(
13939
13939
  (O) => O.id === e.id
13940
13940
  ), E = l ? l.includes(e.mimeType || "") : !0;
13941
- return V || !E ? /* @__PURE__ */ h(ze, {}) : /* @__PURE__ */ z(k, { children: [
13941
+ return V || !E ? /* @__PURE__ */ h(Qe, {}) : /* @__PURE__ */ z(k, { children: [
13942
13942
  e.thumbnailPublicAccessId && !C && !m && y ? /* @__PURE__ */ h(
13943
13943
  vl,
13944
13944
  {
@@ -13976,13 +13976,13 @@ const qk = ({
13976
13976
  )
13977
13977
  ] })
13978
13978
  }
13979
- ) : /* @__PURE__ */ h(ze, {}),
13979
+ ) : /* @__PURE__ */ h(Qe, {}),
13980
13980
  /* @__PURE__ */ z(
13981
13981
  k,
13982
13982
  {
13983
13983
  display: "flex",
13984
13984
  sx: {
13985
- transition: Qe.FAST
13985
+ transition: ze.FAST
13986
13986
  },
13987
13987
  alignItems: "center",
13988
13988
  borderRadius: "6px",
@@ -13998,14 +13998,14 @@ const qk = ({
13998
13998
  size: "small",
13999
13999
  sx: { p: 0.6 }
14000
14000
  }
14001
- ) : /* @__PURE__ */ h(ze, {}),
14001
+ ) : /* @__PURE__ */ h(Qe, {}),
14002
14002
  /* @__PURE__ */ h(
14003
14003
  _e,
14004
14004
  {
14005
14005
  disabled: V,
14006
14006
  fullWidth: !0,
14007
14007
  sx: {
14008
- transition: Qe.FASTER,
14008
+ transition: ze.FASTER,
14009
14009
  justifyContent: "inherit",
14010
14010
  py: 0.6,
14011
14011
  px: R ? 1.5 : ""
@@ -14035,7 +14035,7 @@ const qk = ({
14035
14035
  onLoad: () => S(!0)
14036
14036
  }
14037
14037
  ),
14038
- !y && !m ? /* @__PURE__ */ h(sr, { size: "20px" }) : /* @__PURE__ */ h(ze, {})
14038
+ !y && !m ? /* @__PURE__ */ h(sr, { size: "20px" }) : /* @__PURE__ */ h(Qe, {})
14039
14039
  ]
14040
14040
  }
14041
14041
  ) : /* @__PURE__ */ h(rR, { htmlColor: `${I.abyssPrimaryLighter}` }),
@@ -14049,7 +14049,7 @@ const qk = ({
14049
14049
  fe,
14050
14050
  {
14051
14051
  sx: {
14052
- transition: Qe.FASTER
14052
+ transition: ze.FASTER
14053
14053
  },
14054
14054
  fontWeight: R ? 500 : 400,
14055
14055
  textTransform: "none",
@@ -14097,7 +14097,7 @@ const qk = ({
14097
14097
  bgcolor: V || R ? ae(I.abyssPrimary, 0.25) : "transparent",
14098
14098
  sx: {
14099
14099
  "& *": {
14100
- transition: Qe.FAST
14100
+ transition: ze.FAST
14101
14101
  }
14102
14102
  },
14103
14103
  children: [
@@ -14109,7 +14109,7 @@ const qk = ({
14109
14109
  size: "small",
14110
14110
  sx: { p: 0.6 }
14111
14111
  }
14112
- ) : /* @__PURE__ */ h(ze, {}),
14112
+ ) : /* @__PURE__ */ h(Qe, {}),
14113
14113
  /* @__PURE__ */ h(
14114
14114
  _e,
14115
14115
  {
@@ -14158,7 +14158,7 @@ const qk = ({
14158
14158
  },
14159
14159
  E.id
14160
14160
  )),
14161
- f ? /* @__PURE__ */ h(ze, {}) : (e.childFile || []).map((E) => /* @__PURE__ */ h(
14161
+ f ? /* @__PURE__ */ h(Qe, {}) : (e.childFile || []).map((E) => /* @__PURE__ */ h(
14162
14162
  FS,
14163
14163
  {
14164
14164
  file: E,
@@ -14303,7 +14303,7 @@ const qk = ({
14303
14303
  0,
14304
14304
  l.length - 1
14305
14305
  )}dashboard/cloud${m ? `/${m.id}` : ""}`;
14306
- return /* @__PURE__ */ h(k, { flexGrow: 1, display: "flex", overflow: "hidden", children: a != null && a.enabledService.includes(nn.ABYSS_CLOUD) ? /* @__PURE__ */ h(ze, { children: V && (!y || !C) ? /* @__PURE__ */ h(
14306
+ return /* @__PURE__ */ h(k, { flexGrow: 1, display: "flex", overflow: "hidden", children: a != null && a.enabledService.includes(nn.ABYSS_CLOUD) ? /* @__PURE__ */ h(Qe, { children: V && (!y || !C) ? /* @__PURE__ */ h(
14307
14307
  k,
14308
14308
  {
14309
14309
  display: "flex",
@@ -14643,7 +14643,7 @@ const qk = ({
14643
14643
  j();
14644
14644
  }, []), He(() => {
14645
14645
  P();
14646
- }, [o]), /* @__PURE__ */ h(k, { flexGrow: 1, display: "flex", overflow: "hidden", children: t != null && t.enabledService.includes(nn.ABYSS_CLOUD) ? /* @__PURE__ */ h(ze, { children: v && (!c || !f) ? /* @__PURE__ */ h(
14646
+ }, [o]), /* @__PURE__ */ h(k, { flexGrow: 1, display: "flex", overflow: "hidden", children: t != null && t.enabledService.includes(nn.ABYSS_CLOUD) ? /* @__PURE__ */ h(Qe, { children: v && (!c || !f) ? /* @__PURE__ */ h(
14647
14647
  k,
14648
14648
  {
14649
14649
  display: "flex",
@@ -16366,9 +16366,9 @@ const XD = ({ setStartDate: e, setEndDate: t }) => {
16366
16366
  id: "modal.confirm-modal.title"
16367
16367
  }) }),
16368
16368
  t || r ? /* @__PURE__ */ z(Mi, { className: "customScrollBar", children: [
16369
- t ? /* @__PURE__ */ h(fe, { variant: "body2", children: t }) : /* @__PURE__ */ h(ze, {}),
16369
+ t ? /* @__PURE__ */ h(fe, { variant: "body2", children: t }) : /* @__PURE__ */ h(Qe, {}),
16370
16370
  r
16371
- ] }) : /* @__PURE__ */ h(ze, {}),
16371
+ ] }) : /* @__PURE__ */ h(Qe, {}),
16372
16372
  /* @__PURE__ */ z(z0, { children: [
16373
16373
  /* @__PURE__ */ h(
16374
16374
  _e,
@@ -18311,7 +18311,7 @@ Nl("CapacitorHttp", {
18311
18311
  web: () => new MM()
18312
18312
  });
18313
18313
  const NM = Nl("Share", {
18314
- web: () => import("./web-CKc67auh.js").then((e) => new e.ShareWeb())
18314
+ web: () => import("./web-BwgS72IS.js").then((e) => new e.ShareWeb())
18315
18315
  });
18316
18316
  class KM extends Ch {
18317
18317
  async write(t) {
@@ -23471,7 +23471,7 @@ const XB = () => {
23471
23471
  )
23472
23472
  },
23473
23473
  l.title || "dashboard"
23474
- ) : /* @__PURE__ */ h(ze, {}),
23474
+ ) : /* @__PURE__ */ h(Qe, {}),
23475
23475
  ...l.elements.map((c) => "service" in c ? /* @__PURE__ */ h(du, { disablePadding: !0, children: /* @__PURE__ */ h(
23476
23476
  dm,
23477
23477
  {
@@ -23584,16 +23584,16 @@ const XB = () => {
23584
23584
  flexDirection: "column",
23585
23585
  overflow: "hidden",
23586
23586
  "& .element-icon": {
23587
- transition: Qe.FASTER
23587
+ transition: ze.FASTER
23588
23588
  },
23589
23589
  "& .element-icon-container": {
23590
- transition: Qe.NORMAL
23590
+ transition: ze.NORMAL
23591
23591
  },
23592
23592
  "& .MuiListItemButton-root": {
23593
23593
  py: 1,
23594
23594
  mx: 2,
23595
23595
  my: 1,
23596
- transition: Qe.FAST,
23596
+ transition: ze.FAST,
23597
23597
  "@keyframes notificationRing": {
23598
23598
  "0%": { transform: "rotate(0deg)" },
23599
23599
  "10%": { transform: "rotate(10deg)" },
@@ -23655,7 +23655,7 @@ const XB = () => {
23655
23655
  }
23656
23656
  },
23657
23657
  children: [
23658
- r && /* @__PURE__ */ h(ze, { children: r }),
23658
+ r && /* @__PURE__ */ h(Qe, { children: r }),
23659
23659
  /* @__PURE__ */ h(k, { flexGrow: 1, className: "customScrollBar", children: o })
23660
23660
  ]
23661
23661
  }
@@ -27046,7 +27046,7 @@ const gW = ({
27046
27046
  0.04
27047
27047
  )} 0%, ${ae(I.abyssPrimaryDarker2, 0.04)} 100%)`,
27048
27048
  boxShadow: Ct.DARK,
27049
- transition: Qe.FAST,
27049
+ transition: ze.FAST,
27050
27050
  height: "100%",
27051
27051
  ...c
27052
27052
  },
@@ -27071,7 +27071,7 @@ const gW = ({
27071
27071
  borderRadius: r ? "50%" : Ft.normal2,
27072
27072
  backgroundColor: W ? ae(I.abyssPrimary, 0.08) : So,
27073
27073
  boxShadow: W ? Ct.LIGHT_INSET : Ct.DARK,
27074
- transition: Qe.FAST,
27074
+ transition: ze.FAST,
27075
27075
  cursor: "pointer",
27076
27076
  aspectRatio: r ? "1/1" : void 0,
27077
27077
  minHeight: v ? 0 : r ? pt.largeIcon * 2 : 120,
@@ -27161,7 +27161,7 @@ const gW = ({
27161
27161
  }
27162
27162
  }
27163
27163
  ),
27164
- !m && /* @__PURE__ */ z(ze, { children: [
27164
+ !m && /* @__PURE__ */ z(Qe, { children: [
27165
27165
  /* @__PURE__ */ h(
27166
27166
  vl,
27167
27167
  {
@@ -27474,7 +27474,7 @@ const gW = ({
27474
27474
  }
27475
27475
  )
27476
27476
  }
27477
- ) : /* @__PURE__ */ h(ze, {}),
27477
+ ) : /* @__PURE__ */ h(Qe, {}),
27478
27478
  /* @__PURE__ */ h(
27479
27479
  _e,
27480
27480
  {
@@ -27520,7 +27520,7 @@ const gW = ({
27520
27520
  }
27521
27521
  )
27522
27522
  }
27523
- ) : /* @__PURE__ */ h(ze, {})
27523
+ ) : /* @__PURE__ */ h(Qe, {})
27524
27524
  ] }) })
27525
27525
  }
27526
27526
  ),
@@ -27548,7 +27548,7 @@ const gW = ({
27548
27548
  V(!1);
27549
27549
  }
27550
27550
  }
27551
- ) : /* @__PURE__ */ h(ze, {})
27551
+ ) : /* @__PURE__ */ h(Qe, {})
27552
27552
  ] });
27553
27553
  }, xW = () => ({}), z_ = Ke(xW)(bW), H_ = Di(k)(({}) => ({
27554
27554
  borderColor: `${ae(I.abyssPrimary, 0.6)}`,
@@ -27600,7 +27600,7 @@ const gW = ({
27600
27600
  alignItems: "center",
27601
27601
  justifyContent: "center",
27602
27602
  borderRadius: "16px",
27603
- transition: Qe.FAST,
27603
+ transition: ze.FAST,
27604
27604
  backdropFilter: "blur(10px)",
27605
27605
  backgroundColor: "rgba(255, 255, 255, 0.05)",
27606
27606
  border: "1px solid rgba(255, 255, 255, 0.1)",
@@ -27915,7 +27915,7 @@ const gW = ({
27915
27915
  {
27916
27916
  sx: {
27917
27917
  boxShadow: Ct.DARK,
27918
- transition: Qe.FAST,
27918
+ transition: ze.FAST,
27919
27919
  cursor: "pointer",
27920
27920
  borderRadius: Ft.normal2,
27921
27921
  overflow: "hidden",
@@ -27964,7 +27964,7 @@ const gW = ({
27964
27964
  height: $p,
27965
27965
  sx: {
27966
27966
  background: r ? "transparent" : `linear-gradient(135deg, ${I.abyssPrimaryDarker2} 0%, ${I.abyssPrimaryLighter}30 50%, ${I.abyssPrimaryDarker3} 100%)`,
27967
- transition: Qe.FAST,
27967
+ transition: ze.FAST,
27968
27968
  position: "relative",
27969
27969
  "&::after": r ? {} : {
27970
27970
  content: '""',
@@ -27987,7 +27987,7 @@ const gW = ({
27987
27987
  style: {
27988
27988
  objectFit: "cover",
27989
27989
  filter: "brightness(0.85) contrast(1.1)",
27990
- transition: Qe.FAST
27990
+ transition: ze.FAST
27991
27991
  }
27992
27992
  }
27993
27993
  ),
@@ -28016,7 +28016,7 @@ const gW = ({
28016
28016
  bottom: -pt.largeIcon / 2,
28017
28017
  left: pt.largeIcon / 2,
28018
28018
  sx: {
28019
- transition: Qe.FAST
28019
+ transition: ze.FAST
28020
28020
  },
28021
28021
  children: /* @__PURE__ */ h(
28022
28022
  k,
@@ -28088,7 +28088,7 @@ const gW = ({
28088
28088
  {
28089
28089
  size: "small",
28090
28090
  sx: {
28091
- transition: Qe.FAST,
28091
+ transition: ze.FAST,
28092
28092
  borderRadius: "50%",
28093
28093
  border: `1px solid ${I.abyssPrimaryDarker3}40`,
28094
28094
  bgcolor: `${I.abyssPrimaryDarker3}20`,
@@ -28248,7 +28248,7 @@ const gW = ({
28248
28248
  )
28249
28249
  }
28250
28250
  ) }),
28251
- S ? /* @__PURE__ */ h(k, { mt: 1, children: S }) : /* @__PURE__ */ h(ze, {})
28251
+ S ? /* @__PURE__ */ h(k, { mt: 1, children: S }) : /* @__PURE__ */ h(Qe, {})
28252
28252
  ]
28253
28253
  }
28254
28254
  )
@@ -28330,7 +28330,7 @@ const gW = ({
28330
28330
  k,
28331
28331
  {
28332
28332
  sx: {
28333
- transition: Qe.FAST,
28333
+ transition: ze.FAST,
28334
28334
  "&:hover": {
28335
28335
  transform: "translateY(-5px)"
28336
28336
  }
@@ -28444,7 +28444,7 @@ const gW = ({
28444
28444
  }
28445
28445
  )
28446
28446
  }
28447
- ) : /* @__PURE__ */ h(ze, {})
28447
+ ) : /* @__PURE__ */ h(Qe, {})
28448
28448
  ] });
28449
28449
  }, KW = () => ({}), tj = Ke(KW)(NW), BW = (e) => e === Ri.NONE ? "project.link.none.label" : "project.link.project.label", LW = ({
28450
28450
  abyssProjectId: e,
@@ -28467,7 +28467,7 @@ const gW = ({
28467
28467
  fullWidth: !0,
28468
28468
  sx: {
28469
28469
  height: "100%",
28470
- transition: Qe.FAST,
28470
+ transition: ze.FAST,
28471
28471
  textTransform: "none",
28472
28472
  p: 2.5,
28473
28473
  border: 2,
@@ -28489,7 +28489,7 @@ const gW = ({
28489
28489
  0.6
28490
28490
  )})` : "transparent",
28491
28491
  opacity: O ? 1 : 0,
28492
- transition: Qe.FAST
28492
+ transition: ze.FAST
28493
28493
  },
28494
28494
  "&:hover": {
28495
28495
  borderColor: I.abyssPrimary,
@@ -28520,7 +28520,7 @@ const gW = ({
28520
28520
  noWrap: !0,
28521
28521
  sx: {
28522
28522
  mb: 0.5,
28523
- transition: Qe.FAST
28523
+ transition: ze.FAST
28524
28524
  },
28525
28525
  children: R.name
28526
28526
  }
@@ -28534,7 +28534,7 @@ const gW = ({
28534
28534
  fontSize: pt.small,
28535
28535
  sx: {
28536
28536
  opacity: 0.9,
28537
- transition: Qe.FAST
28537
+ transition: ze.FAST
28538
28538
  },
28539
28539
  children: R.description
28540
28540
  }
@@ -28611,7 +28611,7 @@ const gW = ({
28611
28611
  R !== Ri.PROJECT && (n(""), r("")), v(R);
28612
28612
  },
28613
28613
  sx: {
28614
- transition: Qe.FAST,
28614
+ transition: ze.FAST,
28615
28615
  p: 4,
28616
28616
  px: 5,
28617
28617
  border: 2,
@@ -28767,7 +28767,7 @@ const gW = ({
28767
28767
  children: q(null)
28768
28768
  }
28769
28769
  ),
28770
- d.length > 0 && /* @__PURE__ */ z(ze, { children: [
28770
+ d.length > 0 && /* @__PURE__ */ z(Qe, { children: [
28771
28771
  /* @__PURE__ */ h(
28772
28772
  wi,
28773
28773
  {
@@ -28807,7 +28807,7 @@ const gW = ({
28807
28807
  R.id
28808
28808
  ))
28809
28809
  ] }),
28810
- y.length > 0 && /* @__PURE__ */ z(ze, { children: [
28810
+ y.length > 0 && /* @__PURE__ */ z(Qe, { children: [
28811
28811
  /* @__PURE__ */ h(
28812
28812
  wi,
28813
28813
  {
@@ -28955,7 +28955,7 @@ const gW = ({
28955
28955
  children: q(null, !0)
28956
28956
  }
28957
28957
  ),
28958
- m.length > 0 && /* @__PURE__ */ z(ze, { children: [
28958
+ m.length > 0 && /* @__PURE__ */ z(Qe, { children: [
28959
28959
  /* @__PURE__ */ h(
28960
28960
  wi,
28961
28961
  {
@@ -29095,9 +29095,10 @@ const _W = ({
29095
29095
  displayCategoryList: o,
29096
29096
  collapseChildren: l,
29097
29097
  categories: c,
29098
- handleOpenCommentModal: d
29098
+ handleOpenCommentModal: d,
29099
+ customActions: f
29099
29100
  }) => {
29100
- const f = wt(), [m, g] = be(!1);
29101
+ const m = wt(), [g, y] = be(!1);
29101
29102
  return /* @__PURE__ */ z(
29102
29103
  k,
29103
29104
  {
@@ -29123,7 +29124,7 @@ const _W = ({
29123
29124
  zr,
29124
29125
  {
29125
29126
  disableInteractive: !0,
29126
- title: `${f.formatRichMessage({
29127
+ title: `${m.formatRichMessage({
29127
29128
  id: "general.click-to-copy"
29128
29129
  })} - ${t.id}`,
29129
29130
  children: /* @__PURE__ */ h(
@@ -29172,7 +29173,7 @@ const _W = ({
29172
29173
  sx: {
29173
29174
  whiteSpace: "nowrap"
29174
29175
  },
29175
- children: f.formatNumber(t.amount / 100, {
29176
+ children: m.formatNumber(t.amount / 100, {
29176
29177
  style: "currency",
29177
29178
  currencyDisplay: "symbol",
29178
29179
  currency: t.currency,
@@ -29218,7 +29219,7 @@ const _W = ({
29218
29219
  /* @__PURE__ */ h(
29219
29220
  zr,
29220
29221
  {
29221
- title: d ? f.formatRichMessage({
29222
+ title: d ? m.formatRichMessage({
29222
29223
  id: "abyss-banking.transactions.open-button-tooltip"
29223
29224
  }) : "",
29224
29225
  children: /* @__PURE__ */ h(
@@ -29253,7 +29254,7 @@ const _W = ({
29253
29254
  direction: { md: "row", xs: "row" },
29254
29255
  spacing: 1,
29255
29256
  children: [
29256
- t.comment ? /* @__PURE__ */ h(k, { display: "flex", alignItems: "center", children: /* @__PURE__ */ h(zr, { title: t.comment, children: /* @__PURE__ */ h(vR, { htmlColor: I.greyLight, color: "primary" }) }) }) : /* @__PURE__ */ h(ze, {}),
29257
+ t.comment ? /* @__PURE__ */ h(k, { display: "flex", alignItems: "center", children: /* @__PURE__ */ h(zr, { title: t.comment, children: /* @__PURE__ */ h(vR, { htmlColor: I.greyLight, color: "primary" }) }) }) : /* @__PURE__ */ h(Qe, {}),
29257
29258
  n ? /* @__PURE__ */ h(
29258
29259
  k,
29259
29260
  {
@@ -29269,62 +29270,63 @@ const _W = ({
29269
29270
  error: !(t.transactionCategory || []).length,
29270
29271
  isDisabled: a,
29271
29272
  value: (t.transactionCategory || []).map(
29272
- (y) => y.categoryId
29273
+ (S) => S.categoryId
29273
29274
  ),
29274
- onChange: (y) => n(
29275
+ onChange: (S) => n(
29275
29276
  t,
29276
- Array.isArray(y.target.value) ? y.target.value : [y.target.value]
29277
+ Array.isArray(S.target.value) ? S.target.value : [S.target.value]
29277
29278
  ),
29278
29279
  categories: c
29279
29280
  }
29280
29281
  )
29281
29282
  }
29282
- ) : /* @__PURE__ */ h(ze, {}),
29283
+ ) : /* @__PURE__ */ h(Qe, {}),
29283
29284
  l ? /* @__PURE__ */ h(
29284
29285
  zt,
29285
29286
  {
29286
29287
  sx: {},
29287
29288
  size: "small",
29288
- onClick: () => g(!m),
29289
+ onClick: () => y(!g),
29289
29290
  children: /* @__PURE__ */ h(
29290
29291
  Yx,
29291
29292
  {
29292
29293
  fontSize: "small",
29293
29294
  sx: {
29294
- transition: Qe.FASTER_2,
29295
- transform: m ? "rotate(180deg)" : "none"
29295
+ transition: ze.FASTER_2,
29296
+ transform: g ? "rotate(180deg)" : "none"
29296
29297
  }
29297
29298
  }
29298
29299
  )
29299
29300
  }
29300
- ) : /* @__PURE__ */ h(ze, {})
29301
+ ) : /* @__PURE__ */ h(Qe, {}),
29302
+ f || /* @__PURE__ */ h(Qe, {})
29301
29303
  ]
29302
29304
  }
29303
29305
  )
29304
29306
  ]
29305
29307
  }
29306
29308
  ),
29307
- o ? /* @__PURE__ */ h(k, { children: /* @__PURE__ */ h(gt, { direction: "row", spacing: 0.5, flexWrap: "wrap", children: (t.transactionCategory || []).map((y) => {
29308
- const S = c.find(
29309
- (C) => C.id === y.categoryId
29309
+ o ? /* @__PURE__ */ h(k, { children: /* @__PURE__ */ h(gt, { direction: "row", spacing: 0.5, flexWrap: "wrap", children: (t.transactionCategory || []).map((S) => {
29310
+ const C = c.find(
29311
+ (v) => v.id === S.categoryId
29310
29312
  );
29311
- return S ? /* @__PURE__ */ h(
29313
+ return C ? /* @__PURE__ */ h(
29312
29314
  bo,
29313
29315
  {
29314
29316
  sx: {
29315
- "& path": { color: S.color }
29317
+ "& path": { color: C.color }
29316
29318
  },
29317
29319
  icon: /* @__PURE__ */ h(Qx, {}),
29318
29320
  size: "small",
29319
- label: S.name
29321
+ label: C.name
29320
29322
  },
29321
- `transaction_${t.id}_category_chip_${S.id}`
29323
+ `transaction_${t.id}_category_chip_${C.id}`
29322
29324
  ) : null;
29323
- }) }) }) : /* @__PURE__ */ h(ze, {}),
29324
- l ? /* @__PURE__ */ h(Y0, { in: m, timeout: "auto", children: /* @__PURE__ */ z(k, { px: 0.5, children: [
29325
+ }) }) }) : /* @__PURE__ */ h(Qe, {}),
29326
+ l ? /* @__PURE__ */ h(Y0, { in: g, timeout: "auto", children: /* @__PURE__ */ z(k, { px: 0.5, children: [
29325
29327
  /* @__PURE__ */ h(Zn, { my: 0.5 }),
29326
29328
  /* @__PURE__ */ h(k, { p: 0.5, children: l })
29327
- ] }) }) : /* @__PURE__ */ h(ze, {})
29329
+ ] }) }) : /* @__PURE__ */ h(Qe, {})
29328
29330
  ]
29329
29331
  }
29330
29332
  );
@@ -29363,7 +29365,7 @@ export {
29363
29365
  c_ as a1,
29364
29366
  pt as a2,
29365
29367
  Ct as a3,
29366
- Qe as a4,
29368
+ ze as a4,
29367
29369
  Ft as a5,
29368
29370
  u_ as a6,
29369
29371
  d_ as a7,
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { X as o, c as e, a as r, b as t, aj as i, ak as A, al as d, z as l, am as n, B as C, H as L, G as S, an as u, n as y, ao as I, ap as g, aq as b, Z as p, A as c, $ as T, a5 as D, a1 as _, _ as m, C as P, k as R, ar as O, t as F, v as h, u as B, r as E, N as M, O as N, D as U, ai as v, m as f, E as j, a2 as k, F as x, w as H, h as W, a0 as w, I as X, o as G, p as Z, i as K, y as V, K as q, L as Q, ag as Y, ae as z, af as J, M as $, J as aa, ah as sa, s as oa, l as ea, P as ra, T as ta, Y as ia, e as Aa, V as da, R as la, Q as na, a3 as Ca, S as La, a6 as Sa, a4 as ua, U as ya, d as Ia, q as ga, j as ba, x as pa, f as ca, g as Ta, a7 as Da, au as _a, a9 as ma, av as Pa, ac as Ra, aa as Oa, a8 as Fa, ab as ha, as as Ba, at as Ea, ad as Ma } from "./index-SyoJQOHN.js";
1
+ import { X as o, c as e, a as r, b as t, aj as i, ak as A, al as d, z as l, am as n, B as C, H as L, G as S, an as u, n as y, ao as I, ap as g, aq as b, Z as p, A as c, $ as T, a5 as D, a1 as _, _ as m, C as P, k as R, ar as O, t as F, v as h, u as B, r as E, N as M, O as N, D as U, ai as v, m as f, E as j, a2 as k, F as x, w as H, h as W, a0 as w, I as X, o as G, p as Z, i as K, y as V, K as q, L as Q, ag as Y, ae as z, af as J, M as $, J as aa, ah as sa, s as oa, l as ea, P as ra, T as ta, Y as ia, e as Aa, V as da, R as la, Q as na, a3 as Ca, S as La, a6 as Sa, a4 as ua, U as ya, d as Ia, q as ga, j as ba, x as pa, f as ca, g as Ta, a7 as Da, au as _a, a9 as ma, av as Pa, ac as Ra, aa as Oa, a8 as Fa, ab as ha, as as Ba, at as Ea, ad as Ma } from "./index-BEt8VPaR.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-SyoJQOHN.js";
1
+ import { W as a } from "./index-BEt8VPaR.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.56",
3
+ "version": "1.0.58",
4
4
  "description": "Front Core package of AbyssProject",
5
5
  "main": "dist/index.js",
6
6
  "module": "./dist/index.js",