Some checks failed
Build docker and publish / linux (1.24.5) (push) Failing after 39s
refactor(service): 修改banner和guild删除逻辑为软删除 fix(service): 修复删除操作使用软删除而非物理删除 build: 添加SQLite测试仓库实现 docs: 新增奖励管理字段拆分和批量抽奖UI改造文档 ci: 更新CI忽略文件 style: 清理无用资源文件
2 lines
5.0 KiB
JavaScript
2 lines
5.0 KiB
JavaScript
var e=Object.defineProperty,s=Object.defineProperties,o=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,t=Object.prototype.propertyIsEnumerable,r=(s,o,a)=>o in s?e(s,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):s[o]=a,n=(e,s)=>{for(var o in s||(s={}))l.call(s,o)&&r(e,o,s[o]);if(a)for(var o of a(s))t.call(s,o)&&r(e,o,s[o]);return e},i=(e,a)=>s(e,o(a));import{_ as d,d as c,bG as u,a3 as f,c as p,e as b,f as g,h as v,k as m,j as y,i as h,u as C,m as w,p as k,z as _,y as P,au as R,cS as j,ab as $,g as x,bx as F,X as O,a as I,Z as A,Y as M,J as E,c6 as T,ac as D,a7 as z,ap as S}from"./index-CZ0Lvzl5.js";import{E as q,a as B}from"./index-CgoUqbdT.js";import{F as L,E as G,b as J}from"./index-K2zzami3.js";import{d as U,a as X,b as Y,c as Z,e as H,u as K}from"./use-dialog-BDM4AbF-.js";import{u as N}from"./index-DaNWXg3-.js";import{c as Q}from"./refs-Cw5r5QN8.js";import{u as V}from"./index-MV2EqMi7.js";const W=c({name:"ElDialogContent"});var ee=d(c(i(n({},W),{props:X,emits:U,setup(e,{expose:s}){const o=e,{t:a}=u(),{Close:l}=j,{dialogRef:t,headerRef:r,bodyId:n,ns:i,style:d}=f(Y),{focusTrapRef:c}=f(L),F=Q(c,t),O=p(()=>!!o.draggable),I=p(()=>!!o.overflow),{resetPosition:A,updatePosition:M,isDragging:E}=N(t,r,O,I),T=p(()=>[i.b(),i.is("fullscreen",o.fullscreen),i.is("draggable",O.value),i.is("dragging",E.value),i.is("align-center",!!o.alignCenter),{[i.m("center")]:o.center}]);return s({resetPosition:A,updatePosition:M}),(e,s)=>(g(),b("div",{ref:C(F),class:h(C(T)),style:x(C(d)),tabindex:"-1"},[v("header",{ref_key:"headerRef",ref:r,class:h([C(i).e("header"),e.headerClass,{"show-close":e.showClose}])},[y(e.$slots,"header",{},()=>[v("span",{role:"heading","aria-level":e.ariaLevel,class:h(C(i).e("title"))},w(e.title),11,["aria-level"])]),e.showClose?(g(),b("button",{key:0,"aria-label":C(a)("el.dialog.close"),class:h(C(i).e("headerbtn")),type:"button",onClick:s=>e.$emit("close")},[k(C($),{class:h(C(i).e("close"))},{default:_(()=>[(g(),P(R(e.closeIcon||C(l))))]),_:1},8,["class"])],10,["aria-label","onClick"])):m("v-if",!0)],2),v("div",{id:C(n),class:h([C(i).e("body"),e.bodyClass])},[y(e.$slots,"default")],10,["id"]),e.$slots.footer?(g(),b("footer",{key:0,class:h([C(i).e("footer"),e.footerClass])},[y(e.$slots,"footer")],2)):m("v-if",!0)],6))}})),[["__file","dialog-content.vue"]]);const se=c({name:"ElDialog",inheritAttrs:!1});const oe=S(d(c(i(n({},se),{props:H,emits:Z,setup(e,{expose:s}){const o=e,a=F();V({scope:"el-dialog",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/dialog.html#slots"},p(()=>!!a.title));const l=O("dialog"),t=I(),r=I(),n=I(),{visible:i,titleId:d,bodyId:c,style:u,overlayDialogStyle:f,rendered:b,transitionConfig:w,zIndex:R,_draggable:j,_alignCenter:$,_overflow:S,handleClose:L,onModalClick:U,onOpenAutoFocus:X,onCloseAutoFocus:Z,onCloseRequested:H,onFocusoutPrevented:N}=K(o,t);z(Y,{dialogRef:t,headerRef:r,bodyId:c,ns:l,rendered:b,style:u});const Q=B(U),W=p(()=>o.modalPenetrable&&!o.modal&&!o.fullscreen);return s({visible:i,dialogContentRef:n,resetPosition:()=>{var e;null==(e=n.value)||e.resetPosition()},handleClose:L}),(e,s)=>(g(),P(C(J),{to:e.appendTo,disabled:"body"===e.appendTo&&!e.appendToBody},{default:_(()=>[k(A,M(C(w),{persisted:""}),{default:_(()=>{var s;return[E(k(C(q),{"custom-mask-event":"",mask:e.modal,"overlay-class":[null!=(s=e.modalClass)?s:"",`${C(l).namespace.value}-modal-dialog`,C(l).is("penetrable",C(W))],"z-index":C(R)},{default:_(()=>[v("div",{role:"dialog","aria-modal":"true","aria-label":e.title||void 0,"aria-labelledby":e.title?void 0:C(d),"aria-describedby":C(c),class:h(`${C(l).namespace.value}-overlay-dialog`),style:x(C(f)),onClick:C(Q).onClick,onMousedown:C(Q).onMousedown,onMouseup:C(Q).onMouseup},[k(C(G),{loop:"",trapped:C(i),"focus-start-el":"container",onFocusAfterTrapped:C(X),onFocusAfterReleased:C(Z),onFocusoutPrevented:C(N),onReleaseRequested:C(H)},{default:_(()=>[C(b)?(g(),P(ee,M({key:0,ref_key:"dialogContentRef",ref:n},e.$attrs,{center:e.center,"align-center":C($),"close-icon":e.closeIcon,draggable:C(j),overflow:C(S),fullscreen:e.fullscreen,"header-class":e.headerClass,"body-class":e.bodyClass,"footer-class":e.footerClass,"show-close":e.showClose,title:e.title,"aria-level":e.headerAriaLevel,onClose:C(L)}),T({header:_(()=>[e.$slots.title?y(e.$slots,"title",{key:1}):y(e.$slots,"header",{key:0,close:C(L),titleId:C(d),titleClass:C(l).e("title")})]),default:_(()=>[y(e.$slots,"default")]),_:2},[e.$slots.footer?{name:"footer",fn:_(()=>[y(e.$slots,"footer")])}:void 0]),1040,["center","align-center","close-icon","draggable","overflow","fullscreen","header-class","body-class","footer-class","show-close","title","aria-level","onClose"])):m("v-if",!0)]),_:3},8,["trapped","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])],46,["aria-label","aria-labelledby","aria-describedby","onClick","onMousedown","onMouseup"])]),_:3},8,["mask","overlay-class","z-index"]),[[D,C(i)]])]}),_:3},16)]),_:3},8,["to","disabled"]))}})),[["__file","dialog.vue"]]));export{oe as E};
|