@mx-cartographer/experiences 5.1.6-alpha.al1 → 5.2.0

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.es.js CHANGED
@@ -17992,25 +17992,25 @@ const Ql = ({
17992
17992
  );
17993
17993
  }
17994
17994
  ), Sl = X(({ rule: A }) => {
17995
- const { categories: t } = qA(), { setSelectedGuid: i } = ot(), { deleteTransactionRule: n, loadTransactionRules: r, setSelectedRule: o } = ze(), { isDesktop: I, isTablet: a } = XA(), [c, E] = h.useState(!1), f = () => {
17996
- E(!1), i(null), o(void 0);
17997
- }, d = async () => {
17998
- await n(), f(), await r();
17999
- }, v = () => {
18000
- E(!0), o(A);
18001
- }, l = (u) => t.find((b) => b.guid === u)?.name;
17995
+ const { categories: t } = qA(), { setSelectedGuid: i } = ot(), { deleteTransactionRule: n, setSelectedRule: r } = ze(), { isDesktop: o, isTablet: I } = XA(), [a, c] = h.useState(!1), E = () => {
17996
+ c(!1), i(null), r(void 0);
17997
+ }, f = async () => {
17998
+ await n(), E();
17999
+ }, d = () => {
18000
+ c(!0), r(A);
18001
+ }, v = (l) => t.find((u) => u.guid === l)?.name;
18002
18002
  return /* @__PURE__ */ s(h.Fragment, { children: [
18003
18003
  /* @__PURE__ */ e(
18004
18004
  Ar,
18005
18005
  {
18006
- onClick: v,
18006
+ onClick: d,
18007
18007
  primaryText: A.description ? A.description : A.match_description,
18008
- secondaryText: A.category_guid ? l(A.category_guid) : "",
18009
- sx: { px: a || I ? 0 : 24 }
18008
+ secondaryText: A.category_guid ? v(A.category_guid) : "",
18009
+ sx: { px: I || o ? 0 : 24 }
18010
18010
  }
18011
18011
  ),
18012
- /* @__PURE__ */ e(q, { sx: { ml: a || I ? 0 : 24 } }),
18013
- /* @__PURE__ */ e(Bl, { isOpen: c, onClose: f, onDelete: d })
18012
+ /* @__PURE__ */ e(q, { sx: { ml: I || o ? 0 : 24 } }),
18013
+ /* @__PURE__ */ e(Bl, { isOpen: a, onClose: E, onDelete: f })
18014
18014
  ] });
18015
18015
  }), Ul = X(() => {
18016
18016
  const { settings: A } = g(), { loadTransactionRules: t, transactionRules: i } = ze(), { isDesktop: n, isTablet: r } = XA();