index-legacy-7f84b03d-1720699367816.js 1.3 KB

1
  1. System.register(["./index-legacy-e0181e36-1720699367816.js"],(function(t,e){"use strict";var n,o,i,r;return{setters:[t=>{n=t.d,o=t.f,i=t.x,r=t.j}],execute:function(){var e=document.createElement("style");e.textContent="._studentRemove_rji4n_1{padding:.625vw 2.08333333vw 0}._studentRemove_rji4n_1 p{font-size:max(.9375rem,14Px);color:#777;line-height:1.5625vw;text-align:center}._studentRemove_rji4n_1 p span{color:#ea4132}._btnGroupModal_rji4n_13{padding:1.66666667vw 0}._btnGroupModal_rji4n_13 .n-button{height:2.44791667vw;min-width:8.125vw}\n",document.head.appendChild(e);const l="_studentRemove_rji4n_1",a="_btnGroupModal_rji4n_13";t("T",n({name:"the-message-dialog",props:{cancelButtonText:{type:String,default:"取消"},confirmButtonText:{type:String,default:"确定"},content:{type:String,default:""},contentDirection:{type:String,default:"center"},loading:{type:Boolean,default:!1}},emits:["close","confirm"],setup:(t,{emit:e})=>()=>o("div",{class:l},[o("p",{style:{textAlign:t.contentDirection},innerHTML:t.content},null),o(i,{class:a,justify:"center"},{default:()=>[o(r,{round:!0,onClick:()=>e("close")},{default:()=>[t.cancelButtonText]}),o(r,{round:!0,type:"primary",loading:t.loading,disabled:t.loading,onClick:()=>{e("confirm")}},{default:()=>[t.confirmButtonText]})]})])}))}}}));