componentes-sinco 1.0.37 → 1.0.39

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 CHANGED
@@ -1740,6 +1740,10 @@ function SCSelect({
1740
1740
  disabled: disabled || false,
1741
1741
  error,
1742
1742
  MenuProps: {
1743
+ sx: {
1744
+ zIndex: 1400
1745
+ // muy alto para que quede encima
1746
+ },
1743
1747
  PaperProps: {
1744
1748
  sx: {
1745
1749
  maxHeight: "300px",
@@ -1968,6 +1972,12 @@ function SCAutocomplete({
1968
1972
  })
1969
1973
  )),
1970
1974
  slotProps: {
1975
+ popper: {
1976
+ sx: {
1977
+ zIndex: 1400
1978
+ // controla el contenedor flotante
1979
+ }
1980
+ },
1971
1981
  listbox: {
1972
1982
  component: import_react15.default.forwardRef(function ListboxComponent(props, ref) {
1973
1983
  return /* @__PURE__ */ import_react15.default.createElement(import_react15.default.Fragment, null, /* @__PURE__ */ import_react15.default.createElement(
@@ -2111,6 +2121,12 @@ var SCDateRange = ({
2111
2121
  field: import_MultiInputDateRangeField.MultiInputDateRangeField
2112
2122
  },
2113
2123
  slotProps: {
2124
+ popper: {
2125
+ sx: {
2126
+ zIndex: 1400
2127
+ // muy alto para que quede encima
2128
+ }
2129
+ },
2114
2130
  textField: ({ position }) => {
2115
2131
  const isStart = position === "start";
2116
2132
  return {
@@ -4671,6 +4687,7 @@ var SCTime = ({
4671
4687
  },
4672
4688
  marginThreshold: 0,
4673
4689
  disableScrollLock: true,
4690
+ sx: { zIndex: "1400" },
4674
4691
  slotProps: {
4675
4692
  paper: {
4676
4693
  sx: {
@@ -5026,7 +5043,9 @@ var AttachmentMobile = ({
5026
5043
  while (n--) {
5027
5044
  u8arr[n] = bstr.charCodeAt(n);
5028
5045
  }
5029
- const capturedFile = new File([u8arr], `photo_${Date.now()}.jpg`, { type: mime });
5046
+ const fechaActual = new Date(Date.now());
5047
+ const fechaConFormato = fechaActual.getFullYear() + "" + (fechaActual.getMonth() + 1) + fechaActual.getDate();
5048
+ const capturedFile = new File([u8arr], `photo_${fechaConFormato}.jpg`, { type: mime });
5030
5049
  newFiles = [capturedFile];
5031
5050
  }
5032
5051
  if (!newFiles) return;