import{r as e,I as t,_ as r,j as n}from"./app-c8e83d6a.js";import{I as a}from"./auth-3113b8a5.js";function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var i={tag:"svg",attrs:{fill:"none",viewBox:"0 0 16 16",width:"1em",height:"1em"},children:[{tag:"path",attrs:{fill:"currentColor",d:"M6 12V6h1v6H6zM9 6v6h1V6H9z",fillOpacity:.9}},{tag:"path",attrs:{fill:"currentColor",d:"M10.5 3H14v1h-1v10a1 1 0 01-1 1H4a1 1 0 01-1-1V4H2V3h3.5V1.8c0-.44.36-.8.8-.8h3.4c.44 0 .8.36.8.8V3zm-4 0h3V2h-3v1zM4 4v10h8V4H4z",fillOpacity:.9}}]},l=e.forwardRef((function(r,n){return e.createElement(t,c(c({},r),{},{id:"delete",ref:n,icon:i}))}));function s(e){const{align:t,className:r,type:o,suffixIcon:c,name:i,value:l,prefixIcon:s,placeholder:p}=e,f=t??"left",h=o??"text",u=i??"",O=c??"",g=s??"",j=p??"";return n.jsx(a,{className:["c-reset-input",r].join(""),placeholder:j,value:l,type:h,align:f,suffixIcon:O,prefixIcon:g,clearable:!0,onChange:t=>{(t=>{e.onChange&&e.onChange(t,u)})(t)},onClear:()=>{}})}l.displayName="DeleteIcon";export{s as C,l as D};
