componentes-sinco 1.0.11-rc.0 → 1.0.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 +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -449,7 +449,7 @@ var Adjuntar = ({
|
|
|
449
449
|
justifyContent: compact ? "space-between" : "center",
|
|
450
450
|
gap: 1
|
|
451
451
|
},
|
|
452
|
-
/* @__PURE__ */ import_react3.default.createElement(import_material2.Stack, { flexDirection: "column", alignItems: compact ? "start" : "center", gap: 0.5 }, /* @__PURE__ */ import_react3.default.createElement(import_material2.Typography, { variant: "body2", color: "text.primary" }, "Arrastrar o adjuntar archivos"), /* @__PURE__ */ import_react3.default.createElement(import_material2.Typography, { variant: "caption", color: error ? "error" : "text.secondary" }, error ? "DOCX, XML, PNG, JPG \u2022 Archivo no soportado
|
|
452
|
+
/* @__PURE__ */ import_react3.default.createElement(import_material2.Stack, { flexDirection: "column", alignItems: compact ? "start" : "center", gap: 0.5 }, /* @__PURE__ */ import_react3.default.createElement(import_material2.Typography, { variant: "body2", color: "text.primary" }, "Arrastrar o adjuntar archivos"), /* @__PURE__ */ import_react3.default.createElement(import_material2.Typography, { variant: "caption", color: error ? "error" : "text.secondary" }, error ? `${fileAccepted || "DOCX, XML, PNG, JPG"} \u2022 Archivo no soportado` : `${fileAccepted || "DOCX, XML, PNG, JPG"} \u2022 Max. ${maxSize}MB`)),
|
|
453
453
|
/* @__PURE__ */ import_react3.default.createElement(
|
|
454
454
|
import_material2.Button,
|
|
455
455
|
{
|
|
@@ -491,7 +491,7 @@ var Adjuntar = ({
|
|
|
491
491
|
}
|
|
492
492
|
}
|
|
493
493
|
},
|
|
494
|
-
/* @__PURE__ */ import_react3.default.createElement(import_material2.Stack, { direction: "row", alignItems: "center", gap: 1, width: "100%" }, /* @__PURE__ */ import_react3.default.createElement(import_icons_material2.UploadFileOutlined, { color: file.uploadError ? "error" : "primary", fontSize: "small" }), /* @__PURE__ */ import_react3.default.createElement(import_material2.Stack, { width: "100%" }, /* @__PURE__ */ import_react3.default.createElement(import_material2.Typography, { variant: "body2", color: "text.primary" }, file.name), /* @__PURE__ */ import_react3.default.createElement(import_material2.Typography, { variant: "caption", color: file.uploadError ? "error" : "text.secondary" }, file.uploadError ? "Archivo
|
|
494
|
+
/* @__PURE__ */ import_react3.default.createElement(import_material2.Stack, { direction: "row", alignItems: "center", gap: 1, width: "100%" }, /* @__PURE__ */ import_react3.default.createElement(import_icons_material2.UploadFileOutlined, { color: file.uploadError ? "error" : "primary", fontSize: "small" }), /* @__PURE__ */ import_react3.default.createElement(import_material2.Stack, { width: "100%" }, /* @__PURE__ */ import_react3.default.createElement(import_material2.Typography, { variant: "body2", color: "text.primary" }, file.name), /* @__PURE__ */ import_react3.default.createElement(import_material2.Typography, { variant: "caption", color: file.uploadError ? "error" : "text.secondary" }, 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} \u2022 carga ${file.progress}%`), file.progress === 100 && !file.uploadError ? null : /* @__PURE__ */ import_react3.default.createElement(
|
|
495
495
|
import_material2.LinearProgress,
|
|
496
496
|
{
|
|
497
497
|
variant: "determinate",
|