System.register(["./index-legacy-e6be1dcb.js"],(function(e,o){"use strict";var t,n,a,l,i;return{setters:[e=>{t=e.d,n=e.x,a=e.w,l=e.a,i=e.bl}],execute:function(){var o=document.createElement("style");o.textContent="._dialogTitle_x0wgf_1{padding-left:.66667rem;text-align:left;font-size:.48rem;font-weight:500;color:#333;line-height:.66667rem;padding-bottom:.32rem}._dialogTitle_x0wgf_1 i{display:inline-block;width:.10667rem;height:.37333rem;background:var(--primary-color);border-radius:.05333rem;margin-right:.16rem}._oDialog_x0wgf_18 .van-dialog__header{padding-top:.53333rem}._oDialog_x0wgf_18 .van-dialog__message{font-size:.42667rem;color:#333;font-weight:400;line-height:.64rem}._oDialog_x0wgf_18 .van-dialog__cancel,._oDialog_x0wgf_18 .van-dialog__confirm{font-size:.48rem;height:1.33333rem;line-height:1.33333rem}._oDialog_x0wgf_18 .van-dialog__cancel{color:#777}._oDialog_x0wgf_18 .van-dialog__confirm{color:var(--primary-color)}\n",document.head.appendChild(o);const r="_dialogTitle_x0wgf_1",g="_oDialog_x0wgf_18";e("O",t({name:"o-dialog",props:{show:{type:Boolean,default:!1},message:{type:String,default:""},title:{type:String,default:"提示"},confirmButtonText:{type:String,default:"确认"},cancelButtonText:{type:String,default:"取消"},showConfirmButton:{type:Boolean,default:!0},showCancelButton:{type:Boolean,default:!1},messageAlign:{type:String,default:"center"},dialogMarginTop:{type:String,default:"0px"},allowHtml:{type:Boolean,default:!1},primaryColor:{type:String,default:"#259CFE"}},emits:["cancel","confirm","update:show"],setup(e,{emit:o}){const t=n({show:e.show||!1});return a((()=>e.show),(()=>{t.show=e.show})),()=>l(i,{class:g,style:{marginTop:e.dialogMarginTop,"--primary-color":e.primaryColor},show:t.show,"onUpdate:show":e=>t.show=e,message:e.message,messageAlign:e.messageAlign,allowHtml:e.allowHtml,confirmButtonText:e.confirmButtonText,cancelButtonText:e.cancelButtonText,showConfirmButton:e.showConfirmButton,showCancelButton:e.showCancelButton,onConfirm:()=>{o("update:show",!1),o("confirm")},onCancel:()=>{o("update:show",!1),o("cancel")}},{title:()=>l("div",{class:r},[l("i",null,null),e.title])})}}))}}}));