adpro-react 0.0.23-rc.6 → 0.0.23-rc.8
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/adpro-react.cjs.js +2 -2
- package/dist/adpro-react.es.js +10 -7
- package/dist/components/AuditoriaADPRO/components/AuditoriaAcordeon.d.ts.map +1 -1
- package/dist/components/AuditoriaADPRO/types/typesAuditoria.d.ts.map +1 -1
- package/dist/components/ToastNotificationADPRO/view/NotificationADPRO.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/adpro-react.es.js
CHANGED
@@ -30577,7 +30577,7 @@ const Yx = () => {
|
|
30577
30577
|
autoHideDuration: 5e3,
|
30578
30578
|
onClose: o,
|
30579
30579
|
slotProps: { transition: { onExited: n } },
|
30580
|
-
message: t && /* @__PURE__ */ T.jsxs(Rr, { alignSelf: "stretch", sx: { minWidth: "288px !important" }, children: [
|
30580
|
+
message: t && /* @__PURE__ */ T.jsxs(Rr, { alignSelf: "stretch", sx: { minWidth: "288px !important", flex: 1 }, children: [
|
30581
30581
|
/* @__PURE__ */ T.jsxs(
|
30582
30582
|
Rt,
|
30583
30583
|
{
|
@@ -30586,7 +30586,7 @@ const Yx = () => {
|
|
30586
30586
|
gap: "0.75rem",
|
30587
30587
|
padding: "0.75rem",
|
30588
30588
|
alignSelf: "stretch",
|
30589
|
-
sx: { minWidth: "288px !important" },
|
30589
|
+
sx: { minWidth: "288px !important", flex: 1 },
|
30590
30590
|
children: [
|
30591
30591
|
/* @__PURE__ */ T.jsx(
|
30592
30592
|
Rr,
|
@@ -30672,7 +30672,8 @@ const Yx = () => {
|
|
30672
30672
|
alignSelf: "stretch",
|
30673
30673
|
display: "flex",
|
30674
30674
|
alignItems: "flex-start",
|
30675
|
-
justifyContent: "flex-start"
|
30675
|
+
justifyContent: "flex-start",
|
30676
|
+
flex: 1
|
30676
30677
|
}
|
30677
30678
|
}
|
30678
30679
|
},
|
@@ -30682,10 +30683,11 @@ const Yx = () => {
|
|
30682
30683
|
id: "ID",
|
30683
30684
|
Usuario: "Usuario",
|
30684
30685
|
FechaHora: "Fecha y hora",
|
30685
|
-
Antes: "
|
30686
|
-
Despues: "
|
30686
|
+
Antes: "Anterior",
|
30687
|
+
Despues: "Actual",
|
30687
30688
|
Origen: "Origen Cambio",
|
30688
|
-
Comentario: "Comentario"
|
30689
|
+
Comentario: "Comentario",
|
30690
|
+
TipoAfectacion: "Tipo de afectación"
|
30689
30691
|
}, P0 = (e) => Symbol.iterator in e, k0 = (e) => (
|
30690
30692
|
// HACK: avoid checking entries type
|
30691
30693
|
"entries" in e
|
@@ -38365,6 +38367,7 @@ const fx = ({ cantidad: e, isExpanded: t, titulo: r, ultimaMod: n, data: o, onHa
|
|
38365
38367
|
localeText: (l = px.esES.components) == null ? void 0 : l.MuiDataGrid.defaultProps.localeText,
|
38366
38368
|
pageSizeOptions: [10],
|
38367
38369
|
getRowHeight: () => 22,
|
38370
|
+
autoHeight: !0,
|
38368
38371
|
initialState: {
|
38369
38372
|
pagination: { paginationModel: { pageSize: 10 } }
|
38370
38373
|
},
|
@@ -38403,7 +38406,7 @@ const fx = ({ cantidad: e, isExpanded: t, titulo: r, ultimaMod: n, data: o, onHa
|
|
38403
38406
|
const e = dt(ut((l) => l.data)), t = dt(ut((l) => l.expanded)), r = dt(ut((l) => l.isLoading)), [n, o] = zt([]), a = Object.keys(e).sort(), i = (l) => (c, u) => {
|
38404
38407
|
o((p) => u ? [...p, l] : p.filter((C) => C !== l));
|
38405
38408
|
};
|
38406
|
-
return /* @__PURE__ */ T.jsx(T.Fragment, { children: r ? /* @__PURE__ */ T.jsx(ay, {}) : a.length == 0 ? /* @__PURE__ */ T.jsx(p4, { severity: "warning", children: "No
|
38409
|
+
return /* @__PURE__ */ T.jsx(T.Fragment, { children: r ? /* @__PURE__ */ T.jsx(ay, {}) : a.length == 0 ? /* @__PURE__ */ T.jsx(p4, { severity: "warning", children: "No existen datos con estos criterios de búsqueda" }) : a.map((l) => {
|
38407
38410
|
const c = e[l].length, u = c > 0 && e[l][c - 1].$FechaHora || "", p = t || n.includes(l);
|
38408
38411
|
return /* @__PURE__ */ T.jsx(
|
38409
38412
|
fx,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"AuditoriaAcordeon.d.ts","sourceRoot":"","sources":["../../../../src/components/AuditoriaADPRO/components/AuditoriaAcordeon.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAgB,MAAM,yBAAyB,CAAA;AAMvE,UAAU,KAAK;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,eAAe,EAAE,CAAC;IACxB,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,EAAE,UAAU,EAAE,OAAO,KAAK,IAAI,CAAC;CACpG;AAED,eAAO,MAAM,iBAAiB,GAAI,sEAAsE,KAAK,
|
1
|
+
{"version":3,"file":"AuditoriaAcordeon.d.ts","sourceRoot":"","sources":["../../../../src/components/AuditoriaADPRO/components/AuditoriaAcordeon.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAgB,MAAM,yBAAyB,CAAA;AAMvE,UAAU,KAAK;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,eAAe,EAAE,CAAC;IACxB,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,EAAE,UAAU,EAAE,OAAO,KAAK,IAAI,CAAC;CACpG;AAED,eAAO,MAAM,iBAAiB,GAAI,sEAAsE,KAAK,4CA4H5G,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"typesAuditoria.d.ts","sourceRoot":"","sources":["../../../../src/components/AuditoriaADPRO/types/typesAuditoria.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;CACrC;AAED,MAAM,WAAW,mBAAmB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,MAAM,WAAW,GAAG;IACtB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,
|
1
|
+
{"version":3,"file":"typesAuditoria.d.ts","sourceRoot":"","sources":["../../../../src/components/AuditoriaADPRO/types/typesAuditoria.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;CACrC;AAED,MAAM,WAAW,mBAAmB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,MAAM,WAAW,GAAG;IACtB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,eAS1B,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"NotificationADPRO.d.ts","sourceRoot":"","sources":["../../../../src/components/ToastNotificationADPRO/view/NotificationADPRO.tsx"],"names":[],"mappings":"AAwFA,eAAO,MAAM,iBAAiB,+
|
1
|
+
{"version":3,"file":"NotificationADPRO.d.ts","sourceRoot":"","sources":["../../../../src/components/ToastNotificationADPRO/view/NotificationADPRO.tsx"],"names":[],"mappings":"AAwFA,eAAO,MAAM,iBAAiB,+CA4L7B,CAAC"}
|