componentes-sinco 1.1.24 → 1.1.26
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 +8 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +5 -0
- package/dist/index.css.map +1 -1
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2128,7 +2128,7 @@ var import_MultiInputDateRangeField = require("@mui/x-date-pickers-pro/MultiInpu
|
|
|
2128
2128
|
var import_dayjs = __toESM(require("dayjs"), 1);
|
|
2129
2129
|
var import_es = require("dayjs/locale/es");
|
|
2130
2130
|
var import_x_license = require("@mui/x-license");
|
|
2131
|
-
var
|
|
2131
|
+
var import_InsertInvitationOutlined = __toESM(require("@mui/icons-material/InsertInvitationOutlined"), 1);
|
|
2132
2132
|
var SCDateRange = ({
|
|
2133
2133
|
labelDateInitial = "Fecha inicial",
|
|
2134
2134
|
labelDateFinal = "Fecha final",
|
|
@@ -2213,7 +2213,7 @@ var SCDateRange = ({
|
|
|
2213
2213
|
error: isStart ? isStartEmpty : isEndEmpty,
|
|
2214
2214
|
InputProps: {
|
|
2215
2215
|
endAdornment: /* @__PURE__ */ import_react16.default.createElement(import_material10.InputAdornment, { position: "end" }, /* @__PURE__ */ import_react16.default.createElement(
|
|
2216
|
-
|
|
2216
|
+
import_InsertInvitationOutlined.default,
|
|
2217
2217
|
{
|
|
2218
2218
|
color: hasError ? "error" : "action",
|
|
2219
2219
|
fontSize: "small"
|
|
@@ -3084,7 +3084,7 @@ function SCDataGridInitial({ data, columns, getRowId, groupColumns, rowsTable, r
|
|
|
3084
3084
|
overflow: "hidden",
|
|
3085
3085
|
textOverflow: "ellipsis",
|
|
3086
3086
|
whiteSpace: "nowrap",
|
|
3087
|
-
color: "#
|
|
3087
|
+
color: "#10184099",
|
|
3088
3088
|
display: "flex",
|
|
3089
3089
|
alignItems: "center",
|
|
3090
3090
|
paddingLeft: params.rowNode.depth == 0 ? "5px" : params.rowNode.depth == 1 ? "15px" : "25px",
|
|
@@ -3151,7 +3151,6 @@ function SCDataGridInitial({ data, columns, getRowId, groupColumns, rowsTable, r
|
|
|
3151
3151
|
const [pageSize, setPageSize] = (0, import_react27.useState)(rows);
|
|
3152
3152
|
const [arrayRows, setArrayRows] = (0, import_react27.useState)([]);
|
|
3153
3153
|
const [selectionModel, setSelectionModel] = (0, import_react27.useState)([]);
|
|
3154
|
-
debugger;
|
|
3155
3154
|
(0, import_react27.useEffect)(() => {
|
|
3156
3155
|
var _a;
|
|
3157
3156
|
if (setSelectedRow) {
|
|
@@ -3485,7 +3484,8 @@ var EmptyState = ({
|
|
|
3485
3484
|
{
|
|
3486
3485
|
variant: subtitleVariant,
|
|
3487
3486
|
textAlign: "center",
|
|
3488
|
-
color: "text.secondary"
|
|
3487
|
+
color: "text.secondary",
|
|
3488
|
+
style: { whiteSpace: "pre-line" }
|
|
3489
3489
|
},
|
|
3490
3490
|
subtitle
|
|
3491
3491
|
), actions && (actions == null ? void 0 : actions.length) > 0 && /* @__PURE__ */ import_react32.default.createElement(
|
|
@@ -5193,7 +5193,7 @@ var SCActivityCalendar = ({
|
|
|
5193
5193
|
console.log("D\xEDa:", day);
|
|
5194
5194
|
console.log("Filtrando eventos para el d\xEDa:", datosEventos);
|
|
5195
5195
|
const eventosDelDia = datosEventos.filter(
|
|
5196
|
-
(event2) => new Date(event2.date).toDateString() === day.toDateString()
|
|
5196
|
+
(event2) => (/* @__PURE__ */ new Date(event2.date + "T00:00:00")).toDateString() === day.toDateString()
|
|
5197
5197
|
);
|
|
5198
5198
|
console.log("Cantidad eventos para el d\xEDa:", eventosDelDia);
|
|
5199
5199
|
if (eventosDelDia.length > 0) {
|
|
@@ -5793,7 +5793,7 @@ var import_dayjs11 = __toESM(require("dayjs"), 1);
|
|
|
5793
5793
|
var import_es7 = require("dayjs/locale/es");
|
|
5794
5794
|
var import_LocalizationProvider5 = require("@mui/x-date-pickers/LocalizationProvider");
|
|
5795
5795
|
var import_AdapterDayjs3 = require("@mui/x-date-pickers/AdapterDayjs");
|
|
5796
|
-
var
|
|
5796
|
+
var import_InsertInvitationOutlined2 = __toESM(require("@mui/icons-material/InsertInvitationOutlined"), 1);
|
|
5797
5797
|
var SCDatePicker = ({ label, required, disabled, background, state, setState, width, minDate, maxDate }) => {
|
|
5798
5798
|
return /* @__PURE__ */ import_react55.default.createElement(import_LocalizationProvider5.LocalizationProvider, { dateAdapter: import_AdapterDayjs3.AdapterDayjs, adapterLocale: "es" }, /* @__PURE__ */ import_react55.default.createElement(
|
|
5799
5799
|
import_DatePicker.DatePicker,
|
|
@@ -5844,7 +5844,7 @@ var SCDatePicker = ({ label, required, disabled, background, state, setState, wi
|
|
|
5844
5844
|
}
|
|
5845
5845
|
},
|
|
5846
5846
|
slots: {
|
|
5847
|
-
openPickerIcon:
|
|
5847
|
+
openPickerIcon: import_InsertInvitationOutlined2.default
|
|
5848
5848
|
}
|
|
5849
5849
|
}
|
|
5850
5850
|
));
|