@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 +12 -12
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
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,
|
|
17996
|
-
|
|
17997
|
-
},
|
|
17998
|
-
await n(),
|
|
17999
|
-
},
|
|
18000
|
-
|
|
18001
|
-
},
|
|
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:
|
|
18006
|
+
onClick: d,
|
|
18007
18007
|
primaryText: A.description ? A.description : A.match_description,
|
|
18008
|
-
secondaryText: A.category_guid ?
|
|
18009
|
-
sx: { px:
|
|
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:
|
|
18013
|
-
/* @__PURE__ */ e(Bl, { isOpen:
|
|
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();
|