moreShopAdmin/build/admin/assets/index.6c48d0ba.js

2 lines
1.3 KiB
JavaScript
Raw Normal View History

2024-11-15 19:58:31 +08:00
import{p as n,q as c,x as r,O as i,t as f,a$ as v,v as s,a2 as l,G as a,y as m,A as u,ae as k,b0 as g}from"./.pnpm.1b0299fb.js";import{_ as B}from"./index.vue_vue_type_style_index_0_scoped_d380c88d_lang.abac7546.js";import{d as C}from"./index.689cfa31.js";const $={class:"dialog"},y={class:"dialog-footer"};function V(e,o,b,E,T,w){const d=k,p=g;return n(),c("div",$,[r("div",{class:"dialog__trigger",onClick:o[0]||(o[0]=(...t)=>e.open&&e.open(...t))},[i(e.$slots,"trigger",{},void 0,!0)]),f(p,{modelValue:e.visible,"onUpdate:modelValue":o[3]||(o[3]=t=>e.visible=t),"custom-class":e.customClass,center:e.center,"append-to-body":!0,width:e.width,"close-on-click-modal":e.clickModalClose,onClosed:e.close},v({footer:s(()=>[r("div",y,[e.cancelButtonText?(n(),m(d,{key:0,onClick:o[1]||(o[1]=t=>e.handleEvent("cancel"))},{default:s(()=>[l(a(e.cancelButtonText),1)]),_:1})):u("",!0),e.confirmButtonText?(n(),m(d,{key:1,type:"primary",onClick:o[2]||(o[2]=t=>e.handleEvent("confirm"))},{default:s(()=>[l(a(e.confirmButtonText),1)]),_:1})):u("",!0)])]),default:s(()=>[i(e.$slots,"default",{},()=>[l(a(e.content),1)],!0)]),_:2},[e.title?{name:"header",fn:s(()=>[l(a(e.title),1)]),key:"0"}:void 0]),1032,["modelValue","custom-class","center","width","close-on-click-modal","onClosed"])])}const D=C(B,[["render",V],["__scopeId","data-v-d380c88d"]]);export{D as P};