xc-computent 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- (function(p,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],o):(p=typeof globalThis<"u"?globalThis:p||self,o(p.Computent={},p.Vue))})(this,function(p,o){"use strict";const $o=["disabled"],Io={key:0,class:"comp-btn__spinner"},Lo={key:1,class:"comp-btn__icon"},Mo={class:"comp-btn__content"},zo=o.defineComponent({__name:"Button",props:{variant:{default:"primary"},size:{default:"md"},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:["click"],setup(l,{emit:a}){const k=l,e=a,_=n=>{!k.disabled&&!k.loading&&e("click",n)};return(n,B)=>(o.openBlock(),o.createElementBlock("button",{class:o.normalizeClass(["comp-btn",`comp-btn--${n.variant}`,`comp-btn--${n.size}`,{"comp-btn--loading":n.loading,"comp-btn--disabled":n.disabled||n.loading}]),disabled:n.disabled||n.loading,onClick:_},[n.loading?(o.openBlock(),o.createElementBlock("span",Io)):o.createCommentVNode("",!0),n.$slots.icon&&!n.loading?(o.openBlock(),o.createElementBlock("span",Lo,[o.renderSlot(n.$slots,"icon",{},void 0,!0)])):o.createCommentVNode("",!0),o.createElementVNode("span",Mo,[o.renderSlot(n.$slots,"default",{},void 0,!0)])],10,$o))}}),O=(l,a)=>{const k=l.__vccOpts||l;for(const[e,_]of a)k[e]=_;return k},Q=O(zo,[["__scopeId","data-v-7c40bef2"]]),Ro={key:0,class:"comp-badge__dot"},jo={class:"comp-badge__content"},U=O(o.defineComponent({__name:"Badge",props:{type:{default:"default"},variant:{default:"subtle"},dot:{type:Boolean,default:!1}},setup(l){return(a,k)=>(o.openBlock(),o.createElementBlock("span",{class:o.normalizeClass(["comp-badge",`comp-badge--${a.type}`,`comp-badge--${a.variant}`,{"comp-badge--has-dot":a.dot}])},[a.dot?(o.openBlock(),o.createElementBlock("span",Ro)):o.createCommentVNode("",!0),o.createElementVNode("span",jo,[o.renderSlot(a.$slots,"default",{},void 0,!0)])],2))}}),[["__scopeId","data-v-158f78af"]]),Go={class:"comp-input-wrapper"},W=O(o.defineComponent({__name:"Input",props:{size:{default:"default"},placeholder:{default:"Please enter..."}},setup(l){return(a,k)=>{const e=o.resolveComponent("el-input");return o.openBlock(),o.createElementBlock("div",Go,[o.createVNode(e,o.mergeProps(a.$attrs,{size:a.size,placeholder:a.placeholder,class:"comp-el-input"}),o.createSlots({_:2},[o.renderList(a.$slots,(_,n)=>({name:n,fn:o.withCtx(B=>[o.renderSlot(a.$slots,n,o.normalizeProps(o.guardReactiveProps(B||{})),void 0,!0)])}))]),1040,["size","placeholder"])])}}}),[["__scopeId","data-v-e8d4db36"]]),c=l=>(o.pushScopeId("data-v-1e46cda6"),l=l(),o.popScopeId(),l),Oo={class:"flex-between-center-display"},qo={class:"mr-2 text-16px font-500"},Ao={key:1,class:"read-dot"},Ho={class:"flex items-center"},Jo={key:1,class:"text-14px text-[#acb0b7] mr-2"},Ko={key:2,class:"text-14px text-[#acb0b7] mr-2"},Qo=["onClick"],Uo={class:"flex items-center"},Wo={class:"w-120px mr-4"},Xo={class:"text-14px font-400"},Yo={class:"mr-2 container_old flex-1 min-w-0"},Zo={class:"text-12px"},mo=c(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("流程ID:"),-1)),uo={style:{"font-size":"13px"}},vo={class:"text-12px"},ot=c(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("流程名称:"),-1)),tt={style:{"line-height":"16px"}},et={class:"text-12px"},st=c(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("流程类型:"),-1)),nt={key:0},lt={key:1},at={key:0,class:"text-12px"},ct=c(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("合同编号:"),-1)),rt={key:1,class:"text-12px"},dt=c(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("企业名称:"),-1)),pt={style:{"line-height":"14px"}},_t={key:0,class:"text-12px"},yt=c(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("签约类型:"),-1)),ft={style:{"font-size":"13px"}},it={key:1,class:"text-12px"},kt=c(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("签约类型:"),-1)),ht={style:{"font-size":"13px"}},wt={key:2,class:"text-12px"},Bt=c(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("签约类型:"),-1)),gt={style:{"font-size":"13px"}},Nt={key:3,class:"text-12px"},Ct=c(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("签约类型:"),-1)),Vt={style:{"font-size":"13px"}},xt={key:4,class:"text-12px"},Et=c(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("合同类型:"),-1)),bt={style:{"font-size":"13px"}},St={key:3,class:"text-12px"},Dt=c(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("标准:"),-1)),Tt={style:{"line-height":"18px"}},Ft={key:4,class:"text-12px"},Pt=c(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("当前流转时间:"),-1)),$t={key:5,class:"text-12px"},It=c(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("当前审批人:"),-1)),Lt={key:6,class:"text-12px"},Mt=c(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("合同类型:"),-1)),zt={key:7,class:"text-12px"},Rt=c(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("签约方式:"),-1)),jt={key:8,class:"text-12px"},Gt=c(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("那方先签约:"),-1)),Ot={class:"flex-between-center-display"},qt={class:"mr-2 text-16px font-500"},At={key:0,class:"read-dot"},Ht={class:"flex items-center"},Jt={key:0,class:"text-14px text-[#acb0b7] mr-2"},Kt={key:1,class:"text-14px text-[#acb0b7] mr-2"},Qt=["onClick"],Ut={class:"flex items-center"},Wt={class:"w-120px mr-4 flex items-center"},Xt={class:"text-14px font-400"},Yt={class:"mr-2 container_old flex-1 min-w-0"},X=O(o.defineComponent({__name:"ToDoCard",props:{countList:{default:()=>[]},type:{},typeFlowPath:{default:""},copyStatus:{},treatDerailsComponent:{},newTreatDerailsComponent:{},formTemplateComponent:{},isDeleteFn:{},showFormTitleFn:{},formatTimeFn:{},statusTypeMap:{default:()=>({})},statusTypeNormalMap:{default:()=>({})},contractTypeMap:{default:()=>({})},contractTypeLabelMap:{default:()=>({})},flowPathTypeList:{default:()=>[]}},emits:["getList","doScreen","copy","delete","expedite","details"],setup(l,{expose:a,emit:k}){const e=l,_=k,n=o.ref(null),B=o.ref(null),q=o.ref(),Y=(s,h)=>e.isDeleteFn?e.isDeleteFn(s,h):!1,Z=(s,h,y)=>e.showFormTitleFn?e.showFormTitleFn(s,h,y):!1,g=s=>e.formatTimeFn?e.formatTimeFn(s):String(s||""),A=s=>e.statusTypeMap[s]||{type:"",status:""},H=s=>e.statusTypeNormalMap[s]||{type:"",status:""},mt=s=>e.contractTypeLabelMap[s]||"-",ut=s=>e.contractTypeMap[s]||"-",vt=s=>{const h=e.flowPathTypeList.find(y=>y.value===s);return h?h.label:"-"},J=(s,h)=>{q.value=s,_("details",{item:s,type:h}),s.is_old_flow?n.value&&(n.value.showFlag=!0):B.value&&(B.value.showFlag=!0)},m=()=>{_("getList")},u=()=>{_("doScreen",3,q.value.flow_id)},oe=s=>{_("copy",s)},v=s=>{_("delete",s)},oo=s=>{_("expedite",s)};return a({details:J}),(s,h)=>{const y=o.resolveComponent("el-tag"),K=o.resolveComponent("el-button"),to=o.resolveComponent("el-card");return o.openBlock(),o.createElementBlock("div",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.countList,(t,te)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:te},[t!=null&&t.is_old_flow?(o.openBlock(),o.createBlock(to,{key:0,shadow:"hover",class:"mb-1",onClick:d=>J(t,e.type)},{header:o.withCtx(()=>{var d,i,r,N,C,V,x,E,b,S,D,T,F,P,$,I,L,M,z,R;return[o.createElementVNode("div",Oo,[o.createElementVNode("div",null,[o.createElementVNode("span",qo,o.toDisplayString((d=t.old_flow)==null?void 0:d.flow_node_name),1),(i=t.old_flow)!=null&&i.is_sign?(o.openBlock(),o.createBlock(y,{key:0,type:"success",effect:"plain"},{default:o.withCtx(()=>[o.createTextVNode(" 已发起签约 ")]),_:1})):o.createCommentVNode("",!0),e.typeFlowPath==="抄送我的"&&(t==null?void 0:t.copy_status)===1?(o.openBlock(),o.createElementBlock("span",Ao)):o.createCommentVNode("",!0),e.typeFlowPath==="我发起的"&&((r=t==null?void 0:t.old_flow)==null?void 0:r.status)===2?(o.openBlock(),o.createBlock(K,{key:2,link:"",type:"primary",onClick:o.withModifiers(f=>oo(t),["stop"])},{default:o.withCtx(()=>[o.createTextVNode(" 催办 ")]),_:2},1032,["onClick"])):o.createCommentVNode("",!0),e.typeFlowPath==="待我审批"&&(t!=null&&t.have_remind)?(o.openBlock(),o.createBlock(y,{key:3,effect:"plain",type:"danger"},{default:o.withCtx(()=>[o.createTextVNode(" 发起人已催办 ")]),_:1})):o.createCommentVNode("",!0)]),o.createElementVNode("div",Ho,[(((N=t==null?void 0:t.old_flow)==null?void 0:N.business_type)===1&&((C=t==null?void 0:t.old_flow)==null?void 0:C.sign_type)!==1||[3,8].includes((V=t==null?void 0:t.old_flow)==null?void 0:V.business_type)||((x=t==null?void 0:t.old_flow)==null?void 0:x.business_type)===2&&((E=t==null?void 0:t.old_flow)==null?void 0:E.status)===5||[16,10].includes((b=t==null?void 0:t.old_flow)==null?void 0:b.business_type)&&[4,5].includes((S=t==null?void 0:t.old_flow)==null?void 0:S.status))&&e.typeFlowPath==="我发起的"?(o.openBlock(),o.createBlock(K,{key:0,link:"",type:"primary",class:"mr-2",onClick:o.withModifiers(f=>oe(t==null?void 0:t.old_flow),["stop"])},{default:o.withCtx(()=>[o.createTextVNode(" 一键复制 ")]),_:2},1032,["onClick"])):o.createCommentVNode("",!0),e.typeFlowPath==="抄送我的"?(o.openBlock(),o.createElementBlock("div",Jo,o.toDisplayString(g((F=(T=(D=t==null?void 0:t.old_flow)==null?void 0:D.copy_list)==null?void 0:T[0])==null?void 0:F.copy_time)),1)):(o.openBlock(),o.createElementBlock("div",Ko,o.toDisplayString(g((P=t==null?void 0:t.old_flow)==null?void 0:P.submit_time)),1)),e.typeFlowPath==="待我审批"?(o.openBlock(),o.createBlock(y,{key:3,type:(M=A((L=(I=($=t==null?void 0:t.old_flow)==null?void 0:$.node_list)==null?void 0:I[0])==null?void 0:L.approval_status))==null?void 0:M.type},{default:o.withCtx(()=>{var f,w,j,G;return[o.createTextVNode(o.toDisplayString((G=A((j=(w=(f=t==null?void 0:t.old_flow)==null?void 0:f.node_list)==null?void 0:w[0])==null?void 0:j.approval_status))==null?void 0:G.status),1)]}),_:2},1032,["type"])):(o.openBlock(),o.createBlock(y,{key:4,type:(R=H((z=t==null?void 0:t.old_flow)==null?void 0:z.status))==null?void 0:R.type},{default:o.withCtx(()=>{var f,w;return[o.createTextVNode(o.toDisplayString((w=H((f=t==null?void 0:t.old_flow)==null?void 0:f.status))==null?void 0:w.status),1)]}),_:2},1032,["type"])),Y(t,e.typeFlowPath)?(o.openBlock(),o.createElementBlock("span",{key:5,class:"delete-btn ml-2 cursor-pointer",onClick:o.withModifiers(f=>v(t==null?void 0:t.old_flow),["stop"])},"🗑️",8,Qo)):o.createCommentVNode("",!0)])])]}),default:o.withCtx(()=>{var d,i,r,N,C,V,x,E,b,S,D,T,F,P,$,I,L,M,z,R,f,w,j,G,eo,so,no,lo,ao,co,ro,po,_o,yo,fo,io,ko,ho,wo,Bo,go,No,Co,Vo,xo,Eo,bo,So,Do,To,Fo,Po;return[o.createElementVNode("div",Uo,[o.createElementVNode("div",Wo,[o.createElementVNode("div",Xo,o.toDisplayString("发起人:")+o.toDisplayString((d=t==null?void 0:t.old_flow)==null?void 0:d.create_user_name),1)]),o.createElementVNode("div",Yo,[o.createElementVNode("div",Zo,[mo,o.createElementVNode("span",uo,o.toDisplayString((t==null?void 0:t.flow_id)||""),1)]),o.createElementVNode("div",vo,[ot,o.createElementVNode("span",tt,o.toDisplayString((i=t==null?void 0:t.old_flow)==null?void 0:i.flow_name),1)]),o.createElementVNode("div",et,[st,((r=t==null?void 0:t.old_flow)==null?void 0:r.business_type)===9?(o.openBlock(),o.createElementBlock("span",nt,o.toDisplayString((t==null?void 0:t.old_flow.sign_type)===1?"新流程":"补充店铺"),1)):(o.openBlock(),o.createElementBlock("span",lt,o.toDisplayString(t.template_type),1))]),((N=t==null?void 0:t.old_flow)==null?void 0:N.business_type)===1||((C=t==null?void 0:t.old_flow)==null?void 0:C.business_type)===8?(o.openBlock(),o.createElementBlock("div",at,[ct,o.createElementVNode("span",null,o.toDisplayString(t==null?void 0:t.old_flow.business_ctx.esign_contract_no),1)])):o.createCommentVNode("",!0),[1,16,19].includes((V=t==null?void 0:t.old_flow)==null?void 0:V.business_type)?(o.openBlock(),o.createElementBlock("div",rt,[dt,o.createElementVNode("span",pt,o.toDisplayString((t==null?void 0:t.old_flow.business_ctx.company_name)||((E=(x=t==null?void 0:t.old_flow.business_ctx.no_business_contract_info)==null?void 0:x.company_info)==null?void 0:E.fp_company_name)||((S=(b=t==null?void 0:t.old_flow.business_ctx.no_business_contract_info)==null?void 0:b.personal_info)==null?void 0:S.name)||"-"),1)])):o.createCommentVNode("",!0),((D=t==null?void 0:t.old_flow)==null?void 0:D.business_type)!==9?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[((T=t==null?void 0:t.old_flow)==null?void 0:T.business_type)===1?(o.openBlock(),o.createElementBlock("div",_t,[yt,o.createElementVNode("span",ft,o.toDisplayString(((F=t==null?void 0:t.old_flow)==null?void 0:F.sign_type)===1?"首次签约":"补充店铺"),1)])):o.createCommentVNode("",!0),((P=t==null?void 0:t.old_flow)==null?void 0:P.business_type)===2?(o.openBlock(),o.createElementBlock("div",it,[kt,o.createElementVNode("span",ht,o.toDisplayString(mt(t==null?void 0:t.old_flow.business_ctx.contract_template_id)),1)])):o.createCommentVNode("",!0),[3,4,5,6,7,8].includes(($=t==null?void 0:t.old_flow)==null?void 0:$.business_type)?(o.openBlock(),o.createElementBlock("div",wt,[Bt,o.createElementVNode("span",gt,o.toDisplayString(vt((I=t==null?void 0:t.old_flow)==null?void 0:I.business_type)),1)])):o.createCommentVNode("",!0),[16].includes((L=t==null?void 0:t.old_flow)==null?void 0:L.business_type)?(o.openBlock(),o.createElementBlock("div",Nt,[Ct,o.createElementVNode("span",Vt,o.toDisplayString(["","主合同","补充协议","解除协议"][(M=t==null?void 0:t.old_flow)==null?void 0:M.sign_type]||"-"),1)])):o.createCommentVNode("",!0),((z=t==null?void 0:t.old_flow)==null?void 0:z.business_type)===16&&((R=t==null?void 0:t.old_flow)==null?void 0:R.sign_type)===1?(o.openBlock(),o.createElementBlock("div",xt,[Et,o.createElementVNode("span",bt,o.toDisplayString(ut((j=(w=(f=t==null?void 0:t.old_flow)==null?void 0:f.business_ctx)==null?void 0:w.no_business_contract_info)==null?void 0:j.contract_type)),1)])):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0),((G=t==null?void 0:t.old_flow)==null?void 0:G.business_type)===9?(o.openBlock(),o.createElementBlock("div",St,[Dt,o.createElementVNode("span",Tt,o.toDisplayString(((eo=t==null?void 0:t.old_flow.business_ctx.reduce_store_srv_fee_form)==null?void 0:eo.reduce_store_srv_fee_standard_type)===1?"当日在线3店及以上,且合计活动名额100单及以上份额":"名下同品牌店铺10家及以上,月累计(近30天)销单1000单"),1)])):o.createCommentVNode("",!0),Z(e.typeFlowPath,(lo=(no=(so=t==null?void 0:t.old_flow)==null?void 0:so.node_list)==null?void 0:no[0])==null?void 0:lo.approval_status,(ao=t==null?void 0:t.old_flow)==null?void 0:ao.status)?(o.openBlock(),o.createElementBlock("div",Ft,[Pt,o.createElementVNode("span",null,o.toDisplayString(g((po=(ro=(co=t==null?void 0:t.old_flow)==null?void 0:co.node_list)==null?void 0:ro[0])==null?void 0:po.flow_time)),1)])):o.createCommentVNode("",!0),Z(e.typeFlowPath,(fo=(yo=(_o=t==null?void 0:t.old_flow)==null?void 0:_o.node_list)==null?void 0:yo[0])==null?void 0:fo.approval_status,(io=t==null?void 0:t.old_flow)==null?void 0:io.status)?(o.openBlock(),o.createElementBlock("div",$t,[It,o.createElementVNode("span",null,o.toDisplayString((wo=(ho=(ko=t==null?void 0:t.old_flow)==null?void 0:ko.node_list)==null?void 0:ho[0])==null?void 0:wo.approval_user_name),1)])):o.createCommentVNode("",!0),((Bo=t==null?void 0:t.old_flow)==null?void 0:Bo.business_type)===19?(o.openBlock(),o.createElementBlock("div",Lt,[Mt,o.createElementVNode("span",null,o.toDisplayString(((go=t==null?void 0:t.old_flow)==null?void 0:go.sign_type)===1?"达人合作主合同":"达人合作补充协议"),1)])):o.createCommentVNode("",!0),((No=t==null?void 0:t.old_flow)==null?void 0:No.business_type)===16?(o.openBlock(),o.createElementBlock("div",zt,[Rt,o.createElementVNode("span",null,o.toDisplayString(((xo=(Vo=(Co=t==null?void 0:t.old_flow)==null?void 0:Co.business_ctx)==null?void 0:Vo.no_business_contract_info)==null?void 0:xo.e_sign_type)===1?"线下纸质签":"线上电子签"),1)])):o.createCommentVNode("",!0),((Eo=t==null?void 0:t.old_flow)==null?void 0:Eo.business_type)===16&&((Do=(So=(bo=t==null?void 0:t.old_flow)==null?void 0:bo.business_ctx)==null?void 0:So.no_business_contract_info)==null?void 0:Do.e_sign_type)===1?(o.openBlock(),o.createElementBlock("div",jt,[Gt,o.createElementVNode("span",null,o.toDisplayString(((Po=(Fo=(To=t==null?void 0:t.old_flow)==null?void 0:To.business_ctx)==null?void 0:Fo.no_business_contract_info)==null?void 0:Po.first_signer)===1?"我方":"对方"),1)])):o.createCommentVNode("",!0)])])]}),_:2},1032,["onClick"])):(o.openBlock(),o.createBlock(to,{key:1,shadow:"hover",class:"mb-1",onClick:d=>J(t,e.type)},{header:o.withCtx(()=>{var d,i;return[o.createElementVNode("div",Ot,[o.createElementVNode("div",null,[o.createElementVNode("span",qt,o.toDisplayString(t.node_title),1),e.typeFlowPath==="抄送我的"&&t.copy_status===1?(o.openBlock(),o.createElementBlock("span",At)):o.createCommentVNode("",!0),e.typeFlowPath==="我发起的"&&(t==null?void 0:t.flow_status)===2?(o.openBlock(),o.createBlock(K,{key:1,link:"",type:"primary",onClick:o.withModifiers(r=>oo(t),["stop"])},{default:o.withCtx(()=>[o.createTextVNode(" 催办 ")]),_:2},1032,["onClick"])):o.createCommentVNode("",!0),e.typeFlowPath==="待我审批"&&(t!=null&&t.have_remind)?(o.openBlock(),o.createBlock(y,{key:2,effect:"plain",type:"danger"},{default:o.withCtx(()=>[o.createTextVNode(" 发起人已催办 ")]),_:1})):o.createCommentVNode("",!0)]),o.createElementVNode("div",Ht,[e.typeFlowPath==="抄送我的"?(o.openBlock(),o.createElementBlock("div",Jt,o.toDisplayString(g(t.final_pass_time)),1)):(o.openBlock(),o.createElementBlock("div",Kt,o.toDisplayString(g(t.flow_time)),1)),e.typeFlowPath==="待我审批"?(o.openBlock(),o.createBlock(y,{key:2,type:(d=A(t==null?void 0:t.node_approval_status))==null?void 0:d.type},{default:o.withCtx(()=>{var r;return[o.createTextVNode(o.toDisplayString((r=A(t==null?void 0:t.node_approval_status))==null?void 0:r.status),1)]}),_:2},1032,["type"])):(o.openBlock(),o.createBlock(y,{key:3,type:(i=H(t==null?void 0:t.flow_status))==null?void 0:i.type},{default:o.withCtx(()=>{var r;return[o.createTextVNode(o.toDisplayString((r=H(t==null?void 0:t.flow_status))==null?void 0:r.status),1)]}),_:2},1032,["type"])),Y(t,e.typeFlowPath)?(o.openBlock(),o.createElementBlock("span",{key:4,class:"delete-btn ml-2 cursor-pointer",onClick:o.withModifiers(r=>v(t),["stop"])},"🗑️",8,Qt)):o.createCommentVNode("",!0)])])]}),default:o.withCtx(()=>[o.createElementVNode("div",Ut,[o.createElementVNode("div",Wt,[o.createElementVNode("div",Xt,o.toDisplayString("发起人:")+o.toDisplayString(t==null?void 0:t.create_user_name),1)]),o.createElementVNode("div",Yt,[o.renderSlot(s.$slots,"form-content",{item:t},()=>[s.formTemplateComponent?(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:0},o.renderList(t.form_value,(d,i)=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(s.formTemplateComponent),{key:i,item_:d,item:t},null,8,["item_","item"]))),128)):o.createCommentVNode("",!0)],!0)])])]),_:2},1032,["onClick"]))],64))),128)),s.treatDerailsComponent?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(s.treatDerailsComponent),{key:0,ref_key:"treatDerailsRef",ref:n,rowItem:q.value,typeFlowPath:e.typeFlowPath,copyStatus:e.copyStatus,onGetList:m,onReada:u},null,40,["rowItem","typeFlowPath","copyStatus"])):o.createCommentVNode("",!0),s.newTreatDerailsComponent?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(s.newTreatDerailsComponent),{key:1,ref_key:"newTreatDerailsRef",ref:B,rowItem:q.value,typeFlowPath:e.typeFlowPath,copyStatus:e.copyStatus,onGetList:m,onReada:u},null,40,["rowItem","typeFlowPath","copyStatus"])):o.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-1e46cda6"]]),Zt={install:l=>{l.component("CButton",Q),l.component("CBadge",U),l.component("CInput",W),l.component("CToDoCard",X)}};p.Badge=U,p.Button=Q,p.Input=W,p.ToDoCard=X,p.default=Zt,Object.defineProperties(p,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
1
+ (function(p,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("vue"),require("element-plus"),require("vue-types"),require("@iconify/vue")):typeof define=="function"&&define.amd?define(["exports","vue","element-plus","vue-types","@iconify/vue"],o):(p=typeof globalThis<"u"?globalThis:p||self,o(p.Computent={},p.Vue,p.ElementPlus,p.VueTypes,p.Iconify))})(this,function(p,o,uo,Io,Mo){"use strict";const Lo=["disabled"],mo={key:0,class:"comp-btn__spinner"},jo={key:1,class:"comp-btn__icon"},Oo={class:"comp-btn__content"},Ro=o.defineComponent({__name:"Button",props:{variant:{default:"primary"},size:{default:"md"},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:["click"],setup(s,{emit:l}){const a=s,t=l,d=c=>{!a.disabled&&!a.loading&&t("click",c)};return(c,w)=>(o.openBlock(),o.createElementBlock("button",{class:o.normalizeClass(["comp-btn",`comp-btn--${c.variant}`,`comp-btn--${c.size}`,{"comp-btn--loading":c.loading,"comp-btn--disabled":c.disabled||c.loading}]),disabled:c.disabled||c.loading,onClick:d},[c.loading?(o.openBlock(),o.createElementBlock("span",mo)):o.createCommentVNode("",!0),c.$slots.icon&&!c.loading?(o.openBlock(),o.createElementBlock("span",jo,[o.renderSlot(c.$slots,"icon",{},void 0,!0)])):o.createCommentVNode("",!0),o.createElementVNode("span",Oo,[o.renderSlot(c.$slots,"default",{},void 0,!0)])],10,Lo))}}),G=(s,l)=>{const a=s.__vccOpts||s;for(const[t,d]of l)a[t]=d;return a},Q=G(Ro,[["__scopeId","data-v-7c40bef2"]]),qo={key:0,class:"comp-badge__dot"},Go={class:"comp-badge__content"},U=G(o.defineComponent({__name:"Badge",props:{type:{default:"default"},variant:{default:"subtle"},dot:{type:Boolean,default:!1}},setup(s){return(l,a)=>(o.openBlock(),o.createElementBlock("span",{class:o.normalizeClass(["comp-badge",`comp-badge--${l.type}`,`comp-badge--${l.variant}`,{"comp-badge--has-dot":l.dot}])},[l.dot?(o.openBlock(),o.createElementBlock("span",qo)):o.createCommentVNode("",!0),o.createElementVNode("span",Go,[o.renderSlot(l.$slots,"default",{},void 0,!0)])],2))}}),[["__scopeId","data-v-158f78af"]]),Wo={class:"comp-input-wrapper"},X=G(o.defineComponent({__name:"Input",props:{size:{default:"default"},placeholder:{default:"Please enter..."}},setup(s){return(l,a)=>{const t=o.resolveComponent("el-input");return o.openBlock(),o.createElementBlock("div",Wo,[o.createVNode(t,o.mergeProps(l.$attrs,{size:l.size,placeholder:l.placeholder,class:"comp-el-input"}),o.createSlots({_:2},[o.renderList(l.$slots,(d,c)=>({name:c,fn:o.withCtx(w=>[o.renderSlot(l.$slots,c,o.normalizeProps(o.guardReactiveProps(w||{})),void 0,!0)])}))]),1040,["size","placeholder"])])}}}),[["__scopeId","data-v-e8d4db36"]]),Ao=Object.freeze(Object.defineProperty({__proto__:null,iconMap:{"xc-revert":"grommet-icons:revert","xc-progress":"nrk:progress","xc-upload":"bytesize:upload","xc-download":"bytesize:download","xc-author":"hugeicons:authorized","xc-lock":"hugeicons:folder-locked","xc-unlock":"hugeicons:folder-unlocked","xc-setting":"uil:setting","xc-link":"material-symbols:link","xc-cancel":"mdi:cancel-circle-outline","xc-shelves":"material-symbols:shelves","xc-settle":"f7:money-yen-circle","xc-invoice":"hugeicons:money-add-02","xc-cancel-invoice":"hugeicons:money-not-found-03","xc-start-use":"formkit:start","xc-reduce":"icon-park-outline:reduce","xc-pass":"codicon:pass","xc-expire":"pajamas:expire","xc-pause":"tabler:clock-pause","xc-review":"mdi:account-check-outline"}},Symbol.toStringTag,{value:"Module"})),Ho={"xc-add":"bi:plus-lg","xc-edit":"bi:pencil-square","xc-delete":"bi:trash","xc-copy":"bi:copy","xc-file":"bi:file-earmark-text","xc-search":"bi:search","xc-reset":"bi:arrow-repeat","xc-more":"icon-park-outline:more-two","xc-view":"hugeicons:property-view","xc-export":"bx:export","xc-refresh":"bi:arrow-clockwise","xc-question":"mage:question-mark-circle-fill"};function Jo(){const s=Object.assign({"./modules/publicWelfare.ts":Ao}),l={};for(const a of Object.values(s))Object.assign(l,a.iconMap||{});return Object.assign(l,Ho),l}const W=Io.createTypes({func:void 0,bool:void 0,string:void 0,number:void 0,object:void 0,integer:void 0});W.extend([{name:"style",getter:!0,type:[String,Object],default:void 0}]);const Ko={namespace:"v",elNamespace:"el"},Qo=()=>{const s=Ko;return{variables:s,getPrefixCls:a=>`${s.namespace}-${a}`}},Uo={key:0,"aria-hidden":"true"},Xo=["xlink:href"],Yo=o.defineComponent({__name:"Icon",props:{icon:W.string,color:W.string,size:W.number.def(16)},setup(s){const{getPrefixCls:l}=Qo(),a=l("icon"),t=s,d=o.computed(()=>t.icon.startsWith("svg-icon:")),c=o.computed(()=>o.unref(d)?`#icon-${t.icon.split("svg-icon:")[1]}`:t.icon),w=o.computed(()=>{const{color:x,size:B}=t;return{fontSize:`${B}px`,color:x}});return(x,B)=>(o.openBlock(),o.createBlock(o.unref(uo.ElIcon),{class:o.normalizeClass(o.unref(a)),size:s.size,color:s.color},{default:o.withCtx(()=>[d.value?(o.openBlock(),o.createElementBlock("svg",Uo,[o.createElementVNode("use",{"xlink:href":c.value},null,8,Xo)])):(o.openBlock(),o.createBlock(o.unref(Mo.Icon),{key:1,icon:c.value,style:o.normalizeStyle(w.value)},null,8,["icon","style"]))]),_:1},8,["class","size","color"]))}}),b=o.defineComponent({name:"IconMap",inheritAttrs:!1,props:{icon:{type:String,default:""},size:{type:Number,default:null}},setup(s,{attrs:l}){const a=Jo(),t=o.computed(()=>a[s.icon]||s.icon),d=o.computed(()=>s.size?s.size:a[s.icon]?12:16);return()=>React.createElement(Yo,{icon:t.value,size:d.value,...l})}}),r=s=>(o.pushScopeId("data-v-85a8dd58"),s=s(),o.popScopeId(),s),Zo={class:"flex-between-center-display"},vo={class:"mr-2 text-16px font-500"},oe={class:"flex items-center"},ee={key:1,class:"text-14px text-[#acb0b7] mr-2"},te={key:2,class:"text-14px text-[#acb0b7] mr-2"},ne={class:"flex items-center"},se={class:"w-120px mr-4"},le={class:"text-14px font-400"},ce={class:"mr-2 container_old flex-1 min-w-0"},ae={class:"text-12px"},re=r(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("流程ID:"),-1)),de={style:{"font-size":"13px"}},pe={class:"text-12px"},_e=r(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("流程名称:"),-1)),ie={style:{"line-height":"16px"}},ye={class:"text-12px"},fe=r(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("流程类型:"),-1)),ke={key:0},he={key:1},we={key:0,class:"text-12px"},ge=r(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("合同编号:"),-1)),xe={key:1,class:"text-12px"},be=r(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("企业名称:"),-1)),Be={style:{"line-height":"14px"}},Ce={key:0,class:"text-12px"},Ne=r(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("签约类型:"),-1)),Ve={style:{"font-size":"13px"}},Ee={key:1,class:"text-12px"},Se=r(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("签约类型:"),-1)),De={style:{"font-size":"13px"}},Te={key:2,class:"text-12px"},Fe=r(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("签约类型:"),-1)),$e={style:{"font-size":"13px"}},Pe={key:3,class:"text-12px"},ze=r(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("签约类型:"),-1)),ue={style:{"font-size":"13px"}},Ie={key:4,class:"text-12px"},Me=r(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("合同类型:"),-1)),Le={style:{"font-size":"13px"}},me={key:3,class:"text-12px"},je=r(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("标准:"),-1)),Oe={style:{"line-height":"18px"}},Re={key:4,class:"text-12px"},qe=r(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("当前流转时间:"),-1)),Ge={key:5,class:"text-12px"},We=r(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("当前审批人:"),-1)),Ae={key:6,class:"text-12px"},He=r(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("合同类型:"),-1)),Je={key:7,class:"text-12px"},Ke=r(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("签约方式:"),-1)),Qe={key:8,class:"text-12px"},Ue=r(()=>o.createElementVNode("span",{class:"title"},o.toDisplayString("那方先签约:"),-1)),Xe={class:"flex-between-center-display"},Ye={class:"mr-2 text-16px font-500"},Ze={class:"flex items-center"},ve={key:0,class:"text-14px text-[#acb0b7] mr-2"},ot={key:1,class:"text-14px text-[#acb0b7] mr-2"},et={class:"flex items-center"},tt={class:"w-120px mr-4 flex items-center"},nt={class:"text-14px font-400"},st={class:"mr-2 container_old flex-1 min-w-0"},Y=G(o.defineComponent({__name:"ToDoCard",props:{countList:{default:()=>[]},type:{},typeFlowPath:{default:""},copyStatus:{},treatDerailsComponent:{},newTreatDerailsComponent:{},formTemplateComponent:{},isDeleteFn:{},showFormTitleFn:{},formatTimeFn:{},statusTypeMap:{default:()=>({})},statusTypeNormalMap:{default:()=>({})},contractTypeMap:{default:()=>({})},contractTypeLabelMap:{default:()=>({})},flowPathTypeList:{default:()=>[]}},emits:["getList","doScreen","copy","delete","expedite","details"],setup(s,{expose:l,emit:a}){const t=s,d=a,c=o.ref(null),w=o.ref(null),x=o.ref(),B=(n,h)=>t.isDeleteFn?t.isDeleteFn(n,h):!1,Z=(n,h,y)=>t.showFormTitleFn?t.showFormTitleFn(n,h,y):!1,C=n=>t.formatTimeFn?t.formatTimeFn(n):String(n||""),A=n=>t.statusTypeMap[n]||{type:"",status:""},H=n=>t.statusTypeNormalMap[n]||{type:"",status:""},ct=n=>t.contractTypeLabelMap[n]||"-",at=n=>t.contractTypeMap[n]||"-",rt=n=>{const h=t.flowPathTypeList.find(y=>y.value===n);return h?h.label:"-"},J=(n,h)=>{x.value=n,d("details",{item:n,type:h}),n.is_old_flow?c.value&&(c.value.showFlag=!0):w.value&&(w.value.showFlag=!0)},v=()=>{d("getList")},oo=()=>{d("doScreen",3,x.value.flow_id)},dt=n=>{d("copy",n)},eo=n=>{d("delete",n)},to=n=>{d("expedite",n)};return l({details:J}),(n,h)=>{const y=o.resolveComponent("el-tag"),K=o.resolveComponent("el-button"),no=o.resolveComponent("el-card");return o.openBlock(),o.createElementBlock("div",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.countList,(e,pt)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:pt},[e!=null&&e.is_old_flow?(o.openBlock(),o.createBlock(no,{key:0,shadow:"hover",class:"mb-1",onClick:i=>J(e,t.type)},{header:o.withCtx(()=>{var i,k,_,N,V,E,S,D,T,F,$,P,z,u,I,M,L,m,j,O;return[o.createElementVNode("div",Zo,[o.createElementVNode("div",null,[o.createElementVNode("span",vo,o.toDisplayString((i=e.old_flow)==null?void 0:i.flow_node_name),1),(k=e.old_flow)!=null&&k.is_sign?(o.openBlock(),o.createBlock(y,{key:0,type:"success",effect:"plain"},{default:o.withCtx(()=>[o.createTextVNode(" 已发起签约 ")]),_:1})):o.createCommentVNode("",!0),t.typeFlowPath==="抄送我的"&&(e==null?void 0:e.copy_status)===1?(o.openBlock(),o.createBlock(o.unref(b),{key:1,class:"read",icon:"icon-park-solid:round",size:5,style:{color:"red"}})):o.createCommentVNode("",!0),t.typeFlowPath==="我发起的"&&((_=e==null?void 0:e.old_flow)==null?void 0:_.status)===2?(o.openBlock(),o.createBlock(K,{key:2,link:"",type:"primary",onClick:o.withModifiers(f=>to(e),["stop"])},{default:o.withCtx(()=>[o.createTextVNode(" 催办 ")]),_:2},1032,["onClick"])):o.createCommentVNode("",!0),t.typeFlowPath==="待我审批"&&(e!=null&&e.have_remind)?(o.openBlock(),o.createBlock(y,{key:3,effect:"plain",type:"danger"},{default:o.withCtx(()=>[o.createTextVNode(" 发起人已催办 ")]),_:1})):o.createCommentVNode("",!0)]),o.createElementVNode("div",oe,[(((N=e==null?void 0:e.old_flow)==null?void 0:N.business_type)===1&&((V=e==null?void 0:e.old_flow)==null?void 0:V.sign_type)!==1||[3,8].includes((E=e==null?void 0:e.old_flow)==null?void 0:E.business_type)||((S=e==null?void 0:e.old_flow)==null?void 0:S.business_type)===2&&((D=e==null?void 0:e.old_flow)==null?void 0:D.status)===5||[16,10].includes((T=e==null?void 0:e.old_flow)==null?void 0:T.business_type)&&[4,5].includes((F=e==null?void 0:e.old_flow)==null?void 0:F.status))&&t.typeFlowPath==="我发起的"?(o.openBlock(),o.createBlock(K,{key:0,link:"",type:"primary",class:"mr-2",onClick:o.withModifiers(f=>dt(e==null?void 0:e.old_flow),["stop"])},{default:o.withCtx(()=>[o.createTextVNode(" 一键复制 ")]),_:2},1032,["onClick"])):o.createCommentVNode("",!0),t.typeFlowPath==="抄送我的"?(o.openBlock(),o.createElementBlock("div",ee,o.toDisplayString(C((z=(P=($=e==null?void 0:e.old_flow)==null?void 0:$.copy_list)==null?void 0:P[0])==null?void 0:z.copy_time)),1)):(o.openBlock(),o.createElementBlock("div",te,o.toDisplayString(C((u=e==null?void 0:e.old_flow)==null?void 0:u.submit_time)),1)),t.typeFlowPath==="待我审批"?(o.openBlock(),o.createBlock(y,{key:3,type:(m=A((L=(M=(I=e==null?void 0:e.old_flow)==null?void 0:I.node_list)==null?void 0:M[0])==null?void 0:L.approval_status))==null?void 0:m.type},{default:o.withCtx(()=>{var f,g,R,q;return[o.createTextVNode(o.toDisplayString((q=A((R=(g=(f=e==null?void 0:e.old_flow)==null?void 0:f.node_list)==null?void 0:g[0])==null?void 0:R.approval_status))==null?void 0:q.status),1)]}),_:2},1032,["type"])):(o.openBlock(),o.createBlock(y,{key:4,type:(O=H((j=e==null?void 0:e.old_flow)==null?void 0:j.status))==null?void 0:O.type},{default:o.withCtx(()=>{var f,g;return[o.createTextVNode(o.toDisplayString((g=H((f=e==null?void 0:e.old_flow)==null?void 0:f.status))==null?void 0:g.status),1)]}),_:2},1032,["type"])),B(e,t.typeFlowPath)?(o.openBlock(),o.createBlock(o.unref(b),{key:5,class:"ml-2 cursor-pointer",icon:"material-symbols:delete-outline",size:24,style:{color:"red"},onClick:o.withModifiers(f=>eo(e==null?void 0:e.old_flow),["stop"])},null,8,["onClick"])):o.createCommentVNode("",!0)])])]}),default:o.withCtx(()=>{var i,k,_,N,V,E,S,D,T,F,$,P,z,u,I,M,L,m,j,O,f,g,R,q,so,lo,co,ao,ro,po,_o,io,yo,fo,ko,ho,wo,go,xo,bo,Bo,Co,No,Vo,Eo,So,Do,To,Fo,$o,Po,zo;return[o.createElementVNode("div",ne,[o.createElementVNode("div",se,[o.createElementVNode("div",le,o.toDisplayString("发起人:")+o.toDisplayString((i=e==null?void 0:e.old_flow)==null?void 0:i.create_user_name),1)]),o.createElementVNode("div",ce,[o.createElementVNode("div",ae,[re,o.createElementVNode("span",de,o.toDisplayString((e==null?void 0:e.flow_id)||""),1)]),o.createElementVNode("div",pe,[_e,o.createElementVNode("span",ie,o.toDisplayString((k=e==null?void 0:e.old_flow)==null?void 0:k.flow_name),1)]),o.createElementVNode("div",ye,[fe,((_=e==null?void 0:e.old_flow)==null?void 0:_.business_type)===9?(o.openBlock(),o.createElementBlock("span",ke,o.toDisplayString((e==null?void 0:e.old_flow.sign_type)===1?"新流程":"补充店铺"),1)):(o.openBlock(),o.createElementBlock("span",he,o.toDisplayString(e.template_type),1))]),((N=e==null?void 0:e.old_flow)==null?void 0:N.business_type)===1||((V=e==null?void 0:e.old_flow)==null?void 0:V.business_type)===8?(o.openBlock(),o.createElementBlock("div",we,[ge,o.createElementVNode("span",null,o.toDisplayString(e==null?void 0:e.old_flow.business_ctx.esign_contract_no),1)])):o.createCommentVNode("",!0),[1,16,19].includes((E=e==null?void 0:e.old_flow)==null?void 0:E.business_type)?(o.openBlock(),o.createElementBlock("div",xe,[be,o.createElementVNode("span",Be,o.toDisplayString((e==null?void 0:e.old_flow.business_ctx.company_name)||((D=(S=e==null?void 0:e.old_flow.business_ctx.no_business_contract_info)==null?void 0:S.company_info)==null?void 0:D.fp_company_name)||((F=(T=e==null?void 0:e.old_flow.business_ctx.no_business_contract_info)==null?void 0:T.personal_info)==null?void 0:F.name)||"-"),1)])):o.createCommentVNode("",!0),(($=e==null?void 0:e.old_flow)==null?void 0:$.business_type)!==9?(o.openBlock(),o.createElementBlock(o.Fragment,{key:2},[((P=e==null?void 0:e.old_flow)==null?void 0:P.business_type)===1?(o.openBlock(),o.createElementBlock("div",Ce,[Ne,o.createElementVNode("span",Ve,o.toDisplayString(((z=e==null?void 0:e.old_flow)==null?void 0:z.sign_type)===1?"首次签约":"补充店铺"),1)])):o.createCommentVNode("",!0),((u=e==null?void 0:e.old_flow)==null?void 0:u.business_type)===2?(o.openBlock(),o.createElementBlock("div",Ee,[Se,o.createElementVNode("span",De,o.toDisplayString(ct(e==null?void 0:e.old_flow.business_ctx.contract_template_id)),1)])):o.createCommentVNode("",!0),[3,4,5,6,7,8].includes((I=e==null?void 0:e.old_flow)==null?void 0:I.business_type)?(o.openBlock(),o.createElementBlock("div",Te,[Fe,o.createElementVNode("span",$e,o.toDisplayString(rt((M=e==null?void 0:e.old_flow)==null?void 0:M.business_type)),1)])):o.createCommentVNode("",!0),[16].includes((L=e==null?void 0:e.old_flow)==null?void 0:L.business_type)?(o.openBlock(),o.createElementBlock("div",Pe,[ze,o.createElementVNode("span",ue,o.toDisplayString(["","主合同","补充协议","解除协议"][(m=e==null?void 0:e.old_flow)==null?void 0:m.sign_type]||"-"),1)])):o.createCommentVNode("",!0),((j=e==null?void 0:e.old_flow)==null?void 0:j.business_type)===16&&((O=e==null?void 0:e.old_flow)==null?void 0:O.sign_type)===1?(o.openBlock(),o.createElementBlock("div",Ie,[Me,o.createElementVNode("span",Le,o.toDisplayString(at((R=(g=(f=e==null?void 0:e.old_flow)==null?void 0:f.business_ctx)==null?void 0:g.no_business_contract_info)==null?void 0:R.contract_type)),1)])):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0),((q=e==null?void 0:e.old_flow)==null?void 0:q.business_type)===9?(o.openBlock(),o.createElementBlock("div",me,[je,o.createElementVNode("span",Oe,o.toDisplayString(((so=e==null?void 0:e.old_flow.business_ctx.reduce_store_srv_fee_form)==null?void 0:so.reduce_store_srv_fee_standard_type)===1?"当日在线3店及以上,且合计活动名额100单及以上份额":"名下同品牌店铺10家及以上,月累计(近30天)销单1000单"),1)])):o.createCommentVNode("",!0),Z(t.typeFlowPath,(ao=(co=(lo=e==null?void 0:e.old_flow)==null?void 0:lo.node_list)==null?void 0:co[0])==null?void 0:ao.approval_status,(ro=e==null?void 0:e.old_flow)==null?void 0:ro.status)?(o.openBlock(),o.createElementBlock("div",Re,[qe,o.createElementVNode("span",null,o.toDisplayString(C((io=(_o=(po=e==null?void 0:e.old_flow)==null?void 0:po.node_list)==null?void 0:_o[0])==null?void 0:io.flow_time)),1)])):o.createCommentVNode("",!0),Z(t.typeFlowPath,(ko=(fo=(yo=e==null?void 0:e.old_flow)==null?void 0:yo.node_list)==null?void 0:fo[0])==null?void 0:ko.approval_status,(ho=e==null?void 0:e.old_flow)==null?void 0:ho.status)?(o.openBlock(),o.createElementBlock("div",Ge,[We,o.createElementVNode("span",null,o.toDisplayString((xo=(go=(wo=e==null?void 0:e.old_flow)==null?void 0:wo.node_list)==null?void 0:go[0])==null?void 0:xo.approval_user_name),1)])):o.createCommentVNode("",!0),((bo=e==null?void 0:e.old_flow)==null?void 0:bo.business_type)===19?(o.openBlock(),o.createElementBlock("div",Ae,[He,o.createElementVNode("span",null,o.toDisplayString(((Bo=e==null?void 0:e.old_flow)==null?void 0:Bo.sign_type)===1?"达人合作主合同":"达人合作补充协议"),1)])):o.createCommentVNode("",!0),((Co=e==null?void 0:e.old_flow)==null?void 0:Co.business_type)===16?(o.openBlock(),o.createElementBlock("div",Je,[Ke,o.createElementVNode("span",null,o.toDisplayString(((Eo=(Vo=(No=e==null?void 0:e.old_flow)==null?void 0:No.business_ctx)==null?void 0:Vo.no_business_contract_info)==null?void 0:Eo.e_sign_type)===1?"线下纸质签":"线上电子签"),1)])):o.createCommentVNode("",!0),((So=e==null?void 0:e.old_flow)==null?void 0:So.business_type)===16&&((Fo=(To=(Do=e==null?void 0:e.old_flow)==null?void 0:Do.business_ctx)==null?void 0:To.no_business_contract_info)==null?void 0:Fo.e_sign_type)===1?(o.openBlock(),o.createElementBlock("div",Qe,[Ue,o.createElementVNode("span",null,o.toDisplayString(((zo=(Po=($o=e==null?void 0:e.old_flow)==null?void 0:$o.business_ctx)==null?void 0:Po.no_business_contract_info)==null?void 0:zo.first_signer)===1?"我方":"对方"),1)])):o.createCommentVNode("",!0)])])]}),_:2},1032,["onClick"])):(o.openBlock(),o.createBlock(no,{key:1,shadow:"hover",class:"mb-1",onClick:i=>J(e,t.type)},{header:o.withCtx(()=>{var i,k;return[o.createElementVNode("div",Xe,[o.createElementVNode("div",null,[o.createElementVNode("span",Ye,o.toDisplayString(e.node_title),1),t.typeFlowPath==="抄送我的"&&e.copy_status===1?(o.openBlock(),o.createBlock(o.unref(b),{key:0,class:"read",icon:"icon-park-solid:round",size:5,style:{color:"red"}})):o.createCommentVNode("",!0),t.typeFlowPath==="我发起的"&&(e==null?void 0:e.flow_status)===2?(o.openBlock(),o.createBlock(K,{key:1,link:"",type:"primary",onClick:o.withModifiers(_=>to(e),["stop"])},{default:o.withCtx(()=>[o.createTextVNode(" 催办 ")]),_:2},1032,["onClick"])):o.createCommentVNode("",!0),t.typeFlowPath==="待我审批"&&(e!=null&&e.have_remind)?(o.openBlock(),o.createBlock(y,{key:2,effect:"plain",type:"danger"},{default:o.withCtx(()=>[o.createTextVNode(" 发起人已催办 ")]),_:1})):o.createCommentVNode("",!0)]),o.createElementVNode("div",Ze,[t.typeFlowPath==="抄送我的"?(o.openBlock(),o.createElementBlock("div",ve,o.toDisplayString(C(e.final_pass_time)),1)):(o.openBlock(),o.createElementBlock("div",ot,o.toDisplayString(C(e.flow_time)),1)),t.typeFlowPath==="待我审批"?(o.openBlock(),o.createBlock(y,{key:2,type:(i=A(e==null?void 0:e.node_approval_status))==null?void 0:i.type},{default:o.withCtx(()=>{var _;return[o.createTextVNode(o.toDisplayString((_=A(e==null?void 0:e.node_approval_status))==null?void 0:_.status),1)]}),_:2},1032,["type"])):(o.openBlock(),o.createBlock(y,{key:3,type:(k=H(e==null?void 0:e.flow_status))==null?void 0:k.type},{default:o.withCtx(()=>{var _;return[o.createTextVNode(o.toDisplayString((_=H(e==null?void 0:e.flow_status))==null?void 0:_.status),1)]}),_:2},1032,["type"])),B(e,t.typeFlowPath)?(o.openBlock(),o.createBlock(o.unref(b),{key:4,class:"ml-2 cursor-pointer",icon:"material-symbols:delete-outline",size:24,style:{color:"red"},onClick:o.withModifiers(_=>eo(e),["stop"])},null,8,["onClick"])):o.createCommentVNode("",!0)])])]}),default:o.withCtx(()=>[o.createElementVNode("div",et,[o.createElementVNode("div",tt,[o.createElementVNode("div",nt,o.toDisplayString("发起人:")+o.toDisplayString(e==null?void 0:e.create_user_name),1)]),o.createElementVNode("div",st,[o.renderSlot(n.$slots,"form-content",{item:e},()=>[n.formTemplateComponent?(o.openBlock(!0),o.createElementBlock(o.Fragment,{key:0},o.renderList(e.form_value,(i,k)=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(n.formTemplateComponent),{key:k,item_:i,item:e},null,8,["item_","item"]))),128)):o.createCommentVNode("",!0)],!0)])])]),_:2},1032,["onClick"]))],64))),128)),n.treatDerailsComponent?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(n.treatDerailsComponent),{key:0,ref_key:"treatDerailsRef",ref:c,rowItem:x.value,typeFlowPath:t.typeFlowPath,copyStatus:t.copyStatus,onGetList:v,onReada:oo},null,40,["rowItem","typeFlowPath","copyStatus"])):o.createCommentVNode("",!0),n.newTreatDerailsComponent?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(n.newTreatDerailsComponent),{key:1,ref_key:"newTreatDerailsRef",ref:w,rowItem:x.value,typeFlowPath:t.typeFlowPath,copyStatus:t.copyStatus,onGetList:v,onReada:oo},null,40,["rowItem","typeFlowPath","copyStatus"])):o.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-85a8dd58"]]),lt={install:s=>{s.component("CButton",Q),s.component("CBadge",U),s.component("CInput",X),s.component("CToDoCard",Y),s.component("CIcon",b)}};p.Badge=U,p.Button=Q,p.Icon=b,p.Input=X,p.ToDoCard=Y,p.default=lt,Object.defineProperties(p,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
package/dist/index.d.ts CHANGED
@@ -3,8 +3,9 @@ import { default as Button } from './components/Button/index';
3
3
  import { default as Badge } from './components/Badge/index';
