邹方成 642b3cf7dd
Some checks failed
Build docker and publish / linux (1.24.5) (push) Failing after 50s
build: 更新前端构建产物和资源文件
更新了前端构建产物包括JavaScript、CSS和HTML文件,主要涉及以下变更:

1. 新增了多个组件和工具函数,包括异常页面组件、iframe组件等
2. 更新了活动管理、产品管理、优惠券管理等业务模块
3. 优化了构建配置和依赖管理
4. 修复了一些样式和功能问题
5. 更新了测试相关文件

同时更新了部分后端服务接口和测试用例。这些变更主要是为了支持新功能和改进现有功能的用户体验。
2025-11-21 01:24:13 +08:00

2 lines
4.9 KiB
JavaScript

var e=Object.defineProperty,a=Object.defineProperties,s=Object.getOwnPropertyDescriptors,t=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,r=(a,s,t)=>s in a?e(a,s,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[s]=t,i=(e,a)=>{for(var s in a||(a={}))l.call(a,s)&&r(e,s,a[s]);if(t)for(var s of t(a))o.call(a,s)&&r(e,s,a[s]);return e},d=(e,t)=>a(e,s(t));import{a8 as n,e3 as u,c,e4 as f,r as v,y as p,br as b,g as y,bu as m,a0 as h,d as g,cx as w,co as k,a1 as z,bI as C,G as A,o as E,w as R,b as O,a3 as j,i as x,M as F,dN as L,de as _,j as P,a2 as $,O as I,a as S,m as T,k as B,l as H,q,ai as D,bf as M,h as N,aj as X,az as Y}from"./index-BeZn6wgH.js";import{E as G}from"./index-A3hG-0VQ.js";import{c as U,e as W,u as J}from"./use-dialog-D_t6_hoT.js";const K=n(d(i({},W),{direction:{type:String,default:"rtl",values:["ltr","rtl","ttb","btt"]},resizable:Boolean,size:{type:[String,Number],default:"30%"},withHeader:{type:Boolean,default:!0},modalFade:{type:Boolean,default:!0},headerAriaLevel:{type:String,default:"2"}})),Q=U;function V(e,a){const{width:s,height:t}=u(),l=c(()=>["ltr","rtl"].includes(e.direction)),o=c(()=>["ltr","ttb"].includes(e.direction)?1:-1),r=c(()=>l.value?s.value:t.value),i=c(()=>f(d.value+o.value*n.value,4,r.value)),d=v(0),n=v(0),h=v(!1),g=v(!1);let w=[],k=[];p(()=>[e.size,e.resizable],()=>{g.value=!1,d.value=0,n.value=0,C()});const z=e=>{const{pageX:a,pageY:s}=e,t=a-w[0],o=s-w[1];n.value=l.value?t:o},C=()=>{w=[],d.value=i.value,n.value=0,h.value=!1,k.forEach(e=>null==e?void 0:e()),k=[]},A=b(a,"mousedown",s=>{e.resizable&&(g.value||(d.value=(()=>{var e;const s=null==(e=a.value)?void 0:e.closest('[aria-modal="true"]');return s?l.value?s.offsetWidth:s.offsetHeight:100})(),g.value=!0),w=[s.pageX,s.pageY],h.value=!0,k.push(b(window,"mouseup",C),b(window,"mousemove",z)))});return y(()=>{A(),C()}),{size:c(()=>g.value?`${i.value}px`:m(e.size)),isResizing:h,isHorizontal:l}}const Z=g({name:"ElDrawer",inheritAttrs:!1});const ee=Y(h(g(d(i({},Z),{props:K,emits:Q,setup(e,{expose:a}){const s=e,t=w();k({scope:"el-drawer",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/drawer.html#slots"},c(()=>!!t.title));const l=v(),o=v(),r=v(),i=z("drawer"),{t:d}=C(),{afterEnter:n,afterLeave:u,beforeLeave:f,visible:p,rendered:b,titleId:y,bodyId:m,zIndex:h,onModalClick:g,onOpenAutoFocus:Y,onCloseAutoFocus:U,onFocusoutPrevented:W,onCloseRequested:K,handleClose:Q}=J(s,l),{isHorizontal:Z,size:ee,isResizing:ae}=V(s,r);return a({handleClose:Q,afterEnter:n,afterLeave:u}),(e,a)=>(E(),A(x(G),{to:e.appendTo,disabled:"body"===e.appendTo&&!e.appendToBody},{default:R(()=>[O(j,{name:x(i).b("fade"),onAfterEnter:x(n),onAfterLeave:x(u),onBeforeLeave:x(f),persisted:""},{default:R(()=>{var a;return[F(O(x(L),{mask:e.modal,"overlay-class":[x(i).is("drawer"),null!=(a=e.modalClass)?a:""],"z-index":x(h),onClick:x(g)},{default:R(()=>[O(x(_),{loop:"",trapped:x(p),"focus-trap-el":l.value,"focus-start-el":o.value,onFocusAfterTrapped:x(Y),onFocusAfterReleased:x(U),onFocusoutPrevented:x(W),onReleaseRequested:x(K)},{default:R(()=>[P("div",$({ref_key:"drawerRef",ref:l,"aria-modal":"true","aria-label":e.title||void 0,"aria-labelledby":e.title?void 0:x(y),"aria-describedby":x(m)},e.$attrs,{class:[x(i).b(),e.direction,x(p)&&"open",x(i).is("dragging",x(ae))],style:{[x(Z)?"width":"height"]:x(ee)},role:"dialog",onClick:I(()=>{},["stop"])}),[P("span",{ref_key:"focusStartRef",ref:o,class:B(x(i).e("sr-focus")),tabindex:"-1"},null,2),e.withHeader?(E(),S("header",{key:0,class:B([x(i).e("header"),e.headerClass])},[e.$slots.title?H(e.$slots,"title",{key:1},()=>[T(" DEPRECATED SLOT ")]):H(e.$slots,"header",{key:0,close:x(Q),titleId:x(y),titleClass:x(i).e("title")},()=>[P("span",{id:x(y),role:"heading","aria-level":e.headerAriaLevel,class:B(x(i).e("title"))},q(e.title),11,["id","aria-level"])]),e.showClose?(E(),S("button",{key:2,"aria-label":x(d)("el.drawer.close"),class:B(x(i).e("close-btn")),type:"button",onClick:x(Q)},[O(x(D),{class:B(x(i).e("close"))},{default:R(()=>[O(x(M))]),_:1},8,["class"])],10,["aria-label","onClick"])):T("v-if",!0)],2)):T("v-if",!0),x(b)?(E(),S("div",{key:1,id:x(m),class:B([x(i).e("body"),e.bodyClass])},[H(e.$slots,"default")],10,["id"])):T("v-if",!0),e.$slots.footer?(E(),S("div",{key:2,class:B([x(i).e("footer"),e.footerClass])},[H(e.$slots,"footer")],2)):T("v-if",!0),e.resizable?(E(),S("div",{key:3,ref_key:"draggerRef",ref:r,style:N({zIndex:x(h)}),class:B(x(i).e("dragger"))},null,6)):T("v-if",!0)],16,["aria-label","aria-labelledby","aria-describedby","onClick"])]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])]),_:3},8,["mask","overlay-class","z-index","onClick"]),[[X,x(p)]])]}),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])]),_:3},8,["to","disabled"]))}})),[["__file","drawer.vue"]]));export{ee as E};