1 |
- import{n as i,ax as r,cc as t,cd as e,__tla as a}from"./index-af173888.js";let m,l=Promise.all([(()=>{try{return a}catch{}})()]).then(async()=>{m=()=>{const{t:n}=i();return{info(o){r.info(o)},error(o){r.error(o)},success(o){r.success(o)},warning(o){r.warning(o)},alert(o){t.alert(o,n("common.confirmTitle"))},alertError(o){t.alert(o,n("common.confirmTitle"),{type:"error"})},alertSuccess(o){t.alert(o,n("common.confirmTitle"),{type:"success"})},alertWarning(o){t.alert(o,n("common.confirmTitle"),{type:"warning"})},notify(o){e.info(o)},notifyError(o){e.error(o)},notifySuccess(o){e.success(o)},notifyWarning(o){e.warning(o)},confirm:(o,c)=>t.confirm(o,c||n("common.confirmTitle"),{confirmButtonText:n("common.ok"),cancelButtonText:n("common.cancel"),type:"warning"}),delConfirm:(o,c)=>t.confirm(o||n("common.delMessage"),c||n("common.confirmTitle"),{confirmButtonText:n("common.ok"),cancelButtonText:n("common.cancel"),type:"warning"}),exportConfirm:(o,c)=>t.confirm(o||n("common.exportMessage"),c||n("common.confirmTitle"),{confirmButtonText:n("common.ok"),cancelButtonText:n("common.cancel"),type:"warning"}),prompt:(o,c)=>t.prompt(o,c,{confirmButtonText:n("common.ok"),cancelButtonText:n("common.cancel"),type:"warning"})}}});export{l as __tla,m as u};
|