4
4
  import { default as Input } from './components/Input/index';
5
5
  import { default as ToDoCard } from './components/ToDoCard/index';
6
+ import { default as Icon } from './components/Icon/index';
6
7
 
7
- export { Button, Badge, Input, ToDoCard };
8
+ export { Button, Badge, Input, ToDoCard, Icon };
8
9
  declare const _default: {
9
10
  install: (app: App) => void;
10
11
  };
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .comp-btn[data-v-7c40bef2]{display:inline-flex;align-items:center;justify-content:center;font-family:var(--comp-font-sans, system-ui, sans-serif);font-weight:600;border-radius:var(--comp-radius-md, 8px);border:1px solid transparent;cursor:pointer;outline:none;position:relative;overflow:hidden;-webkit-user-select:none;user-select:none;white-space:nowrap;vertical-align:middle;transition:all var(--comp-transition-fast, .2s)}.comp-btn--sm[data-v-7c40bef2]{padding:6px 12px;font-size:13px;border-radius:var(--comp-radius-sm, 6px)}.comp-btn--md[data-v-7c40bef2]{padding:10px 18px;font-size:14px;border-radius:var(--comp-radius-md, 10px)}.comp-btn--lg[data-v-7c40bef2]{padding:14px 24px;font-size:16px;border-radius:var(--comp-radius-lg, 14px)}.comp-btn--primary[data-v-7c40bef2]{background-color:var(--comp-primary);color:#fff;box-shadow:var(--comp-shadow-sm)}.comp-btn--primary[data-v-7c40bef2]:hover:not(.comp-btn--disabled){background-color:var(--comp-primary-hover);box-shadow:var(--comp-shadow-glow);transform:translateY(-1px)}.comp-btn--primary[data-v-7c40bef2]:active:not(.comp-btn--disabled){background-color:var(--comp-primary-active);transform:translateY(0)}.comp-btn--secondary[data-v-7c40bef2]{background-color:var(--comp-bg-card);border-color:var(--comp-border);color:var(--comp-text-primary)}.comp-btn--secondary[data-v-7c40bef2]:hover:not(.comp-btn--disabled){background-color:var(--comp-bg-hover);border-color:var(--comp-border-hover);transform:translateY(-1px)}.comp-btn--secondary[data-v-7c40bef2]:active:not(.comp-btn--disabled){background-color:var(--comp-bg-card);transform:translateY(0)}.comp-btn--outline[data-v-7c40bef2]{background-color:transparent;border-color:var(--comp-primary);color:var(--comp-primary)}.comp-btn--outline[data-v-7c40bef2]:hover:not(.comp-btn--disabled){background-color:#6366f114;transform:translateY(-1px)}.comp-btn--outline[data-v-7c40bef2]:active:not(.comp-btn--disabled){background-color:#6366f129;transform:translateY(0)}.comp-btn--text[data-v-7c40bef2]{background-color:transparent;border-color:transparent;color:var(--comp-text-secondary)}.comp-btn--text[data-v-7c40bef2]:hover:not(.comp-btn--disabled){color:var(--comp-text-primary);background-color:#ffffff0d}.comp-btn--text[data-v-7c40bef2]:active:not(.comp-btn--disabled){background-color:#ffffff1a}.comp-btn--danger[data-v-7c40bef2]{background-color:var(--comp-danger);color:#fff}.comp-btn--danger[data-v-7c40bef2]:hover:not(.comp-btn--disabled){background-color:var(--comp-danger-hover);transform:translateY(-1px)}.comp-btn--danger[data-v-7c40bef2]:active:not(.comp-btn--disabled){background-color:var(--comp-danger-active);transform:translateY(0)}.comp-btn--disabled[data-v-7c40bef2]{opacity:.6;cursor:not-allowed;transform:none!important;box-shadow:none!important}.comp-btn__icon[data-v-7c40bef2]{display:inline-flex;align-items:center;justify-content:center;margin-right:6px;font-size:1.1em}.comp-btn__content[data-v-7c40bef2]{display:inline-flex;align-items:center}.comp-btn__spinner[data-v-7c40bef2]{width:14px;height:14px;border:2px solid currentColor;border-bottom-color:transparent;border-radius:50%;display:inline-block;margin-right:8px;animation:comp-spin-7c40bef2 .75s linear infinite}@keyframes comp-spin-7c40bef2{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.comp-badge[data-v-158f78af]{display:inline-flex;align-items:center;justify-content:center;font-family:var(--comp-font-sans, system-ui, sans-serif);font-weight:600;font-size:11px;letter-spacing:.03em;text-transform:uppercase;padding:3px 8px;border-radius:var(--comp-radius-full, 9999px);line-height:1;border:1px solid transparent;-webkit-user-select:none;user-select:none;transition:all var(--comp-transition-fast, .2s)}.comp-badge--default.comp-badge--filled[data-v-158f78af]{background-color:var(--comp-text-secondary);color:var(--comp-bg-main)}.comp-badge--default.comp-badge--subtle[data-v-158f78af]{background-color:var(--comp-bg-hover);color:var(--comp-text-primary);border-color:var(--comp-border)}.comp-badge--default.comp-badge--outline[data-v-158f78af]{background-color:transparent;border-color:var(--comp-text-muted);color:var(--comp-text-secondary)}.comp-badge--success.comp-badge--filled[data-v-158f78af]{background-color:var(--comp-success);color:#fff}.comp-badge--success.comp-badge--subtle[data-v-158f78af]{background-color:#10b9811f;color:#34d399;border-color:#10b98133}.comp-badge--success.comp-badge--outline[data-v-158f78af]{background-color:transparent;border-color:var(--comp-success);color:var(--comp-success)}.comp-badge--warning.comp-badge--filled[data-v-158f78af]{background-color:var(--comp-warning);color:#fff}.comp-badge--warning.comp-badge--subtle[data-v-158f78af]{background-color:#f59e0b1f;color:#fbbf24;border-color:#f59e0b33}.comp-badge--warning.comp-badge--outline[data-v-158f78af]{background-color:transparent;border-color:var(--comp-warning);color:var(--comp-warning)}.comp-badge--danger.comp-badge--filled[data-v-158f78af]{background-color:var(--comp-danger);color:#fff}.comp-badge--danger.comp-badge--subtle[data-v-158f78af]{background-color:#ef44441f;color:#fca5a5;border-color:#ef444433}.comp-badge--danger.comp-badge--outline[data-v-158f78af]{background-color:transparent;border-color:var(--comp-danger);color:var(--comp-danger)}.comp-badge--info.comp-badge--filled[data-v-158f78af]{background-color:var(--comp-info);color:#fff}.comp-badge--info.comp-badge--subtle[data-v-158f78af]{background-color:#06b6d41f;color:#22d3ee;border-color:#06b6d433}.comp-badge--info.comp-badge--outline[data-v-158f78af]{background-color:transparent;border-color:var(--comp-info);color:var(--comp-info)}.comp-badge__dot[data-v-158f78af]{width:6px;height:6px;border-radius:50%;margin-right:5px;background-color:currentColor;display:inline-block;box-shadow:0 0 4px currentColor}.comp-badge[data-v-158f78af]:hover{transform:translateY(-.5px);filter:brightness(1.08)}.comp-input-wrapper[data-v-e8d4db36]{font-family:var(--comp-font-sans, system-ui, sans-serif);width:100%}.comp-el-input[data-v-e8d4db36] .el-input__wrapper{background-color:var(--comp-bg-card);box-shadow:0 0 0 1px var(--comp-border) inset;border-radius:var(--comp-radius-md);color:var(--comp-text-primary);transition:all var(--comp-transition-fast)}.comp-el-input[data-v-e8d4db36] .el-input__wrapper:hover{box-shadow:0 0 0 1px var(--comp-border-hover) inset}.comp-el-input[data-v-e8d4db36] .el-input__wrapper.is-focus{box-shadow:0 0 0 1px var(--comp-primary) inset;background-color:var(--comp-bg-hover)}.comp-el-input[data-v-e8d4db36] .el-input__inner{color:var(--comp-text-primary)}.comp-el-input[data-v-e8d4db36] .el-input__inner::placeholder{color:var(--comp-text-muted)}.mb-1[data-v-1e46cda6]{margin-bottom:8px}.mr-2[data-v-1e46cda6]{margin-right:8px}.mr-4[data-v-1e46cda6]{margin-right:16px}.ml-2[data-v-1e46cda6]{margin-left:8px}.text-16px[data-v-1e46cda6]{font-size:16px}.text-14px[data-v-1e46cda6]{font-size:14px}.text-12px[data-v-1e46cda6]{font-size:12px}.font-500[data-v-1e46cda6]{font-weight:500}.font-400[data-v-1e46cda6]{font-weight:400}.flex[data-v-1e46cda6]{display:flex}.items-center[data-v-1e46cda6]{align-items:center}.flex-between-center-display[data-v-1e46cda6]{display:flex;align-items:center;justify-content:space-between}.flex-1[data-v-1e46cda6]{flex:1}.min-w-0[data-v-1e46cda6]{min-width:0}.w-120px[data-v-1e46cda6]{width:120px}.cursor-pointer[data-v-1e46cda6]{cursor:pointer}.read-dot[data-v-1e46cda6]{width:6px;height:6px;border-radius:50%;background-color:red;display:inline-block;vertical-align:middle;margin-left:4px;transform:translateY(-8px)}.delete-btn[data-v-1e46cda6]{font-size:18px;color:#ef4444;transition:opacity .2s}.delete-btn[data-v-1e46cda6]:hover{opacity:.8}.container_old[data-v-1e46cda6]{display:grid;grid-auto-flow:column;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(4,auto);row-gap:8px;align-content:start}.title[data-v-1e46cda6]{font-size:12px;font-weight:500;color:var(--comp-text-secondary, #9ca3af);margin-right:4px}[data-v-1e46cda6] .el-card__header{padding:8px 15px;background-color:var(--comp-bg-hover, rgba(255, 255, 255, .02))}[data-v-1e46cda6] .el-card__body{padding:10px 20px}:root{--comp-primary: #6366f1;--comp-primary-hover: #4f46e5;--comp-primary-active: #4338ca;--comp-primary-light: #e0e7ff;--comp-success: #10b981;--comp-success-hover: #059669;--comp-success-light: #d1fae5;--comp-warning: #f59e0b;--comp-warning-hover: #d97706;--comp-warning-light: #fef3c7;--comp-danger: #ef4444;--comp-danger-hover: #dc2626;--comp-danger-active: #b91c1c;--comp-danger-light: #fee2e2;--comp-info: #06b6d4;--comp-info-hover: #0891b2;--comp-info-light: #ecfeff;--comp-bg-main: #0b0f19;--comp-bg-card: #151d30;--comp-bg-hover: #1f293d;--comp-text-primary: #f3f4f6;--comp-text-secondary: #9ca3af;--comp-text-muted: #6b7280;--comp-border: #2d3748;--comp-border-hover: #4a5568;--comp-font-sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;--comp-radius-sm: 6px;--comp-radius-md: 10px;--comp-radius-lg: 16px;--comp-radius-full: 9999px;--comp-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--comp-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);--comp-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .3), 0 4px 6px -4px rgba(0, 0, 0, .3);--comp-shadow-glow: 0 0 15px rgba(99, 102, 241, .3);--comp-transition-fast: .15s cubic-bezier(.4, 0, .2, 1);--comp-transition-normal: .25s cubic-bezier(.4, 0, .2, 1)}.comp-lib-root,.comp-lib-root *,.comp-lib-root *:before,.comp-lib-root *:after{box-sizing:border-box;font-family:var(--comp-font-sans)}
1
+ .comp-btn[data-v-7c40bef2]{display:inline-flex;align-items:center;justify-content:center;font-family:var(--comp-font-sans, system-ui, sans-serif);font-weight:600;border-radius:var(--comp-radius-md, 8px);border:1px solid transparent;cursor:pointer;outline:none;position:relative;overflow:hidden;-webkit-user-select:none;user-select:none;white-space:nowrap;vertical-align:middle;transition:all var(--comp-transition-fast, .2s)}.comp-btn--sm[data-v-7c40bef2]{padding:6px 12px;font-size:13px;border-radius:var(--comp-radius-sm, 6px)}.comp-btn--md[data-v-7c40bef2]{padding:10px 18px;font-size:14px;border-radius:var(--comp-radius-md, 10px)}.comp-btn--lg[data-v-7c40bef2]{padding:14px 24px;font-size:16px;border-radius:var(--comp-radius-lg, 14px)}.comp-btn--primary[data-v-7c40bef2]{background-color:var(--comp-primary);color:#fff;box-shadow:var(--comp-shadow-sm)}.comp-btn--primary[data-v-7c40bef2]:hover:not(.comp-btn--disabled){background-color:var(--comp-primary-hover);box-shadow:var(--comp-shadow-glow);transform:translateY(-1px)}.comp-btn--primary[data-v-7c40bef2]:active:not(.comp-btn--disabled){background-color:var(--comp-primary-active);transform:translateY(0)}.comp-btn--secondary[data-v-7c40bef2]{background-color:var(--comp-bg-card);border-color:var(--comp-border);color:var(--comp-text-primary)}.comp-btn--secondary[data-v-7c40bef2]:hover:not(.comp-btn--disabled){background-color:var(--comp-bg-hover);border-color:var(--comp-border-hover);transform:translateY(-1px)}.comp-btn--secondary[data-v-7c40bef2]:active:not(.comp-btn--disabled){background-color:var(--comp-bg-card);transform:translateY(0)}.comp-btn--outline[data-v-7c40bef2]{background-color:transparent;border-color:var(--comp-primary);color:var(--comp-primary)}.comp-btn--outline[data-v-7c40bef2]:hover:not(.comp-btn--disabled){background-color:#6366f114;transform:translateY(-1px)}.comp-btn--outline[data-v-7c40bef2]:active:not(.comp-btn--disabled){background-color:#6366f129;transform:translateY(0)}.comp-btn--text[data-v-7c40bef2]{background-color:transparent;border-color:transparent;color:var(--comp-text-secondary)}.comp-btn--text[data-v-7c40bef2]:hover:not(.comp-btn--disabled){color:var(--comp-text-primary);background-color:#ffffff0d}.comp-btn--text[data-v-7c40bef2]:active:not(.comp-btn--disabled){background-color:#ffffff1a}.comp-btn--danger[data-v-7c40bef2]{background-color:var(--comp-danger);color:#fff}.comp-btn--danger[data-v-7c40bef2]:hover:not(.comp-btn--disabled){background-color:var(--comp-danger-hover);transform:translateY(-1px)}.comp-btn--danger[data-v-7c40bef2]:active:not(.comp-btn--disabled){background-color:var(--comp-danger-active);transform:translateY(0)}.comp-btn--disabled[data-v-7c40bef2]{opacity:.6;cursor:not-allowed;transform:none!important;box-shadow:none!important}.comp-btn__icon[data-v-7c40bef2]{display:inline-flex;align-items:center;justify-content:center;margin-right:6px;font-size:1.1em}.comp-btn__content[data-v-7c40bef2]{display:inline-flex;align-items:center}.comp-btn__spinner[data-v-7c40bef2]{width:14px;height:14px;border:2px solid currentColor;border-bottom-color:transparent;border-radius:50%;display:inline-block;margin-right:8px;animation:comp-spin-7c40bef2 .75s linear infinite}@keyframes comp-spin-7c40bef2{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.comp-badge[data-v-158f78af]{display:inline-flex;align-items:center;justify-content:center;font-family:var(--comp-font-sans, system-ui, sans-serif);font-weight:600;font-size:11px;letter-spacing:.03em;text-transform:uppercase;padding:3px 8px;border-radius:var(--comp-radius-full, 9999px);line-height:1;border:1px solid transparent;-webkit-user-select:none;user-select:none;transition:all var(--comp-transition-fast, .2s)}.comp-badge--default.comp-badge--filled[data-v-158f78af]{background-color:var(--comp-text-secondary);color:var(--comp-bg-main)}.comp-badge--default.comp-badge--subtle[data-v-158f78af]{background-color:var(--comp-bg-hover);color:var(--comp-text-primary);border-color:var(--comp-border)}.comp-badge--default.comp-badge--outline[data-v-158f78af]{background-color:transparent;border-color:var(--comp-text-muted);color:var(--comp-text-secondary)}.comp-badge--success.comp-badge--filled[data-v-158f78af]{background-color:var(--comp-success);color:#fff}.comp-badge--success.comp-badge--subtle[data-v-158f78af]{background-color:#10b9811f;color:#34d399;border-color:#10b98133}.comp-badge--success.comp-badge--outline[data-v-158f78af]{background-color:transparent;border-color:var(--comp-success);color:var(--comp-success)}.comp-badge--warning.comp-badge--filled[data-v-158f78af]{background-color:var(--comp-warning);color:#fff}.comp-badge--warning.comp-badge--subtle[data-v-158f78af]{background-color:#f59e0b1f;color:#fbbf24;border-color:#f59e0b33}.comp-badge--warning.comp-badge--outline[data-v-158f78af]{background-color:transparent;border-color:var(--comp-warning);color:var(--comp-warning)}.comp-badge--danger.comp-badge--filled[data-v-158f78af]{background-color:var(--comp-danger);color:#fff}.comp-badge--danger.comp-badge--subtle[data-v-158f78af]{background-color:#ef44441f;color:#fca5a5;border-color:#ef444433}.comp-badge--danger.comp-badge--outline[data-v-158f78af]{background-color:transparent;border-color:var(--comp-danger);color:var(--comp-danger)}.comp-badge--info.comp-badge--filled[data-v-158f78af]{background-color:var(--comp-info);color:#fff}.comp-badge--info.comp-badge--subtle[data-v-158f78af]{background-color:#06b6d41f;color:#22d3ee;border-color:#06b6d433}.comp-badge--info.comp-badge--outline[data-v-158f78af]{background-color:transparent;border-color:var(--comp-info);color:var(--comp-info)}.comp-badge__dot[data-v-158f78af]{width:6px;height:6px;border-radius:50%;margin-right:5px;background-color:currentColor;display:inline-block;box-shadow:0 0 4px currentColor}.comp-badge[data-v-158f78af]:hover{transform:translateY(-.5px);filter:brightness(1.08)}.comp-input-wrapper[data-v-e8d4db36]{font-family:var(--comp-font-sans, system-ui, sans-serif);width:100%}.comp-el-input[data-v-e8d4db36] .el-input__wrapper{background-color:var(--comp-bg-card);box-shadow:0 0 0 1px var(--comp-border) inset;border-radius:var(--comp-radius-md);color:var(--comp-text-primary);transition:all var(--comp-transition-fast)}.comp-el-input[data-v-e8d4db36] .el-input__wrapper:hover{box-shadow:0 0 0 1px var(--comp-border-hover) inset}.comp-el-input[data-v-e8d4db36] .el-input__wrapper.is-focus{box-shadow:0 0 0 1px var(--comp-primary) inset;background-color:var(--comp-bg-hover)}.comp-el-input[data-v-e8d4db36] .el-input__inner{color:var(--comp-text-primary)}.comp-el-input[data-v-e8d4db36] .el-input__inner::placeholder{color:var(--comp-text-muted)}.mb-1[data-v-85a8dd58]{margin-bottom:8px}.mr-2[data-v-85a8dd58]{margin-right:8px}.mr-4[data-v-85a8dd58]{margin-right:16px}.ml-2[data-v-85a8dd58]{margin-left:8px}.text-16px[data-v-85a8dd58]{font-size:16px}.text-14px[data-v-85a8dd58]{font-size:14px}.text-12px[data-v-85a8dd58]{font-size:12px}.font-500[data-v-85a8dd58]{font-weight:500}.font-400[data-v-85a8dd58]{font-weight:400}.flex[data-v-85a8dd58]{display:flex}.items-center[data-v-85a8dd58]{align-items:center}.flex-between-center-display[data-v-85a8dd58]{display:flex;align-items:center;justify-content:space-between}.flex-1[data-v-85a8dd58]{flex:1}.min-w-0[data-v-85a8dd58]{min-width:0}.w-120px[data-v-85a8dd58]{width:120px}.cursor-pointer[data-v-85a8dd58]{cursor:pointer}.read-dot[data-v-85a8dd58]{width:6px;height:6px;border-radius:50%;background-color:red;display:inline-block;vertical-align:middle;margin-left:4px;transform:translateY(-8px)}.delete-btn[data-v-85a8dd58]{font-size:18px;color:#ef4444;transition:opacity .2s}.delete-btn[data-v-85a8dd58]:hover{opacity:.8}.container_old[data-v-85a8dd58]{display:grid;grid-auto-flow:column;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(4,auto);row-gap:8px;align-content:start}.title[data-v-85a8dd58]{font-size:12px;font-weight:500;color:var(--comp-text-secondary, #9ca3af);margin-right:4px}[data-v-85a8dd58] .el-card__header{padding:8px 15px;background-color:var(--comp-bg-hover, rgba(255, 255, 255, .02))}[data-v-85a8dd58] .el-card__body{padding:10px 20px}:root{--comp-primary: #6366f1;--comp-primary-hover: #4f46e5;--comp-primary-active: #4338ca;--comp-primary-light: #e0e7ff;--comp-success: #10b981;--comp-success-hover: #059669;--comp-success-light: #d1fae5;--comp-warning: #f59e0b;--comp-warning-hover: #d97706;--comp-warning-light: #fef3c7;--comp-danger: #ef4444;--comp-danger-hover: #dc2626;--comp-danger-active: #b91c1c;--comp-danger-light: #fee2e2;--comp-info: #06b6d4;--comp-info-hover: #0891b2;--comp-info-light: #ecfeff;--comp-bg-main: #0b0f19;--comp-bg-card: #151d30;--comp-bg-hover: #1f293d;--comp-text-primary: #f3f4f6;--comp-text-secondary: #9ca3af;--comp-text-muted: #6b7280;--comp-border: #2d3748;--comp-border-hover: #4a5568;--comp-font-sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;--comp-radius-sm: 6px;--comp-radius-md: 10px;--comp-radius-lg: 16px;--comp-radius-full: 9999px;--comp-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--comp-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);--comp-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .3), 0 4px 6px -4px rgba(0, 0, 0, .3);--comp-shadow-glow: 0 0 15px rgba(99, 102, 241, .3);--comp-transition-fast: .15s cubic-bezier(.4, 0, .2, 1);--comp-transition-normal: .25s cubic-bezier(.4, 0, .2, 1)}.comp-lib-root,.comp-lib-root *,.comp-lib-root *:before,.comp-lib-root *:after{box-sizing:border-box;font-family:var(--comp-font-sans)}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xc-computent",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "A premium Vue 3 component library built with Vite and TypeScript",
5
5
  "type": "module",
6
6
  "main": "./dist/computent.umd.cjs",
@@ -34,15 +34,20 @@
34
34
  "license": "MIT",
35
35
  "peerDependencies": {
36
36
  "vue": "^3.3.6",
37
- "element-plus": "^2.4.3"
37
+ "element-plus": "^2.4.3",
38
+ "@iconify/vue": "^4.0.0",
39
+ "vue-types": "^5.0.0"
38
40
  },
39
41
  "devDependencies": {
42
+ "@iconify/vue": "^4.1.1",
40
43
  "@vitejs/plugin-vue": "^5.0.5",
41
44
  "element-plus": "2.4.3",
45
+ "less": "^4.2.0",
42
46
  "typescript": "^5.4.5",
43
47
  "vite": "^5.2.11",
44
48
  "vite-plugin-dts": "^3.9.1",
45
49
  "vue": "3.3.6",
46
- "vue-tsc": "^2.0.19"
50
+ "vue-tsc": "^2.0.19",
51
+ "vue-types": "^5.1.1"
47
52
  }
48
53
  }