function e(e=`此项`){return t=>!!t||`${e}不能为空`}function t(e=`值`){return t=>!t||!isNaN(Number(t))||`${e}必须是数字`}function n(e,t,n=`值`){return r=>{if(!r)return!0;let i=Number(r);return!isNaN(i)&&i>=e&&i<=t||`${n}必须在${e}-${t}之间`}}function r(e,t=`密码`){return n=>n===e()||`两次${t}不一致`}export{e as i,r as n,n as r,t};