biblio-react 2.2.5 → 2.2.6

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.js CHANGED
@@ -26217,11 +26217,30 @@ const _w = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
26217
26217
  empty: !1,
26218
26218
  title: " ",
26219
26219
  disableSyncWithLocation: !0,
26220
- children: /* @__PURE__ */ B(Tm, { bulkActionButtons: /* @__PURE__ */ f("span", {}), children: [
26221
- /* @__PURE__ */ f(On, { source: "funced", sortable: !0, label: "Cédula" }),
26222
- /* @__PURE__ */ f(On, { source: "funpriape", sortable: !0, label: "Apellido" }),
26223
- /* @__PURE__ */ f(On, { source: "funprinom", sortable: !0, label: "Nombre" })
26224
- ] })
26220
+ sx: {
26221
+ "& .MuiTablePagination-root": {
26222
+ position: "sticky",
26223
+ bottom: 0,
26224
+ zIndex: 1e3,
26225
+ backgroundColor: "white !important"
26226
+ }
26227
+ },
26228
+ children: /* @__PURE__ */ B(
26229
+ Tm,
26230
+ {
26231
+ bulkActionButtons: /* @__PURE__ */ f("span", {}),
26232
+ sx: {
26233
+ "& .RaDatagrid-thead": {
26234
+ display: "table-header-group"
26235
+ }
26236
+ },
26237
+ children: [
26238
+ /* @__PURE__ */ f(On, { source: "funced", sortable: !0, label: "Cédula" }),
26239
+ /* @__PURE__ */ f(On, { source: "funpriape", sortable: !0, label: "Apellido" }),
26240
+ /* @__PURE__ */ f(On, { source: "funprinom", sortable: !0, label: "Nombre" })
26241
+ ]
26242
+ }
26243
+ )
26225
26244
  }
26226
26245
  ), "AsistenteList"), Gw = { fillista: "empcod=-1" }, qw = /* @__PURE__ */ o((e) => {
26227
26246
  const [t, r] = S.useState(Gw), n = ou(), i = we(
@@ -26238,19 +26257,55 @@ const _w = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
26238
26257
  },
26239
26258
  [n]
26240
26259
  );
26241
- return /* @__PURE__ */ B($e, { display: "flex", flex: 1, alignItems: "flex-start", height: "20em", children: [
26242
- /* @__PURE__ */ f($e, { flexGrow: 1, children: /* @__PURE__ */ f(
26243
- Im,
26244
- {
26245
- id: "funcionarios-treeview",
26246
- dataStructure: "plain",
26247
- rootValue: "",
26248
- onItemClick: i,
26249
- createChildren: l
26250
- }
26251
- ) }),
26252
- /* @__PURE__ */ f($e, { flexGrow: 2, children: /* @__PURE__ */ f(Uw, { resource: "form_224", filter: t }) })
26253
- ] });
26260
+ return /* @__PURE__ */ B(
26261
+ $e,
26262
+ {
26263
+ display: "flex",
26264
+ flex: 1,
26265
+ alignItems: "flex-start",
26266
+ sx: {
26267
+ flexDirection: { xs: "column", md: "row" },
26268
+ height: { xs: "100%", md: "70vh" }
26269
+ },
26270
+ children: [
26271
+ /* @__PURE__ */ f(
26272
+ $e,
26273
+ {
26274
+ flex: { xs: "1 0 auto", md: "0 0 300px" },
26275
+ sx: {
26276
+ overflowY: "auto",
26277
+ height: { xs: "20vh", md: "100%" },
26278
+ width: { xs: "100%", md: "300px" }
26279
+ },
26280
+ children: /* @__PURE__ */ f(
26281
+ Im,
26282
+ {
26283
+ id: "funcionarios-treeview",
26284
+ dataStructure: "plain",
26285
+ rootValue: "",
26286
+ onItemClick: i,
26287
+ createChildren: l,
26288
+ selectionMode: "single"
26289
+ }
26290
+ )
26291
+ }
26292
+ ),
26293
+ /* @__PURE__ */ f(
26294
+ $e,
26295
+ {
26296
+ flexGrow: 1,
26297
+ sx: {
26298
+ maxHeight: "70vh",
26299
+ overflowY: "auto",
26300
+ height: { md: "70vh" },
26301
+ width: { xs: "100%", md: "auto" }
26302
+ },
26303
+ children: /* @__PURE__ */ f(Uw, { resource: "form_224", filter: t })
26304
+ }
26305
+ )
26306
+ ]
26307
+ }
26308
+ );
26254
26309
  }, "TreeWithList"), Kw = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
26255
26310
  xu,
26256
26311
  {
@@ -26264,7 +26319,6 @@ const _w = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
26264
26319
  isLoading: r,
26265
26320
  title: n,
26266
26321
  cancel: i = "ra.action.cancel",
26267
- //confirmColor = 'primary',
26268
26322
  ConfirmIcon: l = ts,
26269
26323
  CancelIcon: s = os,
26270
26324
  onClose: c,
@@ -26360,7 +26414,11 @@ const _w = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
26360
26414
  {
26361
26415
  display: "flex",
26362
26416
  alignItems: "center",
26363
- sx: { ...s, display: "inline-flex", margin: 1 },
26417
+ sx: {
26418
+ ...s,
26419
+ display: "inline-flex",
26420
+ width: { xs: "100%", md: "auto" }
26421
+ },
26364
26422
  children: /* @__PURE__ */ f(
26365
26423
  Or,
26366
26424
  {