@gisce/react-ooui 2.107.0-alpha.3 → 2.107.0-alpha.4
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/react-ooui.es.js
CHANGED
|
@@ -13736,7 +13736,7 @@ const ir = jt(dv), Cc = (t) => {
|
|
|
13736
13736
|
isMenuAction: a = !1,
|
|
13737
13737
|
actionData: c,
|
|
13738
13738
|
...l
|
|
13739
|
-
} = t, { model: d } = l, { modalWidth: f } = io(), [u, m] = F(r), [p, g] = F(!1), [h, y] = F(), { action_id: v, res_id: b, action_type: x, view_id: C } = c || {}, w = !
|
|
13739
|
+
} = t, { model: d } = l, { modalWidth: f } = io(), [u, m] = F(r), [p, g] = F(!1), [h, y] = F(), { action_id: v, res_id: b, action_type: x, view_id: C } = c || {}, w = !v && !x && !b, {
|
|
13740
13740
|
showNameModal: R,
|
|
13741
13741
|
toggleFavourite: S,
|
|
13742
13742
|
handleSaveFavourite: I,
|
|
@@ -13778,7 +13778,7 @@ const ir = jt(dv), Cc = (t) => {
|
|
|
13778
13778
|
);
|
|
13779
13779
|
function T() {
|
|
13780
13780
|
return /* @__PURE__ */ j(Qe, { align: "middle", children: [
|
|
13781
|
-
/* @__PURE__ */ s(Pe, { children: /* @__PURE__ */ s(
|
|
13781
|
+
!w && /* @__PURE__ */ s(Pe, { children: /* @__PURE__ */ s(
|
|
13782
13782
|
Ge,
|
|
13783
13783
|
{
|
|
13784
13784
|
type: p ? "primary" : "default",
|
|
@@ -13787,7 +13787,7 @@ const ir = jt(dv), Cc = (t) => {
|
|
|
13787
13787
|
onClick: S
|
|
13788
13788
|
}
|
|
13789
13789
|
) }),
|
|
13790
|
-
/* @__PURE__ */ s(Pe, { style: { paddingLeft: 10 }, children: u })
|
|
13790
|
+
/* @__PURE__ */ s(Pe, { style: { paddingLeft: w ? 0 : 10 }, children: u })
|
|
13791
13791
|
] });
|
|
13792
13792
|
}
|
|
13793
13793
|
const _ = f * 0.95;
|