@applica-software-guru/react-admin 1.4.191 → 1.4.192

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.
@@ -28414,45 +28414,53 @@ function vne({
28414
28414
  scrollToTop: a = !0,
28415
28415
  className: s,
28416
28416
  sx: c,
28417
- fab: u = !0,
28418
- onSubmit: A,
28419
- onSuccess: f,
28420
- onError: p,
28421
- ...C
28417
+ style: u,
28418
+ fab: A = !0,
28419
+ onSubmit: f,
28420
+ onSuccess: p,
28421
+ onError: C,
28422
+ ...m
28422
28423
  }) {
28423
- const [m, I] = je(!1), B = Mr(), v = Zn(), { openDialog: w, closeDialog: P } = ns(), y = Se(() => w(v, () => I(!0)), [w, v]), S = Se(() => P(v, () => I(!1)), [P, v]), T = u && Ks((D) => D.breakpoints.down("md"));
28424
+ const [I, B] = je(!1), v = Mr(), w = Zn(), { openDialog: P, closeDialog: y } = ns(), S = Se(() => P(w, () => B(!0)), [P, w]), T = Se(() => y(w, () => B(!1)), [y, w]), D = A && Ks((M) => M.breakpoints.down("md"));
28424
28425
  return /* @__PURE__ */ $(rn, { children: [
28425
- T ? /* @__PURE__ */ h(
28426
+ D ? /* @__PURE__ */ h(
28426
28427
  i$,
28427
28428
  {
28428
- ...C,
28429
+ ...m,
28429
28430
  state: o$[String(a)],
28430
28431
  color: "primary",
28431
28432
  className: Xe(LB.floating, s),
28432
- "aria-label": n && B(n),
28433
- onClick: y,
28433
+ "aria-label": n && v(n),
28434
+ onClick: S,
28434
28435
  children: /* @__PURE__ */ h(lf, {})
28435
28436
  }
28436
- ) : /* @__PURE__ */ h(ti, { ...C, sx: c, label: n, onClick: y, children: /* @__PURE__ */ h(lf, {}) }),
28437
+ ) : /* @__PURE__ */ h(ti, { ...m, sx: c, label: n, onClick: S, style: u, children: /* @__PURE__ */ h(lf, {}) }),
28437
28438
  /* @__PURE__ */ h(
28438
28439
  eA,
28439
28440
  {
28440
- open: m,
28441
+ open: I,
28441
28442
  scroll: "body",
28442
- sx: { "& .MuiToolbar-root": { position: "initial" } },
28443
- onClose: S,
28443
+ sx: {
28444
+ "& .MuiToolbar-root": {
28445
+ position: "initial",
28446
+ paddingLeft: 2.5,
28447
+ paddingRight: 2.5,
28448
+ paddingBottom: 2.5
28449
+ }
28450
+ },
28451
+ onClose: T,
28444
28452
  fullWidth: e,
28445
28453
  maxWidth: t,
28446
28454
  children: /* @__PURE__ */ h(
28447
28455
  r$,
28448
28456
  {
28449
- ...C,
28457
+ ...m,
28450
28458
  redirect: o,
28451
28459
  record: r,
28452
- onClose: S,
28453
- onSubmit: A,
28454
- onSuccess: f,
28455
- onError: p
28460
+ onClose: T,
28461
+ onSubmit: f,
28462
+ onSuccess: p,
28463
+ onError: C
28456
28464
  }
28457
28465
  )
28458
28466
  }
@@ -28497,25 +28505,29 @@ function bne({
28497
28505
  fullWidth: e = !0,
28498
28506
  maxWidth: t = "md",
28499
28507
  label: n = "ra.action.edit",
28500
- ...r
28508
+ style: r,
28509
+ ...o
28501
28510
  }) {
28502
- const [o, a] = je(!1), { openDialog: s, closeDialog: c } = ns(), u = Zn(), A = Se(() => s(u, () => a(!0)), [s, u]), f = Se(() => c(u, () => a(!1)), [c, u]);
28511
+ const [a, s] = je(!1), { openDialog: c, closeDialog: u } = ns(), A = Zn(), f = Se(() => c(A, () => s(!0)), [c, A]), p = Se(() => u(A, () => s(!1)), [u, A]);
28503
28512
  return /* @__PURE__ */ $(rn, { children: [
28504
- /* @__PURE__ */ h(ti, { label: n, onClick: A, children: /* @__PURE__ */ h(XD, {}) }),
28513
+ /* @__PURE__ */ h(ti, { label: n, onClick: f, style: r, children: /* @__PURE__ */ h(XD, {}) }),
28505
28514
  /* @__PURE__ */ h(
28506
28515
  eA,
28507
28516
  {
28508
- open: o,
28517
+ open: a,
28509
28518
  scroll: "body",
28510
28519
  sx: {
28511
28520
  "& .MuiToolbar-root": {
28512
- position: "initial"
28521
+ position: "initial",
28522
+ paddingLeft: 2.5,
28523
+ paddingRight: 2.5,
28524
+ paddingBottom: 2.5
28513
28525
  }
28514
28526
  },
28515
- onClose: f,
28527
+ onClose: p,
28516
28528
  fullWidth: e,
28517
28529
  maxWidth: t,
28518
- children: /* @__PURE__ */ h(a$, { onClose: f, children: r == null ? void 0 : r.children })
28530
+ children: /* @__PURE__ */ h(a$, { onClose: p, children: o == null ? void 0 : o.children })
28519
28531
  }
28520
28532
  )
28521
28533
  ] });