ddy-process-pc-vue3 1.0.1-rc.3.3 → 1.0.1-rc.3.5

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,4 +1,4 @@
1
- (function(Ni,x){typeof exports=="object"&&typeof module<"u"?x(exports,require("vue"),require("checked-pick-pc")):typeof define=="function"&&define.amd?define(["exports","vue","checked-pick-pc"],x):(Ni=typeof globalThis<"u"?globalThis:Ni||self,x(Ni["ddy-process-pc-vue3"]={},Ni.Vue,Ni.checkedPickPc))})(this,function(Ni,x,VM){"use strict";const HM=e=>e&&typeof e=="object"&&"default"in e?e:{default:e};function UM(e,n){for(var r=0;r<n.length;r++){const a=n[r];if(typeof a!="string"&&!Array.isArray(a)){for(const s in a)if(s!=="default"&&!(s in e)){const c=Object.getOwnPropertyDescriptor(a,s);c&&Object.defineProperty(e,s,c.get?c:{enumerable:!0,get:()=>a[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}const Mi=HM(x),Tp={name:"ddy-process-pc-vue3",version:"1.0.1-rc.3.3",description:"> pc\u7AEF\u6D41\u7A0B\u7EC4\u4EF6",main:"./ddy-process-pc-vue3.umd.cjs",style:"./style.css",type:"module",exports:{".":{import:"./ddy-process-pc-vue3.js",require:"./ddy-process-pc-vue3.umd.cjs"},"./style.css":{import:"./style.css",require:"./style.css"}},scripts:{test:'echo "Error: no test specified" && exit 1',postinstall:"node scripts/postinstall.mjs"},author:"",license:"ISC"};let Ze;const Wt="/aws",en="/bladex/blade-workflow",n1="/auth",Xe={getAjaxObj:()=>({get:(e,n)=>{let r={url:e,param:n.params,type:"get"};return Ze(r)},post:(e,n)=>Ze({url:e,param:n,type:"post"})}),getAjax:()=>Ze,setAjax:e=>{Ze=e},common:{deptUser(e){return Ze({url:"/system/dept/list/dept/user",param:{subjectId:e},type:"get"})},getTaskAuditor(e,n){return Ze({url:"/auth/post/getTaskAuditor",param:{deptId:e,taskPostIds:n},type:"post"})},chexiao(e){let n={url:en+"/tis/withdrawTask",param:{processInstId:e},type:"get"};return Ze(n)},cuiban(e){let n={url:en+"/tis/reminders",param:{processInstId:e},type:"get"};return Ze(n)}},pis:{start(e){let n={url:Wt+"/pis/start",param:e,type:"post"};return Ze(n)},createAndStart(e){let n={url:en+"/pis/createAndStart",param:e,type:"post"};return Ze(n)},cancel(e,n){let r={url:Wt+"/pis/cancel",param:{processInstId:e,processBusinessKey:n},type:"post"};return Ze(r)},findNodeParticipantRows(e){let n={url:Wt+"/pis/findNodeParticipantRows",param:{processInstId:e},type:"get"};return Ze(n)},revoke(e,n){let r={url:Wt+"/pis/revoke",param:{processInstId:e,processBusinessKey:n},type:"post"};return Ze(r)},getProcessStatus(e,n){let r={url:Wt+"/pis/getProcessStatus",param:{processInstId:e,taskId:n||""},type:"get"};return Ze(r)},getProcessInstanceById(e){let n={url:Wt+"/pis/getProcessInstanceById",param:{processInstId:e},type:"get"};return Ze(n)},reactivate(e){let n={url:en+"/pis/reactivate",param:e,type:"post"};return Ze(n)},getProcessInstanceByBusinessKey(e){let n={url:Wt+"/pis/getProcessInstanceByBusinessKey",param:{businessKey:e},type:"get"};return Ze(n)},getProcessForecast(e){let n={url:Wt+"/pis/getProcessForecast",param:e,type:"post"};return Ze(n)},deleteProcessById(e){let n={url:Wt+"/pis/deleteProcessById",param:{processInstId:e},type:"get"};return Ze(n)}},tis:{getTaskModelDetail(e){let n={url:en+"/tis/getTaskModelDetail",param:e,type:"get"};return Ze(n)},query(e,n,r,a){let s={url:Wt+"/tis/query",param:{appId:e,firstRow:n*r-r,rowCount:n*r,returnVars:!0,titleLike:a,taskState:1},type:"get"};return Ze(s)},patchSave(e){let n={url:Wt+"/meta/annex/patchSave",param:e,type:"post"};return Ze(n)},queryTaskPage(e,n,r,a,s=e_.\u5F85\u5904\u7406,c,p){let m={url:Wt+"/tis/queryTaskPageByCriteria",param:{appIds:e,firstRow:n,rowCount:r,isReturnVars:!0,titleLike:a,taskState:s,varQueries:c,...p},type:"post"};return Ze(m)},queryHiTaskPage(e,n,r,a="",s=e_.\u5F85\u5904\u7406,c,p){let m={url:Wt+"/tis/queryHiTaskPageByCriteria",param:{appIds:e,firstRow:n,rowCount:r,isReturnVars:!0,titleLike:a,taskState:s,varQueries:c,...p},type:"post"};return Ze(m)},getTaskCommentList(e,n){let r={url:Wt+"/tis/getTaskCommentList",param:{processInstId:e,processBusinessKey:n},type:"get"};return Ze(r)},complete(e){let n={url:en+"/tis/complete",param:e,type:"post"};return Ze(n)},delegate(e){let n={url:Wt+"/tis/delegate",param:e,type:"post"};return Ze(n)},transferTask(e){let n={url:en+"/tis/transferTask",param:e,type:"post"};return Ze(n)},withdrawTask(e){let n={url:en+"/tis/withdrawTask",param:{processInstId:e},type:"get"};return Ze(n)},addMultiInstance(e){let n={url:en+"/tis/addMultiInstance",param:e,type:"post"};return Ze(n)},reject(e,n){let r={url:Wt+"/tis/reject",param:{taskInstId:e,commentMsg:n},type:"post"};return Ze(r)},simulation(e,n,r){let a={url:en+"/tis/simulation",param:{taskId:e},type:"get"};return Ze(a)},createDynamicTask(e){let n={url:Wt+"/tis/createDynamicTask",param:e,type:"post"};return Ze(n)},createCCTask(e){let n={url:en+"/tis/createCCTask",param:e,type:"post"};return Ze(n)},reminders(e){let n={url:en+"/tis/reminders",param:{processInstId:e},type:"get"};return Ze(n)},getReturnableNodes(e){let n={url:Wt+"/tis/getReturnableNodes",param:{taskId:e},type:"get"};return Ze(n)},rollback(e,n,r){let a={url:en+"/tis/rollback",param:{taskInstId:e,rollbackReason:r,targetActivityId:n},type:"post"};return Ze(a)}},repository:{getUserTaskModelCmd(e){let n={url:Wt+"/repository/getUserTaskModel",param:{taskId:e},type:"get"};return Ze(n)},getAfferentParticipantNodeList(e){let n={url:Wt+"/repository/getAfferentParticipantNodeList",param:{processDefId:e},type:"get"};return Ze(n)},getXmlByProcessDefId(e){let n={url:en+"/process/getXmlByProcessDefId",param:e,type:"get"};return Ze(n)},backNodes(e){let n={url:en+"/process/getBackNodes",param:e,type:"get"};return Ze(n)},getDiagramUrl(e){let n={url:en+"/repository/getDiagramUrl",param:e,type:"get"};return Ze(n)},getTrackUrl(e){let n={url:Wt+"/repository/getTrackUrl",param:e,type:"get"};return Ze(n)},getProcessDefList(e,n){let r={url:en+"/repository/getProcessDefList",param:{appId:e,processGroupName:n},type:"post"};return Ze(r)},getProcessDefListNew(e){let n={url:en+"/repository/getProcessDefList",param:{...e,businessCode:e.businessCode||e.businessType},type:"post"};return Ze(n)},getOutgoingProcessNode(e,n){let r={url:en+"/tis/getOutgoingProcessNode",param:{taskId:e,processNodeId:n},type:"get"};return Ze(r)},queryTaskNodeList(e){let n={url:en+"/repository/queryTaskNodeList",param:{processInstId:e},type:"get"};return Ze(n)},getFirstProcessNode(e){let n={url:en+"/repository/getAllProcessNode",param:{processDefId:e},type:"get"};return Ze(n)},getParticipantsOfPerformerNames(e,n){let r={url:Wt+"/repository/getParticipantsOfPerformerNames?taskInstId="+e,param:{taskInstId:e,userTaskDefIds:n},type:"post"};return Ze(r)}},org:{list(e="",n="",r=""){let a={url:Wt+"/org/list",param:{deptId:n,companyId:r,searchKey:e},type:"get"};return Ze(a)},findTeamMember(e="",n=""){let r={url:Wt+"/org/findTeamMember",param:{teamId:n,searchKey:e},type:"get"};return Ze(r)}},user:{getTaskAuditor(e){let n={url:n1+"/user/getTaskAuditor",param:e,type:"post",headers:{"X-Tag":"lwl "}};return Ze(n)},getSelectTree(e){let n={url:n1+"/dept/list/user/dept/selectTree",param:e,type:"get",headers:{"X-Tag":"lwl "}};return Ze(n)}}},bt={success:200,err:500,empty:404},YM={\u7F29\u7565\u56FE:0,\u539F\u59CB\u5927\u56FE:1},qb={\u7535\u8111\u7AEF:"pc",\u79FB\u52A8\u7AEF:"mobile"},Wu={\u4EBA\u5458:1,\u90E8\u95E8:0,\u4E3B\u4F53:-1,\u7FA4\u7EC4:2},e_={\u5F85\u5904\u7406:1,\u6284\u9001:2,\u4E0D\u5904\u7406:4,\u65E0\u5B50\u8282\u70B9:11},WM={\u6D41\u7A0B\u5F85\u529E:1,\u4E1A\u52A1\u5F85\u529E:2},GM={\u9605\u529E:0,\u4F1A\u7B7E:1,\u52A0\u7B7E:2,\u534F\u540C:3},JM={\u52A0\u7B7E:"counterSignLabel"},t_={\u5355\u4E00\u5206\u652F:"ExclusiveGatewayModel",\u7528\u6237\u4EFB\u52A1:"UserTaskModel",\u7528\u6237\u8282\u70B9:"userTask",\u591A\u9009\u8282\u70B9:"InclusiveGatewayModel",\u7ED3\u675F:"endEvent",\u7ED3\u675F\u4E8B\u4EF6:"EndEventModel"},Np=Object.freeze(Object.defineProperty({__proto__:null,apiCode:bt,DiagramType:YM,SourceType:qb,UserType:Wu,TaskState:e_,SealBusinessSign:WM,AdHocType:GM,OperationType:JM,ProcessNodeType:t_},Symbol.toStringTag,{value:"Module"}));/*!
1
+ (function(Ni,x){typeof exports=="object"&&typeof module<"u"?x(exports,require("vue"),require("checked-pick-pc")):typeof define=="function"&&define.amd?define(["exports","vue","checked-pick-pc"],x):(Ni=typeof globalThis<"u"?globalThis:Ni||self,x(Ni["ddy-process-pc-vue3"]={},Ni.Vue,Ni.checkedPickPc))})(this,function(Ni,x,VM){"use strict";const HM=e=>e&&typeof e=="object"&&"default"in e?e:{default:e};function UM(e,n){for(var r=0;r<n.length;r++){const a=n[r];if(typeof a!="string"&&!Array.isArray(a)){for(const s in a)if(s!=="default"&&!(s in e)){const c=Object.getOwnPropertyDescriptor(a,s);c&&Object.defineProperty(e,s,c.get?c:{enumerable:!0,get:()=>a[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}const Mi=HM(x),Tp={name:"ddy-process-pc-vue3",version:"1.0.1-rc.3.5",description:"> pc\u7AEF\u6D41\u7A0B\u7EC4\u4EF6",main:"./ddy-process-pc-vue3.umd.cjs",style:"./style.css",type:"module",exports:{".":{import:"./ddy-process-pc-vue3.js",require:"./ddy-process-pc-vue3.umd.cjs"},"./style.css":{import:"./style.css",require:"./style.css"}},scripts:{test:'echo "Error: no test specified" && exit 1',postinstall:"node scripts/postinstall.mjs"},author:"",license:"ISC"};let Ze;const Wt="/aws",en="/bladex/blade-workflow",n1="/auth",Xe={getAjaxObj:()=>({get:(e,n)=>{let r={url:e,param:n.params,type:"get"};return Ze(r)},post:(e,n)=>Ze({url:e,param:n,type:"post"})}),getAjax:()=>Ze,setAjax:e=>{Ze=e},common:{deptUser(e){return Ze({url:"/system/dept/list/dept/user",param:{subjectId:e},type:"get"})},getTaskAuditor(e,n){return Ze({url:"/auth/post/getTaskAuditor",param:{deptId:e,taskPostIds:n},type:"post"})},chexiao(e){let n={url:en+"/tis/withdrawTask",param:{processInstId:e},type:"get"};return Ze(n)},cuiban(e){let n={url:en+"/tis/reminders",param:{processInstId:e},type:"get"};return Ze(n)}},pis:{start(e){let n={url:Wt+"/pis/start",param:e,type:"post"};return Ze(n)},createAndStart(e){let n={url:en+"/pis/createAndStart",param:e,type:"post"};return Ze(n)},cancel(e,n){let r={url:Wt+"/pis/cancel",param:{processInstId:e,processBusinessKey:n},type:"post"};return Ze(r)},findNodeParticipantRows(e){let n={url:Wt+"/pis/findNodeParticipantRows",param:{processInstId:e},type:"get"};return Ze(n)},revoke(e,n){let r={url:Wt+"/pis/revoke",param:{processInstId:e,processBusinessKey:n},type:"post"};return Ze(r)},getProcessStatus(e,n){let r={url:Wt+"/pis/getProcessStatus",param:{processInstId:e,taskId:n||""},type:"get"};return Ze(r)},getProcessInstanceById(e){let n={url:Wt+"/pis/getProcessInstanceById",param:{processInstId:e},type:"get"};return Ze(n)},reactivate(e){let n={url:en+"/pis/reactivate",param:e,type:"post"};return Ze(n)},getProcessInstanceByBusinessKey(e){let n={url:Wt+"/pis/getProcessInstanceByBusinessKey",param:{businessKey:e},type:"get"};return Ze(n)},getProcessForecast(e){let n={url:Wt+"/pis/getProcessForecast",param:e,type:"post"};return Ze(n)},deleteProcessById(e){let n={url:Wt+"/pis/deleteProcessById",param:{processInstId:e},type:"get"};return Ze(n)}},tis:{getTaskModelDetail(e){let n={url:en+"/tis/getTaskModelDetail",param:e,type:"get"};return Ze(n)},query(e,n,r,a){let s={url:Wt+"/tis/query",param:{appId:e,firstRow:n*r-r,rowCount:n*r,returnVars:!0,titleLike:a,taskState:1},type:"get"};return Ze(s)},patchSave(e){let n={url:Wt+"/meta/annex/patchSave",param:e,type:"post"};return Ze(n)},queryTaskPage(e,n,r,a,s=e_.\u5F85\u5904\u7406,c,p){let m={url:Wt+"/tis/queryTaskPageByCriteria",param:{appIds:e,firstRow:n,rowCount:r,isReturnVars:!0,titleLike:a,taskState:s,varQueries:c,...p},type:"post"};return Ze(m)},queryHiTaskPage(e,n,r,a="",s=e_.\u5F85\u5904\u7406,c,p){let m={url:Wt+"/tis/queryHiTaskPageByCriteria",param:{appIds:e,firstRow:n,rowCount:r,isReturnVars:!0,titleLike:a,taskState:s,varQueries:c,...p},type:"post"};return Ze(m)},getTaskCommentList(e,n){let r={url:Wt+"/tis/getTaskCommentList",param:{processInstId:e,processBusinessKey:n},type:"get"};return Ze(r)},complete(e){let n={url:en+"/tis/complete",param:e,type:"post"};return Ze(n)},delegate(e){let n={url:Wt+"/tis/delegate",param:e,type:"post"};return Ze(n)},transferTask(e){let n={url:en+"/tis/transferTask",param:e,type:"post"};return Ze(n)},withdrawTask(e){let n={url:en+"/tis/withdrawTask",param:{processInstId:e},type:"get"};return Ze(n)},addMultiInstance(e){let n={url:en+"/tis/addMultiInstance",param:e,type:"post"};return Ze(n)},reject(e,n){let r={url:Wt+"/tis/reject",param:{taskInstId:e,commentMsg:n},type:"post"};return Ze(r)},simulation(e,n,r){let a={url:en+"/tis/simulation",param:{taskId:e},type:"get"};return Ze(a)},createDynamicTask(e){let n={url:Wt+"/tis/createDynamicTask",param:e,type:"post"};return Ze(n)},createCCTask(e){let n={url:en+"/tis/createCCTask",param:e,type:"post"};return Ze(n)},reminders(e){let n={url:en+"/tis/reminders",param:{processInstId:e},type:"get"};return Ze(n)},getReturnableNodes(e){let n={url:Wt+"/tis/getReturnableNodes",param:{taskId:e},type:"get"};return Ze(n)},rollback(e,n,r){let a={url:en+"/tis/rollback",param:{taskInstId:e,rollbackReason:r,targetActivityId:n},type:"post"};return Ze(a)}},repository:{getUserTaskModelCmd(e){let n={url:Wt+"/repository/getUserTaskModel",param:{taskId:e},type:"get"};return Ze(n)},getAfferentParticipantNodeList(e){let n={url:Wt+"/repository/getAfferentParticipantNodeList",param:{processDefId:e},type:"get"};return Ze(n)},getXmlByProcessDefId(e){let n={url:en+"/process/getXmlByProcessDefId",param:e,type:"get"};return Ze(n)},backNodes(e){let n={url:en+"/process/getBackNodes",param:e,type:"get"};return Ze(n)},getDiagramUrl(e){let n={url:en+"/repository/getDiagramUrl",param:e,type:"get"};return Ze(n)},getTrackUrl(e){let n={url:Wt+"/repository/getTrackUrl",param:e,type:"get"};return Ze(n)},getProcessDefList(e,n){let r={url:en+"/repository/getProcessDefList",param:{appId:e,processGroupName:n},type:"post"};return Ze(r)},getProcessDefListNew(e){let n={url:en+"/repository/getProcessDefList",param:{...e,businessCode:e.businessCode||e.businessType},type:"post"};return Ze(n)},getOutgoingProcessNode(e,n){let r={url:en+"/tis/getOutgoingProcessNode",param:{taskId:e,processNodeId:n},type:"get"};return Ze(r)},queryTaskNodeList(e){let n={url:en+"/repository/queryTaskNodeList",param:{processInstId:e},type:"get"};return Ze(n)},getFirstProcessNode(e){let n={url:en+"/repository/getAllProcessNode",param:{processDefId:e},type:"get"};return Ze(n)},getParticipantsOfPerformerNames(e,n){let r={url:Wt+"/repository/getParticipantsOfPerformerNames?taskInstId="+e,param:{taskInstId:e,userTaskDefIds:n},type:"post"};return Ze(r)}},org:{list(e="",n="",r=""){let a={url:Wt+"/org/list",param:{deptId:n,companyId:r,searchKey:e},type:"get"};return Ze(a)},findTeamMember(e="",n=""){let r={url:Wt+"/org/findTeamMember",param:{teamId:n,searchKey:e},type:"get"};return Ze(r)}},user:{getTaskAuditor(e){let n={url:n1+"/user/getTaskAuditor",param:e,type:"post",headers:{"X-Tag":"lwl "}};return Ze(n)},getSelectTree(e){let n={url:n1+"/dept/list/user/dept/selectTree",param:e,type:"get",headers:{"X-Tag":"lwl "}};return Ze(n)}}},bt={success:200,err:500,empty:404},YM={\u7F29\u7565\u56FE:0,\u539F\u59CB\u5927\u56FE:1},qb={\u7535\u8111\u7AEF:"pc",\u79FB\u52A8\u7AEF:"mobile"},Wu={\u4EBA\u5458:1,\u90E8\u95E8:0,\u4E3B\u4F53:-1,\u7FA4\u7EC4:2},e_={\u5F85\u5904\u7406:1,\u6284\u9001:2,\u4E0D\u5904\u7406:4,\u65E0\u5B50\u8282\u70B9:11},WM={\u6D41\u7A0B\u5F85\u529E:1,\u4E1A\u52A1\u5F85\u529E:2},GM={\u9605\u529E:0,\u4F1A\u7B7E:1,\u52A0\u7B7E:2,\u534F\u540C:3},JM={\u52A0\u7B7E:"counterSignLabel"},t_={\u5355\u4E00\u5206\u652F:"ExclusiveGatewayModel",\u7528\u6237\u4EFB\u52A1:"UserTaskModel",\u7528\u6237\u8282\u70B9:"userTask",\u591A\u9009\u8282\u70B9:"InclusiveGatewayModel",\u7ED3\u675F:"endEvent",\u7ED3\u675F\u4E8B\u4EF6:"EndEventModel"},Np=Object.freeze(Object.defineProperty({__proto__:null,apiCode:bt,DiagramType:YM,SourceType:qb,UserType:Wu,TaskState:e_,SealBusinessSign:WM,AdHocType:GM,OperationType:JM,ProcessNodeType:t_},Symbol.toStringTag,{value:"Module"}));/*!
2
2
  * Vue.js v2.6.14
3
3
  * (c) 2014-2021 Evan You
4
4
  * Released under the MIT License.
@@ -39,7 +39,7 @@ usage: app.provide(ID_INJECTION_KEY, {
39
39
  `),this},this.appendIndent=function(){return n&&e.write(r.join(" ")),this},this.indent=function(){return r.push(""),this},this.unindent=function(){return r.pop(),this}}function UV(e){e=Je({format:!1,preamble:!0},e||{});function n(r,a){var s=a||new VV,c=new HV(s,e.format);e.preamble&&c.append(DV);var p=new zt,m=r.$model;if(p.getNamespaces().mapDefaultPrefixes(YV(m)),p.build(r).serializeTo(c),!a)return s.value}return{toXML:n}}function YV(e){const n=e.config&&e.config.nsMap||{},r={};for(const a in yx)r[a]=yx[a];for(const a in n){const s=n[a];r[s]=a}for(const a of e.getPackages())r[a.prefix]=a.uri;return r}function im(e,n){nr.call(this,e,n)}im.prototype=Object.create(nr.prototype),im.prototype.fromXML=function(e,n,r){Cr(n)||(r=n,n="bpmn:Definitions");var a=new kx(Je({model:this,lax:!0},r)),s=a.handler(n);return a.fromXML(e,s)},im.prototype.toXML=function(e,n){var r=new UV(n);return new Promise(function(a,s){try{var c=r.toXML(e);return a({xml:c})}catch(p){return s(p)}})};var WV="BPMN20",GV="http://www.omg.org/spec/BPMN/20100524/MODEL",JV="bpmn",KV=[],XV=[{name:"Interface",superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"operations",type:"Operation",isMany:!0},{name:"implementationRef",isAttr:!0,type:"String"}]},{name:"Operation",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"inMessageRef",type:"Message",isReference:!0},{name:"outMessageRef",type:"Message",isReference:!0},{name:"errorRef",type:"Error",isMany:!0,isReference:!0},{name:"implementationRef",isAttr:!0,type:"String"}]},{name:"EndPoint",superClass:["RootElement"]},{name:"Auditing",superClass:["BaseElement"]},{name:"GlobalTask",superClass:["CallableElement"],properties:[{name:"resources",type:"ResourceRole",isMany:!0}]},{name:"Monitoring",superClass:["BaseElement"]},{name:"Performer",superClass:["ResourceRole"]},{name:"Process",superClass:["FlowElementsContainer","CallableElement"],properties:[{name:"processType",type:"ProcessType",isAttr:!0},{name:"isClosed",isAttr:!0,type:"Boolean"},{name:"auditing",type:"Auditing"},{name:"monitoring",type:"Monitoring"},{name:"properties",type:"Property",isMany:!0},{name:"laneSets",isMany:!0,replaces:"FlowElementsContainer#laneSets",type:"LaneSet"},{name:"flowElements",isMany:!0,replaces:"FlowElementsContainer#flowElements",type:"FlowElement"},{name:"artifacts",type:"Artifact",isMany:!0},{name:"resources",type:"ResourceRole",isMany:!0},{name:"correlationSubscriptions",type:"CorrelationSubscription",isMany:!0},{name:"supports",type:"Process",isMany:!0,isReference:!0},{name:"definitionalCollaborationRef",type:"Collaboration",isAttr:!0,isReference:!0},{name:"isExecutable",isAttr:!0,type:"Boolean"}]},{name:"LaneSet",superClass:["BaseElement"],properties:[{name:"lanes",type:"Lane",isMany:!0},{name:"name",isAttr:!0,type:"String"}]},{name:"Lane",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"partitionElementRef",type:"BaseElement",isAttr:!0,isReference:!0},{name:"partitionElement",type:"BaseElement"},{name:"flowNodeRef",type:"FlowNode",isMany:!0,isReference:!0},{name:"childLaneSet",type:"LaneSet",xml:{serialize:"xsi:type"}}]},{name:"GlobalManualTask",superClass:["GlobalTask"]},{name:"ManualTask",superClass:["Task"]},{name:"UserTask",superClass:["Task"],properties:[{name:"renderings",type:"Rendering",isMany:!0},{name:"implementation",isAttr:!0,type:"String"}]},{name:"Rendering",superClass:["BaseElement"]},{name:"HumanPerformer",superClass:["Performer"]},{name:"PotentialOwner",superClass:["HumanPerformer"]},{name:"GlobalUserTask",superClass:["GlobalTask"],properties:[{name:"implementation",isAttr:!0,type:"String"},{name:"renderings",type:"Rendering",isMany:!0}]},{name:"Gateway",isAbstract:!0,superClass:["FlowNode"],properties:[{name:"gatewayDirection",type:"GatewayDirection",default:"Unspecified",isAttr:!0}]},{name:"EventBasedGateway",superClass:["Gateway"],properties:[{name:"instantiate",default:!1,isAttr:!0,type:"Boolean"},{name:"eventGatewayType",type:"EventBasedGatewayType",isAttr:!0,default:"Exclusive"}]},{name:"ComplexGateway",superClass:["Gateway"],properties:[{name:"activationCondition",type:"Expression",xml:{serialize:"xsi:type"}},{name:"default",type:"SequenceFlow",isAttr:!0,isReference:!0}]},{name:"ExclusiveGateway",superClass:["Gateway"],properties:[{name:"default",type:"SequenceFlow",isAttr:!0,isReference:!0}]},{name:"InclusiveGateway",superClass:["Gateway"],properties:[{name:"default",type:"SequenceFlow",isAttr:!0,isReference:!0}]},{name:"ParallelGateway",superClass:["Gateway"]},{name:"RootElement",isAbstract:!0,superClass:["BaseElement"]},{name:"Relationship",superClass:["BaseElement"],properties:[{name:"type",isAttr:!0,type:"String"},{name:"direction",type:"RelationshipDirection",isAttr:!0},{name:"source",isMany:!0,isReference:!0,type:"Element"},{name:"target",isMany:!0,isReference:!0,type:"Element"}]},{name:"BaseElement",isAbstract:!0,properties:[{name:"id",isAttr:!0,type:"String",isId:!0},{name:"documentation",type:"Documentation",isMany:!0},{name:"extensionDefinitions",type:"ExtensionDefinition",isMany:!0,isReference:!0},{name:"extensionElements",type:"ExtensionElements"}]},{name:"Extension",properties:[{name:"mustUnderstand",default:!1,isAttr:!0,type:"Boolean"},{name:"definition",type:"ExtensionDefinition",isAttr:!0,isReference:!0}]},{name:"ExtensionDefinition",properties:[{name:"name",isAttr:!0,type:"String"},{name:"extensionAttributeDefinitions",type:"ExtensionAttributeDefinition",isMany:!0}]},{name:"ExtensionAttributeDefinition",properties:[{name:"name",isAttr:!0,type:"String"},{name:"type",isAttr:!0,type:"String"},{name:"isReference",default:!1,isAttr:!0,type:"Boolean"},{name:"extensionDefinition",type:"ExtensionDefinition",isAttr:!0,isReference:!0}]},{name:"ExtensionElements",properties:[{name:"valueRef",isAttr:!0,isReference:!0,type:"Element"},{name:"values",type:"Element",isMany:!0},{name:"extensionAttributeDefinition",type:"ExtensionAttributeDefinition",isAttr:!0,isReference:!0}]},{name:"Documentation",superClass:["BaseElement"],properties:[{name:"text",type:"String",isBody:!0},{name:"textFormat",default:"text/plain",isAttr:!0,type:"String"}]},{name:"Event",isAbstract:!0,superClass:["FlowNode","InteractionNode"],properties:[{name:"properties",type:"Property",isMany:!0}]},{name:"IntermediateCatchEvent",superClass:["CatchEvent"]},{name:"IntermediateThrowEvent",superClass:["ThrowEvent"]},{name:"EndEvent",superClass:["ThrowEvent"]},{name:"StartEvent",superClass:["CatchEvent"],properties:[{name:"isInterrupting",default:!0,isAttr:!0,type:"Boolean"}]},{name:"ThrowEvent",isAbstract:!0,superClass:["Event"],properties:[{name:"dataInputs",type:"DataInput",isMany:!0},{name:"dataInputAssociations",type:"DataInputAssociation",isMany:!0},{name:"inputSet",type:"InputSet"},{name:"eventDefinitions",type:"EventDefinition",isMany:!0},{name:"eventDefinitionRef",type:"EventDefinition",isMany:!0,isReference:!0}]},{name:"CatchEvent",isAbstract:!0,superClass:["Event"],properties:[{name:"parallelMultiple",isAttr:!0,type:"Boolean",default:!1},{name:"dataOutputs",type:"DataOutput",isMany:!0},{name:"dataOutputAssociations",type:"DataOutputAssociation",isMany:!0},{name:"outputSet",type:"OutputSet"},{name:"eventDefinitions",type:"EventDefinition",isMany:!0},{name:"eventDefinitionRef",type:"EventDefinition",isMany:!0,isReference:!0}]},{name:"BoundaryEvent",superClass:["CatchEvent"],properties:[{name:"cancelActivity",default:!0,isAttr:!0,type:"Boolean"},{name:"attachedToRef",type:"Activity",isAttr:!0,isReference:!0}]},{name:"EventDefinition",isAbstract:!0,superClass:["RootElement"]},{name:"CancelEventDefinition",superClass:["EventDefinition"]},{name:"ErrorEventDefinition",superClass:["EventDefinition"],properties:[{name:"errorRef",type:"Error",isAttr:!0,isReference:!0}]},{name:"TerminateEventDefinition",superClass:["EventDefinition"]},{name:"EscalationEventDefinition",superClass:["EventDefinition"],properties:[{name:"escalationRef",type:"Escalation",isAttr:!0,isReference:!0}]},{name:"Escalation",properties:[{name:"structureRef",type:"ItemDefinition",isAttr:!0,isReference:!0},{name:"name",isAttr:!0,type:"String"},{name:"escalationCode",isAttr:!0,type:"String"}],superClass:["RootElement"]},{name:"CompensateEventDefinition",superClass:["EventDefinition"],properties:[{name:"waitForCompletion",isAttr:!0,type:"Boolean",default:!0},{name:"activityRef",type:"Activity",isAttr:!0,isReference:!0}]},{name:"TimerEventDefinition",superClass:["EventDefinition"],properties:[{name:"timeDate",type:"Expression",xml:{serialize:"xsi:type"}},{name:"timeCycle",type:"Expression",xml:{serialize:"xsi:type"}},{name:"timeDuration",type:"Expression",xml:{serialize:"xsi:type"}}]},{name:"LinkEventDefinition",superClass:["EventDefinition"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"target",type:"LinkEventDefinition",isReference:!0},{name:"source",type:"LinkEventDefinition",isMany:!0,isReference:!0}]},{name:"MessageEventDefinition",superClass:["EventDefinition"],properties:[{name:"messageRef",type:"Message",isAttr:!0,isReference:!0},{name:"operationRef",type:"Operation",isReference:!0}]},{name:"ConditionalEventDefinition",superClass:["EventDefinition"],properties:[{name:"condition",type:"Expression",xml:{serialize:"xsi:type"}}]},{name:"SignalEventDefinition",superClass:["EventDefinition"],properties:[{name:"signalRef",type:"Signal",isAttr:!0,isReference:!0}]},{name:"Signal",superClass:["RootElement"],properties:[{name:"structureRef",type:"ItemDefinition",isAttr:!0,isReference:!0},{name:"name",isAttr:!0,type:"String"}]},{name:"ImplicitThrowEvent",superClass:["ThrowEvent"]},{name:"DataState",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"}]},{name:"ItemAwareElement",superClass:["BaseElement"],properties:[{name:"itemSubjectRef",type:"ItemDefinition",isAttr:!0,isReference:!0},{name:"dataState",type:"DataState"}]},{name:"DataAssociation",superClass:["BaseElement"],properties:[{name:"sourceRef",type:"ItemAwareElement",isMany:!0,isReference:!0},{name:"targetRef",type:"ItemAwareElement",isReference:!0},{name:"transformation",type:"FormalExpression",xml:{serialize:"property"}},{name:"assignment",type:"Assignment",isMany:!0}]},{name:"DataInput",superClass:["ItemAwareElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"isCollection",default:!1,isAttr:!0,type:"Boolean"},{name:"inputSetRef",type:"InputSet",isMany:!0,isVirtual:!0,isReference:!0},{name:"inputSetWithOptional",type:"InputSet",isMany:!0,isVirtual:!0,isReference:!0},{name:"inputSetWithWhileExecuting",type:"InputSet",isMany:!0,isVirtual:!0,isReference:!0}]},{name:"DataOutput",superClass:["ItemAwareElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"isCollection",default:!1,isAttr:!0,type:"Boolean"},{name:"outputSetRef",type:"OutputSet",isMany:!0,isVirtual:!0,isReference:!0},{name:"outputSetWithOptional",type:"OutputSet",isMany:!0,isVirtual:!0,isReference:!0},{name:"outputSetWithWhileExecuting",type:"OutputSet",isMany:!0,isVirtual:!0,isReference:!0}]},{name:"InputSet",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"dataInputRefs",type:"DataInput",isMany:!0,isReference:!0},{name:"optionalInputRefs",type:"DataInput",isMany:!0,isReference:!0},{name:"whileExecutingInputRefs",type:"DataInput",isMany:!0,isReference:!0},{name:"outputSetRefs",type:"OutputSet",isMany:!0,isReference:!0}]},{name:"OutputSet",superClass:["BaseElement"],properties:[{name:"dataOutputRefs",type:"DataOutput",isMany:!0,isReference:!0},{name:"name",isAttr:!0,type:"String"},{name:"inputSetRefs",type:"InputSet",isMany:!0,isReference:!0},{name:"optionalOutputRefs",type:"DataOutput",isMany:!0,isReference:!0},{name:"whileExecutingOutputRefs",type:"DataOutput",isMany:!0,isReference:!0}]},{name:"Property",superClass:["ItemAwareElement"],properties:[{name:"name",isAttr:!0,type:"String"}]},{name:"DataInputAssociation",superClass:["DataAssociation"]},{name:"DataOutputAssociation",superClass:["DataAssociation"]},{name:"InputOutputSpecification",superClass:["BaseElement"],properties:[{name:"dataInputs",type:"DataInput",isMany:!0},{name:"dataOutputs",type:"DataOutput",isMany:!0},{name:"inputSets",type:"InputSet",isMany:!0},{name:"outputSets",type:"OutputSet",isMany:!0}]},{name:"DataObject",superClass:["FlowElement","ItemAwareElement"],properties:[{name:"isCollection",default:!1,isAttr:!0,type:"Boolean"}]},{name:"InputOutputBinding",properties:[{name:"inputDataRef",type:"InputSet",isAttr:!0,isReference:!0},{name:"outputDataRef",type:"OutputSet",isAttr:!0,isReference:!0},{name:"operationRef",type:"Operation",isAttr:!0,isReference:!0}]},{name:"Assignment",superClass:["BaseElement"],properties:[{name:"from",type:"Expression",xml:{serialize:"xsi:type"}},{name:"to",type:"Expression",xml:{serialize:"xsi:type"}}]},{name:"DataStore",superClass:["RootElement","ItemAwareElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"capacity",isAttr:!0,type:"Integer"},{name:"isUnlimited",default:!0,isAttr:!0,type:"Boolean"}]},{name:"DataStoreReference",superClass:["ItemAwareElement","FlowElement"],properties:[{name:"dataStoreRef",type:"DataStore",isAttr:!0,isReference:!0}]},{name:"DataObjectReference",superClass:["ItemAwareElement","FlowElement"],properties:[{name:"dataObjectRef",type:"DataObject",isAttr:!0,isReference:!0}]},{name:"ConversationLink",superClass:["BaseElement"],properties:[{name:"sourceRef",type:"InteractionNode",isAttr:!0,isReference:!0},{name:"targetRef",type:"InteractionNode",isAttr:!0,isReference:!0},{name:"name",isAttr:!0,type:"String"}]},{name:"ConversationAssociation",superClass:["BaseElement"],properties:[{name:"innerConversationNodeRef",type:"ConversationNode",isAttr:!0,isReference:!0},{name:"outerConversationNodeRef",type:"ConversationNode",isAttr:!0,isReference:!0}]},{name:"CallConversation",superClass:["ConversationNode"],properties:[{name:"calledCollaborationRef",type:"Collaboration",isAttr:!0,isReference:!0},{name:"participantAssociations",type:"ParticipantAssociation",isMany:!0}]},{name:"Conversation",superClass:["ConversationNode"]},{name:"SubConversation",superClass:["ConversationNode"],properties:[{name:"conversationNodes",type:"ConversationNode",isMany:!0}]},{name:"ConversationNode",isAbstract:!0,superClass:["InteractionNode","BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"participantRef",type:"Participant",isMany:!0,isReference:!0},{name:"messageFlowRefs",type:"MessageFlow",isMany:!0,isReference:!0},{name:"correlationKeys",type:"CorrelationKey",isMany:!0}]},{name:"GlobalConversation",superClass:["Collaboration"]},{name:"PartnerEntity",superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"participantRef",type:"Participant",isMany:!0,isReference:!0}]},{name:"PartnerRole",superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"participantRef",type:"Participant",isMany:!0,isReference:!0}]},{name:"CorrelationProperty",superClass:["RootElement"],properties:[{name:"correlationPropertyRetrievalExpression",type:"CorrelationPropertyRetrievalExpression",isMany:!0},{name:"name",isAttr:!0,type:"String"},{name:"type",type:"ItemDefinition",isAttr:!0,isReference:!0}]},{name:"Error",superClass:["RootElement"],properties:[{name:"structureRef",type:"ItemDefinition",isAttr:!0,isReference:!0},{name:"name",isAttr:!0,type:"String"},{name:"errorCode",isAttr:!0,type:"String"}]},{name:"CorrelationKey",superClass:["BaseElement"],properties:[{name:"correlationPropertyRef",type:"CorrelationProperty",isMany:!0,isReference:!0},{name:"name",isAttr:!0,type:"String"}]},{name:"Expression",superClass:["BaseElement"],isAbstract:!1,properties:[{name:"body",isBody:!0,type:"String"}]},{name:"FormalExpression",superClass:["Expression"],properties:[{name:"language",isAttr:!0,type:"String"},{name:"evaluatesToTypeRef",type:"ItemDefinition",isAttr:!0,isReference:!0}]},{name:"Message",superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"itemRef",type:"ItemDefinition",isAttr:!0,isReference:!0}]},{name:"ItemDefinition",superClass:["RootElement"],properties:[{name:"itemKind",type:"ItemKind",isAttr:!0},{name:"structureRef",isAttr:!0,type:"String"},{name:"isCollection",default:!1,isAttr:!0,type:"Boolean"},{name:"import",type:"Import",isAttr:!0,isReference:!0}]},{name:"FlowElement",isAbstract:!0,superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"auditing",type:"Auditing"},{name:"monitoring",type:"Monitoring"},{name:"categoryValueRef",type:"CategoryValue",isMany:!0,isReference:!0}]},{name:"SequenceFlow",superClass:["FlowElement"],properties:[{name:"isImmediate",isAttr:!0,type:"Boolean"},{name:"conditionExpression",type:"Expression",xml:{serialize:"xsi:type"}},{name:"sourceRef",type:"FlowNode",isAttr:!0,isReference:!0},{name:"targetRef",type:"FlowNode",isAttr:!0,isReference:!0}]},{name:"FlowElementsContainer",isAbstract:!0,superClass:["BaseElement"],properties:[{name:"laneSets",type:"LaneSet",isMany:!0},{name:"flowElements",type:"FlowElement",isMany:!0}]},{name:"CallableElement",isAbstract:!0,superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"ioSpecification",type:"InputOutputSpecification",xml:{serialize:"property"}},{name:"supportedInterfaceRef",type:"Interface",isMany:!0,isReference:!0},{name:"ioBinding",type:"InputOutputBinding",isMany:!0,xml:{serialize:"property"}}]},{name:"FlowNode",isAbstract:!0,superClass:["FlowElement"],properties:[{name:"incoming",type:"SequenceFlow",isMany:!0,isReference:!0},{name:"outgoing",type:"SequenceFlow",isMany:!0,isReference:!0},{name:"lanes",type:"Lane",isMany:!0,isVirtual:!0,isReference:!0}]},{name:"CorrelationPropertyRetrievalExpression",superClass:["BaseElement"],properties:[{name:"messagePath",type:"FormalExpression"},{name:"messageRef",type:"Message",isAttr:!0,isReference:!0}]},{name:"CorrelationPropertyBinding",superClass:["BaseElement"],properties:[{name:"dataPath",type:"FormalExpression"},{name:"correlationPropertyRef",type:"CorrelationProperty",isAttr:!0,isReference:!0}]},{name:"Resource",superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"resourceParameters",type:"ResourceParameter",isMany:!0}]},{name:"ResourceParameter",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"isRequired",isAttr:!0,type:"Boolean"},{name:"type",type:"ItemDefinition",isAttr:!0,isReference:!0}]},{name:"CorrelationSubscription",superClass:["BaseElement"],properties:[{name:"correlationKeyRef",type:"CorrelationKey",isAttr:!0,isReference:!0},{name:"correlationPropertyBinding",type:"CorrelationPropertyBinding",isMany:!0}]},{name:"MessageFlow",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"sourceRef",type:"InteractionNode",isAttr:!0,isReference:!0},{name:"targetRef",type:"InteractionNode",isAttr:!0,isReference:!0},{name:"messageRef",type:"Message",isAttr:!0,isReference:!0}]},{name:"MessageFlowAssociation",superClass:["BaseElement"],properties:[{name:"innerMessageFlowRef",type:"MessageFlow",isAttr:!0,isReference:!0},{name:"outerMessageFlowRef",type:"MessageFlow",isAttr:!0,isReference:!0}]},{name:"InteractionNode",isAbstract:!0,properties:[{name:"incomingConversationLinks",type:"ConversationLink",isMany:!0,isVirtual:!0,isReference:!0},{name:"outgoingConversationLinks",type:"ConversationLink",isMany:!0,isVirtual:!0,isReference:!0}]},{name:"Participant",superClass:["InteractionNode","BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"interfaceRef",type:"Interface",isMany:!0,isReference:!0},{name:"participantMultiplicity",type:"ParticipantMultiplicity"},{name:"endPointRefs",type:"EndPoint",isMany:!0,isReference:!0},{name:"processRef",type:"Process",isAttr:!0,isReference:!0}]},{name:"ParticipantAssociation",superClass:["BaseElement"],properties:[{name:"innerParticipantRef",type:"Participant",isAttr:!0,isReference:!0},{name:"outerParticipantRef",type:"Participant",isAttr:!0,isReference:!0}]},{name:"ParticipantMultiplicity",properties:[{name:"minimum",default:0,isAttr:!0,type:"Integer"},{name:"maximum",default:1,isAttr:!0,type:"Integer"}],superClass:["BaseElement"]},{name:"Collaboration",superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"isClosed",isAttr:!0,type:"Boolean"},{name:"participants",type:"Participant",isMany:!0},{name:"messageFlows",type:"MessageFlow",isMany:!0},{name:"artifacts",type:"Artifact",isMany:!0},{name:"conversations",type:"ConversationNode",isMany:!0},{name:"conversationAssociations",type:"ConversationAssociation"},{name:"participantAssociations",type:"ParticipantAssociation",isMany:!0},{name:"messageFlowAssociations",type:"MessageFlowAssociation",isMany:!0},{name:"correlationKeys",type:"CorrelationKey",isMany:!0},{name:"choreographyRef",type:"Choreography",isMany:!0,isReference:!0},{name:"conversationLinks",type:"ConversationLink",isMany:!0}]},{name:"ChoreographyActivity",isAbstract:!0,superClass:["FlowNode"],properties:[{name:"participantRef",type:"Participant",isMany:!0,isReference:!0},{name:"initiatingParticipantRef",type:"Participant",isAttr:!0,isReference:!0},{name:"correlationKeys",type:"CorrelationKey",isMany:!0},{name:"loopType",type:"ChoreographyLoopType",default:"None",isAttr:!0}]},{name:"CallChoreography",superClass:["ChoreographyActivity"],properties:[{name:"calledChoreographyRef",type:"Choreography",isAttr:!0,isReference:!0},{name:"participantAssociations",type:"ParticipantAssociation",isMany:!0}]},{name:"SubChoreography",superClass:["ChoreographyActivity","FlowElementsContainer"],properties:[{name:"artifacts",type:"Artifact",isMany:!0}]},{name:"ChoreographyTask",superClass:["ChoreographyActivity"],properties:[{name:"messageFlowRef",type:"MessageFlow",isMany:!0,isReference:!0}]},{name:"Choreography",superClass:["Collaboration","FlowElementsContainer"]},{name:"GlobalChoreographyTask",superClass:["Choreography"],properties:[{name:"initiatingParticipantRef",type:"Participant",isAttr:!0,isReference:!0}]},{name:"TextAnnotation",superClass:["Artifact"],properties:[{name:"text",type:"String"},{name:"textFormat",default:"text/plain",isAttr:!0,type:"String"}]},{name:"Group",superClass:["Artifact"],properties:[{name:"categoryValueRef",type:"CategoryValue",isAttr:!0,isReference:!0}]},{name:"Association",superClass:["Artifact"],properties:[{name:"associationDirection",type:"AssociationDirection",isAttr:!0},{name:"sourceRef",type:"BaseElement",isAttr:!0,isReference:!0},{name:"targetRef",type:"BaseElement",isAttr:!0,isReference:!0}]},{name:"Category",superClass:["RootElement"],properties:[{name:"categoryValue",type:"CategoryValue",isMany:!0},{name:"name",isAttr:!0,type:"String"}]},{name:"Artifact",isAbstract:!0,superClass:["BaseElement"]},{name:"CategoryValue",superClass:["BaseElement"],properties:[{name:"categorizedFlowElements",type:"FlowElement",isMany:!0,isVirtual:!0,isReference:!0},{name:"value",isAttr:!0,type:"String"}]},{name:"Activity",isAbstract:!0,superClass:["FlowNode"],properties:[{name:"isForCompensation",default:!1,isAttr:!0,type:"Boolean"},{name:"default",type:"SequenceFlow",isAttr:!0,isReference:!0},{name:"ioSpecification",type:"InputOutputSpecification",xml:{serialize:"property"}},{name:"boundaryEventRefs",type:"BoundaryEvent",isMany:!0,isReference:!0},{name:"properties",type:"Property",isMany:!0},{name:"dataInputAssociations",type:"DataInputAssociation",isMany:!0},{name:"dataOutputAssociations",type:"DataOutputAssociation",isMany:!0},{name:"startQuantity",default:1,isAttr:!0,type:"Integer"},{name:"resources",type:"ResourceRole",isMany:!0},{name:"completionQuantity",default:1,isAttr:!0,type:"Integer"},{name:"loopCharacteristics",type:"LoopCharacteristics"}]},{name:"ServiceTask",superClass:["Task"],properties:[{name:"implementation",isAttr:!0,type:"String"},{name:"operationRef",type:"Operation",isAttr:!0,isReference:!0}]},{name:"SubProcess",superClass:["Activity","FlowElementsContainer","InteractionNode"],properties:[{name:"triggeredByEvent",default:!1,isAttr:!0,type:"Boolean"},{name:"artifacts",type:"Artifact",isMany:!0}]},{name:"LoopCharacteristics",isAbstract:!0,superClass:["BaseElement"]},{name:"MultiInstanceLoopCharacteristics",superClass:["LoopCharacteristics"],properties:[{name:"isSequential",default:!1,isAttr:!0,type:"Boolean"},{name:"behavior",type:"MultiInstanceBehavior",default:"All",isAttr:!0},{name:"loopCardinality",type:"Expression",xml:{serialize:"xsi:type"}},{name:"loopDataInputRef",type:"ItemAwareElement",isReference:!0},{name:"loopDataOutputRef",type:"ItemAwareElement",isReference:!0},{name:"inputDataItem",type:"DataInput",xml:{serialize:"property"}},{name:"outputDataItem",type:"DataOutput",xml:{serialize:"property"}},{name:"complexBehaviorDefinition",type:"ComplexBehaviorDefinition",isMany:!0},{name:"completionCondition",type:"Expression",xml:{serialize:"xsi:type"}},{name:"oneBehaviorEventRef",type:"EventDefinition",isAttr:!0,isReference:!0},{name:"noneBehaviorEventRef",type:"EventDefinition",isAttr:!0,isReference:!0}]},{name:"StandardLoopCharacteristics",superClass:["LoopCharacteristics"],properties:[{name:"testBefore",default:!1,isAttr:!0,type:"Boolean"},{name:"loopCondition",type:"Expression",xml:{serialize:"xsi:type"}},{name:"loopMaximum",type:"Integer",isAttr:!0}]},{name:"CallActivity",superClass:["Activity","InteractionNode"],properties:[{name:"calledElement",type:"String",isAttr:!0}]},{name:"Task",superClass:["Activity","InteractionNode"]},{name:"SendTask",superClass:["Task"],properties:[{name:"implementation",isAttr:!0,type:"String"},{name:"operationRef",type:"Operation",isAttr:!0,isReference:!0},{name:"messageRef",type:"Message",isAttr:!0,isReference:!0}]},{name:"ReceiveTask",superClass:["Task"],properties:[{name:"implementation",isAttr:!0,type:"String"},{name:"instantiate",default:!1,isAttr:!0,type:"Boolean"},{name:"operationRef",type:"Operation",isAttr:!0,isReference:!0},{name:"messageRef",type:"Message",isAttr:!0,isReference:!0}]},{name:"ScriptTask",superClass:["Task"],properties:[{name:"scriptFormat",isAttr:!0,type:"String"},{name:"script",type:"String"}]},{name:"BusinessRuleTask",superClass:["Task"],properties:[{name:"implementation",isAttr:!0,type:"String"}]},{name:"AdHocSubProcess",superClass:["SubProcess"],properties:[{name:"completionCondition",type:"Expression",xml:{serialize:"xsi:type"}},{name:"ordering",type:"AdHocOrdering",isAttr:!0},{name:"cancelRemainingInstances",default:!0,isAttr:!0,type:"Boolean"}]},{name:"Transaction",superClass:["SubProcess"],properties:[{name:"protocol",isAttr:!0,type:"String"},{name:"method",isAttr:!0,type:"String"}]},{name:"GlobalScriptTask",superClass:["GlobalTask"],properties:[{name:"scriptLanguage",isAttr:!0,type:"String"},{name:"script",isAttr:!0,type:"String"}]},{name:"GlobalBusinessRuleTask",superClass:["GlobalTask"],properties:[{name:"implementation",isAttr:!0,type:"String"}]},{name:"ComplexBehaviorDefinition",superClass:["BaseElement"],properties:[{name:"condition",type:"FormalExpression"},{name:"event",type:"ImplicitThrowEvent"}]},{name:"ResourceRole",superClass:["BaseElement"],properties:[{name:"resourceRef",type:"Resource",isReference:!0},{name:"resourceParameterBindings",type:"ResourceParameterBinding",isMany:!0},{name:"resourceAssignmentExpression",type:"ResourceAssignmentExpression"},{name:"name",isAttr:!0,type:"String"}]},{name:"ResourceParameterBinding",properties:[{name:"expression",type:"Expression",xml:{serialize:"xsi:type"}},{name:"parameterRef",type:"ResourceParameter",isAttr:!0,isReference:!0}],superClass:["BaseElement"]},{name:"ResourceAssignmentExpression",properties:[{name:"expression",type:"Expression",xml:{serialize:"xsi:type"}}],superClass:["BaseElement"]},{name:"Import",properties:[{name:"importType",isAttr:!0,type:"String"},{name:"location",isAttr:!0,type:"String"},{name:"namespace",isAttr:!0,type:"String"}]},{name:"Definitions",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"targetNamespace",isAttr:!0,type:"String"},{name:"expressionLanguage",default:"http://www.w3.org/1999/XPath",isAttr:!0,type:"String"},{name:"typeLanguage",default:"http://www.w3.org/2001/XMLSchema",isAttr:!0,type:"String"},{name:"imports",type:"Import",isMany:!0},{name:"extensions",type:"Extension",isMany:!0},{name:"rootElements",type:"RootElement",isMany:!0},{name:"diagrams",isMany:!0,type:"bpmndi:BPMNDiagram"},{name:"exporter",isAttr:!0,type:"String"},{name:"relationships",type:"Relationship",isMany:!0},{name:"exporterVersion",isAttr:!0,type:"String"}]}],ZV=[{name:"ProcessType",literalValues:[{name:"None"},{name:"Public"},{name:"Private"}]},{name:"GatewayDirection",literalValues:[{name:"Unspecified"},{name:"Converging"},{name:"Diverging"},{name:"Mixed"}]},{name:"EventBasedGatewayType",literalValues:[{name:"Parallel"},{name:"Exclusive"}]},{name:"RelationshipDirection",literalValues:[{name:"None"},{name:"Forward"},{name:"Backward"},{name:"Both"}]},{name:"ItemKind",literalValues:[{name:"Physical"},{name:"Information"}]},{name:"ChoreographyLoopType",literalValues:[{name:"None"},{name:"Standard"},{name:"MultiInstanceSequential"},{name:"MultiInstanceParallel"}]},{name:"AssociationDirection",literalValues:[{name:"None"},{name:"One"},{name:"Both"}]},{name:"MultiInstanceBehavior",literalValues:[{name:"None"},{name:"One"},{name:"All"},{name:"Complex"}]},{name:"AdHocOrdering",literalValues:[{name:"Parallel"},{name:"Sequential"}]}],$V={tagAlias:"lowerCase",typePrefix:"t"},qV={name:WV,uri:GV,prefix:JV,associations:KV,types:XV,enumerations:ZV,xml:$V},eH="BPMNDI",tH="http://www.omg.org/spec/BPMN/20100524/DI",nH="bpmndi",iH=[{name:"BPMNDiagram",properties:[{name:"plane",type:"BPMNPlane",redefines:"di:Diagram#rootElement"},{name:"labelStyle",type:"BPMNLabelStyle",isMany:!0}],superClass:["di:Diagram"]},{name:"BPMNPlane",properties:[{name:"bpmnElement",isAttr:!0,isReference:!0,type:"bpmn:BaseElement",redefines:"di:DiagramElement#modelElement"}],superClass:["di:Plane"]},{name:"BPMNShape",properties:[{name:"bpmnElement",isAttr:!0,isReference:!0,type:"bpmn:BaseElement",redefines:"di:DiagramElement#modelElement"},{name:"isHorizontal",isAttr:!0,type:"Boolean"},{name:"isExpanded",isAttr:!0,type:"Boolean"},{name:"isMarkerVisible",isAttr:!0,type:"Boolean"},{name:"label",type:"BPMNLabel"},{name:"isMessageVisible",isAttr:!0,type:"Boolean"},{name:"participantBandKind",type:"ParticipantBandKind",isAttr:!0},{name:"choreographyActivityShape",type:"BPMNShape",isAttr:!0,isReference:!0}],superClass:["di:LabeledShape"]},{name:"BPMNEdge",properties:[{name:"label",type:"BPMNLabel"},{name:"bpmnElement",isAttr:!0,isReference:!0,type:"bpmn:BaseElement",redefines:"di:DiagramElement#modelElement"},{name:"sourceElement",isAttr:!0,isReference:!0,type:"di:DiagramElement",redefines:"di:Edge#source"},{name:"targetElement",isAttr:!0,isReference:!0,type:"di:DiagramElement",redefines:"di:Edge#target"},{name:"messageVisibleKind",type:"MessageVisibleKind",isAttr:!0,default:"initiating"}],superClass:["di:LabeledEdge"]},{name:"BPMNLabel",properties:[{name:"labelStyle",type:"BPMNLabelStyle",isAttr:!0,isReference:!0,redefines:"di:DiagramElement#style"}],superClass:["di:Label"]},{name:"BPMNLabelStyle",properties:[{name:"font",type:"dc:Font"}],superClass:["di:Style"]}],rH=[{name:"ParticipantBandKind",literalValues:[{name:"top_initiating"},{name:"middle_initiating"},{name:"bottom_initiating"},{name:"top_non_initiating"},{name:"middle_non_initiating"},{name:"bottom_non_initiating"}]},{name:"MessageVisibleKind",literalValues:[{name:"initiating"},{name:"non_initiating"}]}],aH=[],oH={name:eH,uri:tH,prefix:nH,types:iH,enumerations:rH,associations:aH},sH="DC",lH="http://www.omg.org/spec/DD/20100524/DC",cH="dc",uH=[{name:"Boolean"},{name:"Integer"},{name:"Real"},{name:"String"},{name:"Font",properties:[{name:"name",type:"String",isAttr:!0},{name:"size",type:"Real",isAttr:!0},{name:"isBold",type:"Boolean",isAttr:!0},{name:"isItalic",type:"Boolean",isAttr:!0},{name:"isUnderline",type:"Boolean",isAttr:!0},{name:"isStrikeThrough",type:"Boolean",isAttr:!0}]},{name:"Point",properties:[{name:"x",type:"Real",default:"0",isAttr:!0},{name:"y",type:"Real",default:"0",isAttr:!0}]},{name:"Bounds",properties:[{name:"x",type:"Real",default:"0",isAttr:!0},{name:"y",type:"Real",default:"0",isAttr:!0},{name:"width",type:"Real",isAttr:!0},{name:"height",type:"Real",isAttr:!0}]}],dH=[],fH={name:sH,uri:lH,prefix:cH,types:uH,associations:dH},pH="DI",hH="http://www.omg.org/spec/DD/20100524/DI",mH="di",gH=[{name:"DiagramElement",isAbstract:!0,properties:[{name:"id",isAttr:!0,isId:!0,type:"String"},{name:"extension",type:"Extension"},{name:"owningDiagram",type:"Diagram",isReadOnly:!0,isVirtual:!0,isReference:!0},{name:"owningElement",type:"DiagramElement",isReadOnly:!0,isVirtual:!0,isReference:!0},{name:"modelElement",isReadOnly:!0,isVirtual:!0,isReference:!0,type:"Element"},{name:"style",type:"Style",isReadOnly:!0,isVirtual:!0,isReference:!0},{name:"ownedElement",type:"DiagramElement",isReadOnly:!0,isMany:!0,isVirtual:!0}]},{name:"Node",isAbstract:!0,superClass:["DiagramElement"]},{name:"Edge",isAbstract:!0,superClass:["DiagramElement"],properties:[{name:"source",type:"DiagramElement",isReadOnly:!0,isVirtual:!0,isReference:!0},{name:"target",type:"DiagramElement",isReadOnly:!0,isVirtual:!0,isReference:!0},{name:"waypoint",isUnique:!1,isMany:!0,type:"dc:Point",xml:{serialize:"xsi:type"}}]},{name:"Diagram",isAbstract:!0,properties:[{name:"id",isAttr:!0,isId:!0,type:"String"},{name:"rootElement",type:"DiagramElement",isReadOnly:!0,isVirtual:!0},{name:"name",isAttr:!0,type:"String"},{name:"documentation",isAttr:!0,type:"String"},{name:"resolution",isAttr:!0,type:"Real"},{name:"ownedStyle",type:"Style",isReadOnly:!0,isMany:!0,isVirtual:!0}]},{name:"Shape",isAbstract:!0,superClass:["Node"],properties:[{name:"bounds",type:"dc:Bounds"}]},{name:"Plane",isAbstract:!0,superClass:["Node"],properties:[{name:"planeElement",type:"DiagramElement",subsettedProperty:"DiagramElement-ownedElement",isMany:!0}]},{name:"LabeledEdge",isAbstract:!0,superClass:["Edge"],properties:[{name:"ownedLabel",type:"Label",isReadOnly:!0,subsettedProperty:"DiagramElement-ownedElement",isMany:!0,isVirtual:!0}]},{name:"LabeledShape",isAbstract:!0,superClass:["Shape"],properties:[{name:"ownedLabel",type:"Label",isReadOnly:!0,subsettedProperty:"DiagramElement-ownedElement",isMany:!0,isVirtual:!0}]},{name:"Label",isAbstract:!0,superClass:["Node"],properties:[{name:"bounds",type:"dc:Bounds"}]},{name:"Style",isAbstract:!0,properties:[{name:"id",isAttr:!0,isId:!0,type:"String"}]},{name:"Extension",properties:[{name:"values",isMany:!0,type:"Element"}]}],AH=[],vH={tagAlias:"lowerCase"},bH={name:pH,uri:hH,prefix:mH,types:gH,associations:AH,xml:vH},_H="bpmn.io colors for BPMN",yH="http://bpmn.io/schema/bpmn/biocolor/1.0",xH="bioc",wH=[{name:"ColoredShape",extends:["bpmndi:BPMNShape"],properties:[{name:"stroke",isAttr:!0,type:"String"},{name:"fill",isAttr:!0,type:"String"}]},{name:"ColoredEdge",extends:["bpmndi:BPMNEdge"],properties:[{name:"stroke",isAttr:!0,type:"String"},{name:"fill",isAttr:!0,type:"String"}]}],EH=[],kH=[],CH={name:_H,uri:yH,prefix:xH,types:wH,enumerations:EH,associations:kH},SH="BPMN in Color",DH="http://www.omg.org/spec/BPMN/non-normative/color/1.0",BH="color",IH=[{name:"ColoredLabel",extends:["bpmndi:BPMNLabel"],properties:[{name:"color",isAttr:!0,type:"String"}]},{name:"ColoredShape",extends:["bpmndi:BPMNShape"],properties:[{name:"background-color",isAttr:!0,type:"String"},{name:"border-color",isAttr:!0,type:"String"}]},{name:"ColoredEdge",extends:["bpmndi:BPMNEdge"],properties:[{name:"border-color",isAttr:!0,type:"String"}]}],OH=[],TH=[],NH={name:SH,uri:DH,prefix:BH,types:IH,enumerations:OH,associations:TH};const MH={bpmn:qV,bpmndi:oH,dc:fH,di:bH,bioc:CH,color:NH};function FH(e,n){const r=Je({},MH,e);return new im(r,n)}var PH="Tried to access di from the businessObject. The di is available through the diagram element only. For more information, see https://github.com/bpmn-io/bpmn-js/issues/1472";function RH(e){$l(e,"di")||Object.defineProperty(e,"di",{enumerable:!1,get:function(){throw new Error(PH)}})}function qn(e,n){return e.$instanceOf(n)}function jH(e){return Sr(e.rootElements,function(n){return qn(n,"bpmn:Process")||qn(n,"bpmn:Collaboration")})}function LH(e){var n={},r=[],a={};function s(le,he){return function(xe){le(xe,he)}}function c(le){n[le.id]=le}function p(le){return n[le.id]}function m(le,he){var xe=le.gfx;if(xe)throw new Error(`already rendered ${Nn(le)}`);return e.element(le,a[le.id],he)}function g(le,he){return e.root(le,a[le.id],he)}function y(le,he){try{var xe=a[le.id]&&m(le,he);return c(le),xe}catch(Fe){O(Fe.message,{element:le,error:Fe}),console.error(`failed to import ${Nn(le)}`,Fe)}}function O(le,he){e.error(le,he)}var k=this.registerDi=function(he){var xe=he.bpmnElement;xe?a[xe.id]?O(`multiple DI elements defined for ${Nn(xe)}`,{element:xe}):(a[xe.id]=he,RH(xe)):O(`no bpmnElement referenced in ${Nn(he)}`,{element:he})};function N(le){_(le.plane)}function _(le){k(le),We(le.planeElement,S)}function S(le){k(le)}this.handleDefinitions=function(he,xe){var Fe=he.diagrams;if(xe&&Fe.indexOf(xe)===-1)throw new Error("diagram not part of <bpmn:Definitions />");if(!xe&&Fe&&Fe.length&&(xe=Fe[0]),!xe)throw new Error("no diagram to display");a={},N(xe);var K=xe.plane;if(!K)throw new Error(`no plane for ${Nn(xe)}`);var j=K.bpmnElement;if(!j)if(j=jH(he),j)O(`correcting missing bpmnElement on ${Nn(K)} to ${Nn(j)}`),K.bpmnElement=j,k(K);else throw new Error("no process or collaboration to display");var E=g(j,K);if(qn(j,"bpmn:Process")||qn(j,"bpmn:SubProcess"))P(j,E);else if(qn(j,"bpmn:Collaboration"))ge(j,E),T(he.rootElements,E);else throw new Error(`unsupported bpmnElement for ${Nn(K)}: ${Nn(j)}`);M(r)};var M=this.handleDeferred=function(){for(var he;r.length;)he=r.shift(),he()};function P(le,he){W(le,he),ee(le.ioSpecification,he),V(le.artifacts,he),c(le)}function T(le,he){var xe=ql(le,function(Fe){return!p(Fe)&&qn(Fe,"bpmn:Process")&&Fe.laneSets});xe.forEach(s(P,he))}function R(le,he){y(le,he)}function b(le,he){We(le,s(R,he))}function w(le,he){y(le,he)}function I(le,he){y(le,he)}function z(le,he){y(le,he)}function F(le,he){y(le,he)}function V(le,he){We(le,function(xe){qn(xe,"bpmn:Association")?r.push(function(){F(xe,he)}):F(xe,he)})}function ee(le,he){!le||(We(le.dataInputs,s(I,he)),We(le.dataOutputs,s(z,he)))}var ne=this.handleSubProcess=function(he,xe){W(he,xe),V(he.artifacts,xe)};function se(le,he){var xe=y(le,he);qn(le,"bpmn:SubProcess")&&ne(le,xe||he),qn(le,"bpmn:Activity")&&ee(le.ioSpecification,he),r.push(function(){We(le.dataInputAssociations,s(w,he)),We(le.dataOutputAssociations,s(w,he))})}function me(le,he){y(le,he)}function pe(le,he){y(le,he)}function Se(le,he){r.push(function(){var xe=y(le,he);le.childLaneSet&&ye(le.childLaneSet,xe||he),Te(le)})}function ye(le,he){We(le.lanes,s(Se,he))}function _e(le,he){We(le,s(ye,he))}function W(le,he){J(le.flowElements,he),le.laneSets&&_e(le.laneSets,he)}function J(le,he){We(le,function(xe){qn(xe,"bpmn:SequenceFlow")?r.push(function(){me(xe,he)}):qn(xe,"bpmn:BoundaryEvent")?r.unshift(function(){se(xe,he)}):qn(xe,"bpmn:FlowNode")?se(xe,he):qn(xe,"bpmn:DataObject")||(qn(xe,"bpmn:DataStoreReference")||qn(xe,"bpmn:DataObjectReference")?pe(xe,he):O(`unrecognized flowElement ${Nn(xe)} in context ${Nn(he&&he.businessObject)}`,{element:xe,context:he}))})}function re(le,he){var xe=y(le,he),Fe=le.processRef;Fe&&P(Fe,xe||he)}function ge(le,he){We(le.participants,s(re,he)),r.push(function(){b(le.messageFlows,he)}),V(le.artifacts,he)}function Te(le){We(le.flowNodeRef,function(he){var xe=he.get("lanes");xe&&xe.push(le)})}}function QH(e,n,r){var a,s,c,p,m=[];function g(y,O){var k={root:function(M,P){return a.add(M,P)},element:function(M,P,T){return a.add(M,P,T)},error:function(M,P){m.push({message:M,context:P})}},N=new LH(k);O=O||y.diagrams&&y.diagrams[0];var _=zH(y,O);if(!_)throw new Error("no diagram to display");We(_,function(M){N.handleDefinitions(y,M)});var S=O.plane.bpmnElement.id;c.setRootElement(c.findRoot(S+"_plane")||c.findRoot(S))}return new Promise(function(y,O){try{return a=e.get("bpmnImporter"),s=e.get("eventBus"),c=e.get("canvas"),s.fire("import.render.start",{definitions:n}),g(n,r),s.fire("import.render.complete",{error:p,warnings:m}),y({warnings:m})}catch(k){return k.warnings=m,O(k)}})}function zH(e,n){if(!(!n||!n.plane)){var r=n.plane.bpmnElement,a=r;!Ge(r,"bpmn:Process")&&!Ge(r,"bpmn:Collaboration")&&(a=VH(r));var s;Ge(a,"bpmn:Collaboration")?s=a:s=Sr(e.rootElements,function(y){if(!!Ge(y,"bpmn:Collaboration"))return Sr(y.participants,function(O){return O.processRef===a})});var c=[a];s&&(c=E8(s.participants,function(y){return y.processRef}),c.push(s));var p=tO(c),m=[n],g=[r];return We(e.diagrams,function(y){if(!!y.plane){var O=y.plane.bpmnElement;p.indexOf(O)!==-1&&g.indexOf(O)===-1&&(m.push(y),g.push(O))}}),m}}function tO(e){var n=[];return We(e,function(r){!r||(n.push(r),n=n.concat(tO(r.flowElements)))}),n}function VH(e){for(var n=e;n;){if(Ge(n,"bpmn:Process"))return n;n=n.$parent}}var HH='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14.02 5.57" width="53" height="21"><path fill="currentColor" d="M1.88.92v.14c0 .41-.13.68-.4.8.33.14.46.44.46.86v.33c0 .61-.33.95-.95.95H0V0h.95c.65 0 .93.3.93.92zM.63.57v1.06h.24c.24 0 .38-.1.38-.43V.98c0-.28-.1-.4-.32-.4zm0 1.63v1.22h.36c.2 0 .32-.1.32-.39v-.35c0-.37-.12-.48-.4-.48H.63zM4.18.99v.52c0 .64-.31.98-.94.98h-.3V4h-.62V0h.92c.63 0 .94.35.94.99zM2.94.57v1.35h.3c.2 0 .3-.09.3-.37v-.6c0-.29-.1-.38-.3-.38h-.3zm2.89 2.27L6.25 0h.88v4h-.6V1.12L6.1 3.99h-.6l-.46-2.82v2.82h-.55V0h.87zM8.14 1.1V4h-.56V0h.79L9 2.4V0h.56v4h-.64zm2.49 2.29v.6h-.6v-.6zM12.12 1c0-.63.33-1 .95-1 .61 0 .95.37.95 1v2.04c0 .64-.34 1-.95 1-.62 0-.95-.37-.95-1zm.62 2.08c0 .28.13.39.33.39s.32-.1.32-.4V.98c0-.29-.12-.4-.32-.4s-.33.11-.33.4z"/><path fill="currentColor" d="M0 4.53h14.02v1.04H0zM11.08 0h.63v.62h-.63zm.63 4V1h-.63v2.98z"/></svg>',nO=HH,iO={verticalAlign:"middle"},rO={color:"#404040"},UH={zIndex:"1001",position:"fixed",top:"0",left:"0",right:"0",bottom:"0"},YH={width:"100%",height:"100%",background:"rgba(40,40,40,0.2)"},WH={position:"absolute",left:"50%",top:"40%",transform:"translate(-50%)",width:"260px",padding:"10px",background:"white",boxShadow:"0 1px 4px rgba(0,0,0,0.3)",fontFamily:"Helvetica, Arial, sans-serif",fontSize:"14px",display:"flex",lineHeight:"1.3"},GH='<div class="bjs-powered-by-lightbox"><div class="backdrop"></div><div class="notice"><a href="https://bpmn.io" target="_blank" rel="noopener" class="link">'+nO+'</a><span>Web-based tooling for BPMN, DMN and forms powered by <a href="https://bpmn.io" target="_blank" rel="noopener">bpmn.io</a>.</span></div></div>',Zr;function JH(){Zr=Li(GH),Tn(Zr,UH),Tn(xa("svg",Zr),iO),Tn(xa(".backdrop",Zr),YH),Tn(xa(".notice",Zr),WH),Tn(xa(".link",Zr),rO,{margin:"15px 20px 15px 10px",alignSelf:"center"})}function KH(){Zr||(JH(),tc.bind(Zr,".backdrop","click",function(e){document.body.removeChild(Zr)})),document.body.appendChild(Zr)}function qt(e){e=Je({},ZH,e),this._moddle=this._createModdle(e),this._container=this._createContainer(e),this._init(this._container,this._moddle,e),qH(this._container)}Gr(qt,lo),qt.prototype.importXML=async function(n,r){const a=this;function s(p){return a.get("eventBus").createEvent(p)}let c=[];try{n=this._emit("import.parse.start",{xml:n})||n;let p;try{p=await this._moddle.fromXML(n,"bpmn:Definitions")}catch(N){throw this._emit("import.parse.complete",{error:N}),N}let m=p.rootElement;const g=p.references,y=p.warnings,O=p.elementsById;c=c.concat(y),m=this._emit("import.parse.complete",s({error:null,definitions:m,elementsById:O,references:g,warnings:c}))||m;const k=await this.importDefinitions(m,r);return c=c.concat(k.warnings),this._emit("import.done",{error:null,warnings:c}),{warnings:c}}catch(p){let m=p;throw c=c.concat(m.warnings||[]),rm(m,c),m=XH(m),this._emit("import.done",{error:m,warnings:m.warnings}),m}},qt.prototype.importDefinitions=async function(n,r){return this._setDefinitions(n),{warnings:(await this.open(r)).warnings}},qt.prototype.open=async function(n){const r=this._definitions;let a=n;if(!r){const c=new Error("no XML imported");throw rm(c,[]),c}if(typeof n=="string"&&(a=$H(r,n),!a)){const c=new Error("BPMNDiagram <"+n+"> not found");throw rm(c,[]),c}try{this.clear()}catch(c){throw rm(c,[]),c}const{warnings:s}=await QH(this,r,a);return{warnings:s}},qt.prototype.saveXML=async function(n){n=n||{};let r=this._definitions,a,s;try{if(!r)throw new Error("no definitions loaded");r=this._emit("saveXML.start",{definitions:r})||r,s=(await this._moddle.toXML(r,n)).xml,s=this._emit("saveXML.serialized",{xml:s})||s}catch(p){a=p}const c=a?{error:a}:{xml:s};if(this._emit("saveXML.done",c),a)throw a;return c},qt.prototype.saveSVG=async function(){this._emit("saveSVG.start");let n,r;try{const a=this.get("canvas"),s=a.getActiveLayer(),c=xa(":scope > defs",a._svg),p=UI(s),m=c?"<defs>"+UI(c)+"</defs>":"",g=s.getBBox();n=`<?xml version="1.0" encoding="utf-8"?>
40
40
  <!-- created with bpmn-js / http://bpmn.io -->
41
41
  <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
42
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="`+g.width+'" height="'+g.height+'" viewBox="'+g.x+" "+g.y+" "+g.width+" "+g.height+'" version="1.1">'+m+p+"</svg>"}catch(a){r=a}if(this._emit("saveSVG.done",{error:r,svg:n}),r)throw r;return{svg:n}},qt.prototype._setDefinitions=function(e){this._definitions=e},qt.prototype.getModules=function(){return this._modules},qt.prototype.clear=function(){!this.getDefinitions()||lo.prototype.clear.call(this)},qt.prototype.destroy=function(){lo.prototype.destroy.call(this),nc(this._container)},qt.prototype.on=function(e,n,r,a){return this.get("eventBus").on(e,n,r,a)},qt.prototype.off=function(e,n){this.get("eventBus").off(e,n)},qt.prototype.attachTo=function(e){if(!e)throw new Error("parentNode required");this.detach(),e.get&&e.constructor.prototype.jquery&&(e=e.get(0)),typeof e=="string"&&(e=xa(e)),e.appendChild(this._container),this._emit("attach",{}),this.get("canvas").resized()},qt.prototype.getDefinitions=function(){return this._definitions},qt.prototype.detach=function(){const e=this._container,n=e.parentNode;!n||(this._emit("detach",{}),n.removeChild(e))},qt.prototype._init=function(e,n,r){const a=r.modules||this.getModules(r),s=r.additionalModules||[],c=[{bpmnjs:["value",this],moddle:["value",n]}],p=[].concat(c,a,s),m=Je(I8(r,["additionalModules"]),{canvas:Je({},r.canvas,{container:e}),modules:p});lo.call(this,m),r&&r.container&&this.attachTo(r.container)},qt.prototype._emit=function(e,n){return this.get("eventBus").fire(e,n)},qt.prototype._createContainer=function(e){const n=Li('<div class="bjs-container"></div>');return Tn(n,{width:aO(e.width),height:aO(e.height),position:e.position}),n},qt.prototype._createModdle=function(e){const n=Je({},this._moddleExtensions,e.moddleExtensions);return new FH(n)},qt.prototype._modules=[];function rm(e,n){return e.warnings=n,e}function XH(e){const r=/unparsable content <([^>]+)> detected([\s\S]*)$/.exec(e.message);return r&&(e.message="unparsable content <"+r[1]+"> detected; this may indicate an invalid BPMN 2.0 diagram file"+r[2]),e}const ZH={width:"100%",height:"100%",position:"relative"};function aO(e){return e+(no(e)?"px":"")}function $H(e,n){return n&&Sr(e.diagrams,function(r){return r.id===n})||null}function qH(e){const r='<a href="http://bpmn.io" target="_blank" class="bjs-powered-by" title="Powered by bpmn.io" >'+nO+"</a>",a=Li(r);Tn(xa("svg",a),iO),Tn(a,rO,{position:"absolute",bottom:"15px",right:"15px",zIndex:"100"}),e.appendChild(a),xs.bind(a,"click",function(s){KH(),s.preventDefault()})}function uc(e){qt.call(this,e)}Gr(uc,qt),uc.prototype._modules=[f7,O7,s2,R7,t2],uc.prototype._moddleExtensions={};var eU=/^djs-cursor-.*$/;function oO(e){var n=ys(document.body);n.removeMatching(eU),e&&n.add("djs-cursor-"+e)}function tU(){oO(null)}var nU=5e3;function iU(e,n){n=n||"element.click";function r(){return!1}return e.once(n,nU,r),function(){e.off(n,r)}}function sO(e,n){return{x:e.x-n.x,y:e.y-n.y}}var rU=15;function lO(e,n){var r;function a(m){return p(m.originalEvent)}e.on("canvas.focus.changed",function(m){m.focused?e.on("element.mousedown",500,a):e.off("element.mousedown",a)});function s(m){var g=r.start,y=r.button,O=h2(m),k=sO(O,g);if(!r.dragging&&aU(k)>rU&&(r.dragging=!0,y===0&&iU(e),oO("grab")),r.dragging){var N=r.last||r.start;k=sO(O,N),n.scroll({dx:k.x,dy:k.y}),r.last=O}m.preventDefault()}function c(m){xs.unbind(document,"mousemove",s),xs.unbind(document,"mouseup",c),r=null,tU()}function p(m){if(!JI(m.target,".djs-draggable")){var g=m.button;if(!(g>=2||m.ctrlKey||m.shiftKey||m.altKey))return r={button:g,start:h2(m)},xs.bind(document,"mousemove",s),xs.bind(document,"mouseup",c),!0}}this.isActive=function(){return!!r}}lO.$inject=["eventBus","canvas"];function aU(e){return Math.sqrt(Math.pow(e.x,2)+Math.pow(e.y,2))}const Bd={__init__:["moveCanvas"],moveCanvas:["type",lO]};var oU=new ux("tt");function sU(e){var n=Li('<div class="djs-tooltip-container" />');return Tn(n,{position:"absolute",width:"0",height:"0"}),e.insertBefore(n,e.firstChild),n}function lU(e,n,r){Tn(e,{left:n+"px",top:r+"px"})}function Dx(e,n){e.style.display=n===!1?"none":""}var cO="djs-tooltip",Bx="."+cO;function ei(e,n){this._eventBus=e,this._canvas=n,this._ids=oU,this._tooltipDefaults={show:{minZoom:.7,maxZoom:5}},this._tooltips={},this._tooltipRoot=sU(n.getContainer());var r=this;tc.bind(this._tooltipRoot,Bx,"mousedown",function(a){a.stopPropagation()}),tc.bind(this._tooltipRoot,Bx,"mouseover",function(a){r.trigger("mouseover",a)}),tc.bind(this._tooltipRoot,Bx,"mouseout",function(a){r.trigger("mouseout",a)}),this._init()}ei.$inject=["eventBus","canvas"],ei.prototype.add=function(e){if(!e.position)throw new Error("must specifiy tooltip position");if(!e.html)throw new Error("must specifiy tooltip html");var n=this._ids.next();return e=Je({},this._tooltipDefaults,e,{id:n}),this._addTooltip(e),e.timeout&&this.setTimeout(e),n},ei.prototype.trigger=function(e,n){var r=n.delegateTarget||n.target,a=this.get(rx(r,"data-tooltip-id"));!a||(e==="mouseover"&&a.timeout&&this.clearTimeout(a),e==="mouseout"&&a.timeout&&(a.timeout=1e3,this.setTimeout(a)))},ei.prototype.get=function(e){return typeof e!="string"&&(e=e.id),this._tooltips[e]},ei.prototype.clearTimeout=function(e){if(e=this.get(e),!!e){var n=e.removeTimer;n&&(clearTimeout(n),e.removeTimer=null)}},ei.prototype.setTimeout=function(e){if(e=this.get(e),!!e){this.clearTimeout(e);var n=this;e.removeTimer=setTimeout(function(){n.remove(e)},e.timeout)}},ei.prototype.remove=function(e){var n=this.get(e);n&&(nc(n.html),nc(n.htmlContainer),delete n.htmlContainer,delete this._tooltips[n.id])},ei.prototype.show=function(){Dx(this._tooltipRoot)},ei.prototype.hide=function(){Dx(this._tooltipRoot,!1)},ei.prototype._updateRoot=function(e){var n=e.scale||1,r=e.scale||1,a="matrix("+n+",0,0,"+r+","+-1*e.x*n+","+-1*e.y*r+")";this._tooltipRoot.style.transform=a,this._tooltipRoot.style["-ms-transform"]=a},ei.prototype._addTooltip=function(e){var n=e.id,r=e.html,a,s=this._tooltipRoot;r.get&&r.constructor.prototype.jquery&&(r=r.get(0)),Cr(r)&&(r=Li(r)),a=Li('<div data-tooltip-id="'+n+'" class="'+cO+'">'),Tn(a,{position:"absolute"}),a.appendChild(r),e.type&&ys(a).add("djs-tooltip-"+e.type),e.className&&ys(a).add(e.className),e.htmlContainer=a,s.appendChild(a),this._tooltips[n]=e,this._updateTooltip(e)},ei.prototype._updateTooltip=function(e){var n=e.position,r=e.htmlContainer;lU(r,n.x,n.y)},ei.prototype._updateTooltipVisibilty=function(e){We(this._tooltips,function(n){var r=n.show,a=n.htmlContainer,s=!0;r&&((r.minZoom>e.scale||r.maxZoom<e.scale)&&(s=!1),Dx(a,s))})},ei.prototype._init=function(){var e=this;function n(r){e._updateRoot(r),e._updateTooltipVisibilty(r),e.show()}this._eventBus.on("canvas.viewbox.changing",function(r){e.hide()}),this._eventBus.on("canvas.viewbox.changed",function(r){n(r.viewbox)})};const Ix={__init__:["tooltips"],tooltips:["type",ei]},cU=e=>{var n=Object.prototype.toString,r={"[object Boolean]":"boolean","[object Number]":"number","[object String]":"string","[object Function]":"function","[object Array]":"array","[object Date]":"date","[object RegExp]":"regExp","[object Undefined]":"undefined","[object Null]":"null","[object Object]":"object"};return e instanceof Element?"element":r[n.call(e)]},Ox=e=>{var n=cU(e),r;if(n==="array")r=[];else if(n==="object")r={};else return e;if(n==="array")for(var a=0,s=e.length;a<s;a++)r.push(Ox(e[a]));else if(n==="object")for(var c in e)r[c]=Ox(e[c]);return r};function uU(e,n="YYYY-MM-DD HH:mm:ss"){return ld(e).format(n)}function dU(e){e=Ox(e);const n={};e.forEach(a=>{n[a.historyActivityId]?n[a.historyActivityId].push(a):n[a.historyActivityId]=[a]});for(let a in n){const s=n[a];if(s.length>1){const c=e.findLast(p=>p.historyActivityId==a);c.assigneeName=Array.from(new Set(s.map(p=>p.assigneeName))).join("/")}}const r=[];return e.forEach(a=>{let{assigneeName:s,createTime:c,endTime:p,comments:m}=a;/Safari/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&(c=c.replace(/-/g,"/"),p=p.replace(/-/g,"/"));const g={id:a.historyActivityId,class:!p&&a.historyActivityType!="candidate"?"nodePrimary":""};let y="";if(s){if(y=`<span title='${s}'>${s}</span><br>`,c&&(y+=`<span title='${c}'>${uU(c,"YYYY-MM-DD HH:mm")}</span><br>`),m&&m.length>0){let k,{type:N,fullMessage:_}=m.find(S=>S.action=="AddComment")||{};N=="assigneeComment"&&(k="\u53D8\u66F4\u5BA1\u6838\u4EBA\uFF1A"+_,g.class="nodeWarn"),N=="dispatchComment"&&(k="\u8C03\u5EA6\uFF1A"+_,g.class="nodeWarn"),N=="transferComment"&&(k="\u8F6C\u529E\uFF1A"+_,g.class="nodeWarn"),N=="delegateComment"&&(k="\u59D4\u6258\uFF1A"+_,g.class="nodeWarn"),N=="rollbackComment"&&(k="\u6307\u5B9A\u56DE\u9000\uFF1A"+_,g.class="nodeError"),N=="terminateComment"&&(k="\u7EC8\u6B62\uFF1A"+_,g.class="nodeError"),N=="addMultiInstanceComment"&&(k="\u52A0\u7B7E\uFF1A"+_,g.class="nodeWarn"),N=="deleteMultiInstanceComment"&&(k="\u51CF\u7B7E\uFF1A"+_,g.class="nodeError"),N=="withdrawComment"&&(k="\u64A4\u9500\uFF1A"+_,g.class="nodeWarn"),N=="deleteProcessComment"&&(k="\u5220\u9664\u6D41\u7A0B\uFF1A"+_,g.class="nodeError"),N=="cancelProcessComment"&&(k="\u62D2\u7EDD\uFF1A"+_,g.class="nodeError"),N=="comment"&&(k="\u5BA1\u6279\uFF1A"+_,g.class="nodeSuccess"),k&&(y+=`<span title='${k}'>${k}</span>`)}g.tooltip=y}a.historyActivityType=="sequenceFlow"?g.class="lineWarn":!g.class&&a.historyActivityType!="candidate"&&(g.class="nodeSuccess");const O=r.findIndex(k=>k.id==a.historyActivityId);O!=-1?r.splice(O,1,g):r.push(g)}),r}function Tx(e){const n=[],r=[],a=[];return e.routeTxt&&e.routeTxt.length>0&&e.routeTxt.forEach(s=>{s.type==="user"?n.push(...s.ids.filter(c=>c&&c.trim()!=="")):s.type==="post"?r.push(...s.ids):s.type==="dept"&&a.push(...s.ids)}),{intersection:e.assigneeRetain=="true"?1:0,userIds:[...new Set(n)],postIds:[...new Set(r)],deptIds:[...new Set(a)]}}var fU=function(){var e=this,n=e.$createElement,r=e._self._c||n;return r("div",{ref:"container",staticClass:"bpmn-look",on:{wheel:e.handleWheel}})},pU=[];const yZ="",hU={name:"bpmn-look",props:{diagram:{type:String,default:"",required:!0},approvalData:{type:Array,default:()=>[]},isXml:{type:Boolean,default:!0}},data(){return{scale:1,viewer:null,loading:!0}},mounted(){this.initViewer(),window.addEventListener("resize",this.canvasResize)},watch:{diagram:{async handler(e){e.length;let n=e;n&&this.isXml&&this.loadXml(n)},immediate:!0}},methods:{handleWheel(e){e.preventDefault();const n=Math.sign(e.deltaY)*.1;this.scale=Math.max(.5,Math.min(this.scale-n,3)),this.viewer&&this.viewer.get("canvas").zoom(this.scale)},async getXml(e){this.isXml;let n={},r="";try{n=await api.repository.getXmlByProcessDefId({processDefId:e}),n.code==200&&(r=n.data)}catch(a){console.error(a)}return r},async initViewer(){this.viewer&&this.viewer.destroy();const e=Object.prototype.toString.call(uc)=="[object Function]"?uc:uc.default,n=Object.prototype.toString.call(Ix)=="[object Object]"?Ix:Ix.default,r=Object.prototype.toString.call(Bd)=="[object Object]"?Bd:Bd.default;Object.prototype.toString.call(Bd),this.viewer=new e({container:this.$refs.container,additionalModules:[n,r]}),this.viewer.on("import.done",({error:a})=>{a||(this.canvasResize(),this.addApprovalData())})},canvasResize(){this.viewer&&this.viewer.get("canvas").zoom(1,"auto")},setNodeColor(e){const n=this.viewer.get("canvas"),r=this.viewer.get("elementRegistry"),a=this.viewer.get("tooltips");e.forEach(s=>{if(s.id&&s.class&&n.addMarker(s.id,s.class),s.id&&s.tooltip){const c=r.get(s.id);if(c){let{x:p,y:m,type:g}=c;["bpmn:StartEvent","bpmn:EndEvent"].includes(g)?(p=p-45,m=m+65):["bpmn:UserTask"].includes(g)&&(p=p-10,m=m+90),a.add({position:{x:p,y:m},html:s.tooltip})}}})},addApprovalData(){if(this.approvalData,!this.approvalData||this.approvalData.length==0)return;const e=dU(this.approvalData);e&&e.length>0&&this.setNodeColor(e)},async loadXml(e){this.viewer||await this.initViewer();try{e.length;const{warnings:n}=await this.viewer.importXML(e);n.length&&this.$emit("warning",n)}catch(n){this.$emit("error",{message:"XML \u52A0\u8F7D\u5931\u8D25",detail:n.message}),console.error("XML \u52A0\u8F7D\u5931\u8D25:",n)}}},beforeDestroy(){window.removeEventListener("resize",this.canvasResize),this.viewer&&this.viewer.destroy()}},uO={};var mU=un(hU,fU,pU,!1,gU,"ee16a17a",null,null);function gU(e){for(let n in uO)this[n]=uO[n]}const dO=function(){return mU.exports}();var AU=function(){var e=this,n=e.$createElement,r=e._self._c||n;return r("div",{directives:[{name:"loading",rawName:"v-loading",value:e.boxLoading&&!e.isButton,expression:"boxLoading && !isButton"}],ref:"mianContent",staticClass:"mianContent",class:e.isDialog?"is-dialog":"",style:{}},[e.isButton?e._e():[r("div",{ref:"baseTabs",staticClass:"tabs"},[r("el-tabs",{staticClass:"demo-tabs",on:{"tab-click":e.handleClick},model:{value:e.activeName,callback:function(a){e.activeName=a},expression:"activeName"}},e._l(e.tabs,function(a,s){return r("el-tab-pane",{key:s,attrs:{label:a.name,name:a.slot||a.name,item:a}},[a.name=="\u57FA\u672C\u4FE1\u606F"&&!a.slot?[r("div",{style:{height:`${e.baseHeight}px`}},[e._t("default",null,{taskNode:e.getTaskNode(),processData:e.processData,currentProcess:e.currentProcess})],2)]:a.name=="\u6D41\u7A0B\u56FE"&&!a.slot?[r("div",{staticClass:"view-node-info",on:{click:e.getNodeList}},[e._v(" \u67E5\u770B\u6D41\u7A0B\u8282\u70B9\u4FE1\u606F ")]),e.trackUrl?r("iframe",{key:e.processId,staticStyle:{width:"100%",height:"100%",border:"none"},style:{height:`${e.iframeHeight}px`},attrs:{src:e.trackUrl,scrolling:"no",frameborder:"0"}}):e._e(),e.activeName=="\u6D41\u7A0B\u56FE"&&e.processData.process&&e.processData.process.xml?r("bpmnLook",{attrs:{approvalData:e.processData.flow,diagram:e.processData.process.xml}}):r("div",{staticStyle:{display:"flex","align-items":"center","justify-content":"center"}},[e._v(" \u6682\u65E0\u6D41\u7A0B\u56FE ")])]:a.name=="\u5BA1\u6279\u8BB0\u5F55"&&!a.slot?[e.activeName=="\u5BA1\u6279\u8BB0\u5F55"&&e.processData.flow?r("processFlow",{attrs:{"flow-list":e.formatFlow(e.processData.flow)}}):r("div",{staticStyle:{height:"100px",display:"flex","align-items":"center","justify-content":"center"}},[e._v(" \u6682\u65E0\u6570\u636E ")])]:[e.activeName==a.name?r("div",{style:{height:`${e.baseHeight}px`}},[a.slot?e._t(a.slot,null,{taskNode:e.getTaskNode(),processData:e.processData,currentProcess:e.currentProcess}):e._t("default",null,{taskNode:e.getTaskNode(),processData:e.processData,currentProcess:e.currentProcess})],2):e._e()]],2)}),1)],1)],e._t("myBtn"),e.isAdditional&&e.absoluteBtns.outside.length>0?r("div",{ref:"footBtnRow",staticClass:"footBtnRow foot-item",style:{width:e.mainWidth+"px"}},[e._t("btn",null,null,e.processStatus)],2):e.showBtns?!e.ProcessInsObj.end&&e.absoluteBtns.outside.length>0&&e.processStatus.appId!="com.awspaas.user.apps.root"||e.customBtns.length>0?r("div",{directives:[{name:"loading",rawName:"v-loading",value:e.footBtnLoading,expression:"footBtnLoading"}],ref:"footBtnRow",staticClass:"footBtnRow foot-item",style:{width:e.mainWidth+"px"}},[(e.processData.process.status=="todo"||e.customBtns.length>0)&&e.absoluteBtns.outside.length>0?[e.absoluteBtns.inside.length>0?r("el-dropdown",{attrs:{placement:"top-start",trigger:"click"},scopedSlots:e._u([{key:"dropdown",fn:function(){return[r("el-dropdown-menu",e._l(e.absoluteBtns.inside,function(a,s){return r("el-dropdown-item",{key:a.name+s,nativeOn:{click:function(c){return function(){a.click(),e.aftClickBtn=a}.apply(null,arguments)}}},[r("el-button",{staticClass:"btn drop-btn",attrs:{type:"text",size:"mini",icon:a.icon,loading:e.buttonLoading}},[e._v(" "+e._s(a.name)+" ")])],1)}),1)]},proxy:!0}],null,!1,1409220773)},[r("el-button",{staticStyle:{"margin-right":"10px"},attrs:{size:"small"}},[e._v(" \u66F4\u591A ")])],1):e._e(),e._l(e.absoluteBtns.outside,function(a){return r("el-button",e._b({key:a.name,attrs:{size:"small",loading:e.buttonLoading},on:{click:function(){a.click(),e.aftClickBtn=a}}},"el-button",a.btnProps,!1),[e._v(" "+e._s(a.name)+" ")])})]:e._e(),e._t("btnAppend")],2):e._e():r("div"),r("div",{staticClass:"dialog"},[r("el-dialog",{staticClass:"dialog",style:e.dynamicStyle,attrs:{visible:e.dialogVisibleOperation,"append-to-body":"",width:"600px",title:e.operationLabel,"close-on-click-modal":!1,"show-close":!e.isOperLoading,"before-close":e.cancelHandlerFn,top:"6vh"},on:{"update:visible":function(a){e.dialogVisibleOperation=a}},scopedSlots:e._u([{key:"footer",fn:function(){return[r("el-button",{directives:[{name:"loading",rawName:"v-loading"}],attrs:{type:"primary",loading:e.isOperLoading,disabled:e.isOperationHidden},on:{click:e.onClickOperation}},[e._v("\u786E \u5B9A")]),r("el-button",{directives:[{name:"loading",rawName:"v-loading"}],attrs:{loading:e.isOperLoading,disabled:e.isOperationHidden},on:{click:e.cancelHandlerFn}},[e._v("\u53D6 \u6D88")])]},proxy:!0}]),model:{value:e.dialogVisibleOperation,callback:function(a){e.dialogVisibleOperation=a},expression:"dialogVisibleOperation"}},[r("div",{ref:"obRef",staticClass:"operation-box"},[e.dialogVisibleOperation?r(e.operationCom,{ref:"operationRef",tag:"component",attrs:{param:e.operationParam,isOperLoading:e.isOperLoading},on:{success:e.operationSuccess,fail:e.operationFail},scopedSlots:e._u([{key:"form",fn:function(){return[e.aftClickBtn.slot?e._t(e.aftClickBtn.slot):e._e()]},proxy:!0},{key:"file",fn:function(){return[e.attachShow?r("el-form",{attrs:{"label-width":"120px","status-icon":"",rules:e.rules},nativeOn:{submit:function(a){a.preventDefault()}}},[r("el-form-item",{attrs:{label:"\u9644\u4EF6",prop:e.attachRule.required?"attach":""}},[r("jyr-file-upload",{ref:"fileUpload",attrs:{multiple:e.attachRule.limit>0,limit:e.attachRule.limit,fullFileObject:"",showFileName:""},model:{value:e.attach,callback:function(a){e.attach=a},expression:"attach"}})],1)],1):e._e()]},proxy:!0}],null,!0)}):e._e()],1)]),r("el-dialog",{attrs:{title:"\u9009\u62E9\u5904\u7406\u4EFB\u52A1",visible:e.showMulTask,"append-to-body":"","close-on-click-modal":!1,width:"500px","show-close":!1},on:{"update:visible":function(a){e.showMulTask=a}},model:{value:e.showMulTask,callback:function(a){e.showMulTask=a},expression:"showMulTask"}},[r("el-form",{ref:"form",staticClass:"task",attrs:{"label-width":"100px"}},[r("el-form-item",{attrs:{label:"\u8BF7\u9009\u62E9\uFF1A",prop:"content"}},[r("el-radio-group",{attrs:{size:"small"},model:{value:e.mulTaskTaskId,callback:function(a){e.mulTaskTaskId=a},expression:"mulTaskTaskId"}},e._l(e.mulTaskList,function(a){return r("el-radio",{key:a.nodeId,attrs:{label:a.taskId,border:""}},[e._v(e._s(a.nodeName))])}),1)],1)],1),r("div",{staticClass:"dialog-footer",staticStyle:{"text-align":"center"}},[r("el-button",{attrs:{type:"primary"},on:{click:e.onCheckSure}},[e._v("\u786E\u5B9A")])],1)],1),r("el-dialog",{attrs:{visible:e.nodeInfoVisible,"append-to-body":"",width:"600px",title:"\u6D41\u7A0B\u8282\u70B9\u4FE1\u606F",modal:!1,"close-on-click-modal":!1},on:{"update:visible":function(a){e.nodeInfoVisible=a}},model:{value:e.nodeInfoVisible,callback:function(a){e.nodeInfoVisible=a},expression:"nodeInfoVisible"}},[r("el-table",{staticClass:"process-table",attrs:{data:e.filterFlow(e.processData.flow),border:"","header-row-style":e.headerRowStyle}},[r("el-table-column",{attrs:{label:"\u5E8F\u53F7",type:"index",width:"60px",align:"center"}}),r("el-table-column",{attrs:{prop:"historyActivityName",label:"\u8282\u70B9\u540D\u79F0","min-width":"130"}}),r("el-table-column",{attrs:{prop:"assigneeName",label:"\u5BA1\u6279\u4EBA","min-width":"80"}})],1)],1)],1)],2)},vU=[];const xZ="",wZ="",bU={components:{processBtns:m8,processFlow:y8,bpmnLook:dO,staffTree:ba,...ZD,ViewFile:x5,JyrFileUpload:vh},props:{taskId:{default:!1,type:[String,Boolean]},processId:{default:"",type:String},userId:{require:!0,default:"",type:String},showBtns:{default:!0,type:Boolean},isView:{default:!1,type:Boolean},getVars:{type:Function},before:{type:Function},isAlis:{type:Boolean,default:!1},isAdditional:{type:Boolean,default:!1},businessData:{type:Object,default:void 0},excludeBtn:{type:String,default:""},showAsPlanned:{type:Boolean,default:!1},showCommIdea:{type:Boolean,default:!0},commentMsgRequired:{type:Boolean,default:!0},customBtn:{default:""},tabs:{default:()=>[{name:"\u57FA\u672C\u4FE1\u606F",slot:""},{name:"\u6D41\u7A0B\u56FE",slot:""},{name:"\u5BA1\u6279\u8BB0\u5F55",slot:""}]},personType:{default:""},personEntity:{type:Object,default:()=>{}},isButton:{type:Boolean,default:!1},isDialog:{type:Boolean,default:!1},fullscreen:{type:Boolean,default:!1},headerRowStyle:{type:Object||Function,default:()=>({"background-color":"rgb(245, 247, 250)",color:"#333"})},extraHeight:{type:Number,default:0}},provide(){return{isAlisInject:this.isAlis}},data(){return{incomingConditionItemList:[],deptId:"",initProcessData:{button:[],flow:[],form:{},process:{}},currentProcess:{currentProcessOriginData:[],currentMan:[],currentFirstNode:{}},processData:{button:[],flow:[],form:{},process:{}},submitLoading:!1,flowChartVisible:!1,comment:null,dynamicMaxHeight:"400px",showMulTask:!1,mulTaskList:[],mulTaskTaskId:"",attach:[],customBtns:[],overheight:10,iframeHeight:500,baseHeight:500,mainWidth:0,absoluteTaskId:"",infoView:!1,showTopTabs:!1,buttonLoading:!1,footBtnLoading:!0,tabheight:400,aftClickBtn:"",attachRule:{required:!0,limit:0},nodeInfoVisible:!1,nodeInfoList:[],jjForm:{saveMetaAnnexCmdList:[]},targetUID:"",commentMsg:"",trackUrl:"",taskObj:{},taskCommentList:[],absoluteBtns:{inside:[],outside:[]},processStatus:"",nextTaskNode:[],activeName:"\u57FA\u672C\u4FE1\u606F",ProcessInsObj:{},outGatewayUserTaskModel:[],dialogVisibleOperation:!1,operationLabel:"",operationCom:{},operationParam:{},taskNode:[],aftTaskNode:{},operation:ZD,Enum:Np,isOperLoading:!1,isOperationHidden:!1,boxLoading:!1,rules:{attach:[{required:!0,trigger:"change"}]},noReload:!1,digitalSignatureList:[]}},mounted(){console.info("%c\u26A1"+Tp.name+"%c v"+Tp.version,"background: linear-gradient(135deg, #ff3939ff, #ffbe5cff); color: white; padding: 9px 4px 9px 4px; border-radius: 3px 0 0 3px;font-size: 12px;","background: #5100ffff; color: white; padding: 9px 6px 9px 4px; border-radius: 0px 3px 3px 0px;font-size: 12px;"),window.onresize=()=>(()=>{this.$refs.mianContent&&(this.mainWidth=this.$refs.mianContent.offsetWidth)})()},watch:{activeName:function(e){e==1&&(this.activeName="\u57FA\u672C\u4FE1\u606F")},infoView:function(){this.calculateHeight()},taskId:{handler(e){!e||(this.absoluteTaskId=e)},deep:!0,immediate:!0},processId:{handler(e){if(e){if(this.customBtns=[],this.absoluteBtns={inside:[],outside:[]},this.boxLoading=!0,this.activeName=this.tabs.length>0?this.tabs[0].name:"",this.getProcessInfo(),this.getCurrentProcess(),Date.now())return;Xe.repository.queryTaskNodeList(this.processId).then(n=>{if(!this.noReload)if(this.noReload=!1,!this.absoluteTaskId&&n.data.length>1){this.mulTaskList=n.data,this.showMulTask=!0;return}else this.absoluteTaskId=n.data&&n.data.length>0?n.data[0].taskId:"",this.aftTaskNode=n.data[0];this.absoluteTaskId,n.code==bt.success&&(this.taskNode=n.data,Xe.pis.getProcessStatus(this.processId,this.absoluteTaskId).then(r=>{r.code==bt.success&&(this.processStatus=r.data,this.$emit("getStatus",r.data),this.absoluteTaskId?Xe.repository.getUserTaskModelCmd(this.absoluteTaskId).then(a=>{a.code==bt.success&&(this.taskObj=a.data,this.straightenBtns())}):this.straightenBtns())}))}),Xe.repository.getTrackUrl({processInstId:e,type:qb.\u7535\u8111\u7AEF}).then(n=>{n.code==bt.success&&(window.location.protocol=="https:"?n.data.indexOf("http://121.40.143.183:80/")>=0?this.trackUrl=n.data.replace("http://121.40.143.183:80/","https://acme-aws.ddzg.cn/"):n.data.indexOf("http://121.40.143.183/")>=0?this.trackUrl=n.data.replace("http://121.40.143.183/","https://acme-aws.ddzg.cn/"):n.data.indexOf("http://acme-aws.ddzg.cn/")>=0?this.trackUrl=n.data.replace("http://acme-aws.ddzg.cn/","https://acme-aws.ddzg.cn/"):n.data.indexOf("http://59.53.91.231:8088/")>=0?this.trackUrl=n.data.replace("http://59.53.91.231:8088/","https://acme-test.ddzg.cn:2119/"):n.data.indexOf("http://59.53.91.230:8088/")>=0?this.trackUrl=n.data.replace("http://59.53.91.230:8088/","https://kq.ddzg.cn:8093/"):this.trackUrl=n.data:this.trackUrl=n.data)}),Xe.tis.getTaskCommentList(this.processId,"").then(n=>{this.taskCommentList=n.data,this.digitalSignatureList=n.data.filter(r=>r.digitalSignature).map(r=>r.digitalSignature)}),Xe.pis.getProcessInstanceById(this.processId).then(n=>{this.ProcessInsObj=n.data,this.$nextTick(()=>{this.calculateHeight()})})}},immediate:!0,deep:!0},absoluteTaskId:{handler(e){},immediate:!0,deep:!0},dialogVisibleOperation:{handler(e){this.$emit("show-modal",e)}}},methods:{formatFlow(e){return(e||[]).map(r=>({...r,attachmentsFujian:(r.attachments||[]).filter(a=>a.type!="signature"),attachmentsQianzi:(r.attachments||[]).filter(a=>a.type=="signature")}))},cancelHandlerFn(){this.dialogVisibleOperation=!1,this.submitLoading=!1},filterFlow(e){return e.filter(n=>["userTask","candidate"].includes(n.historyActivityType))},getCurrentProcess(){Xe.repository.queryTaskNodeList(this.processId).then(e=>{if(e.code==200){const n={};if(n.currentProcessOriginData=e.data||[],n.currentProcessOriginData.length>0){let r=n.currentProcessOriginData[0],a=(r.currentName||"").split(","),s=(r.avatar||"").split(",");a=a.map((c,p)=>({realName:c,avatar:s[p]||"",phone:"",ancestorNames:[]})),n.currentMan=a,n.currentFirstNode=r,this.currentProcess=n}}else this.currentProcess={currentProcessOriginData:[],currentMan:[],currentFirstNode:{}}}).catch(e=>{console.error(e,"getCurrentProcess")})},getProcessInfo(){this.submitLoading=!0,this.boxLoading=!0,Xe.tis.getTaskModelDetail(this.taskId?{processInstId:this.processId,taskId:this.taskId}:{processInstId:this.processId}).then(async e=>{if(e.code==200){this.processData={...this.initProcessData,...e.data||{}},this.$emit("get-process-data",this.processData);const n=((this.processData.process||{}).variables||{}).deptId;this.deptId=n;const r=(this.processData.process||{}).taskId;this.taskObj.buttons=this.processData.button,this.absoluteTaskId=r,this.straightenBtns(),this.$nextTick(()=>{this.calculateHeight()}),this.processData.flow,this.flowChartVisible=!0,this.submitLoading=!1,this.boxLoading=!1}})},getUserDataByDeptId(){this.processList.map(async(e,n)=>{const r=Tx(e);let a;try{a=await this.getNodeUser({deptId:this.deptId,intersection:r.intersection?1:0,userIds:r.userIds,postIds:r.postIds,deptIds:r.deptIds})}catch(s){}if(a.code==Enum.apiCode.success){const s=this.processList[n];s.userList=a.data,this.processList[n]=s}})},handleDraft(){this.submitLoading=!0},handleExamine(e,n){e?this.handlePass(n):this.handleCancel(n),this.submitLoading=!0},async handlePass(e){this.operationParam.nodeLoading=!0,this.isOperationHidden=!0,this.before?this.before().then(()=>{this.showOperation(hy,e)}):this.showOperation(hy,e),this.deptId&&(await this.getNextNode(this.deptId),this.operationParam={...this.operationParam,nodeLoading:!1,incomingConditionItemList:this.incomingConditionItemList,nextTaskNode:this.nextTaskNode},this.isOperationHidden=!1)},handleCancel(e){this.showOperation(HD,e)},handleUserSelect({type:e,checkType:n,name:r}){e=="transfer"?this.handleTransfer(r):e=="addInstance"&&this.handleAddInstance(r)},handleTransfer(e){this.showOperation(RD,e)},handleAddInstance(e){this.showOperation(MD,e)},handlePrint(){},handleRollbackTask(e){this.showOperation(YD,e)},handleTerminateProcess(){},handleCirculate(e){this.showOperation(XD,e)},handleWithdrawTask(e){this.handleRevoke()},findTargetHtml(e,n,r="parentElement"){if(!e)return null;if(e.classList.contains(n))return e;let a=e[r];if(!a)return null;if(r=="children"){for(let s=0;s<=a.length-1;s++)if(a[s].classList.contains(n))return a[s];return}return this.findTargetHtml(a,n)},findImageIndex(e){return e?this.digitalSignatureList.findIndex(n=>n==e):-1},onCheckSure(){this.absoluteTaskId=this.mulTaskTaskId,this.mulTaskList.map(n=>{n.taskId==this.mulTaskTaskId&&(this.aftTaskNode=n)}),this.noReload=!0,this.showMulTask=!1,this.footBtnLoading=!0;let e=this.processId;Reflect.set(this.processId,""),Reflect.set(this.processId,e)},showButtonLoading(){this.buttonLoading=!0},hideButtonLoading(){this.buttonLoading=!1},calculateHeight(){let e=0;if(this.$refs.footBtnRow&&(e+=this.$refs.footBtnRow.offsetHeight),this.$refs.mianContent&&(this.mainWidth=this.$refs.mianContent.offsetWidth),this.infoView&&this.absoluteBtns.outside.length>0&&(e+=32),this.$refs.infoBoxFign){let n=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;this.tabheight=n-this.$refs.infoBoxFign.offsetTop-192}this.overheight=e+116,this.iframeHeight=this.$refs.mianContent.offsetHeight-146,this.baseHeight=this.$refs.mianContent.offsetHeight-70-e-this.extraHeight},getNodeList(){this.nodeInfoVisible=!0},fileNameLastof(e,n=0){if(e.indexOf("http")==-1&&(n=0),!e)return;let r="/";e.indexOf("\\")!=-1&&(r="\\");let a=e,s=a.lastIndexOf(r);return a.substr(s+1+n,a.length)},clickCustomButton(e){this.$emit("clickCustomButton",{name:e,processStatus:this.processStatus,setName:n=>{this.taskObj.buttons.map(r=>{r.label==e&&(r.label=n)}),this.straightenBtns()}})},async getNextNode(e){let n;try{n=await Xe.tis.simulation(this.absoluteTaskId,this.processId)}catch(a){console.error(a),n={}}let r=n.data||{};n.code==200&&!n.data.evaluation&&(this.incomingConditionItemList=[],r.branches=await this.getOutgoingProcessNode(this.absoluteTaskId,n.data.id)),r=await this.getSelectFixData(r,e),this.nextTaskNode=r},async getNodeUser({deptId:e,intersection:n,userIds:r,postIds:a,deptIds:s}){return await Xe.user.getTaskAuditor({deptId:e,intersection:n,userIds:r,postIds:a,deptIds:s})},async showOperation(e,n){this.attach=[],this.operationLabel=n,this.operationParam.processInstId=this.processId,this.operationParam.taskInstId=this.absoluteTaskId,this.operationParam.nextTaskNode=this.nextTaskNode,this.operationParam.incomingConditionItemList=this.incomingConditionItemList,this.operationParam.variables=(this.processData.process||{}).variables||{},this.operationParam.extendedProperties=(this.processData.form||{}).extendedProperties||[],this.operationParam.taskObj=this.taskObj,this.operationParam.getVars=this.getVars,this.operationParam.outGatewayUserTaskModel=this.outGatewayUserTaskModel,this.operationParam.taskNode=this.getTaskNode(),this.operationParam.businessData=this.businessData,this.operationParam.showAsPlanned=this.showAsPlanned,this.operationParam.showCommIdea=this.showCommIdea,this.operationParam.commentMsgRequired=this.commentMsgRequired,this.operationParam.personType=this.personType,this.operationParam.personEntity={...this.personEntity,...this.aftClickBtn.personEntity||{}},this.operationParam.ProcessInsObj=this.ProcessInsObj,this.operationCom=e,this.dialogVisibleOperation=!0,this.$nextTick(()=>{var m,g;let r=this.$refs.obRef;if(this.$refs,!r)return;let a=(m=r.getBoundingClientRect())==null?void 0:m.top,s=this.findTargetHtml(r,"el-dialog"),c=this.findTargetHtml(s,"el-dialog__footer","children"),p=window.innerHeight-((g=r.getBoundingClientRect())==null?void 0:g.top)-a-(c==null?void 0:c.clientHeight)-32;this.dynamicMaxHeight=`${p}px`})},onClickOperation(){if(this.attachShow&&this.attachRule.required&&this.attach.length==0)return hd.error("\u8BF7\u4E0A\u4F20\u9644\u4EF6");this.aftClickBtn.preposition?this.operationMain(this.aftClickBtn.preposition):this.operationMain()},operationMain(e=!1){let n;this.attachShow&&(n=[],this.attach.map(r=>{n.push({id:r.id,name:this.fileNameLastof(r.name),size:r.fileSize,format:r.fileType,url:r.url,uploadTime:r.createTime,processInstId:this.operationParam.processInstId,taskInstId:this.operationParam.taskInstId})}),n=n.sort((r,a)=>ld(r.uploadTime).valueOf()>ld(a.uploadTime).valueOf())),this.$refs.operationRef&&this.$refs.operationRef.confirm(e,()=>{this.isOperLoading=!0},n)},operationSuccess(e=!0){hd.success("\u64CD\u4F5C\u6210\u529F"),this.dialogVisibleOperation=!1,e&&this.$emit("Complete"),this.isOperLoading=!1},operationFail(e=""){e&&hd.warning(e),this.isOperLoading=!1},async getSelectFixData(e,n){let r=JSON.parse(JSON.stringify(e));if(r.nodeType!="userTask"&&Array.isArray(r.branches))for(let a=0;a<r.branches.length;a++){let s=r.branches[a],c=s.nodeInfoDTO?s.nodeInfoDTO:s;try{c=await this.getSelectFixData(c,n)}catch(p){}s.nodeInfoDTO?s.nodeInfoDTO=c:s=c,r.branches[a]=s}else if(r.nodeType=="userTask"&&!r.setPersonnel){let a=Tx(r),s;try{s=await this.getNodeUser({deptId:n,intersection:a.intersection?1:0,userIds:a.userIds,postIds:a.postIds,deptIds:a.deptIds}),s.code==bt.success}catch(c){}s.code==bt.success&&(r.userList=s.data)}return r},async getOutgoingProcessNode(e,n){let r=await Xe.repository.getOutgoingProcessNode(e,n);if(r.code==bt.success){if(r.data){for(let a=0;a<r.data.length;a++){let s=r.data[a];s.incomingConditionItemList&&s.incomingConditionItemList.length!==0&&(s.nodeInfoDTO.incomingConditionItemList=s.incomingConditionItemList,s.incomingConditionItemList,this.incomingConditionItemList.push(...s.incomingConditionItemList)),s.nodeInfoDTO.nodeType!="userTask"&&(s.nodeInfoDTO.branches=await this.getOutgoingProcessNode(e,s.nodeInfoDTO.id)),r.data[a].type!="endEvent"&&(r.data[a].humanPerformerName=="\u56FA\u5B9A\u8D26\u6237"||r.data[a].humanPerformerName=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173")&&await Xe.repository.getParticipantsOfPerformerNames(e,[r.data[a].id]).then(c=>{r.data[a].routeTxt.userNames=c.data[r.data[a].id]})}r.data.length==0&&r.data.push({id:"",incomingConditionItemList:[],type:"endEvent",name:"\u7ED3\u675F\u4E8B\u4EF6"})}return r.data}return[]},getColor(e){return e=="\u5BA1\u6838\u4E2D"||e=="\u5BA1\u6279\u4E2D"?"#6DC743":e=="\u5DF2\u9A73\u56DE"?"#F14B4C":e=="\u5DF2\u64A4\u9500"?"#CECECE":e=="\u5DF2\u5B8C\u6210"?"#6DC743":"#1389FF"},handleClick(e,n){this.$emit("clickTab",e.$vnode?JSON.parse(JSON.stringify(e.$vnode.data.attrs.item)):e.props,e.index)},getTaskNode(){return this.taskNode.filter?this.taskNode.filter(e=>e.nodeId==this.taskObj.id):[]},handleRevoke(){SI.confirm("\u786E\u5B9A\u64A4\u9500\u5417","\u64A4\u9500",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(()=>{Xe.tis.withdrawTask(this.processData.process.processInstanceId).then(e=>{e.code==bt.success&&(hd.success("\u64CD\u4F5C\u6210\u529F"),this.$emit("Complete"))})}).catch(()=>{})},handleReminders(){SI.confirm("\u786E\u5B9A\u50AC\u529E\u5417","\u50AC\u529E",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(()=>{this.ProcessInsObj,Xe.tis.reminders(this.processData.process.processInstanceId).then(e=>{e.code==bt.success&&(hd.success("\u64CD\u4F5C\u6210\u529F"),this.$emit("Complete"))})}).catch(e=>{})},getButton(e){return(this.processData.button||[]).find(n=>n.buttonKey==e)},operBtn(){let e=[];const n=this.processData.process;if(!n)return e;if(n.status=="todo"&&n.isMultiInstance&&this.getButton("wf_add_instance")){let a={};a.name=this.getButton("wf_add_instance").name,a.btnProps={type:"primary"},a.key="sign",a.click=()=>{this.handleUserSelect({type:"addInstance",checkType:"checkbox",name:this.getButton("wf_add_instance").name})},e.push(a)}if(n.status=="todo"&&this.getButton("wf_transfer")){let a={};a.name=this.getButton("wf_transfer").name,a.key="delegate",a.click=()=>{this.handleUserSelect({type:"transfer",checkType:"radio",name:this.getButton("wf_transfer").name})},e.push(a)}if(n.status=="todo"&&this.getButton("wf_delegate")){let a={};a.name=this.getButton("wf_delegate").name,a.btnProps={type:"warning"},a.key="cc2",a.click=()=>{this.handleUserSelect({type:"delegate",checkType:"radio",name:this.getButton("wf_delegate").name})},e.push(a)}if(n.status=="todo"&&this.getButton("wf_terminate")){let a={};a.name=this.getButton("wf_terminate").name,a.btnProps={type:"danger"},a.key="cc3",a.click=()=>{this.handleTerminateProcess()},e.push(a)}if(n.status=="todo"&&this.getButton("wf_cctask")){let a={};a.name=this.getButton("wf_cctask").name,a.btnProps={type:"primary"},a.key="cc",a.click=()=>{this.handleCirculate(this.getButton("wf_cctask").name)},e.push(a)}if(n.pass==!1&&n.isOwner){let a={};a.name="\u50AC\u529E",a.key="self",a.click=()=>{this.handleReminders()},e.push(a)}if(n.isOwner&&n.isReturnable&&!["deleted"].includes(n.processIsFinished)){let a={};a.name="\u64A4\u9500",a.btnProps={type:"danger"},a.key="self",a.click=()=>{this.handleWithdrawTask("\u64A4\u9500")},e.push(a)}if(n.status=="todo"&&this.getButton("wf_reject")){let a={};a.name=this.getButton("wf_reject").name,a.btnProps={type:"danger"},a.key="refuse",a.click=()=>{this.handleExamine(!1,this.getButton("wf_reject").name)},e.push(a)}if(n.status=="todo"&&this.getButton("wf_pass")){let a={};a.name=this.getButton("wf_pass").name,a.btnProps={type:"primary"},a.key="complete",a.click=()=>{this.before?this.before().then(()=>{this.handleExamine(!0,this.getButton("wf_pass").name)}):this.handleExamine(!0,this.getButton("wf_pass").name)},e.push(a)}if(n.status=="todo"&&this.getButton("wf_rollback")){let a={};a.name=this.getButton("wf_rollback").name,a.btnProps={type:"danger"},a.key="back",a.click=()=>{this.handleRollbackTask(this.getButton("wf_rollback").name)},e.unshift(a)}return["wf_edit"].map(a=>{if(n.status=="todo"&&this.getButton(a)){let s={};s.name=this.getButton(a).name,s.btnProps={},s.key=s.name,s.click=()=>{this.clickCustomButton(s.name)},e.unshift(s)}}),e},straightenBtns(e=!0){let n=[];this.excludeBtn?this.operBtn().map(a=>{(this.excludeBtn.indexOf(a.key)==-1||!a.key)&&n.push(a)}):n=this.operBtn(),this.customBtns.length>0&&(n=[],this.customBtns.map(a=>{(this.excludeBtn.indexOf(a.key)==-1||!a.key)&&n.push(a)}));let r={outside:[],inside:[]};n.length>4?(r.outside=n.splice(n.length-4,n.length-1),r.inside=n):r.outside=n,e&&this.customBtn?this.customBtn({btnList:this.operBtn(),processStatus:this.processStatus,processData:this.processData,nextTaskNode:this.nextTaskNode},a=>{this.customBtns=a,this.straightenBtns(!1)},()=>{this.$emit("Complete")}):(this.absoluteBtns=r,this.$nextTick(()=>{this.calculateHeight(),this.footBtnLoading=!1,this.boxLoading=!1}))}},computed:{dynamicStyle(){return{"--dynamic-ctx-height":this.dynamicMaxHeight}},attachShow(){const e=(this.processData.form||{}).extendedProperties||[];let n=!1,r,a="";switch(this.operationLabel){case"\u9000\u56DE":r=e.find(c=>c.name=="otherButtonAnnexList"),a=r?r.value:"",a&&(n=!0);break;case"\u901A\u8FC7":case"\u529E\u7406":r=e.find(c=>c.name=="completeButtonAnnex"),a=r?r.value:"",a&&(n=!0);break;case"\u5904\u7406":r=e.find(c=>c.name=="completeButtonAnnex"),a=r?r.value:"",a&&(n=!0);break;case"\u540C\u610F":r=e.find(c=>c.name=="completeButtonAnnex"),a=r?r.value:"",a&&(n=!0);break;case"\u62D2\u7EDD":r=e.find(c=>c.name=="otherButtonAnnexList"),a=r?r.value:"";break;case"\u52A0\u7B7E":r=e.find(c=>c.name=="counterSignButtonAnnex"),a=r?r.value:"",a&&(n=!0);break;case"\u8F6C\u529E":r=e.find(c=>c.name=="delegateTaskButtonAnnex"),a=r?r.value:"",a&&(n=!0);break}let s="";if(typeof a!="string"&&a!=null&&a.map(c=>{c.indexOf(this.operationLabel)!=-1&&(n=!0,s=c)}),s&&(a=s),n){const c=a.split(":");this.attachRule.required=c[1]=="true",this.attachRule.limit=c[2]==-1?999:c[2]}return n}}},fO={};var _U=un(bU,AU,vU,!1,yU,"47fc9541",null,null);function yU(e){for(let n in fO)this[n]=fO[n]}const pO=function(){return _U.exports}(),xU=async(e,n)=>{const r=n||{},a=r.dragElement||(r.targetClassName?hO(e,r.targetClassName):e.querySelector(".el-dialog"));let s;new IntersectionObserver(b=>{s=b[0].isIntersecting,s||R()}).observe(a);const p=r.dragHeader||".el-dialog__header",m=a.querySelector(p),g=r.restrictElement||document.body;let y;g?y=g.getBoundingClientRect():y={left:0,top:0,right:window.innerWidth,bottom:window.innerHeight};let O=!1,k,N,_;const S=()=>{if(m){m.style.cursor="move",m.style["user-select"]="none",m.onmousedown=w=>{O=!0;const I=a.style.transform.match(/translate\(([^,]+)px,\s*([^)]+)px\)/);k=I?parseFloat(I[1]):0,N=I?parseFloat(I[2]):0,document.addEventListener("mousemove",P),document.addEventListener("mouseup",T)};const b=a.getBoundingClientRect();_={"+x":y.right-b.right,"-x":y.left-b.left,"+y":y.bottom-b.bottom,"-y":y.top-b.top}}},M=()=>{O=!1,m.style.cursor="auto",m.style["user-select"]="auto",m.onmousedown=b=>{}};x.watch(r.dialogConfig,(b,w)=>{b.fullScreen&&(M(),R())}),S();const P=b=>{if(!O)return;b.stopPropagation(),b.preventDefault();let w=b.movementX+k,I=b.movementY+N;w>=0?w=w>=_["+x"]?_["+x"]:w:w=w<=_["-x"]?_["-x"]:w,I>=0?I=I>=_["+y"]?_["+y"]:I:I=I<=_["-y"]?_["-y"]:I,a.style.transform=`translate(${w}px, ${I}px)`,k=w,N=I},T=()=>{O=!1,document.removeEventListener("mousemove",P),document.removeEventListener("mouseup",T),a.style["user-select"]="auto"},R=()=>{a.style.transform="none"}};function hO(e,n){if(!e)return null;if(e.classList.contains(n))return e;let r=e.parentElement;return r?hO(r,n):null}const wU="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAACktJREFUeF7tnV1S3DgURqVuZh+dlQArCbyESdWQolcArKCpMFUJeYGsBLKS9D6GtKZsAiEBuq9VvrLFd/I2NbKlez6dlvxTOAb+QQACLxKIsIEABF4mgCDMDgisIYAgTA8IIAhzAAJ5BFhB8rhxlAgBBBEJmjLzCCBIHjeOEiGAICJBU2YeAQTJ48ZRIgQQRCRoyswjgCB53DhKhACCiARNmXkEECSPG0eJEEAQkaApM48AguRx4ygRAggiEjRl5hFAkDxuHCVCAEFEgqbMPAIIkseNo0QIjF6QxeLTrFQW8/n7Zam+xtxPKeY18B6VIG0wW5O9GOJ2SGkWYigmRzthU1iGSbpJ/6XTGsLrU7KGffwrHocU9/o878ZzNcybfzEuUwpfQ/yxnB++v9l4XKEGoxBkcX5xElN4W1yIlyCnsDz6cPCmUAaj6Obs48X3MfFPMXydHx6cDA1nUEFaMUI4HhrCc/2nEE7HEFAJNmf/fr4svnJYCkthObQogwjSLufTyfVofrGeDSveHB2+27XkWHub0QpyD7YR5cdqd4htb3FBFuefdmKYXI9+UsV0dfTP3/ujH2cPAzw7/3IdQtrp4VR+pxhoNSkqyJi3VE+SFRJk8fHLXozp0m9293fm0lvfYoJUJYfYRXodW95fkpWUpIgg1Wyr7u43ylx7PP5d/3WLfZw3Tf5cg0pJ4i5Ilhw/95t3UFZ398Rvf94v72+1fnKmIS4CHcvJOnWph4Tt4LbCLKTpLE5W253vorVzZLXv/czEXZBO99ebokM8nX94d5WVLgdVTaC9Fgrp2Hx3s8BW2FWQLhd/pZbMqmeQwOC7bvVSivueP6iuglhXjxRWu95LpcDcelUlmrfmzquImyDWu1bI8armda/FWCXxXEXcBLGsHmyrep1Pr/Jkph9ax1XET5Dzi7Q2MceiXuVMES2qfUazNb3c9KTfayfiIojl4tyrINF59KrLtmy1vHYjLoJYXn47Ojxw6ftVzxTh4jZv2X0e8LpM0o3FCL3nJDyney194wuVTlt2H0E2XH943nXoNRVONhoCG7ftr0oQnnuMZuLVMhDLdYjHtr33FeTursPk+zrw6Xb1hveeapma4xjnUPMKQcaRP6PYQABBmCIQWEMAQZgeEECQOwJcg+BCVwKsIF2J0V6KAIJIxU2xXQkgSFditJcigCBScVNsVwII0pUY7aUIIIhU3BTblQCCdCVGeykCCCIVN8V2JYAgXYnRXooAgkjFTbFdCSBIV2K0lyKAIFJxU2xXAgjSlRjtpQggiFTcFNuVAIJ0JUZ7KQIIIhU3xXYlgCBdidFeigCCSMVNsV0JIEhXYrSXIoAgUnFTbFcCCNKVGO2lCEgJ4vEnIqVmi2CxFkE85lXvf1mxyW7t5w/4y+6C07ufkoeYVy6CtLZPJ9dPPufr9Be4+8HPWcZOYIh55SJIA/rX53zjdvPfKaRv88ODk7GHwPjGTaD0vHITZNyYGR0EbAQQxMaJVqIEEEQ0eMq2EUAQGydaiRJAENHgKdtGAEFsnGglSgBBRIOnbBsBBLFxopUoAQQRDZ6ybQQQxMaJVqIEEEQ0eMq2EUAQGydaiRJAENHgKdtGAEFsnGglSgBBRIOnbBsBBLFxopUoAQQRDZ6ybQQQxMaJVqIEEEQ0eMq2EUAQGydaiRJAENHgKdtGAEFsnGglSgBBRIOnbBsBBLFxopUoAQQRDZ6ybQQQxMaJVqIEEEQ0eMq2EUAQGydaiRJAENHgKdtGAEFsnGglSgBBRIOnbBsBBLFxopUoAQQRDZ6ybQQQxMaJVqIEEEQ0eMq2EUAQGydaiRJAENHgKdtGAEFsnGglSgBBRIOnbBsBBLFxopUoAQQRDZ6ybQQQxMaJVqIEEEQ0eMq2EUAQGydaiRJAENHgKdtGAEFsnGglSgBBRIOnbBsBBLFxopUoAQQRDZ6ybQQQxMaJVqIEEEQ0eMq2EUAQGydaiRJAENHgKdtGAEFsnGglSgBBRIOnbBsBBLFxopUoAQQRDZ6ybQQQxMaJVqIEXAVZnF+cxBC3G7YppG/zw4MTUc6U3SOBkvPKTZCzjxffQwyz37iksEw/Vrvz+ftlj7w4lRCB0vPKRZCz8y/XIaSdZ3OL6eron7/3hTKl1J4IDDGvnAS5SC8ySWF59OHgTU/MOI0QgbPz8vOqd0EWi0+zuDX5vi63dLt6wzZLaGb3UOpQ8wpBegiPU/gTQBB/xvRQMQEEqTg8hu5PAEH8GdNDxQQQpOLwGLo/AQTxZ0wPFRNAkIrDY+j+BBDEnzE9VEwAQSoOj6H7E0AQf8b0UDEBBKk4PIbuTwBB/BnTQ8UEEKTi8Bi6PwEE8WdMDxUTQJCKw2Po/gQQxJ8xPVRMAEEqDo+h+xNAEH/G9FAxAQSpODyG7k8AQfwZ00PFBBCk4vAYuj8BBPFnTA8VE0CQisNj6P4EEMSfMT1UTEBLkLDanR++v6k4L4ZemMDi/NNODJPrdd16/EHCYf5wHIIUnl71d7f4+GUvxnRZvSBNAWv/hmrzKYQU9+cf3l3VHxsVlCJgEeTo8KD3H/zeT9gK8tynD34jGW+ODt/tloJLP/UTOPv382VIce/FSpz+KLqPIOs+f9BU6FRM/dOACl4isPFH1+mzGi6CWJbDxHUINhgJmOaT07bdRxDDJxBYRYyzg2aGLXsIHnewGvQugtxdqK/5ytTP0FMIp3y3EAPWEbj7HmE43kTJ4wLdVRDLstisIimu9nkmsil+zf9vefbRXtI6ba98BWm2WdPJ9ZMPef6ZdStJ+MpKoinBS1Vb5WiO91o9XAVpTm5aRX7e1UISBLknYN1Wea8e/oK0F+vTyxe/eMtqghWPCLSrRppcbtx13B9T4HGB20X6w6+B5Y7WM6KESbpJq8m3EH/cfVP9Nrh/W50Pi94F0bwYWMTcrTALaToLMc0sF+JPp4n/O33ugnTaahVJZU0nKSxbMf9Lp2qytG/L/hWP1z6tHjqfR/2Xeo5WRJBWEuPtulFkUGDpHkWdjwax8Un1iAZc8vFAOUGaZXtrspezlA6RTckQhqjvcZ8b33MaeoC/rRxln50VE+ThmsTw2vI48tB5obIWQUptqx7Pv+KC3F8Emp6RDGmK08tvQ5b0Ut+Wtx4GHfeAD5QHEeThTkmz5Urhrfm2XsmUhAQxP68qyb/pawQPkQcT5GHL9XBtErfNz0u8gxK7SG/vYFneevDmfn/+EYhxP5TBBXnMvL3/Pp3uxBjehpRmw6wsOtceT9gPdROlub0e4zKF9C3crq7GdIt9VII89wNV7KFVCGFMwZT6sf6zH3j/TmT0ggw1UegXAg0BBGEeQGANAQRhekAAQZgDEMgjwAqSx42jRAggiEjQlJlHAEHyuHGUCAEEEQmaMvMIIEgeN44SIYAgIkFTZh4BBMnjxlEiBBBEJGjKzCOAIHncOEqEAIKIBE2ZeQQQJI8bR4kQQBCRoCkzjwCC5HHjKBECCCISNGXmEUCQPG4cJUIAQUSCpsw8Av8DJjgSI/ED2TgAAAAASUVORK5CYII=";var EU=function(){var e=this,n=e.$createElement,r=e._self._c||n;return r("el-dialog",{staticClass:"process-dialog",attrs:{visible:e.visible,width:e.width||"60%","close-on-click-modal":!1,fullscreen:e.fullscreen,title:"\u6D41\u7A0B\u4FE1\u606F","append-to-body":"",top:"5vh"},on:{"update:visible":function(a){e.visible=a},closed:e.onClickCancel,close:e.close,open:e.open},scopedSlots:e._u([{key:"title",fn:function(){return[r("div",{staticClass:"dialog-header"},[e._t("title",function(){return[r("div",[e._v("\u6D41\u7A0B\u4FE1\u606F")])]}),r("div",{staticClass:"dialog-icon"},[r("span",{on:{click:function(a){e.fullscreen=!e.fullscreen}}},[r("img",{attrs:{src:wU,alt:""}})])])],2)]},proxy:!0}],null,!0),model:{value:e.visible,callback:function(a){e.visible=a},expression:"visible"}},[e.showProcess?r("process",e._b({ref:"process",attrs:{processId:e.paramsProcessId,isDialog:!0,fullscreen:e.fullscreen,tabs:e.tabs},on:{Complete:e.Complete,clickTab:e.handleTab,clickCustomButton:e.handleCustomButton,"get-status":e.getStatus}},"process",e.$attrs,!1),[r("div",{staticClass:"processDialogMain"},[e._t("default")],2)]):e._e()],1)},kU=[];const EZ="",CU={components:{process:pO},props:{dragable:!1,value:Boolean,width:String,processId:String,tabs:{default:()=>[{name:"\u57FA\u672C\u4FE1\u606F",slot:""},{name:"\u6D41\u7A0B\u56FE",slot:""},{name:"\u5BA1\u6279\u8BB0\u5F55",slot:""}]},parentEl:null},model:{prop:"value",event:"update:value"},data(){return{showProcess:!1,paramsProcessId:"",fullscreen:!1}},computed:{visible(){return this.value}},mounted(){this.$attrs},methods:{initDom(){this.fullscreen=!1},onClickCancel(){this.$emit("update:value",!1)},Complete(){this.$emit("Complete")},open(){this.showProcess=!0,this.paramsProcessId=this.processId;let e={targetClassName:"el-dialog"};(this.parentEl||window.$wujie.props.el())&&(e.restrictElement=this.parentEl||window.$wujie.props.el()),this.$nextTick(()=>{this.$refs,this.$refs.process,this.$refs.process&&xU(this.$refs.process.$el||this.$refs.process,e)})},close(){this.$emit("close"),this.paramsProcessId="",this.showProcess=!1,this.$refs.process&&(this.$refs.process.activeName=this.tabs[0].name)},handleTab(e,n){this.$emit("clickTab",e,n)},handleCustomButton(e){this.$emit("clickCustomButton",e)},getStatus(e){this.$emit("getStatus",e)}}},mO={};var SU=un(CU,EU,kU,!1,DU,null,null,null);function DU(e){for(let n in mO)this[n]=mO[n]}const BU=function(){return SU.exports}();var IU=function(){var e=this,n=e.$createElement,r=e._self._c||n;return r("div",[r("el-dialog",{staticClass:"flow-dialog",attrs:{visible:e.flag,width:"45%","close-on-click-modal":!1,title:e.revival?"\u6D41\u7A0B\u590D\u6D3B":"\u521B\u5EFA\u5E76\u542F\u52A8\u6D41\u7A0B","append-to-body":""},on:{"update:visible":function(a){e.flag=a},closed:e.onClickCancel},scopedSlots:e._u([{key:"footer",fn:function(){return[r("el-button",{attrs:{loading:e.btnLoading,type:"primary"},on:{click:e.onClickOperation}},[e._v("\u786E \u5B9A")]),r("el-button",{attrs:{loading:e.btnLoading},on:{click:e.onClickCancel}},[e._v("\u53D6 \u6D88")])]},proxy:!0}]),model:{value:e.flag,callback:function(a){e.flag=a},expression:"flag"}},[r("el-form",{staticClass:"create-form",attrs:{"label-width":"200px","status-icon":""},nativeOn:{submit:function(a){a.preventDefault()}}},[r("el-form-item",{attrs:{label:"\u5F53\u524D\u6D41\u7A0B",size:"medium",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6D41\u7A0B"}]}},[e.processDefList.length>1?r("el-select",{staticStyle:{width:"65%","margin-right":"10px"},attrs:{filterable:"",clearable:"",placeholder:"\u8BF7\u9009\u62E9"},on:{change:e.processDefChange},model:{value:e.processDefId,callback:function(a){e.processDefId=a},expression:"processDefId"}},e._l(e.processDefList,function(a,s){return r("el-option",{key:s,attrs:{label:a.name,value:a.id,disabled:a.disabled}})}),1):r("b",{staticClass:"process-def-name"},[e._v(" "+e._s(e.processDefName)+" ")]),e.processDefId?r("div",{staticClass:"view-node-info",staticStyle:{"margin-right":"10px"},on:{click:e.viewFlowChart}},[e._v(" \u9884\u89C8 ")]):e._e(),e._e()],1),e.hasDeptId?e._e():r("el-form-item",{attrs:{size:"medium",label:"\u9009\u62E9\u90E8\u95E8",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u90E8\u95E8"}]}},[r("el-tree-select",{staticStyle:{width:"65%","margin-right":"10px"},attrs:{data:e.deptList,props:e.defaultProps,"node-key":"id","check-strictly":"","render-after-expand":!1,placeholder:"\u8BF7\u9009\u62E9"},on:{change:e.handleDeptChange},model:{value:e.deptId,callback:function(a){e.deptId=a},expression:"deptId"}})],1),e.deptId?r("div",{staticClass:"node-list"},[e.processList&&e.processList.length>0?r("el-form-item",{attrs:{label:"\u4E0B\u4E00\u6B65\u5904\u7406\u8282\u70B9",size:"medium"}}):e._e(),e.processList.length>0?[e._l(e.processList,function(a,s){return[r("userTask",{ref:e.setItemRef(a.id),refInFor:!0,attrs:{index:s,personType:e.personType,personEntity:Object.assign({},e.personEntity,{_businessDeptId:e._businessDeptId}),processNode:Object.assign({},a,{REQUIRED:s==0}),label:"\u5904\u7406\u4EBA",rules:[{required:s==0,message:"\u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA"}]},on:{complete:e.complete}}),s!==e.processList.length-1?r("div",{staticClass:"user-task-split"}):e._e()]})]:e._e()],2):e._e()],1)],1),r("el-dialog",{staticClass:"track-view",attrs:{visible:e.flowChartVisible,width:"60%","append-to-body":"",title:"\u6D41\u7A0B\u56FE\u4FE1\u606F"},on:{"update:visible":function(a){e.flowChartVisible=a}},model:{value:e.flowChartVisible,callback:function(a){e.flowChartVisible=a},expression:"flowChartVisible"}},[e.flowChartVisible&&e.processXml?r("bpmnLook",{ref:"PreviewRef",attrs:{diagram:e.processXml}}):e._e()],1),r("el-dialog",{attrs:{visible:e.flowForecastVisible,width:"45%","append-to-body":"",title:"\u6D41\u7A0B\u9884\u6D4B"},on:{"update:visible":function(a){e.flowForecastVisible=a},close:e.flowForecastClose}},[r("div",{staticStyle:{"margin-left":"20px"}},[r("div",{staticStyle:{"margin-left":"40px","margin-bottom":"20px"},domProps:{innerHTML:e._s(e.flowForecastData.completeTime)}}),r("el-timeline",e._l(e.flowForecastData.processBudgetModelList,function(a,s){return r("el-timeline-item",{key:s,attrs:{icon:"el-icon-check",color:s==0?"#009800":a.color,timestamp:a.title,placement:"top"}},[r("div",[r("span",{staticStyle:{color:"#1389FF"}},[r("i",{staticClass:"el-icon-s-custom",staticStyle:{"margin-right":"5px"}}),e._v(" \u53D1\u8D77\u4EBA\uFF1A"+e._s(a.createUser)+" ")]),r("span",{staticStyle:{color:"#009800","margin-left":"50px"}},[r("i",{staticClass:"el-icon-s-custom",staticStyle:{"margin-right":"5px"}}),e._v(" \u6267\u884C\u4EBA\uFF1A"+e._s(a.excutor)+" ")])])])}),1)],1)])],1)},OU=[];const kZ="",CZ="";var Ds=null;Promise.resolve().then(()=>Br).then(({Message:e})=>{Ds=e});const TU={components:{userTask:py,bpmnLook:dO},props:{other:{default:!0},personType:"",personEntity:{type:Object,default:()=>{}},beforeFunction:{type:Function,default:null},showFlowForecast:{default:!1,type:Boolean},flowForecastFunction:{type:Function,default:null}},data(){return{revivalVars:{},processData:{},absoluteTaskId:"",userTaskListData:{},flag:!1,revival:!1,flowChartVisible:!1,flowForecastVisible:!1,flowForecastData:{completeTime:"",processBudgetModelList:[]},flowForecastProcessInstId:"",btnLoading:!1,processList:[],processDefId:"",processDefName:"",businessId:"",trackUrl:"",processDefList:[],otherProcessList:[],callback:{},cancelCallBack:{},_multiNodeParticipant:[],_businessDeptId:"",businessCode:"",_vars:{},_appId:"",deptList:[],defaultProps:{children:"children",label:"label",isLeaf(e,n){return e.isLeaf=="true"}},userInfo:{},deptId:"",hasDeptId:!1,subjectId:"",processXml:""}},provide(){return{getUserInfo:this.getUserInfo}},mounted(){console.info("%c\u26A1"+Tp.name+"%c v"+Tp.version,"background: linear-gradient(135deg, #ff3939ff, #ffbe5cff); color: white; padding: 9px 4px 9px 4px; border-radius: 3px 0 0 3px;font-size: 12px;","background: #5100ffff; color: white; padding: 9px 6px 9px 4px; border-radius: 0px 3px 3px 0px;font-size: 12px;")},methods:{getUserInfo(){return{deptId:this.deptId,subjectId:this.subjectId}},handleDeptChange(e){this.deptId=e,this.getUserDataByDeptId()},complete(e){},setLoading(e){this.btnLoading=e},async getXml(e){this.isXml;let n={},r="";try{n=await Xe.repository.getXmlByProcessDefId({processDefId:e}),n.code==200&&(r=n.data)}catch(a){console.error(a)}return r},async viewFlowChart(){this.flowChartVisible=!0,this.processXml=await this.getXml(this.processDefId),!Date.now()&&Xe.repository.getDiagramUrl({processDefId:this.processDefId,diagramType:1,type:qb.\u7535\u8111\u7AEF}).then(e=>{e.code==bt.success&&(window.location.protocol=="https:"?e.data.indexOf("http://121.40.143.183:80/")>=0?this.trackUrl=e.data.replace("http://121.40.143.183:80/","https://acme-aws.ddzg.cn/"):e.data.indexOf("http://121.40.143.183/")>=0?this.trackUrl=e.data.replace("http://121.40.143.183/","https://acme-aws.ddzg.cn/"):e.data.indexOf("http://acme-aws.ddzg.cn/")>=0?this.trackUrl=e.data.replace("http://acme-aws.ddzg.cn/","https://acme-aws.ddzg.cn/"):e.data.indexOf("http://59.53.91.231:8088/")>=0?this.trackUrl=e.data.replace("http://59.53.91.231:8088/","https://acme-test.ddzg.cn:2119/"):e.data.indexOf("http://59.53.91.230:8088/")>=0?this.trackUrl=e.data.replace("http://59.53.91.230:8088/","https://kq.ddzg.cn:8093/"):this.trackUrl=e.data:this.trackUrl=e.data,this.flowChartVisible=!0)})},viewFlowForecast(){this.flowForecastFunction?this.flowForecastFunction():this.forecast({appId:this._appId,title:"1"})},forecast(e){return this.btnLoading=!0,new Promise((n,r)=>{Xe.pis.getProcessForecast({processDefId:this.processDefId,...e}).then(a=>{this.btnLoading=!1,a.code==bt.success?(a.data&&a.data.processBudgetModelList&&a.data.processBudgetModelList.length?this.flowForecastProcessInstId=a.data.processBudgetModelList[0].processInstId:(a.data.processBudgetModelList=[],this.flowForecastProcessInstId=""),this.flowForecastData=a.data,this.flowForecastVisible=!0,n(a)):ElMessage.error(a.msg)}).catch(a=>{this.btnLoading=!1,ElMessage.error("\u6D41\u7A0B\u9884\u6D4B\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5"),r(a)})})},flowForecastClose(){this.flowForecastProcessInstId?Xe.pis.deleteProcessById(this.flowForecastProcessInstId).then(e=>{e.code==bt.success&&(this.flowForecastVisible=!1,this.flowForecastData={completeTime:"",processBudgetModelList:[]},this.flowForecastProcessInstId="")}):(this.flowForecastVisible=!1,this.flowForecastData={completeTime:"",processBudgetModelList:[]})},processDefChange(e){this.processDefId=e,Xe.repository.getFirstProcessNode(this.processDefId).then(async n=>{if(n.code==bt.success){if(this.processList=n.data,this.flag=!0,await this.getNodeUserDept(),!this.deptId)return;this.getUserDataByDeptId()}})},setItemRef(e){return this.userTaskListData[e]="userTask"+e,this.userTaskListData[e]},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"||e=="\u56FA\u5B9A\u7FA4\u7EC4"},createAndStart(e){return this.btnLoading=!0,new Promise((n,r)=>{if(!Object.values(this._multiNodeParticipant).some(s=>s&&Array.isArray(s)&&s.length>0))return Ds.warning("\u8BF7\u9009\u62E9 \u7B2C\u4E00\u4E2A\u8282\u70B9 \u5904\u7406\u4EBA"),this.btnLoading=!1,!1;Xe.pis.createAndStart({processDefId:this.processDefId,multiNodeParticipant:this._multiNodeParticipant,firstNodeId:this.processList&&this.processList.length>0?this.processList[0].id:"",vars:{showType:"all",subjectId:this.subjectId,deptId:this.deptId,businessType:this.businessCode+"",...e,...this._vars}}).then(s=>{this.btnLoading=!1,s.code==bt.success?(this.flag=!1,n(s)):Ds.error(s.msg)}).catch(s=>{this.btnLoading=!1,Ds.error("\u6D41\u7A0B\u542F\u52A8\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5"),r(s)})})},revivalFlow(e={},n=!1,r="\u6D41\u7A0B\u590D\u6D3B"){return this.btnLoading=!0,new Promise((a,s)=>{const c={...this.revivalVars,showType:"all",subjectId:this.subjectId,deptId:this.deptId,businessType:this.businessCode+"",...e,...this._vars};Object.keys(c).forEach(p=>{const m=p.toLowerCase();m.includes("_")&&delete c[p],m=="appShow"&&delete c[p]}),Xe.pis.reactivate({reactivate:!0,processDefId:this.processDefId,processInstId:this.processInstId,isClearHistory:this.isClearHistory,multiNodeParticipant:this._multiNodeParticipant,firstNodeId:this.processList&&this.processList.length>0?this.processList[0].id:"",vars:c},"",this.businessId,r,"",n,this._multiNodeParticipant).then(p=>{this.btnLoading=!1,p.code==bt.success?(this.flag=!1,a(p)):Ds.error(p.msg)}).catch(p=>{this.btnLoading=!1,Ds.error("\u6D41\u7A0B\u590D\u6D3B\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5"),s(p)})})},Show(e,n="",r=!1){return this.processList=[],this.revival=r,this.processDefId=e,n&&Xe.repository.getProcessDefList(n,"").then(a=>{a.code==bt.success&&a.data.map(s=>{s.id==e&&(this.processDefName=s.name)})}),new Promise((a,s)=>{this.cancelCallBack=s,Xe.repository.getFirstProcessNode(e).then(async c=>{if(c.code==bt.success){if(this.processList=c.data,this.flag=!0,await this.getNodeUserDept(),!this.deptId)return;this.getUserDataByDeptId(),this.callback=a}})})},selectShow(e={appId:"",businessCode:"",businessType:"",keyWord:"",businessDeptId:"",userInfo:{},processGroupName:""}){return this.processList=[],this.otherProcessList=[],this.processDefId="",this.processDefName="",this.revival=!1,this._appId=e.appId,this._businessDeptId=e.businessDeptId,this.businessCode=e.businessCode+""||e.businessType+"",this.userInfo=e.userInfo,this.deptId=e.userInfo.deptId,this.subjectId=e.userInfo.subjectId,this.hasDeptId=!!this.deptId,this._businessDeptId,new Promise((n,r)=>{this.cancelCallBack=r,Xe.repository.getProcessDefListNew(e).then(a=>{a.code==bt.success&&(a.data.length==1?(this.processDefList=a.data,this.processDefId=a.data[0].id,this.processDefName=a.data[0].name,Xe.repository.getFirstProcessNode(this.processDefId).then(async s=>{if(s.code==bt.success){if(this.processList=s.data,this.flag=!0,this.callback=n,await this.getNodeUserDept(),!this.deptId)return;this.getUserDataByDeptId()}})):(this.processList=[],this.otherProcessList=[],this.processDefId="",this.processDefName="",this.processDefList=a.data,e.keyWord&&this.processDefList.map(s=>{s.name.indexOf(e.keyWord)!=-1&&!this.processDefId&&(this.processDefId=s.id,this.processDefName=s.name,this.processDefChange(s.id))}),this.flag=!0,this.callback=n))})})},getUserDataByDeptId(){this.processList.map(async(e,n)=>{const r=Tx(e);let a;try{a=await this.getNodeUser({deptId:this.deptId,intersection:r.intersection?1:0,userIds:r.userIds,postIds:r.postIds,deptIds:r.deptIds})}catch(s){}if(a.code==bt.success){const s=this.processList[n];s.userList=a.data,this.processList[n]=s}})},async getNodeUser({deptId:e,intersection:n,userIds:r,postIds:a,deptIds:s}){return await Xe.user.getTaskAuditor({deptId:e,intersection:n,userIds:r,postIds:a,deptIds:s})},async getNodeUserDept(){let e={};try{e=await Xe.user.getSelectTree()}catch(n){}e.data,this.deptList=e.data||[]},listShow(e){return this.processList=[],this.otherProcessList=[],this.processDefId="",this.processDefName="",this.revival=!1,new Promise((n,r)=>{e.length==1?(this.processDefId=e[0].id,this.processDefName=e[0].name,this.cancelCallBack=r,Xe.repository.getFirstProcessNode(this.processDefId).then(a=>{a.code==bt.success&&(this.processList=a.data,this.flag=!0,this.callback=n,Xe.repository.getAfferentParticipantNodeList(this.processDefId).then(s=>{this.otherProcessList=s.data.filter(c=>c.id!=this.processList[0].id),this.otherProcessList.map(c=>{c.REQUIRED=!1})}))})):(this.processDefList=e,this.flag=!0,this.callback=n)})},async getProcessInfo({taskId:e,processInstId:n}){let r={};try{r=await Xe.tis.getTaskModelDetail(e?{processInstId:n,taskId:e}:{processInstId:n})}catch{r={}}return r.code==200,r},async revivalShow({processInstId:e,businessId:n,taskId:r,deptId:a}){this.processInstId=e,this.hasDeptId=!!a;let s=await this.getProcessInfo({taskId:r,processInstId:e});if(s.code==200){this.processData={...this.initProcessData,...s.data||{}};const c=((this.processData.process||{}).variables||{}).deptId;this.deptId=c,this._businessDeptId=c,this.hasDeptId=!!c;const p=(this.processData.process||{}).taskId;return this.absoluteTaskId=p,this.revival=!0,this.businessId=n,this.subjectId=s.data.process.variables.subjectId,this.businessCode=s.data.process.variables.businessType+"",this.revivalVars=s.data.process.variables,this.processDefId=s.data.process.processDefinitionId,this.processDefName=s.data.process.processDefinitionName,this.processDefList=[],this.Show(s.data.process.processDefinitionId,"",!0)}},onClickOperation(){if(!this.processDefId||this.processDefId=="")return Ds.warning("\u8BF7\u9009\u62E9\u6D41\u7A0B"),!1;let e={},n={};for(let r in this.userTaskListData){let a=this.userTaskListData[r],s=this.$refs[a][0],c=s?s.getValue():{multiNodeParticipant:[],vars:{}};if(!c)return!1;e={...e,...c.multiNodeParticipant},n={...n,...c.vars}}this._multiNodeParticipant=e,this._vars=n,this.callback,this.beforeFunction?this.beforeFunction():this.callback&&this.callback(this.revival?this.revivalFlow:this.createAndStart)},onClickCancel(){this.flag=!1,this.btnLoading=!1,this.cancelCallBack&&this.cancelCallBack()}}},gO={};var NU=un(TU,IU,OU,!1,MU,"083f5f94",null,null);function MU(e){for(let n in gO)this[n]=gO[n]}const FU=function(){return NU.exports}();var PU=function(){var e=this,n=e.$createElement,r=e._self._c||n;return r("div",[r("el-dialog",{attrs:{visible:e.flag,width:"35%",title:"\u91CD\u65B0\u53D1\u8D77","append-to-body":""},on:{"update:visible":function(a){e.flag=a},close:e.onClickCancel},scopedSlots:e._u([{key:"footer",fn:function(){return[r("el-button",{directives:[{name:"loading",rawName:"v-loading"}],attrs:{type:"primary"},on:{click:e.onClickOperation}},[e._v("\u786E \u5B9A")]),r("el-button",{on:{click:e.onClickCancel}},[e._v("\u53D6 \u6D88")])]},proxy:!0}])},[r("el-form",{attrs:{"label-width":"100px","status-icon":""}},[e.isUserTask?e._l(e.processList,function(a){return r("userTask",{key:a.id,ref:e.setItemRef(a.id),refInFor:!0,attrs:{processNode:a}})}):e._e()],2)],1)],1)},RU=[],AO=null;Promise.resolve().then(()=>Br).then(({Message:e})=>{AO=e});const jU={components:{userTask:py},data(){return{userTaskListData:{},flag:!1,processList:[],callbacak:{},commentMsg:"",isUserTask:!1,cancelCallBack:{}}},methods:{setItemRef(e){return this.userTaskListData[e]="userTask"+e,this.userTaskListData[e]},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"},Show(e){return new Promise((n,r)=>{this.cancelCallBack=r,Xe.repository.getFirstProcessNode(e).then(a=>{a.code==bt.success&&(this.processList=a.data,this.isOption(this.processList[0].humanPerformerName)&&!this.processList[0].isHistoryRoute?(this.flag=!0,this.callbacak=n,this.isUserTask=!0):n({commentMsg:this.commentMsg||"\u91CD\u65B0\u53D1\u8D77"}))})})},onClickOperation(){if(this.commentMsg.length>200)return AO.error("\u5BA1\u6279\u610F\u89C1\u4E0D\u80FD\u8D85\u8FC7200\u4E2A\u5B57"),!1;let e={};if(e={commentMsg:this.commentMsg||"\u91CD\u65B0\u53D1\u8D77"},this.isUserTask){let n={},r={};for(let a in this.userTaskListData){let s=this.userTaskListData[a],p=this.$refs[s][0].getValue();if(!p)return!1;n={...n,...p.multiNodeParticipant},r={...r,...p.vars},e={...e,multiNodeParticipant:n,vars:r}}}this.callbacak&&this.callbacak(e),this.flag=!1},onClickCancel(){this.flag=!1,this.cancelCallBack&&this.cancelCallBack()}}},vO={};var LU=un(jU,PU,RU,!1,QU,null,null,null);function QU(e){for(let n in vO)this[n]=vO[n]}const zU=function(){return LU.exports}();Promise.resolve().then(()=>xJ);var Nx={exports:{}},Ue={},Mx={exports:{}},bO;function _O(){return bO||(bO=1,function(e){(function(n){var r={},a=/d{1,4}|M{1,4}|yy(?:yy)?|S{1,3}|Do|ZZ|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,s="\\d\\d?",c="\\d{3}",p="\\d{4}",m="[^\\s]+",g=/\[([^]*?)\]/gm,y=function(){};function O(w){return w.replace(/[|\\{()[^$+*?.-]/g,"\\$&")}function k(w,I){for(var z=[],F=0,V=w.length;F<V;F++)z.push(w[F].substr(0,I));return z}function N(w){return function(I,z,F){var V=F[w].indexOf(z.charAt(0).toUpperCase()+z.substr(1).toLowerCase());~V&&(I.month=V)}}function _(w,I){for(w=String(w),I=I||2;w.length<I;)w="0"+w;return w}var S=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],M=["January","February","March","April","May","June","July","August","September","October","November","December"],P=k(M,3),T=k(S,3);r.i18n={dayNamesShort:T,dayNames:S,monthNamesShort:P,monthNames:M,amPm:["am","pm"],DoFn:function(I){return I+["th","st","nd","rd"][I%10>3?0:(I-I%10!==10)*I%10]}};var R={D:function(I){return I.getDay()},DD:function(I){return _(I.getDay())},Do:function(I,z){return z.DoFn(I.getDate())},d:function(I){return I.getDate()},dd:function(I){return _(I.getDate())},ddd:function(I,z){return z.dayNamesShort[I.getDay()]},dddd:function(I,z){return z.dayNames[I.getDay()]},M:function(I){return I.getMonth()+1},MM:function(I){return _(I.getMonth()+1)},MMM:function(I,z){return z.monthNamesShort[I.getMonth()]},MMMM:function(I,z){return z.monthNames[I.getMonth()]},yy:function(I){return _(String(I.getFullYear()),4).substr(2)},yyyy:function(I){return _(I.getFullYear(),4)},h:function(I){return I.getHours()%12||12},hh:function(I){return _(I.getHours()%12||12)},H:function(I){return I.getHours()},HH:function(I){return _(I.getHours())},m:function(I){return I.getMinutes()},mm:function(I){return _(I.getMinutes())},s:function(I){return I.getSeconds()},ss:function(I){return _(I.getSeconds())},S:function(I){return Math.round(I.getMilliseconds()/100)},SS:function(I){return _(Math.round(I.getMilliseconds()/10),2)},SSS:function(I){return _(I.getMilliseconds(),3)},a:function(I,z){return I.getHours()<12?z.amPm[0]:z.amPm[1]},A:function(I,z){return I.getHours()<12?z.amPm[0].toUpperCase():z.amPm[1].toUpperCase()},ZZ:function(I){var z=I.getTimezoneOffset();return(z>0?"-":"+")+_(Math.floor(Math.abs(z)/60)*100+Math.abs(z)%60,4)}},b={d:[s,function(w,I){w.day=I}],Do:[s+m,function(w,I){w.day=parseInt(I,10)}],M:[s,function(w,I){w.month=I-1}],yy:[s,function(w,I){var z=new Date,F=+(""+z.getFullYear()).substr(0,2);w.year=""+(I>68?F-1:F)+I}],h:[s,function(w,I){w.hour=I}],m:[s,function(w,I){w.minute=I}],s:[s,function(w,I){w.second=I}],yyyy:[p,function(w,I){w.year=I}],S:["\\d",function(w,I){w.millisecond=I*100}],SS:["\\d{2}",function(w,I){w.millisecond=I*10}],SSS:[c,function(w,I){w.millisecond=I}],D:[s,y],ddd:[m,y],MMM:[m,N("monthNamesShort")],MMMM:[m,N("monthNames")],a:[m,function(w,I,z){var F=I.toLowerCase();F===z.amPm[0]?w.isPm=!1:F===z.amPm[1]&&(w.isPm=!0)}],ZZ:["[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z",function(w,I){var z=(I+"").match(/([+-]|\d\d)/gi),F;z&&(F=+(z[1]*60)+parseInt(z[2],10),w.timezoneOffset=z[0]==="+"?F:-F)}]};b.dd=b.d,b.dddd=b.ddd,b.DD=b.D,b.mm=b.m,b.hh=b.H=b.HH=b.h,b.MM=b.M,b.ss=b.s,b.A=b.a,r.masks={default:"ddd MMM dd yyyy HH:mm:ss",shortDate:"M/D/yy",mediumDate:"MMM d, yyyy",longDate:"MMMM d, yyyy",fullDate:"dddd, MMMM d, yyyy",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},r.format=function(w,I,z){var F=z||r.i18n;if(typeof w=="number"&&(w=new Date(w)),Object.prototype.toString.call(w)!=="[object Date]"||isNaN(w.getTime()))throw new Error("Invalid Date in fecha.format");I=r.masks[I]||I||r.masks.default;var V=[];return I=I.replace(g,function(ee,ne){return V.push(ne),"@@@"}),I=I.replace(a,function(ee){return ee in R?R[ee](w,F):ee.slice(1,ee.length-1)}),I.replace(/@@@/g,function(){return V.shift()})},r.parse=function(w,I,z){var F=z||r.i18n;if(typeof I!="string")throw new Error("Invalid format in fecha.parse");if(I=r.masks[I]||I,w.length>1e3)return null;var V={},ee=[],ne=[];I=I.replace(g,function(_e,W){return ne.push(W),"@@@"});var se=O(I).replace(a,function(_e){if(b[_e]){var W=b[_e];return ee.push(W[1]),"("+W[0]+")"}return _e});se=se.replace(/@@@/g,function(){return ne.shift()});var me=w.match(new RegExp(se,"i"));if(!me)return null;for(var pe=1;pe<me.length;pe++)ee[pe-1](V,me[pe],F);var Se=new Date;V.isPm===!0&&V.hour!=null&&+V.hour!=12?V.hour=+V.hour+12:V.isPm===!1&&+V.hour==12&&(V.hour=0);var ye;return V.timezoneOffset!=null?(V.minute=+(V.minute||0)-+V.timezoneOffset,ye=new Date(Date.UTC(V.year||Se.getFullYear(),V.month||0,V.day||1,V.hour||0,V.minute||0,V.second||0,V.millisecond||0))):ye=new Date(V.year||Se.getFullYear(),V.month||0,V.day||1,V.hour||0,V.minute||0,V.second||0,V.millisecond||0),ye},e.exports?e.exports=r:n.fecha=r})(void 0)}(Mx)),Mx.exports}var $r={},am={},yO;function VU(){return yO||(yO=1,am.__esModule=!0,am.default={el:{colorpicker:{confirm:"\u786E\u5B9A",clear:"\u6E05\u7A7A"},datepicker:{now:"\u6B64\u523B",today:"\u4ECA\u5929",cancel:"\u53D6\u6D88",clear:"\u6E05\u7A7A",confirm:"\u786E\u5B9A",selectDate:"\u9009\u62E9\u65E5\u671F",selectTime:"\u9009\u62E9\u65F6\u95F4",startDate:"\u5F00\u59CB\u65E5\u671F",startTime:"\u5F00\u59CB\u65F6\u95F4",endDate:"\u7ED3\u675F\u65E5\u671F",endTime:"\u7ED3\u675F\u65F6\u95F4",prevYear:"\u524D\u4E00\u5E74",nextYear:"\u540E\u4E00\u5E74",prevMonth:"\u4E0A\u4E2A\u6708",nextMonth:"\u4E0B\u4E2A\u6708",year:"\u5E74",month1:"1 \u6708",month2:"2 \u6708",month3:"3 \u6708",month4:"4 \u6708",month5:"5 \u6708",month6:"6 \u6708",month7:"7 \u6708",month8:"8 \u6708",month9:"9 \u6708",month10:"10 \u6708",month11:"11 \u6708",month12:"12 \u6708",weeks:{sun:"\u65E5",mon:"\u4E00",tue:"\u4E8C",wed:"\u4E09",thu:"\u56DB",fri:"\u4E94",sat:"\u516D"},months:{jan:"\u4E00\u6708",feb:"\u4E8C\u6708",mar:"\u4E09\u6708",apr:"\u56DB\u6708",may:"\u4E94\u6708",jun:"\u516D\u6708",jul:"\u4E03\u6708",aug:"\u516B\u6708",sep:"\u4E5D\u6708",oct:"\u5341\u6708",nov:"\u5341\u4E00\u6708",dec:"\u5341\u4E8C\u6708"}},select:{loading:"\u52A0\u8F7D\u4E2D",noMatch:"\u65E0\u5339\u914D\u6570\u636E",noData:"\u65E0\u6570\u636E",placeholder:"\u8BF7\u9009\u62E9"},cascader:{noMatch:"\u65E0\u5339\u914D\u6570\u636E",loading:"\u52A0\u8F7D\u4E2D",placeholder:"\u8BF7\u9009\u62E9",noData:"\u6682\u65E0\u6570\u636E"},pagination:{goto:"\u524D\u5F80",pagesize:"\u6761/\u9875",total:"\u5171 {total} \u6761",pageClassifier:"\u9875"},messagebox:{title:"\u63D0\u793A",confirm:"\u786E\u5B9A",cancel:"\u53D6\u6D88",error:"\u8F93\u5165\u7684\u6570\u636E\u4E0D\u5408\u6CD5!"},upload:{deleteTip:"\u6309 delete \u952E\u53EF\u5220\u9664",delete:"\u5220\u9664",preview:"\u67E5\u770B\u56FE\u7247",continue:"\u7EE7\u7EED\u4E0A\u4F20"},table:{emptyText:"\u6682\u65E0\u6570\u636E",confirmFilter:"\u7B5B\u9009",resetFilter:"\u91CD\u7F6E",clearFilter:"\u5168\u90E8",sumText:"\u5408\u8BA1"},tree:{emptyText:"\u6682\u65E0\u6570\u636E"},transfer:{noMatch:"\u65E0\u5339\u914D\u6570\u636E",noData:"\u65E0\u6570\u636E",titles:["\u5217\u8868 1","\u5217\u8868 2"],filterPlaceholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",noCheckedFormat:"\u5171 {total} \u9879",hasCheckedFormat:"\u5DF2\u9009 {checked}/{total} \u9879"},image:{error:"\u52A0\u8F7D\u5931\u8D25"},pageHeader:{title:"\u8FD4\u56DE"},popconfirm:{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88"},empty:{description:"\u6682\u65E0\u6570\u636E"}}}),am}var Fx,xO;function HU(){if(xO)return Fx;xO=1;var e=function(_){return n(_)&&!r(_)};function n(N){return!!N&&typeof N=="object"}function r(N){var _=Object.prototype.toString.call(N);return _==="[object RegExp]"||_==="[object Date]"||c(N)}var a=typeof Symbol=="function"&&Symbol.for,s=a?Symbol.for("react.element"):60103;function c(N){return N.$$typeof===s}function p(N){return Array.isArray(N)?[]:{}}function m(N,_){var S=_&&_.clone===!0;return S&&e(N)?O(p(N),N,_):N}function g(N,_,S){var M=N.slice();return _.forEach(function(P,T){typeof M[T]>"u"?M[T]=m(P,S):e(P)?M[T]=O(N[T],P,S):N.indexOf(P)===-1&&M.push(m(P,S))}),M}function y(N,_,S){var M={};return e(N)&&Object.keys(N).forEach(function(P){M[P]=m(N[P],S)}),Object.keys(_).forEach(function(P){!e(_[P])||!N[P]?M[P]=m(_[P],S):M[P]=O(N[P],_[P],S)}),M}function O(N,_,S){var M=Array.isArray(_),P=Array.isArray(N),T=S||{arrayMerge:g},R=M===P;if(R)if(M){var b=T.arrayMerge||g;return b(N,_,S)}else return y(N,_,S);else return m(_,S)}O.all=function(_,S){if(!Array.isArray(_)||_.length<2)throw new Error("first argument should be an array with at least two elements");return _.reduce(function(M,P){return O(M,P,S)})};var k=O;return Fx=k,Fx}var om={},lt={},Hi={},wO;function EO(){if(wO)return Hi;wO=1,Hi.__esModule=!0,Hi.isDefined=Hi.isUndefined=Hi.isFunction=void 0;var e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g};Hi.isString=s,Hi.isObject=c,Hi.isHtmlElement=p;var n=Mi.default,r=a(n);function a(g){return g&&g.__esModule?g:{default:g}}function s(g){return Object.prototype.toString.call(g)==="[object String]"}function c(g){return Object.prototype.toString.call(g)==="[object Object]"}function p(g){return g&&g.nodeType===Node.ELEMENT_NODE}var m=function(y){var O={};return y&&O.toString.call(y)==="[object Function]"};return typeof/./!="function"&&(typeof Int8Array>"u"?"undefined":e(Int8Array))!=="object"&&(r.default.prototype.$isServer||typeof document.childNodes!="function")&&(Hi.isFunction=m=function(y){return typeof y=="function"||!1}),Hi.isFunction=m,Hi.isUndefined=function(y){return y===void 0},Hi.isDefined=function(y){return y!=null},Hi}var kO;function Dr(){if(kO)return lt;kO=1,lt.__esModule=!0,lt.isMac=lt.isEmpty=lt.isEqual=lt.arrayEquals=lt.looseEqual=lt.capitalize=lt.kebabCase=lt.autoprefixer=lt.isFirefox=lt.isEdge=lt.isIE=lt.coerceTruthyValueToArray=lt.arrayFind=lt.arrayFindIndex=lt.escapeRegexpString=lt.valueEquals=lt.generateId=lt.getValueByPath=void 0;var e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(T){return typeof T}:function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T};lt.noop=p,lt.hasOwn=m,lt.toObject=y,lt.getPropByPath=O,lt.rafThrottle=M,lt.objToArray=P;var n=Mi.default,r=s(n),a=EO();function s(T){return T&&T.__esModule?T:{default:T}}var c=Object.prototype.hasOwnProperty;function p(){}function m(T,R){return c.call(T,R)}function g(T,R){for(var b in R)T[b]=R[b];return T}function y(T){for(var R={},b=0;b<T.length;b++)T[b]&&g(R,T[b]);return R}lt.getValueByPath=function(R,b){b=b||"";for(var w=b.split("."),I=R,z=null,F=0,V=w.length;F<V;F++){var ee=w[F];if(!I)break;if(F===V-1){z=I[ee];break}I=I[ee]}return z};function O(T,R,b){var w=T;R=R.replace(/\[(\w+)\]/g,".$1"),R=R.replace(/^\./,"");for(var I=R.split("."),z=0,F=I.length;z<F-1&&!(!w&&!b);++z){var V=I[z];if(V in w)w=w[V];else{if(b)throw new Error("please transfer a valid prop path to form item!");break}}return{o:w,k:I[z],v:w?w[I[z]]:null}}lt.generateId=function(){return Math.floor(Math.random()*1e4)},lt.valueEquals=function(R,b){if(R===b)return!0;if(!(R instanceof Array)||!(b instanceof Array)||R.length!==b.length)return!1;for(var w=0;w!==R.length;++w)if(R[w]!==b[w])return!1;return!0},lt.escapeRegexpString=function(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return String(R).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")};var k=lt.arrayFindIndex=function(R,b){for(var w=0;w!==R.length;++w)if(b(R[w]))return w;return-1};lt.arrayFind=function(R,b){var w=k(R,b);return w!==-1?R[w]:void 0},lt.coerceTruthyValueToArray=function(R){return Array.isArray(R)?R:R?[R]:[]},lt.isIE=function(){return!r.default.prototype.$isServer&&!isNaN(Number(document.documentMode))},lt.isEdge=function(){return!r.default.prototype.$isServer&&navigator.userAgent.indexOf("Edge")>-1},lt.isFirefox=function(){return!r.default.prototype.$isServer&&!!window.navigator.userAgent.match(/firefox/i)},lt.autoprefixer=function(R){if((typeof R>"u"?"undefined":e(R))!=="object")return R;var b=["transform","transition","animation"],w=["ms-","webkit-"];return b.forEach(function(I){var z=R[I];I&&z&&w.forEach(function(F){R[F+I]=z})}),R},lt.kebabCase=function(R){var b=/([^-])([A-Z])/g;return R.replace(b,"$1-$2").replace(b,"$1-$2").toLowerCase()},lt.capitalize=function(R){return(0,a.isString)(R)?R.charAt(0).toUpperCase()+R.slice(1):R};var N=lt.looseEqual=function(R,b){var w=(0,a.isObject)(R),I=(0,a.isObject)(b);return w&&I?JSON.stringify(R)===JSON.stringify(b):!w&&!I?String(R)===String(b):!1},_=lt.arrayEquals=function(R,b){if(R=R||[],b=b||[],R.length!==b.length)return!1;for(var w=0;w<R.length;w++)if(!N(R[w],b[w]))return!1;return!0};lt.isEqual=function(R,b){return Array.isArray(R)&&Array.isArray(b)?_(R,b):N(R,b)};var S=lt.isEmpty=function(R){if(R==null)return!0;if(typeof R=="boolean")return!1;if(typeof R=="number")return!R;if(R instanceof Error)return R.message==="";switch(Object.prototype.toString.call(R)){case"[object String]":case"[object Array]":return!R.length;case"[object File]":case"[object Map]":case"[object Set]":return!R.size;case"[object Object]":return!Object.keys(R).length}return!1};function M(T){var R=!1;return function(){for(var b=this,w=arguments.length,I=Array(w),z=0;z<w;z++)I[z]=arguments[z];R||(R=!0,window.requestAnimationFrame(function(F){T.apply(b,I),R=!1}))}}function P(T){return Array.isArray(T)?T:S(T)?[]:[T]}return lt.isMac=function(){return!r.default.prototype.$isServer&&/macintosh|mac os x/i.test(navigator.userAgent)},lt}var CO;function UU(){if(CO)return om;CO=1,om.__esModule=!0;var e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a};om.default=function(a){function s(c){for(var p=arguments.length,m=Array(p>1?p-1:0),g=1;g<p;g++)m[g-1]=arguments[g];return m.length===1&&e(m[0])==="object"&&(m=m[0]),(!m||!m.hasOwnProperty)&&(m={}),c.replace(r,function(y,O,k,N){var _=void 0;return c[N-1]==="{"&&c[N+y.length]==="}"?k:(_=(0,n.hasOwn)(m,k)?m[k]:null,_==null?"":_)})}return s};var n=Dr(),r=/(%|)\{([0-9a-zA-Z_]+)\}/g;return om}var SO;function Px(){if(SO)return $r;SO=1,$r.__esModule=!0,$r.i18n=$r.use=$r.t=void 0;var e=VU(),n=g(e),r=Mi.default,a=g(r),s=HU(),c=g(s),p=UU(),m=g(p);function g(P){return P&&P.__esModule?P:{default:P}}var y=(0,m.default)(a.default),O=n.default,k=!1,N=function(){var T=Object.getPrototypeOf(this||a.default).$t;if(typeof T=="function"&&!!a.default.locale)return k||(k=!0,a.default.locale(a.default.config.lang,(0,c.default)(O,a.default.locale(a.default.config.lang)||{},{clone:!0}))),T.apply(this,arguments)},_=$r.t=function(T,R){var b=N.apply(this,arguments);if(b!=null)return b;for(var w=T.split("."),I=O,z=0,F=w.length;z<F;z++){var V=w[z];if(b=I[V],z===F-1)return y(b,R);if(!b)return"";I=b}return""},S=$r.use=function(T){O=T||O},M=$r.i18n=function(T){N=T||N};return $r.default={use:S,t:_,i18n:M},$r}var DO;function YU(){if(DO)return Ue;DO=1,Ue.__esModule=!0,Ue.validateRangeInOneMonth=Ue.extractTimeFormat=Ue.extractDateFormat=Ue.nextYear=Ue.prevYear=Ue.nextMonth=Ue.prevMonth=Ue.changeYearMonthAndClampDate=Ue.timeWithinRange=Ue.limitTimeRange=Ue.clearMilliseconds=Ue.clearTime=Ue.modifyWithTimeString=Ue.modifyTime=Ue.modifyDate=Ue.range=Ue.getRangeMinutes=Ue.getMonthDays=Ue.getPrevMonthLastDays=Ue.getRangeHours=Ue.getWeekNumber=Ue.getStartDateOfMonth=Ue.nextDate=Ue.prevDate=Ue.getFirstDayOfMonth=Ue.getDayCountOfYear=Ue.getDayCountOfMonth=Ue.parseDate=Ue.formatDate=Ue.isDateObject=Ue.isDate=Ue.toDate=Ue.getI18nSettings=void 0;var e=_O(),n=a(e),r=Px();function a(b){return b&&b.__esModule?b:{default:b}}var s=["sun","mon","tue","wed","thu","fri","sat"],c=["jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"],p=function(w,I){for(var z=[],F=w;F<=I;F++)z.push(F);return z},m=Ue.getI18nSettings=function(){return{dayNamesShort:s.map(function(w){return(0,r.t)("el.datepicker.weeks."+w)}),dayNames:s.map(function(w){return(0,r.t)("el.datepicker.weeks."+w)}),monthNamesShort:c.map(function(w){return(0,r.t)("el.datepicker.months."+w)}),monthNames:c.map(function(w,I){return(0,r.t)("el.datepicker.month"+(I+1))}),amPm:["am","pm"]}},g=Ue.toDate=function(w){return y(w)?new Date(w):null},y=Ue.isDate=function(w){return!(w==null||isNaN(new Date(w).getTime())||Array.isArray(w))};Ue.isDateObject=function(w){return w instanceof Date},Ue.formatDate=function(w,I){return w=g(w),w?n.default.format(w,I||"yyyy-MM-dd",m()):""};var O=Ue.parseDate=function(w,I){return n.default.parse(w,I||"yyyy-MM-dd",m())},k=Ue.getDayCountOfMonth=function(w,I){return isNaN(+I)?31:new Date(w,+I+1,0).getDate()};Ue.getDayCountOfYear=function(w){var I=w%400===0||w%100!==0&&w%4===0;return I?366:365},Ue.getFirstDayOfMonth=function(w){var I=new Date(w.getTime());return I.setDate(1),I.getDay()};var N=Ue.prevDate=function(w){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return new Date(w.getFullYear(),w.getMonth(),w.getDate()-I)};Ue.nextDate=function(w){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return new Date(w.getFullYear(),w.getMonth(),w.getDate()+I)},Ue.getStartDateOfMonth=function(w,I){var z=new Date(w,I,1),F=z.getDay();return F===0?N(z,7):N(z,F)},Ue.getWeekNumber=function(w){if(!y(w))return null;var I=new Date(w.getTime());I.setHours(0,0,0,0),I.setDate(I.getDate()+3-(I.getDay()+6)%7);var z=new Date(I.getFullYear(),0,4);return 1+Math.round(((I.getTime()-z.getTime())/864e5-3+(z.getDay()+6)%7)/7)},Ue.getRangeHours=function(w){var I=[],z=[];if((w||[]).forEach(function(ee){var ne=ee.map(function(se){return se.getHours()});z=z.concat(p(ne[0],ne[1]))}),z.length)for(var F=0;F<24;F++)I[F]=z.indexOf(F)===-1;else for(var V=0;V<24;V++)I[V]=!1;return I},Ue.getPrevMonthLastDays=function(w,I){if(I<=0)return[];var z=new Date(w.getTime());z.setDate(0);var F=z.getDate();return S(I).map(function(V,ee){return F-(I-ee-1)})},Ue.getMonthDays=function(w){var I=new Date(w.getFullYear(),w.getMonth()+1,0),z=I.getDate();return S(z).map(function(F,V){return V+1})};function _(b,w,I,z){for(var F=w;F<I;F++)b[F]=z}Ue.getRangeMinutes=function(w,I){var z=new Array(60);return w.length>0?w.forEach(function(F){var V=F[0],ee=F[1],ne=V.getHours(),se=V.getMinutes(),me=ee.getHours(),pe=ee.getMinutes();ne===I&&me!==I?_(z,se,60,!0):ne===I&&me===I?_(z,se,pe+1,!0):ne!==I&&me===I?_(z,0,pe+1,!0):ne<I&&me>I&&_(z,0,60,!0)}):_(z,0,60,!0),z};var S=Ue.range=function(w){return Array.apply(null,{length:w}).map(function(I,z){return z})},M=Ue.modifyDate=function(w,I,z,F){return new Date(I,z,F,w.getHours(),w.getMinutes(),w.getSeconds(),w.getMilliseconds())},P=Ue.modifyTime=function(w,I,z,F){return new Date(w.getFullYear(),w.getMonth(),w.getDate(),I,z,F,w.getMilliseconds())};Ue.modifyWithTimeString=function(w,I){return w==null||!I?w:(I=O(I,"HH:mm:ss"),P(w,I.getHours(),I.getMinutes(),I.getSeconds()))},Ue.clearTime=function(w){return new Date(w.getFullYear(),w.getMonth(),w.getDate())},Ue.clearMilliseconds=function(w){return new Date(w.getFullYear(),w.getMonth(),w.getDate(),w.getHours(),w.getMinutes(),w.getSeconds(),0)};var T=Ue.limitTimeRange=function(w,I){var z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"HH:mm:ss";if(I.length===0)return w;var F=function(Se){return n.default.parse(n.default.format(Se,z),z)},V=F(w),ee=I.map(function(pe){return pe.map(F)});if(ee.some(function(pe){return V>=pe[0]&&V<=pe[1]}))return w;var ne=ee[0][0],se=ee[0][0];ee.forEach(function(pe){ne=new Date(Math.min(pe[0],ne)),se=new Date(Math.max(pe[1],ne))});var me=V<ne?ne:se;return M(me,w.getFullYear(),w.getMonth(),w.getDate())};Ue.timeWithinRange=function(w,I,z){var F=T(w,I,z);return F.getTime()===w.getTime()};var R=Ue.changeYearMonthAndClampDate=function(w,I,z){var F=Math.min(w.getDate(),k(I,z));return M(w,I,z,F)};return Ue.prevMonth=function(w){var I=w.getFullYear(),z=w.getMonth();return z===0?R(w,I-1,11):R(w,I,z-1)},Ue.nextMonth=function(w){var I=w.getFullYear(),z=w.getMonth();return z===11?R(w,I+1,0):R(w,I,z+1)},Ue.prevYear=function(w){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,z=w.getFullYear(),F=w.getMonth();return R(w,z-I,F)},Ue.nextYear=function(w){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,z=w.getFullYear(),F=w.getMonth();return R(w,z+I,F)},Ue.extractDateFormat=function(w){return w.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim()},Ue.extractTimeFormat=function(w){return w.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?y{2,4}/g,"").trim()},Ue.validateRangeInOneMonth=function(w,I){return w.getMonth()===I.getMonth()&&w.getFullYear()===I.getFullYear()},Ue}var an={},BO;function Sa(){if(BO)return an;BO=1,an.__esModule=!0,an.isInContainer=an.getScrollContainer=an.isScroll=an.getStyle=an.once=an.off=an.on=void 0;var e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(R){return typeof R}:function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R};an.hasClass=N,an.addClass=_,an.removeClass=S,an.setStyle=P;var n=Mi.default,r=a(n);function a(R){return R&&R.__esModule?R:{default:R}}var s=r.default.prototype.$isServer,c=/([\:\-\_]+(.))/g,p=/^moz([A-Z])/,m=s?0:Number(document.documentMode),g=function(b){return(b||"").replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,"")},y=function(b){return b.replace(c,function(w,I,z,F){return F?z.toUpperCase():z}).replace(p,"Moz$1")},O=an.on=function(){return!s&&document.addEventListener?function(R,b,w){R&&b&&w&&R.addEventListener(b,w,!1)}:function(R,b,w){R&&b&&w&&R.attachEvent("on"+b,w)}}(),k=an.off=function(){return!s&&document.removeEventListener?function(R,b,w){R&&b&&R.removeEventListener(b,w,!1)}:function(R,b,w){R&&b&&R.detachEvent("on"+b,w)}}();an.once=function(b,w,I){var z=function F(){I&&I.apply(this,arguments),k(b,w,F)};O(b,w,z)};function N(R,b){if(!R||!b)return!1;if(b.indexOf(" ")!==-1)throw new Error("className should not contain space.");return R.classList?R.classList.contains(b):(" "+R.className+" ").indexOf(" "+b+" ")>-1}function _(R,b){if(!!R){for(var w=R.className,I=(b||"").split(" "),z=0,F=I.length;z<F;z++){var V=I[z];!V||(R.classList?R.classList.add(V):N(R,V)||(w+=" "+V))}R.classList||R.setAttribute("class",w)}}function S(R,b){if(!(!R||!b)){for(var w=b.split(" "),I=" "+R.className+" ",z=0,F=w.length;z<F;z++){var V=w[z];!V||(R.classList?R.classList.remove(V):N(R,V)&&(I=I.replace(" "+V+" "," ")))}R.classList||R.setAttribute("class",g(I))}}var M=an.getStyle=m<9?function(R,b){if(!s){if(!R||!b)return null;b=y(b),b==="float"&&(b="styleFloat");try{switch(b){case"opacity":try{return R.filters.item("alpha").opacity/100}catch{return 1}default:return R.style[b]||R.currentStyle?R.currentStyle[b]:null}}catch{return R.style[b]}}}:function(R,b){if(!s){if(!R||!b)return null;b=y(b),b==="float"&&(b="cssFloat");try{var w=document.defaultView.getComputedStyle(R,"");return R.style[b]||w?w[b]:null}catch{return R.style[b]}}};function P(R,b,w){if(!(!R||!b))if((typeof b>"u"?"undefined":e(b))==="object")for(var I in b)b.hasOwnProperty(I)&&P(R,I,b[I]);else b=y(b),b==="opacity"&&m<9?R.style.filter=isNaN(w)?"":"alpha(opacity="+w*100+")":R.style[b]=w}var T=an.isScroll=function(b,w){if(!s){var I=w!=null,z=I?w?M(b,"overflow-y"):M(b,"overflow-x"):M(b,"overflow");return z.match(/(scroll|auto|overlay)/)}};return an.getScrollContainer=function(b,w){if(!s){for(var I=b;I;){if([window,document,document.documentElement].includes(I))return window;if(T(I,w))return I;I=I.parentNode}return I}},an.isInContainer=function(b,w){if(s||!b||!w)return!1;var I=b.getBoundingClientRect(),z=void 0;return[window,document,document.documentElement,null,void 0].includes(w)?z={top:0,right:window.innerWidth,bottom:window.innerHeight,left:0}:z=w.getBoundingClientRect(),I.top<z.bottom&&I.bottom>z.top&&I.right>z.left&&I.left<z.right},an}var sm={},IO;function Bs(){if(IO)return sm;IO=1,sm.__esModule=!0;function e(n,r,a){this.$children.forEach(function(s){var c=s.$options.componentName;c===n?s.$emit.apply(s,[r].concat(a)):e.apply(s,[n,r].concat([a]))})}return sm.default={methods:{dispatch:function(r,a,s){for(var c=this.$parent||this.$root,p=c.$options.componentName;c&&(!p||p!==r);)c=c.$parent,c&&(p=c.$options.componentName);c&&c.$emit.apply(c,[a].concat(s))},broadcast:function(r,a,s){e.call(this,r,a,s)}}},sm}var lm={},OO;function Rx(){if(OO)return lm;OO=1,lm.__esModule=!0;var e=Px();return lm.default={methods:{t:function(){for(var r=arguments.length,a=Array(r),s=0;s<r;s++)a[s]=arguments[s];return e.t.apply(this,a)}}},lm}var cm={},dc={},um={},TO;function dm(){return TO||(TO=1,um.__esModule=!0,um.default=function(e){for(var n=1,r=arguments.length;n<r;n++){var a=arguments[n]||{};for(var s in a)if(a.hasOwnProperty(s)){var c=a[s];c!==void 0&&(e[s]=c)}}return e}),um}var fm={},NO;function WU(){if(NO)return fm;NO=1,fm.__esModule=!0;var e=Mi.default,n=a(e),r=Sa();function a(k){return k&&k.__esModule?k:{default:k}}var s=!1,c=!1,p=void 0,m=function(){if(!n.default.prototype.$isServer){var N=y.modalDom;return N?s=!0:(s=!1,N=document.createElement("div"),y.modalDom=N,N.addEventListener("touchmove",function(_){_.preventDefault(),_.stopPropagation()}),N.addEventListener("click",function(){y.doOnModalClick&&y.doOnModalClick()})),N}},g={},y={modalFade:!0,getInstance:function(N){return g[N]},register:function(N,_){N&&_&&(g[N]=_)},deregister:function(N){N&&(g[N]=null,delete g[N])},nextZIndex:function(){return y.zIndex++},modalStack:[],doOnModalClick:function(){var N=y.modalStack[y.modalStack.length-1];if(!!N){var _=y.getInstance(N.id);_&&_.closeOnClickModal&&_.close()}},openModal:function(N,_,S,M,P){if(!n.default.prototype.$isServer&&!(!N||_===void 0)){this.modalFade=P;for(var T=this.modalStack,R=0,b=T.length;R<b;R++){var w=T[R];if(w.id===N)return}var I=m();if((0,r.addClass)(I,"v-modal"),this.modalFade&&!s&&(0,r.addClass)(I,"v-modal-enter"),M){var z=M.trim().split(/\s+/);z.forEach(function(F){return(0,r.addClass)(I,F)})}setTimeout(function(){(0,r.removeClass)(I,"v-modal-enter")},200),S&&S.parentNode&&S.parentNode.nodeType!==11?S.parentNode.appendChild(I):document.body.appendChild(I),_&&(I.style.zIndex=_),I.tabIndex=0,I.style.display="",this.modalStack.push({id:N,zIndex:_,modalClass:M})}},closeModal:function(N){var _=this.modalStack,S=m();if(_.length>0){var M=_[_.length-1];if(M.id===N){if(M.modalClass){var P=M.modalClass.trim().split(/\s+/);P.forEach(function(R){return(0,r.removeClass)(S,R)})}_.pop(),_.length>0&&(S.style.zIndex=_[_.length-1].zIndex)}else for(var T=_.length-1;T>=0;T--)if(_[T].id===N){_.splice(T,1);break}}_.length===0&&(this.modalFade&&(0,r.addClass)(S,"v-modal-leave"),setTimeout(function(){_.length===0&&(S.parentNode&&S.parentNode.removeChild(S),S.style.display="none",y.modalDom=void 0),(0,r.removeClass)(S,"v-modal-leave")},200))}};Object.defineProperty(y,"zIndex",{configurable:!0,get:function(){return c||(p=p||(n.default.prototype.$ELEMENT||{}).zIndex||2e3,c=!0),p},set:function(N){p=N}});var O=function(){if(!n.default.prototype.$isServer&&y.modalStack.length>0){var N=y.modalStack[y.modalStack.length-1];if(!N)return;var _=y.getInstance(N.id);return _}};return n.default.prototype.$isServer||window.addEventListener("keydown",function(k){if(k.keyCode===27){var N=O();N&&N.closeOnPressEscape&&(N.handleClose?N.handleClose():N.handleAction?N.handleAction("cancel"):N.close())}}),fm.default=y,fm}var pm={},MO;function jx(){if(MO)return pm;MO=1,pm.__esModule=!0,pm.default=function(){if(n.default.prototype.$isServer)return 0;if(a!==void 0)return a;var s=document.createElement("div");s.className="el-scrollbar__wrap",s.style.visibility="hidden",s.style.width="100px",s.style.position="absolute",s.style.top="-9999px",document.body.appendChild(s);var c=s.offsetWidth;s.style.overflow="scroll";var p=document.createElement("div");p.style.width="100%",s.appendChild(p);var m=p.offsetWidth;return s.parentNode.removeChild(s),a=c-m,a};var e=Mi.default,n=r(e);function r(s){return s&&s.__esModule?s:{default:s}}var a=void 0;return pm}var FO;function PO(){if(FO)return dc;FO=1,dc.__esModule=!0,dc.PopupManager=void 0;var e=Mi.default,n=y(e),r=dm(),a=y(r),s=WU(),c=y(s),p=jx(),m=y(p),g=Sa();function y(N){return N&&N.__esModule?N:{default:N}}var O=1,k=void 0;return dc.default={props:{visible:{type:Boolean,default:!1},openDelay:{},closeDelay:{},zIndex:{},modal:{type:Boolean,default:!1},modalFade:{type:Boolean,default:!0},modalClass:{},modalAppendToBody:{type:Boolean,default:!1},lockScroll:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!1},closeOnClickModal:{type:Boolean,default:!1}},beforeMount:function(){this._popupId="popup-"+O++,c.default.register(this._popupId,this)},beforeDestroy:function(){c.default.deregister(this._popupId),c.default.closeModal(this._popupId),this.restoreBodyStyle()},data:function(){return{opened:!1,bodyPaddingRight:null,computedBodyPaddingRight:0,withoutHiddenClass:!0,rendered:!1}},watch:{visible:function(_){var S=this;if(_){if(this._opening)return;this.rendered?this.open():(this.rendered=!0,n.default.nextTick(function(){S.open()}))}else this.close()}},methods:{open:function(_){var S=this;this.rendered||(this.rendered=!0);var M=(0,a.default)({},this.$props||this,_);this._closeTimer&&(clearTimeout(this._closeTimer),this._closeTimer=null),clearTimeout(this._openTimer);var P=Number(M.openDelay);P>0?this._openTimer=setTimeout(function(){S._openTimer=null,S.doOpen(M)},P):this.doOpen(M)},doOpen:function(_){if(!this.$isServer&&!(this.willOpen&&!this.willOpen())&&!this.opened){this._opening=!0;var S=this.$el,M=_.modal,P=_.zIndex;if(P&&(c.default.zIndex=P),M&&(this._closing&&(c.default.closeModal(this._popupId),this._closing=!1),c.default.openModal(this._popupId,c.default.nextZIndex(),this.modalAppendToBody?void 0:S,_.modalClass,_.modalFade),_.lockScroll)){this.withoutHiddenClass=!(0,g.hasClass)(document.body,"el-popup-parent--hidden"),this.withoutHiddenClass&&(this.bodyPaddingRight=document.body.style.paddingRight,this.computedBodyPaddingRight=parseInt((0,g.getStyle)(document.body,"paddingRight"),10)),k=(0,m.default)();var T=document.documentElement.clientHeight<document.body.scrollHeight,R=(0,g.getStyle)(document.body,"overflowY");k>0&&(T||R==="scroll")&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.computedBodyPaddingRight+k+"px"),(0,g.addClass)(document.body,"el-popup-parent--hidden")}getComputedStyle(S).position==="static"&&(S.style.position="absolute"),S.style.zIndex=c.default.nextZIndex(),this.opened=!0,this.onOpen&&this.onOpen(),this.doAfterOpen()}},doAfterOpen:function(){this._opening=!1},close:function(){var _=this;if(!(this.willClose&&!this.willClose())){this._openTimer!==null&&(clearTimeout(this._openTimer),this._openTimer=null),clearTimeout(this._closeTimer);var S=Number(this.closeDelay);S>0?this._closeTimer=setTimeout(function(){_._closeTimer=null,_.doClose()},S):this.doClose()}},doClose:function(){this._closing=!0,this.onClose&&this.onClose(),this.lockScroll&&setTimeout(this.restoreBodyStyle,200),this.opened=!1,this.doAfterClose()},doAfterClose:function(){c.default.closeModal(this._popupId),this._closing=!1},restoreBodyStyle:function(){this.modal&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.bodyPaddingRight,(0,g.removeClass)(document.body,"el-popup-parent--hidden")),this.withoutHiddenClass=!0}}},dc.PopupManager=c.default,dc}var Lx={exports:{}},RO;function GU(){return RO||(RO=1,function(e){var n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r};(function(r,a){n(e)==="object"&&e.exports?e.exports=a():r.Popper=a()})(void 0,function(){var r=window,a={placement:"bottom",gpuAcceleration:!0,offset:0,boundariesElement:"viewport",boundariesPadding:5,preventOverflowOrder:["left","right","top","bottom"],flipBehavior:"flip",arrowElement:"[x-arrow]",arrowOffset:0,modifiers:["shift","offset","preventOverflow","keepTogether","arrow","flip","applyStyle"],modifiersIgnored:[],forceAbsolute:!1};function s(b,w,I){this._reference=b.jquery?b[0]:b,this.state={};var z=typeof w>"u"||w===null,F=w&&Object.prototype.toString.call(w)==="[object Object]";return z||F?this._popper=this.parse(F?w:{}):this._popper=w.jquery?w[0]:w,this._options=Object.assign({},a,I),this._options.modifiers=this._options.modifiers.map(function(V){if(this._options.modifiersIgnored.indexOf(V)===-1)return V==="applyStyle"&&this._popper.setAttribute("x-placement",this._options.placement),this.modifiers[V]||V}.bind(this)),this.state.position=this._getPosition(this._popper,this._reference),_(this._popper,{position:this.state.position,top:0}),this.update(),this._setupEventListeners(),this}s.prototype.destroy=function(){return this._popper.removeAttribute("x-placement"),this._popper.style.left="",this._popper.style.position="",this._popper.style.top="",this._popper.style[R("transform")]="",this._removeEventListeners(),this._options.removeOnDestroy&&this._popper.remove(),this},s.prototype.update=function(){var b={instance:this,styles:{}};b.placement=this._options.placement,b._originalPlacement=this._options.placement,b.offsets=this._getOffsets(this._popper,this._reference,b.placement),b.boundaries=this._getBoundaries(b,this._options.boundariesPadding,this._options.boundariesElement),b=this.runModifiers(b,this._options.modifiers),typeof this.state.updateCallback=="function"&&this.state.updateCallback(b)},s.prototype.onCreate=function(b){return b(this),this},s.prototype.onUpdate=function(b){return this.state.updateCallback=b,this},s.prototype.parse=function(b){var w={tagName:"div",classNames:["popper"],attributes:[],parent:r.document.body,content:"",contentType:"text",arrowTagName:"div",arrowClassNames:["popper__arrow"],arrowAttributes:["x-arrow"]};b=Object.assign({},w,b);var I=r.document,z=I.createElement(b.tagName);if(ee(z,b.classNames),ne(z,b.attributes),b.contentType==="node"?z.appendChild(b.content.jquery?b.content[0]:b.content):b.contentType==="html"?z.innerHTML=b.content:z.textContent=b.content,b.arrowTagName){var F=I.createElement(b.arrowTagName);ee(F,b.arrowClassNames),ne(F,b.arrowAttributes),z.appendChild(F)}var V=b.parent.jquery?b.parent[0]:b.parent;if(typeof V=="string"){if(V=I.querySelectorAll(b.parent),V.length>1&&console.warn("WARNING: the given `parent` query("+b.parent+") matched more than one element, the first one will be used"),V.length===0)throw"ERROR: the given `parent` doesn't exists!";V=V[0]}return V.length>1&&!(V instanceof Element)&&(console.warn("WARNING: you have passed as parent a list of elements, the first one will be used"),V=V[0]),V.appendChild(z),z;function ee(se,me){me.forEach(function(pe){se.classList.add(pe)})}function ne(se,me){me.forEach(function(pe){se.setAttribute(pe.split(":")[0],pe.split(":")[1]||"")})}},s.prototype._getPosition=function(b,w){if(O(w),this._options.forceAbsolute)return"absolute";var I=N(w);return I?"fixed":"absolute"},s.prototype._getOffsets=function(b,w,I){I=I.split("-")[0];var z={};z.position=this.state.position;var F=z.position==="fixed",V=T(w,O(b),F),ee=c(b);return["right","left"].indexOf(I)!==-1?(z.top=V.top+V.height/2-ee.height/2,I==="left"?z.left=V.left-ee.width:z.left=V.right):(z.left=V.left+V.width/2-ee.width/2,I==="top"?z.top=V.top-ee.height:z.top=V.bottom),z.width=ee.width,z.height=ee.height,{popper:z,reference:V}},s.prototype._setupEventListeners=function(){if(this.state.updateBound=this.update.bind(this),r.addEventListener("resize",this.state.updateBound),this._options.boundariesElement!=="window"){var b=k(this._reference);(b===r.document.body||b===r.document.documentElement)&&(b=r),b.addEventListener("scroll",this.state.updateBound),this.state.scrollTarget=b}},s.prototype._removeEventListeners=function(){r.removeEventListener("resize",this.state.updateBound),this._options.boundariesElement!=="window"&&this.state.scrollTarget&&(this.state.scrollTarget.removeEventListener("scroll",this.state.updateBound),this.state.scrollTarget=null),this.state.updateBound=null},s.prototype._getBoundaries=function(b,w,I){var z={},F,V;if(I==="window"){var ee=r.document.body,ne=r.document.documentElement;V=Math.max(ee.scrollHeight,ee.offsetHeight,ne.clientHeight,ne.scrollHeight,ne.offsetHeight),F=Math.max(ee.scrollWidth,ee.offsetWidth,ne.clientWidth,ne.scrollWidth,ne.offsetWidth),z={top:0,right:F,bottom:V,left:0}}else if(I==="viewport"){var se=O(this._popper),me=k(this._popper),pe=M(se),Se=function(re){return re==document.body?Math.max(document.documentElement.scrollTop,document.body.scrollTop):re.scrollTop},ye=function(re){return re==document.body?Math.max(document.documentElement.scrollLeft,document.body.scrollLeft):re.scrollLeft},_e=b.offsets.popper.position==="fixed"?0:Se(me),W=b.offsets.popper.position==="fixed"?0:ye(me);z={top:0-(pe.top-_e),right:r.document.documentElement.clientWidth-(pe.left-W),bottom:r.document.documentElement.clientHeight-(pe.top-_e),left:0-(pe.left-W)}}else O(this._popper)===I?z={top:0,left:0,right:I.clientWidth,bottom:I.clientHeight}:z=M(I);return z.left+=w,z.right-=w,z.top=z.top+w,z.bottom=z.bottom-w,z},s.prototype.runModifiers=function(b,w,I){var z=w.slice();return I!==void 0&&(z=this._options.modifiers.slice(0,g(this._options.modifiers,I))),z.forEach(function(F){S(F)&&(b=F.call(this,b))}.bind(this)),b},s.prototype.isModifierRequired=function(b,w){var I=g(this._options.modifiers,b);return!!this._options.modifiers.slice(0,I).filter(function(z){return z===w}).length},s.prototype.modifiers={},s.prototype.modifiers.applyStyle=function(b){var w={position:b.offsets.popper.position},I=Math.round(b.offsets.popper.left),z=Math.round(b.offsets.popper.top),F;return this._options.gpuAcceleration&&(F=R("transform"))?(w[F]="translate3d("+I+"px, "+z+"px, 0)",w.top=0,w.left=0):(w.left=I,w.top=z),Object.assign(w,b.styles),_(this._popper,w),this._popper.setAttribute("x-placement",b.placement),this.isModifierRequired(this.modifiers.applyStyle,this.modifiers.arrow)&&b.offsets.arrow&&_(b.arrowElement,b.offsets.arrow),b},s.prototype.modifiers.shift=function(b){var w=b.placement,I=w.split("-")[0],z=w.split("-")[1];if(z){var F=b.offsets.reference,V=m(b.offsets.popper),ee={y:{start:{top:F.top},end:{top:F.top+F.height-V.height}},x:{start:{left:F.left},end:{left:F.left+F.width-V.width}}},ne=["bottom","top"].indexOf(I)!==-1?"x":"y";b.offsets.popper=Object.assign(V,ee[ne][z])}return b},s.prototype.modifiers.preventOverflow=function(b){var w=this._options.preventOverflowOrder,I=m(b.offsets.popper),z={left:function(){var V=I.left;return I.left<b.boundaries.left&&(V=Math.max(I.left,b.boundaries.left)),{left:V}},right:function(){var V=I.left;return I.right>b.boundaries.right&&(V=Math.min(I.left,b.boundaries.right-I.width)),{left:V}},top:function(){var V=I.top;return I.top<b.boundaries.top&&(V=Math.max(I.top,b.boundaries.top)),{top:V}},bottom:function(){var V=I.top;return I.bottom>b.boundaries.bottom&&(V=Math.min(I.top,b.boundaries.bottom-I.height)),{top:V}}};return w.forEach(function(F){b.offsets.popper=Object.assign(I,z[F]())}),b},s.prototype.modifiers.keepTogether=function(b){var w=m(b.offsets.popper),I=b.offsets.reference,z=Math.floor;return w.right<z(I.left)&&(b.offsets.popper.left=z(I.left)-w.width),w.left>z(I.right)&&(b.offsets.popper.left=z(I.right)),w.bottom<z(I.top)&&(b.offsets.popper.top=z(I.top)-w.height),w.top>z(I.bottom)&&(b.offsets.popper.top=z(I.bottom)),b},s.prototype.modifiers.flip=function(b){if(!this.isModifierRequired(this.modifiers.flip,this.modifiers.preventOverflow))return console.warn("WARNING: preventOverflow modifier is required by flip modifier in order to work, be sure to include it before flip!"),b;if(b.flipped&&b.placement===b._originalPlacement)return b;var w=b.placement.split("-")[0],I=p(w),z=b.placement.split("-")[1]||"",F=[];return this._options.flipBehavior==="flip"?F=[w,I]:F=this._options.flipBehavior,F.forEach(function(V,ee){if(!(w!==V||F.length===ee+1)){w=b.placement.split("-")[0],I=p(w);var ne=m(b.offsets.popper),se=["right","bottom"].indexOf(w)!==-1;(se&&Math.floor(b.offsets.reference[w])>Math.floor(ne[I])||!se&&Math.floor(b.offsets.reference[w])<Math.floor(ne[I]))&&(b.flipped=!0,b.placement=F[ee+1],z&&(b.placement+="-"+z),b.offsets.popper=this._getOffsets(this._popper,this._reference,b.placement).popper,b=this.runModifiers(b,this._options.modifiers,this._flip))}}.bind(this)),b},s.prototype.modifiers.offset=function(b){var w=this._options.offset,I=b.offsets.popper;return b.placement.indexOf("left")!==-1?I.top-=w:b.placement.indexOf("right")!==-1?I.top+=w:b.placement.indexOf("top")!==-1?I.left-=w:b.placement.indexOf("bottom")!==-1&&(I.left+=w),b},s.prototype.modifiers.arrow=function(b){var w=this._options.arrowElement,I=this._options.arrowOffset;if(typeof w=="string"&&(w=this._popper.querySelector(w)),!w)return b;if(!this._popper.contains(w))return console.warn("WARNING: `arrowElement` must be child of its popper element!"),b;if(!this.isModifierRequired(this.modifiers.arrow,this.modifiers.keepTogether))return console.warn("WARNING: keepTogether modifier is required by arrow modifier in order to work, be sure to include it before arrow!"),b;var z={},F=b.placement.split("-")[0],V=m(b.offsets.popper),ee=b.offsets.reference,ne=["left","right"].indexOf(F)!==-1,se=ne?"height":"width",me=ne?"top":"left",pe=ne?"left":"top",Se=ne?"bottom":"right",ye=c(w)[se];ee[Se]-ye<V[me]&&(b.offsets.popper[me]-=V[me]-(ee[Se]-ye)),ee[me]+ye>V[Se]&&(b.offsets.popper[me]+=ee[me]+ye-V[Se]);var _e=ee[me]+(I||ee[se]/2-ye/2),W=_e-V[me];return W=Math.max(Math.min(V[se]-ye-8,W),8),z[me]=W,z[pe]="",b.offsets.arrow=z,b.arrowElement=w,b};function c(b){var w=b.style.display,I=b.style.visibility;b.style.display="block",b.style.visibility="hidden",b.offsetWidth;var z=r.getComputedStyle(b),F=parseFloat(z.marginTop)+parseFloat(z.marginBottom),V=parseFloat(z.marginLeft)+parseFloat(z.marginRight),ee={width:b.offsetWidth+V,height:b.offsetHeight+F};return b.style.display=w,b.style.visibility=I,ee}function p(b){var w={left:"right",right:"left",bottom:"top",top:"bottom"};return b.replace(/left|right|bottom|top/g,function(I){return w[I]})}function m(b){var w=Object.assign({},b);return w.right=w.left+w.width,w.bottom=w.top+w.height,w}function g(b,w){var I=0,z;for(z in b){if(b[z]===w)return I;I++}return null}function y(b,w){var I=r.getComputedStyle(b,null);return I[w]}function O(b){var w=b.offsetParent;return w===r.document.body||!w?r.document.documentElement:w}function k(b){var w=b.parentNode;return w?w===r.document?r.document.body.scrollTop||r.document.body.scrollLeft?r.document.body:r.document.documentElement:["scroll","auto"].indexOf(y(w,"overflow"))!==-1||["scroll","auto"].indexOf(y(w,"overflow-x"))!==-1||["scroll","auto"].indexOf(y(w,"overflow-y"))!==-1?w:k(b.parentNode):b}function N(b){return b===r.document.body?!1:y(b,"position")==="fixed"?!0:b.parentNode?N(b.parentNode):b}function _(b,w){function I(z){return z!==""&&!isNaN(parseFloat(z))&&isFinite(z)}Object.keys(w).forEach(function(z){var F="";["width","height","top","right","bottom","left"].indexOf(z)!==-1&&I(w[z])&&(F="px"),b.style[z]=w[z]+F})}function S(b){var w={};return b&&w.toString.call(b)==="[object Function]"}function M(b){var w={width:b.offsetWidth,height:b.offsetHeight,left:b.offsetLeft,top:b.offsetTop};return w.right=w.left+w.width,w.bottom=w.top+w.height,w}function P(b){var w=b.getBoundingClientRect(),I=navigator.userAgent.indexOf("MSIE")!=-1,z=I&&b.tagName==="HTML"?-b.scrollTop:w.top;return{left:w.left,top:z,right:w.right,bottom:w.bottom,width:w.right-w.left,height:w.bottom-z}}function T(b,w,I){var z=P(b),F=P(w);if(I){var V=k(w);F.top+=V.scrollTop,F.bottom+=V.scrollTop,F.left+=V.scrollLeft,F.right+=V.scrollLeft}var ee={top:z.top-F.top,left:z.left-F.left,bottom:z.top-F.top+z.height,right:z.left-F.left+z.width,width:z.width,height:z.height};return ee}function R(b){for(var w=["","ms","webkit","moz","o"],I=0;I<w.length;I++){var z=w[I]?w[I]+b.charAt(0).toUpperCase()+b.slice(1):b;if(typeof r.document.body.style[z]<"u")return z}return null}return Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:function(w){if(w==null)throw new TypeError("Cannot convert first argument to object");for(var I=Object(w),z=1;z<arguments.length;z++){var F=arguments[z];if(F!=null){F=Object(F);for(var V=Object.keys(F),ee=0,ne=V.length;ee<ne;ee++){var se=V[ee],me=Object.getOwnPropertyDescriptor(F,se);me!==void 0&&me.enumerable&&(I[se]=F[se])}}}return I}}),s})}(Lx)),Lx.exports}var jO;function hm(){if(jO)return cm;jO=1,cm.__esModule=!0;var e=Mi.default,n=a(e),r=PO();function a(p){return p&&p.__esModule?p:{default:p}}var s=n.default.prototype.$isServer?function(){}:GU(),c=function(m){return m.stopPropagation()};return cm.default={props:{transformOrigin:{type:[Boolean,String],default:!0},placement:{type:String,default:"bottom"},boundariesPadding:{type:Number,default:5},reference:{},popper:{},offset:{default:0},value:Boolean,visibleArrow:Boolean,arrowOffset:{type:Number,default:35},appendToBody:{type:Boolean,default:!0},popperOptions:{type:Object,default:function(){return{gpuAcceleration:!1}}}},data:function(){return{showPopper:!1,currentPlacement:""}},watch:{value:{immediate:!0,handler:function(m){this.showPopper=m,this.$emit("input",m)}},showPopper:function(m){this.disabled||(m?this.updatePopper():this.destroyPopper(),this.$emit("input",m))}},methods:{createPopper:function(){var m=this;if(!this.$isServer&&(this.currentPlacement=this.currentPlacement||this.placement,!!/^(top|bottom|left|right)(-start|-end)?$/g.test(this.currentPlacement))){var g=this.popperOptions,y=this.popperElm=this.popperElm||this.popper||this.$refs.popper,O=this.referenceElm=this.referenceElm||this.reference||this.$refs.reference;!O&&this.$slots.reference&&this.$slots.reference[0]&&(O=this.referenceElm=this.$slots.reference[0].elm),!(!y||!O)&&(this.visibleArrow&&this.appendArrow(y),this.appendToBody&&document.body.appendChild(this.popperElm),this.popperJS&&this.popperJS.destroy&&this.popperJS.destroy(),g.placement=this.currentPlacement,g.offset=this.offset,g.arrowOffset=this.arrowOffset,this.popperJS=new s(O,y,g),this.popperJS.onCreate(function(k){m.$emit("created",m),m.resetTransformOrigin(),m.$nextTick(m.updatePopper)}),typeof g.onUpdate=="function"&&this.popperJS.onUpdate(g.onUpdate),this.popperJS._popper.style.zIndex=r.PopupManager.nextZIndex(),this.popperElm.addEventListener("click",c))}},updatePopper:function(){var m=this.popperJS;m?(m.update(),m._popper&&(m._popper.style.zIndex=r.PopupManager.nextZIndex())):this.createPopper()},doDestroy:function(m){!this.popperJS||this.showPopper&&!m||(this.popperJS.destroy(),this.popperJS=null)},destroyPopper:function(){this.popperJS&&this.resetTransformOrigin()},resetTransformOrigin:function(){if(!!this.transformOrigin){var m={top:"bottom",bottom:"top",left:"right",right:"left"},g=this.popperJS._popper.getAttribute("x-placement").split("-")[0],y=m[g];this.popperJS._popper.style.transformOrigin=typeof this.transformOrigin=="string"?this.transformOrigin:["top","bottom"].indexOf(g)>-1?"center "+y:y+" center"}},appendArrow:function(m){var g=void 0;if(!this.appended){this.appended=!0;for(var y in m.attributes)if(/^_v-/.test(m.attributes[y].name)){g=m.attributes[y].name;break}var O=document.createElement("div");g&&O.setAttribute(g,""),O.setAttribute("x-arrow",""),O.className="popper__arrow",m.appendChild(O)}}},beforeDestroy:function(){this.doDestroy(!0),this.popperElm&&this.popperElm.parentNode===document.body&&(this.popperElm.removeEventListener("click",c),document.body.removeChild(this.popperElm))},deactivated:function(){this.$options.beforeDestroy[0].call(this)}},cm}var Qx={exports:{}},mm={},LO;function QO(){if(LO)return mm;LO=1,mm.__esModule=!0;var e=Dr();return mm.default={mounted:function(){if(process.env.NODE_ENV!=="production"&&!!this.$vnode){var r=this.getMigratingConfig(),a=r.props,s=a===void 0?{}:a,c=r.events,p=c===void 0?{}:c,m=this.$vnode,g=m.data,y=m.componentOptions,O=g.attrs||{},k=y.listeners||{};for(var N in O)N=(0,e.kebabCase)(N),s[N]&&console.warn("[Element Migrating]["+this.$options.name+"][Attribute]: "+s[N]);for(var _ in k)_=(0,e.kebabCase)(_),p[_]&&console.warn("[Element Migrating]["+this.$options.name+"][Event]: "+p[_])}},methods:{getMigratingConfig:function(){return{props:{},events:{}}}}},mm}var Id={},zO;function gm(){if(zO)return Id;zO=1,Id.__esModule=!0,Id.isDef=e,Id.isKorean=n;function e(r){return r!=null}function n(r){var a=/([(\uAC00-\uD7AF)|(\u3130-\u318F)])+/gi;return a.test(r)}return Id}var VO;function zx(){return VO||(VO=1,function(e){e.exports=function(n){var r={};function a(s){if(r[s])return r[s].exports;var c=r[s]={i:s,l:!1,exports:{}};return n[s].call(c.exports,c,c.exports,a),c.l=!0,c.exports}return a.m=n,a.c=r,a.d=function(s,c,p){a.o(s,c)||Object.defineProperty(s,c,{enumerable:!0,get:p})},a.r=function(s){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})},a.t=function(s,c){if(c&1&&(s=a(s)),c&8||c&4&&typeof s=="object"&&s&&s.__esModule)return s;var p=Object.create(null);if(a.r(p),Object.defineProperty(p,"default",{enumerable:!0,value:s}),c&2&&typeof s!="string")for(var m in s)a.d(p,m,function(g){return s[g]}.bind(null,m));return p},a.n=function(s){var c=s&&s.__esModule?function(){return s.default}:function(){return s};return a.d(c,"a",c),c},a.o=function(s,c){return Object.prototype.hasOwnProperty.call(s,c)},a.p="/dist/",a(a.s=75)}({0:function(n,r,a){a.d(r,"a",function(){return s});function s(c,p,m,g,y,O,k,N){var _=typeof c=="function"?c.options:c;p&&(_.render=p,_.staticRenderFns=m,_._compiled=!0),g&&(_.functional=!0),O&&(_._scopeId="data-v-"+O);var S;if(k?(S=function(T){T=T||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!T&&typeof __VUE_SSR_CONTEXT__<"u"&&(T=__VUE_SSR_CONTEXT__),y&&y.call(this,T),T&&T._registeredComponents&&T._registeredComponents.add(k)},_._ssrRegister=S):y&&(S=N?function(){y.call(this,this.$root.$options.shadowRoot)}:y),S)if(_.functional){_._injectStyles=S;var M=_.render;_.render=function(R,b){return S.call(b),M(R,b)}}else{var P=_.beforeCreate;_.beforeCreate=P?[].concat(P,S):[S]}return{exports:c,options:_}}},11:function(n,r){n.exports=QO()},21:function(n,r){n.exports=gm()},4:function(n,r){n.exports=Bs()},75:function(n,r,a){a.r(r);var s=function(){var F=this,V=F.$createElement,ee=F._self._c||V;return ee("div",{class:[F.type==="textarea"?"el-textarea":"el-input",F.inputSize?"el-input--"+F.inputSize:"",{"is-disabled":F.inputDisabled,"is-exceed":F.inputExceed,"el-input-group":F.$slots.prepend||F.$slots.append,"el-input-group--append":F.$slots.append,"el-input-group--prepend":F.$slots.prepend,"el-input--prefix":F.$slots.prefix||F.prefixIcon,"el-input--suffix":F.$slots.suffix||F.suffixIcon||F.clearable||F.showPassword}],on:{mouseenter:function(ne){F.hovering=!0},mouseleave:function(ne){F.hovering=!1}}},[F.type!=="textarea"?[F.$slots.prepend?ee("div",{staticClass:"el-input-group__prepend"},[F._t("prepend")],2):F._e(),F.type!=="textarea"?ee("input",F._b({ref:"input",staticClass:"el-input__inner",attrs:{tabindex:F.tabindex,type:F.showPassword?F.passwordVisible?"text":"password":F.type,disabled:F.inputDisabled,readonly:F.readonly,autocomplete:F.autoComplete||F.autocomplete,"aria-label":F.label},on:{compositionstart:F.handleCompositionStart,compositionupdate:F.handleCompositionUpdate,compositionend:F.handleCompositionEnd,input:F.handleInput,focus:F.handleFocus,blur:F.handleBlur,change:F.handleChange}},"input",F.$attrs,!1)):F._e(),F.$slots.prefix||F.prefixIcon?ee("span",{staticClass:"el-input__prefix"},[F._t("prefix"),F.prefixIcon?ee("i",{staticClass:"el-input__icon",class:F.prefixIcon}):F._e()],2):F._e(),F.getSuffixVisible()?ee("span",{staticClass:"el-input__suffix"},[ee("span",{staticClass:"el-input__suffix-inner"},[!F.showClear||!F.showPwdVisible||!F.isWordLimitVisible?[F._t("suffix"),F.suffixIcon?ee("i",{staticClass:"el-input__icon",class:F.suffixIcon}):F._e()]:F._e(),F.showClear?ee("i",{staticClass:"el-input__icon el-icon-circle-close el-input__clear",on:{mousedown:function(ne){ne.preventDefault()},click:F.clear}}):F._e(),F.showPwdVisible?ee("i",{staticClass:"el-input__icon el-icon-view el-input__clear",on:{click:F.handlePasswordVisible}}):F._e(),F.isWordLimitVisible?ee("span",{staticClass:"el-input__count"},[ee("span",{staticClass:"el-input__count-inner"},[F._v(`
42
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="`+g.width+'" height="'+g.height+'" viewBox="'+g.x+" "+g.y+" "+g.width+" "+g.height+'" version="1.1">'+m+p+"</svg>"}catch(a){r=a}if(this._emit("saveSVG.done",{error:r,svg:n}),r)throw r;return{svg:n}},qt.prototype._setDefinitions=function(e){this._definitions=e},qt.prototype.getModules=function(){return this._modules},qt.prototype.clear=function(){!this.getDefinitions()||lo.prototype.clear.call(this)},qt.prototype.destroy=function(){lo.prototype.destroy.call(this),nc(this._container)},qt.prototype.on=function(e,n,r,a){return this.get("eventBus").on(e,n,r,a)},qt.prototype.off=function(e,n){this.get("eventBus").off(e,n)},qt.prototype.attachTo=function(e){if(!e)throw new Error("parentNode required");this.detach(),e.get&&e.constructor.prototype.jquery&&(e=e.get(0)),typeof e=="string"&&(e=xa(e)),e.appendChild(this._container),this._emit("attach",{}),this.get("canvas").resized()},qt.prototype.getDefinitions=function(){return this._definitions},qt.prototype.detach=function(){const e=this._container,n=e.parentNode;!n||(this._emit("detach",{}),n.removeChild(e))},qt.prototype._init=function(e,n,r){const a=r.modules||this.getModules(r),s=r.additionalModules||[],c=[{bpmnjs:["value",this],moddle:["value",n]}],p=[].concat(c,a,s),m=Je(I8(r,["additionalModules"]),{canvas:Je({},r.canvas,{container:e}),modules:p});lo.call(this,m),r&&r.container&&this.attachTo(r.container)},qt.prototype._emit=function(e,n){return this.get("eventBus").fire(e,n)},qt.prototype._createContainer=function(e){const n=Li('<div class="bjs-container"></div>');return Tn(n,{width:aO(e.width),height:aO(e.height),position:e.position}),n},qt.prototype._createModdle=function(e){const n=Je({},this._moddleExtensions,e.moddleExtensions);return new FH(n)},qt.prototype._modules=[];function rm(e,n){return e.warnings=n,e}function XH(e){const r=/unparsable content <([^>]+)> detected([\s\S]*)$/.exec(e.message);return r&&(e.message="unparsable content <"+r[1]+"> detected; this may indicate an invalid BPMN 2.0 diagram file"+r[2]),e}const ZH={width:"100%",height:"100%",position:"relative"};function aO(e){return e+(no(e)?"px":"")}function $H(e,n){return n&&Sr(e.diagrams,function(r){return r.id===n})||null}function qH(e){const r='<a href="http://bpmn.io" target="_blank" class="bjs-powered-by" title="Powered by bpmn.io" >'+nO+"</a>",a=Li(r);Tn(xa("svg",a),iO),Tn(a,rO,{position:"absolute",bottom:"15px",right:"15px",zIndex:"100"}),e.appendChild(a),xs.bind(a,"click",function(s){KH(),s.preventDefault()})}function uc(e){qt.call(this,e)}Gr(uc,qt),uc.prototype._modules=[f7,O7,s2,R7,t2],uc.prototype._moddleExtensions={};var eU=/^djs-cursor-.*$/;function oO(e){var n=ys(document.body);n.removeMatching(eU),e&&n.add("djs-cursor-"+e)}function tU(){oO(null)}var nU=5e3;function iU(e,n){n=n||"element.click";function r(){return!1}return e.once(n,nU,r),function(){e.off(n,r)}}function sO(e,n){return{x:e.x-n.x,y:e.y-n.y}}var rU=15;function lO(e,n){var r;function a(m){return p(m.originalEvent)}e.on("canvas.focus.changed",function(m){m.focused?e.on("element.mousedown",500,a):e.off("element.mousedown",a)});function s(m){var g=r.start,y=r.button,O=h2(m),k=sO(O,g);if(!r.dragging&&aU(k)>rU&&(r.dragging=!0,y===0&&iU(e),oO("grab")),r.dragging){var N=r.last||r.start;k=sO(O,N),n.scroll({dx:k.x,dy:k.y}),r.last=O}m.preventDefault()}function c(m){xs.unbind(document,"mousemove",s),xs.unbind(document,"mouseup",c),r=null,tU()}function p(m){if(!JI(m.target,".djs-draggable")){var g=m.button;if(!(g>=2||m.ctrlKey||m.shiftKey||m.altKey))return r={button:g,start:h2(m)},xs.bind(document,"mousemove",s),xs.bind(document,"mouseup",c),!0}}this.isActive=function(){return!!r}}lO.$inject=["eventBus","canvas"];function aU(e){return Math.sqrt(Math.pow(e.x,2)+Math.pow(e.y,2))}const Bd={__init__:["moveCanvas"],moveCanvas:["type",lO]};var oU=new ux("tt");function sU(e){var n=Li('<div class="djs-tooltip-container" />');return Tn(n,{position:"absolute",width:"0",height:"0"}),e.insertBefore(n,e.firstChild),n}function lU(e,n,r){Tn(e,{left:n+"px",top:r+"px"})}function Dx(e,n){e.style.display=n===!1?"none":""}var cO="djs-tooltip",Bx="."+cO;function ei(e,n){this._eventBus=e,this._canvas=n,this._ids=oU,this._tooltipDefaults={show:{minZoom:.7,maxZoom:5}},this._tooltips={},this._tooltipRoot=sU(n.getContainer());var r=this;tc.bind(this._tooltipRoot,Bx,"mousedown",function(a){a.stopPropagation()}),tc.bind(this._tooltipRoot,Bx,"mouseover",function(a){r.trigger("mouseover",a)}),tc.bind(this._tooltipRoot,Bx,"mouseout",function(a){r.trigger("mouseout",a)}),this._init()}ei.$inject=["eventBus","canvas"],ei.prototype.add=function(e){if(!e.position)throw new Error("must specifiy tooltip position");if(!e.html)throw new Error("must specifiy tooltip html");var n=this._ids.next();return e=Je({},this._tooltipDefaults,e,{id:n}),this._addTooltip(e),e.timeout&&this.setTimeout(e),n},ei.prototype.trigger=function(e,n){var r=n.delegateTarget||n.target,a=this.get(rx(r,"data-tooltip-id"));!a||(e==="mouseover"&&a.timeout&&this.clearTimeout(a),e==="mouseout"&&a.timeout&&(a.timeout=1e3,this.setTimeout(a)))},ei.prototype.get=function(e){return typeof e!="string"&&(e=e.id),this._tooltips[e]},ei.prototype.clearTimeout=function(e){if(e=this.get(e),!!e){var n=e.removeTimer;n&&(clearTimeout(n),e.removeTimer=null)}},ei.prototype.setTimeout=function(e){if(e=this.get(e),!!e){this.clearTimeout(e);var n=this;e.removeTimer=setTimeout(function(){n.remove(e)},e.timeout)}},ei.prototype.remove=function(e){var n=this.get(e);n&&(nc(n.html),nc(n.htmlContainer),delete n.htmlContainer,delete this._tooltips[n.id])},ei.prototype.show=function(){Dx(this._tooltipRoot)},ei.prototype.hide=function(){Dx(this._tooltipRoot,!1)},ei.prototype._updateRoot=function(e){var n=e.scale||1,r=e.scale||1,a="matrix("+n+",0,0,"+r+","+-1*e.x*n+","+-1*e.y*r+")";this._tooltipRoot.style.transform=a,this._tooltipRoot.style["-ms-transform"]=a},ei.prototype._addTooltip=function(e){var n=e.id,r=e.html,a,s=this._tooltipRoot;r.get&&r.constructor.prototype.jquery&&(r=r.get(0)),Cr(r)&&(r=Li(r)),a=Li('<div data-tooltip-id="'+n+'" class="'+cO+'">'),Tn(a,{position:"absolute"}),a.appendChild(r),e.type&&ys(a).add("djs-tooltip-"+e.type),e.className&&ys(a).add(e.className),e.htmlContainer=a,s.appendChild(a),this._tooltips[n]=e,this._updateTooltip(e)},ei.prototype._updateTooltip=function(e){var n=e.position,r=e.htmlContainer;lU(r,n.x,n.y)},ei.prototype._updateTooltipVisibilty=function(e){We(this._tooltips,function(n){var r=n.show,a=n.htmlContainer,s=!0;r&&((r.minZoom>e.scale||r.maxZoom<e.scale)&&(s=!1),Dx(a,s))})},ei.prototype._init=function(){var e=this;function n(r){e._updateRoot(r),e._updateTooltipVisibilty(r),e.show()}this._eventBus.on("canvas.viewbox.changing",function(r){e.hide()}),this._eventBus.on("canvas.viewbox.changed",function(r){n(r.viewbox)})};const Ix={__init__:["tooltips"],tooltips:["type",ei]},cU=e=>{var n=Object.prototype.toString,r={"[object Boolean]":"boolean","[object Number]":"number","[object String]":"string","[object Function]":"function","[object Array]":"array","[object Date]":"date","[object RegExp]":"regExp","[object Undefined]":"undefined","[object Null]":"null","[object Object]":"object"};return e instanceof Element?"element":r[n.call(e)]},Ox=e=>{var n=cU(e),r;if(n==="array")r=[];else if(n==="object")r={};else return e;if(n==="array")for(var a=0,s=e.length;a<s;a++)r.push(Ox(e[a]));else if(n==="object")for(var c in e)r[c]=Ox(e[c]);return r};function uU(e,n="YYYY-MM-DD HH:mm:ss"){return ld(e).format(n)}function dU(e){e=Ox(e);const n={};e.forEach(a=>{n[a.historyActivityId]?n[a.historyActivityId].push(a):n[a.historyActivityId]=[a]});for(let a in n){const s=n[a];if(s.length>1){const c=e.findLast(p=>p.historyActivityId==a);c.assigneeName=Array.from(new Set(s.map(p=>p.assigneeName))).join("/")}}const r=[];return e.forEach(a=>{let{assigneeName:s,createTime:c,endTime:p,comments:m}=a;/Safari/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&(c=c.replace(/-/g,"/"),p=p.replace(/-/g,"/"));const g={id:a.historyActivityId,class:!p&&a.historyActivityType!="candidate"?"nodePrimary":""};let y="";if(s){if(y=`<span title='${s}'>${s}</span><br>`,c&&(y+=`<span title='${c}'>${uU(c,"YYYY-MM-DD HH:mm")}</span><br>`),m&&m.length>0){let k,{type:N,fullMessage:_}=m.find(S=>S.action=="AddComment")||{};N=="assigneeComment"&&(k="\u53D8\u66F4\u5BA1\u6838\u4EBA\uFF1A"+_,g.class="nodeWarn"),N=="dispatchComment"&&(k="\u8C03\u5EA6\uFF1A"+_,g.class="nodeWarn"),N=="transferComment"&&(k="\u8F6C\u529E\uFF1A"+_,g.class="nodeWarn"),N=="delegateComment"&&(k="\u59D4\u6258\uFF1A"+_,g.class="nodeWarn"),N=="rollbackComment"&&(k="\u6307\u5B9A\u56DE\u9000\uFF1A"+_,g.class="nodeError"),N=="terminateComment"&&(k="\u7EC8\u6B62\uFF1A"+_,g.class="nodeError"),N=="addMultiInstanceComment"&&(k="\u52A0\u7B7E\uFF1A"+_,g.class="nodeWarn"),N=="deleteMultiInstanceComment"&&(k="\u51CF\u7B7E\uFF1A"+_,g.class="nodeError"),N=="withdrawComment"&&(k="\u64A4\u9500\uFF1A"+_,g.class="nodeWarn"),N=="deleteProcessComment"&&(k="\u5220\u9664\u6D41\u7A0B\uFF1A"+_,g.class="nodeError"),N=="cancelProcessComment"&&(k="\u62D2\u7EDD\uFF1A"+_,g.class="nodeError"),N=="comment"&&(k="\u5BA1\u6279\uFF1A"+_,g.class="nodeSuccess"),k&&(y+=`<span title='${k}'>${k}</span>`)}g.tooltip=y}a.historyActivityType=="sequenceFlow"?g.class="lineWarn":!g.class&&a.historyActivityType!="candidate"&&(g.class="nodeSuccess");const O=r.findIndex(k=>k.id==a.historyActivityId);O!=-1?r.splice(O,1,g):r.push(g)}),r}function Tx(e){const n=[],r=[],a=[];return e.routeTxt&&e.routeTxt.length>0&&e.routeTxt.forEach(s=>{s.type==="user"?n.push(...s.ids.filter(c=>c&&c.trim()!=="")):s.type==="post"?r.push(...s.ids):s.type==="dept"&&a.push(...s.ids)}),{intersection:e.assigneeRetain=="true"?1:0,userIds:[...new Set(n)],postIds:[...new Set(r)],deptIds:[...new Set(a)]}}var fU=function(){var e=this,n=e.$createElement,r=e._self._c||n;return r("div",{ref:"container",staticClass:"bpmn-look",on:{wheel:e.handleWheel}})},pU=[];const yZ="",hU={name:"bpmn-look",props:{diagram:{type:String,default:"",required:!0},approvalData:{type:Array,default:()=>[]},isXml:{type:Boolean,default:!0}},data(){return{scale:1,viewer:null,loading:!0}},mounted(){this.initViewer(),window.addEventListener("resize",this.canvasResize)},watch:{diagram:{async handler(e){e.length;let n=e;n&&this.isXml&&this.loadXml(n)},immediate:!0}},methods:{handleWheel(e){e.preventDefault();const n=Math.sign(e.deltaY)*.1;this.scale=Math.max(.5,Math.min(this.scale-n,3)),this.viewer&&this.viewer.get("canvas").zoom(this.scale)},async getXml(e){this.isXml;let n={},r="";try{n=await api.repository.getXmlByProcessDefId({processDefId:e}),n.code==200&&(r=n.data)}catch(a){console.error(a)}return r},async initViewer(){this.viewer&&this.viewer.destroy();const e=Object.prototype.toString.call(uc)=="[object Function]"?uc:uc.default,n=Object.prototype.toString.call(Ix)=="[object Object]"?Ix:Ix.default,r=Object.prototype.toString.call(Bd)=="[object Object]"?Bd:Bd.default;Object.prototype.toString.call(Bd),this.viewer=new e({container:this.$refs.container,additionalModules:[n,r]}),this.viewer.on("import.done",({error:a})=>{a||(this.canvasResize(),this.addApprovalData())})},canvasResize(){this.viewer&&this.viewer.get("canvas").zoom(1,"auto")},setNodeColor(e){const n=this.viewer.get("canvas"),r=this.viewer.get("elementRegistry"),a=this.viewer.get("tooltips");e.forEach(s=>{if(s.id&&s.class&&n.addMarker(s.id,s.class),s.id&&s.tooltip){const c=r.get(s.id);if(c){let{x:p,y:m,type:g}=c;["bpmn:StartEvent","bpmn:EndEvent"].includes(g)?(p=p-45,m=m+65):["bpmn:UserTask"].includes(g)&&(p=p-10,m=m+90),a.add({position:{x:p,y:m},html:s.tooltip})}}})},addApprovalData(){if(this.approvalData,!this.approvalData||this.approvalData.length==0)return;const e=dU(this.approvalData);e&&e.length>0&&this.setNodeColor(e)},async loadXml(e){this.viewer||await this.initViewer();try{e.length;const{warnings:n}=await this.viewer.importXML(e);n.length&&this.$emit("warning",n)}catch(n){this.$emit("error",{message:"XML \u52A0\u8F7D\u5931\u8D25",detail:n.message}),console.error("XML \u52A0\u8F7D\u5931\u8D25:",n)}}},beforeDestroy(){window.removeEventListener("resize",this.canvasResize),this.viewer&&this.viewer.destroy()}},uO={};var mU=un(hU,fU,pU,!1,gU,"ee16a17a",null,null);function gU(e){for(let n in uO)this[n]=uO[n]}const dO=function(){return mU.exports}();var AU=function(){var e=this,n=e.$createElement,r=e._self._c||n;return r("div",{directives:[{name:"loading",rawName:"v-loading",value:e.boxLoading&&!e.isButton,expression:"boxLoading && !isButton"}],ref:"mianContent",staticClass:"mianContent",class:e.isDialog?"is-dialog":"",style:{}},[e.isButton?e._e():[r("div",{ref:"baseTabs",staticClass:"tabs"},[r("el-tabs",{staticClass:"demo-tabs",on:{"tab-click":e.handleClick},model:{value:e.activeName,callback:function(a){e.activeName=a},expression:"activeName"}},e._l(e.tabs,function(a,s){return r("el-tab-pane",{key:s,attrs:{label:a.name,name:a.slot||a.name,item:a}},[a.name=="\u57FA\u672C\u4FE1\u606F"&&!a.slot?[r("div",{style:{height:`${e.baseHeight}px`}},[e._t("default",null,{taskNode:e.getTaskNode(),processData:e.processData,currentProcess:e.currentProcess})],2)]:a.name=="\u6D41\u7A0B\u56FE"&&!a.slot?[r("div",{staticClass:"view-node-info",on:{click:e.getNodeList}},[e._v(" \u67E5\u770B\u6D41\u7A0B\u8282\u70B9\u4FE1\u606F ")]),e.trackUrl?r("iframe",{key:e.processId,staticStyle:{width:"100%",height:"100%",border:"none"},style:{height:`${e.iframeHeight}px`},attrs:{src:e.trackUrl,scrolling:"no",frameborder:"0"}}):e._e(),e.activeName=="\u6D41\u7A0B\u56FE"&&e.processData.process&&e.processData.process.xml?r("bpmnLook",{attrs:{approvalData:e.processData.flow,diagram:e.processData.process.xml}}):r("div",{staticStyle:{display:"flex","align-items":"center","justify-content":"center"}},[e._v(" \u6682\u65E0\u6D41\u7A0B\u56FE ")])]:a.name=="\u5BA1\u6279\u8BB0\u5F55"&&!a.slot?[e.activeName=="\u5BA1\u6279\u8BB0\u5F55"&&e.processData.flow?r("processFlow",{attrs:{"flow-list":e.formatFlow(e.processData.flow)}}):r("div",{staticStyle:{height:"100px",display:"flex","align-items":"center","justify-content":"center"}},[e._v(" \u6682\u65E0\u6570\u636E ")])]:[e.activeName==a.name?r("div",{style:{height:`${e.baseHeight}px`}},[a.slot?e._t(a.slot,null,{taskNode:e.getTaskNode(),processData:e.processData,currentProcess:e.currentProcess}):e._t("default",null,{taskNode:e.getTaskNode(),processData:e.processData,currentProcess:e.currentProcess})],2):e._e()]],2)}),1)],1)],e._t("myBtn"),e.isAdditional&&e.absoluteBtns.outside.length>0?r("div",{ref:"footBtnRow",staticClass:"footBtnRow foot-item",style:{width:e.mainWidth+"px"}},[e._t("btn",null,null,e.processStatus)],2):e.showBtns?!e.ProcessInsObj.end&&e.absoluteBtns.outside.length>0&&e.processStatus.appId!="com.awspaas.user.apps.root"||e.customBtns.length>0?r("div",{directives:[{name:"loading",rawName:"v-loading",value:e.footBtnLoading,expression:"footBtnLoading"}],ref:"footBtnRow",staticClass:"footBtnRow foot-item",style:{width:e.mainWidth+"px"}},[(e.processData.process.pass==!1||e.customBtns.length>0)&&e.absoluteBtns.outside.length>0?[e.absoluteBtns.inside.length>0?r("el-dropdown",{attrs:{placement:"top-start",trigger:"click"},scopedSlots:e._u([{key:"dropdown",fn:function(){return[r("el-dropdown-menu",e._l(e.absoluteBtns.inside,function(a,s){return r("el-dropdown-item",{key:a.name+s,nativeOn:{click:function(c){return function(){a.click(),e.aftClickBtn=a}.apply(null,arguments)}}},[r("el-button",{staticClass:"btn drop-btn",attrs:{type:"text",size:"mini",icon:a.icon,loading:e.buttonLoading}},[e._v(" "+e._s(a.name)+" ")])],1)}),1)]},proxy:!0}],null,!1,1409220773)},[r("el-button",{staticStyle:{"margin-right":"10px"},attrs:{size:"small"}},[e._v(" \u66F4\u591A ")])],1):e._e(),e._l(e.absoluteBtns.outside,function(a){return r("el-button",e._b({key:a.name,attrs:{size:"small",loading:e.buttonLoading},on:{click:function(){a.click(),e.aftClickBtn=a}}},"el-button",a.btnProps,!1),[e._v(" "+e._s(a.name)+" ")])})]:e._e(),e._t("btnAppend")],2):e._e():r("div"),r("div",{staticClass:"dialog"},[r("el-dialog",{staticClass:"dialog",style:e.dynamicStyle,attrs:{visible:e.dialogVisibleOperation,"append-to-body":"",width:"600px",title:e.operationLabel,"close-on-click-modal":!1,"show-close":!e.isOperLoading,"before-close":e.cancelHandlerFn,top:"6vh"},on:{"update:visible":function(a){e.dialogVisibleOperation=a}},scopedSlots:e._u([{key:"footer",fn:function(){return[r("el-button",{directives:[{name:"loading",rawName:"v-loading"}],attrs:{type:"primary",loading:e.isOperLoading,disabled:e.isOperationHidden},on:{click:e.onClickOperation}},[e._v("\u786E \u5B9A")]),r("el-button",{directives:[{name:"loading",rawName:"v-loading"}],attrs:{loading:e.isOperLoading,disabled:e.isOperationHidden},on:{click:e.cancelHandlerFn}},[e._v("\u53D6 \u6D88")])]},proxy:!0}]),model:{value:e.dialogVisibleOperation,callback:function(a){e.dialogVisibleOperation=a},expression:"dialogVisibleOperation"}},[r("div",{ref:"obRef",staticClass:"operation-box"},[e.dialogVisibleOperation?r(e.operationCom,{ref:"operationRef",tag:"component",attrs:{param:e.operationParam,isOperLoading:e.isOperLoading},on:{success:e.operationSuccess,fail:e.operationFail},scopedSlots:e._u([{key:"form",fn:function(){return[e.aftClickBtn.slot?e._t(e.aftClickBtn.slot):e._e()]},proxy:!0},{key:"file",fn:function(){return[e.attachShow?r("el-form",{attrs:{"label-width":"120px","status-icon":"",rules:e.rules},nativeOn:{submit:function(a){a.preventDefault()}}},[r("el-form-item",{attrs:{label:"\u9644\u4EF6",prop:e.attachRule.required?"attach":""}},[r("jyr-file-upload",{ref:"fileUpload",attrs:{multiple:e.attachRule.limit>0,limit:e.attachRule.limit,fullFileObject:"",showFileName:""},model:{value:e.attach,callback:function(a){e.attach=a},expression:"attach"}})],1)],1):e._e()]},proxy:!0}],null,!0)}):e._e()],1)]),r("el-dialog",{attrs:{title:"\u9009\u62E9\u5904\u7406\u4EFB\u52A1",visible:e.showMulTask,"append-to-body":"","close-on-click-modal":!1,width:"500px","show-close":!1},on:{"update:visible":function(a){e.showMulTask=a}},model:{value:e.showMulTask,callback:function(a){e.showMulTask=a},expression:"showMulTask"}},[r("el-form",{ref:"form",staticClass:"task",attrs:{"label-width":"100px"}},[r("el-form-item",{attrs:{label:"\u8BF7\u9009\u62E9\uFF1A",prop:"content"}},[r("el-radio-group",{attrs:{size:"small"},model:{value:e.mulTaskTaskId,callback:function(a){e.mulTaskTaskId=a},expression:"mulTaskTaskId"}},e._l(e.mulTaskList,function(a){return r("el-radio",{key:a.nodeId,attrs:{label:a.taskId,border:""}},[e._v(e._s(a.nodeName))])}),1)],1)],1),r("div",{staticClass:"dialog-footer",staticStyle:{"text-align":"center"}},[r("el-button",{attrs:{type:"primary"},on:{click:e.onCheckSure}},[e._v("\u786E\u5B9A")])],1)],1),r("el-dialog",{attrs:{visible:e.nodeInfoVisible,"append-to-body":"",width:"600px",title:"\u6D41\u7A0B\u8282\u70B9\u4FE1\u606F",modal:!1,"close-on-click-modal":!1},on:{"update:visible":function(a){e.nodeInfoVisible=a}},model:{value:e.nodeInfoVisible,callback:function(a){e.nodeInfoVisible=a},expression:"nodeInfoVisible"}},[r("el-table",{staticClass:"process-table",attrs:{data:e.filterFlow(e.processData.flow),border:"","header-row-style":e.headerRowStyle}},[r("el-table-column",{attrs:{label:"\u5E8F\u53F7",type:"index",width:"60px",align:"center"}}),r("el-table-column",{attrs:{prop:"historyActivityName",label:"\u8282\u70B9\u540D\u79F0","min-width":"130"}}),r("el-table-column",{attrs:{prop:"assigneeName",label:"\u5BA1\u6279\u4EBA","min-width":"80"}})],1)],1)],1)],2)},vU=[];const xZ="",wZ="",bU={components:{processBtns:m8,processFlow:y8,bpmnLook:dO,staffTree:ba,...ZD,ViewFile:x5,JyrFileUpload:vh},props:{taskId:{default:!1,type:[String,Boolean]},processId:{default:"",type:String},userId:{require:!0,default:"",type:String},showBtns:{default:!0,type:Boolean},isView:{default:!1,type:Boolean},getVars:{type:Function},before:{type:Function},isAlis:{type:Boolean,default:!1},isAdditional:{type:Boolean,default:!1},businessData:{type:Object,default:void 0},excludeBtn:{type:String,default:""},showAsPlanned:{type:Boolean,default:!1},showCommIdea:{type:Boolean,default:!0},commentMsgRequired:{type:Boolean,default:!0},customBtn:{default:""},tabs:{default:()=>[{name:"\u57FA\u672C\u4FE1\u606F",slot:""},{name:"\u6D41\u7A0B\u56FE",slot:""},{name:"\u5BA1\u6279\u8BB0\u5F55",slot:""}]},personType:{default:""},personEntity:{type:Object,default:()=>{}},isButton:{type:Boolean,default:!1},isDialog:{type:Boolean,default:!1},fullscreen:{type:Boolean,default:!1},headerRowStyle:{type:Object||Function,default:()=>({"background-color":"rgb(245, 247, 250)",color:"#333"})},extraHeight:{type:Number,default:0}},provide(){return{isAlisInject:this.isAlis}},data(){return{incomingConditionItemList:[],deptId:"",initProcessData:{button:[],flow:[],form:{},process:{}},currentProcess:{currentProcessOriginData:[],currentMan:[],currentFirstNode:{}},processData:{button:[],flow:[],form:{},process:{}},submitLoading:!1,flowChartVisible:!1,comment:null,dynamicMaxHeight:"400px",showMulTask:!1,mulTaskList:[],mulTaskTaskId:"",attach:[],customBtns:[],overheight:10,iframeHeight:500,baseHeight:500,mainWidth:0,absoluteTaskId:"",infoView:!1,showTopTabs:!1,buttonLoading:!1,footBtnLoading:!0,tabheight:400,aftClickBtn:"",attachRule:{required:!0,limit:0},nodeInfoVisible:!1,nodeInfoList:[],jjForm:{saveMetaAnnexCmdList:[]},targetUID:"",commentMsg:"",trackUrl:"",taskObj:{},taskCommentList:[],absoluteBtns:{inside:[],outside:[]},processStatus:"",nextTaskNode:[],activeName:"\u57FA\u672C\u4FE1\u606F",ProcessInsObj:{},outGatewayUserTaskModel:[],dialogVisibleOperation:!1,operationLabel:"",operationCom:{},operationParam:{},taskNode:[],aftTaskNode:{},operation:ZD,Enum:Np,isOperLoading:!1,isOperationHidden:!1,boxLoading:!1,rules:{attach:[{required:!0,trigger:"change"}]},noReload:!1,digitalSignatureList:[]}},mounted(){console.info("%c\u26A1"+Tp.name+"%c v"+Tp.version,"background: linear-gradient(135deg, #ff3939ff, #ffbe5cff); color: white; padding: 9px 4px 9px 4px; border-radius: 3px 0 0 3px;font-size: 12px;","background: #5100ffff; color: white; padding: 9px 6px 9px 4px; border-radius: 0px 3px 3px 0px;font-size: 12px;"),window.onresize=()=>(()=>{this.$refs.mianContent&&(this.mainWidth=this.$refs.mianContent.offsetWidth)})()},watch:{activeName:function(e){e==1&&(this.activeName="\u57FA\u672C\u4FE1\u606F")},infoView:function(){this.calculateHeight()},taskId:{handler(e){!e||(this.absoluteTaskId=e)},deep:!0,immediate:!0},processId:{handler(e){if(e){if(this.customBtns=[],this.absoluteBtns={inside:[],outside:[]},this.boxLoading=!0,this.activeName=this.tabs.length>0?this.tabs[0].name:"",this.getProcessInfo(),this.getCurrentProcess(),Date.now())return;Xe.repository.queryTaskNodeList(this.processId).then(n=>{if(!this.noReload)if(this.noReload=!1,!this.absoluteTaskId&&n.data.length>1){this.mulTaskList=n.data,this.showMulTask=!0;return}else this.absoluteTaskId=n.data&&n.data.length>0?n.data[0].taskId:"",this.aftTaskNode=n.data[0];this.absoluteTaskId,n.code==bt.success&&(this.taskNode=n.data,Xe.pis.getProcessStatus(this.processId,this.absoluteTaskId).then(r=>{r.code==bt.success&&(this.processStatus=r.data,this.$emit("getStatus",r.data),this.absoluteTaskId?Xe.repository.getUserTaskModelCmd(this.absoluteTaskId).then(a=>{a.code==bt.success&&(this.taskObj=a.data,this.straightenBtns())}):this.straightenBtns())}))}),Xe.repository.getTrackUrl({processInstId:e,type:qb.\u7535\u8111\u7AEF}).then(n=>{n.code==bt.success&&(window.location.protocol=="https:"?n.data.indexOf("http://121.40.143.183:80/")>=0?this.trackUrl=n.data.replace("http://121.40.143.183:80/","https://acme-aws.ddzg.cn/"):n.data.indexOf("http://121.40.143.183/")>=0?this.trackUrl=n.data.replace("http://121.40.143.183/","https://acme-aws.ddzg.cn/"):n.data.indexOf("http://acme-aws.ddzg.cn/")>=0?this.trackUrl=n.data.replace("http://acme-aws.ddzg.cn/","https://acme-aws.ddzg.cn/"):n.data.indexOf("http://59.53.91.231:8088/")>=0?this.trackUrl=n.data.replace("http://59.53.91.231:8088/","https://acme-test.ddzg.cn:2119/"):n.data.indexOf("http://59.53.91.230:8088/")>=0?this.trackUrl=n.data.replace("http://59.53.91.230:8088/","https://kq.ddzg.cn:8093/"):this.trackUrl=n.data:this.trackUrl=n.data)}),Xe.tis.getTaskCommentList(this.processId,"").then(n=>{this.taskCommentList=n.data,this.digitalSignatureList=n.data.filter(r=>r.digitalSignature).map(r=>r.digitalSignature)}),Xe.pis.getProcessInstanceById(this.processId).then(n=>{this.ProcessInsObj=n.data,this.$nextTick(()=>{this.calculateHeight()})})}},immediate:!0,deep:!0},absoluteTaskId:{handler(e){},immediate:!0,deep:!0},dialogVisibleOperation:{handler(e){this.$emit("show-modal",e)}}},methods:{formatFlow(e){return(e||[]).map(r=>({...r,attachmentsFujian:(r.attachments||[]).filter(a=>a.type!="signature"),attachmentsQianzi:(r.attachments||[]).filter(a=>a.type=="signature")}))},cancelHandlerFn(){this.dialogVisibleOperation=!1,this.submitLoading=!1},filterFlow(e){return e.filter(n=>["userTask","candidate"].includes(n.historyActivityType))},getCurrentProcess(){Xe.repository.queryTaskNodeList(this.processId).then(e=>{if(e.code==200){const n={};if(n.currentProcessOriginData=e.data||[],n.currentProcessOriginData.length>0){let r=n.currentProcessOriginData[0],a=(r.currentName||"").split(","),s=(r.avatar||"").split(",");a=a.map((c,p)=>({realName:c,avatar:s[p]||"",phone:"",ancestorNames:[]})),n.currentMan=a,n.currentFirstNode=r,this.currentProcess=n}}else this.currentProcess={currentProcessOriginData:[],currentMan:[],currentFirstNode:{}}}).catch(e=>{console.error(e,"getCurrentProcess")})},getProcessInfo(){this.submitLoading=!0,this.boxLoading=!0,Xe.tis.getTaskModelDetail(this.taskId?{processInstId:this.processId,taskId:this.taskId}:{processInstId:this.processId}).then(async e=>{if(e.code==200){this.processData={...this.initProcessData,...e.data||{}},this.$emit("get-process-data",this.processData);const n=((this.processData.process||{}).variables||{}).deptId;this.deptId=n;const r=(this.processData.process||{}).taskId;this.taskObj.buttons=this.processData.button,this.absoluteTaskId=r,this.straightenBtns(),this.$nextTick(()=>{this.calculateHeight()}),this.processData.flow,this.flowChartVisible=!0,this.submitLoading=!1,this.boxLoading=!1}})},getUserDataByDeptId(){this.processList.map(async(e,n)=>{const r=Tx(e);let a;try{a=await this.getNodeUser({deptId:this.deptId,intersection:r.intersection?1:0,userIds:r.userIds,postIds:r.postIds,deptIds:r.deptIds})}catch(s){}if(a.code==Enum.apiCode.success){const s=this.processList[n];s.userList=a.data,this.processList[n]=s}})},handleDraft(){this.submitLoading=!0},handleExamine(e,n){e?this.handlePass(n):this.handleCancel(n),this.submitLoading=!0},async handlePass(e){this.operationParam.nodeLoading=!0,this.isOperationHidden=!0,this.before?this.before().then(()=>{this.showOperation(hy,e)}):this.showOperation(hy,e),this.deptId&&(await this.getNextNode(this.deptId),this.operationParam={...this.operationParam,nodeLoading:!1,incomingConditionItemList:this.incomingConditionItemList,nextTaskNode:this.nextTaskNode},this.isOperationHidden=!1)},handleCancel(e){this.showOperation(HD,e)},handleUserSelect({type:e,checkType:n,name:r}){e=="transfer"?this.handleTransfer(r):e=="addInstance"&&this.handleAddInstance(r)},handleTransfer(e){this.showOperation(RD,e)},handleAddInstance(e){this.showOperation(MD,e)},handlePrint(){},handleRollbackTask(e){this.showOperation(YD,e)},handleTerminateProcess(){},handleCirculate(e){this.showOperation(XD,e)},handleWithdrawTask(e){this.handleRevoke()},findTargetHtml(e,n,r="parentElement"){if(!e)return null;if(e.classList.contains(n))return e;let a=e[r];if(!a)return null;if(r=="children"){for(let s=0;s<=a.length-1;s++)if(a[s].classList.contains(n))return a[s];return}return this.findTargetHtml(a,n)},findImageIndex(e){return e?this.digitalSignatureList.findIndex(n=>n==e):-1},onCheckSure(){this.absoluteTaskId=this.mulTaskTaskId,this.mulTaskList.map(n=>{n.taskId==this.mulTaskTaskId&&(this.aftTaskNode=n)}),this.noReload=!0,this.showMulTask=!1,this.footBtnLoading=!0;let e=this.processId;Reflect.set(this.processId,""),Reflect.set(this.processId,e)},showButtonLoading(){this.buttonLoading=!0},hideButtonLoading(){this.buttonLoading=!1},calculateHeight(){let e=0;if(this.$refs.footBtnRow&&(e+=this.$refs.footBtnRow.offsetHeight),this.$refs.mianContent&&(this.mainWidth=this.$refs.mianContent.offsetWidth),this.infoView&&this.absoluteBtns.outside.length>0&&(e+=32),this.$refs.infoBoxFign){let n=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;this.tabheight=n-this.$refs.infoBoxFign.offsetTop-192}this.overheight=e+116,this.iframeHeight=this.$refs.mianContent.offsetHeight-146,this.baseHeight=this.$refs.mianContent.offsetHeight-70-e-this.extraHeight},getNodeList(){this.nodeInfoVisible=!0},fileNameLastof(e,n=0){if(e.indexOf("http")==-1&&(n=0),!e)return;let r="/";e.indexOf("\\")!=-1&&(r="\\");let a=e,s=a.lastIndexOf(r);return a.substr(s+1+n,a.length)},clickCustomButton(e){this.$emit("clickCustomButton",{name:e,processStatus:this.processStatus,setName:n=>{this.taskObj.buttons.map(r=>{r.label==e&&(r.label=n)}),this.straightenBtns()}})},async getNextNode(e){let n;try{n=await Xe.tis.simulation(this.absoluteTaskId,this.processId)}catch(a){console.error(a),n={}}let r=n.data||{};n.code==200&&!n.data.evaluation&&(this.incomingConditionItemList=[],r.branches=await this.getOutgoingProcessNode(this.absoluteTaskId,n.data.id)),r=await this.getSelectFixData(r,e),this.nextTaskNode=r},async getNodeUser({deptId:e,intersection:n,userIds:r,postIds:a,deptIds:s}){return await Xe.user.getTaskAuditor({deptId:e,intersection:n,userIds:r,postIds:a,deptIds:s})},async showOperation(e,n){this.attach=[],this.operationLabel=n,this.operationParam.processInstId=this.processId,this.operationParam.taskInstId=this.absoluteTaskId,this.operationParam.nextTaskNode=this.nextTaskNode,this.operationParam.incomingConditionItemList=this.incomingConditionItemList,this.operationParam.variables=(this.processData.process||{}).variables||{},this.operationParam.extendedProperties=(this.processData.form||{}).extendedProperties||[],this.operationParam.taskObj=this.taskObj,this.operationParam.getVars=this.getVars,this.operationParam.outGatewayUserTaskModel=this.outGatewayUserTaskModel,this.operationParam.taskNode=this.getTaskNode(),this.operationParam.businessData=this.businessData,this.operationParam.showAsPlanned=this.showAsPlanned,this.operationParam.showCommIdea=this.showCommIdea,this.operationParam.commentMsgRequired=this.commentMsgRequired,this.operationParam.personType=this.personType,this.operationParam.personEntity={...this.personEntity,...this.aftClickBtn.personEntity||{}},this.operationParam.ProcessInsObj=this.ProcessInsObj,this.operationCom=e,this.dialogVisibleOperation=!0,this.$nextTick(()=>{var m,g;let r=this.$refs.obRef;if(this.$refs,!r)return;let a=(m=r.getBoundingClientRect())==null?void 0:m.top,s=this.findTargetHtml(r,"el-dialog"),c=this.findTargetHtml(s,"el-dialog__footer","children"),p=window.innerHeight-((g=r.getBoundingClientRect())==null?void 0:g.top)-a-(c==null?void 0:c.clientHeight)-32;this.dynamicMaxHeight=`${p}px`})},onClickOperation(){if(this.attachShow&&this.attachRule.required&&this.attach.length==0)return hd.error("\u8BF7\u4E0A\u4F20\u9644\u4EF6");this.aftClickBtn.preposition?this.operationMain(this.aftClickBtn.preposition):this.operationMain()},operationMain(e=!1){let n;this.attachShow&&(n=[],this.attach.map(r=>{n.push({id:r.id,name:this.fileNameLastof(r.name),size:r.fileSize,format:r.fileType,url:r.url,uploadTime:r.createTime,processInstId:this.operationParam.processInstId,taskInstId:this.operationParam.taskInstId})}),n=n.sort((r,a)=>ld(r.uploadTime).valueOf()>ld(a.uploadTime).valueOf())),this.$refs.operationRef&&this.$refs.operationRef.confirm(e,()=>{this.isOperLoading=!0},n)},operationSuccess(e=!0){hd.success("\u64CD\u4F5C\u6210\u529F"),this.dialogVisibleOperation=!1,e&&this.$emit("Complete"),this.isOperLoading=!1},operationFail(e=""){e&&hd.warning(e),this.isOperLoading=!1},async getSelectFixData(e,n){let r=JSON.parse(JSON.stringify(e));if(r.nodeType!="userTask"&&Array.isArray(r.branches))for(let a=0;a<r.branches.length;a++){let s=r.branches[a],c=s.nodeInfoDTO?s.nodeInfoDTO:s;try{c=await this.getSelectFixData(c,n)}catch(p){}s.nodeInfoDTO?s.nodeInfoDTO=c:s=c,r.branches[a]=s}else if(r.nodeType=="userTask"&&!r.setPersonnel){let a=Tx(r),s;try{s=await this.getNodeUser({deptId:n,intersection:a.intersection?1:0,userIds:a.userIds,postIds:a.postIds,deptIds:a.deptIds}),s.code==bt.success}catch(c){}s.code==bt.success&&(r.userList=s.data)}return r},async getOutgoingProcessNode(e,n){let r=await Xe.repository.getOutgoingProcessNode(e,n);if(r.code==bt.success){if(r.data){for(let a=0;a<r.data.length;a++){let s=r.data[a];s.incomingConditionItemList&&s.incomingConditionItemList.length!==0&&(s.nodeInfoDTO.incomingConditionItemList=s.incomingConditionItemList,s.incomingConditionItemList,this.incomingConditionItemList.push(...s.incomingConditionItemList)),s.nodeInfoDTO.nodeType!="userTask"&&(s.nodeInfoDTO.branches=await this.getOutgoingProcessNode(e,s.nodeInfoDTO.id)),r.data[a].type!="endEvent"&&(r.data[a].humanPerformerName=="\u56FA\u5B9A\u8D26\u6237"||r.data[a].humanPerformerName=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173")&&await Xe.repository.getParticipantsOfPerformerNames(e,[r.data[a].id]).then(c=>{r.data[a].routeTxt.userNames=c.data[r.data[a].id]})}r.data.length==0&&r.data.push({id:"",incomingConditionItemList:[],type:"endEvent",name:"\u7ED3\u675F\u4E8B\u4EF6"})}return r.data}return[]},getColor(e){return e=="\u5BA1\u6838\u4E2D"||e=="\u5BA1\u6279\u4E2D"?"#6DC743":e=="\u5DF2\u9A73\u56DE"?"#F14B4C":e=="\u5DF2\u64A4\u9500"?"#CECECE":e=="\u5DF2\u5B8C\u6210"?"#6DC743":"#1389FF"},handleClick(e,n){this.$emit("clickTab",e.$vnode?JSON.parse(JSON.stringify(e.$vnode.data.attrs.item)):e.props,e.index)},getTaskNode(){return this.taskNode.filter?this.taskNode.filter(e=>e.nodeId==this.taskObj.id):[]},handleRevoke(){SI.confirm("\u786E\u5B9A\u64A4\u9500\u5417","\u64A4\u9500",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(()=>{Xe.tis.withdrawTask(this.processData.process.processInstanceId).then(e=>{e.code==bt.success&&(hd.success("\u64CD\u4F5C\u6210\u529F"),this.$emit("Complete"))})}).catch(()=>{})},handleReminders(){SI.confirm("\u786E\u5B9A\u50AC\u529E\u5417","\u50AC\u529E",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(()=>{this.ProcessInsObj,Xe.tis.reminders(this.processData.process.processInstanceId).then(e=>{e.code==bt.success&&(hd.success("\u64CD\u4F5C\u6210\u529F"),this.$emit("Complete"))})}).catch(e=>{})},getButton(e){return(this.processData.button||[]).find(n=>n.buttonKey==e)},operBtn(){let e=[];const n=this.processData.process;if(!n)return e;if(n.status=="todo"&&n.isMultiInstance&&this.getButton("wf_add_instance")){let a={};a.name=this.getButton("wf_add_instance").name,a.btnProps={type:"primary"},a.key="sign",a.click=()=>{this.handleUserSelect({type:"addInstance",checkType:"checkbox",name:this.getButton("wf_add_instance").name})},e.push(a)}if(n.status=="todo"&&this.getButton("wf_transfer")){let a={};a.name=this.getButton("wf_transfer").name,a.key="delegate",a.click=()=>{this.handleUserSelect({type:"transfer",checkType:"radio",name:this.getButton("wf_transfer").name})},e.push(a)}if(n.status=="todo"&&this.getButton("wf_delegate")){let a={};a.name=this.getButton("wf_delegate").name,a.btnProps={type:"warning"},a.key="cc2",a.click=()=>{this.handleUserSelect({type:"delegate",checkType:"radio",name:this.getButton("wf_delegate").name})},e.push(a)}if(n.status=="todo"&&this.getButton("wf_terminate")){let a={};a.name=this.getButton("wf_terminate").name,a.btnProps={type:"danger"},a.key="cc3",a.click=()=>{this.handleTerminateProcess()},e.push(a)}if(n.status=="todo"&&this.getButton("wf_cctask")){let a={};a.name=this.getButton("wf_cctask").name,a.btnProps={type:"primary"},a.key="cc",a.click=()=>{this.handleCirculate(this.getButton("wf_cctask").name)},e.push(a)}if(n.pass==!1&&n.isOwner){let a={};a.name="\u50AC\u529E",a.key="self",a.click=()=>{this.handleReminders()},e.push(a)}if(n.isOwner&&n.isReturnable&&!["deleted"].includes(n.processIsFinished)){let a={};a.name="\u64A4\u9500",a.btnProps={type:"danger"},a.key="self",a.click=()=>{this.handleWithdrawTask("\u64A4\u9500")},e.push(a)}if(n.status=="todo"&&this.getButton("wf_reject")){let a={};a.name=this.getButton("wf_reject").name,a.btnProps={type:"danger"},a.key="refuse",a.click=()=>{this.handleExamine(!1,this.getButton("wf_reject").name)},e.push(a)}if(n.status=="todo"&&this.getButton("wf_pass")){let a={};a.name=this.getButton("wf_pass").name,a.btnProps={type:"primary"},a.key="complete",a.click=()=>{this.before?this.before().then(()=>{this.handleExamine(!0,this.getButton("wf_pass").name)}):this.handleExamine(!0,this.getButton("wf_pass").name)},e.push(a)}if(n.status=="todo"&&this.getButton("wf_rollback")){let a={};a.name=this.getButton("wf_rollback").name,a.btnProps={type:"danger"},a.key="back",a.click=()=>{this.handleRollbackTask(this.getButton("wf_rollback").name)},e.unshift(a)}return["wf_edit"].map(a=>{if(n.status=="todo"&&this.getButton(a)){let s={};s.name=this.getButton(a).name,s.btnProps={},s.key=s.name,s.click=()=>{this.clickCustomButton(s.name)},e.unshift(s)}}),e},straightenBtns(e=!0){let n=[];this.excludeBtn?this.operBtn().map(a=>{(this.excludeBtn.indexOf(a.key)==-1||!a.key)&&n.push(a)}):n=this.operBtn(),this.customBtns.length>0&&(n=[],this.customBtns.map(a=>{(this.excludeBtn.indexOf(a.key)==-1||!a.key)&&n.push(a)}));let r={outside:[],inside:[]};n.length>4?(r.outside=n.splice(n.length-4,n.length-1),r.inside=n):r.outside=n,e&&this.customBtn?this.customBtn({btnList:this.operBtn(),processStatus:this.processStatus,processData:this.processData,nextTaskNode:this.nextTaskNode},a=>{this.customBtns=a,this.straightenBtns(!1)},()=>{this.$emit("Complete")}):(this.absoluteBtns=r,this.$nextTick(()=>{this.calculateHeight(),this.footBtnLoading=!1,this.boxLoading=!1}))}},computed:{dynamicStyle(){return{"--dynamic-ctx-height":this.dynamicMaxHeight}},attachShow(){const e=(this.processData.form||{}).extendedProperties||[];let n=!1,r,a="";switch(this.operationLabel){case"\u9000\u56DE":r=e.find(c=>c.name=="otherButtonAnnexList"),a=r?r.value:"",a&&(n=!0);break;case"\u901A\u8FC7":case"\u529E\u7406":r=e.find(c=>c.name=="completeButtonAnnex"),a=r?r.value:"",a&&(n=!0);break;case"\u5904\u7406":r=e.find(c=>c.name=="completeButtonAnnex"),a=r?r.value:"",a&&(n=!0);break;case"\u540C\u610F":r=e.find(c=>c.name=="completeButtonAnnex"),a=r?r.value:"",a&&(n=!0);break;case"\u62D2\u7EDD":r=e.find(c=>c.name=="otherButtonAnnexList"),a=r?r.value:"";break;case"\u52A0\u7B7E":r=e.find(c=>c.name=="counterSignButtonAnnex"),a=r?r.value:"",a&&(n=!0);break;case"\u8F6C\u529E":r=e.find(c=>c.name=="delegateTaskButtonAnnex"),a=r?r.value:"",a&&(n=!0);break}let s="";if(typeof a!="string"&&a!=null&&a.map(c=>{c.indexOf(this.operationLabel)!=-1&&(n=!0,s=c)}),s&&(a=s),n){const c=a.split(":");this.attachRule.required=c[1]=="true",this.attachRule.limit=c[2]==-1?999:c[2]}return n}}},fO={};var _U=un(bU,AU,vU,!1,yU,"5d86e02d",null,null);function yU(e){for(let n in fO)this[n]=fO[n]}const pO=function(){return _U.exports}(),xU=async(e,n)=>{const r=n||{},a=r.dragElement||(r.targetClassName?hO(e,r.targetClassName):e.querySelector(".el-dialog"));let s;new IntersectionObserver(b=>{s=b[0].isIntersecting,s||R()}).observe(a);const p=r.dragHeader||".el-dialog__header",m=a.querySelector(p),g=r.restrictElement||document.body;let y;g?y=g.getBoundingClientRect():y={left:0,top:0,right:window.innerWidth,bottom:window.innerHeight};let O=!1,k,N,_;const S=()=>{if(m){m.style.cursor="move",m.style["user-select"]="none",m.onmousedown=w=>{O=!0;const I=a.style.transform.match(/translate\(([^,]+)px,\s*([^)]+)px\)/);k=I?parseFloat(I[1]):0,N=I?parseFloat(I[2]):0,document.addEventListener("mousemove",P),document.addEventListener("mouseup",T)};const b=a.getBoundingClientRect();_={"+x":y.right-b.right,"-x":y.left-b.left,"+y":y.bottom-b.bottom,"-y":y.top-b.top}}},M=()=>{O=!1,m.style.cursor="auto",m.style["user-select"]="auto",m.onmousedown=b=>{}};x.watch(r.dialogConfig,(b,w)=>{b.fullScreen&&(M(),R())}),S();const P=b=>{if(!O)return;b.stopPropagation(),b.preventDefault();let w=b.movementX+k,I=b.movementY+N;w>=0?w=w>=_["+x"]?_["+x"]:w:w=w<=_["-x"]?_["-x"]:w,I>=0?I=I>=_["+y"]?_["+y"]:I:I=I<=_["-y"]?_["-y"]:I,a.style.transform=`translate(${w}px, ${I}px)`,k=w,N=I},T=()=>{O=!1,document.removeEventListener("mousemove",P),document.removeEventListener("mouseup",T),a.style["user-select"]="auto"},R=()=>{a.style.transform="none"}};function hO(e,n){if(!e)return null;if(e.classList.contains(n))return e;let r=e.parentElement;return r?hO(r,n):null}const wU="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAACktJREFUeF7tnV1S3DgURqVuZh+dlQArCbyESdWQolcArKCpMFUJeYGsBLKS9D6GtKZsAiEBuq9VvrLFd/I2NbKlez6dlvxTOAb+QQACLxKIsIEABF4mgCDMDgisIYAgTA8IIAhzAAJ5BFhB8rhxlAgBBBEJmjLzCCBIHjeOEiGAICJBU2YeAQTJ48ZRIgQQRCRoyswjgCB53DhKhACCiARNmXkEECSPG0eJEEAQkaApM48AguRx4ygRAggiEjRl5hFAkDxuHCVCAEFEgqbMPAIIkseNo0QIjF6QxeLTrFQW8/n7Zam+xtxPKeY18B6VIG0wW5O9GOJ2SGkWYigmRzthU1iGSbpJ/6XTGsLrU7KGffwrHocU9/o878ZzNcybfzEuUwpfQ/yxnB++v9l4XKEGoxBkcX5xElN4W1yIlyCnsDz6cPCmUAaj6Obs48X3MfFPMXydHx6cDA1nUEFaMUI4HhrCc/2nEE7HEFAJNmf/fr4svnJYCkthObQogwjSLufTyfVofrGeDSveHB2+27XkWHub0QpyD7YR5cdqd4htb3FBFuefdmKYXI9+UsV0dfTP3/ujH2cPAzw7/3IdQtrp4VR+pxhoNSkqyJi3VE+SFRJk8fHLXozp0m9293fm0lvfYoJUJYfYRXodW95fkpWUpIgg1Wyr7u43ylx7PP5d/3WLfZw3Tf5cg0pJ4i5Ilhw/95t3UFZ398Rvf94v72+1fnKmIS4CHcvJOnWph4Tt4LbCLKTpLE5W253vorVzZLXv/czEXZBO99ebokM8nX94d5WVLgdVTaC9Fgrp2Hx3s8BW2FWQLhd/pZbMqmeQwOC7bvVSivueP6iuglhXjxRWu95LpcDcelUlmrfmzquImyDWu1bI8armda/FWCXxXEXcBLGsHmyrep1Pr/Jkph9ax1XET5Dzi7Q2MceiXuVMES2qfUazNb3c9KTfayfiIojl4tyrINF59KrLtmy1vHYjLoJYXn47Ojxw6ftVzxTh4jZv2X0e8LpM0o3FCL3nJDyney194wuVTlt2H0E2XH943nXoNRVONhoCG7ftr0oQnnuMZuLVMhDLdYjHtr33FeTursPk+zrw6Xb1hveeapma4xjnUPMKQcaRP6PYQABBmCIQWEMAQZgeEECQOwJcg+BCVwKsIF2J0V6KAIJIxU2xXQkgSFditJcigCBScVNsVwII0pUY7aUIIIhU3BTblQCCdCVGeykCCCIVN8V2JYAgXYnRXooAgkjFTbFdCSBIV2K0lyKAIFJxU2xXAgjSlRjtpQggiFTcFNuVAIJ0JUZ7KQIIIhU3xXYlgCBdidFeigCCSMVNsV0JIEhXYrSXIoAgUnFTbFcCCNKVGO2lCEgJ4vEnIqVmi2CxFkE85lXvf1mxyW7t5w/4y+6C07ufkoeYVy6CtLZPJ9dPPufr9Be4+8HPWcZOYIh55SJIA/rX53zjdvPfKaRv88ODk7GHwPjGTaD0vHITZNyYGR0EbAQQxMaJVqIEEEQ0eMq2EUAQGydaiRJAENHgKdtGAEFsnGglSgBBRIOnbBsBBLFxopUoAQQRDZ6ybQQQxMaJVqIEEEQ0eMq2EUAQGydaiRJAENHgKdtGAEFsnGglSgBBRIOnbBsBBLFxopUoAQQRDZ6ybQQQxMaJVqIEEEQ0eMq2EUAQGydaiRJAENHgKdtGAEFsnGglSgBBRIOnbBsBBLFxopUoAQQRDZ6ybQQQxMaJVqIEEEQ0eMq2EUAQGydaiRJAENHgKdtGAEFsnGglSgBBRIOnbBsBBLFxopUoAQQRDZ6ybQQQxMaJVqIEEEQ0eMq2EUAQGydaiRJAENHgKdtGAEFsnGglSgBBRIOnbBsBBLFxopUoAQQRDZ6ybQQQxMaJVqIEEEQ0eMq2EUAQGydaiRJAENHgKdtGAEFsnGglSgBBRIOnbBsBBLFxopUoAQQRDZ6ybQQQxMaJVqIEEEQ0eMq2EUAQGydaiRJAENHgKdtGAEFsnGglSgBBRIOnbBsBBLFxopUoAQQRDZ6ybQQQxMaJVqIEXAVZnF+cxBC3G7YppG/zw4MTUc6U3SOBkvPKTZCzjxffQwyz37iksEw/Vrvz+ftlj7w4lRCB0vPKRZCz8y/XIaSdZ3OL6eron7/3hTKl1J4IDDGvnAS5SC8ySWF59OHgTU/MOI0QgbPz8vOqd0EWi0+zuDX5vi63dLt6wzZLaGb3UOpQ8wpBegiPU/gTQBB/xvRQMQEEqTg8hu5PAEH8GdNDxQQQpOLwGLo/AQTxZ0wPFRNAkIrDY+j+BBDEnzE9VEwAQSoOj6H7E0AQf8b0UDEBBKk4PIbuTwBB/BnTQ8UEEKTi8Bi6PwEE8WdMDxUTQJCKw2Po/gQQxJ8xPVRMAEEqDo+h+xNAEH/G9FAxAQSpODyG7k8AQfwZ00PFBBCk4vAYuj8BBPFnTA8VE0CQisNj6P4EEMSfMT1UTEBLkLDanR++v6k4L4ZemMDi/NNODJPrdd16/EHCYf5wHIIUnl71d7f4+GUvxnRZvSBNAWv/hmrzKYQU9+cf3l3VHxsVlCJgEeTo8KD3H/zeT9gK8tynD34jGW+ODt/tloJLP/UTOPv382VIce/FSpz+KLqPIOs+f9BU6FRM/dOACl4isPFH1+mzGi6CWJbDxHUINhgJmOaT07bdRxDDJxBYRYyzg2aGLXsIHnewGvQugtxdqK/5ytTP0FMIp3y3EAPWEbj7HmE43kTJ4wLdVRDLstisIimu9nkmsil+zf9vefbRXtI6ba98BWm2WdPJ9ZMPef6ZdStJ+MpKoinBS1Vb5WiO91o9XAVpTm5aRX7e1UISBLknYN1Wea8e/oK0F+vTyxe/eMtqghWPCLSrRppcbtx13B9T4HGB20X6w6+B5Y7WM6KESbpJq8m3EH/cfVP9Nrh/W50Pi94F0bwYWMTcrTALaToLMc0sF+JPp4n/O33ugnTaahVJZU0nKSxbMf9Lp2qytG/L/hWP1z6tHjqfR/2Xeo5WRJBWEuPtulFkUGDpHkWdjwax8Un1iAZc8vFAOUGaZXtrspezlA6RTckQhqjvcZ8b33MaeoC/rRxln50VE+ThmsTw2vI48tB5obIWQUptqx7Pv+KC3F8Emp6RDGmK08tvQ5b0Ut+Wtx4GHfeAD5QHEeThTkmz5Urhrfm2XsmUhAQxP68qyb/pawQPkQcT5GHL9XBtErfNz0u8gxK7SG/vYFneevDmfn/+EYhxP5TBBXnMvL3/Pp3uxBjehpRmw6wsOtceT9gPdROlub0e4zKF9C3crq7GdIt9VII89wNV7KFVCGFMwZT6sf6zH3j/TmT0ggw1UegXAg0BBGEeQGANAQRhekAAQZgDEMgjwAqSx42jRAggiEjQlJlHAEHyuHGUCAEEEQmaMvMIIEgeN44SIYAgIkFTZh4BBMnjxlEiBBBEJGjKzCOAIHncOEqEAIKIBE2ZeQQQJI8bR4kQQBCRoCkzjwCC5HHjKBECCCISNGXmEUCQPG4cJUIAQUSCpsw8Av8DJjgSI/ED2TgAAAAASUVORK5CYII=";var EU=function(){var e=this,n=e.$createElement,r=e._self._c||n;return r("el-dialog",{staticClass:"process-dialog",attrs:{visible:e.visible,width:e.width||"60%","close-on-click-modal":!1,fullscreen:e.fullscreen,title:"\u6D41\u7A0B\u4FE1\u606F","append-to-body":"",top:"5vh"},on:{"update:visible":function(a){e.visible=a},closed:e.onClickCancel,close:e.close,open:e.open},scopedSlots:e._u([{key:"title",fn:function(){return[r("div",{staticClass:"dialog-header"},[e._t("title",function(){return[r("div",[e._v("\u6D41\u7A0B\u4FE1\u606F")])]}),r("div",{staticClass:"dialog-icon"},[r("span",{on:{click:function(a){e.fullscreen=!e.fullscreen}}},[r("img",{attrs:{src:wU,alt:""}})])])],2)]},proxy:!0}],null,!0),model:{value:e.visible,callback:function(a){e.visible=a},expression:"visible"}},[e.showProcess?r("process",e._b({ref:"process",attrs:{processId:e.paramsProcessId,isDialog:!0,fullscreen:e.fullscreen,tabs:e.tabs},on:{Complete:e.Complete,clickTab:e.handleTab,clickCustomButton:e.handleCustomButton,"get-status":e.getStatus}},"process",e.$attrs,!1),[r("div",{staticClass:"processDialogMain"},[e._t("default")],2)]):e._e()],1)},kU=[];const EZ="",CU={components:{process:pO},props:{dragable:!1,value:Boolean,width:String,processId:String,tabs:{default:()=>[{name:"\u57FA\u672C\u4FE1\u606F",slot:""},{name:"\u6D41\u7A0B\u56FE",slot:""},{name:"\u5BA1\u6279\u8BB0\u5F55",slot:""}]},parentEl:null},model:{prop:"value",event:"update:value"},data(){return{showProcess:!1,paramsProcessId:"",fullscreen:!1}},computed:{visible(){return this.value}},mounted(){this.$attrs},methods:{initDom(){this.fullscreen=!1},onClickCancel(){this.$emit("update:value",!1)},Complete(){this.$emit("Complete")},open(){this.showProcess=!0,this.paramsProcessId=this.processId;let e={targetClassName:"el-dialog"};(this.parentEl||window.$wujie.props.el())&&(e.restrictElement=this.parentEl||window.$wujie.props.el()),this.$nextTick(()=>{this.$refs,this.$refs.process,this.$refs.process&&xU(this.$refs.process.$el||this.$refs.process,e)})},close(){this.$emit("close"),this.paramsProcessId="",this.showProcess=!1,this.$refs.process&&(this.$refs.process.activeName=this.tabs[0].name)},handleTab(e,n){this.$emit("clickTab",e,n)},handleCustomButton(e){this.$emit("clickCustomButton",e)},getStatus(e){this.$emit("getStatus",e)}}},mO={};var SU=un(CU,EU,kU,!1,DU,null,null,null);function DU(e){for(let n in mO)this[n]=mO[n]}const BU=function(){return SU.exports}();var IU=function(){var e=this,n=e.$createElement,r=e._self._c||n;return r("div",[r("el-dialog",{staticClass:"flow-dialog",attrs:{visible:e.flag,width:"45%","close-on-click-modal":!1,title:e.revival?"\u6D41\u7A0B\u590D\u6D3B":"\u521B\u5EFA\u5E76\u542F\u52A8\u6D41\u7A0B","append-to-body":""},on:{"update:visible":function(a){e.flag=a},closed:e.onClickCancel},scopedSlots:e._u([{key:"footer",fn:function(){return[r("el-button",{attrs:{loading:e.btnLoading,type:"primary"},on:{click:e.onClickOperation}},[e._v("\u786E \u5B9A")]),r("el-button",{attrs:{loading:e.btnLoading},on:{click:e.onClickCancel}},[e._v("\u53D6 \u6D88")])]},proxy:!0}]),model:{value:e.flag,callback:function(a){e.flag=a},expression:"flag"}},[r("el-form",{staticClass:"create-form",attrs:{"label-width":"200px","status-icon":""},nativeOn:{submit:function(a){a.preventDefault()}}},[r("el-form-item",{attrs:{label:"\u5F53\u524D\u6D41\u7A0B",size:"medium",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6D41\u7A0B"}]}},[e.processDefList.length>1?r("el-select",{staticStyle:{width:"65%","margin-right":"10px"},attrs:{filterable:"",clearable:"",placeholder:"\u8BF7\u9009\u62E9"},on:{change:e.processDefChange},model:{value:e.processDefId,callback:function(a){e.processDefId=a},expression:"processDefId"}},e._l(e.processDefList,function(a,s){return r("el-option",{key:s,attrs:{label:a.name,value:a.id,disabled:a.disabled}})}),1):r("b",{staticClass:"process-def-name"},[e._v(" "+e._s(e.processDefName)+" ")]),e.processDefId?r("div",{staticClass:"view-node-info",staticStyle:{"margin-right":"10px"},on:{click:e.viewFlowChart}},[e._v(" \u9884\u89C8 ")]):e._e(),e._e()],1),e.hasDeptId?e._e():r("el-form-item",{attrs:{size:"medium",label:"\u9009\u62E9\u90E8\u95E8",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u90E8\u95E8"}]}},[r("el-tree-select",{staticStyle:{width:"65%","margin-right":"10px"},attrs:{data:e.deptList,props:e.defaultProps,"node-key":"id","check-strictly":"","render-after-expand":!1,placeholder:"\u8BF7\u9009\u62E9"},on:{change:e.handleDeptChange},model:{value:e.deptId,callback:function(a){e.deptId=a},expression:"deptId"}})],1),e.deptId?r("div",{staticClass:"node-list"},[e.processList&&e.processList.length>0?r("el-form-item",{attrs:{label:"\u4E0B\u4E00\u6B65\u5904\u7406\u8282\u70B9",size:"medium"}}):e._e(),e.processList.length>0?[e._l(e.processList,function(a,s){return[r("userTask",{ref:e.setItemRef(a.id),refInFor:!0,attrs:{index:s,personType:e.personType,personEntity:Object.assign({},e.personEntity,{_businessDeptId:e._businessDeptId}),processNode:Object.assign({},a,{REQUIRED:s==0}),label:"\u5904\u7406\u4EBA",rules:[{required:s==0,message:"\u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA"}]},on:{complete:e.complete}}),s!==e.processList.length-1?r("div",{staticClass:"user-task-split"}):e._e()]})]:e._e()],2):e._e()],1)],1),r("el-dialog",{staticClass:"track-view",attrs:{visible:e.flowChartVisible,width:"60%","append-to-body":"",title:"\u6D41\u7A0B\u56FE\u4FE1\u606F"},on:{"update:visible":function(a){e.flowChartVisible=a}},model:{value:e.flowChartVisible,callback:function(a){e.flowChartVisible=a},expression:"flowChartVisible"}},[e.flowChartVisible&&e.processXml?r("bpmnLook",{ref:"PreviewRef",attrs:{diagram:e.processXml}}):e._e()],1),r("el-dialog",{attrs:{visible:e.flowForecastVisible,width:"45%","append-to-body":"",title:"\u6D41\u7A0B\u9884\u6D4B"},on:{"update:visible":function(a){e.flowForecastVisible=a},close:e.flowForecastClose}},[r("div",{staticStyle:{"margin-left":"20px"}},[r("div",{staticStyle:{"margin-left":"40px","margin-bottom":"20px"},domProps:{innerHTML:e._s(e.flowForecastData.completeTime)}}),r("el-timeline",e._l(e.flowForecastData.processBudgetModelList,function(a,s){return r("el-timeline-item",{key:s,attrs:{icon:"el-icon-check",color:s==0?"#009800":a.color,timestamp:a.title,placement:"top"}},[r("div",[r("span",{staticStyle:{color:"#1389FF"}},[r("i",{staticClass:"el-icon-s-custom",staticStyle:{"margin-right":"5px"}}),e._v(" \u53D1\u8D77\u4EBA\uFF1A"+e._s(a.createUser)+" ")]),r("span",{staticStyle:{color:"#009800","margin-left":"50px"}},[r("i",{staticClass:"el-icon-s-custom",staticStyle:{"margin-right":"5px"}}),e._v(" \u6267\u884C\u4EBA\uFF1A"+e._s(a.excutor)+" ")])])])}),1)],1)])],1)},OU=[];const kZ="",CZ="";var Ds=null;Promise.resolve().then(()=>Br).then(({Message:e})=>{Ds=e});const TU={components:{userTask:py,bpmnLook:dO},props:{other:{default:!0},personType:"",personEntity:{type:Object,default:()=>{}},beforeFunction:{type:Function,default:null},showFlowForecast:{default:!1,type:Boolean},flowForecastFunction:{type:Function,default:null}},data(){return{revivalVars:{},processData:{},absoluteTaskId:"",userTaskListData:{},flag:!1,revival:!1,flowChartVisible:!1,flowForecastVisible:!1,flowForecastData:{completeTime:"",processBudgetModelList:[]},flowForecastProcessInstId:"",btnLoading:!1,processList:[],processDefId:"",processDefName:"",businessId:"",trackUrl:"",processDefList:[],otherProcessList:[],callback:{},cancelCallBack:{},_multiNodeParticipant:[],_businessDeptId:"",businessCode:"",_vars:{},_appId:"",deptList:[],defaultProps:{children:"children",label:"label",isLeaf(e,n){return e.isLeaf=="true"}},userInfo:{},deptId:"",hasDeptId:!1,subjectId:"",processXml:""}},provide(){return{getUserInfo:this.getUserInfo}},mounted(){console.info("%c\u26A1"+Tp.name+"%c v"+Tp.version,"background: linear-gradient(135deg, #ff3939ff, #ffbe5cff); color: white; padding: 9px 4px 9px 4px; border-radius: 3px 0 0 3px;font-size: 12px;","background: #5100ffff; color: white; padding: 9px 6px 9px 4px; border-radius: 0px 3px 3px 0px;font-size: 12px;")},methods:{getUserInfo(){return{deptId:this.deptId,subjectId:this.subjectId}},handleDeptChange(e){this.deptId=e,this.getUserDataByDeptId()},complete(e){},setLoading(e){this.btnLoading=e},async getXml(e){this.isXml;let n={},r="";try{n=await Xe.repository.getXmlByProcessDefId({processDefId:e}),n.code==200&&(r=n.data)}catch(a){console.error(a)}return r},async viewFlowChart(){this.flowChartVisible=!0,this.processXml=await this.getXml(this.processDefId),!Date.now()&&Xe.repository.getDiagramUrl({processDefId:this.processDefId,diagramType:1,type:qb.\u7535\u8111\u7AEF}).then(e=>{e.code==bt.success&&(window.location.protocol=="https:"?e.data.indexOf("http://121.40.143.183:80/")>=0?this.trackUrl=e.data.replace("http://121.40.143.183:80/","https://acme-aws.ddzg.cn/"):e.data.indexOf("http://121.40.143.183/")>=0?this.trackUrl=e.data.replace("http://121.40.143.183/","https://acme-aws.ddzg.cn/"):e.data.indexOf("http://acme-aws.ddzg.cn/")>=0?this.trackUrl=e.data.replace("http://acme-aws.ddzg.cn/","https://acme-aws.ddzg.cn/"):e.data.indexOf("http://59.53.91.231:8088/")>=0?this.trackUrl=e.data.replace("http://59.53.91.231:8088/","https://acme-test.ddzg.cn:2119/"):e.data.indexOf("http://59.53.91.230:8088/")>=0?this.trackUrl=e.data.replace("http://59.53.91.230:8088/","https://kq.ddzg.cn:8093/"):this.trackUrl=e.data:this.trackUrl=e.data,this.flowChartVisible=!0)})},viewFlowForecast(){this.flowForecastFunction?this.flowForecastFunction():this.forecast({appId:this._appId,title:"1"})},forecast(e){return this.btnLoading=!0,new Promise((n,r)=>{Xe.pis.getProcessForecast({processDefId:this.processDefId,...e}).then(a=>{this.btnLoading=!1,a.code==bt.success?(a.data&&a.data.processBudgetModelList&&a.data.processBudgetModelList.length?this.flowForecastProcessInstId=a.data.processBudgetModelList[0].processInstId:(a.data.processBudgetModelList=[],this.flowForecastProcessInstId=""),this.flowForecastData=a.data,this.flowForecastVisible=!0,n(a)):ElMessage.error(a.msg)}).catch(a=>{this.btnLoading=!1,ElMessage.error("\u6D41\u7A0B\u9884\u6D4B\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5"),r(a)})})},flowForecastClose(){this.flowForecastProcessInstId?Xe.pis.deleteProcessById(this.flowForecastProcessInstId).then(e=>{e.code==bt.success&&(this.flowForecastVisible=!1,this.flowForecastData={completeTime:"",processBudgetModelList:[]},this.flowForecastProcessInstId="")}):(this.flowForecastVisible=!1,this.flowForecastData={completeTime:"",processBudgetModelList:[]})},processDefChange(e){this.processDefId=e,Xe.repository.getFirstProcessNode(this.processDefId).then(async n=>{if(n.code==bt.success){if(this.processList=n.data,this.flag=!0,await this.getNodeUserDept(),!this.deptId)return;this.getUserDataByDeptId()}})},setItemRef(e){return this.userTaskListData[e]="userTask"+e,this.userTaskListData[e]},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"||e=="\u56FA\u5B9A\u7FA4\u7EC4"},createAndStart(e){return this.btnLoading=!0,new Promise((n,r)=>{if(!Object.values(this._multiNodeParticipant).some(s=>s&&Array.isArray(s)&&s.length>0))return Ds.warning("\u8BF7\u9009\u62E9 \u7B2C\u4E00\u4E2A\u8282\u70B9 \u5904\u7406\u4EBA"),this.btnLoading=!1,!1;Xe.pis.createAndStart({processDefId:this.processDefId,multiNodeParticipant:this._multiNodeParticipant,firstNodeId:this.processList&&this.processList.length>0?this.processList[0].id:"",vars:{showType:"all",subjectId:this.subjectId,deptId:this.deptId,businessType:this.businessCode+"",...e,...this._vars}}).then(s=>{this.btnLoading=!1,s.code==bt.success?(this.flag=!1,n(s)):Ds.error(s.msg)}).catch(s=>{this.btnLoading=!1,Ds.error("\u6D41\u7A0B\u542F\u52A8\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5"),r(s)})})},revivalFlow(e={},n=!1,r="\u6D41\u7A0B\u590D\u6D3B"){return this.btnLoading=!0,new Promise((a,s)=>{const c={...this.revivalVars,showType:"all",subjectId:this.subjectId,deptId:this.deptId,businessType:this.businessCode+"",...e,...this._vars};Object.keys(c).forEach(p=>{const m=p.toLowerCase();m.includes("_")&&delete c[p],m=="appShow"&&delete c[p]}),Xe.pis.reactivate({reactivate:!0,processDefId:this.processDefId,processInstId:this.processInstId,isClearHistory:this.isClearHistory,multiNodeParticipant:this._multiNodeParticipant,firstNodeId:this.processList&&this.processList.length>0?this.processList[0].id:"",vars:c},"",this.businessId,r,"",n,this._multiNodeParticipant).then(p=>{this.btnLoading=!1,p.code==bt.success?(this.flag=!1,a(p)):Ds.error(p.msg)}).catch(p=>{this.btnLoading=!1,Ds.error("\u6D41\u7A0B\u590D\u6D3B\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5"),s(p)})})},Show(e,n="",r=!1){return this.processList=[],this.revival=r,this.processDefId=e,n&&Xe.repository.getProcessDefList(n,"").then(a=>{a.code==bt.success&&a.data.map(s=>{s.id==e&&(this.processDefName=s.name)})}),new Promise((a,s)=>{this.cancelCallBack=s,Xe.repository.getFirstProcessNode(e).then(async c=>{if(c.code==bt.success){if(this.processList=c.data,this.flag=!0,await this.getNodeUserDept(),!this.deptId)return;this.getUserDataByDeptId(),this.callback=a}})})},selectShow(e={appId:"",businessCode:"",businessType:"",keyWord:"",businessDeptId:"",userInfo:{},processGroupName:""}){return this.processList=[],this.otherProcessList=[],this.processDefId="",this.processDefName="",this.revival=!1,this._appId=e.appId,this._businessDeptId=e.businessDeptId,this.businessCode=e.businessCode+""||e.businessType+"",this.userInfo=e.userInfo,this.deptId=e.userInfo.deptId,this.subjectId=e.userInfo.subjectId,this.hasDeptId=!!this.deptId,this._businessDeptId,new Promise((n,r)=>{this.cancelCallBack=r,Xe.repository.getProcessDefListNew(e).then(a=>{a.code==bt.success&&(a.data.length==1?(this.processDefList=a.data,this.processDefId=a.data[0].id,this.processDefName=a.data[0].name,Xe.repository.getFirstProcessNode(this.processDefId).then(async s=>{if(s.code==bt.success){if(this.processList=s.data,this.flag=!0,this.callback=n,await this.getNodeUserDept(),!this.deptId)return;this.getUserDataByDeptId()}})):(this.processList=[],this.otherProcessList=[],this.processDefId="",this.processDefName="",this.processDefList=a.data,e.keyWord&&this.processDefList.map(s=>{s.name.indexOf(e.keyWord)!=-1&&!this.processDefId&&(this.processDefId=s.id,this.processDefName=s.name,this.processDefChange(s.id))}),this.flag=!0,this.callback=n))})})},getUserDataByDeptId(){this.processList.map(async(e,n)=>{const r=Tx(e);let a;try{a=await this.getNodeUser({deptId:this.deptId,intersection:r.intersection?1:0,userIds:r.userIds,postIds:r.postIds,deptIds:r.deptIds})}catch(s){}if(a.code==bt.success){const s=this.processList[n];s.userList=a.data,this.processList[n]=s}})},async getNodeUser({deptId:e,intersection:n,userIds:r,postIds:a,deptIds:s}){return await Xe.user.getTaskAuditor({deptId:e,intersection:n,userIds:r,postIds:a,deptIds:s})},async getNodeUserDept(){let e={};try{e=await Xe.user.getSelectTree()}catch(n){}e.data,this.deptList=e.data||[]},listShow(e){return this.processList=[],this.otherProcessList=[],this.processDefId="",this.processDefName="",this.revival=!1,new Promise((n,r)=>{e.length==1?(this.processDefId=e[0].id,this.processDefName=e[0].name,this.cancelCallBack=r,Xe.repository.getFirstProcessNode(this.processDefId).then(a=>{a.code==bt.success&&(this.processList=a.data,this.flag=!0,this.callback=n,Xe.repository.getAfferentParticipantNodeList(this.processDefId).then(s=>{this.otherProcessList=s.data.filter(c=>c.id!=this.processList[0].id),this.otherProcessList.map(c=>{c.REQUIRED=!1})}))})):(this.processDefList=e,this.flag=!0,this.callback=n)})},async getProcessInfo({taskId:e,processInstId:n}){let r={};try{r=await Xe.tis.getTaskModelDetail(e?{processInstId:n,taskId:e}:{processInstId:n})}catch{r={}}return r.code==200,r},async revivalShow({processInstId:e,businessId:n,taskId:r,deptId:a}){this.processInstId=e,this.hasDeptId=!!a;let s=await this.getProcessInfo({taskId:r,processInstId:e});if(s.code==200){this.processData={...this.initProcessData,...s.data||{}};const c=((this.processData.process||{}).variables||{}).deptId;this.deptId=c,this._businessDeptId=c,this.hasDeptId=!!c;const p=(this.processData.process||{}).taskId;return this.absoluteTaskId=p,this.revival=!0,this.businessId=n,this.subjectId=s.data.process.variables.subjectId,this.businessCode=s.data.process.variables.businessType+"",this.revivalVars=s.data.process.variables,this.processDefId=s.data.process.processDefinitionId,this.processDefName=s.data.process.processDefinitionName,this.processDefList=[],this.Show(s.data.process.processDefinitionId,"",!0)}},onClickOperation(){if(!this.processDefId||this.processDefId=="")return Ds.warning("\u8BF7\u9009\u62E9\u6D41\u7A0B"),!1;let e={},n={};for(let r in this.userTaskListData){let a=this.userTaskListData[r],s=this.$refs[a][0],c=s?s.getValue():{multiNodeParticipant:[],vars:{}};if(!c)return!1;e={...e,...c.multiNodeParticipant},n={...n,...c.vars}}this._multiNodeParticipant=e,this._vars=n,this.callback,this.beforeFunction?this.beforeFunction():this.callback&&this.callback(this.revival?this.revivalFlow:this.createAndStart)},onClickCancel(){this.flag=!1,this.btnLoading=!1,this.cancelCallBack&&this.cancelCallBack()}}},gO={};var NU=un(TU,IU,OU,!1,MU,"083f5f94",null,null);function MU(e){for(let n in gO)this[n]=gO[n]}const FU=function(){return NU.exports}();var PU=function(){var e=this,n=e.$createElement,r=e._self._c||n;return r("div",[r("el-dialog",{attrs:{visible:e.flag,width:"35%",title:"\u91CD\u65B0\u53D1\u8D77","append-to-body":""},on:{"update:visible":function(a){e.flag=a},close:e.onClickCancel},scopedSlots:e._u([{key:"footer",fn:function(){return[r("el-button",{directives:[{name:"loading",rawName:"v-loading"}],attrs:{type:"primary"},on:{click:e.onClickOperation}},[e._v("\u786E \u5B9A")]),r("el-button",{on:{click:e.onClickCancel}},[e._v("\u53D6 \u6D88")])]},proxy:!0}])},[r("el-form",{attrs:{"label-width":"100px","status-icon":""}},[e.isUserTask?e._l(e.processList,function(a){return r("userTask",{key:a.id,ref:e.setItemRef(a.id),refInFor:!0,attrs:{processNode:a}})}):e._e()],2)],1)],1)},RU=[],AO=null;Promise.resolve().then(()=>Br).then(({Message:e})=>{AO=e});const jU={components:{userTask:py},data(){return{userTaskListData:{},flag:!1,processList:[],callbacak:{},commentMsg:"",isUserTask:!1,cancelCallBack:{}}},methods:{setItemRef(e){return this.userTaskListData[e]="userTask"+e,this.userTaskListData[e]},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"},Show(e){return new Promise((n,r)=>{this.cancelCallBack=r,Xe.repository.getFirstProcessNode(e).then(a=>{a.code==bt.success&&(this.processList=a.data,this.isOption(this.processList[0].humanPerformerName)&&!this.processList[0].isHistoryRoute?(this.flag=!0,this.callbacak=n,this.isUserTask=!0):n({commentMsg:this.commentMsg||"\u91CD\u65B0\u53D1\u8D77"}))})})},onClickOperation(){if(this.commentMsg.length>200)return AO.error("\u5BA1\u6279\u610F\u89C1\u4E0D\u80FD\u8D85\u8FC7200\u4E2A\u5B57"),!1;let e={};if(e={commentMsg:this.commentMsg||"\u91CD\u65B0\u53D1\u8D77"},this.isUserTask){let n={},r={};for(let a in this.userTaskListData){let s=this.userTaskListData[a],p=this.$refs[s][0].getValue();if(!p)return!1;n={...n,...p.multiNodeParticipant},r={...r,...p.vars},e={...e,multiNodeParticipant:n,vars:r}}}this.callbacak&&this.callbacak(e),this.flag=!1},onClickCancel(){this.flag=!1,this.cancelCallBack&&this.cancelCallBack()}}},vO={};var LU=un(jU,PU,RU,!1,QU,null,null,null);function QU(e){for(let n in vO)this[n]=vO[n]}const zU=function(){return LU.exports}();Promise.resolve().then(()=>xJ);var Nx={exports:{}},Ue={},Mx={exports:{}},bO;function _O(){return bO||(bO=1,function(e){(function(n){var r={},a=/d{1,4}|M{1,4}|yy(?:yy)?|S{1,3}|Do|ZZ|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,s="\\d\\d?",c="\\d{3}",p="\\d{4}",m="[^\\s]+",g=/\[([^]*?)\]/gm,y=function(){};function O(w){return w.replace(/[|\\{()[^$+*?.-]/g,"\\$&")}function k(w,I){for(var z=[],F=0,V=w.length;F<V;F++)z.push(w[F].substr(0,I));return z}function N(w){return function(I,z,F){var V=F[w].indexOf(z.charAt(0).toUpperCase()+z.substr(1).toLowerCase());~V&&(I.month=V)}}function _(w,I){for(w=String(w),I=I||2;w.length<I;)w="0"+w;return w}var S=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],M=["January","February","March","April","May","June","July","August","September","October","November","December"],P=k(M,3),T=k(S,3);r.i18n={dayNamesShort:T,dayNames:S,monthNamesShort:P,monthNames:M,amPm:["am","pm"],DoFn:function(I){return I+["th","st","nd","rd"][I%10>3?0:(I-I%10!==10)*I%10]}};var R={D:function(I){return I.getDay()},DD:function(I){return _(I.getDay())},Do:function(I,z){return z.DoFn(I.getDate())},d:function(I){return I.getDate()},dd:function(I){return _(I.getDate())},ddd:function(I,z){return z.dayNamesShort[I.getDay()]},dddd:function(I,z){return z.dayNames[I.getDay()]},M:function(I){return I.getMonth()+1},MM:function(I){return _(I.getMonth()+1)},MMM:function(I,z){return z.monthNamesShort[I.getMonth()]},MMMM:function(I,z){return z.monthNames[I.getMonth()]},yy:function(I){return _(String(I.getFullYear()),4).substr(2)},yyyy:function(I){return _(I.getFullYear(),4)},h:function(I){return I.getHours()%12||12},hh:function(I){return _(I.getHours()%12||12)},H:function(I){return I.getHours()},HH:function(I){return _(I.getHours())},m:function(I){return I.getMinutes()},mm:function(I){return _(I.getMinutes())},s:function(I){return I.getSeconds()},ss:function(I){return _(I.getSeconds())},S:function(I){return Math.round(I.getMilliseconds()/100)},SS:function(I){return _(Math.round(I.getMilliseconds()/10),2)},SSS:function(I){return _(I.getMilliseconds(),3)},a:function(I,z){return I.getHours()<12?z.amPm[0]:z.amPm[1]},A:function(I,z){return I.getHours()<12?z.amPm[0].toUpperCase():z.amPm[1].toUpperCase()},ZZ:function(I){var z=I.getTimezoneOffset();return(z>0?"-":"+")+_(Math.floor(Math.abs(z)/60)*100+Math.abs(z)%60,4)}},b={d:[s,function(w,I){w.day=I}],Do:[s+m,function(w,I){w.day=parseInt(I,10)}],M:[s,function(w,I){w.month=I-1}],yy:[s,function(w,I){var z=new Date,F=+(""+z.getFullYear()).substr(0,2);w.year=""+(I>68?F-1:F)+I}],h:[s,function(w,I){w.hour=I}],m:[s,function(w,I){w.minute=I}],s:[s,function(w,I){w.second=I}],yyyy:[p,function(w,I){w.year=I}],S:["\\d",function(w,I){w.millisecond=I*100}],SS:["\\d{2}",function(w,I){w.millisecond=I*10}],SSS:[c,function(w,I){w.millisecond=I}],D:[s,y],ddd:[m,y],MMM:[m,N("monthNamesShort")],MMMM:[m,N("monthNames")],a:[m,function(w,I,z){var F=I.toLowerCase();F===z.amPm[0]?w.isPm=!1:F===z.amPm[1]&&(w.isPm=!0)}],ZZ:["[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z",function(w,I){var z=(I+"").match(/([+-]|\d\d)/gi),F;z&&(F=+(z[1]*60)+parseInt(z[2],10),w.timezoneOffset=z[0]==="+"?F:-F)}]};b.dd=b.d,b.dddd=b.ddd,b.DD=b.D,b.mm=b.m,b.hh=b.H=b.HH=b.h,b.MM=b.M,b.ss=b.s,b.A=b.a,r.masks={default:"ddd MMM dd yyyy HH:mm:ss",shortDate:"M/D/yy",mediumDate:"MMM d, yyyy",longDate:"MMMM d, yyyy",fullDate:"dddd, MMMM d, yyyy",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},r.format=function(w,I,z){var F=z||r.i18n;if(typeof w=="number"&&(w=new Date(w)),Object.prototype.toString.call(w)!=="[object Date]"||isNaN(w.getTime()))throw new Error("Invalid Date in fecha.format");I=r.masks[I]||I||r.masks.default;var V=[];return I=I.replace(g,function(ee,ne){return V.push(ne),"@@@"}),I=I.replace(a,function(ee){return ee in R?R[ee](w,F):ee.slice(1,ee.length-1)}),I.replace(/@@@/g,function(){return V.shift()})},r.parse=function(w,I,z){var F=z||r.i18n;if(typeof I!="string")throw new Error("Invalid format in fecha.parse");if(I=r.masks[I]||I,w.length>1e3)return null;var V={},ee=[],ne=[];I=I.replace(g,function(_e,W){return ne.push(W),"@@@"});var se=O(I).replace(a,function(_e){if(b[_e]){var W=b[_e];return ee.push(W[1]),"("+W[0]+")"}return _e});se=se.replace(/@@@/g,function(){return ne.shift()});var me=w.match(new RegExp(se,"i"));if(!me)return null;for(var pe=1;pe<me.length;pe++)ee[pe-1](V,me[pe],F);var Se=new Date;V.isPm===!0&&V.hour!=null&&+V.hour!=12?V.hour=+V.hour+12:V.isPm===!1&&+V.hour==12&&(V.hour=0);var ye;return V.timezoneOffset!=null?(V.minute=+(V.minute||0)-+V.timezoneOffset,ye=new Date(Date.UTC(V.year||Se.getFullYear(),V.month||0,V.day||1,V.hour||0,V.minute||0,V.second||0,V.millisecond||0))):ye=new Date(V.year||Se.getFullYear(),V.month||0,V.day||1,V.hour||0,V.minute||0,V.second||0,V.millisecond||0),ye},e.exports?e.exports=r:n.fecha=r})(void 0)}(Mx)),Mx.exports}var $r={},am={},yO;function VU(){return yO||(yO=1,am.__esModule=!0,am.default={el:{colorpicker:{confirm:"\u786E\u5B9A",clear:"\u6E05\u7A7A"},datepicker:{now:"\u6B64\u523B",today:"\u4ECA\u5929",cancel:"\u53D6\u6D88",clear:"\u6E05\u7A7A",confirm:"\u786E\u5B9A",selectDate:"\u9009\u62E9\u65E5\u671F",selectTime:"\u9009\u62E9\u65F6\u95F4",startDate:"\u5F00\u59CB\u65E5\u671F",startTime:"\u5F00\u59CB\u65F6\u95F4",endDate:"\u7ED3\u675F\u65E5\u671F",endTime:"\u7ED3\u675F\u65F6\u95F4",prevYear:"\u524D\u4E00\u5E74",nextYear:"\u540E\u4E00\u5E74",prevMonth:"\u4E0A\u4E2A\u6708",nextMonth:"\u4E0B\u4E2A\u6708",year:"\u5E74",month1:"1 \u6708",month2:"2 \u6708",month3:"3 \u6708",month4:"4 \u6708",month5:"5 \u6708",month6:"6 \u6708",month7:"7 \u6708",month8:"8 \u6708",month9:"9 \u6708",month10:"10 \u6708",month11:"11 \u6708",month12:"12 \u6708",weeks:{sun:"\u65E5",mon:"\u4E00",tue:"\u4E8C",wed:"\u4E09",thu:"\u56DB",fri:"\u4E94",sat:"\u516D"},months:{jan:"\u4E00\u6708",feb:"\u4E8C\u6708",mar:"\u4E09\u6708",apr:"\u56DB\u6708",may:"\u4E94\u6708",jun:"\u516D\u6708",jul:"\u4E03\u6708",aug:"\u516B\u6708",sep:"\u4E5D\u6708",oct:"\u5341\u6708",nov:"\u5341\u4E00\u6708",dec:"\u5341\u4E8C\u6708"}},select:{loading:"\u52A0\u8F7D\u4E2D",noMatch:"\u65E0\u5339\u914D\u6570\u636E",noData:"\u65E0\u6570\u636E",placeholder:"\u8BF7\u9009\u62E9"},cascader:{noMatch:"\u65E0\u5339\u914D\u6570\u636E",loading:"\u52A0\u8F7D\u4E2D",placeholder:"\u8BF7\u9009\u62E9",noData:"\u6682\u65E0\u6570\u636E"},pagination:{goto:"\u524D\u5F80",pagesize:"\u6761/\u9875",total:"\u5171 {total} \u6761",pageClassifier:"\u9875"},messagebox:{title:"\u63D0\u793A",confirm:"\u786E\u5B9A",cancel:"\u53D6\u6D88",error:"\u8F93\u5165\u7684\u6570\u636E\u4E0D\u5408\u6CD5!"},upload:{deleteTip:"\u6309 delete \u952E\u53EF\u5220\u9664",delete:"\u5220\u9664",preview:"\u67E5\u770B\u56FE\u7247",continue:"\u7EE7\u7EED\u4E0A\u4F20"},table:{emptyText:"\u6682\u65E0\u6570\u636E",confirmFilter:"\u7B5B\u9009",resetFilter:"\u91CD\u7F6E",clearFilter:"\u5168\u90E8",sumText:"\u5408\u8BA1"},tree:{emptyText:"\u6682\u65E0\u6570\u636E"},transfer:{noMatch:"\u65E0\u5339\u914D\u6570\u636E",noData:"\u65E0\u6570\u636E",titles:["\u5217\u8868 1","\u5217\u8868 2"],filterPlaceholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",noCheckedFormat:"\u5171 {total} \u9879",hasCheckedFormat:"\u5DF2\u9009 {checked}/{total} \u9879"},image:{error:"\u52A0\u8F7D\u5931\u8D25"},pageHeader:{title:"\u8FD4\u56DE"},popconfirm:{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88"},empty:{description:"\u6682\u65E0\u6570\u636E"}}}),am}var Fx,xO;function HU(){if(xO)return Fx;xO=1;var e=function(_){return n(_)&&!r(_)};function n(N){return!!N&&typeof N=="object"}function r(N){var _=Object.prototype.toString.call(N);return _==="[object RegExp]"||_==="[object Date]"||c(N)}var a=typeof Symbol=="function"&&Symbol.for,s=a?Symbol.for("react.element"):60103;function c(N){return N.$$typeof===s}function p(N){return Array.isArray(N)?[]:{}}function m(N,_){var S=_&&_.clone===!0;return S&&e(N)?O(p(N),N,_):N}function g(N,_,S){var M=N.slice();return _.forEach(function(P,T){typeof M[T]>"u"?M[T]=m(P,S):e(P)?M[T]=O(N[T],P,S):N.indexOf(P)===-1&&M.push(m(P,S))}),M}function y(N,_,S){var M={};return e(N)&&Object.keys(N).forEach(function(P){M[P]=m(N[P],S)}),Object.keys(_).forEach(function(P){!e(_[P])||!N[P]?M[P]=m(_[P],S):M[P]=O(N[P],_[P],S)}),M}function O(N,_,S){var M=Array.isArray(_),P=Array.isArray(N),T=S||{arrayMerge:g},R=M===P;if(R)if(M){var b=T.arrayMerge||g;return b(N,_,S)}else return y(N,_,S);else return m(_,S)}O.all=function(_,S){if(!Array.isArray(_)||_.length<2)throw new Error("first argument should be an array with at least two elements");return _.reduce(function(M,P){return O(M,P,S)})};var k=O;return Fx=k,Fx}var om={},lt={},Hi={},wO;function EO(){if(wO)return Hi;wO=1,Hi.__esModule=!0,Hi.isDefined=Hi.isUndefined=Hi.isFunction=void 0;var e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g};Hi.isString=s,Hi.isObject=c,Hi.isHtmlElement=p;var n=Mi.default,r=a(n);function a(g){return g&&g.__esModule?g:{default:g}}function s(g){return Object.prototype.toString.call(g)==="[object String]"}function c(g){return Object.prototype.toString.call(g)==="[object Object]"}function p(g){return g&&g.nodeType===Node.ELEMENT_NODE}var m=function(y){var O={};return y&&O.toString.call(y)==="[object Function]"};return typeof/./!="function"&&(typeof Int8Array>"u"?"undefined":e(Int8Array))!=="object"&&(r.default.prototype.$isServer||typeof document.childNodes!="function")&&(Hi.isFunction=m=function(y){return typeof y=="function"||!1}),Hi.isFunction=m,Hi.isUndefined=function(y){return y===void 0},Hi.isDefined=function(y){return y!=null},Hi}var kO;function Dr(){if(kO)return lt;kO=1,lt.__esModule=!0,lt.isMac=lt.isEmpty=lt.isEqual=lt.arrayEquals=lt.looseEqual=lt.capitalize=lt.kebabCase=lt.autoprefixer=lt.isFirefox=lt.isEdge=lt.isIE=lt.coerceTruthyValueToArray=lt.arrayFind=lt.arrayFindIndex=lt.escapeRegexpString=lt.valueEquals=lt.generateId=lt.getValueByPath=void 0;var e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(T){return typeof T}:function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T};lt.noop=p,lt.hasOwn=m,lt.toObject=y,lt.getPropByPath=O,lt.rafThrottle=M,lt.objToArray=P;var n=Mi.default,r=s(n),a=EO();function s(T){return T&&T.__esModule?T:{default:T}}var c=Object.prototype.hasOwnProperty;function p(){}function m(T,R){return c.call(T,R)}function g(T,R){for(var b in R)T[b]=R[b];return T}function y(T){for(var R={},b=0;b<T.length;b++)T[b]&&g(R,T[b]);return R}lt.getValueByPath=function(R,b){b=b||"";for(var w=b.split("."),I=R,z=null,F=0,V=w.length;F<V;F++){var ee=w[F];if(!I)break;if(F===V-1){z=I[ee];break}I=I[ee]}return z};function O(T,R,b){var w=T;R=R.replace(/\[(\w+)\]/g,".$1"),R=R.replace(/^\./,"");for(var I=R.split("."),z=0,F=I.length;z<F-1&&!(!w&&!b);++z){var V=I[z];if(V in w)w=w[V];else{if(b)throw new Error("please transfer a valid prop path to form item!");break}}return{o:w,k:I[z],v:w?w[I[z]]:null}}lt.generateId=function(){return Math.floor(Math.random()*1e4)},lt.valueEquals=function(R,b){if(R===b)return!0;if(!(R instanceof Array)||!(b instanceof Array)||R.length!==b.length)return!1;for(var w=0;w!==R.length;++w)if(R[w]!==b[w])return!1;return!0},lt.escapeRegexpString=function(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return String(R).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")};var k=lt.arrayFindIndex=function(R,b){for(var w=0;w!==R.length;++w)if(b(R[w]))return w;return-1};lt.arrayFind=function(R,b){var w=k(R,b);return w!==-1?R[w]:void 0},lt.coerceTruthyValueToArray=function(R){return Array.isArray(R)?R:R?[R]:[]},lt.isIE=function(){return!r.default.prototype.$isServer&&!isNaN(Number(document.documentMode))},lt.isEdge=function(){return!r.default.prototype.$isServer&&navigator.userAgent.indexOf("Edge")>-1},lt.isFirefox=function(){return!r.default.prototype.$isServer&&!!window.navigator.userAgent.match(/firefox/i)},lt.autoprefixer=function(R){if((typeof R>"u"?"undefined":e(R))!=="object")return R;var b=["transform","transition","animation"],w=["ms-","webkit-"];return b.forEach(function(I){var z=R[I];I&&z&&w.forEach(function(F){R[F+I]=z})}),R},lt.kebabCase=function(R){var b=/([^-])([A-Z])/g;return R.replace(b,"$1-$2").replace(b,"$1-$2").toLowerCase()},lt.capitalize=function(R){return(0,a.isString)(R)?R.charAt(0).toUpperCase()+R.slice(1):R};var N=lt.looseEqual=function(R,b){var w=(0,a.isObject)(R),I=(0,a.isObject)(b);return w&&I?JSON.stringify(R)===JSON.stringify(b):!w&&!I?String(R)===String(b):!1},_=lt.arrayEquals=function(R,b){if(R=R||[],b=b||[],R.length!==b.length)return!1;for(var w=0;w<R.length;w++)if(!N(R[w],b[w]))return!1;return!0};lt.isEqual=function(R,b){return Array.isArray(R)&&Array.isArray(b)?_(R,b):N(R,b)};var S=lt.isEmpty=function(R){if(R==null)return!0;if(typeof R=="boolean")return!1;if(typeof R=="number")return!R;if(R instanceof Error)return R.message==="";switch(Object.prototype.toString.call(R)){case"[object String]":case"[object Array]":return!R.length;case"[object File]":case"[object Map]":case"[object Set]":return!R.size;case"[object Object]":return!Object.keys(R).length}return!1};function M(T){var R=!1;return function(){for(var b=this,w=arguments.length,I=Array(w),z=0;z<w;z++)I[z]=arguments[z];R||(R=!0,window.requestAnimationFrame(function(F){T.apply(b,I),R=!1}))}}function P(T){return Array.isArray(T)?T:S(T)?[]:[T]}return lt.isMac=function(){return!r.default.prototype.$isServer&&/macintosh|mac os x/i.test(navigator.userAgent)},lt}var CO;function UU(){if(CO)return om;CO=1,om.__esModule=!0;var e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a};om.default=function(a){function s(c){for(var p=arguments.length,m=Array(p>1?p-1:0),g=1;g<p;g++)m[g-1]=arguments[g];return m.length===1&&e(m[0])==="object"&&(m=m[0]),(!m||!m.hasOwnProperty)&&(m={}),c.replace(r,function(y,O,k,N){var _=void 0;return c[N-1]==="{"&&c[N+y.length]==="}"?k:(_=(0,n.hasOwn)(m,k)?m[k]:null,_==null?"":_)})}return s};var n=Dr(),r=/(%|)\{([0-9a-zA-Z_]+)\}/g;return om}var SO;function Px(){if(SO)return $r;SO=1,$r.__esModule=!0,$r.i18n=$r.use=$r.t=void 0;var e=VU(),n=g(e),r=Mi.default,a=g(r),s=HU(),c=g(s),p=UU(),m=g(p);function g(P){return P&&P.__esModule?P:{default:P}}var y=(0,m.default)(a.default),O=n.default,k=!1,N=function(){var T=Object.getPrototypeOf(this||a.default).$t;if(typeof T=="function"&&!!a.default.locale)return k||(k=!0,a.default.locale(a.default.config.lang,(0,c.default)(O,a.default.locale(a.default.config.lang)||{},{clone:!0}))),T.apply(this,arguments)},_=$r.t=function(T,R){var b=N.apply(this,arguments);if(b!=null)return b;for(var w=T.split("."),I=O,z=0,F=w.length;z<F;z++){var V=w[z];if(b=I[V],z===F-1)return y(b,R);if(!b)return"";I=b}return""},S=$r.use=function(T){O=T||O},M=$r.i18n=function(T){N=T||N};return $r.default={use:S,t:_,i18n:M},$r}var DO;function YU(){if(DO)return Ue;DO=1,Ue.__esModule=!0,Ue.validateRangeInOneMonth=Ue.extractTimeFormat=Ue.extractDateFormat=Ue.nextYear=Ue.prevYear=Ue.nextMonth=Ue.prevMonth=Ue.changeYearMonthAndClampDate=Ue.timeWithinRange=Ue.limitTimeRange=Ue.clearMilliseconds=Ue.clearTime=Ue.modifyWithTimeString=Ue.modifyTime=Ue.modifyDate=Ue.range=Ue.getRangeMinutes=Ue.getMonthDays=Ue.getPrevMonthLastDays=Ue.getRangeHours=Ue.getWeekNumber=Ue.getStartDateOfMonth=Ue.nextDate=Ue.prevDate=Ue.getFirstDayOfMonth=Ue.getDayCountOfYear=Ue.getDayCountOfMonth=Ue.parseDate=Ue.formatDate=Ue.isDateObject=Ue.isDate=Ue.toDate=Ue.getI18nSettings=void 0;var e=_O(),n=a(e),r=Px();function a(b){return b&&b.__esModule?b:{default:b}}var s=["sun","mon","tue","wed","thu","fri","sat"],c=["jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"],p=function(w,I){for(var z=[],F=w;F<=I;F++)z.push(F);return z},m=Ue.getI18nSettings=function(){return{dayNamesShort:s.map(function(w){return(0,r.t)("el.datepicker.weeks."+w)}),dayNames:s.map(function(w){return(0,r.t)("el.datepicker.weeks."+w)}),monthNamesShort:c.map(function(w){return(0,r.t)("el.datepicker.months."+w)}),monthNames:c.map(function(w,I){return(0,r.t)("el.datepicker.month"+(I+1))}),amPm:["am","pm"]}},g=Ue.toDate=function(w){return y(w)?new Date(w):null},y=Ue.isDate=function(w){return!(w==null||isNaN(new Date(w).getTime())||Array.isArray(w))};Ue.isDateObject=function(w){return w instanceof Date},Ue.formatDate=function(w,I){return w=g(w),w?n.default.format(w,I||"yyyy-MM-dd",m()):""};var O=Ue.parseDate=function(w,I){return n.default.parse(w,I||"yyyy-MM-dd",m())},k=Ue.getDayCountOfMonth=function(w,I){return isNaN(+I)?31:new Date(w,+I+1,0).getDate()};Ue.getDayCountOfYear=function(w){var I=w%400===0||w%100!==0&&w%4===0;return I?366:365},Ue.getFirstDayOfMonth=function(w){var I=new Date(w.getTime());return I.setDate(1),I.getDay()};var N=Ue.prevDate=function(w){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return new Date(w.getFullYear(),w.getMonth(),w.getDate()-I)};Ue.nextDate=function(w){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return new Date(w.getFullYear(),w.getMonth(),w.getDate()+I)},Ue.getStartDateOfMonth=function(w,I){var z=new Date(w,I,1),F=z.getDay();return F===0?N(z,7):N(z,F)},Ue.getWeekNumber=function(w){if(!y(w))return null;var I=new Date(w.getTime());I.setHours(0,0,0,0),I.setDate(I.getDate()+3-(I.getDay()+6)%7);var z=new Date(I.getFullYear(),0,4);return 1+Math.round(((I.getTime()-z.getTime())/864e5-3+(z.getDay()+6)%7)/7)},Ue.getRangeHours=function(w){var I=[],z=[];if((w||[]).forEach(function(ee){var ne=ee.map(function(se){return se.getHours()});z=z.concat(p(ne[0],ne[1]))}),z.length)for(var F=0;F<24;F++)I[F]=z.indexOf(F)===-1;else for(var V=0;V<24;V++)I[V]=!1;return I},Ue.getPrevMonthLastDays=function(w,I){if(I<=0)return[];var z=new Date(w.getTime());z.setDate(0);var F=z.getDate();return S(I).map(function(V,ee){return F-(I-ee-1)})},Ue.getMonthDays=function(w){var I=new Date(w.getFullYear(),w.getMonth()+1,0),z=I.getDate();return S(z).map(function(F,V){return V+1})};function _(b,w,I,z){for(var F=w;F<I;F++)b[F]=z}Ue.getRangeMinutes=function(w,I){var z=new Array(60);return w.length>0?w.forEach(function(F){var V=F[0],ee=F[1],ne=V.getHours(),se=V.getMinutes(),me=ee.getHours(),pe=ee.getMinutes();ne===I&&me!==I?_(z,se,60,!0):ne===I&&me===I?_(z,se,pe+1,!0):ne!==I&&me===I?_(z,0,pe+1,!0):ne<I&&me>I&&_(z,0,60,!0)}):_(z,0,60,!0),z};var S=Ue.range=function(w){return Array.apply(null,{length:w}).map(function(I,z){return z})},M=Ue.modifyDate=function(w,I,z,F){return new Date(I,z,F,w.getHours(),w.getMinutes(),w.getSeconds(),w.getMilliseconds())},P=Ue.modifyTime=function(w,I,z,F){return new Date(w.getFullYear(),w.getMonth(),w.getDate(),I,z,F,w.getMilliseconds())};Ue.modifyWithTimeString=function(w,I){return w==null||!I?w:(I=O(I,"HH:mm:ss"),P(w,I.getHours(),I.getMinutes(),I.getSeconds()))},Ue.clearTime=function(w){return new Date(w.getFullYear(),w.getMonth(),w.getDate())},Ue.clearMilliseconds=function(w){return new Date(w.getFullYear(),w.getMonth(),w.getDate(),w.getHours(),w.getMinutes(),w.getSeconds(),0)};var T=Ue.limitTimeRange=function(w,I){var z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"HH:mm:ss";if(I.length===0)return w;var F=function(Se){return n.default.parse(n.default.format(Se,z),z)},V=F(w),ee=I.map(function(pe){return pe.map(F)});if(ee.some(function(pe){return V>=pe[0]&&V<=pe[1]}))return w;var ne=ee[0][0],se=ee[0][0];ee.forEach(function(pe){ne=new Date(Math.min(pe[0],ne)),se=new Date(Math.max(pe[1],ne))});var me=V<ne?ne:se;return M(me,w.getFullYear(),w.getMonth(),w.getDate())};Ue.timeWithinRange=function(w,I,z){var F=T(w,I,z);return F.getTime()===w.getTime()};var R=Ue.changeYearMonthAndClampDate=function(w,I,z){var F=Math.min(w.getDate(),k(I,z));return M(w,I,z,F)};return Ue.prevMonth=function(w){var I=w.getFullYear(),z=w.getMonth();return z===0?R(w,I-1,11):R(w,I,z-1)},Ue.nextMonth=function(w){var I=w.getFullYear(),z=w.getMonth();return z===11?R(w,I+1,0):R(w,I,z+1)},Ue.prevYear=function(w){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,z=w.getFullYear(),F=w.getMonth();return R(w,z-I,F)},Ue.nextYear=function(w){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,z=w.getFullYear(),F=w.getMonth();return R(w,z+I,F)},Ue.extractDateFormat=function(w){return w.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim()},Ue.extractTimeFormat=function(w){return w.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?y{2,4}/g,"").trim()},Ue.validateRangeInOneMonth=function(w,I){return w.getMonth()===I.getMonth()&&w.getFullYear()===I.getFullYear()},Ue}var an={},BO;function Sa(){if(BO)return an;BO=1,an.__esModule=!0,an.isInContainer=an.getScrollContainer=an.isScroll=an.getStyle=an.once=an.off=an.on=void 0;var e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(R){return typeof R}:function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R};an.hasClass=N,an.addClass=_,an.removeClass=S,an.setStyle=P;var n=Mi.default,r=a(n);function a(R){return R&&R.__esModule?R:{default:R}}var s=r.default.prototype.$isServer,c=/([\:\-\_]+(.))/g,p=/^moz([A-Z])/,m=s?0:Number(document.documentMode),g=function(b){return(b||"").replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,"")},y=function(b){return b.replace(c,function(w,I,z,F){return F?z.toUpperCase():z}).replace(p,"Moz$1")},O=an.on=function(){return!s&&document.addEventListener?function(R,b,w){R&&b&&w&&R.addEventListener(b,w,!1)}:function(R,b,w){R&&b&&w&&R.attachEvent("on"+b,w)}}(),k=an.off=function(){return!s&&document.removeEventListener?function(R,b,w){R&&b&&R.removeEventListener(b,w,!1)}:function(R,b,w){R&&b&&R.detachEvent("on"+b,w)}}();an.once=function(b,w,I){var z=function F(){I&&I.apply(this,arguments),k(b,w,F)};O(b,w,z)};function N(R,b){if(!R||!b)return!1;if(b.indexOf(" ")!==-1)throw new Error("className should not contain space.");return R.classList?R.classList.contains(b):(" "+R.className+" ").indexOf(" "+b+" ")>-1}function _(R,b){if(!!R){for(var w=R.className,I=(b||"").split(" "),z=0,F=I.length;z<F;z++){var V=I[z];!V||(R.classList?R.classList.add(V):N(R,V)||(w+=" "+V))}R.classList||R.setAttribute("class",w)}}function S(R,b){if(!(!R||!b)){for(var w=b.split(" "),I=" "+R.className+" ",z=0,F=w.length;z<F;z++){var V=w[z];!V||(R.classList?R.classList.remove(V):N(R,V)&&(I=I.replace(" "+V+" "," ")))}R.classList||R.setAttribute("class",g(I))}}var M=an.getStyle=m<9?function(R,b){if(!s){if(!R||!b)return null;b=y(b),b==="float"&&(b="styleFloat");try{switch(b){case"opacity":try{return R.filters.item("alpha").opacity/100}catch{return 1}default:return R.style[b]||R.currentStyle?R.currentStyle[b]:null}}catch{return R.style[b]}}}:function(R,b){if(!s){if(!R||!b)return null;b=y(b),b==="float"&&(b="cssFloat");try{var w=document.defaultView.getComputedStyle(R,"");return R.style[b]||w?w[b]:null}catch{return R.style[b]}}};function P(R,b,w){if(!(!R||!b))if((typeof b>"u"?"undefined":e(b))==="object")for(var I in b)b.hasOwnProperty(I)&&P(R,I,b[I]);else b=y(b),b==="opacity"&&m<9?R.style.filter=isNaN(w)?"":"alpha(opacity="+w*100+")":R.style[b]=w}var T=an.isScroll=function(b,w){if(!s){var I=w!=null,z=I?w?M(b,"overflow-y"):M(b,"overflow-x"):M(b,"overflow");return z.match(/(scroll|auto|overlay)/)}};return an.getScrollContainer=function(b,w){if(!s){for(var I=b;I;){if([window,document,document.documentElement].includes(I))return window;if(T(I,w))return I;I=I.parentNode}return I}},an.isInContainer=function(b,w){if(s||!b||!w)return!1;var I=b.getBoundingClientRect(),z=void 0;return[window,document,document.documentElement,null,void 0].includes(w)?z={top:0,right:window.innerWidth,bottom:window.innerHeight,left:0}:z=w.getBoundingClientRect(),I.top<z.bottom&&I.bottom>z.top&&I.right>z.left&&I.left<z.right},an}var sm={},IO;function Bs(){if(IO)return sm;IO=1,sm.__esModule=!0;function e(n,r,a){this.$children.forEach(function(s){var c=s.$options.componentName;c===n?s.$emit.apply(s,[r].concat(a)):e.apply(s,[n,r].concat([a]))})}return sm.default={methods:{dispatch:function(r,a,s){for(var c=this.$parent||this.$root,p=c.$options.componentName;c&&(!p||p!==r);)c=c.$parent,c&&(p=c.$options.componentName);c&&c.$emit.apply(c,[a].concat(s))},broadcast:function(r,a,s){e.call(this,r,a,s)}}},sm}var lm={},OO;function Rx(){if(OO)return lm;OO=1,lm.__esModule=!0;var e=Px();return lm.default={methods:{t:function(){for(var r=arguments.length,a=Array(r),s=0;s<r;s++)a[s]=arguments[s];return e.t.apply(this,a)}}},lm}var cm={},dc={},um={},TO;function dm(){return TO||(TO=1,um.__esModule=!0,um.default=function(e){for(var n=1,r=arguments.length;n<r;n++){var a=arguments[n]||{};for(var s in a)if(a.hasOwnProperty(s)){var c=a[s];c!==void 0&&(e[s]=c)}}return e}),um}var fm={},NO;function WU(){if(NO)return fm;NO=1,fm.__esModule=!0;var e=Mi.default,n=a(e),r=Sa();function a(k){return k&&k.__esModule?k:{default:k}}var s=!1,c=!1,p=void 0,m=function(){if(!n.default.prototype.$isServer){var N=y.modalDom;return N?s=!0:(s=!1,N=document.createElement("div"),y.modalDom=N,N.addEventListener("touchmove",function(_){_.preventDefault(),_.stopPropagation()}),N.addEventListener("click",function(){y.doOnModalClick&&y.doOnModalClick()})),N}},g={},y={modalFade:!0,getInstance:function(N){return g[N]},register:function(N,_){N&&_&&(g[N]=_)},deregister:function(N){N&&(g[N]=null,delete g[N])},nextZIndex:function(){return y.zIndex++},modalStack:[],doOnModalClick:function(){var N=y.modalStack[y.modalStack.length-1];if(!!N){var _=y.getInstance(N.id);_&&_.closeOnClickModal&&_.close()}},openModal:function(N,_,S,M,P){if(!n.default.prototype.$isServer&&!(!N||_===void 0)){this.modalFade=P;for(var T=this.modalStack,R=0,b=T.length;R<b;R++){var w=T[R];if(w.id===N)return}var I=m();if((0,r.addClass)(I,"v-modal"),this.modalFade&&!s&&(0,r.addClass)(I,"v-modal-enter"),M){var z=M.trim().split(/\s+/);z.forEach(function(F){return(0,r.addClass)(I,F)})}setTimeout(function(){(0,r.removeClass)(I,"v-modal-enter")},200),S&&S.parentNode&&S.parentNode.nodeType!==11?S.parentNode.appendChild(I):document.body.appendChild(I),_&&(I.style.zIndex=_),I.tabIndex=0,I.style.display="",this.modalStack.push({id:N,zIndex:_,modalClass:M})}},closeModal:function(N){var _=this.modalStack,S=m();if(_.length>0){var M=_[_.length-1];if(M.id===N){if(M.modalClass){var P=M.modalClass.trim().split(/\s+/);P.forEach(function(R){return(0,r.removeClass)(S,R)})}_.pop(),_.length>0&&(S.style.zIndex=_[_.length-1].zIndex)}else for(var T=_.length-1;T>=0;T--)if(_[T].id===N){_.splice(T,1);break}}_.length===0&&(this.modalFade&&(0,r.addClass)(S,"v-modal-leave"),setTimeout(function(){_.length===0&&(S.parentNode&&S.parentNode.removeChild(S),S.style.display="none",y.modalDom=void 0),(0,r.removeClass)(S,"v-modal-leave")},200))}};Object.defineProperty(y,"zIndex",{configurable:!0,get:function(){return c||(p=p||(n.default.prototype.$ELEMENT||{}).zIndex||2e3,c=!0),p},set:function(N){p=N}});var O=function(){if(!n.default.prototype.$isServer&&y.modalStack.length>0){var N=y.modalStack[y.modalStack.length-1];if(!N)return;var _=y.getInstance(N.id);return _}};return n.default.prototype.$isServer||window.addEventListener("keydown",function(k){if(k.keyCode===27){var N=O();N&&N.closeOnPressEscape&&(N.handleClose?N.handleClose():N.handleAction?N.handleAction("cancel"):N.close())}}),fm.default=y,fm}var pm={},MO;function jx(){if(MO)return pm;MO=1,pm.__esModule=!0,pm.default=function(){if(n.default.prototype.$isServer)return 0;if(a!==void 0)return a;var s=document.createElement("div");s.className="el-scrollbar__wrap",s.style.visibility="hidden",s.style.width="100px",s.style.position="absolute",s.style.top="-9999px",document.body.appendChild(s);var c=s.offsetWidth;s.style.overflow="scroll";var p=document.createElement("div");p.style.width="100%",s.appendChild(p);var m=p.offsetWidth;return s.parentNode.removeChild(s),a=c-m,a};var e=Mi.default,n=r(e);function r(s){return s&&s.__esModule?s:{default:s}}var a=void 0;return pm}var FO;function PO(){if(FO)return dc;FO=1,dc.__esModule=!0,dc.PopupManager=void 0;var e=Mi.default,n=y(e),r=dm(),a=y(r),s=WU(),c=y(s),p=jx(),m=y(p),g=Sa();function y(N){return N&&N.__esModule?N:{default:N}}var O=1,k=void 0;return dc.default={props:{visible:{type:Boolean,default:!1},openDelay:{},closeDelay:{},zIndex:{},modal:{type:Boolean,default:!1},modalFade:{type:Boolean,default:!0},modalClass:{},modalAppendToBody:{type:Boolean,default:!1},lockScroll:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!1},closeOnClickModal:{type:Boolean,default:!1}},beforeMount:function(){this._popupId="popup-"+O++,c.default.register(this._popupId,this)},beforeDestroy:function(){c.default.deregister(this._popupId),c.default.closeModal(this._popupId),this.restoreBodyStyle()},data:function(){return{opened:!1,bodyPaddingRight:null,computedBodyPaddingRight:0,withoutHiddenClass:!0,rendered:!1}},watch:{visible:function(_){var S=this;if(_){if(this._opening)return;this.rendered?this.open():(this.rendered=!0,n.default.nextTick(function(){S.open()}))}else this.close()}},methods:{open:function(_){var S=this;this.rendered||(this.rendered=!0);var M=(0,a.default)({},this.$props||this,_);this._closeTimer&&(clearTimeout(this._closeTimer),this._closeTimer=null),clearTimeout(this._openTimer);var P=Number(M.openDelay);P>0?this._openTimer=setTimeout(function(){S._openTimer=null,S.doOpen(M)},P):this.doOpen(M)},doOpen:function(_){if(!this.$isServer&&!(this.willOpen&&!this.willOpen())&&!this.opened){this._opening=!0;var S=this.$el,M=_.modal,P=_.zIndex;if(P&&(c.default.zIndex=P),M&&(this._closing&&(c.default.closeModal(this._popupId),this._closing=!1),c.default.openModal(this._popupId,c.default.nextZIndex(),this.modalAppendToBody?void 0:S,_.modalClass,_.modalFade),_.lockScroll)){this.withoutHiddenClass=!(0,g.hasClass)(document.body,"el-popup-parent--hidden"),this.withoutHiddenClass&&(this.bodyPaddingRight=document.body.style.paddingRight,this.computedBodyPaddingRight=parseInt((0,g.getStyle)(document.body,"paddingRight"),10)),k=(0,m.default)();var T=document.documentElement.clientHeight<document.body.scrollHeight,R=(0,g.getStyle)(document.body,"overflowY");k>0&&(T||R==="scroll")&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.computedBodyPaddingRight+k+"px"),(0,g.addClass)(document.body,"el-popup-parent--hidden")}getComputedStyle(S).position==="static"&&(S.style.position="absolute"),S.style.zIndex=c.default.nextZIndex(),this.opened=!0,this.onOpen&&this.onOpen(),this.doAfterOpen()}},doAfterOpen:function(){this._opening=!1},close:function(){var _=this;if(!(this.willClose&&!this.willClose())){this._openTimer!==null&&(clearTimeout(this._openTimer),this._openTimer=null),clearTimeout(this._closeTimer);var S=Number(this.closeDelay);S>0?this._closeTimer=setTimeout(function(){_._closeTimer=null,_.doClose()},S):this.doClose()}},doClose:function(){this._closing=!0,this.onClose&&this.onClose(),this.lockScroll&&setTimeout(this.restoreBodyStyle,200),this.opened=!1,this.doAfterClose()},doAfterClose:function(){c.default.closeModal(this._popupId),this._closing=!1},restoreBodyStyle:function(){this.modal&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.bodyPaddingRight,(0,g.removeClass)(document.body,"el-popup-parent--hidden")),this.withoutHiddenClass=!0}}},dc.PopupManager=c.default,dc}var Lx={exports:{}},RO;function GU(){return RO||(RO=1,function(e){var n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r};(function(r,a){n(e)==="object"&&e.exports?e.exports=a():r.Popper=a()})(void 0,function(){var r=window,a={placement:"bottom",gpuAcceleration:!0,offset:0,boundariesElement:"viewport",boundariesPadding:5,preventOverflowOrder:["left","right","top","bottom"],flipBehavior:"flip",arrowElement:"[x-arrow]",arrowOffset:0,modifiers:["shift","offset","preventOverflow","keepTogether","arrow","flip","applyStyle"],modifiersIgnored:[],forceAbsolute:!1};function s(b,w,I){this._reference=b.jquery?b[0]:b,this.state={};var z=typeof w>"u"||w===null,F=w&&Object.prototype.toString.call(w)==="[object Object]";return z||F?this._popper=this.parse(F?w:{}):this._popper=w.jquery?w[0]:w,this._options=Object.assign({},a,I),this._options.modifiers=this._options.modifiers.map(function(V){if(this._options.modifiersIgnored.indexOf(V)===-1)return V==="applyStyle"&&this._popper.setAttribute("x-placement",this._options.placement),this.modifiers[V]||V}.bind(this)),this.state.position=this._getPosition(this._popper,this._reference),_(this._popper,{position:this.state.position,top:0}),this.update(),this._setupEventListeners(),this}s.prototype.destroy=function(){return this._popper.removeAttribute("x-placement"),this._popper.style.left="",this._popper.style.position="",this._popper.style.top="",this._popper.style[R("transform")]="",this._removeEventListeners(),this._options.removeOnDestroy&&this._popper.remove(),this},s.prototype.update=function(){var b={instance:this,styles:{}};b.placement=this._options.placement,b._originalPlacement=this._options.placement,b.offsets=this._getOffsets(this._popper,this._reference,b.placement),b.boundaries=this._getBoundaries(b,this._options.boundariesPadding,this._options.boundariesElement),b=this.runModifiers(b,this._options.modifiers),typeof this.state.updateCallback=="function"&&this.state.updateCallback(b)},s.prototype.onCreate=function(b){return b(this),this},s.prototype.onUpdate=function(b){return this.state.updateCallback=b,this},s.prototype.parse=function(b){var w={tagName:"div",classNames:["popper"],attributes:[],parent:r.document.body,content:"",contentType:"text",arrowTagName:"div",arrowClassNames:["popper__arrow"],arrowAttributes:["x-arrow"]};b=Object.assign({},w,b);var I=r.document,z=I.createElement(b.tagName);if(ee(z,b.classNames),ne(z,b.attributes),b.contentType==="node"?z.appendChild(b.content.jquery?b.content[0]:b.content):b.contentType==="html"?z.innerHTML=b.content:z.textContent=b.content,b.arrowTagName){var F=I.createElement(b.arrowTagName);ee(F,b.arrowClassNames),ne(F,b.arrowAttributes),z.appendChild(F)}var V=b.parent.jquery?b.parent[0]:b.parent;if(typeof V=="string"){if(V=I.querySelectorAll(b.parent),V.length>1&&console.warn("WARNING: the given `parent` query("+b.parent+") matched more than one element, the first one will be used"),V.length===0)throw"ERROR: the given `parent` doesn't exists!";V=V[0]}return V.length>1&&!(V instanceof Element)&&(console.warn("WARNING: you have passed as parent a list of elements, the first one will be used"),V=V[0]),V.appendChild(z),z;function ee(se,me){me.forEach(function(pe){se.classList.add(pe)})}function ne(se,me){me.forEach(function(pe){se.setAttribute(pe.split(":")[0],pe.split(":")[1]||"")})}},s.prototype._getPosition=function(b,w){if(O(w),this._options.forceAbsolute)return"absolute";var I=N(w);return I?"fixed":"absolute"},s.prototype._getOffsets=function(b,w,I){I=I.split("-")[0];var z={};z.position=this.state.position;var F=z.position==="fixed",V=T(w,O(b),F),ee=c(b);return["right","left"].indexOf(I)!==-1?(z.top=V.top+V.height/2-ee.height/2,I==="left"?z.left=V.left-ee.width:z.left=V.right):(z.left=V.left+V.width/2-ee.width/2,I==="top"?z.top=V.top-ee.height:z.top=V.bottom),z.width=ee.width,z.height=ee.height,{popper:z,reference:V}},s.prototype._setupEventListeners=function(){if(this.state.updateBound=this.update.bind(this),r.addEventListener("resize",this.state.updateBound),this._options.boundariesElement!=="window"){var b=k(this._reference);(b===r.document.body||b===r.document.documentElement)&&(b=r),b.addEventListener("scroll",this.state.updateBound),this.state.scrollTarget=b}},s.prototype._removeEventListeners=function(){r.removeEventListener("resize",this.state.updateBound),this._options.boundariesElement!=="window"&&this.state.scrollTarget&&(this.state.scrollTarget.removeEventListener("scroll",this.state.updateBound),this.state.scrollTarget=null),this.state.updateBound=null},s.prototype._getBoundaries=function(b,w,I){var z={},F,V;if(I==="window"){var ee=r.document.body,ne=r.document.documentElement;V=Math.max(ee.scrollHeight,ee.offsetHeight,ne.clientHeight,ne.scrollHeight,ne.offsetHeight),F=Math.max(ee.scrollWidth,ee.offsetWidth,ne.clientWidth,ne.scrollWidth,ne.offsetWidth),z={top:0,right:F,bottom:V,left:0}}else if(I==="viewport"){var se=O(this._popper),me=k(this._popper),pe=M(se),Se=function(re){return re==document.body?Math.max(document.documentElement.scrollTop,document.body.scrollTop):re.scrollTop},ye=function(re){return re==document.body?Math.max(document.documentElement.scrollLeft,document.body.scrollLeft):re.scrollLeft},_e=b.offsets.popper.position==="fixed"?0:Se(me),W=b.offsets.popper.position==="fixed"?0:ye(me);z={top:0-(pe.top-_e),right:r.document.documentElement.clientWidth-(pe.left-W),bottom:r.document.documentElement.clientHeight-(pe.top-_e),left:0-(pe.left-W)}}else O(this._popper)===I?z={top:0,left:0,right:I.clientWidth,bottom:I.clientHeight}:z=M(I);return z.left+=w,z.right-=w,z.top=z.top+w,z.bottom=z.bottom-w,z},s.prototype.runModifiers=function(b,w,I){var z=w.slice();return I!==void 0&&(z=this._options.modifiers.slice(0,g(this._options.modifiers,I))),z.forEach(function(F){S(F)&&(b=F.call(this,b))}.bind(this)),b},s.prototype.isModifierRequired=function(b,w){var I=g(this._options.modifiers,b);return!!this._options.modifiers.slice(0,I).filter(function(z){return z===w}).length},s.prototype.modifiers={},s.prototype.modifiers.applyStyle=function(b){var w={position:b.offsets.popper.position},I=Math.round(b.offsets.popper.left),z=Math.round(b.offsets.popper.top),F;return this._options.gpuAcceleration&&(F=R("transform"))?(w[F]="translate3d("+I+"px, "+z+"px, 0)",w.top=0,w.left=0):(w.left=I,w.top=z),Object.assign(w,b.styles),_(this._popper,w),this._popper.setAttribute("x-placement",b.placement),this.isModifierRequired(this.modifiers.applyStyle,this.modifiers.arrow)&&b.offsets.arrow&&_(b.arrowElement,b.offsets.arrow),b},s.prototype.modifiers.shift=function(b){var w=b.placement,I=w.split("-")[0],z=w.split("-")[1];if(z){var F=b.offsets.reference,V=m(b.offsets.popper),ee={y:{start:{top:F.top},end:{top:F.top+F.height-V.height}},x:{start:{left:F.left},end:{left:F.left+F.width-V.width}}},ne=["bottom","top"].indexOf(I)!==-1?"x":"y";b.offsets.popper=Object.assign(V,ee[ne][z])}return b},s.prototype.modifiers.preventOverflow=function(b){var w=this._options.preventOverflowOrder,I=m(b.offsets.popper),z={left:function(){var V=I.left;return I.left<b.boundaries.left&&(V=Math.max(I.left,b.boundaries.left)),{left:V}},right:function(){var V=I.left;return I.right>b.boundaries.right&&(V=Math.min(I.left,b.boundaries.right-I.width)),{left:V}},top:function(){var V=I.top;return I.top<b.boundaries.top&&(V=Math.max(I.top,b.boundaries.top)),{top:V}},bottom:function(){var V=I.top;return I.bottom>b.boundaries.bottom&&(V=Math.min(I.top,b.boundaries.bottom-I.height)),{top:V}}};return w.forEach(function(F){b.offsets.popper=Object.assign(I,z[F]())}),b},s.prototype.modifiers.keepTogether=function(b){var w=m(b.offsets.popper),I=b.offsets.reference,z=Math.floor;return w.right<z(I.left)&&(b.offsets.popper.left=z(I.left)-w.width),w.left>z(I.right)&&(b.offsets.popper.left=z(I.right)),w.bottom<z(I.top)&&(b.offsets.popper.top=z(I.top)-w.height),w.top>z(I.bottom)&&(b.offsets.popper.top=z(I.bottom)),b},s.prototype.modifiers.flip=function(b){if(!this.isModifierRequired(this.modifiers.flip,this.modifiers.preventOverflow))return console.warn("WARNING: preventOverflow modifier is required by flip modifier in order to work, be sure to include it before flip!"),b;if(b.flipped&&b.placement===b._originalPlacement)return b;var w=b.placement.split("-")[0],I=p(w),z=b.placement.split("-")[1]||"",F=[];return this._options.flipBehavior==="flip"?F=[w,I]:F=this._options.flipBehavior,F.forEach(function(V,ee){if(!(w!==V||F.length===ee+1)){w=b.placement.split("-")[0],I=p(w);var ne=m(b.offsets.popper),se=["right","bottom"].indexOf(w)!==-1;(se&&Math.floor(b.offsets.reference[w])>Math.floor(ne[I])||!se&&Math.floor(b.offsets.reference[w])<Math.floor(ne[I]))&&(b.flipped=!0,b.placement=F[ee+1],z&&(b.placement+="-"+z),b.offsets.popper=this._getOffsets(this._popper,this._reference,b.placement).popper,b=this.runModifiers(b,this._options.modifiers,this._flip))}}.bind(this)),b},s.prototype.modifiers.offset=function(b){var w=this._options.offset,I=b.offsets.popper;return b.placement.indexOf("left")!==-1?I.top-=w:b.placement.indexOf("right")!==-1?I.top+=w:b.placement.indexOf("top")!==-1?I.left-=w:b.placement.indexOf("bottom")!==-1&&(I.left+=w),b},s.prototype.modifiers.arrow=function(b){var w=this._options.arrowElement,I=this._options.arrowOffset;if(typeof w=="string"&&(w=this._popper.querySelector(w)),!w)return b;if(!this._popper.contains(w))return console.warn("WARNING: `arrowElement` must be child of its popper element!"),b;if(!this.isModifierRequired(this.modifiers.arrow,this.modifiers.keepTogether))return console.warn("WARNING: keepTogether modifier is required by arrow modifier in order to work, be sure to include it before arrow!"),b;var z={},F=b.placement.split("-")[0],V=m(b.offsets.popper),ee=b.offsets.reference,ne=["left","right"].indexOf(F)!==-1,se=ne?"height":"width",me=ne?"top":"left",pe=ne?"left":"top",Se=ne?"bottom":"right",ye=c(w)[se];ee[Se]-ye<V[me]&&(b.offsets.popper[me]-=V[me]-(ee[Se]-ye)),ee[me]+ye>V[Se]&&(b.offsets.popper[me]+=ee[me]+ye-V[Se]);var _e=ee[me]+(I||ee[se]/2-ye/2),W=_e-V[me];return W=Math.max(Math.min(V[se]-ye-8,W),8),z[me]=W,z[pe]="",b.offsets.arrow=z,b.arrowElement=w,b};function c(b){var w=b.style.display,I=b.style.visibility;b.style.display="block",b.style.visibility="hidden",b.offsetWidth;var z=r.getComputedStyle(b),F=parseFloat(z.marginTop)+parseFloat(z.marginBottom),V=parseFloat(z.marginLeft)+parseFloat(z.marginRight),ee={width:b.offsetWidth+V,height:b.offsetHeight+F};return b.style.display=w,b.style.visibility=I,ee}function p(b){var w={left:"right",right:"left",bottom:"top",top:"bottom"};return b.replace(/left|right|bottom|top/g,function(I){return w[I]})}function m(b){var w=Object.assign({},b);return w.right=w.left+w.width,w.bottom=w.top+w.height,w}function g(b,w){var I=0,z;for(z in b){if(b[z]===w)return I;I++}return null}function y(b,w){var I=r.getComputedStyle(b,null);return I[w]}function O(b){var w=b.offsetParent;return w===r.document.body||!w?r.document.documentElement:w}function k(b){var w=b.parentNode;return w?w===r.document?r.document.body.scrollTop||r.document.body.scrollLeft?r.document.body:r.document.documentElement:["scroll","auto"].indexOf(y(w,"overflow"))!==-1||["scroll","auto"].indexOf(y(w,"overflow-x"))!==-1||["scroll","auto"].indexOf(y(w,"overflow-y"))!==-1?w:k(b.parentNode):b}function N(b){return b===r.document.body?!1:y(b,"position")==="fixed"?!0:b.parentNode?N(b.parentNode):b}function _(b,w){function I(z){return z!==""&&!isNaN(parseFloat(z))&&isFinite(z)}Object.keys(w).forEach(function(z){var F="";["width","height","top","right","bottom","left"].indexOf(z)!==-1&&I(w[z])&&(F="px"),b.style[z]=w[z]+F})}function S(b){var w={};return b&&w.toString.call(b)==="[object Function]"}function M(b){var w={width:b.offsetWidth,height:b.offsetHeight,left:b.offsetLeft,top:b.offsetTop};return w.right=w.left+w.width,w.bottom=w.top+w.height,w}function P(b){var w=b.getBoundingClientRect(),I=navigator.userAgent.indexOf("MSIE")!=-1,z=I&&b.tagName==="HTML"?-b.scrollTop:w.top;return{left:w.left,top:z,right:w.right,bottom:w.bottom,width:w.right-w.left,height:w.bottom-z}}function T(b,w,I){var z=P(b),F=P(w);if(I){var V=k(w);F.top+=V.scrollTop,F.bottom+=V.scrollTop,F.left+=V.scrollLeft,F.right+=V.scrollLeft}var ee={top:z.top-F.top,left:z.left-F.left,bottom:z.top-F.top+z.height,right:z.left-F.left+z.width,width:z.width,height:z.height};return ee}function R(b){for(var w=["","ms","webkit","moz","o"],I=0;I<w.length;I++){var z=w[I]?w[I]+b.charAt(0).toUpperCase()+b.slice(1):b;if(typeof r.document.body.style[z]<"u")return z}return null}return Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:function(w){if(w==null)throw new TypeError("Cannot convert first argument to object");for(var I=Object(w),z=1;z<arguments.length;z++){var F=arguments[z];if(F!=null){F=Object(F);for(var V=Object.keys(F),ee=0,ne=V.length;ee<ne;ee++){var se=V[ee],me=Object.getOwnPropertyDescriptor(F,se);me!==void 0&&me.enumerable&&(I[se]=F[se])}}}return I}}),s})}(Lx)),Lx.exports}var jO;function hm(){if(jO)return cm;jO=1,cm.__esModule=!0;var e=Mi.default,n=a(e),r=PO();function a(p){return p&&p.__esModule?p:{default:p}}var s=n.default.prototype.$isServer?function(){}:GU(),c=function(m){return m.stopPropagation()};return cm.default={props:{transformOrigin:{type:[Boolean,String],default:!0},placement:{type:String,default:"bottom"},boundariesPadding:{type:Number,default:5},reference:{},popper:{},offset:{default:0},value:Boolean,visibleArrow:Boolean,arrowOffset:{type:Number,default:35},appendToBody:{type:Boolean,default:!0},popperOptions:{type:Object,default:function(){return{gpuAcceleration:!1}}}},data:function(){return{showPopper:!1,currentPlacement:""}},watch:{value:{immediate:!0,handler:function(m){this.showPopper=m,this.$emit("input",m)}},showPopper:function(m){this.disabled||(m?this.updatePopper():this.destroyPopper(),this.$emit("input",m))}},methods:{createPopper:function(){var m=this;if(!this.$isServer&&(this.currentPlacement=this.currentPlacement||this.placement,!!/^(top|bottom|left|right)(-start|-end)?$/g.test(this.currentPlacement))){var g=this.popperOptions,y=this.popperElm=this.popperElm||this.popper||this.$refs.popper,O=this.referenceElm=this.referenceElm||this.reference||this.$refs.reference;!O&&this.$slots.reference&&this.$slots.reference[0]&&(O=this.referenceElm=this.$slots.reference[0].elm),!(!y||!O)&&(this.visibleArrow&&this.appendArrow(y),this.appendToBody&&document.body.appendChild(this.popperElm),this.popperJS&&this.popperJS.destroy&&this.popperJS.destroy(),g.placement=this.currentPlacement,g.offset=this.offset,g.arrowOffset=this.arrowOffset,this.popperJS=new s(O,y,g),this.popperJS.onCreate(function(k){m.$emit("created",m),m.resetTransformOrigin(),m.$nextTick(m.updatePopper)}),typeof g.onUpdate=="function"&&this.popperJS.onUpdate(g.onUpdate),this.popperJS._popper.style.zIndex=r.PopupManager.nextZIndex(),this.popperElm.addEventListener("click",c))}},updatePopper:function(){var m=this.popperJS;m?(m.update(),m._popper&&(m._popper.style.zIndex=r.PopupManager.nextZIndex())):this.createPopper()},doDestroy:function(m){!this.popperJS||this.showPopper&&!m||(this.popperJS.destroy(),this.popperJS=null)},destroyPopper:function(){this.popperJS&&this.resetTransformOrigin()},resetTransformOrigin:function(){if(!!this.transformOrigin){var m={top:"bottom",bottom:"top",left:"right",right:"left"},g=this.popperJS._popper.getAttribute("x-placement").split("-")[0],y=m[g];this.popperJS._popper.style.transformOrigin=typeof this.transformOrigin=="string"?this.transformOrigin:["top","bottom"].indexOf(g)>-1?"center "+y:y+" center"}},appendArrow:function(m){var g=void 0;if(!this.appended){this.appended=!0;for(var y in m.attributes)if(/^_v-/.test(m.attributes[y].name)){g=m.attributes[y].name;break}var O=document.createElement("div");g&&O.setAttribute(g,""),O.setAttribute("x-arrow",""),O.className="popper__arrow",m.appendChild(O)}}},beforeDestroy:function(){this.doDestroy(!0),this.popperElm&&this.popperElm.parentNode===document.body&&(this.popperElm.removeEventListener("click",c),document.body.removeChild(this.popperElm))},deactivated:function(){this.$options.beforeDestroy[0].call(this)}},cm}var Qx={exports:{}},mm={},LO;function QO(){if(LO)return mm;LO=1,mm.__esModule=!0;var e=Dr();return mm.default={mounted:function(){if(process.env.NODE_ENV!=="production"&&!!this.$vnode){var r=this.getMigratingConfig(),a=r.props,s=a===void 0?{}:a,c=r.events,p=c===void 0?{}:c,m=this.$vnode,g=m.data,y=m.componentOptions,O=g.attrs||{},k=y.listeners||{};for(var N in O)N=(0,e.kebabCase)(N),s[N]&&console.warn("[Element Migrating]["+this.$options.name+"][Attribute]: "+s[N]);for(var _ in k)_=(0,e.kebabCase)(_),p[_]&&console.warn("[Element Migrating]["+this.$options.name+"][Event]: "+p[_])}},methods:{getMigratingConfig:function(){return{props:{},events:{}}}}},mm}var Id={},zO;function gm(){if(zO)return Id;zO=1,Id.__esModule=!0,Id.isDef=e,Id.isKorean=n;function e(r){return r!=null}function n(r){var a=/([(\uAC00-\uD7AF)|(\u3130-\u318F)])+/gi;return a.test(r)}return Id}var VO;function zx(){return VO||(VO=1,function(e){e.exports=function(n){var r={};function a(s){if(r[s])return r[s].exports;var c=r[s]={i:s,l:!1,exports:{}};return n[s].call(c.exports,c,c.exports,a),c.l=!0,c.exports}return a.m=n,a.c=r,a.d=function(s,c,p){a.o(s,c)||Object.defineProperty(s,c,{enumerable:!0,get:p})},a.r=function(s){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})},a.t=function(s,c){if(c&1&&(s=a(s)),c&8||c&4&&typeof s=="object"&&s&&s.__esModule)return s;var p=Object.create(null);if(a.r(p),Object.defineProperty(p,"default",{enumerable:!0,value:s}),c&2&&typeof s!="string")for(var m in s)a.d(p,m,function(g){return s[g]}.bind(null,m));return p},a.n=function(s){var c=s&&s.__esModule?function(){return s.default}:function(){return s};return a.d(c,"a",c),c},a.o=function(s,c){return Object.prototype.hasOwnProperty.call(s,c)},a.p="/dist/",a(a.s=75)}({0:function(n,r,a){a.d(r,"a",function(){return s});function s(c,p,m,g,y,O,k,N){var _=typeof c=="function"?c.options:c;p&&(_.render=p,_.staticRenderFns=m,_._compiled=!0),g&&(_.functional=!0),O&&(_._scopeId="data-v-"+O);var S;if(k?(S=function(T){T=T||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!T&&typeof __VUE_SSR_CONTEXT__<"u"&&(T=__VUE_SSR_CONTEXT__),y&&y.call(this,T),T&&T._registeredComponents&&T._registeredComponents.add(k)},_._ssrRegister=S):y&&(S=N?function(){y.call(this,this.$root.$options.shadowRoot)}:y),S)if(_.functional){_._injectStyles=S;var M=_.render;_.render=function(R,b){return S.call(b),M(R,b)}}else{var P=_.beforeCreate;_.beforeCreate=P?[].concat(P,S):[S]}return{exports:c,options:_}}},11:function(n,r){n.exports=QO()},21:function(n,r){n.exports=gm()},4:function(n,r){n.exports=Bs()},75:function(n,r,a){a.r(r);var s=function(){var F=this,V=F.$createElement,ee=F._self._c||V;return ee("div",{class:[F.type==="textarea"?"el-textarea":"el-input",F.inputSize?"el-input--"+F.inputSize:"",{"is-disabled":F.inputDisabled,"is-exceed":F.inputExceed,"el-input-group":F.$slots.prepend||F.$slots.append,"el-input-group--append":F.$slots.append,"el-input-group--prepend":F.$slots.prepend,"el-input--prefix":F.$slots.prefix||F.prefixIcon,"el-input--suffix":F.$slots.suffix||F.suffixIcon||F.clearable||F.showPassword}],on:{mouseenter:function(ne){F.hovering=!0},mouseleave:function(ne){F.hovering=!1}}},[F.type!=="textarea"?[F.$slots.prepend?ee("div",{staticClass:"el-input-group__prepend"},[F._t("prepend")],2):F._e(),F.type!=="textarea"?ee("input",F._b({ref:"input",staticClass:"el-input__inner",attrs:{tabindex:F.tabindex,type:F.showPassword?F.passwordVisible?"text":"password":F.type,disabled:F.inputDisabled,readonly:F.readonly,autocomplete:F.autoComplete||F.autocomplete,"aria-label":F.label},on:{compositionstart:F.handleCompositionStart,compositionupdate:F.handleCompositionUpdate,compositionend:F.handleCompositionEnd,input:F.handleInput,focus:F.handleFocus,blur:F.handleBlur,change:F.handleChange}},"input",F.$attrs,!1)):F._e(),F.$slots.prefix||F.prefixIcon?ee("span",{staticClass:"el-input__prefix"},[F._t("prefix"),F.prefixIcon?ee("i",{staticClass:"el-input__icon",class:F.prefixIcon}):F._e()],2):F._e(),F.getSuffixVisible()?ee("span",{staticClass:"el-input__suffix"},[ee("span",{staticClass:"el-input__suffix-inner"},[!F.showClear||!F.showPwdVisible||!F.isWordLimitVisible?[F._t("suffix"),F.suffixIcon?ee("i",{staticClass:"el-input__icon",class:F.suffixIcon}):F._e()]:F._e(),F.showClear?ee("i",{staticClass:"el-input__icon el-icon-circle-close el-input__clear",on:{mousedown:function(ne){ne.preventDefault()},click:F.clear}}):F._e(),F.showPwdVisible?ee("i",{staticClass:"el-input__icon el-icon-view el-input__clear",on:{click:F.handlePasswordVisible}}):F._e(),F.isWordLimitVisible?ee("span",{staticClass:"el-input__count"},[ee("span",{staticClass:"el-input__count-inner"},[F._v(`
43
43
  `+F._s(F.textLength)+"/"+F._s(F.upperLimit)+`
44
44
  `)])]):F._e()],2),F.validateState?ee("i",{staticClass:"el-input__icon",class:["el-input__validateIcon",F.validateIcon]}):F._e()]):F._e(),F.$slots.append?ee("div",{staticClass:"el-input-group__append"},[F._t("append")],2):F._e()]:ee("textarea",F._b({ref:"textarea",staticClass:"el-textarea__inner",style:F.textareaStyle,attrs:{tabindex:F.tabindex,disabled:F.inputDisabled,readonly:F.readonly,autocomplete:F.autoComplete||F.autocomplete,"aria-label":F.label},on:{compositionstart:F.handleCompositionStart,compositionupdate:F.handleCompositionUpdate,compositionend:F.handleCompositionEnd,input:F.handleInput,focus:F.handleFocus,blur:F.handleBlur,change:F.handleChange}},"textarea",F.$attrs,!1)),F.isWordLimitVisible&&F.type==="textarea"?ee("span",{staticClass:"el-input__count"},[F._v(F._s(F.textLength)+"/"+F._s(F.upperLimit))]):F._e()],2)},c=[];s._withStripped=!0;var p=a(4),m=a.n(p),g=a(11),y=a.n(g),O=void 0,k=`
45
45
  height:0 !important;