componentes-sinco 1.1.13 → 1.1.15
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.cjs +34 -70
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +38 -74
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
package/dist/index.d.cts
CHANGED
|
@@ -332,9 +332,10 @@ interface SCDataGridInitialProps<T> {
|
|
|
332
332
|
checkboxSelection?: boolean;
|
|
333
333
|
width?: string | number;
|
|
334
334
|
maxHeight?: number;
|
|
335
|
-
|
|
335
|
+
disableColumnMenu?: boolean;
|
|
336
|
+
disableColumnSorting?: boolean;
|
|
336
337
|
}
|
|
337
|
-
declare function SCDataGridInitial<T>({ data, columns, getRowId, groupColumns, rowsTable, checkboxSelection, width, maxHeight,
|
|
338
|
+
declare function SCDataGridInitial<T>({ data, columns, getRowId, groupColumns, rowsTable, checkboxSelection, width, maxHeight, disableColumnMenu, disableColumnSorting }: SCDataGridInitialProps<T>): React__default.JSX.Element;
|
|
338
339
|
declare const SCDataGrid: React__default.MemoExoticComponent<typeof SCDataGridInitial>;
|
|
339
340
|
|
|
340
341
|
interface SCAutocompleteProps<T> {
|
package/dist/index.d.ts
CHANGED
|
@@ -332,9 +332,10 @@ interface SCDataGridInitialProps<T> {
|
|
|
332
332
|
checkboxSelection?: boolean;
|
|
333
333
|
width?: string | number;
|
|
334
334
|
maxHeight?: number;
|
|
335
|
-
|
|
335
|
+
disableColumnMenu?: boolean;
|
|
336
|
+
disableColumnSorting?: boolean;
|
|
336
337
|
}
|
|
337
|
-
declare function SCDataGridInitial<T>({ data, columns, getRowId, groupColumns, rowsTable, checkboxSelection, width, maxHeight,
|
|
338
|
+
declare function SCDataGridInitial<T>({ data, columns, getRowId, groupColumns, rowsTable, checkboxSelection, width, maxHeight, disableColumnMenu, disableColumnSorting }: SCDataGridInitialProps<T>): React__default.JSX.Element;
|
|
338
339
|
declare const SCDataGrid: React__default.MemoExoticComponent<typeof SCDataGridInitial>;
|
|
339
340
|
|
|
340
341
|
interface SCAutocompleteProps<T> {
|
package/dist/index.js
CHANGED
|
@@ -2804,7 +2804,7 @@ import { LicenseInfo as LicenseInfo2 } from "@mui/x-license";
|
|
|
2804
2804
|
import KeyboardArrowDownIcon from "@mui/icons-material/KeyboardArrowDown";
|
|
2805
2805
|
import KeyboardArrowUpIcon from "@mui/icons-material/KeyboardArrowUp";
|
|
2806
2806
|
import { useTheme } from "@mui/material/styles";
|
|
2807
|
-
function SCDataGridInitial({ data, columns, getRowId, groupColumns, rowsTable, checkboxSelection, width, maxHeight,
|
|
2807
|
+
function SCDataGridInitial({ data, columns, getRowId, groupColumns, rowsTable, checkboxSelection, width, maxHeight, disableColumnMenu, disableColumnSorting }) {
|
|
2808
2808
|
LicenseInfo2.setLicenseKey(
|
|
2809
2809
|
"77d49a57fbc5f4af35ddb05c5f1742e0Tz0xMTI3MjgsRT0xNzc4MzcxMTk5MDAwLFM9cHJvLExNPXN1YnNjcmlwdGlvbixQVj1RMy0yMDI0LEtWPTI="
|
|
2810
2810
|
);
|
|
@@ -2955,11 +2955,12 @@ function SCDataGridInitial({ data, columns, getRowId, groupColumns, rowsTable, c
|
|
|
2955
2955
|
}
|
|
2956
2956
|
}
|
|
2957
2957
|
};
|
|
2958
|
+
let densityC = "compact";
|
|
2958
2959
|
let validationTreeData = groupColumns ? true : false;
|
|
2959
2960
|
let validationCheckboxSelection = checkboxSelection || false;
|
|
2960
|
-
let styleDensity =
|
|
2961
|
+
let styleDensity = densityC || "compact";
|
|
2961
2962
|
let styleTopContainerHeight = styleDensity === "compact" ? "26px" : styleDensity === "standard" ? "38px" : styleDensity === "comfortable" ? "60px" : "27px";
|
|
2962
|
-
let styleRowHeight =
|
|
2963
|
+
let styleRowHeight = densityC == "compact" ? 32 : densityC == "standard" ? 28 : densityC == "comfortable" ? 36 : 32;
|
|
2963
2964
|
let rows = rowsTable ? rowsTable : validationTreeData != false ? parseInt(data.length.toString()) : data.length < 10 ? parseInt(data.length.toString()) : 10;
|
|
2964
2965
|
let validationGroupingColDef = groupingColDefs || {};
|
|
2965
2966
|
const [groupDataLenght, setGroupDataLengh] = useState13(0);
|
|
@@ -3033,6 +3034,24 @@ function SCDataGridInitial({ data, columns, getRowId, groupColumns, rowsTable, c
|
|
|
3033
3034
|
flex: 1
|
|
3034
3035
|
});
|
|
3035
3036
|
});
|
|
3037
|
+
const columnVisibilityModel = {};
|
|
3038
|
+
processedColumns.forEach((col) => {
|
|
3039
|
+
if (col.hide === true) {
|
|
3040
|
+
columnVisibilityModel[col.field] = false;
|
|
3041
|
+
}
|
|
3042
|
+
});
|
|
3043
|
+
console.log("columnVisibilityModel:", columnVisibilityModel);
|
|
3044
|
+
const initialState = {
|
|
3045
|
+
pagination: { paginationModel: { pageSize: rows } }
|
|
3046
|
+
};
|
|
3047
|
+
if (Object.keys(columnVisibilityModel).length > 0) {
|
|
3048
|
+
initialState.columns = { columnVisibilityModel };
|
|
3049
|
+
}
|
|
3050
|
+
useEffect13(() => {
|
|
3051
|
+
if (apiRef.current && Object.keys(columnVisibilityModel).length > 0) {
|
|
3052
|
+
apiRef.current.setColumnVisibilityModel(columnVisibilityModel);
|
|
3053
|
+
}
|
|
3054
|
+
}, [columnVisibilityModel, apiRef]);
|
|
3036
3055
|
return /* @__PURE__ */ React21.createElement(React21.Fragment, null, data && /* @__PURE__ */ React21.createElement(React21.Fragment, null, /* @__PURE__ */ React21.createElement("div", { style: { width: width || "100%", maxHeight: maxHeight ? `${maxHeight}px` : "none" } }, /* @__PURE__ */ React21.createElement(
|
|
3037
3056
|
DataGridPro,
|
|
3038
3057
|
{
|
|
@@ -3050,6 +3069,8 @@ function SCDataGridInitial({ data, columns, getRowId, groupColumns, rowsTable, c
|
|
|
3050
3069
|
pagination: { paginationModel: { pageSize: rows } }
|
|
3051
3070
|
},
|
|
3052
3071
|
scrollbarSize: 0,
|
|
3072
|
+
disableColumnMenu: disableColumnMenu ? disableColumnMenu : false,
|
|
3073
|
+
disableColumnSorting: disableColumnSorting ? disableColumnSorting : false,
|
|
3053
3074
|
checkboxSelection: validationCheckboxSelection,
|
|
3054
3075
|
rowSelectionModel: selectionModel,
|
|
3055
3076
|
onRowSelectionModelChange: (newSelection) => handleSelectionChange(newSelection),
|
|
@@ -3178,7 +3199,7 @@ function SCDataGridInitial({ data, columns, getRowId, groupColumns, rowsTable, c
|
|
|
3178
3199
|
))));
|
|
3179
3200
|
}
|
|
3180
3201
|
var SCDataGrid = React21.memo(SCDataGridInitial, (prevProps, nextProps) => {
|
|
3181
|
-
const isEqual = prevProps.rowsTable === nextProps.rowsTable && prevProps.checkboxSelection === nextProps.checkboxSelection && prevProps.width === nextProps.width && prevProps.maxHeight === nextProps.maxHeight
|
|
3202
|
+
const isEqual = prevProps.rowsTable === nextProps.rowsTable && prevProps.checkboxSelection === nextProps.checkboxSelection && prevProps.width === nextProps.width && prevProps.maxHeight === nextProps.maxHeight;
|
|
3182
3203
|
return isEqual;
|
|
3183
3204
|
});
|
|
3184
3205
|
|
|
@@ -3445,7 +3466,7 @@ var SCDialog = ({ title, iconTitle, subtitle, content, actions, buttonDialog, di
|
|
|
3445
3466
|
);
|
|
3446
3467
|
})) : /* @__PURE__ */ React27.createElement(Box14, { sx: { width: "100%", display: "flex", flexDirection: "row", justifyContent: "center" } }, /* @__PURE__ */ React27.createElement(ToggleButtonGroup, { size: "large", fullWidth: true }, dialogActions.map((boton, index) => {
|
|
3447
3468
|
var _a;
|
|
3448
|
-
return /* @__PURE__ */ React27.createElement(ToggleButton, { disabled: boton.disabled || false, fullWidth: boton.text ? true : false, size: "medium", value: "text", onClick: boton.fn }, (_a = boton.text) != null ? _a : /* @__PURE__ */ React27.createElement(SvgIcon5, { fontSize: "small", component: boton.icon }));
|
|
3469
|
+
return /* @__PURE__ */ React27.createElement(ToggleButton, { sx: { color: "primary.main" }, disabled: boton.disabled || false, fullWidth: boton.text ? true : false, size: "medium", value: "text", onClick: boton.fn }, (_a = boton.text) != null ? _a : /* @__PURE__ */ React27.createElement(SvgIcon5, { fontSize: "small", component: boton.icon }));
|
|
3449
3470
|
})))) : "" : ""
|
|
3450
3471
|
)));
|
|
3451
3472
|
};
|
|
@@ -4580,6 +4601,7 @@ var SCTime = ({
|
|
|
4580
4601
|
const [anchorEl, setAnchorEl] = useState21(null);
|
|
4581
4602
|
const [isOpenPopover, setIsOpenPopover] = useState21(false);
|
|
4582
4603
|
const [popoverPlacement, setPopoverPlacement] = useState21("bottom");
|
|
4604
|
+
const [popoverWidth, setPopoverWidth] = useState21(void 0);
|
|
4583
4605
|
const detectPlacement = (element) => {
|
|
4584
4606
|
const rect = element.getBoundingClientRect();
|
|
4585
4607
|
const windowHeight = window.innerHeight;
|
|
@@ -4596,6 +4618,7 @@ var SCTime = ({
|
|
|
4596
4618
|
if (!disabled) {
|
|
4597
4619
|
const target = event2.currentTarget;
|
|
4598
4620
|
setAnchorEl(target);
|
|
4621
|
+
setPopoverWidth(target.offsetWidth);
|
|
4599
4622
|
detectPlacement(target);
|
|
4600
4623
|
setIsOpenPopover(true);
|
|
4601
4624
|
}
|
|
@@ -4676,7 +4699,8 @@ var SCTime = ({
|
|
|
4676
4699
|
border: "1px solid #e0e0e0",
|
|
4677
4700
|
maxHeight: "300px",
|
|
4678
4701
|
overflow: "visible",
|
|
4679
|
-
width:
|
|
4702
|
+
width: popoverWidth ? `${popoverWidth}px` : "100%",
|
|
4703
|
+
maxWidth: "none"
|
|
4680
4704
|
}
|
|
4681
4705
|
}
|
|
4682
4706
|
}
|
|
@@ -4782,7 +4806,7 @@ var SCCard = ({ width, title, image, iconTitle, actionsTitle, subtitle, content,
|
|
|
4782
4806
|
|
|
4783
4807
|
// src/Components/SCActivityCalendar.tsx
|
|
4784
4808
|
import React42, { useState as useState23 } from "react";
|
|
4785
|
-
import { Typography as Typography25, IconButton as IconButton15, Box as Box27, Badge as Badge2
|
|
4809
|
+
import { Typography as Typography25, IconButton as IconButton15, Box as Box27, Badge as Badge2 } from "@mui/material";
|
|
4786
4810
|
import Grid11 from "@mui/material/Grid";
|
|
4787
4811
|
import { AdapterDateFns as AdapterDateFns2 } from "@mui/x-date-pickers/AdapterDateFns";
|
|
4788
4812
|
import { LocalizationProvider as LocalizationProvider4 } from "@mui/x-date-pickers/LocalizationProvider";
|
|
@@ -4793,11 +4817,6 @@ import KeyboardDoubleArrowDownIcon2 from "@mui/icons-material/KeyboardDoubleArro
|
|
|
4793
4817
|
import KeyboardDoubleArrowUpIcon2 from "@mui/icons-material/KeyboardDoubleArrowUp";
|
|
4794
4818
|
import ArrowForwardIcon from "@mui/icons-material/ArrowForward";
|
|
4795
4819
|
import LightModeOutlinedIcon from "@mui/icons-material/LightModeOutlined";
|
|
4796
|
-
import FilterListIcon from "@mui/icons-material/FilterList";
|
|
4797
|
-
import CalendarMonthOutlinedIcon from "@mui/icons-material/CalendarMonthOutlined";
|
|
4798
|
-
import CheckCircleOutlineOutlinedIcon from "@mui/icons-material/CheckCircleOutlineOutlined";
|
|
4799
|
-
import EventBusyOutlinedIcon from "@mui/icons-material/EventBusyOutlined";
|
|
4800
|
-
import PendingOutlinedIcon from "@mui/icons-material/PendingOutlined";
|
|
4801
4820
|
var SCActivityCalendar = ({
|
|
4802
4821
|
//informativas
|
|
4803
4822
|
//apariencia
|
|
@@ -4814,9 +4833,6 @@ var SCActivityCalendar = ({
|
|
|
4814
4833
|
const [fechaSeleccionada, setFechaSeleccionada] = useState23();
|
|
4815
4834
|
const [stateVal, setstateVal] = React42.useState(/* @__PURE__ */ new Date());
|
|
4816
4835
|
const [openCalendar, setOpenCalendar] = React42.useState(false);
|
|
4817
|
-
const [anchorPopoverFiltro, setAnchorPopoverFiltro] = useState23(null);
|
|
4818
|
-
const [datosEventos, setDatosEventos] = React42.useState(events);
|
|
4819
|
-
const openPopoverFiltro = Boolean(anchorPopoverFiltro);
|
|
4820
4836
|
const hoy = /* @__PURE__ */ new Date();
|
|
4821
4837
|
const inicioSemana = startOfWeek2(fecha, { weekStartsOn: 0 });
|
|
4822
4838
|
const diasSemana = Array.from({ length: 7 }, (_, i) => addDays2(inicioSemana, i));
|
|
@@ -4844,22 +4860,6 @@ var SCActivityCalendar = ({
|
|
|
4844
4860
|
// 0 = domingo, 1 = lunes
|
|
4845
4861
|
})
|
|
4846
4862
|
});
|
|
4847
|
-
const handleClickPopoverFiltro = (event2) => {
|
|
4848
|
-
setAnchorPopoverFiltro(event2.currentTarget);
|
|
4849
|
-
};
|
|
4850
|
-
const handleClosePopoverFiltro = () => {
|
|
4851
|
-
setAnchorPopoverFiltro(null);
|
|
4852
|
-
};
|
|
4853
|
-
const filtrarActividad = (event2, filtro) => {
|
|
4854
|
-
if (filtro === "Todo") {
|
|
4855
|
-
setDatosEventos(events);
|
|
4856
|
-
} else {
|
|
4857
|
-
const resultado = events.filter(
|
|
4858
|
-
(item) => item.state === filtro
|
|
4859
|
-
);
|
|
4860
|
-
setDatosEventos(resultado);
|
|
4861
|
-
}
|
|
4862
|
-
};
|
|
4863
4863
|
return /* @__PURE__ */ React42.createElement(React42.Fragment, null, /* @__PURE__ */ React42.createElement(LocalizationProvider4, { dateAdapter: AdapterDateFns2, adapterLocale: locale }, openCalendar == false ? /* @__PURE__ */ React42.createElement(Box27, { "data-testid": "calendar-mobile", sx: { width: "100%", background: background ? background : "white", display: "flex", flexDirection: "column", alignItems: "center" } }, /* @__PURE__ */ React42.createElement(Box27, { sx: { width: "100%", padding: "0px", background: "transparent" } }, /* @__PURE__ */ React42.createElement(Grid11, { container: true, gap: 0.5, sx: { justifyContent: "space-between", padding: "12px 16px", background: "transparent" } }, diasSemana.map((dia) => /* @__PURE__ */ React42.createElement(Grid11, { sx: { width: "36px" }, key: dia.toString() }, /* @__PURE__ */ React42.createElement(Box27, { sx: { width: "36px", height: "40px", display: "flex", alignItems: "center", justifyContent: "center" } }, /* @__PURE__ */ React42.createElement(Typography25, { sx: { fontSize: "12px !important", color: "#10184099" } }, format2(dia, "EEEE", { locale: es2 }).charAt(0).toUpperCase())), /* @__PURE__ */ React42.createElement(
|
|
4864
4864
|
Box27,
|
|
4865
4865
|
{
|
|
@@ -4899,36 +4899,7 @@ var SCActivityCalendar = ({
|
|
|
4899
4899
|
},
|
|
4900
4900
|
onChange: (newValue) => setFecha(newValue)
|
|
4901
4901
|
}
|
|
4902
|
-
), /* @__PURE__ */ React42.createElement(Grid11, { container: true, justifyContent: "center" }, /* @__PURE__ */ React42.createElement(IconButton15, { "data-testid": "close-calendar-button", onClick: toggleCalendar(false) }, /* @__PURE__ */ React42.createElement(KeyboardDoubleArrowUpIcon2, { color: "action" }))))), /* @__PURE__ */ React42.createElement(
|
|
4903
|
-
Popover7,
|
|
4904
|
-
{
|
|
4905
|
-
open: openPopoverFiltro,
|
|
4906
|
-
anchorEl: anchorPopoverFiltro,
|
|
4907
|
-
onClose: handleClosePopoverFiltro,
|
|
4908
|
-
anchorOrigin: {
|
|
4909
|
-
vertical: "bottom",
|
|
4910
|
-
horizontal: "right"
|
|
4911
|
-
}
|
|
4912
|
-
},
|
|
4913
|
-
/* @__PURE__ */ React42.createElement(
|
|
4914
|
-
Menu3,
|
|
4915
|
-
{
|
|
4916
|
-
id: "basic-menu",
|
|
4917
|
-
anchorEl: anchorPopoverFiltro,
|
|
4918
|
-
open: openPopoverFiltro,
|
|
4919
|
-
onClose: handleClosePopoverFiltro,
|
|
4920
|
-
slotProps: {
|
|
4921
|
-
list: {
|
|
4922
|
-
"aria-labelledby": "basic-button"
|
|
4923
|
-
}
|
|
4924
|
-
}
|
|
4925
|
-
},
|
|
4926
|
-
/* @__PURE__ */ React42.createElement(MenuItem8, { onClick: (event2) => filtrarActividad(event2, "Todo") }, /* @__PURE__ */ React42.createElement(ListItemIcon6, null, /* @__PURE__ */ React42.createElement(CalendarMonthOutlinedIcon, { fontSize: "small" })), /* @__PURE__ */ React42.createElement(Typography25, { variant: "inherit" }, "Ver todo")),
|
|
4927
|
-
/* @__PURE__ */ React42.createElement(MenuItem8, { onClick: (event2) => filtrarActividad(event2, "Finalizada") }, /* @__PURE__ */ React42.createElement(ListItemIcon6, null, /* @__PURE__ */ React42.createElement(CheckCircleOutlineOutlinedIcon, { fontSize: "small" })), /* @__PURE__ */ React42.createElement(Typography25, { variant: "inherit" }, "Ver finalizadas")),
|
|
4928
|
-
/* @__PURE__ */ React42.createElement(MenuItem8, { onClick: (event2) => filtrarActividad(event2, "Aplazada") }, /* @__PURE__ */ React42.createElement(ListItemIcon6, null, /* @__PURE__ */ React42.createElement(EventBusyOutlinedIcon, { fontSize: "small" })), /* @__PURE__ */ React42.createElement(Typography25, { variant: "inherit" }, "Ver aplazadas")),
|
|
4929
|
-
/* @__PURE__ */ React42.createElement(MenuItem8, { onClick: (event2) => filtrarActividad(event2, "En progreso") }, /* @__PURE__ */ React42.createElement(ListItemIcon6, null, /* @__PURE__ */ React42.createElement(PendingOutlinedIcon, { fontSize: "small" })), /* @__PURE__ */ React42.createElement(Typography25, { variant: "inherit" }, "Ver en progreso"))
|
|
4930
|
-
)
|
|
4931
|
-
), /* @__PURE__ */ React42.createElement(Box27, { sx: { boxSizing: "border-box", padding: "0px 16px", width: "100%", height: openCalendar ? "calc(91% - 260px)" : "calc(91% - 100px)", background: "white", display: "flex", flexDirection: "column", overflowY: "auto", gap: "8px", scrollSnapType: "x mandatory", paddingBottom: "10px" } }, diasSemana.map((day, dayIndex) => /* @__PURE__ */ React42.createElement(
|
|
4902
|
+
), /* @__PURE__ */ React42.createElement(Grid11, { container: true, justifyContent: "center" }, /* @__PURE__ */ React42.createElement(IconButton15, { "data-testid": "close-calendar-button", onClick: toggleCalendar(false) }, /* @__PURE__ */ React42.createElement(KeyboardDoubleArrowUpIcon2, { color: "action" }))))), /* @__PURE__ */ React42.createElement(Box27, { sx: { boxSizing: "border-box", padding: "0px 16px", width: "100%", height: openCalendar ? "calc(91% - 260px)" : "calc(91% - 100px)", background: "white", display: "flex", flexDirection: "column", overflowY: "auto", gap: "8px", scrollSnapType: "x mandatory", paddingBottom: "10px" } }, diasSemana.map((day, dayIndex) => /* @__PURE__ */ React42.createElement(
|
|
4932
4903
|
Box27,
|
|
4933
4904
|
{
|
|
4934
4905
|
key: dayIndex
|
|
@@ -4945,7 +4916,7 @@ var SCActivityCalendar = ({
|
|
|
4945
4916
|
flexDirection: "column"
|
|
4946
4917
|
} }, (() => {
|
|
4947
4918
|
const esDomingo = day.getDay() === 0;
|
|
4948
|
-
const eventosDelDia =
|
|
4919
|
+
const eventosDelDia = events.filter(
|
|
4949
4920
|
(event2) => new Date(event2.date).toDateString() === day.toDateString()
|
|
4950
4921
|
);
|
|
4951
4922
|
if (eventosDelDia.length > 0) {
|
|
@@ -5307,7 +5278,7 @@ var AttachmentMobile = ({
|
|
|
5307
5278
|
screenshotFormat: "image/jpeg",
|
|
5308
5279
|
videoConstraints: {
|
|
5309
5280
|
//facingMode: { exact: "environment" }
|
|
5310
|
-
facingMode: "
|
|
5281
|
+
facingMode: "environment"
|
|
5311
5282
|
//facingMode: "environment" // cámara trasera
|
|
5312
5283
|
},
|
|
5313
5284
|
style: {
|
|
@@ -5462,7 +5433,7 @@ var SCSnackBar = ({
|
|
|
5462
5433
|
|
|
5463
5434
|
// src/Components/SCAppBar.tsx
|
|
5464
5435
|
import React46, { useState as useState26, useEffect as useEffect22 } from "react";
|
|
5465
|
-
import { Menu as
|
|
5436
|
+
import { Menu as Menu3, Box as Box29, Typography as Typography27, MenuItem as MenuItem8, IconButton as IconButton17, Badge as Badge3 } from "@mui/material";
|
|
5466
5437
|
import Grid12 from "@mui/material/Grid";
|
|
5467
5438
|
import "dayjs/locale/es";
|
|
5468
5439
|
import MenuIcon from "@mui/icons-material/Menu";
|
|
@@ -5518,7 +5489,7 @@ var SCAppBar = ({
|
|
|
5518
5489
|
color: isOnline ? "success" : "error"
|
|
5519
5490
|
}
|
|
5520
5491
|
), /* @__PURE__ */ React46.createElement(Typography27, { variant: "caption", color: "text.secondary" }, isOnline ? "Online" : "Offline")), visibleMenu && /* @__PURE__ */ React46.createElement(React46.Fragment, null, /* @__PURE__ */ React46.createElement(IconButton17, { size: "medium", onClick: handleMenuClick }, /* @__PURE__ */ React46.createElement(MenuIcon, { color: "action" })), /* @__PURE__ */ React46.createElement(
|
|
5521
|
-
|
|
5492
|
+
Menu3,
|
|
5522
5493
|
{
|
|
5523
5494
|
anchorEl,
|
|
5524
5495
|
open: openMenu,
|
|
@@ -5533,7 +5504,7 @@ var SCAppBar = ({
|
|
|
5533
5504
|
},
|
|
5534
5505
|
sx: { zIndex: "2000" }
|
|
5535
5506
|
},
|
|
5536
|
-
options.map((option, index) => /* @__PURE__ */ React46.createElement(
|
|
5507
|
+
options.map((option, index) => /* @__PURE__ */ React46.createElement(MenuItem8, { onClick: option.fn, disabled: option.disabled, key: index }, /* @__PURE__ */ React46.createElement(Typography27, { variant: "body2" }, option.name)))
|
|
5537
5508
|
)))), /* @__PURE__ */ React46.createElement(Box29, { sx: { padding: "8px 16px 0px 16px" } }, contenidoExtra)));
|
|
5538
5509
|
};
|
|
5539
5510
|
|
|
@@ -5572,7 +5543,6 @@ var SCDatePicker = ({ label, required, disabled, background, state, setState, wi
|
|
|
5572
5543
|
maxDate: dayjs11().add(3, "month"),
|
|
5573
5544
|
sx: {
|
|
5574
5545
|
minWidth: 140,
|
|
5575
|
-
padding: "13px 0px",
|
|
5576
5546
|
width: width || "100%",
|
|
5577
5547
|
"& .MuiPickersInputBase-sectionsContainer": {
|
|
5578
5548
|
padding: "8px 0px"
|
|
@@ -5587,13 +5557,7 @@ var SCDatePicker = ({ label, required, disabled, background, state, setState, wi
|
|
|
5587
5557
|
},
|
|
5588
5558
|
textField: {
|
|
5589
5559
|
required: required || false,
|
|
5590
|
-
|
|
5591
|
-
sx: {
|
|
5592
|
-
"&.MuiInputLabel-shrink": {
|
|
5593
|
-
transform: "translate(10px, 5px) scale(0.9) !important"
|
|
5594
|
-
}
|
|
5595
|
-
}
|
|
5596
|
-
}
|
|
5560
|
+
size: "small"
|
|
5597
5561
|
}
|
|
5598
5562
|
},
|
|
5599
5563
|
slots: {
|