ui-mathilde-web 0.1.3 → 0.1.4
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/ui-mathilde-web.js
CHANGED
|
@@ -22009,7 +22009,8 @@ const G_ = ({
|
|
|
22009
22009
|
/* @__PURE__ */ b("span", { className: "font-semibold", children: "Tipos permitidos:" }),
|
|
22010
22010
|
" ",
|
|
22011
22011
|
Array.isArray(e) ? e.map((a) => jd[a] || a).join(", ") : jd[e] || e,
|
|
22012
|
-
" |
|
|
22012
|
+
" |",
|
|
22013
|
+
" ",
|
|
22013
22014
|
/* @__PURE__ */ b("span", { className: "font-semibold", children: "Tamaño máximo:" }),
|
|
22014
22015
|
" ",
|
|
22015
22016
|
n,
|
|
@@ -22059,7 +22060,7 @@ const Q_ = (t) => {
|
|
|
22059
22060
|
/* @__PURE__ */ b(
|
|
22060
22061
|
J_,
|
|
22061
22062
|
{
|
|
22062
|
-
className: "ml-2 text-4xl text-gray-400
|
|
22063
|
+
className: "ml-2 cursor-pointer text-4xl text-gray-400",
|
|
22063
22064
|
onClick: () => e(n)
|
|
22064
22065
|
}
|
|
22065
22066
|
)
|
|
@@ -500,4 +500,4 @@ Please change the parent <Route path="${y}"> to <Route path="${y==="/"?"*":`${y}
|
|
|
500
500
|
`,children:[g.jsxs("div",{className:"flex items-center gap-2 py-1",children:[g.jsxs("div",{className:"flex min-w-[48px] items-center gap-1",children:[l&&g.jsx("button",{onClick:()=>n(a.id),className:"rounded-full p-1 transition-transform duration-200 hover:bg-gray-100",children:c?g.jsx(op,{className:"text-sm text-gray-500"}):g.jsx(np,{className:"text-sm text-gray-500"})}),!l&&g.jsx("div",{className:"w-[28px]"})," ",a.icon&&g.jsx(a.icon,{className:`text-lg ${a.isActive?"text-blue-700 dark:text-blue-500":"text-gray-600"}`})]}),g.jsx("a",{href:a.href,className:`
|
|
501
501
|
flex-grow transition-colors duration-200
|
|
502
502
|
${a.isActive?"font-medium text-blue-700 dark:text-blue-500":"text-gray-700 hover:text-blue-600 dark:text-gray-300"}
|
|
503
|
-
`,children:a.title})]}),l&&c&&o(a.subItems||[],s+1)]},a.id)})});return g.jsx("nav",{id:"TableOfContents",children:o(t)})},Rg={"image/*":"Imágenes (JPG, PNG, GIF, etc.)","application/pdf":"Documentos PDF","application/msword":"Documentos Word (.doc)","application/vnd.openxmlformats-officedocument.wordprocessingml.document":"Documentos Word (.docx)","application/vnd.ms-excel":"Hojas de cálculo Excel (.xls)","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":"Hojas de cálculo Excel (.xlsx)","application/vnd.ms-powerpoint":"Presentaciones PowerPoint (.ppt)","application/vnd.openxmlformats-officedocument.presentationml.presentation":"Presentaciones PowerPoint (.pptx)","text/csv":"Archivos CSV","application/json":"Archivos JSON","application/xml":"Archivos XML"},NC=({onChange:t,accept:e="application/pdf",maxSize:r=10,multiple:n=!1,helperText:o=""})=>{const i=Array.isArray(e)?e.join(","):e,s=()=>Array.isArray(e)?e.map(a=>Rg[a]||a).join(", "):Rg[e]||e;return g.jsx("div",{className:"flex w-full items-center justify-center",children:g.jsxs(Hh,{htmlFor:"dropzone-file",className:"flex h-64 w-full cursor-pointer flex-col items-center justify-center rounded-lg border-2 border-dashed border-gray-300 bg-gray-50 hover:bg-gray-100 dark:border-gray-600 dark:bg-gray-700 dark:hover:border-gray-500 dark:hover:bg-gray-600",children:[g.jsxs("div",{className:"flex w-2/4 items-center justify-center pb-6 pt-5",children:[g.jsx(Rt,{classIm:"mr-3",src:"https://ftp.mathilde-ads.com/151-e44e2ee2d56e5997506c6365eb4d87d3.svg",alt:"icon dropzone",width:74,height:74}),g.jsxs("div",{className:"flex flex-col",children:[g.jsxs("p",{className:"mb-2 text-sm font-light text-gray-400 dark:text-gray-400",children:[g.jsx("span",{className:"font-bold text-gray-500",children:"Arrastra"})," el feed de datos de tu campaña o"," ",g.jsx("span",{className:"font-bold text-gray-500",children:"selecciona el archivo de tu computadora"})," ",o]}),g.jsxs("p",{className:"text-xs text-gray-500 dark:text-gray-400",children:[g.jsx("span",{className:"font-semibold",children:"Tipos permitidos:"})," ",s()," | ",g.jsx("span",{className:"font-semibold",children:"Tamaño máximo:"})," ",r," MB"]})]})]}),g.jsx(Ah,{id:"dropzone-file",className:"hidden",onChange:t,accept:i,multiple:n})]})})};function MC(t){return ge({attr:{version:"1.1",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M2 5v10c0 0.55 0.45 1 1 1h9c0.55 0 1-0.45 1-1v-10h-11zM5 14h-1v-7h1v7zM7 14h-1v-7h1v7zM9 14h-1v-7h1v7zM11 14h-1v-7h1v7z"},child:[]},{tag:"path",attr:{d:"M13.25 2h-3.25v-1.25c0-0.412-0.338-0.75-0.75-0.75h-3.5c-0.412 0-0.75 0.338-0.75 0.75v1.25h-3.25c-0.413 0-0.75 0.337-0.75 0.75v1.25h13v-1.25c0-0.413-0.338-0.75-0.75-0.75zM9 2h-3v-0.987h3v0.987z"},child:[]}]})(t)}const PC=t=>{const e=Math.floor(Math.log(t)/Math.log(1024)),r=["Bytes","KB","MB","GB","TB"];return`${(t/Math.pow(1024,e)).toFixed(2)} ${r[e]}`},AC=({files:t,onDelete:e})=>g.jsx("div",{className:"mt-4",children:g.jsx("ul",{className:"list-disc",children:t.map((r,n)=>g.jsxs("div",{className:"mb-5 flex w-full items-center justify-between rounded-lg border-2 border-dashed border-gray-300 bg-gray-50 p-4 hover:bg-gray-100 dark:border-gray-600 dark:bg-gray-700 dark:hover:border-gray-500 dark:hover:bg-gray-600",children:[g.jsxs("div",{className:"flex items-center",children:[g.jsx(Rt,{classIm:"mr-3",src:"https://ftp.mathilde-ads.com/151-1dcc25481e8c72ed21c720c94adfdec6.svg",alt:"icon dropzone",width:50}),g.jsx("li",{className:"text-base font-semibold text-gray-700",children:r.name})]}),g.jsxs("div",{className:"mx-4 flex items-center",children:[g.jsx("span",{className:"flex text-sm",children:PC(r.size)}),g.jsx(MC,{className:"ml-2 text-4xl text-gray-400
|
|
503
|
+
`,children:a.title})]}),l&&c&&o(a.subItems||[],s+1)]},a.id)})});return g.jsx("nav",{id:"TableOfContents",children:o(t)})},Rg={"image/*":"Imágenes (JPG, PNG, GIF, etc.)","application/pdf":"Documentos PDF","application/msword":"Documentos Word (.doc)","application/vnd.openxmlformats-officedocument.wordprocessingml.document":"Documentos Word (.docx)","application/vnd.ms-excel":"Hojas de cálculo Excel (.xls)","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":"Hojas de cálculo Excel (.xlsx)","application/vnd.ms-powerpoint":"Presentaciones PowerPoint (.ppt)","application/vnd.openxmlformats-officedocument.presentationml.presentation":"Presentaciones PowerPoint (.pptx)","text/csv":"Archivos CSV","application/json":"Archivos JSON","application/xml":"Archivos XML"},NC=({onChange:t,accept:e="application/pdf",maxSize:r=10,multiple:n=!1,helperText:o=""})=>{const i=Array.isArray(e)?e.join(","):e,s=()=>Array.isArray(e)?e.map(a=>Rg[a]||a).join(", "):Rg[e]||e;return g.jsx("div",{className:"flex w-full items-center justify-center",children:g.jsxs(Hh,{htmlFor:"dropzone-file",className:"flex h-64 w-full cursor-pointer flex-col items-center justify-center rounded-lg border-2 border-dashed border-gray-300 bg-gray-50 hover:bg-gray-100 dark:border-gray-600 dark:bg-gray-700 dark:hover:border-gray-500 dark:hover:bg-gray-600",children:[g.jsxs("div",{className:"flex w-2/4 items-center justify-center pb-6 pt-5",children:[g.jsx(Rt,{classIm:"mr-3",src:"https://ftp.mathilde-ads.com/151-e44e2ee2d56e5997506c6365eb4d87d3.svg",alt:"icon dropzone",width:74,height:74}),g.jsxs("div",{className:"flex flex-col",children:[g.jsxs("p",{className:"mb-2 text-sm font-light text-gray-400 dark:text-gray-400",children:[g.jsx("span",{className:"font-bold text-gray-500",children:"Arrastra"})," el feed de datos de tu campaña o"," ",g.jsx("span",{className:"font-bold text-gray-500",children:"selecciona el archivo de tu computadora"})," ",o]}),g.jsxs("p",{className:"text-xs text-gray-500 dark:text-gray-400",children:[g.jsx("span",{className:"font-semibold",children:"Tipos permitidos:"})," ",s()," |"," ",g.jsx("span",{className:"font-semibold",children:"Tamaño máximo:"})," ",r," MB"]})]})]}),g.jsx(Ah,{id:"dropzone-file",className:"hidden",onChange:t,accept:i,multiple:n})]})})};function MC(t){return ge({attr:{version:"1.1",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M2 5v10c0 0.55 0.45 1 1 1h9c0.55 0 1-0.45 1-1v-10h-11zM5 14h-1v-7h1v7zM7 14h-1v-7h1v7zM9 14h-1v-7h1v7zM11 14h-1v-7h1v7z"},child:[]},{tag:"path",attr:{d:"M13.25 2h-3.25v-1.25c0-0.412-0.338-0.75-0.75-0.75h-3.5c-0.412 0-0.75 0.338-0.75 0.75v1.25h-3.25c-0.413 0-0.75 0.337-0.75 0.75v1.25h13v-1.25c0-0.413-0.338-0.75-0.75-0.75zM9 2h-3v-0.987h3v0.987z"},child:[]}]})(t)}const PC=t=>{const e=Math.floor(Math.log(t)/Math.log(1024)),r=["Bytes","KB","MB","GB","TB"];return`${(t/Math.pow(1024,e)).toFixed(2)} ${r[e]}`},AC=({files:t,onDelete:e})=>g.jsx("div",{className:"mt-4",children:g.jsx("ul",{className:"list-disc",children:t.map((r,n)=>g.jsxs("div",{className:"mb-5 flex w-full items-center justify-between rounded-lg border-2 border-dashed border-gray-300 bg-gray-50 p-4 hover:bg-gray-100 dark:border-gray-600 dark:bg-gray-700 dark:hover:border-gray-500 dark:hover:bg-gray-600",children:[g.jsxs("div",{className:"flex items-center",children:[g.jsx(Rt,{classIm:"mr-3",src:"https://ftp.mathilde-ads.com/151-1dcc25481e8c72ed21c720c94adfdec6.svg",alt:"icon dropzone",width:50}),g.jsx("li",{className:"text-base font-semibold text-gray-700",children:r.name})]}),g.jsxs("div",{className:"mx-4 flex items-center",children:[g.jsx("span",{className:"flex text-sm",children:PC(r.size)}),g.jsx(MC,{className:"ml-2 cursor-pointer text-4xl text-gray-400",onClick:()=>e(r)})]})]},n))})});te.ButtonFormat=Kg,te.CardFormat=ei,te.CardIndicator=up,te.Checkbox=qg,te.Dropzone=NC,te.ImageFormat=Rt,te.InputForm=Ra,te.LayoutOutside=_C,te.ListFile=AC,te.ModalFormat=Ar,te.MyDoughnutChart=Lb,te.PasswordInput=Fi,te.PasswordValidationList=Vg,te.ProgressBar=Xa,te.SelectForm=Za,te.SidebarMth=c1,te.TableComponent=CC,te.TableOfContents=TC,te.TermsCheckbox=SC,te.ValidationPassword=OC,Object.defineProperty(te,Symbol.toStringTag,{value:"Module"})});
|