Some checks failed
Build docker and publish / linux (1.24.5) (push) Failing after 50s
更新了前端构建产物包括JavaScript、CSS和HTML文件,主要涉及以下变更: 1. 新增了多个组件和工具函数,包括异常页面组件、iframe组件等 2. 更新了活动管理、产品管理、优惠券管理等业务模块 3. 优化了构建配置和依赖管理 4. 修复了一些样式和功能问题 5. 更新了测试相关文件 同时更新了部分后端服务接口和测试用例。这些变更主要是为了支持新功能和改进现有功能的用户体验。
2 lines
5.1 KiB
JavaScript
2 lines
5.1 KiB
JavaScript
var e=Object.defineProperty,l=Object.defineProperties,t=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable,n=(l,t,a)=>t in l?e(l,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):l[t]=a,i=(e,l)=>{for(var t in l||(l={}))s.call(l,t)&&n(e,t,l[t]);if(a)for(var t of a(l))r.call(l,t)&&n(e,t,l[t]);return e},o=(e,a)=>l(e,t(a));import{d as c,d_ as p,bu as d,a1 as u,M as b,ag as y,ar as h,a9 as v,a8 as f,at as g,a0 as m,a as w,i as S,o as k,j as N,H as O,I as j,G as x,b as W,bU as $,by as D,cx as E,c as A,m as P,k as _,l as z,p as I,q as C,aq as q,ae as B,az as G,aA as H}from"./index-BeZn6wgH.js";const M=Symbol("elDescriptions");var R=c({name:"ElDescriptionsCell",props:{cell:{type:Object},tag:{type:String,default:"td"},type:{type:String}},setup:()=>({descriptions:v(M,{})}),render(){var e;const l=p(this.cell),t=((null==(e=this.cell)?void 0:e.dirs)||[]).map(e=>{const{dir:l,arg:t,modifiers:a,value:s}=e;return[l,s,t,a]}),{border:a,direction:s}=this.descriptions,r="vertical"===s,n=()=>{var e,t,a;return(null==(a=null==(t=null==(e=this.cell)?void 0:e.children)?void 0:t.label)?void 0:a.call(t))||l.label},i=()=>{var e,l,t;return null==(t=null==(l=null==(e=this.cell)?void 0:e.children)?void 0:l.default)?void 0:t.call(l)},o=l.span,c=l.rowspan,v=l.align?`is-${l.align}`:"",f=l.labelAlign?`is-${l.labelAlign}`:v,g=l.className,m=l.labelClassName,w="label"===this.type&&(l.labelWidth||this.descriptions.labelWidth)||l.width,S={width:d(w),minWidth:d(l.minWidth)},k=u("descriptions");switch(this.type){case"label":return b(y(this.tag,{style:S,class:[k.e("cell"),k.e("label"),k.is("bordered-label",a),k.is("vertical-label",r),f,m],colSpan:r?o:1,rowspan:r?1:c},n()),t);case"content":return b(y(this.tag,{style:S,class:[k.e("cell"),k.e("content"),k.is("bordered-content",a),k.is("vertical-content",r),v,g],colSpan:r?o:2*o-1,rowspan:r?2*c-1:c},i()),t);default:{const e=n(),a={},s=d(l.labelWidth||this.descriptions.labelWidth);return s&&(a.width=s,a.display="inline-block"),b(y("td",{style:S,class:[k.e("cell"),v],colSpan:o,rowspan:c},[h(e)?void 0:y("span",{style:a,class:[k.e("label"),m]},e),y("span",{class:[k.e("content"),g]},i())]),t)}}}});const U=f({row:{type:g(Array),default:()=>[]}}),F=c({name:"ElDescriptionsRow"});var J=m(c(o(i({},F),{props:U,setup(e){const l=v(M,{});return(e,t)=>"vertical"===S(l).direction?(k(),w(O,{key:0},[N("tr",null,[(k(!0),w(O,null,j(e.row,(e,l)=>(k(),x(S(R),{key:`tr1-${l}`,cell:e,tag:"th",type:"label"},null,8,["cell"]))),128))]),N("tr",null,[(k(!0),w(O,null,j(e.row,(e,l)=>(k(),x(S(R),{key:`tr2-${l}`,cell:e,tag:"td",type:"content"},null,8,["cell"]))),128))])],64)):(k(),w("tr",{key:1},[(k(!0),w(O,null,j(e.row,(e,t)=>(k(),w(O,{key:`tr3-${t}`},[S(l).border?(k(),w(O,{key:0},[W(S(R),{cell:e,tag:"td",type:"label"},null,8,["cell"]),W(S(R),{cell:e,tag:"td",type:"content"},null,8,["cell"])],64)):(k(),x(S(R),{key:1,cell:e,tag:"td",type:"both"},null,8,["cell"]))],64))),128))]))}})),[["__file","descriptions-row.vue"]]);const K=f({border:Boolean,column:{type:Number,default:3},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},size:$,title:{type:String,default:""},extra:{type:String,default:""},labelWidth:{type:[String,Number],default:""}}),L="ElDescriptionsItem",Q=c({name:"ElDescriptions"});var T=m(c(o(i({},Q),{props:K,setup(e){const l=e,t=u("descriptions"),a=D(),s=E();B(M,l);const r=A(()=>[t.b(),t.m(a.value)]),n=(e,l,t,a=!1)=>(e.props||(e.props={}),l>t&&(e.props.span=t),a&&(e.props.span=l),e),i=()=>{if(!s.default)return[];const e=q(s.default()).filter(e=>{var l;return(null==(l=null==e?void 0:e.type)?void 0:l.name)===L}),t=[];let a=[],r=l.column,i=0;const o=[];return e.forEach((s,c)=>{var p,d,u;const b=(null==(p=s.props)?void 0:p.span)||1,y=(null==(d=s.props)?void 0:d.rowspan)||1,h=t.length;if(o[h]||(o[h]=0),y>1)for(let e=1;e<y;e++)o[u=h+e]||(o[u]=0),o[h+e]++,i++;if(o[h]>0&&(r-=o[h],o[h]=0),c<e.length-1&&(i+=b>r?r:b),c===e.length-1){const e=l.column-i%l.column;return a.push(n(s,e,r,!0)),void t.push(a)}b<r?(r-=b,a.push(s)):(a.push(n(s,b,r)),t.push(a),r=l.column,a=[])}),t};return(e,l)=>(k(),w("div",{class:_(S(r))},[e.title||e.extra||e.$slots.title||e.$slots.extra?(k(),w("div",{key:0,class:_(S(t).e("header"))},[N("div",{class:_(S(t).e("title"))},[z(e.$slots,"title",{},()=>[I(C(e.title),1)])],2),N("div",{class:_(S(t).e("extra"))},[z(e.$slots,"extra",{},()=>[I(C(e.extra),1)])],2)],2)):P("v-if",!0),N("div",{class:_(S(t).e("body"))},[N("table",{class:_([S(t).e("table"),S(t).is("bordered",e.border)])},[N("tbody",null,[(k(!0),w(O,null,j(i(),(e,l)=>(k(),x(J,{key:l,row:e},null,8,["row"]))),128))])],2)],2)],2))}})),[["__file","description.vue"]]);const V=["left","center","right"],X=f({label:{type:String,default:""},span:{type:Number,default:1},rowspan:{type:Number,default:1},width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},labelWidth:{type:[String,Number],default:""},align:{type:String,values:V,default:"left"},labelAlign:{type:String,values:V},className:{type:String,default:""},labelClassName:{type:String,default:""}}),Y=c({name:L,props:X}),Z=G(T,{DescriptionsItem:Y}),ee=H(Y);export{Z as E,ee as a};
|