componentes-sinco 1.1.10 → 1.1.12
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 +245 -35
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +22 -8
- package/dist/index.d.ts +22 -8
- package/dist/index.js +267 -58
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -98,6 +98,7 @@ __export(index_exports, {
|
|
|
98
98
|
SCCard: () => SCCard,
|
|
99
99
|
SCDataGrid: () => SCDataGrid,
|
|
100
100
|
SCDataGridInitial: () => SCDataGridInitial,
|
|
101
|
+
SCDatePicker: () => SCDatePicker,
|
|
101
102
|
SCDateRange: () => SCDateRange,
|
|
102
103
|
SCDialog: () => SCDialog,
|
|
103
104
|
SCDrawer: () => SCDrawer,
|
|
@@ -2305,7 +2306,7 @@ var DrawerActions = ({ actions, anchor }) => {
|
|
|
2305
2306
|
sx: { borderTop: 1, borderColor: "#1018403B", zIndex: 1500 },
|
|
2306
2307
|
container: true,
|
|
2307
2308
|
gap: 2,
|
|
2308
|
-
padding: "8px
|
|
2309
|
+
padding: "8px 16px",
|
|
2309
2310
|
height: "42px",
|
|
2310
2311
|
alignItems: "center",
|
|
2311
2312
|
flexWrap: "nowrap",
|
|
@@ -2466,6 +2467,11 @@ function SCDrawer({
|
|
|
2466
2467
|
onOpen: toggleDrawer(true),
|
|
2467
2468
|
anchor: "bottom",
|
|
2468
2469
|
swipeAreaWidth: drawerBleeding,
|
|
2470
|
+
transitionDuration: { enter: 500, exit: 400 },
|
|
2471
|
+
ModalProps: {
|
|
2472
|
+
BackdropProps: { timeout: 400 }
|
|
2473
|
+
},
|
|
2474
|
+
hysteresis: 0.2,
|
|
2469
2475
|
sx: {
|
|
2470
2476
|
zIndex: 1400,
|
|
2471
2477
|
"& .MuiDrawer-paper": {
|
|
@@ -2474,6 +2480,11 @@ function SCDrawer({
|
|
|
2474
2480
|
boxSizing: "border-box",
|
|
2475
2481
|
borderRadius: "4px 4px 0px 0px"
|
|
2476
2482
|
}
|
|
2483
|
+
},
|
|
2484
|
+
slotProps: {
|
|
2485
|
+
backdrop: {
|
|
2486
|
+
sx: { backgroundColor: "#00000038" }
|
|
2487
|
+
}
|
|
2477
2488
|
}
|
|
2478
2489
|
},
|
|
2479
2490
|
/* @__PURE__ */ import_react20.default.createElement(
|
|
@@ -2498,7 +2509,33 @@ function SCDrawer({
|
|
|
2498
2509
|
onClose: handleDrawerClose,
|
|
2499
2510
|
anchor
|
|
2500
2511
|
}
|
|
2501
|
-
), /* @__PURE__ */ import_react20.default.createElement(DrawerContent, { arrayElements }), /* @__PURE__ */ import_react20.default.createElement(
|
|
2512
|
+
), /* @__PURE__ */ import_react20.default.createElement(DrawerContent, { arrayElements }), /* @__PURE__ */ import_react20.default.createElement(
|
|
2513
|
+
import_Grid4.default,
|
|
2514
|
+
{
|
|
2515
|
+
sx: { zIndex: 1500 },
|
|
2516
|
+
container: true,
|
|
2517
|
+
gap: 2,
|
|
2518
|
+
padding: "8px 16px 40px 16px",
|
|
2519
|
+
height: "86px",
|
|
2520
|
+
alignItems: "center",
|
|
2521
|
+
flexWrap: "nowrap",
|
|
2522
|
+
justifyContent: Array.isArray(drawerActions) && drawerActions.length > 1 ? "space-between" : "flex-end",
|
|
2523
|
+
flexDirection: "row-reverse"
|
|
2524
|
+
},
|
|
2525
|
+
Array.isArray(drawerActions) && drawerActions.map((btn, index) => /* @__PURE__ */ import_react20.default.createElement(
|
|
2526
|
+
import_material14.Button,
|
|
2527
|
+
{
|
|
2528
|
+
key: index,
|
|
2529
|
+
variant: index === 0 || drawerActions.length < 2 ? "contained" : "text",
|
|
2530
|
+
color: "primary",
|
|
2531
|
+
onClick: btn.fn,
|
|
2532
|
+
disabled: btn.disabled || false,
|
|
2533
|
+
size: "small",
|
|
2534
|
+
fullWidth: anchor === "bottom" ? true : false
|
|
2535
|
+
},
|
|
2536
|
+
btn.text
|
|
2537
|
+
))
|
|
2538
|
+
))
|
|
2502
2539
|
));
|
|
2503
2540
|
}
|
|
2504
2541
|
|
|
@@ -2613,7 +2650,7 @@ function MultiSelect({
|
|
|
2613
2650
|
selectAll = false,
|
|
2614
2651
|
getItemLabel
|
|
2615
2652
|
}) {
|
|
2616
|
-
var _a, _b;
|
|
2653
|
+
var _a, _b, _c;
|
|
2617
2654
|
const {
|
|
2618
2655
|
anchorEl,
|
|
2619
2656
|
open: openMultiselect,
|
|
@@ -2660,7 +2697,7 @@ function MultiSelect({
|
|
|
2660
2697
|
startIcon: (button == null ? void 0 : button.iconPosition) === "left" || !(button == null ? void 0 : button.iconPosition) ? /* @__PURE__ */ import_react24.default.createElement(Icon, null) : null,
|
|
2661
2698
|
endIcon: (button == null ? void 0 : button.iconPosition) === "right" ? /* @__PURE__ */ import_react24.default.createElement(Icon, null) : null
|
|
2662
2699
|
},
|
|
2663
|
-
capitalize(
|
|
2700
|
+
capitalize((_c = button == null ? void 0 : button.text) != null ? _c : "")
|
|
2664
2701
|
), /* @__PURE__ */ import_react24.default.createElement(
|
|
2665
2702
|
import_material16.Popover,
|
|
2666
2703
|
{
|
|
@@ -2796,7 +2833,7 @@ var SCCalendarSwipeable = ({
|
|
|
2796
2833
|
// 0 = domingo, 1 = lunes
|
|
2797
2834
|
})
|
|
2798
2835
|
});
|
|
2799
|
-
return /* @__PURE__ */ import_react26.default.createElement(import_react26.default.Fragment, null, /* @__PURE__ */ import_react26.default.createElement(import_LocalizationProvider2.LocalizationProvider, { dateAdapter: import_AdapterDateFns.AdapterDateFns, adapterLocale: locale }, openCalendar == false ? /* @__PURE__ */ import_react26.default.createElement(import_material18.Box, { "data-testid": "calendar-mobile", sx: { width: "100%", background: background ? background : "white", display: "flex", flexDirection: "column", alignItems: "center" } }, /* @__PURE__ */ import_react26.default.createElement(import_material18.Box, { sx: { width: "100%",
|
|
2836
|
+
return /* @__PURE__ */ import_react26.default.createElement(import_react26.default.Fragment, null, /* @__PURE__ */ import_react26.default.createElement(import_LocalizationProvider2.LocalizationProvider, { dateAdapter: import_AdapterDateFns.AdapterDateFns, adapterLocale: locale }, openCalendar == false ? /* @__PURE__ */ import_react26.default.createElement(import_material18.Box, { "data-testid": "calendar-mobile", sx: { width: "100%", background: background ? background : "white", display: "flex", flexDirection: "column", alignItems: "center" } }, /* @__PURE__ */ import_react26.default.createElement(import_material18.Box, { sx: { width: "100%", padding: "0px 16px", background: "transparent" } }, /* @__PURE__ */ import_react26.default.createElement(import_Grid5.default, { container: true, gap: 0.5, sx: { justifyContent: "space-between", padding: "12px 0px", background: "transparent" } }, diasSemana.map((dia) => /* @__PURE__ */ import_react26.default.createElement(import_Grid5.default, { sx: { width: "36px" }, key: dia.toString() }, /* @__PURE__ */ import_react26.default.createElement(import_material18.Box, { sx: { width: "36px", height: "40px", display: "flex", alignItems: "center", justifyContent: "center" } }, /* @__PURE__ */ import_react26.default.createElement(import_material18.Typography, { sx: { fontSize: "12px !important", color: "#10184099" } }, (0, import_date_fns.format)(dia, "EEEE", { locale: import_locale.es }).charAt(0).toUpperCase())), /* @__PURE__ */ import_react26.default.createElement(
|
|
2800
2837
|
import_material18.Box,
|
|
2801
2838
|
{
|
|
2802
2839
|
onClick: () => setFecha(dia),
|
|
@@ -2820,7 +2857,22 @@ var SCCalendarSwipeable = ({
|
|
|
2820
2857
|
openTo: "day",
|
|
2821
2858
|
value: fecha,
|
|
2822
2859
|
slotProps: { toolbar: { hidden: true }, actionBar: { actions: [] } },
|
|
2823
|
-
sx: {
|
|
2860
|
+
sx: {
|
|
2861
|
+
"& .MuiDateCalendar-root": {
|
|
2862
|
+
width: "100%",
|
|
2863
|
+
maxWidth: "unset",
|
|
2864
|
+
margin: 0,
|
|
2865
|
+
padding: "0px 16px"
|
|
2866
|
+
},
|
|
2867
|
+
fontSize: "12px !important",
|
|
2868
|
+
height: "260px !important",
|
|
2869
|
+
background: background ? background : "white",
|
|
2870
|
+
"& .MuiDayCalendar-header": { justifyContent: "space-between" },
|
|
2871
|
+
"& .MuiDayCalendar-weekContainer": { justifyContent: "space-between" },
|
|
2872
|
+
"& .MuiPickersCalendarHeader-root": { paddingLeft: "0px", paddingRight: "0px", color: "#10184099" },
|
|
2873
|
+
"& .MuiPickersDay-root": { fontSize: "12px !important" },
|
|
2874
|
+
"& .MuiDayCalendar-weekDayLabel": { fontSize: "12px !important" }
|
|
2875
|
+
},
|
|
2824
2876
|
onChange: (newValue) => setFecha(newValue)
|
|
2825
2877
|
}
|
|
2826
2878
|
), /* @__PURE__ */ import_react26.default.createElement(import_Grid5.default, { container: true, justifyContent: "center" }, /* @__PURE__ */ import_react26.default.createElement(import_material18.IconButton, { "data-testid": "close-calendar-button", onClick: toggleCalendar(false) }, /* @__PURE__ */ import_react26.default.createElement(import_KeyboardDoubleArrowUp.default, null))))));
|
|
@@ -2833,7 +2885,7 @@ var import_x_license2 = require("@mui/x-license");
|
|
|
2833
2885
|
var import_KeyboardArrowDown = __toESM(require("@mui/icons-material/KeyboardArrowDown"), 1);
|
|
2834
2886
|
var import_KeyboardArrowUp = __toESM(require("@mui/icons-material/KeyboardArrowUp"), 1);
|
|
2835
2887
|
var import_styles = require("@mui/material/styles");
|
|
2836
|
-
function SCDataGridInitial({ data, columns, groupColumns, rowsTable, checkboxSelection, width, maxHeight, density }) {
|
|
2888
|
+
function SCDataGridInitial({ data, columns, getRowId, groupColumns, rowsTable, checkboxSelection, width, maxHeight, density }) {
|
|
2837
2889
|
import_x_license2.LicenseInfo.setLicenseKey(
|
|
2838
2890
|
"77d49a57fbc5f4af35ddb05c5f1742e0Tz0xMTI3MjgsRT0xNzc4MzcxMTk5MDAwLFM9cHJvLExNPXN1YnNjcmlwdGlvbixQVj1RMy0yMDI0LEtWPTI="
|
|
2839
2891
|
);
|
|
@@ -3065,6 +3117,7 @@ function SCDataGridInitial({ data, columns, groupColumns, rowsTable, checkboxSel
|
|
|
3065
3117
|
return /* @__PURE__ */ import_react27.default.createElement(import_react27.default.Fragment, null, data && /* @__PURE__ */ import_react27.default.createElement(import_react27.default.Fragment, null, /* @__PURE__ */ import_react27.default.createElement("div", { style: { width: width || "100%", maxHeight: maxHeight ? `${maxHeight}px` : "none" } }, /* @__PURE__ */ import_react27.default.createElement(
|
|
3066
3118
|
import_x_data_grid_pro.DataGridPro,
|
|
3067
3119
|
{
|
|
3120
|
+
getRowId,
|
|
3068
3121
|
apiRef,
|
|
3069
3122
|
rowHeight: styleRowHeight,
|
|
3070
3123
|
rows: arrayRows,
|
|
@@ -3392,7 +3445,7 @@ var SCDialog = ({ title, iconTitle, subtitle, content, actions, buttonDialog, di
|
|
|
3392
3445
|
}
|
|
3393
3446
|
}
|
|
3394
3447
|
},
|
|
3395
|
-
title && /* @__PURE__ */ import_react33.default.createElement(import_material20.DialogTitle, { sx: { m: 0, padding: "8px 16px 8px 16px" }, "data-testid": "dialog-icon-title" }, /* @__PURE__ */ import_react33.default.createElement(import_Grid6.default, { container: true, size: 12, sx: { justifyContent: "space-between", flexWrap: "nowrap" } }, /* @__PURE__ */ import_react33.default.createElement(import_Grid6.default, { container: true, size: 11, sx: { alignItems: "center", flexWrap: "nowrap" } }, iconTitle ? iconTitleValidation == "image" ? /* @__PURE__ */ import_react33.default.createElement(import_material20.Box, { sx: { marginRight: "16px", width: "44px", height: "44px", borderRadius: "1px" } }, /* @__PURE__ */ import_react33.default.createElement("img", { src: IconTitle, width: "44px", height: "44px" })) : /* @__PURE__ */ import_react33.default.createElement(import_material20.SvgIcon, { color: "action", fontSize: "small", component: IconTitle, sx: { marginRight: "16px" } }) : "", /* @__PURE__ */ import_react33.default.createElement(import_Grid6.default, { sx: { width: "98%" } }, /* @__PURE__ */ import_react33.default.createElement(import_material20.Typography, { color: "text.primary", variant: "h6", gutterBottom: true }, title ? title : ""), subtitle ? subtitle : "")), disableClose != true ? /* @__PURE__ */ import_react33.default.createElement(import_material20.IconButton, { "data-testid": "close-dialog-button", onClick: handleClose, size: "small", color: "default", sx: { height: 22, width: 22 } }, /* @__PURE__ */ import_react33.default.createElement(import_Close2.default, { color: "action" })) : "")),
|
|
3448
|
+
title && /* @__PURE__ */ import_react33.default.createElement(import_material20.DialogTitle, { sx: { m: 0, padding: "8px 16px 8px 16px" }, "data-testid": "dialog-icon-title" }, /* @__PURE__ */ import_react33.default.createElement(import_Grid6.default, { container: true, size: 12, sx: { justifyContent: "space-between", flexWrap: "nowrap" } }, typeView == "web" ? /* @__PURE__ */ import_react33.default.createElement(import_Grid6.default, { container: true, size: 11, sx: { alignItems: "center", flexWrap: "nowrap" } }, iconTitle ? iconTitleValidation == "image" ? /* @__PURE__ */ import_react33.default.createElement(import_material20.Box, { sx: { marginRight: "16px", width: "44px", height: "44px", borderRadius: "1px" } }, /* @__PURE__ */ import_react33.default.createElement("img", { src: IconTitle, width: "44px", height: "44px" })) : /* @__PURE__ */ import_react33.default.createElement(import_material20.SvgIcon, { color: "action", fontSize: "small", component: IconTitle, sx: { marginRight: "16px" } }) : "", /* @__PURE__ */ import_react33.default.createElement(import_Grid6.default, { sx: { width: "98%" } }, /* @__PURE__ */ import_react33.default.createElement(import_material20.Typography, { color: "text.primary", variant: "h6", gutterBottom: true }, title ? title : ""), subtitle ? subtitle : "")) : /* @__PURE__ */ import_react33.default.createElement(import_Grid6.default, { container: true, size: 11, sx: { alignItems: "center", flexWrap: "nowrap" } }), disableClose != true ? /* @__PURE__ */ import_react33.default.createElement(import_material20.IconButton, { "data-testid": "close-dialog-button", onClick: handleClose, size: "small", color: "default", sx: { height: 22, width: 22 } }, /* @__PURE__ */ import_react33.default.createElement(import_Close2.default, { color: "action" })) : ""), typeView == "mobile" ? /* @__PURE__ */ import_react33.default.createElement(import_Grid6.default, { sx: { display: "flex", flexDirection: "column", padding: "12px 0px 4px 0px" }, gap: 1.5 }, /* @__PURE__ */ import_react33.default.createElement(import_material20.Typography, { color: "text.primary", variant: "h5" }, title ? title : ""), subtitle ? subtitle : "") : ""),
|
|
3396
3449
|
/* @__PURE__ */ import_react33.default.createElement(
|
|
3397
3450
|
import_material20.DialogContent,
|
|
3398
3451
|
{
|
|
@@ -3505,14 +3558,14 @@ var SCListContent = ({ options, iconLeftType = "Icon", iconRightType = "Icon" })
|
|
|
3505
3558
|
}
|
|
3506
3559
|
}
|
|
3507
3560
|
});
|
|
3508
|
-
return /* @__PURE__ */ import_react34.default.createElement(import_react34.default.Fragment, null, /* @__PURE__ */ import_react34.default.createElement(import_material21.List, { sx: { width: "100%",
|
|
3561
|
+
return /* @__PURE__ */ import_react34.default.createElement(import_react34.default.Fragment, null, /* @__PURE__ */ import_react34.default.createElement(import_material21.List, { sx: { width: "100%", bgcolor: "background.paper", padding: "0px !important" } }, options.map((option, index) => {
|
|
3509
3562
|
var _a, _b;
|
|
3510
3563
|
return /* @__PURE__ */ import_react34.default.createElement(import_react34.default.Fragment, { key: index }, /* @__PURE__ */ import_react34.default.createElement(
|
|
3511
3564
|
import_material21.ListItemButton,
|
|
3512
3565
|
{
|
|
3513
3566
|
disabled: option.disable,
|
|
3514
3567
|
onClick: option.fn,
|
|
3515
|
-
sx: { gap: 1 }
|
|
3568
|
+
sx: { gap: 1, padding: iconLeftType == "Icon" ? "8px 8px" : "8px 8px 8px 0px" }
|
|
3516
3569
|
},
|
|
3517
3570
|
option.iconLeft ? iconLeftType == "Icon" ? /* @__PURE__ */ import_react34.default.createElement(import_material21.ListItemIcon, { sx: { minWidth: "0px !important" } }, /* @__PURE__ */ import_react34.default.createElement(import_material21.SvgIcon, { fontSize: "small", sx: { color: option.iconLeftColor || "action" }, component: option.iconLeft })) : /* @__PURE__ */ import_react34.default.createElement(import_Avatar.default, { sx: { width: 25, height: 25, fontSize: "11px", bgcolor: option.iconLeftColor ? `${option.iconLeftColor}.main` : "default" } }, ((_a = option.iconLeft) == null ? void 0 : _a.type) != void 0 ? /* @__PURE__ */ import_react34.default.createElement(import_material21.SvgIcon, { fontSize: "small", component: option.iconLeft }) : option.iconLeft) : "",
|
|
3518
3571
|
/* @__PURE__ */ import_react34.default.createElement(
|
|
@@ -4820,6 +4873,11 @@ var import_KeyboardDoubleArrowDown2 = __toESM(require("@mui/icons-material/Keybo
|
|
|
4820
4873
|
var import_KeyboardDoubleArrowUp2 = __toESM(require("@mui/icons-material/KeyboardDoubleArrowUp"), 1);
|
|
4821
4874
|
var import_ArrowForward = __toESM(require("@mui/icons-material/ArrowForward"), 1);
|
|
4822
4875
|
var import_LightModeOutlined = __toESM(require("@mui/icons-material/LightModeOutlined"), 1);
|
|
4876
|
+
var import_FilterList = __toESM(require("@mui/icons-material/FilterList"), 1);
|
|
4877
|
+
var import_CalendarMonthOutlined = __toESM(require("@mui/icons-material/CalendarMonthOutlined"), 1);
|
|
4878
|
+
var import_CheckCircleOutlineOutlined = __toESM(require("@mui/icons-material/CheckCircleOutlineOutlined"), 1);
|
|
4879
|
+
var import_EventBusyOutlined = __toESM(require("@mui/icons-material/EventBusyOutlined"), 1);
|
|
4880
|
+
var import_PendingOutlined = __toESM(require("@mui/icons-material/PendingOutlined"), 1);
|
|
4823
4881
|
var SCActivityCalendar = ({
|
|
4824
4882
|
//informativas
|
|
4825
4883
|
//apariencia
|
|
@@ -4836,6 +4894,9 @@ var SCActivityCalendar = ({
|
|
|
4836
4894
|
const [fechaSeleccionada, setFechaSeleccionada] = (0, import_react50.useState)();
|
|
4837
4895
|
const [stateVal, setstateVal] = import_react50.default.useState(/* @__PURE__ */ new Date());
|
|
4838
4896
|
const [openCalendar, setOpenCalendar] = import_react50.default.useState(false);
|
|
4897
|
+
const [anchorPopoverFiltro, setAnchorPopoverFiltro] = (0, import_react50.useState)(null);
|
|
4898
|
+
const [datosEventos, setDatosEventos] = import_react50.default.useState(events);
|
|
4899
|
+
const openPopoverFiltro = Boolean(anchorPopoverFiltro);
|
|
4839
4900
|
const hoy = /* @__PURE__ */ new Date();
|
|
4840
4901
|
const inicioSemana = (0, import_date_fns2.startOfWeek)(fecha, { weekStartsOn: 0 });
|
|
4841
4902
|
const diasSemana = Array.from({ length: 7 }, (_, i) => (0, import_date_fns2.addDays)(inicioSemana, i));
|
|
@@ -4863,7 +4924,23 @@ var SCActivityCalendar = ({
|
|
|
4863
4924
|
// 0 = domingo, 1 = lunes
|
|
4864
4925
|
})
|
|
4865
4926
|
});
|
|
4866
|
-
|
|
4927
|
+
const handleClickPopoverFiltro = (event2) => {
|
|
4928
|
+
setAnchorPopoverFiltro(event2.currentTarget);
|
|
4929
|
+
};
|
|
4930
|
+
const handleClosePopoverFiltro = () => {
|
|
4931
|
+
setAnchorPopoverFiltro(null);
|
|
4932
|
+
};
|
|
4933
|
+
const filtrarActividad = (event2, filtro) => {
|
|
4934
|
+
if (filtro === "Todo") {
|
|
4935
|
+
setDatosEventos(events);
|
|
4936
|
+
} else {
|
|
4937
|
+
const resultado = events.filter(
|
|
4938
|
+
(item) => item.state === filtro
|
|
4939
|
+
);
|
|
4940
|
+
setDatosEventos(resultado);
|
|
4941
|
+
}
|
|
4942
|
+
};
|
|
4943
|
+
return /* @__PURE__ */ import_react50.default.createElement(import_react50.default.Fragment, null, /* @__PURE__ */ import_react50.default.createElement(import_LocalizationProvider4.LocalizationProvider, { dateAdapter: import_AdapterDateFns2.AdapterDateFns, adapterLocale: locale }, openCalendar == false ? /* @__PURE__ */ import_react50.default.createElement(import_material34.Box, { "data-testid": "calendar-mobile", sx: { width: "100%", background: background ? background : "white", display: "flex", flexDirection: "column", alignItems: "center" } }, /* @__PURE__ */ import_react50.default.createElement(import_material34.Box, { sx: { width: "100%", padding: "0px", background: "transparent" } }, /* @__PURE__ */ import_react50.default.createElement(import_Grid9.default, { container: true, gap: 0.5, sx: { justifyContent: "space-between", padding: "12px 16px", background: "transparent" } }, diasSemana.map((dia) => /* @__PURE__ */ import_react50.default.createElement(import_Grid9.default, { sx: { width: "36px" }, key: dia.toString() }, /* @__PURE__ */ import_react50.default.createElement(import_material34.Box, { sx: { width: "36px", height: "40px", display: "flex", alignItems: "center", justifyContent: "center" } }, /* @__PURE__ */ import_react50.default.createElement(import_material34.Typography, { sx: { fontSize: "12px !important", color: "#10184099" } }, (0, import_date_fns2.format)(dia, "EEEE", { locale: import_locale2.es }).charAt(0).toUpperCase())), /* @__PURE__ */ import_react50.default.createElement(
|
|
4867
4944
|
import_material34.Box,
|
|
4868
4945
|
{
|
|
4869
4946
|
onClick: () => setFecha(dia),
|
|
@@ -4884,10 +4961,54 @@ var SCActivityCalendar = ({
|
|
|
4884
4961
|
openTo: "day",
|
|
4885
4962
|
value: fecha,
|
|
4886
4963
|
slotProps: { toolbar: { hidden: true }, actionBar: { actions: [] } },
|
|
4887
|
-
sx: {
|
|
4964
|
+
sx: {
|
|
4965
|
+
"& .MuiDateCalendar-root": {
|
|
4966
|
+
width: "97.5%",
|
|
4967
|
+
maxWidth: "unset",
|
|
4968
|
+
margin: 0,
|
|
4969
|
+
padding: "0px 16px"
|
|
4970
|
+
},
|
|
4971
|
+
fontSize: "12px !important",
|
|
4972
|
+
height: "260px !important",
|
|
4973
|
+
background: background ? background : "white",
|
|
4974
|
+
"& .MuiDayCalendar-header": { justifyContent: "space-between" },
|
|
4975
|
+
"& .MuiDayCalendar-weekContainer": { justifyContent: "space-between" },
|
|
4976
|
+
"& .MuiPickersCalendarHeader-root": { paddingLeft: "0px", paddingRight: "0px", color: "#10184099" },
|
|
4977
|
+
"& .MuiPickersDay-root": { fontSize: "12px !important" },
|
|
4978
|
+
"& .MuiDayCalendar-weekDayLabel": { fontSize: "12px !important" }
|
|
4979
|
+
},
|
|
4888
4980
|
onChange: (newValue) => setFecha(newValue)
|
|
4889
4981
|
}
|
|
4890
|
-
), /* @__PURE__ */ import_react50.default.createElement(import_Grid9.default, { container: true, justifyContent: "center" }, /* @__PURE__ */ import_react50.default.createElement(import_material34.IconButton, { "data-testid": "close-calendar-button", onClick: toggleCalendar(false) }, /* @__PURE__ */ import_react50.default.createElement(import_KeyboardDoubleArrowUp2.default, { color: "action" }))))), /* @__PURE__ */ import_react50.default.createElement(import_material34.
|
|
4982
|
+
), /* @__PURE__ */ import_react50.default.createElement(import_Grid9.default, { container: true, justifyContent: "center" }, /* @__PURE__ */ import_react50.default.createElement(import_material34.IconButton, { "data-testid": "close-calendar-button", onClick: toggleCalendar(false) }, /* @__PURE__ */ import_react50.default.createElement(import_KeyboardDoubleArrowUp2.default, { color: "action" }))))), /* @__PURE__ */ import_react50.default.createElement(import_material34.IconButton, { onClick: handleClickPopoverFiltro, sx: { position: "fixed", right: "calc(100% - 96%)", top: openCalendar == false ? "197px" : "357px" } }, /* @__PURE__ */ import_react50.default.createElement(import_FilterList.default, { color: "action" })), /* @__PURE__ */ import_react50.default.createElement(
|
|
4983
|
+
import_material34.Popover,
|
|
4984
|
+
{
|
|
4985
|
+
open: openPopoverFiltro,
|
|
4986
|
+
anchorEl: anchorPopoverFiltro,
|
|
4987
|
+
onClose: handleClosePopoverFiltro,
|
|
4988
|
+
anchorOrigin: {
|
|
4989
|
+
vertical: "bottom",
|
|
4990
|
+
horizontal: "right"
|
|
4991
|
+
}
|
|
4992
|
+
},
|
|
4993
|
+
/* @__PURE__ */ import_react50.default.createElement(
|
|
4994
|
+
import_material34.Menu,
|
|
4995
|
+
{
|
|
4996
|
+
id: "basic-menu",
|
|
4997
|
+
anchorEl: anchorPopoverFiltro,
|
|
4998
|
+
open: openPopoverFiltro,
|
|
4999
|
+
onClose: handleClosePopoverFiltro,
|
|
5000
|
+
slotProps: {
|
|
5001
|
+
list: {
|
|
5002
|
+
"aria-labelledby": "basic-button"
|
|
5003
|
+
}
|
|
5004
|
+
}
|
|
5005
|
+
},
|
|
5006
|
+
/* @__PURE__ */ import_react50.default.createElement(import_material34.MenuItem, { onClick: (event2) => filtrarActividad(event2, "Todo") }, /* @__PURE__ */ import_react50.default.createElement(import_material34.ListItemIcon, null, /* @__PURE__ */ import_react50.default.createElement(import_CalendarMonthOutlined.default, { fontSize: "small" })), /* @__PURE__ */ import_react50.default.createElement(import_material34.Typography, { variant: "inherit" }, "Ver todo")),
|
|
5007
|
+
/* @__PURE__ */ import_react50.default.createElement(import_material34.MenuItem, { onClick: (event2) => filtrarActividad(event2, "Finalizada") }, /* @__PURE__ */ import_react50.default.createElement(import_material34.ListItemIcon, null, /* @__PURE__ */ import_react50.default.createElement(import_CheckCircleOutlineOutlined.default, { fontSize: "small" })), /* @__PURE__ */ import_react50.default.createElement(import_material34.Typography, { variant: "inherit" }, "Ver finalizadas")),
|
|
5008
|
+
/* @__PURE__ */ import_react50.default.createElement(import_material34.MenuItem, { onClick: (event2) => filtrarActividad(event2, "Aplazada") }, /* @__PURE__ */ import_react50.default.createElement(import_material34.ListItemIcon, null, /* @__PURE__ */ import_react50.default.createElement(import_EventBusyOutlined.default, { fontSize: "small" })), /* @__PURE__ */ import_react50.default.createElement(import_material34.Typography, { variant: "inherit" }, "Ver aplazadas")),
|
|
5009
|
+
/* @__PURE__ */ import_react50.default.createElement(import_material34.MenuItem, { onClick: (event2) => filtrarActividad(event2, "En progreso") }, /* @__PURE__ */ import_react50.default.createElement(import_material34.ListItemIcon, null, /* @__PURE__ */ import_react50.default.createElement(import_PendingOutlined.default, { fontSize: "small" })), /* @__PURE__ */ import_react50.default.createElement(import_material34.Typography, { variant: "inherit" }, "Ver en progreso"))
|
|
5010
|
+
)
|
|
5011
|
+
), /* @__PURE__ */ import_react50.default.createElement(import_material34.Box, { 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__ */ import_react50.default.createElement(
|
|
4891
5012
|
import_material34.Box,
|
|
4892
5013
|
{
|
|
4893
5014
|
key: dayIndex
|
|
@@ -4904,7 +5025,7 @@ var SCActivityCalendar = ({
|
|
|
4904
5025
|
flexDirection: "column"
|
|
4905
5026
|
} }, (() => {
|
|
4906
5027
|
const esDomingo = day.getDay() === 0;
|
|
4907
|
-
const eventosDelDia =
|
|
5028
|
+
const eventosDelDia = datosEventos.filter(
|
|
4908
5029
|
(event2) => new Date(event2.date).toDateString() === day.toDateString()
|
|
4909
5030
|
);
|
|
4910
5031
|
if (eventosDelDia.length > 0) {
|
|
@@ -4998,15 +5119,19 @@ var import_system = require("@mui/system");
|
|
|
4998
5119
|
var import_icons_material13 = require("@mui/icons-material");
|
|
4999
5120
|
var import_PhotoCamera = __toESM(require("@mui/icons-material/PhotoCamera"), 1);
|
|
5000
5121
|
var import_CancelOutlined = __toESM(require("@mui/icons-material/CancelOutlined"), 1);
|
|
5122
|
+
var import_ImageOutlined = __toESM(require("@mui/icons-material/ImageOutlined"), 1);
|
|
5123
|
+
var import_FileDownloadOutlined = __toESM(require("@mui/icons-material/FileDownloadOutlined"), 1);
|
|
5001
5124
|
var AttachmentMobile = ({
|
|
5002
5125
|
buttonAttachment,
|
|
5003
5126
|
maxSize = 400,
|
|
5004
5127
|
fileAccepted = "",
|
|
5005
5128
|
initialFiles,
|
|
5006
5129
|
deleteAction,
|
|
5007
|
-
|
|
5130
|
+
downloadAction,
|
|
5008
5131
|
onChange,
|
|
5009
|
-
|
|
5132
|
+
children,
|
|
5133
|
+
sx,
|
|
5134
|
+
view = "button"
|
|
5010
5135
|
}) => {
|
|
5011
5136
|
const webcamRef = (0, import_react52.useRef)(null);
|
|
5012
5137
|
const [abrirCamara, setAbrirCamara] = (0, import_react52.useState)(false);
|
|
@@ -5163,7 +5288,7 @@ var AttachmentMobile = ({
|
|
|
5163
5288
|
}
|
|
5164
5289
|
});
|
|
5165
5290
|
const AttachtmentActions = [
|
|
5166
|
-
{ icon: /* @__PURE__ */ import_react52.default.createElement(
|
|
5291
|
+
{ icon: /* @__PURE__ */ import_react52.default.createElement(import_ImageOutlined.default, { type: "file", color: "primary" }), color: "primary", label: "Galer\xEDa", onClick: () => {
|
|
5167
5292
|
var _a;
|
|
5168
5293
|
return (_a = inputRef.current) == null ? void 0 : _a.click();
|
|
5169
5294
|
} },
|
|
@@ -5178,24 +5303,32 @@ var AttachmentMobile = ({
|
|
|
5178
5303
|
setFiles(initialFiles);
|
|
5179
5304
|
}
|
|
5180
5305
|
}, []);
|
|
5181
|
-
return /* @__PURE__ */ import_react52.default.createElement(import_system.Box, { display: "flex", flexDirection: "column", gap: 1 }, /* @__PURE__ */ import_react52.default.createElement(import_system.Box, { display: "flex", width: "100%", justifyContent: "space-between", alignItems: "center", sx }, children, /* @__PURE__ */ import_react52.default.createElement(
|
|
5306
|
+
return /* @__PURE__ */ import_react52.default.createElement(import_system.Box, { display: "flex", flexDirection: "column", gap: 1 }, view == "button" ? /* @__PURE__ */ import_react52.default.createElement(import_system.Box, { display: "flex", width: "100%", justifyContent: "space-between", alignItems: "center", sx }, children, /* @__PURE__ */ import_react52.default.createElement(
|
|
5182
5307
|
AttachmentButton,
|
|
5183
5308
|
{
|
|
5184
5309
|
buttonAttachment,
|
|
5185
5310
|
open,
|
|
5186
5311
|
setOpen
|
|
5187
5312
|
}
|
|
5188
|
-
)), /* @__PURE__ */ import_react52.default.createElement(import_CssBaseline.default, null), /* @__PURE__ */ import_react52.default.createElement(
|
|
5313
|
+
)) : "", /* @__PURE__ */ import_react52.default.createElement(import_CssBaseline.default, null), /* @__PURE__ */ import_react52.default.createElement(
|
|
5189
5314
|
import_material36.SwipeableDrawer,
|
|
5190
5315
|
{
|
|
5316
|
+
slotProps: {
|
|
5317
|
+
backdrop: {
|
|
5318
|
+
sx: { backgroundColor: "#00000038" }
|
|
5319
|
+
}
|
|
5320
|
+
},
|
|
5191
5321
|
ModalProps: {
|
|
5192
5322
|
sx: {
|
|
5193
5323
|
zIndex: 1400,
|
|
5194
5324
|
"& .MuiPaper-root": {
|
|
5195
5325
|
borderRadius: "16px 16px 0 0"
|
|
5196
5326
|
}
|
|
5197
|
-
}
|
|
5327
|
+
},
|
|
5328
|
+
BackdropProps: { timeout: 400 }
|
|
5198
5329
|
},
|
|
5330
|
+
transitionDuration: { enter: 500, exit: 400 },
|
|
5331
|
+
hysteresis: 0.2,
|
|
5199
5332
|
anchor: "bottom",
|
|
5200
5333
|
swipeAreaWidth: 56,
|
|
5201
5334
|
open,
|
|
@@ -5203,7 +5336,7 @@ var AttachmentMobile = ({
|
|
|
5203
5336
|
onOpen: toggleAttachment(true)
|
|
5204
5337
|
},
|
|
5205
5338
|
toast && /* @__PURE__ */ import_react52.default.createElement(SCToastNotification, __spreadValues({}, toast)),
|
|
5206
|
-
/* @__PURE__ */ import_react52.default.createElement(import_system.Box, { display: "flex", flexDirection: "column", alignItems: "center", p: 2, gap: 2 }, /* @__PURE__ */ import_react52.default.createElement(import_system.Box, { display: "flex", width: "100%", justifyContent: "space-between", alignItems: "center", gap: 1, p: 1 }, /* @__PURE__ */ import_react52.default.createElement(import_material36.Typography, { variant: "h6", color: "text.primary" }, "
|
|
5339
|
+
/* @__PURE__ */ import_react52.default.createElement(import_system.Box, { display: "flex", flexDirection: "column", alignItems: "center", p: 2, gap: 2 }, /* @__PURE__ */ import_react52.default.createElement(import_system.Box, { display: "flex", width: "100%", justifyContent: "space-between", alignItems: "center", gap: 1, p: 1 }, /* @__PURE__ */ import_react52.default.createElement(import_material36.Typography, { variant: "h6", color: "text.primary" }, "Agrega adjuntos"), /* @__PURE__ */ import_react52.default.createElement(import_material36.IconButton, { size: "medium", onClick: toggleAttachment(false) }, /* @__PURE__ */ import_react52.default.createElement(import_icons_material13.CloseOutlined, { color: "action" }))), /* @__PURE__ */ import_react52.default.createElement(
|
|
5207
5340
|
"input",
|
|
5208
5341
|
{
|
|
5209
5342
|
type: "file",
|
|
@@ -5212,22 +5345,21 @@ var AttachmentMobile = ({
|
|
|
5212
5345
|
ref: inputRef,
|
|
5213
5346
|
onChange: handleUpload
|
|
5214
5347
|
}
|
|
5215
|
-
), /* @__PURE__ */ import_react52.default.createElement(import_system.Box, { display: "flex", justifyContent: "space-around", alignItems: "center", width: "100%", gap: 2 }, AttachtmentActions.map((option, index) => /* @__PURE__ */ import_react52.default.createElement(
|
|
5348
|
+
), /* @__PURE__ */ import_react52.default.createElement(import_system.Box, { display: "flex", justifyContent: "space-around", alignItems: "center", width: "100%", gap: 2, sx: { padding: "0px 0px 52px 0px !important" } }, AttachtmentActions.map((option, index) => /* @__PURE__ */ import_react52.default.createElement(
|
|
5216
5349
|
import_system.Box,
|
|
5217
5350
|
{
|
|
5218
5351
|
display: "flex",
|
|
5219
5352
|
flexDirection: "column",
|
|
5220
5353
|
alignItems: "center",
|
|
5221
|
-
width: 100,
|
|
5354
|
+
width: "100%",
|
|
5222
5355
|
height: 80,
|
|
5223
5356
|
borderRadius: 1,
|
|
5224
|
-
bgcolor: "grey.
|
|
5357
|
+
bgcolor: "grey.50",
|
|
5225
5358
|
border: "1px solid",
|
|
5226
|
-
borderColor: "grey.
|
|
5227
|
-
boxShadow: 1,
|
|
5359
|
+
borderColor: "grey.100",
|
|
5228
5360
|
justifyContent: "center",
|
|
5229
5361
|
p: 1,
|
|
5230
|
-
gap:
|
|
5362
|
+
gap: 0.5,
|
|
5231
5363
|
onClick: option.onClick,
|
|
5232
5364
|
sx: {
|
|
5233
5365
|
cursor: "pointer"
|
|
@@ -5243,7 +5375,7 @@ var AttachmentMobile = ({
|
|
|
5243
5375
|
},
|
|
5244
5376
|
option.icon
|
|
5245
5377
|
),
|
|
5246
|
-
/* @__PURE__ */ import_react52.default.createElement(import_material36.Typography, { variant: "body2", color: "text.
|
|
5378
|
+
/* @__PURE__ */ import_react52.default.createElement(import_material36.Typography, { variant: "body2", color: "text.secondary" }, option.label)
|
|
5247
5379
|
))))
|
|
5248
5380
|
), abrirCamara && /* @__PURE__ */ import_react52.default.createElement(import_react52.default.Fragment, null, /* @__PURE__ */ import_react52.default.createElement(import_CancelOutlined.default, { onClick: closeCam, sx: { borderRadius: "50px", height: "35px", width: "35px", zIndex: 1700, background: "white", position: "absolute", left: `calc(100% - 50px)`, bottom: `calc(100% - 50px)` } }), /* @__PURE__ */ import_react52.default.createElement(import_material36.Stack, { className: "camras" }, /* @__PURE__ */ import_react52.default.createElement(
|
|
5249
5381
|
import_react_webcam.default,
|
|
@@ -5343,7 +5475,17 @@ var AttachmentMobile = ({
|
|
|
5343
5475
|
},
|
|
5344
5476
|
file.uploadError && file.size / (1024 * 1024) > maxSize ? "Archivo super\xF3 el l\xEDmite \u2022 Carga fallida" : file.uploadError ? "Archivo duplicado o inv\xE1lido \u2022 Carga fallida" : `${(file.size / (1024 * 1024)).toFixed(2)}MB \u2022 ${file.type}`
|
|
5345
5477
|
))),
|
|
5346
|
-
/* @__PURE__ */ import_react52.default.createElement(import_material36.Tooltip, { title: "
|
|
5478
|
+
view == "file" ? /* @__PURE__ */ import_react52.default.createElement(import_material36.Tooltip, { title: "Descargar" }, /* @__PURE__ */ import_react52.default.createElement(
|
|
5479
|
+
import_material36.IconButton,
|
|
5480
|
+
{
|
|
5481
|
+
size: "small",
|
|
5482
|
+
onClick: () => downloadAction == null ? void 0 : downloadAction(file),
|
|
5483
|
+
disabled: file.uploadError,
|
|
5484
|
+
"aria-label": `Descargar ${file.name}`
|
|
5485
|
+
},
|
|
5486
|
+
/* @__PURE__ */ import_react52.default.createElement(import_FileDownloadOutlined.default, { fontSize: "small", color: "action" })
|
|
5487
|
+
)) : "",
|
|
5488
|
+
view == "button" ? /* @__PURE__ */ import_react52.default.createElement(import_material36.Tooltip, { title: "Eliminar" }, /* @__PURE__ */ import_react52.default.createElement(
|
|
5347
5489
|
import_material36.IconButton,
|
|
5348
5490
|
{
|
|
5349
5491
|
size: "small",
|
|
@@ -5351,7 +5493,7 @@ var AttachmentMobile = ({
|
|
|
5351
5493
|
"aria-label": `Eliminar ${file.name}`
|
|
5352
5494
|
},
|
|
5353
5495
|
/* @__PURE__ */ import_react52.default.createElement(import_icons_material13.DeleteOutline, { fontSize: "small", color: "action" })
|
|
5354
|
-
))
|
|
5496
|
+
)) : ""
|
|
5355
5497
|
))
|
|
5356
5498
|
));
|
|
5357
5499
|
};
|
|
@@ -5475,11 +5617,77 @@ var SCAppBar = ({
|
|
|
5475
5617
|
)))), /* @__PURE__ */ import_react54.default.createElement(import_material37.Box, { sx: { padding: "8px 16px 0px 16px" } }, contenidoExtra)));
|
|
5476
5618
|
};
|
|
5477
5619
|
|
|
5620
|
+
// src/Components/SCDatePicker.tsx
|
|
5621
|
+
var import_react55 = __toESM(require("react"), 1);
|
|
5622
|
+
var import_DatePicker = require("@mui/x-date-pickers/DatePicker");
|
|
5623
|
+
var import_es6 = require("dayjs/locale/es");
|
|
5624
|
+
var import_dayjs11 = __toESM(require("dayjs"), 1);
|
|
5625
|
+
var import_es7 = require("dayjs/locale/es");
|
|
5626
|
+
var import_LocalizationProvider5 = require("@mui/x-date-pickers/LocalizationProvider");
|
|
5627
|
+
var import_AdapterDayjs3 = require("@mui/x-date-pickers/AdapterDayjs");
|
|
5628
|
+
var import_InsertInvitationOutlined = __toESM(require("@mui/icons-material/InsertInvitationOutlined"), 1);
|
|
5629
|
+
var SCDatePicker = ({ label, required, disabled, background, state, setState, width }) => {
|
|
5630
|
+
return /* @__PURE__ */ import_react55.default.createElement(import_LocalizationProvider5.LocalizationProvider, { dateAdapter: import_AdapterDayjs3.AdapterDayjs, adapterLocale: "es" }, /* @__PURE__ */ import_react55.default.createElement(
|
|
5631
|
+
import_DatePicker.DatePicker,
|
|
5632
|
+
{
|
|
5633
|
+
disabled,
|
|
5634
|
+
label: label || "Fecha",
|
|
5635
|
+
value: state,
|
|
5636
|
+
onChange: (value) => {
|
|
5637
|
+
if (value && import_dayjs11.default.isDayjs(value) && value.isValid()) {
|
|
5638
|
+
const minDate = (0, import_dayjs11.default)("2015-01-01");
|
|
5639
|
+
const maxDate = (0, import_dayjs11.default)().add(3, "month");
|
|
5640
|
+
if (value.isBefore(minDate, "day")) {
|
|
5641
|
+
alert("La fecha no puede ser anterior al 01/01/2015");
|
|
5642
|
+
return;
|
|
5643
|
+
}
|
|
5644
|
+
if (value.isAfter(maxDate, "day")) {
|
|
5645
|
+
alert("La fecha no puede ser posterior a 3 meses desde hoy");
|
|
5646
|
+
return;
|
|
5647
|
+
}
|
|
5648
|
+
setState(value);
|
|
5649
|
+
}
|
|
5650
|
+
},
|
|
5651
|
+
minDate: (0, import_dayjs11.default)("2015-01-01"),
|
|
5652
|
+
maxDate: (0, import_dayjs11.default)().add(3, "month"),
|
|
5653
|
+
sx: {
|
|
5654
|
+
minWidth: 140,
|
|
5655
|
+
padding: "13px 0px",
|
|
5656
|
+
width: width || "100%",
|
|
5657
|
+
"& .MuiPickersInputBase-sectionsContainer": {
|
|
5658
|
+
padding: "8px 0px"
|
|
5659
|
+
},
|
|
5660
|
+
background: background || "transparent"
|
|
5661
|
+
},
|
|
5662
|
+
slotProps: {
|
|
5663
|
+
popper: {
|
|
5664
|
+
sx: {
|
|
5665
|
+
zIndex: 2e3
|
|
5666
|
+
}
|
|
5667
|
+
},
|
|
5668
|
+
textField: {
|
|
5669
|
+
required: required || false,
|
|
5670
|
+
InputLabelProps: {
|
|
5671
|
+
sx: {
|
|
5672
|
+
"&.MuiInputLabel-shrink": {
|
|
5673
|
+
transform: "translate(10px, 5px) scale(0.9) !important"
|
|
5674
|
+
}
|
|
5675
|
+
}
|
|
5676
|
+
}
|
|
5677
|
+
}
|
|
5678
|
+
},
|
|
5679
|
+
slots: {
|
|
5680
|
+
openPickerIcon: import_InsertInvitationOutlined.default
|
|
5681
|
+
}
|
|
5682
|
+
}
|
|
5683
|
+
));
|
|
5684
|
+
};
|
|
5685
|
+
|
|
5478
5686
|
// src/Theme/index.ts
|
|
5479
5687
|
var import_styles3 = require("@mui/material/styles");
|
|
5480
5688
|
|
|
5481
5689
|
// src/Theme/components.ts
|
|
5482
|
-
var
|
|
5690
|
+
var import_react56 = __toESM(require("react"), 1);
|
|
5483
5691
|
var import_icons_material15 = require("@mui/icons-material");
|
|
5484
5692
|
var components = {
|
|
5485
5693
|
MuiSelect: {
|
|
@@ -5836,6 +6044,7 @@ var components = {
|
|
|
5836
6044
|
})
|
|
5837
6045
|
}
|
|
5838
6046
|
},
|
|
6047
|
+
//este hace claro el fondo
|
|
5839
6048
|
MuiBackdrop: {
|
|
5840
6049
|
styleOverrides: {
|
|
5841
6050
|
root: {
|
|
@@ -6177,10 +6386,10 @@ var components = {
|
|
|
6177
6386
|
MuiAlert: {
|
|
6178
6387
|
defaultProps: {
|
|
6179
6388
|
iconMapping: {
|
|
6180
|
-
success:
|
|
6181
|
-
error:
|
|
6182
|
-
warning:
|
|
6183
|
-
info:
|
|
6389
|
+
success: import_react56.default.createElement(import_icons_material15.CheckCircleRounded),
|
|
6390
|
+
error: import_react56.default.createElement(import_icons_material15.ErrorRounded),
|
|
6391
|
+
warning: import_react56.default.createElement(import_icons_material15.WarningRounded),
|
|
6392
|
+
info: import_react56.default.createElement(import_icons_material15.InfoRounded)
|
|
6184
6393
|
}
|
|
6185
6394
|
},
|
|
6186
6395
|
variants: [
|
|
@@ -7239,6 +7448,7 @@ var ADCSincoTheme = (0, import_styles3.createTheme)(__spreadValues({}, ADCTheme)
|
|
|
7239
7448
|
SCCard,
|
|
7240
7449
|
SCDataGrid,
|
|
7241
7450
|
SCDataGridInitial,
|
|
7451
|
+
SCDatePicker,
|
|
7242
7452
|
SCDateRange,
|
|
7243
7453
|
SCDialog,
|
|
7244
7454
|
SCDrawer,
|