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.js CHANGED
@@ -1662,6 +1662,10 @@ function SCSelect({
1662
1662
  disabled: disabled || false,
1663
1663
  error,
1664
1664
  MenuProps: {
1665
+ sx: {
1666
+ zIndex: 1400
1667
+ // muy alto para que quede encima
1668
+ },
1665
1669
  PaperProps: {
1666
1670
  sx: {
1667
1671
  maxHeight: "300px",
@@ -1890,6 +1894,12 @@ function SCAutocomplete({
1890
1894
  })
1891
1895
  )),
1892
1896
  slotProps: {
1897
+ popper: {
1898
+ sx: {
1899
+ zIndex: 1400
1900
+ // controla el contenedor flotante
1901
+ }
1902
+ },
1893
1903
  listbox: {
1894
1904
  component: React11.forwardRef(function ListboxComponent(props, ref) {
1895
1905
  return /* @__PURE__ */ React11.createElement(React11.Fragment, null, /* @__PURE__ */ React11.createElement(
@@ -2033,6 +2043,12 @@ var SCDateRange = ({
2033
2043
  field: MultiInputDateRangeField
2034
2044
  },
2035
2045
  slotProps: {
2046
+ popper: {
2047
+ sx: {
2048
+ zIndex: 1400
2049
+ // muy alto para que quede encima
2050
+ }
2051
+ },
2036
2052
  textField: ({ position }) => {
2037
2053
  const isStart = position === "start";
2038
2054
  return {
@@ -4593,6 +4609,7 @@ var SCTime = ({
4593
4609
  },
4594
4610
  marginThreshold: 0,
4595
4611
  disableScrollLock: true,
4612
+ sx: { zIndex: "1400" },
4596
4613
  slotProps: {
4597
4614
  paper: {
4598
4615
  sx: {
@@ -4948,7 +4965,9 @@ var AttachmentMobile = ({
4948
4965
  while (n--) {
4949
4966
  u8arr[n] = bstr.charCodeAt(n);
4950
4967
  }
4951
- const capturedFile = new File([u8arr], `photo_${Date.now()}.jpg`, { type: mime });
4968
+ const fechaActual = new Date(Date.now());
4969
+ const fechaConFormato = fechaActual.getFullYear() + "" + (fechaActual.getMonth() + 1) + fechaActual.getDate();
4970
+ const capturedFile = new File([u8arr], `photo_${fechaConFormato}.jpg`, { type: mime });
4952
4971
  newFiles = [capturedFile];
4953
4972
  }
4954
4973
  if (!newFiles) return;